megatron 0.2.34 → 0.2.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +6 -0
- data/app/assets/javascripts/megatron/esvg.js +1 -1
- data/app/assets/javascripts/megatron/index.js +7 -0
- data/app/views/layouts/megatron/application.html.slim +6 -0
- data/lib/megatron/version.rb +1 -1
- data/public/assets/megatron/{megatron-0.2.34.css → megatron-0.2.35.css} +1 -1
- data/public/assets/megatron/{megatron-0.2.34.css.gz → megatron-0.2.35.css.gz} +0 -0
- data/public/assets/megatron/{megatron-0.2.34.css.map → megatron-0.2.35.css.map} +1 -1
- data/public/assets/megatron/megatron-0.2.35.js +0 -0
- data/public/assets/megatron/megatron-0.2.35.js.gz +0 -0
- data/public/assets/megatron/{megatron-error-pages-0.2.34.css → megatron-error-pages-0.2.35.css} +0 -0
- data/public/assets/megatron/{megatron-error-pages-0.2.34.css.gz → megatron-error-pages-0.2.35.css.gz} +0 -0
- metadata +9 -10
- data/public/assets/megatron/megatron-0.2.34.js +0 -166
- data/public/assets/megatron/megatron-0.2.34.js.gz +0 -0
- data/public/assets/megatron/megatron-0.2.34.map.json +0 -1
@@ -1,166 +0,0 @@
|
|
1
|
-
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Megatron = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
2
|
-
"use strict";var esvg={embed:function(){document.querySelector("#esvg-symbols")||document.querySelector("body").insertAdjacentHTML("afterbegin",'<svg id="esvg-symbols" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:none"><symbol id="icon-chevron-thin" viewBox="0 0 29 32" width="29" height="32"><path d="M22.935 16.595c.353-.318.353-.87 0-1.19l-16-14.4c-.328-.295-.834-.268-1.13.06s-.27.834.06 1.13L21.23 15.977 5.862 29.805c-.328.296-.355.8-.06 1.13s.802.355 1.13.06l16-14.4z"/></symbol><symbol id="icon-sandbox" viewBox="0 0 32 32" width="32" height="32"><path d="M11.373 9.214c0 .48-.39.87-.87.87s-.872-.39-.872-.87.39-.87.88-.87.87.39.87.87zm2.962 1.076c0 .472-.383.855-.855.855s-.855-.383-.855-.855.383-.855.855-.855.855.383.855.855zm-.49-2.61c0 .376-.307.68-.683.68s-.682-.305-.682-.68c0-.378.306-.683.682-.683s.682.306.682.682zM30.74 9.62l-5.272-3.286c-.277-.173-.646-.088-.82.19l-1.62 2.6c-.693 1.11-.35 2.584.758 3.276l.14.086-3.767 6.04-.68-.425c-.15-.08-.33-.04-.42.1l-.99 1.59-.78-.48c-1.39-.86-2.86-.21-3.87 1.07l-3.06 4.31 10.53 6.57 2.522-4.64c.71-1.47.645-3.08-.74-3.94l-.78-.484.99-1.587c.09-.143.045-.33-.097-.42l-.68-.424 3.767-6.04.14.085c1.11.693 2.586.35 3.278-.76l1.625-2.6c.173-.276.09-.645-.19-.82zm-2.128.934l-.65 1.044c-.362.58-1.132.758-1.712.396l-.94-.584c-.58-.36-.757-1.13-.395-1.71l.65-1.045c.08-.127.248-.165.374-.087l2.58 1.612c.12.08.16.247.08.373z"/><path d="M8.944 24.97c-.08-.394.008-.803.24-1.13l3.056-4.31c.013-.02.027-.038.04-.056 1.022-1.305 2.335-2.024 3.7-2.024.555 0 1.095.12 1.61.357l.235-.38c.323-.518.882-.827 1.494-.827.1 0 .2.01.3.027l.99-1.59.75-3.55c0-.01 0-.02-.01-.028-.02-.07-.04-.15-.056-.22l-.006-.03c-.14-.307-.526-.59-1.104-.85-.042-.43-.19-.85-.44-1.246-.38-.6-.95-1.114-1.67-1.763-.645-.58-1.445-1.3-2.32-2.28-.82-.92-1.757-1.387-2.784-1.387-1.52 0-2.816 1.034-3.96 1.95-.756.6-1.612 1.285-2.14 1.31-1.43.06-2.687.776-3.635 2.08-.28.385-.493.765-.645 1.08-1.14.388-1.81.858-1.81 1.364L4.31 28.15c0 .876 3.03 1.584 6.762 1.584 1.56 0 2.994-.12 4.138-.33L9.6 25.91c-.34-.212-.58-.555-.658-.95zM3.51 11.27s.915-2.934 3.428-3.038 5.145-5.367 7.883-2.297 4.64 3.594 4 5.365c-.08.224-.28.78-2.32 1.125-2.42.41-11.96.972-12.99-1.155z"/></symbol><symbol id="icon-chevron" viewBox="0 0 32 32" width="32" height="32"><path d="M23.975 15.962L12.013 4 8.026 7.987 16 15.962l-7.974 7.976 3.987 3.987z"/></symbol><symbol id="icon-users-circle-fill" viewBox="0 0 512 512" width="512" height="512"><path d="M256 512c-1.652 0-3.305-.015-4.956-.046-3.01-.057-6.02-.167-9.027-.33-8.897-.48-17.77-1.42-26.57-2.823-10.728-1.71-21.347-4.108-31.77-7.175-10.765-3.17-21.318-7.053-31.57-11.616-12.73-5.668-24.995-12.38-36.633-20.044-11.99-7.896-23.318-16.8-33.827-26.583-10.685-9.947-20.522-20.802-29.37-32.412-8.73-11.455-16.5-23.644-23.184-36.402-5.664-10.81-10.552-22.024-14.61-33.533-4.028-11.428-7.237-23.145-9.594-35.033C1.625 289.548 0 272.774 0 256c0-11.428.752-22.857 2.266-34.186 1.725-12.894 4.436-25.656 8.11-38.137 3.754-12.754 8.513-25.21 14.214-37.22 6.518-13.733 14.266-26.878 23.113-39.238 8.948-12.5 19.02-24.192 30.048-34.9 11.59-11.248 24.236-21.403 37.724-30.286 13.156-8.663 27.112-16.11 41.637-22.206 15.986-6.708 32.656-11.773 49.67-15.093C222.714 1.627 238.94.052 255.172 0c16.252-.05 32.508 1.422 48.48 4.434 17.047 3.215 33.76 8.18 49.797 14.794 14.567 6.01 28.572 13.376 41.786 21.962 13.328 8.663 25.848 18.565 37.353 29.533 11.123 10.607 21.295 22.208 30.354 34.624 8.954 12.274 16.818 25.343 23.457 39.008 5.807 11.948 10.677 24.35 14.546 37.058 3.785 12.43 6.613 25.148 8.457 38.01C511.137 231.532 512 243.765 512 256c0 15.71-1.425 31.418-4.288 46.866-2.164 11.677-5.146 23.2-8.92 34.46-3.885 11.585-8.606 22.888-14.112 33.795-6.61 13.096-14.354 25.62-23.105 37.392-8.71 11.716-18.42 22.69-28.986 32.765-10.576 10.082-22.008 19.264-34.138 27.41-11.78 7.907-24.213 14.837-37.14 20.684-10.217 4.624-20.74 8.57-31.48 11.805-10.393 3.13-20.99 5.592-31.697 7.368-8.78 1.457-17.636 2.453-26.52 2.988-3 .182-6.006.31-9.012.387-1.65.042-3.298.065-4.948.08L256 512zm0-31.165c1.212-.002 2.425-.01 3.638-.03 2.65-.04 5.3-.13 7.947-.263 8.058-.41 16.092-1.248 24.06-2.518 9.186-1.465 18.28-3.503 27.213-6.102 9.675-2.816 19.157-6.288 28.363-10.386 11.386-5.067 22.344-11.088 32.732-17.973 10.33-6.847 20.093-14.546 29.165-22.99 9.227-8.59 17.737-17.952 25.41-27.956 7.836-10.22 14.798-21.11 20.775-32.517 4.865-9.282 9.077-18.906 12.59-28.778 3.643-10.232 6.535-20.73 8.648-31.383 2.87-14.46 4.295-29.2 4.295-43.94 0-10.52-.724-21.04-2.185-31.457-1.55-11.066-3.93-22.017-7.12-32.728-3.327-11.177-7.535-22.09-12.568-32.61-5.955-12.448-13.064-24.342-21.196-35.49-7.698-10.55-16.31-20.432-25.71-29.5-10.214-9.858-21.357-18.75-33.236-26.523-11.385-7.448-23.446-13.86-35.992-19.126-14.023-5.885-28.648-10.33-43.575-13.242-14.002-2.73-28.26-4.112-42.525-4.158-14.282-.045-28.567 1.248-42.604 3.895-14.957 2.82-29.62 7.177-43.69 12.98-12.58 5.19-24.685 11.532-36.118 18.914-11.927 7.7-23.123 16.53-33.398 26.326-9.78 9.323-18.72 19.52-26.684 30.435-7.864 10.78-14.772 22.26-20.604 34.262-5.195 10.69-9.536 21.795-12.963 33.177-3.22 10.695-5.634 21.633-7.22 32.69-1.525 10.645-2.282 21.4-2.282 32.156 0 14.274 1.337 28.546 4.026 42.565 1.962 10.223 4.64 20.31 8.01 30.16 3.543 10.353 7.85 20.446 12.87 30.17 6.116 11.845 13.29 23.142 21.404 33.722 7.536 9.825 15.88 19.03 24.917 27.495 9.045 8.47 18.785 16.2 29.095 23.076 10.176 6.79 20.904 12.747 32.05 17.79 9.174 4.15 18.628 7.68 28.28 10.553 8.91 2.653 17.982 4.747 27.15 6.267 7.713 1.28 15.492 2.155 23.295 2.626 2.64.16 5.284.272 7.928.338 1.45.04 2.903.058 4.356.07.485.003.97.004 1.456.005z"/><path d="M79.947 352.715c-15.81-28.696-24.806-61.662-24.806-96.713 0-110.857 90.003-200.86 200.86-200.86 110.857 0 200.86 90.003 200.86 200.86 0 42.412-13.174 81.772-35.65 114.207-11.522-4.42-23.28-8.277-34.888-12.178-6.293-2.192-12.7-4.61-18.443-8.032-5.234-3.055-7.073-9.308-8.346-14.795-.565-2.9-.85-5.884-.99-8.826 18.953-25.885 31.4-68.147 31.4-102.772 0-54.057-30.552-69.106-68.316-69.106s-68.16 15.05-68.16 69.106c0 35.87 13.48 79.886 33.52 105.46-.168 2.007-.422 4.03-.776 6.038-1.202 5.516-3.112 11.626-8.26 14.68-5.658 3.424-12.023 5.588-18.387 7.81-14.017 4.732-28.277 9.266-42.102 14.834-7.674 1.94-13.36 8.896-13.36 17.17v60.48c-9.367-2.5-18.464-5.663-27.24-9.433.006-17.04.038-34.08.038-51.12.004-.462.01-.923.024-1.383.032-.965.094-1.93.187-2.89.29-3 .884-5.967 1.77-8.846 1.492-4.86 3.818-9.456 6.845-13.54 3.163-4.265 7.083-7.962 11.528-10.868 2.444-1.598 5.044-2.957 7.752-4.05.722-.292 1.45-.565 2.187-.818.443-.153.89-.296 1.337-.437l.105-.032c.265-.107.52-.204.786-.31l1.41-.554c1.637-.636 3.277-1.263 4.92-1.878 3.003-1.124 6.02-2.212 9.043-3.276 2.7-.95 5.405-1.88 8.114-2.8v-7.68c0-5.62-4.06-10.3-9.407-11.264-8.473-3.4-17.193-6.25-25.784-9.138-4.067-1.416-8.208-2.98-11.92-5.19-3.382-1.976-4.57-6.017-5.393-9.563-.366-1.873-.55-3.802-.64-5.703 12.25-16.73 20.294-44.043 20.294-66.42 0-34.94-19.746-44.665-44.153-44.665s-44.05 9.726-44.05 44.664c0 23.182 8.71 51.63 21.663 68.158-.11 1.298-.274 2.605-.502 3.903-.777 3.565-2.01 7.514-5.34 9.488-3.655 2.212-7.77 3.61-11.882 5.047-9.06 3.06-18.276 5.99-27.21 9.587-4.96 1.253-8.636 5.75-8.636 11.096v22.55zm128.688-6.052l-.627.25c.215-.084.43-.17.644-.256l-.017.006zm.347-.136l-.267.106-.063.024.327-.1.45-.13c.454-.128.454-.128.908-.25l-1.356.35z" fill-opacity=".8"/></symbol><symbol id="icon-database-small" viewBox="0 0 32 32" width="32" height="32"><path d="M4.622 16.758v4.55h22.755v-4.55H4.622zm0 6.067v2.278c0 1.252.53 2.276 3.034 2.276h16.687c2.503 0 3.034-1.025 3.034-2.277v-2.278H4.622zm22.756-7.583V6.897c0-1.252-.53-2.275-3.034-2.275H7.657c-2.503 0-3.034 1.024-3.034 2.276v8.344h22.755zm-4.55-3.034h-3.035V9.174h3.034v3.034z"/></symbol><symbol id="icon-deployment-disque" viewBox="0 0 512 512" width="512" height="512"><path d="M256.036 512c-2.004-.004-4.007-.097-6.003-.29-4.007-.39-7.975-1.172-11.83-2.33-3.007-.906-5.944-2.04-8.78-3.39-1.395-.664-2.764-1.384-4.108-2.15-56.33-32.353-112.726-64.593-168.784-97.416-1.55-.917-3.064-1.894-4.532-2.94-2.827-2.014-5.485-4.267-7.934-6.727-3.72-3.736-6.96-7.95-9.616-12.506-2.655-4.553-4.725-9.447-6.143-14.524-.98-3.506-1.648-7.098-1.995-10.72-.173-1.795-.262-3.595-.28-5.397-.417-65.046-.426-130.095-.03-195.14.02-1.8.11-3.6.28-5.395.347-3.623 1.014-7.216 1.992-10.722 1.417-5.078 3.486-9.972 6.14-14.527 2.654-4.557 5.892-8.77 9.612-12.51 2.45-2.46 5.105-4.713 7.932-6.728 1.468-1.046 2.982-2.024 4.532-2.94C112.61 72.764 168.94 40.23 225.47 8.053c1.57-.885 3.173-1.708 4.812-2.456 3.158-1.442 6.438-2.616 9.793-3.508C245.172.736 250.44.037 255.713.015c5.272-.022 10.545.632 15.652 1.943 3.525.905 6.97 2.122 10.282 3.633 1.64.75 3.243 1.57 4.813 2.455 56.538 32.162 112.877 64.68 169.01 97.545 1.55.917 3.064 1.895 4.532 2.94 2.964 2.112 5.742 4.486 8.29 7.086 3.688 3.766 6.892 8.005 9.51 12.58 2.62 4.578 4.65 9.49 6.027 14.58.906 3.35 1.53 6.778 1.86 10.234.173 1.794.262 3.593.28 5.395.417 65.045.426 130.094.03 195.14-.02 1.8-.11 3.6-.28 5.394-.33 3.455-.953 6.883-1.86 10.234-1.374 5.09-3.404 10.003-6.02 14.58-2.618 4.577-5.82 8.817-9.51 12.584-2.546 2.6-5.322 4.976-8.286 7.088-1.468 1.046-2.982 2.024-4.532 2.94-56.123 32.884-112.452 65.416-168.982 97.595-1.346.76-2.717 1.474-4.115 2.133-2.84 1.338-5.78 2.46-8.788 3.353-3.7 1.097-7.5 1.846-11.338 2.236-1.913.195-3.832.296-5.753.315-.167 0-.334.002-.5.003zM184.46 345.623h53.76c53.48 0 89.32-29.4 89.32-92.12 0-62.72-35.84-90.44-91.56-90.44h-51.52v182.56zm41.16-33.32v-115.92h7.84c31.08 0 51.8 13.44 51.8 57.12s-20.72 58.8-51.8 58.8h-7.84z"/></symbol><symbol id="icon-x-circle-thin" viewBox="0 0 30 32" width="30" height="32"><path d="M21.223 21.09c.312.313.312.82 0 1.132-.312.312-.82.312-1.13 0L15 17.132l-5.09 5.09c-.31.312-.82.312-1.13 0-.31-.312-.31-.82 0-1.13L13.87 16l-5.09-5.09c-.31-.313-.31-.82 0-1.132.31-.312.82-.312 1.13 0l5.09 5.09 5.1-5.09c.31-.312.82-.312 1.13 0 .31.312.32.82 0 1.13L16.14 16l5.09 5.09h-.007z"/><path d="M28.6 16c0-7.51-6.09-13.6-13.6-13.6S1.4 8.49 1.4 16 7.49 29.6 15 29.6 28.6 23.51 28.6 16zM3 16C3 9.373 8.373 4 15 4s12 5.373 12 12-5.373 12-12 12S3 22.627 3 16z"/></symbol><symbol id="icon-circle-fill" viewBox="0 0 32 32" width="32" height="32"><circle cx="16" cy="16" r="13"/></symbol><symbol id="icon-account-circle" viewBox="0 0 512 512" width="512" height="512"><path d="M256 512c-1.652 0-3.305-.015-4.956-.046-3.01-.057-6.02-.167-9.027-.33-8.897-.48-17.77-1.42-26.57-2.823-10.728-1.71-21.347-4.108-31.77-7.175-10.765-3.17-21.318-7.053-31.57-11.616-12.73-5.668-24.995-12.38-36.633-20.044-11.99-7.896-23.318-16.8-33.827-26.583-10.685-9.947-20.522-20.802-29.37-32.412-8.73-11.455-16.5-23.644-23.184-36.402-5.664-10.81-10.552-22.024-14.61-33.533-4.028-11.428-7.237-23.145-9.594-35.033C1.625 289.548 0 272.774 0 256c0-11.428.752-22.857 2.266-34.186 1.725-12.894 4.436-25.656 8.11-38.137 3.754-12.754 8.513-25.21 14.214-37.22 6.518-13.733 14.266-26.878 23.113-39.238 8.948-12.5 19.02-24.192 30.048-34.9 11.59-11.248 24.236-21.403 37.724-30.286 13.156-8.663 27.112-16.11 41.637-22.206 15.986-6.708 32.656-11.773 49.67-15.093C222.714 1.627 238.94.052 255.172 0c16.252-.05 32.508 1.422 48.48 4.434 17.047 3.215 33.76 8.18 49.797 14.794 14.567 6.01 28.572 13.376 41.786 21.962 13.328 8.663 25.848 18.565 37.353 29.533 11.123 10.607 21.295 22.208 30.354 34.624 8.954 12.274 16.818 25.343 23.457 39.008 5.807 11.948 10.677 24.35 14.546 37.058 3.785 12.43 6.613 25.148 8.457 38.01C511.137 231.532 512 243.765 512 256c0 15.71-1.425 31.418-4.288 46.866-2.164 11.677-5.146 23.2-8.92 34.46-3.885 11.585-8.606 22.888-14.112 33.795-6.61 13.096-14.354 25.62-23.105 37.392-8.71 11.716-18.42 22.69-28.986 32.765-10.576 10.082-22.008 19.264-34.138 27.41-11.78 7.907-24.213 14.837-37.14 20.684-10.217 4.624-20.74 8.57-31.48 11.805-10.393 3.13-20.99 5.592-31.697 7.368-8.78 1.457-17.636 2.453-26.52 2.988-3 .182-6.006.31-9.012.387-1.65.042-3.298.065-4.948.08L256 512zm0-31.165c1.212-.002 2.425-.01 3.638-.03 2.65-.04 5.3-.13 7.947-.263 8.058-.41 16.092-1.248 24.06-2.518 9.186-1.465 18.28-3.503 27.213-6.102 9.675-2.816 19.157-6.288 28.363-10.386 11.386-5.067 22.344-11.088 32.732-17.973 10.33-6.847 20.093-14.546 29.165-22.99 9.227-8.59 17.737-17.952 25.41-27.956 7.836-10.22 14.798-21.11 20.775-32.517 4.865-9.282 9.077-18.906 12.59-28.778 3.643-10.232 6.535-20.73 8.648-31.383 2.87-14.46 4.295-29.2 4.295-43.94 0-10.52-.724-21.04-2.185-31.457-1.55-11.066-3.93-22.017-7.12-32.728-3.327-11.177-7.535-22.09-12.568-32.61-5.955-12.448-13.064-24.342-21.196-35.49-7.698-10.55-16.31-20.432-25.71-29.5-10.214-9.858-21.357-18.75-33.236-26.523-11.385-7.448-23.446-13.86-35.992-19.126-14.023-5.885-28.648-10.33-43.575-13.242-14.002-2.73-28.26-4.112-42.525-4.158-14.282-.045-28.567 1.248-42.604 3.895-14.957 2.82-29.62 7.177-43.69 12.98-12.58 5.19-24.685 11.532-36.118 18.914-11.927 7.7-23.123 16.53-33.398 26.326-9.78 9.323-18.72 19.52-26.684 30.435-7.864 10.78-14.772 22.26-20.604 34.262-5.195 10.69-9.536 21.795-12.963 33.177-3.22 10.695-5.634 21.633-7.22 32.69-1.525 10.645-2.282 21.4-2.282 32.156 0 14.274 1.337 28.546 4.026 42.565 1.962 10.223 4.64 20.31 8.01 30.16 3.543 10.353 7.85 20.446 12.87 30.17 6.116 11.845 13.29 23.142 21.404 33.722 7.536 9.825 15.88 19.03 24.917 27.495 9.045 8.47 18.785 16.2 29.095 23.076 10.176 6.79 20.904 12.747 32.05 17.79 9.174 4.15 18.628 7.68 28.28 10.553 8.91 2.653 17.982 4.747 27.15 6.267 7.713 1.28 15.492 2.155 23.295 2.626 2.64.16 5.284.272 7.928.338 1.45.04 2.903.058 4.356.07.485.003.97.004 1.456.005z"/><path d="M395.563 393.597c-35.558 36.062-84.97 58.43-139.563 58.43-54.745 0-104.277-22.492-139.857-58.728 18.4-7.412 37.38-13.446 56.036-19.746 8.47-2.956 16.94-5.836 24.47-10.39 6.85-4.067 9.393-12.2 10.992-19.54.47-2.673.81-5.364 1.035-8.037-26.673-34.034-44.61-92.613-44.61-140.35 0-71.943 40.45-91.97 90.71-91.97 50.258 0 90.918 20.027 90.918 91.97 0 46.08-16.566 102.325-41.79 136.773.19 3.915.566 7.887 1.32 11.746 1.692 7.303 4.14 15.624 11.104 19.69 7.642 4.554 16.17 7.773 24.545 10.69 18.23 6.126 36.742 12.172 54.688 19.46z" fill-opacity=".8"/></symbol><symbol id="icon-payment" viewBox="0 0 32 32" width="32" height="32"><path d="M27.806 8.024h-.37L27.1 6.272c-.22-1.144-1.336-1.9-2.48-1.68L6.792 8.024H4.19c-.693 0-1.313.326-1.715.83l-.27.053c-1.144.22-1.9 1.337-1.68 2.48l1.472 7.645v6.776c0 1.205.986 2.192 2.192 2.192H27.8c1.206 0 2.192-.987 2.192-2.192V10.216c0-1.205-.986-2.192-2.192-2.192zM25.96 20.012H16c-.55 0-.995-.445-.995-.994s.445-.994.994-.994h9.96c.54 0 .99.445.99.994s-.45.994-1 .994zm2.04 5.56c0 .244-.208.452-.453.452H4.453c-.245 0-.453-.207-.453-.452v-9.548h24v9.548zm0-13.548H4v-1.548c0-.244.208-.452.453-.452h23.094c.245 0 .453.207.453.452v1.548z"/></symbol><symbol id="icon-minus" viewBox="0 0 32 32" width="32" height="32"><path d="M6.667 13.36v5.278h18.667V13.36z"/></symbol><symbol id="icon-watch" viewBox="0 0 32 32" width="32" height="32"><path d="M21.81 26.064c-.23-.146-.525-.138-.746.02-1.86 1.323-4.046 2.024-6.323 2.024s-4.46-.7-6.32-2.024c-.22-.158-.51-.167-.74-.02-.23.144-.35.414-.3.682l.83 4.7c.06.32.34.554.66.554h11.76c.33 0 .61-.234.66-.554l.83-4.7c.05-.267-.07-.537-.3-.683zM7.67 5.756c.11.07.234.105.36.105.136 0 .27-.04.388-.12 1.86-1.32 4.047-2.02 6.324-2.02s4.463.7 6.322 2.03c.222.16.52.17.75.02s.348-.42.3-.69l-.83-4.52c-.06-.313-.336-.55-.66-.55H8.862c-.323 0-.6.23-.658.55l-.83 4.52c-.05.27.07.54.3.69zm11.153 9.752h-3.85V10.03c0-.332-.27-.602-.6-.602s-.602.27-.602.602v6.28c0 .128.04.244.11.34.13.273.41.46.73.46h4.22c.45 0 .81-.358.81-.8s-.36-.802-.8-.802z"/><path d="M27.478 14.25c-.023-.032-.052-.05-.083-.05H25.85c-.033 0-.062.02-.084.05-.023.03-.035.073-.035.118v.56h-.6c-.49-5.244-4.92-9.36-10.29-9.36-5.7 0-10.34 4.64-10.34 10.342s4.64 10.35 10.34 10.35c5.378 0 9.8-4.113 10.3-9.36h.6v.56c0 .047.02.09.04.12s.05.05.085.05h1.54c.03 0 .06-.02.083-.05.02-.032.032-.075.032-.12v-3.083c0-.044-.014-.086-.036-.117zM14.83 24.02c-4.47 0-8.11-3.638-8.11-8.11s3.64-8.11 8.11-8.11c4.473 0 8.11 3.638 8.11 8.11s-3.638 8.11-8.11 8.11z"/></symbol><symbol id="icon-warning" viewBox="0 0 32 32" width="32" height="32"><path d="M15.5 3C8.044 3 2 9.044 2 16.5S8.044 30 15.5 30 29 23.956 29 16.5 22.956 3 15.5 3zm0 24C9.7 27 5 22.3 5 16.5S9.7 6 15.5 6 26 10.7 26 16.5 21.3 27 15.5 27zm0-17c-.828 0-1.5.67-1.5 1.5v5.062c0 .828.672 1.5 1.5 1.5s1.5-.672 1.5-1.5V11.5c0-.83-.672-1.5-1.5-1.5zm0 10c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5z"/></symbol><symbol id="icon-restore" viewBox="0 0 32 32" width="32" height="32"><path d="M6.66 10.334c.08-.124.16-.246.244-.367C9.07 6.845 12.682 4.8 16.77 4.8c6.627 0 12 5.372 12 12s-5.373 12-12 12c-6.32 0-11.5-4.886-11.966-11.087 0 0-.146-.71-.838-.71s-.766.71-.766.71C3.67 24.8 9.566 30.4 16.77 30.4c7.51 0 13.6-6.09 13.6-13.6S24.28 3.2 16.77 3.2c-4.566 0-8.607 2.25-11.073 5.702l-.91-4.882c-.08-.434-.498-.72-.933-.64s-.72.498-.64.933l1.377 7.39c.07.35.36.613.71.65l7.28.746c.44.04.83-.28.88-.72s-.27-.83-.71-.88l-6.41-.66.338-.52z"/></symbol><symbol id="icon-question-line" viewBox="0 0 512 512" width="512" height="512"><path d="M256 502.426c-1.59-.002-3.18-.015-4.77-.045-2.9-.054-5.796-.16-8.69-.316-8.564-.462-17.105-1.368-25.575-2.718-10.328-1.647-20.55-3.955-30.583-6.908-10.362-3.05-20.52-6.79-30.39-11.18-12.254-5.456-24.06-11.918-35.262-19.295-11.543-7.6-22.446-16.17-32.562-25.588-10.285-9.575-19.754-20.024-28.272-31.2-8.404-11.028-15.88-22.76-22.316-35.042-5.453-10.404-10.158-21.2-14.063-32.278-3.878-11-6.967-22.28-9.236-33.723-3.14-15.84-4.706-31.985-4.706-48.132 0-11 .725-22.002 2.182-32.907 1.66-12.412 4.27-24.697 7.806-36.71 3.614-12.278 8.195-24.27 13.683-35.83 6.274-13.218 13.732-25.872 22.25-37.77 8.612-12.03 18.306-23.286 28.923-33.592 11.155-10.827 23.328-20.603 36.312-29.153 12.664-8.34 26.098-15.508 40.08-21.376 15.387-6.456 31.433-11.332 47.81-14.527 15.34-2.992 30.958-4.508 46.583-4.557 15.644-.05 31.292 1.368 46.666 4.267 16.41 3.095 32.497 7.874 47.934 14.24 14.023 5.786 27.505 12.876 40.224 21.14 12.83 8.34 24.882 17.872 35.956 28.43 10.708 10.21 20.5 21.377 29.22 33.33 8.62 11.814 16.19 24.394 22.58 37.548 5.59 11.502 10.276 23.44 14 35.673 3.644 11.964 6.366 24.207 8.14 36.587 1.67 11.657 2.502 23.434 2.502 35.21 0 15.122-1.372 30.243-4.128 45.113-2.083 11.24-4.954 22.333-8.588 33.172-3.738 11.15-8.283 22.03-13.583 32.53-6.364 12.606-13.817 24.66-22.24 35.993-8.386 11.278-17.732 21.84-27.903 31.54-10.18 9.704-21.184 18.543-32.86 26.383-11.338 7.614-23.307 14.284-35.75 19.913-9.836 4.45-19.965 8.25-30.302 11.362-10.006 3.013-20.205 5.383-30.513 7.093-8.453 1.402-16.977 2.36-25.53 2.876-2.888.174-5.78.298-8.674.37-1.587.042-3.175.064-4.763.077-.53.004-1.062.005-1.593.006zm0-30c1.167-.002 2.334-.01 3.502-.028 2.55-.04 5.102-.125 7.65-.254 7.756-.394 15.49-1.2 23.16-2.424 8.842-1.41 17.597-3.372 26.195-5.874 9.313-2.71 18.44-6.053 27.302-9.997 10.958-4.88 21.507-10.675 31.506-17.302 9.944-6.59 19.342-14.002 28.074-22.13 8.882-8.27 17.074-17.28 24.46-26.91 7.543-9.838 14.244-20.32 19.998-31.3 4.683-8.936 8.737-18.2 12.12-27.703 3.506-9.85 6.29-19.954 8.324-30.21 2.76-13.918 4.134-28.105 4.134-42.295 0-10.126-.697-20.252-2.103-30.28-1.492-10.653-3.783-21.194-6.853-31.504-3.204-10.76-7.254-21.265-12.1-31.39-5.73-11.983-12.574-23.432-20.402-34.163-7.41-10.156-15.7-19.668-24.748-28.398-9.833-9.488-20.56-18.05-31.994-25.53-10.96-7.17-22.57-13.343-34.645-18.41-13.498-5.666-27.576-9.944-41.945-12.747-13.478-2.63-27.203-3.96-40.934-4.003-13.747-.043-27.498 1.2-41.01 3.75-14.397 2.714-28.51 6.907-42.055 12.493-12.11 4.995-23.762 11.1-34.768 18.207-11.48 7.412-22.258 15.91-32.15 25.34-9.412 8.975-18.02 18.792-25.685 29.298-7.57 10.377-14.22 21.426-19.833 32.98-5.002 10.29-9.18 20.98-12.48 31.936-3.1 10.294-5.423 20.823-6.948 31.466-1.47 10.248-2.198 20.6-2.198 30.954 0 13.74 1.287 27.478 3.876 40.973 1.887 9.84 4.465 19.55 7.71 29.03 3.41 9.968 7.555 19.683 12.388 29.043 5.887 11.403 12.794 22.277 20.603 32.46 7.255 9.46 15.286 18.32 23.986 26.468 8.706 8.154 18.082 15.593 28.006 22.213 9.795 6.535 20.122 12.27 30.85 17.124 8.832 3.996 17.933 7.394 27.224 10.16 8.575 2.553 17.31 4.568 26.135 6.032 7.425 1.232 14.913 2.074 22.424 2.527 2.54.152 5.086.26 7.63.325 1.398.036 2.796.055 4.194.067l1.402.004z"/><path d="M239.897 359.34c-1.195 0-2.34.476-3.184 1.32-.844.846-1.318 1.993-1.316 3.188l.058 36.022c.004 2.482 2.018 4.492 4.5 4.492h36.01c1.195 0 2.34-.474 3.183-1.318.844-.844 1.318-1.988 1.318-3.182V363.84c0-2.485-2.015-4.5-4.5-4.5h-36.07zm-70.935-158.608c-.014 1.2.454 2.356 1.298 3.21.844.853 1.994 1.333 3.194 1.333 6.71.008 19.283.01 25.95.01 2.428 0 4.418-1.926 4.498-4.352.278-7.84 1.34-15.184 3.175-22.024 2.172-8.093 5.612-15.135 10.32-21.09 4.705-5.975 10.607-10.682 17.63-14.194 7.025-3.512 15.388-5.25 24.983-5.25 14.482 0 26.068 4.164 34.576 12.546 8.51 8.38 13.252 20.003 14.338 34.866.543 10.01-.67 18.52-3.62 25.525-2.95 7.006-6.988 13.47-11.95 19.28-5.03 5.793-10.444 11.35-16.255 16.618-5.812 5.27-11.406 11.044-16.656 17.235-5.25 6.21-9.74 13.306-13.396 21.29-3.657 7.982-5.793 17.63-6.336 29v14.56c0 1.193.475 2.34 1.32 3.183.844.845 1.99 1.32 3.183 1.32h25.498c1.194 0 2.34-.475 3.184-1.32.845-.844 1.32-1.99 1.32-3.184v-11.427c0-7.06 1.03-13.396 3.077-18.827 2.045-5.43 4.707-10.68 8.092-15.388 3.385-4.707 7.17-9.232 11.35-13.396 4.182-4.164 8.454-8.327 12.78-12.49 4.346-4.346 8.582-8.87 12.782-13.397 4.2-4.527 7.91-9.596 11.15-15.027 3.26-5.43 5.975-11.404 7.966-18.102 1.992-6.697 3.042-14.12 3.042-22.52 0-12.997-2.082-24.438-6.264-34.485-4.182-10.048-10.065-18.465-17.632-25.345-7.603-6.88-16.583-12.165-26.974-15.82-10.39-3.658-21.976-5.432-34.685-5.432-14.12 0-26.79 2.425-38.16 7.24-11.368 4.816-21 11.768-28.783 20.457-7.893 8.87-13.903 19.19-18.103 31.1-3.736 10.596-5.695 22.163-5.892 34.297z"/></symbol><symbol id="icon-warning-circle-fill-thin" viewBox="0 0 32 32" width="32" height="32"><path d="M16 3.03c7.158 0 12.97 5.812 12.97 12.97S23.157 28.97 16 28.97 3.03 23.157 3.03 16 8.843 3.03 16 3.03zm1.165 18.14c0-.224-.18-.405-.404-.405h-.808c-.223 0-.404.18-.404.405v3.237c0 .223.18.405.404.405h.81c.222 0 .403-.182.403-.405V21.17zm0-13.535c0-.223-.18-.404-.404-.404h-.808c-.223 0-.404.182-.404.405V17.81c0 .224.18.405.404.405h.81c.222 0 .403-.18.403-.405V7.635z"/></symbol><symbol id="icon-bubble-fill" viewBox="0 0 32 32" width="32" height="32"><path d="M16 8.5c.276 0 .5.225.5.5s-.225.5-.5.5c-5.326 0-9.998 2.805-9.998 6 0 .276-.224.5-.5.5s-.5-.224-.5-.5c0-3.793 5.036-7 10.998-7zm0-4.998C7.164 3.502.003 8.874.003 15.5c0 4.126 2.78 7.765 7.007 9.924 0 .027-.008.045-.008.074 0 1.793-1.34 3.722-1.928 4.735h.002c-.047.11-.074.23-.074.358 0 .5.405.91.906.91.094 0 .26-.02.255-.01 3.124-.51 6.068-3.38 6.752-4.21 1 .15 2.03.23 3.085.23 8.834 0 15.997-5.37 15.997-12s-7.163-12-15.997-12z"/></symbol><symbol id="icon-gear" viewBox="0 0 32 32" width="32" height="32"><path d="M30 15.125v1.75c0 .44-.325.81-.76.867l-3.886.518c-.237.988-.624 1.916-1.14 2.757l2.38 3.113c.266.35.233.84-.077 1.15l-1.238 1.238c-.17.17-.4.258-.62.258-.19 0-.38-.06-.53-.182l-3.12-2.38c-.84.518-1.77.903-2.76 1.14l-.52 3.886c-.06.434-.43.76-.87.76h-1.75c-.44 0-.81-.325-.87-.76l-.52-3.886c-.99-.237-1.917-.623-2.76-1.14l-3.112 2.38c-.16.122-.344.18-.53.18-.224 0-.45-.086-.617-.256L5.48 25.28c-.31-.31-.342-.8-.075-1.15l2.38-3.113c-.516-.842-.904-1.77-1.14-2.757l-3.887-.518c-.434-.058-.76-.428-.76-.867v-1.75c0-.44.326-.81.76-.867l3.886-.518c.237-.987.624-1.916 1.14-2.757L5.404 7.87c-.265-.35-.232-.84.078-1.15l1.24-1.238c.168-.17.392-.257.617-.257.18 0 .37.06.53.18l3.11 2.38c.84-.515 1.77-.9 2.75-1.14l.51-3.886c.06-.44.43-.76.867-.76h1.75c.44 0 .81.32.867.76l.52 3.88c.987.24 1.916.62 2.757 1.14l3.12-2.38c.158-.12.345-.18.53-.18.227 0 .45.082.62.252l1.238 1.24c.31.31.344.8.077 1.15l-2.38 3.11c.518.843.906 1.77 1.14 2.758l3.89.517c.433.06.76.43.76.867zM16 21.25c2.9 0 5.25-2.35 5.25-5.25S18.9 10.75 16 10.75 10.75 13.1 10.75 16s2.35 5.25 5.25 5.25z"/></symbol><symbol id="icon-x-circle-fill" viewBox="0 0 32 32" width="32" height="32"><path d="M15.97 3C8.806 3 3 8.807 3 15.97s5.807 12.968 12.97 12.968 12.968-5.807 12.968-12.97S23.13 3 15.968 3zm7.612 17.84l-2.71 2.71L16 18.677l-4.873 4.873-2.71-2.71 4.874-4.872-4.87-4.873 2.71-2.71L16 13.26l4.873-4.874 2.71 2.71-4.874 4.872 4.87 4.873z"/></symbol><symbol id="icon-databases" viewBox="0 0 32 32" width="32" height="32"><path d="M26.884 22.84c-.32.262-.657.503-1.018.738-.1.064-.206.13-.312.194C23.06 25.29 19.7 26.192 16 26.195c-2.778 0-5.363-.51-7.534-1.406-.843-.35-1.628-.76-2.336-1.21-.36-.24-.698-.49-1.018-.75-.368-.3-.707-.62-1.016-.96v3.06c0 1.1.412 2.12 1.075 2.99 1 1.29 2.54 2.28 4.4 2.98 1.86.7 4.06 1.1 6.43 1.1 3.16-.007 6.02-.698 8.18-1.89 1.08-.596 1.99-1.32 2.65-2.185.667-.86 1.08-1.89 1.08-2.99v-3.06c-.313.34-.648.657-1.023.96zm-3.375 5.423c-.16.558-.63 1.013-1.21 1.106-.07 0-.14.01-.2.01-.25 0-.48-.08-.67-.22-.286-.21-.46-.55-.46-.96 0-.73.55-1.38 1.26-1.496.063-.01.126-.01.19-.01.31-.004.594.12.8.33.203.206.325.506.325.834 0 .14-.02.265-.06.39z"/><path d="M26.884 15.215c-.32.267-.657.51-1.018.738-.103.068-.21.133-.317.2-2.51 1.498-5.87 2.295-9.55 2.3-2.77 0-5.35-.45-7.52-1.294-.85-.34-1.64-.73-2.35-1.19-.36-.23-.7-.48-1.02-.74-.37-.3-.71-.63-1.02-.97v4.59c.14.38.34.75.61 1.11.12.163.25.325.4.482.29.304.63.604 1.02.886.324.24.69.47 1.084.68 2.184 1.19 5.313 1.9 8.78 1.896 2.6 0 5.01-.4 6.97-1.1 1.13-.405 2.11-.91 2.9-1.48.382-.28.725-.584 1.015-.89.15-.16.282-.32.402-.48.266-.36.466-.73.61-1.12v-4.61c-.313.34-.647.664-1.02.97zm-4.58 6.335c-.067.012-.134.017-.195.017h-.01c-.31 0-.6-.122-.8-.337-.21-.208-.33-.503-.33-.835 0-.728.552-1.382 1.26-1.495.065-.01.13-.015.193-.015.31 0 .593.125.8.33.202.213.324.507.324.838-.004.733-.56 1.377-1.26 1.496z"/><path d="M27.9 7.182c.002-.47-.14-.928-.36-1.313-.394-.68-1-1.18-1.728-1.62-1.096-.65-2.525-1.13-4.196-1.48-1.668-.35-3.582-.54-5.617-.54-3.11 0-5.92.44-8.03 1.2-1.07.38-1.96.83-2.65 1.42-.35.29-.65.62-.87 1.003-.22.384-.36.84-.36 1.312v3.93c.14.44.35.85.62 1.236.12.165.25.33.39.49.29.326.63.626 1.02.907.325.243.686.47 1.086.672 2.17 1.15 5.3 1.77 8.787 1.763 2.61 0 5.02-.354 6.98-1.017 1.133-.386 2.105-.874 2.885-1.447.383-.285.726-.587 1.02-.908.14-.15.273-.32.39-.49.27-.38.48-.78.624-1.22V7.18h-.01zm-5.596 6.47c-.067.013-.134.015-.195.015h-.01c-.31 0-.6-.12-.8-.33-.21-.212-.33-.506-.33-.837 0-.39.16-.758.41-1.03.224-.24.517-.414.85-.462.06-.014.126-.017.19-.017.19 0 .362.05.52.12.364.19.604.58.604 1.05 0 .73-.556 1.38-1.256 1.49zm3.563-6.47c0 .066-.014.134-.08.255-.115.21-.44.543-.984.855-.812.482-2.07.93-3.586 1.244-1.523.316-3.307.498-5.22.497-2.908.005-5.543-.43-7.363-1.082-.91-.32-1.61-.7-2.02-1.06-.206-.17-.336-.33-.405-.45-.07-.12-.08-.19-.08-.25v-.01c0-.06.01-.13.08-.25.11-.21.44-.54.98-.86.81-.48 2.07-.93 3.58-1.24s3.3-.5 5.21-.5c2.91 0 5.544.43 7.362 1.09.905.33 1.61.71 2.023 1.06.203.17.33.34.4.46.067.12.083.19.083.254h-.003z"/></symbol><symbol id="icon-arrow-left-circle" viewBox="0 0 32 32" width="32" height="32"><path d="M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3zm0 23c-5.522 0-10-4.478-10-10 0-5.523 4.478-10 10-10 5.523 0 10 4.477 10 10 0 5.522-4.477 10-10 10z"/><path d="M9.934 15.97l6.035 6.034v-4.526H22V14.46h-6.03V9.934z"/></symbol><symbol id="icon-account-circle-fill" viewBox="0 0 512 512" width="512" height="512"><path d="M256 512c-1.652 0-3.305-.015-4.956-.046-3.01-.057-6.02-.167-9.027-.33-8.897-.48-17.77-1.42-26.57-2.823-10.728-1.71-21.347-4.108-31.77-7.175-10.765-3.17-21.318-7.053-31.57-11.616-12.73-5.668-24.995-12.38-36.633-20.044-11.99-7.896-23.318-16.8-33.827-26.583-10.685-9.947-20.522-20.802-29.37-32.412-8.73-11.455-16.5-23.644-23.184-36.402-5.664-10.81-10.552-22.024-14.61-33.533-4.028-11.428-7.237-23.145-9.594-35.033C1.625 289.548 0 272.774 0 256c0-11.428.752-22.857 2.266-34.186 1.725-12.894 4.436-25.656 8.11-38.137 3.754-12.754 8.513-25.21 14.214-37.22 6.518-13.733 14.266-26.878 23.113-39.238 8.948-12.5 19.02-24.192 30.048-34.9 11.59-11.248 24.236-21.403 37.724-30.286 13.156-8.663 27.112-16.11 41.637-22.206 15.986-6.708 32.656-11.773 49.67-15.093C222.714 1.627 238.94.052 255.172 0c16.252-.05 32.508 1.422 48.48 4.434 17.047 3.215 33.76 8.18 49.797 14.794 14.567 6.01 28.572 13.376 41.786 21.962 13.328 8.663 25.848 18.565 37.353 29.533 11.123 10.607 21.295 22.208 30.354 34.624 8.954 12.274 16.818 25.343 23.457 39.008 5.807 11.948 10.677 24.35 14.546 37.058 3.785 12.43 6.613 25.148 8.457 38.01C511.137 231.532 512 243.765 512 256c0 15.71-1.425 31.418-4.288 46.866-2.164 11.677-5.146 23.2-8.92 34.46-3.885 11.585-8.606 22.888-14.112 33.795-6.61 13.096-14.354 25.62-23.105 37.392-8.71 11.716-18.42 22.69-28.986 32.765-10.576 10.082-22.008 19.264-34.138 27.41-11.78 7.907-24.213 14.837-37.14 20.684-10.217 4.624-20.74 8.57-31.48 11.805-10.393 3.13-20.99 5.592-31.697 7.368-8.78 1.457-17.636 2.453-26.52 2.988-3 .182-6.006.31-9.012.387-1.65.042-3.298.065-4.948.08L256 512zm0-31.165c1.212-.002 2.425-.01 3.638-.03 2.65-.04 5.3-.13 7.947-.263 8.058-.41 16.092-1.248 24.06-2.518 9.186-1.465 18.28-3.503 27.213-6.102 9.675-2.816 19.157-6.288 28.363-10.386 11.386-5.067 22.344-11.088 32.732-17.973 10.33-6.847 20.093-14.546 29.165-22.99 9.227-8.59 17.737-17.952 25.41-27.956 7.836-10.22 14.798-21.11 20.775-32.517 4.865-9.282 9.077-18.906 12.59-28.778 3.643-10.232 6.535-20.73 8.648-31.383 2.87-14.46 4.295-29.2 4.295-43.94 0-10.52-.724-21.04-2.185-31.457-1.55-11.066-3.93-22.017-7.12-32.728-3.327-11.177-7.535-22.09-12.568-32.61-5.955-12.448-13.064-24.342-21.196-35.49-7.698-10.55-16.31-20.432-25.71-29.5-10.214-9.858-21.357-18.75-33.236-26.523-11.385-7.448-23.446-13.86-35.992-19.126-14.023-5.885-28.648-10.33-43.575-13.242-14.002-2.73-28.26-4.112-42.525-4.158-14.282-.045-28.567 1.248-42.604 3.895-14.957 2.82-29.62 7.177-43.69 12.98-12.58 5.19-24.685 11.532-36.118 18.914-11.927 7.7-23.123 16.53-33.398 26.326-9.78 9.323-18.72 19.52-26.684 30.435-7.864 10.78-14.772 22.26-20.604 34.262-5.195 10.69-9.536 21.795-12.963 33.177-3.22 10.695-5.634 21.633-7.22 32.69-1.525 10.645-2.282 21.4-2.282 32.156 0 14.274 1.337 28.546 4.026 42.565 1.962 10.223 4.64 20.31 8.01 30.16 3.543 10.353 7.85 20.446 12.87 30.17 6.116 11.845 13.29 23.142 21.404 33.722 7.536 9.825 15.88 19.03 24.917 27.495 9.045 8.47 18.785 16.2 29.095 23.076 10.176 6.79 20.904 12.747 32.05 17.79 9.174 4.15 18.628 7.68 28.28 10.553 8.91 2.653 17.982 4.747 27.15 6.267 7.713 1.28 15.492 2.155 23.295 2.626 2.64.16 5.284.272 7.928.338 1.45.04 2.903.058 4.356.07.485.003.97.004 1.456.005z"/><path d="M395.44 400.517c-17.137-6.754-34.71-12.507-52.037-18.328-8.625-3.005-17.406-6.32-25.276-11.01-7.17-4.187-9.692-12.755-11.435-20.275-.776-3.974-1.164-8.063-1.358-12.095 25.973-35.472 43.03-93.388 43.03-140.84 0-74.08-41.867-94.704-93.62-94.704-51.753 0-93.407 20.623-93.407 94.705 0 49.157 18.472 109.477 45.938 144.523-.232 2.752-.58 5.524-1.066 8.276-1.648 7.558-4.265 15.932-11.32 20.12-7.754 4.69-16.477 7.655-25.198 10.698-17.77 6.002-35.826 11.768-53.43 18.64-37.684-36.52-61.12-87.658-61.12-144.227 0-110.856 90.002-200.857 200.858-200.857 110.856 0 200.858 90 200.858 200.858 0 56.72-23.56 107.978-61.42 144.517z"/></symbol><symbol id="icon-cluster" viewBox="0 0 512 512" width="512" height="512"><path d="M256 510.897c-.898-.003-1.795-.027-2.692-.08-1.795-.108-3.583-.322-5.352-.643-5.29-.958-10.398-2.872-15.01-5.635-2.092-1.255-4.08-2.68-5.942-4.26-.88-.743-1.725-1.523-2.547-2.33C154.1 428.037 83.963 357.9 14.05 287.543c-1.206-1.228-2.348-2.515-3.41-3.87-2.008-2.558-3.736-5.336-5.14-8.27-1.414-2.95-2.5-6.054-3.238-9.24-.77-3.33-1.16-6.746-1.16-10.163s.39-6.834 1.16-10.163c.738-3.186 1.824-6.29 3.237-9.24 1.404-2.934 3.132-5.712 5.14-8.27 1.062-1.355 2.204-2.642 3.41-3.87C83.963 154.1 154.1 83.963 224.457 14.05c1.228-1.206 2.515-2.348 3.87-3.41 2.558-2.008 5.336-3.736 8.27-5.14 2.95-1.414 6.054-2.5 9.24-3.238 3.33-.77 6.746-1.16 10.163-1.16s6.834.39 10.163 1.16c3.186.738 6.29 1.824 9.24 3.237 2.934 1.404 5.712 3.132 8.27 5.14 1.355 1.062 2.642 2.204 3.87 3.41C357.9 83.963 428.037 154.1 497.95 224.457c1.206 1.228 2.348 2.515 3.41 3.87 2.008 2.558 3.736 5.336 5.14 8.27 1.414 2.95 2.5 6.054 3.238 9.24.77 3.33 1.16 6.746 1.16 10.163s-.39 6.834-1.16 10.163c-.738 3.186-1.824 6.29-3.237 9.24-1.404 2.934-3.132 5.712-5.14 8.27-1.062 1.355-2.204 2.642-3.41 3.87C428.037 357.9 357.9 428.037 287.543 497.95c-.822.807-1.668 1.587-2.547 2.33-1.86 1.58-3.85 3.005-5.942 4.26-4.38 2.623-9.207 4.482-14.213 5.482-1.763.353-3.548.6-5.342.74-.806.062-1.613.1-2.42.122-.36.007-.72.012-1.078.013zm0-30c.874-.003 1.746-.076 2.608-.227 1.71-.3 3.368-.9 4.87-1.773 1.09-.635 2.087-1.41 2.986-2.294 70.29-69.85 140.81-139.476 210.21-210.21.425-.44.827-.9 1.198-1.386.665-.87 1.233-1.813 1.688-2.81.81-1.773 1.257-3.706 1.327-5.654.082-2.31-.367-4.637-1.327-6.74-.455-.997-1.023-1.94-1.688-2.81-.37-.486-.773-.947-1.2-1.386-69.42-70.758-139.523-140.856-210.28-210.28-.438-.426-.9-.828-1.385-1.2-.87-.664-1.813-1.232-2.81-1.686-1.773-.81-3.706-1.257-5.654-1.327-2.31-.082-4.637.367-6.74 1.328-.97.442-1.886.99-2.735 1.63-.514.388-1 .81-1.46 1.257C174.85 104.75 104.75 174.85 35.327 245.607c-.45.462-.87.947-1.257 1.46-.64.85-1.188 1.767-1.63 2.735-.96 2.104-1.41 4.43-1.327 6.74.07 1.95.518 3.882 1.328 5.656.455.996 1.023 1.94 1.688 2.81.37.485.773.946 1.2 1.385 69.423 70.756 139.52 140.858 210.28 210.28.88.854 1.853 1.606 2.914 2.224 1.397.813 2.93 1.39 4.515 1.707.887.177 1.787.27 2.69.29l.273.002z"/><path d="M279.612 430.108l-13.5 13.5c-2.682 2.682-6.32 4.188-10.112 4.188-3.793 0-7.43-1.506-10.112-4.188L68.392 266.112c-2.682-2.682-4.188-6.32-4.188-10.112 0-3.793 1.506-7.43 4.188-10.112L245.888 68.392c2.682-2.682 6.32-4.188 10.112-4.188 3.793 0 7.43 1.506 10.112 4.188l64.505 64.506v86.943c-1.64.454-3.25 1.02-4.812 1.693-4.292 1.847-8.226 4.504-11.55 7.788-3.158 3.122-5.757 6.802-7.637 10.825-1.637 3.502-2.723 7.256-3.21 11.09-.502 3.938-.378 7.956.37 11.854.65 3.397 1.778 6.7 3.337 9.788 1.965 3.893 4.613 7.434 7.787 10.425 3.07 2.893 6.63 5.265 10.484 6.98 3.178 1.416 6.553 2.382 10 2.865 1.733.243 3.48.358 5.23.363.323 0 .644-.004.965-.01 1.744-.05 3.48-.21 5.202-.495 3.422-.568 6.762-1.615 9.896-3.102 3.875-1.84 7.427-4.35 10.46-7.382 3.033-3.033 5.542-6.584 7.382-10.46 1.52-3.204 2.582-6.625 3.14-10.128.613-3.844.625-7.784.036-11.632-.582-3.81-1.76-7.525-3.475-10.976-1.975-3.972-4.66-7.585-7.888-10.627-3.405-3.208-7.406-5.772-11.747-7.516-1.296-.52-2.622-.967-3.968-1.34V152.9l92.99 92.99c2.683 2.682 4.19 6.32 4.19 10.112 0 3.793-1.507 7.43-4.19 10.112L337.84 371.88 266 300.04V196.347c2.08-.575 4.11-1.33 6.06-2.256 3.876-1.838 7.427-4.347 10.46-7.38 2.98-2.98 5.455-6.46 7.285-10.256 1.54-3.193 2.62-6.604 3.2-10.1.65-3.918.675-7.94.074-11.865-.584-3.81-1.76-7.526-3.476-10.977-1.975-3.972-4.66-7.585-7.89-10.627-3.404-3.208-7.406-5.773-11.747-7.517-2.293-.922-4.678-1.614-7.11-2.065-2.417-.448-4.88-.656-7.34-.625-2.372.03-4.74.284-7.066.76-2.49.51-4.927 1.276-7.262 2.28-4.292 1.85-8.226 4.506-11.55 7.79-3.158 3.12-5.758 6.8-7.638 10.824-1.636 3.502-2.722 7.256-3.21 11.09-.5 3.937-.378 7.955.37 11.854.652 3.397 1.78 6.7 3.338 9.79 1.93 3.825 4.522 7.312 7.624 10.27 3.108 2.962 6.723 5.388 10.647 7.134 1.693.755 3.443 1.38 5.23 1.875v107.835c.034.774.017.972.152 1.736.253 1.434.822 2.807 1.656 4 .446.636.598.764 1.12 1.335l74.77 74.77-29.944 29.943L182.85 305.06v-12.9c2.08-.576 4.11-1.332 6.06-2.257 3.875-1.84 7.426-4.35 10.46-7.382 3.033-3.033 5.542-6.584 7.382-10.46 1.52-3.204 2.58-6.625 3.14-10.128.612-3.844.625-7.783.036-11.63-.583-3.81-1.76-7.526-3.475-10.977-1.975-3.973-4.66-7.586-7.89-10.628-3.404-3.208-7.406-5.772-11.747-7.516-2.293-.92-4.678-1.613-7.11-2.063-2.417-.448-4.88-.657-7.34-.625-2.45.03-4.897.3-7.295.807-2.41.51-4.77 1.258-7.034 2.233-4.29 1.847-8.226 4.504-11.55 7.788-3.157 3.122-5.757 6.802-7.637 10.826-1.637 3.502-2.723 7.255-3.21 11.09-.503 3.937-.38 7.954.37 11.853.68 3.545 1.877 6.99 3.544 10.193 1.977 3.8 4.608 7.255 7.744 10.174 3.033 2.824 6.533 5.142 10.32 6.827 1.694.754 3.444 1.38 5.23 1.875V309.2c.023.634.012.795.103 1.424.204 1.414.714 2.78 1.486 3.983.258.4.543.78.855 1.14.157.18.326.35.488.523l113.834 113.835zM172.85 273.51c.894 0 1.788-.065 2.674-.2 1.524-.234 3.015-.67 4.424-1.298 1.64-.73 3.167-1.717 4.51-2.91 1.45-1.285 2.684-2.807 3.64-4.49.824-1.454 1.438-3.025 1.814-4.653.468-2.027.57-4.137.307-6.2-.223-1.744-.712-3.453-1.447-5.052-.883-1.92-2.117-3.676-3.62-5.16-1.554-1.537-3.393-2.78-5.4-3.645-2.105-.906-4.384-1.384-6.675-1.413-2.303-.03-4.604.39-6.74 1.25-1.997.8-3.838 1.976-5.412 3.442-1.547 1.44-2.832 3.156-3.773 5.048-.78 1.57-1.32 3.256-1.596 4.987-.328 2.054-.29 4.17.115 6.21.32 1.61.868 3.17 1.625 4.626.845 1.624 1.946 3.113 3.248 4.4 1.378 1.36 2.98 2.495 4.724 3.336 1.415.682 2.923 1.17 4.47 1.447.877.157 1.764.243 2.653.27.152.002.304.004.456.004zm167.767 0c.896 0 1.79-.065 2.675-.2 1.524-.234 3.016-.67 4.424-1.298 1.706-.76 3.287-1.795 4.67-3.05 1.38-1.256 2.56-2.73 3.48-4.35.807-1.423 1.412-2.958 1.79-4.548.49-2.058.598-4.206.33-6.304-.22-1.745-.71-3.454-1.444-5.052-.883-1.92-2.118-3.676-3.62-5.16-1.555-1.537-3.394-2.78-5.4-3.645-2.106-.906-4.385-1.384-6.676-1.413-2.302-.03-4.603.39-6.74 1.25-1.996.8-3.838 1.976-5.412 3.442-1.546 1.44-2.832 3.156-3.772 5.048-.78 1.57-1.32 3.256-1.597 4.987-.327 2.054-.29 4.17.115 6.21.333 1.68.917 3.306 1.724 4.814.898 1.676 2.07 3.203 3.454 4.506 1.307 1.232 2.802 2.263 4.42 3.043 1.416.682 2.924 1.17 4.472 1.447.876.157 1.762.243 2.652.27.152.002.303.004.455.004zM256 177.7c.896-.003 1.79-.067 2.676-.202 1.523-.233 3.015-.67 4.423-1.297 1.64-.73 3.167-1.717 4.51-2.91 1.448-1.284 2.684-2.807 3.64-4.49.805-1.422 1.41-2.957 1.788-4.548.49-2.057.6-4.205.332-6.303-.222-1.746-.71-3.455-1.445-5.054-.883-1.92-2.118-3.675-3.62-5.16-1.555-1.536-3.393-2.78-5.4-3.644-2.106-.907-4.385-1.384-6.677-1.413-2.302-.03-4.603.39-6.74 1.248-1.996.802-3.837 1.977-5.41 3.443-1.547 1.44-2.833 3.156-3.774 5.048-.78 1.57-1.32 3.256-1.596 4.987-.328 2.055-.29 4.17.115 6.212.333 1.678.916 3.304 1.724 4.812.914 1.706 2.113 3.258 3.53 4.577 1.29 1.2 2.757 2.206 4.343 2.97 1.45.7 2.995 1.195 4.58 1.468.842.145 1.692.225 2.544.25l.456.005z"/></symbol><symbol id="icon-cli" viewBox="0 0 38 32" width="38" height="32"><path d="M34.416 1.908H3.4c-.606 0-1.145.54-1.145 1.146v25.89c0 .608.54 1.147 1.146 1.147h31.02c.61 0 1.15-.53 1.15-1.14V3.06c0-.61-.54-1.15-1.14-1.15zm-3.438 2.36c.674 0 1.146.54 1.146 1.146 0 .674-.54 1.146-1.146 1.146-.674 0-1.146-.54-1.146-1.146-.067-.607.472-1.146 1.146-1.146zm-4.18 0c.673 0 1.145.54 1.145 1.146 0 .674-.54 1.146-1.146 1.146-.674 0-1.146-.54-1.146-1.146-.06-.607.48-1.146 1.15-1.146zm-4.18 0c.673 0 1.145.54 1.145 1.146 0 .674-.54 1.146-1.146 1.146s-1.146-.54-1.146-1.146c0-.607.48-1.146 1.15-1.146zm10.652 23.53H4.547V8.72H33.27V27.8z"/><path d="M8.593 22.81c.067.067.135.067.202.067s.202 0 .27-.067l5.933-4.18c.135-.067.202-.202.202-.405v-1.753c0-.135-.067-.27-.202-.405l-5.933-4.113c-.135-.067-.337-.135-.472 0-.135.067-.27.27-.27.405v2.09c0 .13.067.27.202.33l3.236 2.56-3.23 2.63c-.13.06-.2.2-.2.33v2.09c.07.2.14.335.27.403zm6.067 0v.742c0 .405.338.674.675.674h7.686c.41 0 .68-.337.68-.674v-.742c0-.405-.33-.674-.67-.674h-7.69c-.33 0-.67.337-.67.674z"/></symbol><symbol id="icon-deployment-cassandra" viewBox="0 0 512 512" width="512" height="512"><path d="M256.036 512c-2.004-.004-4.007-.097-6.003-.29-4.007-.39-7.975-1.172-11.83-2.33-3.007-.906-5.944-2.04-8.78-3.39-1.395-.664-2.764-1.384-4.108-2.15-56.33-32.353-112.726-64.593-168.784-97.416-1.55-.917-3.064-1.894-4.532-2.94-2.827-2.014-5.485-4.267-7.934-6.727-3.72-3.736-6.96-7.95-9.616-12.506-2.655-4.553-4.725-9.447-6.143-14.524-.98-3.506-1.648-7.098-1.995-10.72-.173-1.795-.262-3.595-.28-5.397-.417-65.046-.426-130.095-.03-195.14.02-1.8.11-3.6.28-5.395.347-3.623 1.014-7.216 1.992-10.722 1.417-5.078 3.486-9.972 6.14-14.527 2.654-4.557 5.892-8.77 9.612-12.51 2.45-2.46 5.105-4.713 7.932-6.728 1.468-1.046 2.982-2.024 4.532-2.94C112.61 72.764 168.94 40.23 225.47 8.053c1.57-.885 3.173-1.708 4.812-2.456 3.158-1.442 6.438-2.616 9.793-3.508C245.172.736 250.44.037 255.713.015c5.272-.022 10.545.632 15.652 1.943 3.525.905 6.97 2.122 10.282 3.633 1.64.75 3.243 1.57 4.813 2.455 56.538 32.162 112.877 64.68 169.01 97.545 1.55.917 3.064 1.895 4.532 2.94 2.964 2.112 5.742 4.486 8.29 7.086 3.688 3.766 6.892 8.005 9.51 12.58 2.62 4.578 4.65 9.49 6.027 14.58.906 3.35 1.53 6.778 1.86 10.234.173 1.794.262 3.593.28 5.395.417 65.045.426 130.094.03 195.14-.02 1.8-.11 3.6-.28 5.394-.33 3.455-.953 6.883-1.86 10.234-1.374 5.09-3.404 10.003-6.02 14.58-2.618 4.577-5.82 8.817-9.51 12.584-2.546 2.6-5.322 4.976-8.286 7.088-1.468 1.046-2.982 2.024-4.532 2.94-56.123 32.884-112.452 65.416-168.982 97.595-1.346.76-2.717 1.474-4.115 2.133-2.84 1.338-5.78 2.46-8.788 3.353-3.7 1.097-7.5 1.846-11.338 2.236-1.913.195-3.832.296-5.753.315-.167 0-.334.002-.5.003zm10.645-163.017c23.8 0 43.96-9.24 59.08-26.88l-21.84-25.76c-8.96 9.52-20.72 17.08-35.56 17.08-26.88 0-44.24-21.84-44.24-59.36 0-36.68 19.88-58.8 44.8-58.8 13.16 0 22.96 6.16 32.2 14.56l21.84-26.32c-12.32-12.6-31.36-23.8-54.88-23.8-46.2 0-86.24 35.28-86.24 95.76 0 61.32 38.64 93.52 84.84 93.52z"/></symbol><symbol id="icon-dash-circle" viewBox="0 0 32 32" width="32" height="32"><path d="M25.192 6.808c-5.077-5.077-13.307-5.077-18.384 0s-5.077 13.307 0 18.384 13.307 5.077 18.384 0 5.077-13.307 0-18.384zM8.93 23.07c-3.906-3.904-3.906-10.236 0-14.14 3.904-3.906 10.236-3.906 14.14 0 3.906 3.904 3.906 10.236 0 14.14-3.904 3.906-10.236 3.906-14.14 0z"/><path d="M23.014 17.5H9.03v-3.04h13.984v3.04z"/></symbol><symbol id="icon-eye-closed" viewBox="0 0 32 32" width="32" height="32"><path d="M28.546 5.178l-1.71-1.71L3.48 26.82l1.71 1.71L28.547 5.18zm-2.192 5.157C29.71 12.43 32 14.93 32 16c0 1.998-7.993 8.992-15.986 8.992-1.286 0-2.57-.18-3.823-.493l2.63-2.63c.39.08.79.12 1.2.12 3.31 0 6-2.69 6-6 0-.41-.04-.82-.12-1.2l4.47-4.47zM10.138 17.2l-4.466 4.465C2.317 19.57.026 17.07.026 16c0-1.998 7.993-8.992 15.986-8.992 1.286 0 2.57.18 3.823.493l-2.625 2.63c-.387-.08-.788-.12-1.2-.12-3.31 0-5.994 2.69-5.994 6 0 .41.04.82.12 1.2z"/></symbol><symbol id="icon-chip" viewBox="0 0 512 512" width="512" height="512"><path d="M415.31 415.31H96.69V96.69h318.62v318.62zm87.62-207.103c4.402 0 7.967-3.565 7.967-7.966 0-4.4-3.565-7.964-7.966-7.964h-55.757v-39.828h55.758c4.402 0 7.967-3.565 7.967-7.965s-3.565-7.966-7.966-7.966h-55.757V96.69c0-17.604-14.258-31.863-31.862-31.863h-39.827V9.07c0-4.402-3.565-7.967-7.966-7.967-4.4 0-7.965 3.565-7.965 7.966v55.757h-39.828V9.07c0-4.402-3.564-7.967-7.965-7.967-4.402 0-7.967 3.565-7.967 7.966v55.757h-39.827V9.07c0-4.402-3.565-7.967-7.966-7.967-4.4 0-7.966 3.565-7.966 7.966v55.757h-39.827V9.07c0-4.402-3.565-7.967-7.966-7.967-4.4 0-7.964 3.565-7.964 7.966v55.757h-39.828V9.07c0-4.402-3.565-7.967-7.965-7.967s-7.966 3.565-7.966 7.966v55.757H96.69c-17.605 0-31.863 14.26-31.863 31.862v39.827H9.07c-4.402 0-7.967 3.565-7.967 7.966 0 4.4 3.565 7.965 7.966 7.965h55.757v39.828H9.07c-4.402 0-7.967 3.564-7.967 7.965 0 4.402 3.565 7.967 7.966 7.967h55.757v39.827H9.07c-4.402 0-7.967 3.565-7.967 7.966 0 4.4 3.565 7.966 7.966 7.966h55.757v39.827H9.07c-4.402 0-7.967 3.565-7.967 7.966 0 4.4 3.565 7.964 7.966 7.964h55.757v39.828H9.07c-4.402 0-7.967 3.565-7.967 7.965s3.565 7.966 7.966 7.966h55.757v39.828c0 17.604 14.258 31.863 31.862 31.863h39.827v55.758c0 4.402 3.565 7.967 7.966 7.967 4.4 0 7.965-3.565 7.965-7.966v-55.757h39.828v55.758c0 4.402 3.564 7.967 7.965 7.967 4.402 0 7.967-3.565 7.967-7.966v-55.757h39.827v55.758c0 4.402 3.565 7.967 7.966 7.967 4.4 0 7.966-3.565 7.966-7.966v-55.757h39.827v55.758c0 4.402 3.565 7.967 7.966 7.967 4.4 0 7.964-3.565 7.964-7.966v-55.757h39.828v55.758c0 4.402 3.565 7.967 7.965 7.967s7.966-3.565 7.966-7.966v-55.757h39.828c17.605 0 31.863-14.26 31.863-31.862v-39.827h55.758c4.402 0 7.967-3.565 7.967-7.966 0-4.4-3.565-7.965-7.966-7.965h-55.757v-39.828h55.758c4.402 0 7.967-3.564 7.967-7.965 0-4.402-3.565-7.967-7.966-7.967h-55.757v-39.827h55.758c4.402 0 7.967-3.565 7.967-7.966 0-4.4-3.565-7.966-7.966-7.966h-55.757v-39.827h55.758zm-358.447-63.724h223.034v223.034H144.483V144.483zm0 238.966h223.034c8.802 0 15.93-7.13 15.93-15.933V144.483c0-8.802-7.128-15.932-15.93-15.932H144.483c-8.802 0-15.932 7.13-15.932 15.933v223.034c0 8.802 7.13 15.932 15.933 15.932z"/></symbol><symbol id="icon-deployment-scylladb" viewBox="0 0 512 512" width="512" height="512"><path d="M256.036 512c-2.004-.004-4.007-.097-6.003-.29-4.007-.39-7.975-1.172-11.83-2.33-3.007-.906-5.944-2.04-8.78-3.39-1.395-.664-2.764-1.384-4.108-2.15-56.33-32.353-112.726-64.593-168.784-97.416-1.55-.917-3.064-1.894-4.532-2.94-2.827-2.014-5.485-4.267-7.934-6.727-3.72-3.736-6.96-7.95-9.616-12.506-2.655-4.553-4.725-9.447-6.143-14.524-.98-3.506-1.648-7.098-1.995-10.72-.173-1.795-.262-3.595-.28-5.397-.417-65.046-.426-130.095-.03-195.14.02-1.8.11-3.6.28-5.395.347-3.623 1.014-7.216 1.992-10.722 1.417-5.078 3.486-9.972 6.14-14.527 2.654-4.557 5.892-8.77 9.612-12.51 2.45-2.46 5.105-4.713 7.932-6.728 1.468-1.046 2.982-2.024 4.532-2.94C112.61 72.764 168.94 40.23 225.47 8.053c1.57-.885 3.173-1.708 4.812-2.456 3.158-1.442 6.438-2.616 9.793-3.508C245.172.736 250.44.037 255.713.015c5.272-.022 10.545.632 15.652 1.943 3.525.905 6.97 2.122 10.282 3.633 1.64.75 3.243 1.57 4.813 2.455 56.538 32.162 112.877 64.68 169.01 97.545 1.55.917 3.064 1.895 4.532 2.94 2.964 2.112 5.742 4.486 8.29 7.086 3.688 3.766 6.892 8.005 9.51 12.58 2.62 4.578 4.65 9.49 6.027 14.58.906 3.35 1.53 6.778 1.86 10.234.173 1.794.262 3.593.28 5.395.417 65.045.426 130.094.03 195.14-.02 1.8-.11 3.6-.28 5.394-.33 3.455-.953 6.883-1.86 10.234-1.374 5.09-3.404 10.003-6.02 14.58-2.618 4.577-5.82 8.817-9.51 12.584-2.546 2.6-5.322 4.976-8.286 7.088-1.468 1.046-2.982 2.024-4.532 2.94-56.123 32.884-112.452 65.416-168.982 97.595-1.346.76-2.717 1.474-4.115 2.133-2.84 1.338-5.78 2.46-8.788 3.353-3.7 1.097-7.5 1.846-11.338 2.236-1.913.195-3.832.296-5.753.315-.167 0-.334.002-.5.003zm-.596-163.035c43.68 0 68.88-26.32 68.88-56.56 0-25.76-14-40.6-36.12-49.56l-23.52-9.52c-15.68-6.44-27.72-10.36-27.72-21.56 0-10.36 8.96-16.52 23.24-16.52 14.56 0 25.76 5.32 37.8 14.56l21-26.04c-15.68-15.68-37.8-24.08-58.8-24.08-38.08 0-64.96 24.08-64.96 54.32 0 26.6 17.92 42.28 36.68 49.84l23.8 10.08c15.96 6.72 26.32 10.36 26.32 21.84 0 10.92-8.4 17.64-25.48 17.64-15.12 0-31.92-7.84-45.08-19.04l-23.52 28.28c18.48 17.36 43.68 26.32 67.48 26.32z"/></symbol><symbol id="icon-users" viewBox="0 0 32 32" width="32" height="32"><path d="M30.008 26.11c-1.178-.556-2.387-1.018-3.448-1.42-.638-.243-1.427-.386-2.027-.716-.4-.22-1.044-.937-1.275-1.313-.323-.52-.405-1.07-1.217-1.06.61-1.07 1.13-2.24 1.57-3.48 1.33 1.06 1.51-3.21 1.16-4-.14-.18-.34-.01-.4-.06.3-2.24.76-4.87-.23-6.43-1.15-1.82-5.47-2.44-7.82-1.8-.07-.26-.51 0-.87.23-.09-.21-.61.11-.58.58-2.58 1.02-2.06 4.87-1.56 7.82-.102.11-.38.05-.35.29.09 1.46.36 2.73.93 3.71.33.14.43-.26.58-.11.365 1.14.817 2.197 1.216 3.3-.736.126-.97.828-1.195 1.51l-6 2.73c-.16.07-.32.143-.474.216V28h22v-1.89z"/><path d="M12.102 21.3c-.353-.134-.79-.213-1.12-.395-.22-.12-.577-.518-.705-.726-.18-.29-.224-.6-.673-.59.336-.6.623-1.24.864-1.93.733.58.833-1.78.64-2.21-.08-.1-.19-.01-.224-.04.166-1.24.42-2.69-.128-3.56-.637-1.01-3.025-1.35-4.323-.995-.04-.15-.28-.004-.48.13-.05-.12-.337.055-.32.32-1.427.56-1.14 2.69-.865 4.32-.057.06-.21.024-.192.16.05.804.2 1.51.513 2.05.18.073.24-.144.32-.065.2.63.45 1.213.67 1.825-.41.07-.54.457-.66.833L2.1 21.95l-.105.05v2h6.11l5.033-2.293c-.36-.148-.715-.283-1.043-.408z"/></symbol><symbol id="icon-deployment-mongodb" viewBox="0 0 512 512" width="512" height="512"><path d="M256.036 512c-2.004-.004-4.007-.097-6.003-.29-4.007-.39-7.975-1.172-11.83-2.33-3.007-.906-5.944-2.04-8.78-3.39-1.395-.664-2.764-1.384-4.108-2.15-56.33-32.353-112.726-64.593-168.784-97.416-1.55-.917-3.064-1.894-4.532-2.94-2.827-2.014-5.485-4.267-7.934-6.727-3.72-3.736-6.96-7.95-9.616-12.506-2.655-4.553-4.725-9.447-6.143-14.524-.98-3.506-1.648-7.098-1.995-10.72-.173-1.795-.262-3.595-.28-5.397-.417-65.046-.426-130.095-.03-195.14.02-1.8.11-3.6.28-5.395.347-3.623 1.014-7.216 1.992-10.722 1.417-5.078 3.486-9.972 6.14-14.527 2.654-4.557 5.892-8.77 9.612-12.51 2.45-2.46 5.105-4.713 7.932-6.728 1.468-1.046 2.982-2.024 4.532-2.94C112.61 72.764 168.94 40.23 225.47 8.053c1.57-.885 3.173-1.708 4.812-2.456 3.158-1.442 6.438-2.616 9.793-3.508C245.172.736 250.44.037 255.713.015c5.272-.022 10.545.632 15.652 1.943 3.525.905 6.97 2.122 10.282 3.633 1.64.75 3.243 1.57 4.813 2.455 56.538 32.162 112.877 64.68 169.01 97.545 1.55.917 3.064 1.895 4.532 2.94 2.964 2.112 5.742 4.486 8.29 7.086 3.688 3.766 6.892 8.005 9.51 12.58 2.62 4.578 4.65 9.49 6.027 14.58.906 3.35 1.53 6.778 1.86 10.234.173 1.794.262 3.593.28 5.395.417 65.045.426 130.094.03 195.14-.02 1.8-.11 3.6-.28 5.394-.33 3.455-.953 6.883-1.86 10.234-1.374 5.09-3.404 10.003-6.02 14.58-2.618 4.577-5.82 8.817-9.51 12.584-2.546 2.6-5.322 4.976-8.286 7.088-1.468 1.046-2.982 2.024-4.532 2.94-56.123 32.884-112.452 65.416-168.982 97.595-1.346.76-2.717 1.474-4.115 2.133-2.84 1.338-5.78 2.46-8.788 3.353-3.7 1.097-7.5 1.846-11.338 2.236-1.913.195-3.832.296-5.753.315-.167 0-.334.002-.5.003zM165.32 345.623h36.96v-66.92c0-17.92-3.36-44.52-5.32-62.16h1.12l14.56 43.4 26.04 69.72h22.68l26.04-69.72 14.84-43.4h1.12c-1.96 17.64-5.32 44.24-5.32 62.16v66.92h37.52v-182.56h-44.8l-28.84 81.2c-3.64 10.64-6.72 22.4-10.36 33.6h-1.12c-3.64-11.2-7-22.96-10.64-33.6l-29.4-81.2h-45.08v182.56z"/></symbol><symbol id="icon-power" viewBox="0 0 32 32" width="32" height="32"><path d="M16 30c-3.338 0-6.476-1.3-8.837-3.66-2.36-2.36-3.66-5.498-3.66-8.838s1.3-6.478 3.66-8.84c.752-.75 1.967-.75 2.72 0s.75 1.968 0 2.72c-1.635 1.636-2.535 3.81-2.535 6.12s.9 4.486 2.534 6.12 3.805 2.532 6.118 2.532 4.484-.9 6.118-2.532c1.636-1.634 2.534-3.807 2.534-6.12s-.9-4.486-2.534-6.12c-.752-.752-.752-1.967 0-2.72s1.967-.75 2.72 0c2.358 2.364 3.66 5.502 3.66 8.84s-1.302 6.478-3.66 8.84C22.475 28.7 19.338 30 16 30zm0-10.81c-1.063 0-1.923-.862-1.923-1.924V3.902c0-1.06.86-1.923 1.923-1.923s1.923.86 1.923 1.92v13.36c0 1.06-.86 1.92-1.923 1.92z"/></symbol><symbol id="icon-deployment-mongodb-classic" viewBox="0 0 512 512" width="512" height="512"><path d="M256.214.013c2.005.012 4.008.113 6.002.315 3.923.398 7.806 1.17 11.582 2.306 3.006.904 5.943 2.038 8.778 3.388 1.396.665 2.765 1.384 4.11 2.15 56.328 32.354 112.725 64.593 168.783 97.416 1.55.917 3.064 1.895 4.532 2.94 2.827 2.015 5.485 4.267 7.934 6.727 3.72 3.737 6.96 7.95 9.616 12.506 2.655 4.556 4.725 9.45 6.143 14.527.98 3.506 1.648 7.098 1.995 10.72.173 1.795.262 3.594.28 5.396.417 65.045.426 130.094.03 195.14-.02 1.8-.11 3.6-.28 5.394-.347 3.624-1.014 7.216-1.992 10.722-1.417 5.077-3.486 9.97-6.14 14.527-2.654 4.556-5.892 8.77-9.612 12.508-2.45 2.46-5.105 4.714-7.932 6.73-1.468 1.045-2.982 2.023-4.532 2.94C399.39 439.248 343.06 471.78 286.53 503.96c-1.57.884-3.173 1.706-4.812 2.454-3.31 1.512-6.756 2.73-10.28 3.636-5.107 1.312-10.38 1.968-15.652 1.947-5.273-.02-10.542-.717-15.64-2.07-3.354-.89-6.634-2.065-9.793-3.505-1.64-.748-3.243-1.57-4.813-2.455-56.538-32.162-112.877-64.678-169.01-97.545-1.55-.917-3.064-1.894-4.532-2.94-2.964-2.112-5.742-4.486-8.29-7.086-3.688-3.766-6.892-8.004-9.51-12.58-2.62-4.577-4.65-9.49-6.027-14.58-.906-3.35-1.53-6.778-1.86-10.233-.173-1.794-.262-3.594-.28-5.396-.417-65.045-.426-130.094-.03-195.14.02-1.8.11-3.6.28-5.394.347-3.623 1.014-7.216 1.992-10.722 1.417-5.077 3.486-9.97 6.14-14.526 2.654-4.557 5.892-8.77 9.612-12.51 2.45-2.46 5.105-4.713 7.932-6.728 1.468-1.046 2.982-2.024 4.532-2.94C112.61 72.762 168.94 40.23 225.47 8.05c1.346-.76 2.717-1.473 4.115-2.132 2.84-1.34 5.78-2.46 8.788-3.353 3.7-1.098 7.5-1.847 11.338-2.237 1.913-.194 3.832-.295 5.753-.315.25-.002.5-.002.75-.002zm-.388 27c-1.13.007-2.26.065-3.386.18-2.305.233-4.586.697-6.8 1.383-1.597.496-3.16 1.107-4.67 1.826-.788.376-1.56.783-2.32 1.215-56.264 32.34-112.734 64.33-168.59 97.37-.872.52-1.724 1.076-2.55 1.67-1.547 1.113-3.004 2.353-4.35 3.705-2.13 2.14-3.98 4.56-5.49 7.175-1.486 2.575-2.64 5.34-3.428 8.206-.53 1.93-.894 3.908-1.084 5.902-.102 1.06-.152 2.125-.16 3.19-.125 64.897-.654 129.797.03 194.69.015.968.066 1.935.158 2.898.187 1.947.538 3.877 1.048 5.764.814 3.007 2.032 5.902 3.612 8.587 1.46 2.48 3.227 4.78 5.25 6.83 1.407 1.423 2.937 2.726 4.568 3.888.868.618 1.765 1.194 2.685 1.733 56.135 32.56 112.076 65.468 168.62 97.318.886.495 1.793.955 2.72 1.373 1.737.784 3.54 1.425 5.383 1.914 2.828.75 5.75 1.143 8.676 1.166 3.02.024 6.04-.345 8.966-1.096 1.986-.51 3.926-1.197 5.79-2.048.97-.443 1.917-.93 2.843-1.458 56.263-32.34 112.733-64.333 168.59-97.37.873-.522 1.724-1.077 2.55-1.67 1.585-1.14 3.076-2.415 4.45-3.806 2.054-2.083 3.846-4.424 5.318-6.952 1.497-2.57 2.664-5.328 3.462-8.192.55-1.974.927-3.998 1.122-6.038.102-1.06.152-2.126.16-3.19.12-64.898.65-129.798-.03-194.69-.015-.968-.066-1.935-.158-2.9-.187-1.945-.538-3.875-1.048-5.762-.8-2.962-1.995-5.815-3.54-8.466-1.474-2.528-3.266-4.868-5.32-6.95-1.408-1.424-2.94-2.727-4.57-3.89-.868-.617-1.765-1.194-2.685-1.732-56.136-32.56-112.08-65.463-168.62-97.32-.76-.423-1.535-.823-2.326-1.19-1.558-.727-3.17-1.338-4.82-1.827-2.083-.618-4.226-1.04-6.39-1.26-1.03-.104-2.066-.16-3.103-.175l-.564-.002z"/><path d="M165.32 345.623h36.96v-66.92c0-17.92-3.36-44.52-5.32-62.16h1.12l14.56 43.4 26.04 69.72h22.68l26.04-69.72 14.84-43.4h1.12c-1.96 17.64-5.32 44.24-5.32 62.16v66.92h37.52v-182.56h-44.8l-28.84 81.2c-3.64 10.64-6.72 22.4-10.36 33.6h-1.12c-3.64-11.2-7-22.96-10.64-33.6l-29.4-81.2h-45.08v182.56z"/></symbol><symbol id="icon-clock-fill" viewBox="0 0 32 32" width="32" height="32"><path d="M0 16c0 8.837 7.163 16 16 16s16-7.163 16-16S24.837 0 16 0 0 7.163 0 16zm23.273 1.455v2.91h-8.727V5.818h2.91v11.635h5.817z"/></symbol><symbol id="icon-collections" viewBox="0 0 29 32" width="29" height="32"><path d="M3.2 27.2C1.43 27.195 0 25.768 0 24.01V3.19C0 1.433 1.437 0 3.21 0h17.58C22.564 0 24 1.428 24 3.19v.01h-1.6v-.01c0-.876-.72-1.59-1.61-1.59H3.21c-.89 0-1.61.716-1.61 1.59v20.82c0 .874.712 1.585 1.6 1.59v1.6z"/><path d="M3.2 6.39v20.82c0 1.762 1.435 3.19 3.21 3.19h17.58c1.773 0 3.21-1.43 3.21-3.19V6.39c0-1.76-1.436-3.19-3.21-3.19H6.41C4.636 3.2 3.2 4.63 3.2 6.39zM23.99 4.8c.893 0 1.61.714 1.61 1.59v20.82c0 .874-.72 1.59-1.61 1.59H6.41c-.892 0-1.61-.715-1.61-1.59V6.39c0-.875.72-1.59 1.61-1.59h17.58z"/><path d="M9.607 16.8H9.6v-.798s.853.203 1.61 0 1.062-.544 1.225-.76c.46-.617.36-1.017.36-1.35v-2.69c0-.41-.068-1.632.448-2.392S14.806 8 15.133 8h2.49v1.59s-2.737-.086-3.087 0-.206 1.696-.206 1.9v2.71c0 .447.114 1.14-.202 1.14-.134.315-.202.485-.47.78s-.75.654-.864.68H9.607v.776s2.366.167 2.827.783.36 1.01.36 1.34v2.69c0 .41-.068 1.63.448 2.39s1.563.81 1.89.81h2.486V24s-2.733.086-3.083 0-.206-1.696-.206-1.9v-2.7c0-.447-.07-.828-.21-1.14s-.2-.485-.47-.78c-.27-.292-.75-.654-.87-.68H9.6z"/></symbol><symbol id="icon-arrow-right-circle-fill" viewBox="0 0 32 32" width="32" height="32"><path d="M15.97 3C8.806 3 3 8.807 3 15.97s5.807 12.968 12.97 12.968 12.968-5.807 12.968-12.97S23.13 3 15.968 3zm7.624 12.97l-7.625 7.624v-5.72H8.34v-3.812h7.625v-5.72l7.624 7.626z"/></symbol><symbol id="icon-arrow-right-circle" viewBox="0 0 32 32" width="32" height="32"><path d="M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3zm0 23c-5.522 0-10-4.478-10-10 0-5.523 4.478-10 10-10 5.523 0 10 4.477 10 10 0 5.522-4.477 10-10 10z"/><path d="M22.004 15.97l-6.035 6.034v-4.526H9.93V14.46h6.035V9.934z"/></symbol><symbol id="icon-deployment-redis" viewBox="0 0 512 512" width="512" height="512"><path d="M256.036 512c-2.004-.004-4.007-.097-6.003-.29-4.007-.39-7.975-1.172-11.83-2.33-3.007-.906-5.944-2.04-8.78-3.39-1.395-.664-2.764-1.384-4.108-2.15-56.33-32.353-112.726-64.593-168.784-97.416-1.55-.917-3.064-1.894-4.532-2.94-2.827-2.014-5.485-4.267-7.934-6.727-3.72-3.736-6.96-7.95-9.616-12.506-2.655-4.553-4.725-9.447-6.143-14.524-.98-3.506-1.648-7.098-1.995-10.72-.173-1.795-.262-3.595-.28-5.397-.417-65.046-.426-130.095-.03-195.14.02-1.8.11-3.6.28-5.395.347-3.623 1.014-7.216 1.992-10.722 1.417-5.078 3.486-9.972 6.14-14.527 2.654-4.557 5.892-8.77 9.612-12.51 2.45-2.46 5.105-4.713 7.932-6.728 1.468-1.046 2.982-2.024 4.532-2.94C112.61 72.764 168.94 40.23 225.47 8.053c1.57-.885 3.173-1.708 4.812-2.456 3.158-1.442 6.438-2.616 9.793-3.508C245.172.736 250.44.037 255.713.015c5.272-.022 10.545.632 15.652 1.943 3.525.905 6.97 2.122 10.282 3.633 1.64.75 3.243 1.57 4.813 2.455 56.538 32.162 112.877 64.68 169.01 97.545 1.55.917 3.064 1.895 4.532 2.94 2.964 2.112 5.742 4.486 8.29 7.086 3.688 3.766 6.892 8.005 9.51 12.58 2.62 4.578 4.65 9.49 6.027 14.58.906 3.35 1.53 6.778 1.86 10.234.173 1.794.262 3.593.28 5.395.417 65.045.426 130.094.03 195.14-.02 1.8-.11 3.6-.28 5.394-.33 3.455-.953 6.883-1.86 10.234-1.374 5.09-3.404 10.003-6.02 14.58-2.618 4.577-5.82 8.817-9.51 12.584-2.546 2.6-5.322 4.976-8.286 7.088-1.468 1.046-2.982 2.024-4.532 2.94-56.123 32.884-112.452 65.416-168.982 97.595-1.346.76-2.717 1.474-4.115 2.133-2.84 1.338-5.78 2.46-8.788 3.353-3.7 1.097-7.5 1.846-11.338 2.236-1.913.195-3.832.296-5.753.315-.167 0-.334.002-.5.003zm4.024-166.377l-41.44-73.08c19.6-8.68 32.48-25.76 32.48-52.64 0-43.4-31.64-56.84-70.28-56.84h-65.8v182.56h41.16v-65.8h22.68l35 65.8h46.2zm82.6 3.36c16.52 0 35-5.88 49.28-15.68l-13.72-24.92c-10.08 6.16-19.6 9.24-29.96 9.24-18.48 0-32.48-9.24-36.12-29.4h83.16c.84-3.36 1.68-10.92 1.68-18.2 0-37.8-19.6-66.64-59.08-66.64-33.32 0-65.52 27.72-65.52 72.8 0 45.92 30.52 72.8 70.28 72.8zm-30.8-87.92c2.8-17.64 14-26.32 26.88-26.32 16.52 0 23.24 10.92 23.24 26.32h-50.12zm-155.68-65.24h21.28c21.56 0 33.32 6.16 33.32 24.08 0 17.92-11.76 27.16-33.32 27.16h-21.28v-51.24z"/></symbol><symbol id="icon-transporter" viewBox="0 0 32 32" width="32" height="32"><path d="M29.644 22.346c.01-.235-.03-.472-.124-.71-.247-.627-.838-1.203-1.683-1.71-.82-.492-1.88-.923-3.108-1.275-.94-.26-1.98-.49-3.09-.66v-2.06h-1.6v1.85c-1.03-.11-2.11-.18-3.22-.2v-6.52h-1.65v6.52c-1.12.03-2.2.1-3.22.21v-1.85h-1.6V18c-1.118.174-2.158.4-3.09.67-1.23.35-2.29.78-3.11 1.273-.84.507-1.43 1.084-1.68 1.71-.09.238-.13.476-.12.71v2.927c-.02.41.15.87.495 1.297.506.63 1.386 1.195 2.58 1.7 1.226.517 2.772.94 4.56 1.24 1.812.308 3.85.476 6.006.476s4.195-.176 6.01-.48c1.786-.306 3.33-.736 4.56-1.254 1.19-.508 2.07-1.058 2.58-1.68.346-.43.516-.89.496-1.3v-2.93zm-2.402.786c-.48.49-1.268.945-2.31 1.335-1.065.398-2.387.726-3.897.956-1.528.233-3.234.363-5.035.363s-3.507-.13-5.035-.363c-1.51-.23-2.832-.558-3.896-.956-1.05-.39-1.84-.844-2.31-1.335-.47-.48-.64-.99-.47-1.513.16-.51.64-.98 1.34-1.4.68-.41 1.59-.77 2.66-1.07.63-.18 1.33-.34 2.07-.47v.444h1.59v-.676c1.01-.12 2.09-.197 3.22-.22v5.676h1.65v-5.67c1.12.026 2.2.1 3.22.22v.678h1.59v-.444c.74.13 1.43.287 2.07.464 1.06.294 1.97.653 2.66 1.06.7.42 1.17.89 1.34 1.397.17.52-.008 1.036-.47 1.514zm-2.414-8.804h1.594v1.594h-1.594v-1.594z"/><path d="M20.047 20.703h1.594v1.625h-1.59v-1.625zm-9.687 0h1.593v1.625H10.36v-1.625zm9.687-17.625h1.594v1.594h-1.59V3.078zm-9.687 0h1.593v1.594H10.36V3.078zm-4.782 11.25h1.594v1.594H5.578v-1.594zm19.25-3.28h1.594v1.593h-1.594v-1.59zm-19.25 0h1.594v1.593H5.578v-1.59zm14.47-4.782h1.593v8.063h-1.59V6.26zM15.17 4.672h1.656v4.78H15.17v-4.78zm-4.81 1.594h1.593v8.063H10.36V6.26z"/></symbol><symbol id="icon-plus" viewBox="0 0 32 32" width="32" height="32"><path d="M18.64 13.36V6.667h-5.28v6.695H6.667v5.278h6.695v6.693h5.277V18.64h6.69v-5.28z"/></symbol><symbol id="icon-rocket" viewBox="0 0 32 32" width="32" height="32"><path d="M5.56 16.668l-4.508-1.14c-.075-.022-.102-.114-.047-.17l3.233-3.234c.053-.053.122-.092.2-.112l7.482-1.82c.098-.022.165.095.095.167L5.76 16.61c-.052.05-.127.072-.2.053zM16.997 22.3l-7.43-7.433c-.07-.07-.183-.07-.253 0l-2.573 2.57c-.06.07-.07.184 0 .25l7.44 7.435c.07.072.18.072.25 0L17 22.548c.07-.07.07-.178 0-.248zm-6.527-8.34l7.432 7.435c.068.068.18.068.25 0l2.574-2.572c.068-.072.068-.18 0-.252l-7.433-7.43c-.07-.07-.18-.07-.25 0l-2.573 2.58c-.07.07-.07.19 0 .26zm6.55-6.55c-.07-.07-.18-.07-.25 0l-2.573 2.57c-.07.07-.07.183 0 .252l7.433 7.434c.068.07.182.07.25 0l2.573-2.574c.068-.07.068-.18 0-.25L17.02 7.41zm4.484 12.442l-6.253 6.255c-.05.05-.07.122-.05.2l1.14 4.505c.02.075.12.102.17.046l3.24-3.233c.06-.052.1-.122.12-.194l1.817-7.48c.027-.1-.092-.16-.165-.09zm8.38-17.87c-4.274-.372-8.674 1.055-11.97 4.282-.065.068-.056.173.01.242l7.435 7.434c.06.064.17.074.24.01 3.22-3.298 4.65-7.696 4.28-11.968zM4.004 22.194c-.814.81-1.207 1.89-1.174 2.948.213-.365.593-.858 1.24-1.307.864-.6 1.677-.344 1.897.187.228.547-.235 1.072-.907 1.384-.958.442-1.638.578-2.613 1.554s-1.76 2.682-.822 4.408c-.273-1.982 1.914-3.055 3.675-3.296 1.23-.17 2.22-.857 2.7-1.916 0 0 .176 1.723-2.053 2.78 1.297.292 2.712-.068 3.723-1.073 1.564-1.57 1.564-4.105 0-5.668-1.566-1.566-4.104-1.566-5.668-.002z"/></symbol><symbol id="icon-puzzle" viewBox="0 0 32 32" width="32" height="32"><path d="M16 32h-.002c-.773 0-1.5-.3-2.046-.848L.848 18.048C.3 17.5 0 16.773 0 16c0-.762.31-1.508.848-2.047L13.952.85C14.5.3 15.225 0 15.998 0c.775 0 1.502.302 2.05.85.82.82 1.438 1.643 1.984 2.37.568.756 1.212 1.613 1.564 1.613.09 0 .436-.057 1.167-.788.254-.254.335-.528.47-1.03.16-.6.358-1.35 1.06-2.052C24.933.325 25.763 0 26.77 0c1.242 0 2.59.608 3.607 1.625C31.407 2.657 32 3.973 32 5.237c0 .986-.333 1.84-.962 2.47-.758.757-1.547.956-2.124 1.1-.478.12-.718.19-.96.43-.754.755-.792 1.097-.786 1.184.025.36.868.99 1.612 1.55.727.55 1.55 1.17 2.37 1.99.547.55.848 1.28.848 2.05 0 .17 0 .46-.598 1.5-.367.636-.823 1.307-1.286 1.89-.618.78-1.245 1.41-1.863 1.876-.84.638-1.68.96-2.49.96-.81 0-1.58-.336-2.22-.972-.65-.65-.82-1.346-.96-1.905-.12-.473-.2-.816-.56-1.174-.24-.24-.58-.363-1.02-.363-.71 0-1.52.38-2.16 1.023-.62.62-1.023 1.47-1.023 2.16 0 .585.195.854.363 1.023.31.312.653.403 1.13.53.572.152 1.29.342 1.94.99l.01.01c.984.984 1.23 2.244.69 3.546-.58 1.4-1.98 2.623-3.05 3.404-.518.38-1.08.74-1.59 1.02-.81.45-1.085.49-1.296.49zm0-29.952c-.227 0-.44.088-.6.248L2.296 15.4c-.155.156-.248.38-.248.6 0 .226.088.44.25.6L15.4 29.704c.13.13.296.213.474.24.344-.154 1.257-.664 2.195-1.4 1.15-.904 1.9-1.82 2.06-2.516.06-.28.07-.62-.34-1.034l-.01-.006c-.254-.254-.528-.335-1.03-.47-.6-.16-1.35-.358-2.05-1.06-.64-.64-.964-1.472-.964-2.475 0-1.242.61-2.59 1.626-3.607 1.03-1.032 2.347-1.624 3.61-1.624.986 0 1.84.332 2.47.96.757.76.956 1.55 1.1 2.125.12.478.19.718.43.96.336.334.6.373.77.373.674 0 1.62-.683 2.603-1.872.82-.997 1.414-2.044 1.582-2.423-.03-.18-.11-.344-.24-.474-.72-.71-1.48-1.29-2.155-1.79-1.25-.94-2.335-1.75-2.426-3.04-.083-1.17.75-2.14 1.38-2.77.65-.65 1.348-.82 1.907-.96.474-.12.817-.207 1.175-.565.24-.24.36-.584.36-1.022 0-.712-.384-1.52-1.025-2.162-.622-.62-1.47-1.023-2.16-1.023-.587 0-.856.193-1.025.36-.313.315-.404.658-.53 1.13-.154.58-.345 1.298-1 1.953-.946.944-1.777 1.385-2.614 1.385-.67 0-1.29-.285-1.898-.865-.44-.42-.84-.95-1.305-1.57-.502-.67-1.075-1.432-1.793-2.15-.16-.16-.373-.25-.6-.25z"/></symbol><symbol id="icon-dash-circle-thin" viewBox="0 0 30 32" width="30" height="32"><path d="M28.6 16c0-7.51-6.09-13.6-13.6-13.6S1.4 8.49 1.4 16 7.49 29.6 15 29.6 28.6 23.51 28.6 16zM3 16C3 9.373 8.373 4 15 4s12 5.373 12 12-5.373 12-12 12S3 22.627 3 16z"/><path d="M23.01 16.8l-16.006-.004c-.44 0-.8-.36-.8-.8.003-.44.362-.798.8-.798l16.005.004c.44-.002.8.36.798.8-.002.44-.354.805-.8.798z"/></symbol><symbol id="icon-face-happy" viewBox="0 0 30 32" width="30" height="32"><path d="M28.6 16c0-7.51-6.09-13.6-13.6-13.6S1.4 8.49 1.4 16 7.49 29.6 15 29.6 28.6 23.51 28.6 16zM3 16C3 9.373 8.373 4 15 4s12 5.373 12 12-5.373 12-12 12S3 22.627 3 16z"/><path d="M11.19 14.764c.82 0 1.484-.665 1.484-1.484 0-.82-.665-1.484-1.484-1.484-.82 0-1.484.665-1.484 1.484 0 .82.665 1.484 1.484 1.484M19.103 14.764c.82 0 1.483-.665 1.483-1.484 0-.82-.664-1.484-1.483-1.484-.82 0-1.484.665-1.484 1.484 0 .82.664 1.484 1.483 1.484M15.146 24.964c-.412-.003-.823-.023-1.232-.072-.815-.098-1.617-.3-2.374-.62-.832-.348-1.602-.834-2.28-1.428-.794-.696-1.46-1.533-1.988-2.446-.19-.328-.36-.666-.514-1.012-.132-.298-.25-.602-.345-.914l-.008-.026c-.007-.038-.012-.047-.01-.086 0-.102.055-.2.142-.252.033-.02.043-.022.08-.034l.954-.257c.038-.007.047-.01.085-.01.086 0 .168.04.223.106.025.03.027.04.045.072.04.108.07.22.106.327.186.523.427 1.026.715 1.5.47.777 1.065 1.48 1.776 2.044.397.314.827.584 1.283.803 1.04.5 2.193.715 3.343.715 1.213 0 2.43-.242 3.51-.804.593-.307 1.138-.706 1.616-1.174.54-.53.997-1.146 1.363-1.81.162-.29.306-.594.432-.904.085-.212.164-.43.224-.65l.015-.04c.017-.033.02-.043.044-.072.053-.066.135-.106.22-.11.04 0 .048.004.085.01l.958.248c.036.013.046.014.08.034.087.052.142.15.144.25 0 .04-.007.075-.017.112-.028.094-.058.187-.09.28-.216.623-.497 1.222-.832 1.79-.618 1.05-1.422 1.993-2.397 2.727-.573.434-1.203.79-1.87 1.06-.63.255-1.29.43-1.96.532-.348.053-.698.084-1.048.102-.16.006-.317.01-.476.01z"/></symbol><symbol id="icon-bell" viewBox="0 0 32 32" width="32" height="32"><path d="M23.457 13.59C19.807 5.74 17.912 2.76 11.95 2.88c-2.123.045-1.613-1.537-3.232-.937-1.618.6-.23 1.478-1.885 2.836C2.19 8.59 2.617 12.11 4.77 20.52c.908 3.54-2.187 3.714-.962 7.146.894 2.502 7.486 3.548 14.44.968 6.956-2.58 11.346-7.703 10.452-10.205-1.225-3.43-3.706-1.54-5.243-4.85zm-5.963 12.934c-6.21 2.305-11.317.95-11.532.346-.37-1.04 2.005-4.506 9.107-7.14 7.1-2.636 11.06-1.66 11.47-.498.24.686-2.84 4.987-9.06 7.29zm-1.996-5.592c-3.248 1.205-5.505 2.584-6.964 3.825 1.027.933 2.954 1.162 4.873.45 2.444-.908 3.945-2.99 3.35-4.65-.006-.02-.017-.038-.024-.058-.4.13-.812.27-1.235.43z"/></symbol><symbol id="icon-plus-circle-fill" viewBox="0 0 32 32" width="32" height="32"><path d="M15.97 3C8.806 3 3 8.807 3 15.97s5.807 12.968 12.97 12.968 12.968-5.807 12.968-12.97S23.13 3 15.968 3zm7.62 14.538c0 .185-.15.337-.336.337H18.21c-.184 0-.336.15-.336.337v5.043c0 .185-.15.337-.337.337H14.4c-.186 0-.338-.15-.338-.337v-5.043c0-.185-.15-.337-.337-.337H8.682c-.185 0-.336-.15-.336-.337V14.4c0-.185.15-.337.337-.337h5.043c.185 0 .336-.15.336-.337V8.683c0-.185.15-.336.337-.336h3.13c.18 0 .33.15.33.337v5.043c0 .185.15.336.334.336h5.043c.187 0 .34.15.34.337v3.138z"/></symbol><symbol id="icon-x-circle" viewBox="0 0 32 32" width="32" height="32"><path d="M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3zm0 23c-5.522 0-10-4.478-10-10 0-5.523 4.478-10 10-10 5.523 0 10 4.477 10 10 0 5.522-4.477 10-10 10z"/><path d="M22.02 19.837l-2.15 2.15L16 18.12l-3.868 3.868-2.15-2.15 3.867-3.87L9.98 12.1l2.152-2.15 3.87 3.867L19.87 9.95l2.15 2.15-3.87 3.867 3.87 3.868z"/></symbol><symbol id="icon-databases-line" viewBox="0 0 32 32" width="32" height="32"><path d="M22.28 14.154c-.078.015-.155.018-.227.018h-.005c-.366 0-.7-.14-.94-.38-.238-.25-.378-.59-.378-.98 0-.45.19-.89.486-1.21.262-.28.606-.48.997-.54.073-.012.15-.02.224-.02.22 0 .425.057.61.14.43.22.713.688.713 1.238-.002.857-.654 1.62-1.477 1.755h-.003v-.02z"/><path d="M3.046 26.624c1.822 2.2 7.098 3.852 12.953 3.852 5.854 0 11.13-1.65 12.953-3.852v-4.03c-2.687 2.02-7.61 3.31-12.953 3.31-5.344 0-10.268-1.29-12.954-3.31v4.03zm0-6.097C4.868 22.725 10.144 24.38 16 24.38c5.854 0 11.13-1.656 12.953-3.854v-5.032c-2.69 2.094-7.612 3.438-12.95 3.438h-.254c-5.245-.043-10.057-1.377-12.704-3.44v5.035zm27.43-6.648V27.13l-.146.2C28.308 30.11 22.462 32 16 32S3.69 30.112 1.67 27.332l-.146-.2V7.06C1.524 3 8.054 0 16 0c7.946 0 14.476 3 14.476 7.06h.002v6.818zM3.05 13.384C4.863 15.685 10.14 17.41 16 17.41s11.137-1.727 12.952-4.025V7.06c0-2.897-5.75-5.537-12.952-5.537S3.048 4.165 3.048 7.06v6.325zm25.904 0zm-25.906-.002l.002.002-.002-.002zM23.046 13.383l.002.002-.002-.002z"/></symbol><symbol id="icon-star" viewBox="0 0 32 32" width="32" height="32"><path d="M31.88 12.557c-.276-.8-.987-1.384-1.843-1.51l-8.326-1.24-3.61-7.513C17.72 1.504 16.9 1 16 1s-1.71.505-2.092 1.294l-3.62 7.514-8.326 1.238c-.855.127-1.566.712-1.842 1.51-.275.802-.067 1.684.537 2.286l6.102 6.092-1.42 8.45c-.15.852.22 1.706.95 2.204.39.273.86.412 1.33.412.38 0 .77-.094 1.12-.28L16 27.81l7.26 3.91c.35.186.734.28 1.117.28.467 0 .934-.14 1.332-.412.72-.498 1.09-1.352.94-2.203l-1.42-8.45 6.1-6.093c.6-.603.81-1.485.533-2.285zm-8.292 6.806c-.512.51-.744 1.23-.627 1.934l1.42 8.45-7.26-3.905c-.35-.188-.73-.28-1.12-.28-.38 0-.77.093-1.11.28l-7.26 3.906 1.42-8.45c.12-.706-.11-1.425-.622-1.935L2.31 13.27l8.326-1.24c.76-.112 1.416-.588 1.743-1.267L16 3.25l3.62 7.514c.328.68.982 1.154 1.742 1.268l8.328 1.24-6.102 6.09z"/></symbol><symbol id="icon-lock" viewBox="0 0 29 32" width="29" height="32"><path d="M22.387 12.8h.013V9.587c0-4.41-3.59-7.987-8-7.987-4.418 0-8 3.576-8 7.987V12.8h.014c-1.776 0-3.214 1.44-3.214 3.187v11.226c0 1.76 1.443 3.187 3.214 3.187h15.973c1.774 0 3.213-1.44 3.213-3.187V15.987c0-1.76-1.443-3.187-3.213-3.187zM8 9.587C8 6.06 10.866 3.2 14.4 3.2c3.53 0 6.4 2.864 6.4 6.387V12.8h-1.6V9.598c0-2.65-2.154-4.798-4.8-4.798-2.65 0-4.8 2.15-4.8 4.798V12.8H8V9.587zm9.6 3.213h-6.4V9.598c0-1.765 1.434-3.198 3.2-3.198 1.765 0 3.2 1.435 3.2 3.198V12.8zM24 27.213c0 .866-.725 1.587-1.613 1.587H6.414c-.893 0-1.614-.715-1.614-1.587V24.8H24v2.413zM24 24H4.8v-8.013c0-.866.725-1.587 1.614-1.587h15.973c.89 0 1.613.715 1.613 1.587V24z"/></symbol><symbol id="icon-x" viewBox="0 0 32 32" width="32" height="32"><path d="M30 24.398L21.594 16 30 7.602 24.398 2 16 10.402 7.598 2 2 7.602 10.398 16 2 24.398 7.598 30 16 21.598 24.398 30z"/></symbol><symbol id="icon-hourglass" viewBox="0 0 27 32" width="27" height="32"><path d="M3.2 28.8H24v1.6H3.2v-1.6zM8 27.178h11.2c-.206-2.68-2.62-4.8-5.6-4.8s-5.394 2.12-5.6 4.8z"/><path d="M16.078 13.82c-.682.203-1.723.67-1.72 1.38.002.515.562.84 1.125 1.133.208.11.417.193.6.248 3.13.94 4.717 3.82 4.717 8.58v3.64H6.4v-3.64c0-4.75 1.59-7.64 4.723-8.57.675-.2 1.62-.67 1.626-1.38 0-.71-.94-1.17-1.62-1.373-3.14-.93-4.73-3.813-4.73-8.575V1.6h14.4v3.647c0 4.758-1.59 7.643-4.73 8.574zM22.4 1.6H4.8v2.046c0 3.815.977 8.306 2.93 10.084.813.74 1.464 1.076 2.48 1.464-3.607 1.3-5.41 6.378-5.41 11.56V28.8h17.6v-2.05c0-5.394-1.474-10.394-5.382-11.56 3.59-1.3 5.382-6.374 5.382-11.543V1.6zM3.2 0H24v1.6H3.2V0z"/><path d="M9.6 8c.784 2.374 2.272 4 4 4s3.216-1.626 4-4h-8z"/></symbol><symbol id="icon-deployment-mysql" viewBox="0 0 512 512" width="512" height="512"><path d="M225.02 17.87c19.15-11.058 42.74-11.06 61.89-.008l159.827 92.245c19.15 11.053 30.95 31.483 30.953 53.594l.026 184.537c.003 22.11-11.79 42.544-30.937 53.602l-159.8 92.29c-19.15 11.058-42.74 11.062-61.89.01L65.262 401.892C46.113 390.84 34.313 370.41 34.31 348.3l-.026-184.537c-.003-22.11 11.79-42.544 30.937-53.602l159.8-92.29zm96.068 190.375h-41.343L333.1 343.17l-1.955 7.264c-3.632 10.895-10.615 18.158-24.303 18.158-3.073 0-6.705-1.117-9.22-1.676l-7.262 31.287c5.587 1.676 11.174 2.794 19.554 2.794 32.684 0 47.49-17.88 60.62-52.797l48.047-139.955h-39.387l-16.76 59.502c-3.353 13.13-6.426 26.258-9.5 39.388h-1.116c-3.632-13.688-6.984-26.817-10.895-39.388l-19.834-59.502zM179.458 279.2h-1.117c-3.63-11.174-6.983-22.906-10.614-33.522l-29.332-81.01H93.42v182.135h36.873v-66.765c0-17.878-3.353-44.416-5.308-62.015h1.117l14.527 43.3 25.978 69.557h22.627l25.98-69.558 14.805-43.3h1.118c-1.956 17.6-5.308 44.138-5.308 62.016v66.765h37.433V164.667h-44.696l-28.773 81.01c-3.63 10.616-6.704 22.35-10.336 33.523z"/></symbol><symbol id="icon-processing" viewBox="0 0 32 32" width="32" height="32"><path d="M16 0c-1.105 0-2 .688-2 1.535v6.993c0 .848.896 1.535 2 1.535s2-.687 2-1.535V1.535C18 .687 17.104 0 16 0zm0 21.923c-1.105 0-2 .688-2 1.535v6.993c0 .85.896 1.54 2 1.54s2-.68 2-1.53v-7c0-.84-.896-1.53-2-1.53zM30.458 14h-6.993c-.848 0-1.535.895-1.535 2s.687 2 1.535 2h6.993c.847 0 1.535-.897 1.535-2s-.688-2-1.535-2zM10.07 16c0-1.104-.687-2-1.535-2H1.542c-.848 0-1.535.896-1.535 2s.687 2 1.535 2h6.993c.848 0 1.535-.896 1.535-2zm12.622-3.87l4.945-4.946c.6-.6.452-1.72-.33-2.5s-1.9-.928-2.5-.328L19.864 9.3c-.6.6-.453 1.72.328 2.5s1.9.93 2.5.33zM9.307 19.858l-4.945 4.945c-.6.6-.453 1.718.328 2.5s1.9.928 2.5.328l4.945-4.94c.6-.6.452-1.72-.33-2.5s-1.9-.92-2.5-.33zm13.36.026c-.6-.6-1.72-.453-2.5.328s-.93 1.9-.33 2.5l4.946 4.945c.6.6 1.72.452 2.5-.328s.927-1.9.328-2.5l-4.94-4.95zM9.28 12.154c.6.6 1.72.453 2.5-.33s.93-1.898.33-2.498L7.163 4.38c-.6-.6-1.718-.452-2.5.33s-.928 1.9-.328 2.5l4.945 4.944z"/></symbol><symbol id="icon-deployment-elasticsearch" viewBox="0 0 512 512" width="512" height="512"><path d="M256.036 512c-2.004-.004-4.007-.097-6.003-.29-4.007-.39-7.975-1.172-11.83-2.33-3.007-.906-5.944-2.04-8.78-3.39-1.395-.664-2.764-1.384-4.108-2.15-56.33-32.353-112.726-64.593-168.784-97.416-1.55-.917-3.064-1.894-4.532-2.94-2.827-2.014-5.485-4.267-7.934-6.727-3.72-3.736-6.96-7.95-9.616-12.506-2.655-4.553-4.725-9.447-6.143-14.524-.98-3.506-1.648-7.098-1.995-10.72-.173-1.795-.262-3.595-.28-5.397-.417-65.046-.426-130.095-.03-195.14.02-1.8.11-3.6.28-5.395.347-3.623 1.014-7.216 1.992-10.722 1.417-5.078 3.486-9.972 6.14-14.527 2.654-4.557 5.892-8.77 9.612-12.51 2.45-2.46 5.105-4.713 7.932-6.728 1.468-1.046 2.982-2.024 4.532-2.94C112.61 72.764 168.94 40.23 225.47 8.053c1.57-.885 3.173-1.708 4.812-2.456 3.158-1.442 6.438-2.616 9.793-3.508C245.172.736 250.44.037 255.713.015c5.272-.022 10.545.632 15.652 1.943 3.525.905 6.97 2.122 10.282 3.633 1.64.75 3.243 1.57 4.813 2.455 56.538 32.162 112.877 64.68 169.01 97.545 1.55.917 3.064 1.895 4.532 2.94 2.964 2.112 5.742 4.486 8.29 7.086 3.688 3.766 6.892 8.005 9.51 12.58 2.62 4.578 4.65 9.49 6.027 14.58.906 3.35 1.53 6.778 1.86 10.234.173 1.794.262 3.593.28 5.395.417 65.045.426 130.094.03 195.14-.02 1.8-.11 3.6-.28 5.394-.33 3.455-.953 6.883-1.86 10.234-1.374 5.09-3.404 10.003-6.02 14.58-2.618 4.577-5.82 8.817-9.51 12.584-2.546 2.6-5.322 4.976-8.286 7.088-1.468 1.046-2.982 2.024-4.532 2.94-56.123 32.884-112.452 65.416-168.982 97.595-1.346.76-2.717 1.474-4.115 2.133-2.84 1.338-5.78 2.46-8.788 3.353-3.7 1.097-7.5 1.846-11.338 2.236-1.913.195-3.832.296-5.753.315-.167 0-.334.002-.5.003zM151.7 345.623h117.04v-34.72h-75.88v-42h62.16v-34.44h-62.16v-36.68h73.08v-34.72H151.7v182.56zm187.88 3.36c9.24 0 16.24-1.4 20.72-3.36l-5.04-30.52c-2.24.56-3.36.56-5.04.56-3.36 0-7.28-2.8-7.28-11.48v-154.84h-41.16v153.16c0 28 9.52 46.48 37.8 46.48z"/></symbol><symbol id="icon-circle" viewBox="0 0 32 32" width="32" height="32"><path d="M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3zm0 23c-5.522 0-10-4.478-10-10 0-5.523 4.478-10 10-10 5.523 0 10 4.477 10 10 0 5.522-4.477 10-10 10z"/></symbol><symbol id="icon-deployments" viewBox="0 0 512 512" width="512" height="512"><path d="M256.036 511.998c-2.004-.004-4.007-.097-6.003-.29-4.007-.39-7.975-1.172-11.83-2.33-3.007-.906-5.944-2.04-8.78-3.39-1.395-.664-2.764-1.384-4.108-2.15-56.33-32.353-112.726-64.593-168.784-97.416-1.55-.917-3.064-1.894-4.532-2.94-2.827-2.014-5.485-4.267-7.934-6.727-3.72-3.736-6.96-7.95-9.616-12.506-2.655-4.555-4.725-9.45-6.143-14.526-.98-3.506-1.648-7.098-1.995-10.72-.173-1.795-.262-3.595-.28-5.397-.417-65.045-.426-130.094-.03-195.14.02-1.8.11-3.6.28-5.394.347-3.623 1.014-7.216 1.992-10.722 1.417-5.077 3.486-9.97 6.14-14.526 2.654-4.557 5.892-8.77 9.612-12.51 2.45-2.46 5.105-4.713 7.932-6.728 1.468-1.046 2.982-2.024 4.532-2.94C112.61 72.762 168.94 40.23 225.47 8.05c1.57-.885 3.173-1.708 4.812-2.456 3.158-1.442 6.438-2.616 9.793-3.508C245.172.734 250.44.035 255.713.013c5.272-.022 10.545.632 15.652 1.943 3.525.905 6.97 2.122 10.282 3.633 1.64.747 3.243 1.57 4.813 2.453 56.538 32.162 112.877 64.68 169.01 97.545 1.55.917 3.064 1.895 4.532 2.94 2.964 2.112 5.742 4.486 8.29 7.086 3.688 3.766 6.892 8.005 9.51 12.58 2.62 4.578 4.65 9.49 6.027 14.58.906 3.35 1.53 6.778 1.86 10.234.173 1.794.262 3.593.28 5.395.417 65.045.426 130.094.03 195.14-.02 1.8-.11 3.6-.28 5.394-.33 3.456-.953 6.884-1.86 10.235-1.374 5.09-3.404 10.003-6.02 14.58-2.618 4.577-5.82 8.817-9.51 12.584-2.546 2.6-5.322 4.976-8.286 7.088-1.468 1.046-2.982 2.024-4.532 2.94C399.39 439.25 343.06 471.78 286.53 503.96c-1.346.758-2.717 1.472-4.115 2.13-2.84 1.34-5.78 2.46-8.788 3.354-3.7 1.097-7.5 1.846-11.338 2.236-1.913.195-3.832.296-5.753.315-.167 0-.334.002-.5.003zm-.003-27c1.13-.003 2.26-.056 3.385-.165 2.353-.23 4.682-.7 6.94-1.4 1.645-.508 3.25-1.14 4.802-1.888.743-.358 1.472-.743 2.19-1.15 56.263-32.342 112.733-64.334 168.59-97.372.873-.52 1.724-1.076 2.55-1.67 1.585-1.14 3.076-2.414 4.45-3.805 2.054-2.083 3.846-4.424 5.318-6.952 1.497-2.57 2.664-5.328 3.462-8.192.55-1.974.927-3.998 1.122-6.038.102-1.06.152-2.126.16-3.19.12-64.898.65-129.798-.03-194.69-.015-.968-.066-1.935-.158-2.9-.187-1.945-.538-3.875-1.048-5.762-.8-2.962-1.995-5.815-3.54-8.466-1.474-2.528-3.266-4.868-5.32-6.95-1.408-1.424-2.94-2.727-4.57-3.89-.868-.617-1.765-1.194-2.685-1.732-56.136-32.56-112.08-65.463-168.62-97.32-.887-.494-1.793-.954-2.72-1.37-1.78-.805-3.63-1.458-5.52-1.952-2.878-.75-5.85-1.13-8.822-1.13-2.973 0-5.945.38-8.822 1.132-1.937.507-3.83 1.18-5.652 2.012-.97.443-1.917.93-2.843 1.46-56.264 32.338-112.734 64.328-168.59 97.37-.872.52-1.724 1.075-2.55 1.67-1.547 1.112-3.004 2.352-4.35 3.704-2.13 2.14-3.98 4.56-5.49 7.175-1.486 2.575-2.64 5.34-3.428 8.206-.53 1.93-.894 3.908-1.084 5.902-.102 1.06-.152 2.125-.16 3.19-.125 64.897-.654 129.797.03 194.69.015.968.066 1.935.158 2.898.187 1.947.538 3.877 1.048 5.764.814 3.007 2.032 5.902 3.612 8.587 1.46 2.48 3.227 4.78 5.25 6.83 1.407 1.423 2.937 2.726 4.568 3.888.868.618 1.765 1.194 2.685 1.733 56.135 32.56 112.076 65.468 168.62 97.318.76.425 1.535.824 2.325 1.192 1.602.747 3.26 1.37 4.956 1.866 1.997.584 4.046.987 6.114 1.205 1.03.11 2.066.17 3.103.188.19.003.377.004.566.004z"/><path d="M256.003 398.555L256 433.703c-5.415-.02-10.744-1.408-15.523-4.166l-126.95-73.27c-9.63-5.56-15.563-15.832-15.565-26.95l-.003-22.01 158.043 91.248zm.002-31.51l-158.05-91.25-.006-40.647 158.058 91.255-.003 40.642zm.008-96.176v24.026l-158.07-91.26-.002-20.897c0-11.12 5.93-21.394 15.558-26.955l126.93-73.307c9.628-5.56 21.49-5.562 31.12-.004l126.95 73.27c4.824 2.784 8.72 6.75 11.406 11.412l-.01.006s-114.834 66.3-146.1 84.35c-4.816 2.78-7.78 7.917-7.782 13.476v5.88z"/><path d="M256.013 433.703V398.56l-.01-.005 158.065-91.236.003 21.952c.003 11.118-5.927 21.393-15.555 26.953l-126.93 73.307c-4.793 2.768-10.14 4.16-15.572 4.17zm0-66.663v-40.634l-.005-.003 158.05-91.238.004 40.644-158.05 91.23zm153.88-199.878c2.69 4.688 4.157 10.006 4.158 15.532l.002 20.96-158.036 91.243-.003-24.028v-5.855c0-5.575 2.975-10.727 7.803-13.515l146.077-84.338z" fill-opacity=".8"/></symbol><symbol id="icon-deployment-etcd" viewBox="0 0 512 512" width="512" height="512"><path d="M256.036 512c-2.004-.004-4.007-.097-6.003-.29-4.007-.39-7.975-1.172-11.83-2.33-3.007-.906-5.944-2.04-8.78-3.39-1.395-.664-2.764-1.384-4.108-2.15-56.33-32.353-112.726-64.593-168.784-97.416-1.55-.917-3.064-1.894-4.532-2.94-2.827-2.014-5.485-4.267-7.934-6.727-3.72-3.736-6.96-7.95-9.616-12.506-2.655-4.553-4.725-9.447-6.143-14.524-.98-3.506-1.648-7.098-1.995-10.72-.173-1.795-.262-3.595-.28-5.397-.417-65.046-.426-130.095-.03-195.14.02-1.8.11-3.6.28-5.395.347-3.623 1.014-7.216 1.992-10.722 1.417-5.078 3.486-9.972 6.14-14.527 2.654-4.557 5.892-8.77 9.612-12.51 2.45-2.46 5.105-4.713 7.932-6.728 1.468-1.046 2.982-2.024 4.532-2.94C112.61 72.764 168.94 40.23 225.47 8.053c1.57-.885 3.173-1.708 4.812-2.456 3.158-1.442 6.438-2.616 9.793-3.508C245.172.736 250.44.037 255.713.015c5.272-.022 10.545.632 15.652 1.943 3.525.905 6.97 2.122 10.282 3.633 1.64.75 3.243 1.57 4.813 2.455 56.538 32.162 112.877 64.68 169.01 97.545 1.55.917 3.064 1.895 4.532 2.94 2.964 2.112 5.742 4.486 8.29 7.086 3.688 3.766 6.892 8.005 9.51 12.58 2.62 4.578 4.65 9.49 6.027 14.58.906 3.35 1.53 6.778 1.86 10.234.173 1.794.262 3.593.28 5.395.417 65.045.426 130.094.03 195.14-.02 1.8-.11 3.6-.28 5.394-.33 3.455-.953 6.883-1.86 10.234-1.374 5.09-3.404 10.003-6.02 14.58-2.618 4.577-5.82 8.817-9.51 12.584-2.546 2.6-5.322 4.976-8.286 7.088-1.468 1.046-2.982 2.024-4.532 2.94-56.123 32.884-112.452 65.416-168.982 97.595-1.346.76-2.717 1.474-4.115 2.133-2.84 1.338-5.78 2.46-8.788 3.353-3.7 1.097-7.5 1.846-11.338 2.236-1.913.195-3.832.296-5.753.315-.167 0-.334.002-.5.003zM208.96 348.983c16.52 0 35-5.88 49.28-15.68l-13.72-24.92c-10.08 6.16-19.6 9.24-29.96 9.24-18.48 0-32.48-9.24-36.12-29.4h83.16c.84-3.36 1.68-10.92 1.68-18.2 0-37.8-19.6-66.64-59.08-66.64-33.32 0-65.52 27.72-65.52 72.8 0 45.92 30.52 72.8 70.28 72.8zm133.56 0c13.44 0 23.52-2.8 30.8-5.04l-6.44-29.96c-3.64 1.4-8.68 2.8-13.16 2.8-10.92 0-17.92-6.44-17.92-22.12v-55.72h33.32v-32.2H335.8v-36.96h-34.16l-4.76 36.96-21.28 1.68v30.52h19.04v56.28c0 32.2 13.44 53.76 47.88 53.76zm-164.36-87.92c2.8-17.64 14-26.32 26.88-26.32 16.52 0 23.24 10.92 23.24 26.32h-50.12z"/></symbol><symbol id="icon-logs" viewBox="0 0 32 32" width="32" height="32"><path d="M28.24 3.53H9.914c-2.322 0-4.256 1.882-4.256 4.204v11.234h-.94c-2.585 0-4.685 2.137-4.685 4.72s2.1 4.718 4.684 4.718h16.91c2.58 0 4.593-2.113 4.593-4.697V8.12h4.855c.5 0 .903-.38.903-.878 0-2.063-1.678-3.716-3.738-3.716zM17.93 26.595H4.713c-1.587 0-2.875-1.32-2.875-2.906s1.29-2.91 2.875-2.91h13.22c-.62.81-.992 1.82-.992 2.9s.38 2.12.99 2.9zm6.476-19.33v16.45c0 1.586-1.244 2.874-2.828 2.874s-2.853-1.29-2.853-2.88c0-1.59 1.303-2.88 2.887-2.88.5 0 .91-.44.91-.93s-.398-.94-.898-.94H7.468V7.73c0-1.322 1.116-2.39 2.444-2.39H25.04c-.34.596-.634 1.21-.634 1.92zm2.128-.92c.325-.625.97-1.028 1.706-1.028s1.38.403 1.706 1.028h-3.413z"/><path d="M18.32 15.656h-7.935c-.26 0-.472.194-.472.453s.213.45.472.45h7.934c.25 0 .47-.19.47-.46s-.21-.46-.47-.46zm2.833-3.812h-10.77c-.258 0-.47.24-.47.5s.212.5.47.5h10.77c.26 0 .472-.24.472-.5s-.212-.5-.472-.5zM10.383 9.03h6.045c.26 0 .472-.193.472-.452s-.212-.453-.472-.453h-6.044c-.26 0-.472.194-.472.453s.21.453.472.453z"/></symbol><symbol id="icon-face-disappointed" viewBox="0 0 30 32" width="30" height="32"><path d="M28.6 16c0-7.51-6.09-13.6-13.6-13.6S1.4 8.49 1.4 16 7.49 29.6 15 29.6 28.6 23.51 28.6 16zM3 16C3 9.373 8.373 4 15 4s12 5.373 12 12-5.373 12-12 12S3 22.627 3 16z"/><path d="M11.19 14.764c.82 0 1.484-.665 1.484-1.484 0-.82-.665-1.484-1.484-1.484-.82 0-1.484.665-1.484 1.484 0 .82.665 1.484 1.484 1.484M19.103 14.764c.82 0 1.483-.665 1.483-1.484 0-.82-.664-1.484-1.483-1.484-.82 0-1.484.665-1.484 1.484 0 .82.664 1.484 1.483 1.484M8.838 23.404h-.275l-.275-.003c0-.104.003-.21.007-.314.025-.435.092-.867.235-1.28.076-.218.17-.428.287-.627.078-.137.167-.268.263-.393.58-.755 1.43-1.25 2.3-1.602.146-.06.294-.114.444-.166.2-.07.402-.135.606-.195.267-.077.536-.147.806-.21.35-.08.702-.15 1.055-.214.454-.08.91-.146 1.366-.203.583-.073 1.168-.13 1.753-.177.823-.066 1.65-.11 2.475-.14 1.05-.038 2.1-.052 3.152-.053l.04.002c.033.007.042.007.074.02.073.034.13.098.15.174.01.034.01.043.012.078v.99c-.002.033 0 .043-.01.076-.023.076-.08.14-.15.173-.032.015-.04.016-.075.023-.118.01-.235.003-.353.003-.102 0-.205 0-.307.002-.3.002-.597.006-.895.01-.81.015-1.62.038-2.43.08-.69.035-1.382.082-2.07.146-.523.05-1.044.108-1.563.18-.392.055-.782.118-1.17.192-.288.055-.576.116-.862.185-.25.062-.498.13-.744.204-.18.055-.36.114-.535.18-.158.057-.312.12-.464.187-.11.05-.216.1-.322.156-.54.28-1.068.668-1.332 1.234-.098.21-.154.436-.18.666-.024.205-.025.41-.025.617h-.275-.714z"/></symbol><symbol id="icon-gear-round" viewBox="0 0 32 32" width="32" height="32"><path d="M25.995 19.068H24.67c-.214.78-.522 1.518-.917 2.203l1.224 1.23c.783.79.783 2.06 0 2.84l-.71.71c-.782.79-2.052.79-2.835 0L20.2 24.81c-.683.39-1.42.692-2.194.903V27c0 1.102-.896 2-2.006 2h-1c-1.108 0-2.007-.897-2.007-2.005V25.71c-.774-.21-1.51-.514-2.194-.902l-1.24 1.23c-.78.784-2.05.784-2.84 0l-.71-.708c-.787-.783-.787-2.053 0-2.836l1.23-1.224c-.4-.68-.707-1.42-.92-2.2H5c-1.11 0-2.003-.9-2.003-2.003V16.06c0-1.106.897-2.004 2.005-2.004H6.31c.208-.77.504-1.505.888-2.186L6.02 10.694c-.782-.783-.782-2.053 0-2.836l.71-.708c.783-.783 2.053-.783 2.835 0l1.153 1.153c.706-.41 1.468-.73 2.272-.95V6.005C12.992 4.897 13.892 4 15 4h1c1.108 0 2.006.897 2.006 2.005v1.347c.806.22 1.567.54 2.272.95L21.43 7.15c.784-.783 2.054-.783 2.837 0l.71.708c.782.783.782 2.053 0 2.836L23.8 11.87c.384.68.68 1.415.888 2.187h1.308c1.107 0 2.005.898 2.005 2.005v1.003c0 1.106-.89 2.003-2 2.003zM15.5 11.08c-3.045 0-5.514 2.47-5.514 5.514s2.47 5.514 5.514 5.514 5.514-2.47 5.514-5.514-2.47-5.514-5.514-5.514zm0 7.957c-1.384 0-2.507-1.12-2.507-2.506 0-1.38 1.123-2.5 2.507-2.5s2.506 1.12 2.506 2.51c0 1.39-1.122 2.51-2.506 2.51z"/></symbol><symbol id="icon-backups" viewBox="0 0 29 32" width="29" height="32"><path d="M16.533 10.06l-4.105 6.197c-.114.172-.114.395 0 .566l4.088 6.146c.1.15.265.23.434.23.098 0 .197-.03.285-.09.24-.16.306-.48.148-.72l-3.9-5.868 3.92-5.915c.156-.24.09-.558-.15-.714s-.56-.09-.72.146zM1.983 4.632c-.257 0-.467.212-.467.474V9.21c0 .263.21.475.468.475H6.1c.26 0 .47-.212.47-.474s-.21-.47-.47-.47H3.15c2.427-3.7 6.557-6.12 11.245-6.12 7.385 0 13.393 6 13.393 13.38S21.78 29.39 14.395 29.39c-7.23 0-13.138-5.76-13.38-12.93 0 0 0-.504-.494-.504S0 16.46 0 16.46C.246 24.187 6.606 30.4 14.396 30.4 22.34 30.4 28.8 23.94 28.8 16S22.34 1.6 14.396 1.6c-4.906 0-9.34 2.607-11.943 6.36V5.106c0-.262-.21-.474-.468-.474z"/></symbol><symbol id="icon-dash-circle-fill-thin" viewBox="0 0 30 32" width="30" height="32"><path d="M24.817 6.383c-5.31-5.31-13.923-5.31-19.234 0-5.31 5.31-5.31 13.923 0 19.234 5.31 5.31 13.923 5.31 19.234 0 5.31-5.31 5.31-13.923 0-19.234zm-1.613 10.425L7.2 16.802c-.44 0-.8-.36-.798-.8.002-.44.36-.798.8-.798l16.002.005c.44 0 .8.36.8.798 0 .44-.354.807-.8.8z"/></symbol><symbol id="icon-copy" viewBox="0 0 29 32" width="29" height="32"><path d="M3.2 27.2C1.43 27.195 0 25.768 0 24.01V3.19C0 1.433 1.437 0 3.21 0h17.58C22.564 0 24 1.428 24 3.19v.01h-1.6v-.01c0-.876-.72-1.59-1.61-1.59H3.21c-.89 0-1.61.716-1.61 1.59v20.82c0 .874.712 1.585 1.6 1.59v1.6z"/><path d="M3.2 6.39v20.82c0 1.762 1.435 3.19 3.21 3.19h17.58c1.773 0 3.21-1.43 3.21-3.19V6.39c0-1.76-1.436-3.19-3.21-3.19H6.41C4.636 3.2 3.2 4.63 3.2 6.39zM23.99 4.8c.893 0 1.61.714 1.61 1.59v20.82c0 .874-.72 1.59-1.61 1.59H6.41c-.892 0-1.61-.715-1.61-1.59V6.39c0-.875.72-1.59 1.61-1.59h17.58z"/><path d="M7.992 8.883h14.416v1.6H7.992zM7.992 13.063h14.416v1.6H7.992zM7.992 17.243h14.416v1.6H7.992zM7.992 21.422h9.344v1.6H7.992z"/></symbol><symbol id="icon-deployment-rethinkdb" viewBox="0 0 512 512" width="512" height="512"><path d="M256.036 512c-2.004-.004-4.007-.097-6.003-.29-4.007-.39-7.975-1.172-11.83-2.33-3.007-.906-5.944-2.04-8.78-3.39-1.395-.664-2.764-1.384-4.108-2.15-56.33-32.353-112.726-64.593-168.784-97.416-1.55-.917-3.064-1.894-4.532-2.94-2.827-2.014-5.485-4.267-7.934-6.727-3.72-3.736-6.96-7.95-9.616-12.506-2.655-4.553-4.725-9.447-6.143-14.524-.98-3.506-1.648-7.098-1.995-10.72-.173-1.795-.262-3.595-.28-5.397-.417-65.046-.426-130.095-.03-195.14.02-1.8.11-3.6.28-5.395.347-3.623 1.014-7.216 1.992-10.722 1.417-5.078 3.486-9.972 6.14-14.527 2.654-4.557 5.892-8.77 9.612-12.51 2.45-2.46 5.105-4.713 7.932-6.728 1.468-1.046 2.982-2.024 4.532-2.94C112.61 72.764 168.94 40.23 225.47 8.053c1.57-.885 3.173-1.708 4.812-2.456 3.158-1.442 6.438-2.616 9.793-3.508C245.172.736 250.44.037 255.713.015c5.272-.022 10.545.632 15.652 1.943 3.525.905 6.97 2.122 10.282 3.633 1.64.75 3.243 1.57 4.813 2.455 56.538 32.162 112.877 64.68 169.01 97.545 1.55.917 3.064 1.895 4.532 2.94 2.964 2.112 5.742 4.486 8.29 7.086 3.688 3.766 6.892 8.005 9.51 12.58 2.62 4.578 4.65 9.49 6.027 14.58.906 3.35 1.53 6.778 1.86 10.234.173 1.794.262 3.593.28 5.395.417 65.045.426 130.094.03 195.14-.02 1.8-.11 3.6-.28 5.394-.33 3.455-.953 6.883-1.86 10.234-1.374 5.09-3.404 10.003-6.02 14.58-2.618 4.577-5.82 8.817-9.51 12.584-2.546 2.6-5.322 4.976-8.286 7.088-1.468 1.046-2.982 2.024-4.532 2.94-56.123 32.884-112.452 65.416-168.982 97.595-1.346.76-2.717 1.474-4.115 2.133-2.84 1.338-5.78 2.46-8.788 3.353-3.7 1.097-7.5 1.846-11.338 2.236-1.913.195-3.832.296-5.753.315-.167 0-.334.002-.5.003zm18.724-166.377l-41.44-73.08c19.6-8.68 32.48-25.76 32.48-52.64 0-43.4-31.64-56.84-70.28-56.84h-65.8v182.56h41.16v-65.8h22.68l35 65.8h46.2zm76.72 3.36c13.44 0 23.52-2.8 30.8-5.04l-6.44-29.96c-3.64 1.4-8.68 2.8-13.16 2.8-10.92 0-17.92-6.44-17.92-22.12v-55.72h33.32v-32.2h-33.32v-36.96H310.6l-4.76 36.96-21.28 1.68v30.52h19.04v56.28c0 32.2 13.44 53.76 47.88 53.76zm-180.6-153.16h21.28c21.56 0 33.32 6.16 33.32 24.08 0 17.92-11.76 27.16-33.32 27.16h-21.28v-51.24z"/></symbol><symbol id="icon-check" viewBox="0 0 32 32" width="32" height="32"><path d="M6 12l-6 6 12 12 20-20-6-6-14 14z"/></symbol><symbol id="icon-users-circle" viewBox="0 0 512 512" width="512" height="512"><path d="M256 512c-1.652 0-3.305-.015-4.956-.046-3.01-.057-6.02-.167-9.027-.33-8.897-.48-17.77-1.42-26.57-2.823-10.728-1.71-21.347-4.108-31.77-7.175-10.765-3.17-21.318-7.053-31.57-11.616-12.73-5.668-24.995-12.38-36.633-20.044-11.99-7.896-23.318-16.8-33.827-26.583-10.685-9.947-20.522-20.802-29.37-32.412-8.73-11.455-16.5-23.644-23.184-36.402-5.664-10.81-10.552-22.024-14.61-33.533-4.028-11.428-7.237-23.145-9.594-35.033C1.625 289.548 0 272.774 0 256c0-11.428.752-22.857 2.266-34.186 1.725-12.894 4.436-25.656 8.11-38.137 3.754-12.754 8.513-25.21 14.214-37.22 6.518-13.733 14.266-26.878 23.113-39.238 8.948-12.5 19.02-24.192 30.048-34.9 11.59-11.248 24.236-21.403 37.724-30.286 13.156-8.663 27.112-16.11 41.637-22.206 15.986-6.708 32.656-11.773 49.67-15.093C222.714 1.627 238.94.052 255.172 0c16.252-.05 32.508 1.422 48.48 4.434 17.047 3.215 33.76 8.18 49.797 14.794 14.567 6.01 28.572 13.376 41.786 21.962 13.328 8.663 25.848 18.565 37.353 29.533 11.123 10.607 21.295 22.208 30.354 34.624 8.954 12.274 16.818 25.343 23.457 39.008 5.807 11.948 10.677 24.35 14.546 37.058 3.785 12.43 6.613 25.148 8.457 38.01C511.137 231.532 512 243.765 512 256c0 15.71-1.425 31.418-4.288 46.866-2.164 11.677-5.146 23.2-8.92 34.46-3.885 11.585-8.606 22.888-14.112 33.795-6.61 13.096-14.354 25.62-23.105 37.392-8.71 11.716-18.42 22.69-28.986 32.765-10.576 10.082-22.008 19.264-34.138 27.41-11.78 7.907-24.213 14.837-37.14 20.684-10.217 4.624-20.74 8.57-31.48 11.805-10.393 3.13-20.99 5.592-31.697 7.368-8.78 1.457-17.636 2.453-26.52 2.988-3 .182-6.006.31-9.012.387-1.65.042-3.298.065-4.948.08L256 512zm0-31.165c1.212-.002 2.425-.01 3.638-.03 2.65-.04 5.3-.13 7.947-.263 8.058-.41 16.092-1.248 24.06-2.518 9.186-1.465 18.28-3.503 27.213-6.102 9.675-2.816 19.157-6.288 28.363-10.386 11.386-5.067 22.344-11.088 32.732-17.973 10.33-6.847 20.093-14.546 29.165-22.99 9.227-8.59 17.737-17.952 25.41-27.956 7.836-10.22 14.798-21.11 20.775-32.517 4.865-9.282 9.077-18.906 12.59-28.778 3.643-10.232 6.535-20.73 8.648-31.383 2.87-14.46 4.295-29.2 4.295-43.94 0-10.52-.724-21.04-2.185-31.457-1.55-11.066-3.93-22.017-7.12-32.728-3.327-11.177-7.535-22.09-12.568-32.61-5.955-12.448-13.064-24.342-21.196-35.49-7.698-10.55-16.31-20.432-25.71-29.5-10.214-9.858-21.357-18.75-33.236-26.523-11.385-7.448-23.446-13.86-35.992-19.126-14.023-5.885-28.648-10.33-43.575-13.242-14.002-2.73-28.26-4.112-42.525-4.158-14.282-.045-28.567 1.248-42.604 3.895-14.957 2.82-29.62 7.177-43.69 12.98-12.58 5.19-24.685 11.532-36.118 18.914-11.927 7.7-23.123 16.53-33.398 26.326-9.78 9.323-18.72 19.52-26.684 30.435-7.864 10.78-14.772 22.26-20.604 34.262-5.195 10.69-9.536 21.795-12.963 33.177-3.22 10.695-5.634 21.633-7.22 32.69-1.525 10.645-2.282 21.4-2.282 32.156 0 14.274 1.337 28.546 4.026 42.565 1.962 10.223 4.64 20.31 8.01 30.16 3.543 10.353 7.85 20.446 12.87 30.17 6.116 11.845 13.29 23.142 21.404 33.722 7.536 9.825 15.88 19.03 24.917 27.495 9.045 8.47 18.785 16.2 29.095 23.076 10.176 6.79 20.904 12.747 32.05 17.79 9.174 4.15 18.628 7.68 28.28 10.553 8.91 2.653 17.982 4.747 27.15 6.267 7.713 1.28 15.492 2.155 23.295 2.626 2.64.16 5.284.272 7.928.338 1.45.04 2.903.058 4.356.07.485.003.97.004 1.456.005z"/><path d="M199.515 448.74v-59.712c0-8.948 6.15-16.47 14.45-18.57 14.952-6.02 30.375-10.924 45.535-16.044 6.884-2.402 13.768-4.743 19.886-8.444 5.57-3.305 7.635-9.913 8.934-15.88.383-2.17.658-4.358.84-6.53-21.675-27.66-36.253-75.265-36.253-114.06 0-58.466 32.873-74.742 73.718-74.742 40.844 0 73.887 16.276 73.887 74.743 0 37.45-13.463 83.157-33.96 111.152.152 3.182.458 6.41 1.07 9.546 1.376 5.935 3.366 12.697 9.025 16.002 6.21 3.7 13.14 6.317 19.948 8.687 9.41 3.162 18.91 6.298 28.304 9.702-35.716 55.508-98.05 92.272-168.9 92.272-19.6 0-38.55-2.814-56.485-8.122z" fill-opacity=".8"/><path d="M65.897 320.784c1.32-3.947 4.597-7.006 8.677-8.037 9.663-3.892 19.63-7.06 29.43-10.37 4.448-1.553 8.897-3.065 12.85-5.458 3.6-2.136 4.935-6.407 5.775-10.263.247-1.404.425-2.817.543-4.22-14.01-17.877-23.43-48.645-23.43-73.718 0-37.787 21.245-48.307 47.643-48.307 26.397 0 47.753 10.52 47.753 48.306 0 24.203-8.702 53.744-21.95 71.837.1 2.056.297 4.142.692 6.17.89 3.835 2.175 8.205 5.833 10.34 4.014 2.393 8.493 4.084 12.892 5.616 9.292 3.122 18.723 6.205 27.887 9.883 5.78 1.04 10.174 6.103 10.174 12.182v8.307c-2.93.994-5.856 2-8.775 3.028-3.27 1.15-6.533 2.328-9.78 3.543-1.778.665-3.55 1.343-5.32 2.03l-1.526.6c-.29.114-.564.22-.85.334l-.115.035c-.484.153-.967.308-1.446.473-.796.274-1.585.57-2.365.884-2.928 1.183-5.74 2.653-8.384 4.38-4.807 3.144-9.047 7.142-12.468 11.756-3.274 4.417-5.79 9.388-7.404 14.643-.957 3.115-1.6 6.326-1.912 9.568-.1 1.04-.168 2.083-.202 3.126-.016.5-.022.997-.025 1.495l-.036 48.593c-48.704-23.102-86.647-65.225-104.163-116.76z" fill-opacity=".8"/></symbol><symbol id="icon-dash-circle-fill" viewBox="0 0 32 32" width="32" height="32"><path d="M25.14 6.83c-5.066-5.066-13.277-5.065-18.342 0-5.065 5.065-5.064 13.276 0 18.34 5.066 5.066 13.277 5.065 18.342 0 5.065-5.065 5.063-13.277 0-18.34zm-.34 11.108H7.184v-3.834H24.8v3.834z"/></symbol><symbol id="icon-info" viewBox="0 0 32 32" width="32" height="32"><path d="M16 2.667c7.364 0 13.333 5.97 13.333 13.333S23.363 29.333 16 29.333 2.667 23.363 2.667 16 8.637 2.667 16 2.667zM18.667 16h-5.333v9.333h5.333V16zm-2.684-3.233c1.61 0 2.917-1.305 2.917-2.917s-1.307-2.916-2.917-2.916-2.916 1.307-2.916 2.917 1.305 2.92 2.916 2.92z"/></symbol><symbol id="icon-question-full" viewBox="0 0 30 32" width="30" height="32"><path d="M15.2 3.2C7.69 3.2 1.6 9.29 1.6 16.8s6.09 13.6 13.6 13.6 13.6-6.09 13.6-13.6S22.71 3.2 15.2 3.2zm1.645 23.693h-3.1v-3.1h3.1v3.1zM20.317 14.3c-.12.39-.275.747-.466 1.065s-.41.613-.65.885c-.24.27-.5.534-.75.79-.25.237-.5.48-.75.73-.244.245-.47.51-.67.788-.2.278-.355.582-.475.91s-.18.697-.18 1.11v.934h-2.03V20.39c.03-.67.154-1.24.37-1.71s.478-.888.79-1.254c.31-.366.636-.706.98-1.016s.66-.637.957-.98c.29-.343.53-.723.704-1.137s.248-.917.216-1.506c-.066-.877-.35-1.562-.85-2.056-.5-.49-1.184-.74-2.04-.74-.577 0-1.07.11-1.485.31-.414.21-.762.49-1.04.84s-.485.77-.613 1.24c-.13.48-.196 1-.196 1.56H10.1c-.016-.81.1-1.57.347-2.27.246-.7.602-1.31 1.064-1.83s1.03-.92 1.7-1.2 1.42-.43 2.25-.43c.75 0 1.43.11 2.05.325.612.213 1.143.525 1.59.93s.79.906 1.04 1.496c.245.59.37 1.267.37 2.03 0 .495-.06.936-.18 1.327z"/></symbol><symbol id="icon-x-circle-fill-thin" viewBox="0 0 30 32" width="30" height="32"><path d="M15.2 3.2C7.69 3.2 1.6 9.29 1.6 16.8s6.09 13.6 13.6 13.6 13.6-6.09 13.6-13.6S22.71 3.2 15.2 3.2zm6.223 19.823c-.312.312-.82.312-1.13 0l-5.092-5.09-5.09 5.09c-.31.312-.82.312-1.13 0s-.31-.82 0-1.13l5.09-5.092-5.09-5.09c-.31-.31-.31-.82 0-1.13s.82-.31 1.13 0l5.09 5.09 5.1-5.09c.31-.31.82-.31 1.13 0s.32.82 0 1.13l-5.09 5.09 5.09 5.1c.32.31.32.82 0 1.13z"/></symbol><symbol id="icon-tools" viewBox="0 0 32 32" width="32" height="32"><path d="M24.403 10l1.415-.57 1.276-1.718L25.39 6.01l-1.72 1.28-.565 1.41-4.243 4.246 1.387 1.21z"/><path d="M26.896 21.555l-10.152-8.84c.265-1.302.745-4.79-1.196-6.732C14.272 4.703 12.573 4 10.768 4c-.444 0-.888.044-1.32.13-.122.025-.218.112-.254.23-.035.116-.003.244.08.33l2.898 2.897.58 2.8-2.365 2.364-2.8-.57-2.897-2.9c-.087-.08-.214-.12-.33-.08s-.206.13-.23.26c-.44 2.22.253 4.5 1.853 6.103.95.95 2.435 1.454 4.29 1.454h.002c.78 0 1.62-.09 2.44-.26l8.825 10.13c.73.728 1.68 1.12 2.69 1.12s1.96-.392 2.67-1.106c1.47-1.47 1.47-3.866 0-5.34zm-1.592 3.75c-.596.594-1.56.594-2.157 0-.595-.596-.595-1.565 0-2.16.596-.593 1.56-.593 2.157 0h.003c.592.596.592 1.562-.003 2.158z"/><path d="M12.24 18.58c-.336-.337-.882-.337-1.218 0l-5.645 5.645c-.336.335-.336.88 0 1.217l2.203 2.203c.336.337.88.337 1.217 0l5.48-5.476c.335-.34.335-.89 0-1.22l-2.037-2.37z"/></symbol><symbol id="icon-warning-circle" viewBox="0 0 32 32" width="32" height="32"><path d="M25.192 6.808c-5.077-5.077-13.307-5.077-18.384 0s-5.077 13.307 0 18.384 13.307 5.077 18.384 0 5.077-13.307 0-18.384zM8.93 23.07c-3.906-3.904-3.906-10.236 0-14.14 3.904-3.906 10.236-3.906 14.14 0 3.906 3.904 3.906 10.236 0 14.14-3.904 3.906-10.236 3.906-14.14 0z"/><path d="M17.543 19.987v2.984h-3.04v-2.983h3.04zM17.543 8.987v9.142h-3.04V8.986h3.04z"/></symbol><symbol id="icon-bubble" viewBox="0 0 32 32" width="32" height="32"><path d="M16 8.5c.276 0 .5.224.5.5s-.225.5-.5.5c-5.327 0-10 2.804-10 6 0 .276-.224.5-.5.5s-.5-.224-.5-.5c0-3.794 5.037-7 11-7zm0-5c-8.837 0-16 5.373-16 12 0 4.127 2.78 7.766 7.008 9.926 0 .027-.008.045-.008.074 0 1.793-1.34 3.723-1.928 4.736h.002c-.047.11-.074.23-.074.358 0 .5.405.906.906.906.094 0 .26-.025.255-.014 3.13-.512 6.07-3.383 6.76-4.215 1 .15 2.03.23 3.09.23 8.84 0 16-5.37 16-12s-7.16-12-16-12zm0 22c-.917 0-1.858-.07-2.796-.207-.097-.016-.194-.02-.29-.02-.594 0-1.163.263-1.546.73-.428.52-1.646 1.683-3.085 2.538.39-.89.695-1.89.716-2.93v-.18c0-.75-.42-1.44-1.09-1.78C4.21 21.75 2 18.71 2 15.5c0-5.514 6.28-10 14-10 7.718 0 14 4.486 14 10s-6.28 10-14 10z"/></symbol><symbol id="icon-help" viewBox="0 0 32 32" width="32" height="32"><path d="M15.817 20.677h-.073c-1.21 0-2.114.88-2.15 2.09-.035 1.234.848 2.157 2.1 2.193h.08c1.24 0 2.13-.848 2.166-2.064.036-1.27-.837-2.18-2.123-2.22zm4.34-12.4c-1.137-.82-2.58-1.235-4.292-1.235-1.307 0-2.426.294-3.327.873-1.433.91-2.206 2.47-2.297 4.636v.16h3.54v-.14c0-.59.18-1.16.52-1.71.34-.53.9-.79 1.72-.79.828 0 1.4.216 1.7.64.31.44.47.93.47 1.464 0 .385-.16.776-.52 1.27-.153.226-.36.437-.605.62-.073.048-1.783 1.15-2.56 2.06-.493.58-.523 1.28-.564 2.475l-.01.29h3.43v-.145c.01-.567.05-.64.14-.92.11-.355.41-.715.9-1.1l.9-.62c.816-.634 1.463-1.154 1.758-1.572.567-.773.853-1.626.853-2.534 0-1.624-.587-2.868-1.74-3.7z"/><path d="M30.734 15.804c-.11-8.126-6.788-14.63-14.915-14.52C7.69 1.39 1.19 8.07 1.29 16.2c.11 8.126 6.787 14.63 14.916 14.52 8.13-.11 14.63-6.788 14.522-14.917zM16.17 27.684C9.72 27.77 4.42 22.608 4.334 16.16 4.247 9.706 9.407 4.405 15.86 4.32c6.45-.086 11.75 5.075 11.837 11.525.086 6.452-5.075 11.753-11.526 11.84z"/></symbol><symbol id="icon-jobs" viewBox="0 0 32 32" width="32" height="32"><path d="M16.722 21.863c-.456-.432-.988-.764-1.57-.97l-1.217-4.744 14.506-4.06L30 18.14l-13.275 3.72zM12.104 9.02l9.67-2.706 1.556 6.058-9.67 2.705-1.556-6.058zm.434 11.78c-.27.077-.52.185-.765.304L7.51 4.49H5.904c-.16.35-.498.597-.896.597H3.006c-.553 0-1-.47-1-1.046S2.453 3 3.006 3H5.01c.335 0 .617.184.8.447h3.08v.05l.045-.013 4.41 17.184c-.27.025-.538.064-.807.138zm.26 1.01c1.868-.522 3.79.636 4.29 2.59.5 1.95-.608 3.956-2.478 4.48-1.87.52-3.79-.638-4.29-2.59s.608-3.956 2.477-4.48zm-.528 4.004c.214.836 1.038 1.332 1.84 1.107s1.275-1.08 1.06-1.92c-.213-.83-1.037-1.33-1.838-1.1-.802.23-1.277 1.09-1.062 1.92zm17.6-4.113l-11.684 3.27c-.02-.28-.06-.56-.132-.84-.07-.28-.174-.54-.29-.8l11.624-3.25.482 1.63z"/></symbol><symbol id="icon-clock-line" viewBox="0 0 32 32" width="32" height="32"><path d="M16 0C7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16S24.837 0 16 0zm0 29.09C8.77 29.09 2.91 23.23 2.91 16S8.77 2.91 16 2.91c7.23 0 13.09 5.86 13.09 13.09S23.23 29.09 16 29.09z"/><path d="M14.545 5.818v14.545h2.91V5.818h-2.91zm2.91 11.637v2.91h5.818v-2.91h-5.818z"/></symbol><symbol id="icon-unlocked" viewBox="0 0 32 32" width="32" height="32"><path d="M8.06 8.26c.48-3.954 3.857-7.03 7.94-7.03 4.41 0 8 3.59 8 8v3.54h2c1.105 0 2 .894 2 2v14c0 1.104-.895 2-2 2H6c-1.105 0-2-.896-2-2v-14c0-1.106.895-2 2-2h.27v.018h8.556v-.02H20V9.232c0-2.204-1.795-4-4-4-1.87 0-3.446 1.293-3.88 3.03H8.057z"/></symbol><symbol id="icon-home" viewBox="0 0 32 32" width="32" height="32"><path d="M16 2L0 18l3 3 3-3 2 10h6v-6h4v6h6l2-10 3 3 3-3L16 2zm0 14.828c-1.562 0-2.83-1.266-2.83-2.828s1.267-2.828 2.83-2.828c1.562 0 2.828 1.266 2.828 2.828S17.562 16.828 16 16.828z"/></symbol><symbol id="icon-check-thin" viewBox="0 0 32 32" width="32" height="32"><path d="M28.998 8.53l-2.134-2.133c-.394-.393-1.03-.393-1.423 0L12.65 19.192l-6.086-6.13c-.392-.393-1.03-.393-1.422 0l-2.134 2.134c-.393.394-.393 1.03 0 1.423l8.924 8.98c.393.39 1.03.39 1.423 0L29 9.95c.392-.39.392-1.03 0-1.422z"/></symbol><symbol id="icon-warning-circle-thin" viewBox="0 0 30 32" width="30" height="32"><path d="M28.6 16c0-7.51-6.09-13.6-13.6-13.6S1.4 8.49 1.4 16 7.49 29.6 15 29.6 28.6 23.51 28.6 16zM3 16C3 9.373 8.373 4 15 4s12 5.373 12 12-5.373 12-12 12S3 22.627 3 16z"/><path d="M15.808 21l-.005 3.004c.002.44-.36.8-.8.8-.438-.003-.798-.362-.798-.8L14.21 21c-.002-.44.36-.8.8-.8.438 0 .805.354.798.8zM15.808 8l-.005 10.004c.002.44-.36.8-.8.8-.438-.003-.798-.362-.798-.8L14.21 8c-.002-.44.36-.8.8-.8.438 0 .805.354.798.8z"/></symbol><symbol id="icon-alerts" viewBox="0 0 512 512" width="512" height="512"><path d="M24.85 256.444c0-64.492 26.477-122.77 69.048-164.69l-11.45-11.48C36.862 125.198 8.52 187.545 8.52 256.445c0 68.44 27.927 130.462 72.982 175.28l11.45-11.462c-42.04-41.86-68.102-99.77-68.102-163.818zM430.94 81.562L419.48 93.04c41.816 41.816 67.672 99.592 67.672 163.42 0 63.455-25.53 120.847-66.8 162.56l11.45 11.537c44.286-44.67 71.68-106.205 71.68-173.95 0-68.19-27.735-130.02-72.54-174.838v-.208z"/><path d="M82.612 256.444c0 47.97 19.6 91.457 51.21 122.874l11.477-11.493C116.75 339.38 99 299.975 99 256.445c0-44.007 18.195-83.722 47.334-112.24l-11.39-11.494C102.848 164.22 82.88 208 82.88 256.445h-.266zm330.446 0c0 42.866-17.203 81.68-45.055 110.02l11.478 11.493c30.812-31.328 49.908-74.21 49.908-121.513 0-47.777-19.42-91.073-50.765-122.475l-11.478 11.507C395.397 173.877 413 213.12 413 256.444h.058zm-154.72-91.71c-49.583 0-89.786 40.205-89.786 89.787 0 49.583 40.203 89.786 89.785 89.786 49.582 0 89.786-40.203 89.786-89.785 0-49.58-40.204-89.785-89.786-89.785zm0 32.66c31.55 0 57.125 25.59 57.125 57.127 0 31.537-25.59 57.126-57.126 57.126-31.55 0-57.125-25.59-57.125-57.125s25.59-57.125 57.243-57.125h-.118z"/></symbol><symbol id="icon-keys" viewBox="0 0 512 512" width="512" height="512"><path d="M167.974 6.994c1.436-.127 2.873-.235 4.312-.317 2.88-.164 5.763-.234 8.647-.21 8.42.074 16.834.955 25.087 2.636 11.667 2.376 23 6.354 33.59 11.8 14.903 7.664 28.314 18.218 39.285 30.885 7.203 8.318 13.344 17.548 18.23 27.406 3.054 6.157 5.62 12.555 7.668 19.114 2.15 6.886 3.734 13.948 4.73 21.093 1.48 10.614 1.66 21.405.533 32.06-.39 3.7-.94 7.383-1.643 11.035-.33 1.718-.7 3.427-1.096 5.13l186.868 155.08c.773.652 1.49 1.367 2.13 2.15 1.463 1.786 2.53 3.89 3.105 6.125.218.844.366 1.707.443 2.576.032.364.05.73.06 1.095.106 8.483.1 16.967.152 25.45l.16 27.16c-.002.557-.025 1.112-.082 1.667-.115 1.124-.35 2.236-.7 3.31-.614 1.892-1.587 3.665-2.85 5.202-1.196 1.452-2.648 2.69-4.273 3.64-.977.572-2.016 1.04-3.092 1.39-.42.14-.848.255-1.278.36l-54.665 12.782c-.443.1-.888.186-1.337.25-.837.12-1.684.173-2.53.16-2.44-.043-4.86-.65-7.03-1.767-1.022-.525-1.977-1.162-2.866-1.888l-29.343-24.353-27.122 6.843c-.212.052-.21.05-.423.1-.613.13-1.23.234-1.853.297-1.384.14-2.785.096-4.157-.128-1.444-.235-2.855-.67-4.18-1.287-2.054-.96-3.896-2.356-5.372-4.076-1.404-1.637-2.47-3.56-3.115-5.617-.394-1.257-.632-2.562-.706-3.877-.03-.536-.03-1.072-.01-1.61l.96-20.468-20.062 4.745c-.21.048-.21.048-.42.093-.61.12-1.222.214-1.84.268-1.376.12-2.766.06-4.126-.178-1.43-.25-2.823-.696-4.132-1.32-1.958-.936-3.72-2.273-5.146-3.908-1.458-1.67-2.56-3.645-3.218-5.763-.364-1.175-.592-2.39-.678-3.615-.043-.61-.048-1.22-.024-1.83l.914-19.485-18.86 4.46c-.213.05-.213.05-.427.095-.614.12-1.232.215-1.856.268-1.385.12-2.785.055-4.154-.19-1.44-.255-2.842-.71-4.158-1.347-1.9-.92-3.61-2.22-5.008-3.8-1.53-1.735-2.676-3.8-3.335-6.017-.353-1.188-.567-2.415-.637-3.65-.035-.617-.03-1.232.003-1.848l1.726-27.92-35.966-29.847-1.026.45c-2.166.927-4.35 1.807-6.56 2.622-4.22 1.556-8.518 2.894-12.874 4.01-12.83 3.285-26.153 4.62-39.38 3.95-9.395-.474-18.737-1.96-27.813-4.43-8.652-2.357-17.058-5.608-25.043-9.69-15.144-7.74-28.757-18.46-39.85-31.35-4.94-5.74-9.376-11.91-13.244-18.42-4.137-6.963-7.62-14.312-10.398-21.92-4.007-10.978-6.538-22.49-7.515-34.135-.967-11.52-.415-23.164 1.652-34.538 1.258-6.925 3.075-13.747 5.432-20.378 2.35-6.612 5.234-13.033 8.618-19.18 6.697-12.166 15.342-23.258 25.49-32.74 4.578-4.277 9.464-8.226 14.61-11.802 5.274-3.666 10.82-6.94 16.578-9.788 9.225-4.562 18.988-8.027 29.02-10.31 3.453-.787 6.937-1.434 10.44-1.94 1.817-.262 3.638-.483 5.463-.672.52-.052 1.042-.102 1.564-.15zm179.432 330.312c.615-.03 1.23-.035 1.844 0 1.294.076 2.58.31 3.817.695 1.688.527 3.286 1.335 4.71 2.383 1.435 1.055 2.69 2.35 3.7 3.818.95 1.385 1.68 2.92 2.155 4.53.347 1.178.558 2.397.626 3.624.03.532.03 1.065.01 1.598l-.958 20.39 23.97-6.05.428-.1c.387-.082.775-.155 1.167-.212.85-.122 1.713-.176 2.573-.16 2.485.047 4.95.682 7.148 1.84.966.51 1.87 1.12 2.717 1.812l29.377 24.38 49.694-11.618-.142-24.016-.14-23.426-190.306-157.934c-.638-.708-1.384-1.33-1.913-2.123-1.07-1.6-1.65-3.478-1.67-5.403-.01-.952.233-1.89.382-2.832.027-.173.096-.336.144-.504l.135-.484c.09-.322.177-.645.265-.968.43-1.614.83-3.235 1.19-4.865.718-3.25 1.29-6.532 1.714-9.832 1.307-10.18 1.2-20.538-.306-30.69-1.095-7.38-2.928-14.646-5.468-21.658-2.335-6.446-5.267-12.675-8.752-18.58-3.376-5.717-7.27-11.128-11.616-16.147-4.094-4.728-8.588-9.105-13.413-13.083-4.462-3.68-9.205-7.015-14.18-9.96-5.237-3.102-10.73-5.77-16.405-7.966-10.587-4.097-21.8-6.542-33.128-7.25-12.01-.75-24.134.45-35.764 3.54-10.65 2.83-20.87 7.245-30.218 13.076-5.264 3.284-10.25 7.013-14.89 11.134-4.507 4.004-8.686 8.377-12.493 13.053-3.645 4.48-6.947 9.237-9.858 14.224-3.065 5.253-5.695 10.757-7.855 16.44-3.912 10.296-6.266 21.17-6.985 32.158-.787 12.008.377 24.135 3.433 35.775 2.855 10.874 7.362 21.308 13.342 30.83 3.302 5.256 7.048 10.232 11.185 14.86 4.057 4.54 8.49 8.74 13.228 12.562 4.894 3.947 10.12 7.484 15.607 10.552 5.636 3.15 11.547 5.804 17.646 7.922 6.47 2.245 13.15 3.887 19.925 4.902 7.538 1.13 15.19 1.482 22.8 1.057 10.416-.582 20.748-2.623 30.6-6.058 2.988-1.04 5.93-2.21 8.82-3.503 1.532-.687 3.047-1.412 4.55-2.163l2.712-.897c2.503-.076 3.24-.37 5.62.645.875.374 1.625.993 2.437 1.49l42.362 35.155c.835.704 1.602 1.48 2.28 2.337 1.595 2.008 2.69 4.397 3.174 6.915.177.923.272 1.863.284 2.803.005.384-.006.767-.027 1.15l-1.525 24.675 18.785-4.443c.21-.048.21-.048.422-.093.61-.12 1.22-.214 1.84-.267 1.374-.12 2.763-.06 4.12.18 1.505.262 2.97.74 4.34 1.42 1.875.928 3.563 2.23 4.94 3.807 1.458 1.67 2.56 3.645 3.218 5.764.364 1.173.592 2.39.678 3.615.044.61.048 1.22.024 1.83l-.914 19.482 20.063-4.744c.21-.048.21-.047.42-.092.306-.06.612-.117.92-.162.307-.044.614-.078.923-.107.23-.02.23-.02.46-.034z"/><path d="M449.2 348.072L302.035 225.94c-2.706-2.246-7.104-1.415-9.818 1.854l-2.65 3.194c-2.714 3.27-2.72 7.746-.015 9.992L436.72 363.112c2.705 2.246 7.105 1.415 9.818-1.855l2.65-3.195c2.714-3.27 2.72-7.745.015-9.99zM139.448 66.666c1.856-.156 3.72-.196 5.58-.102 3.84.194 7.65.935 11.28 2.2 2.527.88 4.967 2.015 7.27 3.38 2.22 1.314 4.313 2.84 6.244 4.55 3.102 2.744 5.78 5.963 7.906 9.517 2.268 3.792 3.905 7.954 4.834 12.272.97 4.516 1.168 9.194.576 13.775-.495 3.836-1.542 7.598-3.105 11.136-1.826 4.138-4.355 7.96-7.437 11.27-3.15 3.383-6.88 6.22-10.986 8.345-4.556 2.358-9.557 3.835-14.662 4.34-5.102.505-10.293.038-15.22-1.38-4.52-1.3-8.8-3.396-12.603-6.164-3.658-2.663-6.87-5.934-9.452-9.65-2.162-3.112-3.88-6.527-5.094-10.117-1.48-4.376-2.204-9.003-2.136-13.622.065-4.496.88-8.977 2.413-13.204 1.38-3.81 3.34-7.404 5.787-10.634 3.18-4.198 7.17-7.77 11.708-10.446 3.313-1.954 6.906-3.43 10.635-4.374 1.807-.457 3.643-.784 5.495-.995.32-.033.643-.065.966-.094zm1.47 19.782c-.95.097-1.894.253-2.824.476-1.906.458-3.746 1.187-5.446 2.162-2.33 1.336-4.384 3.135-6.033 5.255-1.373 1.767-2.46 3.752-3.195 5.865-.686 1.97-1.07 4.042-1.136 6.125-.075 2.284.228 4.578.894 6.764.586 1.92 1.45 3.755 2.567 5.426 1.332 1.995 3.017 3.748 4.947 5.172 1.894 1.397 4.023 2.467 6.277 3.146 2.51.755 5.164 1.024 7.776.796 2.487-.216 4.933-.88 7.184-1.96 1.875-.9 3.61-2.085 5.13-3.504 1.793-1.676 3.292-3.67 4.395-5.865.905-1.802 1.54-3.737 1.883-5.724.38-2.21.4-4.483.06-6.7-.322-2.1-.966-4.147-1.907-6.05-1.137-2.302-2.71-4.38-4.613-6.105-1.992-1.81-4.328-3.23-6.86-4.147-1.843-.67-3.782-1.07-5.74-1.19-.954-.06-1.91-.052-2.863.017-.166.012-.33.027-.496.043zM346.724 439.38L236.182 283.317c-2.032-2.87-6.496-3.205-9.963-.75l-3.39 2.4c-3.465 2.455-4.63 6.778-2.598 9.647l110.542 156.06c2.032 2.87 6.497 3.206 9.964.75l3.387-2.4c3.466-2.455 4.63-6.777 2.6-9.646z"/><path d="M335.385 339.9l61.355 86.62c.58.83 1.086 1.705 1.502 2.627.95 2.104 1.436 4.41 1.414 6.72-.008.872-.088 1.743-.24 2.603-.062.36-.14.717-.225 1.073-2.09 8.22-4.292 16.414-6.44 24.62-2.29 8.76-4.58 17.52-6.873 26.277-.147.538-.312 1.068-.51 1.59-.403 1.055-.917 2.068-1.533 3.016-1.084 1.668-2.482 3.13-4.1 4.286-1.53 1.095-3.255 1.915-5.07 2.412-1.092.3-2.216.48-3.347.543-.442.024-.884.026-1.327.016l-56.11-1.802c-.454-.017-.906-.05-1.357-.104-.84-.1-1.67-.27-2.484-.5-2.347-.673-4.528-1.886-6.335-3.526-.85-.772-1.61-1.634-2.28-2.566l-22.04-31.117-27.968-.41c-.217-.005-.217-.005-.434-.013-.626-.032-1.248-.092-1.867-.193-1.372-.223-2.714-.627-3.982-1.198-1.334-.6-2.584-1.385-3.705-2.326-1.737-1.456-3.155-3.282-4.134-5.325-.933-1.945-1.465-4.077-1.556-6.232-.056-1.316.053-2.638.32-3.927.11-.525.25-1.043.41-1.556l6.224-19.523-20.607-.608c-.215-.008-.215-.008-.43-.02-.62-.04-1.236-.108-1.847-.216-1.36-.24-2.687-.66-3.938-1.24-1.316-.612-2.548-1.403-3.65-2.346-1.65-1.41-3.004-3.157-3.96-5.105-.976-1.992-1.53-4.184-1.616-6.4-.048-1.228.046-2.46.28-3.667.116-.6.27-1.19.45-1.772l5.927-18.586-19.37-.572c-.22-.008-.22-.01-.44-.02-.624-.042-1.245-.11-1.86-.22-1.37-.245-2.706-.67-3.965-1.26-1.324-.62-2.56-1.422-3.667-2.377-1.596-1.38-2.913-3.077-3.853-4.967-1.03-2.07-1.6-4.362-1.664-6.674-.034-1.238.077-2.48.33-3.692.125-.603.288-1.197.48-1.782l8.893-26.522-27.015-38.14c-.368.058-.737.114-1.107.17-2.33.335-4.67.62-7.016.834-4.477.41-8.976.592-13.472.542-13.244-.148-26.458-2.305-39.062-6.376-8.95-2.89-17.59-6.744-25.716-11.48-7.748-4.515-15.026-9.83-21.683-15.84-12.625-11.395-23-25.273-30.378-40.596-3.285-6.822-5.974-13.93-8.025-21.22-2.193-7.796-3.656-15.796-4.37-23.864-1.03-11.64-.494-23.415 1.576-34.917 2.047-11.378 5.595-22.482 10.535-32.934 3.008-6.363 6.53-12.482 10.522-18.278 3.98-5.778 8.43-11.233 13.29-16.295 9.617-10.018 20.84-18.495 33.093-25.026 5.53-2.948 11.272-5.497 17.168-7.62 6.044-2.175 12.25-3.902 18.547-5.163 6.847-1.37 13.803-2.187 20.78-2.45-5.21 2.227-10.247 4.85-15.055 7.85-5.264 3.284-10.25 7.013-14.89 11.134-3.617 3.214-7.023 6.665-10.195 10.32-1.53.68-3.043 1.397-4.54 2.147-5.39 2.702-10.56 5.844-15.446 9.376-4.68 3.382-9.1 7.124-13.204 11.188-4.32 4.28-8.286 8.915-11.842 13.846-6.442 8.932-11.53 18.826-15.07 29.254-3.868 11.395-5.882 23.41-5.943 35.444-.056 11.243 1.597 22.488 4.91 33.233 1.827 5.933 4.158 11.71 6.956 17.25 2.745 5.434 5.938 10.64 9.527 15.558 3.706 5.08 7.837 9.847 12.345 14.23 4.628 4.503 9.65 8.596 14.994 12.22 5.67 3.845 11.696 7.16 17.977 9.893 6.987 3.043 14.287 5.364 21.747 6.923 10.213 2.135 20.72 2.837 31.126 2.07 3.156-.233 6.3-.6 9.425-1.102 1.66-.265 3.31-.573 4.956-.91l2.853-.164c2.436.575 3.225.482 5.26 2.077.748.588 1.312 1.38 1.97 2.07l31.82 44.922c.624.896 1.163 1.846 1.598 2.848 1.02 2.352 1.46 4.943 1.275 7.5-.068.938-.22 1.87-.45 2.782-.096.372-.206.74-.325 1.104l-7.86 23.438 19.296.57c.216.008.215.01.43.02.62.04 1.236.11 1.848.218 1.357.24 2.683.658 3.934 1.24 1.385.642 2.676 1.485 3.822 2.493 1.572 1.383 2.866 3.076 3.787 4.957.976 1.99 1.53 4.184 1.617 6.4.048 1.228-.046 2.46-.28 3.668-.117.6-.27 1.19-.452 1.772l-5.925 18.583 20.607.61c.215.008.215.008.43.02.31.02.62.044.93.08.308.037.614.084.92.136.227.042.226.042.452.087.602.13 1.197.284 1.78.478 1.232.41 2.412.967 3.508 1.66 1.495.945 2.83 2.14 3.935 3.52 1.112 1.39 1.99 2.966 2.583 4.645.56 1.583.87 3.254.91 4.932.03 1.23-.08 2.46-.333 3.663-.11.522-.247 1.036-.405 1.546l-6.2 19.447 24.718.362c.22.005.22.005.44.013.394.02.788.05 1.18.097.855.102 1.7.274 2.528.512 2.388.688 4.604 1.94 6.428 3.628.8.742 1.518 1.566 2.156 2.452l22.066 31.154 51.007 1.64 6.08-23.235 5.927-22.663-52.97-74.78 8.863-21.803z"/></symbol><symbol id="icon-plus-circle" viewBox="0 0 32 32" width="32" height="32"><path d="M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3zm0 23c-5.522 0-10-4.478-10-10 0-5.523 4.478-10 10-10 5.523 0 10 4.477 10 10 0 5.522-4.477 10-10 10z"/><path d="M22.297 17.176c0 .206-.17.375-.375.375h-3.996c-.206 0-.375.17-.375.38v4c0 .21-.16.38-.37.38h-2.41c-.2 0-.37-.17-.37-.37v-4c0-.207-.17-.376-.37-.376h-4c-.206 0-.375-.17-.375-.374v-2.42c0-.207.17-.376.376-.376h3.995c.206 0 .375-.17.375-.38v-4c0-.206.17-.375.37-.375h2.41c.208 0 .377.17.377.37v3.994c0 .206.17.375.377.375h3.99c.21 0 .38.17.38.374v2.415z"/></symbol><symbol id="icon-check-circle" viewBox="0 0 32 32" width="32" height="32"><path d="M21.82 13.03l-1.002-1.002c-.185-.185-.484-.185-.668 0l-6.014 6.013-2.86-2.88c-.185-.18-.483-.18-.67 0l-1 1.01c-.186.19-.186.49 0 .67l4.192 4.23c.185.185.484.185.668 0l7.354-7.36c.186-.184.186-.483 0-.67v-.01zM16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3zm0 23c-5.522 0-10-4.478-10-10 0-5.523 4.478-10 10-10 5.523 0 10 4.477 10 10 0 5.522-4.477 10-10 10z"/></symbol><symbol id="icon-locked" viewBox="0 0 32 32" width="32" height="32"><path d="M12 9.23c0-2.204 1.794-4 4-4s4 1.796 4 4v3.54h-8V9.23zm14 3.54h-2V9.23c0-4.41-3.59-8-8-8s-8 3.59-8 8v3.54H6c-1.105 0-2 .894-2 2v14c0 1.104.895 2 2 2h20c1.105 0 2-.896 2-2v-14c0-1.106-.895-2-2-2z"/></symbol><symbol id="icon-api" viewBox="0 0 32 32" width="32" height="32"><path d="M24 2.667q2.208 0 3.77 1.563T29.335 8t-1.563 3.772T24 13.335q-1.177 0-2.224-.484t-1.796-1.34l-6.76 3.39q.11.55.11 1.12t-.117 1.117l6.76 3.383q.75-.866 1.796-1.35t2.23-.49q2.2 0 3.77 1.562t1.56 3.77-1.568 3.77-3.77 1.56-3.77-1.56-1.564-3.77q0-.565.115-1.117l-6.76-3.385q-.75.865-1.79 1.35t-2.23.48q-2.208 0-3.77-1.562t-1.564-3.77 1.57-3.778T8 10.67q1.177 0 2.224.484t1.797 1.35l6.76-3.386q-.11-.552-.11-1.115 0-2.207 1.57-3.77T24 2.667zM8 13.333q-1.104 0-1.885.78T5.335 16t.78 1.884 1.885.78 1.885-.78.78-1.885-.78-1.89T8 13.33zm16 8q-1.104 0-1.885.78T21.335 24t.78 1.884 1.885.78 1.885-.78.78-1.885-.78-1.89T24 21.33zm0-16q-1.104 0-1.885.78T21.335 8t.78 1.884 1.885.78 1.885-.78.78-1.885-.78-1.89T24 5.33z"/></symbol><symbol id="icon-download" viewBox="0 0 27 32" width="27" height="32"><path d="M25.6 4.8v24h-24v-24h8v1.6H3.2v20.8H24V6.4h-6.4V4.8h8zM12.8.8c0-.434.358-.8.8-.8.43 0 .8.358.8.8l.002 17.38 3.162-3.16c.31-.312.826-.302 1.13 0 .31.313.322.81.002 1.13l-4.53 4.53c-.156.156-.362.23-.567.23-.2 0-.41-.074-.57-.23L8.5 16.15c-.32-.32-.31-.816.003-1.13.302-.302.817-.313 1.13 0l3.16 3.16V.8z"/></symbol><symbol id="icon-deployment-influxdb" viewBox="0 0 512 512" width="512" height="512"><path d="M256.036 512c-2.004-.004-4.007-.097-6.003-.29-4.007-.39-7.975-1.172-11.83-2.33-3.007-.906-5.944-2.04-8.78-3.39-1.395-.664-2.764-1.384-4.108-2.15-56.33-32.353-112.726-64.593-168.784-97.416-1.55-.917-3.064-1.894-4.532-2.94-2.827-2.014-5.485-4.267-7.934-6.727-3.72-3.736-6.96-7.95-9.616-12.506-2.655-4.553-4.725-9.447-6.143-14.524-.98-3.506-1.648-7.098-1.995-10.72-.173-1.795-.262-3.595-.28-5.397-.417-65.046-.426-130.095-.03-195.14.02-1.8.11-3.6.28-5.395.347-3.623 1.014-7.216 1.992-10.722 1.417-5.078 3.486-9.972 6.14-14.527 2.654-4.557 5.892-8.77 9.612-12.51 2.45-2.46 5.105-4.713 7.932-6.728 1.468-1.046 2.982-2.024 4.532-2.94C112.61 72.764 168.94 40.23 225.47 8.053c1.57-.885 3.173-1.708 4.812-2.456 3.158-1.442 6.438-2.616 9.793-3.508C245.172.736 250.44.037 255.713.015c5.272-.022 10.545.632 15.652 1.943 3.525.905 6.97 2.122 10.282 3.633 1.64.75 3.243 1.57 4.813 2.455 56.538 32.162 112.877 64.68 169.01 97.545 1.55.917 3.064 1.895 4.532 2.94 2.964 2.112 5.742 4.486 8.29 7.086 3.688 3.766 6.892 8.005 9.51 12.58 2.62 4.578 4.65 9.49 6.027 14.58.906 3.35 1.53 6.778 1.86 10.234.173 1.794.262 3.593.28 5.395.417 65.045.426 130.094.03 195.14-.02 1.8-.11 3.6-.28 5.394-.33 3.455-.953 6.883-1.86 10.234-1.374 5.09-3.404 10.003-6.02 14.58-2.618 4.577-5.82 8.817-9.51 12.584-2.546 2.6-5.322 4.976-8.286 7.088-1.468 1.046-2.982 2.024-4.532 2.94-56.123 32.884-112.452 65.416-168.982 97.595-1.346.76-2.717 1.474-4.115 2.133-2.84 1.338-5.78 2.46-8.788 3.353-3.7 1.097-7.5 1.846-11.338 2.236-1.913.195-3.832.296-5.753.315-.167 0-.334.002-.5.003zM233.88 345.623h41.16v-93.8c8.96-8.68 15.4-13.44 25.76-13.44 11.76 0 17.08 6.16 17.08 26.32v80.92h41.16v-86.24c0-34.72-12.88-56-43.12-56-18.76 0-32.76 9.8-44.52 21h-1.12l-2.8-17.64h-33.6v138.88zm-80.92 0h41.16v-182.56h-41.16v182.56z"/></symbol><symbol id="icon-arrow-left-circle-fill" viewBox="0 0 32 32" width="32" height="32"><path d="M15.97 3C8.806 3 3 8.807 3 15.97s5.807 12.968 12.97 12.968 12.968-5.807 12.968-12.97S23.13 3 15.968 3zm0 5.344v5.72h7.624v3.812H15.97v5.72L8.343 15.97l7.625-7.625z"/></symbol><symbol id="icon-eye" viewBox="0 0 32 32" width="32" height="32"><path d="M16.014 7.008C8.02 7.008.028 14.002.028 16s7.993 8.992 15.986 8.992S32 17.998 32 16s-7.993-8.992-15.986-8.992zm0 14.987c-3.31 0-5.995-2.684-5.995-5.995s2.68-5.995 5.99-5.995S22 12.69 22 16s-2.685 5.995-5.996 5.995z"/><path d="M14.015 16c0 1.103.895 1.998 1.998 1.998S18.01 17.103 18.01 16s-.894-1.998-1.997-1.998-1.998.895-1.998 1.998z"/></symbol><symbol id="icon-check-circle-fill" viewBox="0 0 32 32" width="32" height="32"><path d="M16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3zm7.258 9.307l-9.486 9.485c-.238.237-.623.237-.86 0l-.192-.19-5.22-5.256c-.238-.238-.238-.624 0-.862l1.294-1.293c.238-.23.624-.23.862 0l3.69 3.72 7.754-7.76c.24-.23.625-.23.863 0l1.294 1.3c.24.24.24.63 0 .86v-.003z"/></symbol><symbol id="icon-scale" viewBox="0 0 29 32" width="29" height="32"><path d="M7.575 20.88l2.816 1.49 5.45-5.7 3.46 3.373 6.31-10.15.6 3.256 1-.18-.91-4.98-5.35 1.1.21.96 3.64-.75-5.68 9.15-3.285-3.21-5.63 5.89-2.983-1.58L4.8 23.5l.873.497 1.903-3.12z"/><path d="M0 3.2h.89v27.91H28.8V32H0V3.2z"/></symbol><symbol id="icon-globe" viewBox="0 0 29 32" width="29" height="32"><path d="M28.312 16.28c0-8.106-6.338-14.68-14.156-14.68S0 8.173 0 16.28c0 8.02 6.2 14.53 13.9 14.674.07.026.112.038.117.04l.01-.036c.043 0 .086.003.13.003h.357l.012.04.14-.04c7.582-.28 13.647-6.733 13.647-14.663 0 0 0 7.93 0 0zm-27.27.567h4.53c.06 2.58.502 4.71 1.16 6.464-2.04-.32-3.59-.68-4.267-.85-.838-1.69-1.343-3.6-1.423-5.61 0 0 .08 2.02 0 0zm1.388-6.523c.028-.01 1.65-.51 4.257-.947-.633 1.718-1.066 3.83-1.117 6.403H1.04c.07-1.988.552-3.87 1.36-5.553l.03.097zm24.842 5.456h-4.3c-.05-2.553-.478-4.663-1.123-6.4 1.94.315 3.39.663 4.05.836.81 1.686 1.29 3.57 1.36 5.564 0 0-.07-1.993 0 0zm-5.33 0h-7.19V8.75c2.182.03 4.21.22 5.944.46.708 1.718 1.193 3.876 1.246 6.57 0 0-.053-2.694 0 0zm-7.19-8.096V2.936c1.14.466 3.674 1.826 5.412 5.128-1.618-.202-3.456-.355-5.41-.38 0 0 1.954.026 0 0zm-1.028.003c-1.96.02-3.767.163-5.337.36 1.705-3.228 4.172-4.594 5.337-5.084v4.724zm0 1.063v7.03H6.6c.052-2.7.54-4.86 1.25-6.58 1.688-.24 3.686-.426 5.874-.45 0 0-2.188.024 0 0zM6.6 16.847h7.124v7.096c-2.066-.028-4.066-.218-5.81-.458-.736-1.74-1.248-3.92-1.313-6.638 0 0 .07 2.718 0 0zm7.124 8.163v4.732c-1.098-.493-3.543-1.897-5.265-5.11 1.61.202 3.41.354 5.26.378 0 0-1.85-.024 0 0zm1.03 0c1.928-.025 3.763-.19 5.377-.407-1.75 3.342-4.29 4.72-5.37 5.175V25.01zm0-1.067v-7.096h7.187c-.06 2.706-.55 4.874-1.27 6.605-1.72.255-3.76.462-5.91.49 0 0 2.16-.028 0 0zm8.214-7.096h4.3c-.077 1.982-.567 3.855-1.38 5.532-.25.07-1.79.49-4.058.88.637-1.73 1.078-3.85 1.138-6.42 0 0-.06 2.57 0 0zM25.21 8.95c-.912-.21-2.234-.482-3.84-.72-1.238-2.64-2.97-4.27-4.393-5.244 3.445.786 6.385 2.978 8.233 5.965 0 0-1.848-2.98 0 0zM11.617 2.926c-.57.38-1.193.868-1.816 1.49-.88.88-1.84 2.12-2.62 3.803-1.84.28-3.27.61-4.13.83 1.89-3.12 4.97-5.39 8.58-6.13 0 0-3.6.73 0 0zM3.17 23.718c.955.212 2.366.496 4.047.745 1.194 2.53 2.826 4.14 4.194 5.13-3.43-.762-6.37-2.92-8.24-5.874 0 0 1.87 2.95 0 0zm14.13 5.78c.477-.356.982-.784 1.488-1.303.86-.883 1.794-2.114 2.562-3.77 1.644-.262 2.976-.556 3.827-.763-1.792 2.867-4.592 4.993-7.877 5.834z"/></symbol><symbol id="icon-deployment" viewBox="0 0 512 512" width="512" height="512"><path d="M256.036 511.998c-2.004-.004-4.007-.097-6.003-.29-4.007-.39-7.975-1.172-11.83-2.33-3.007-.906-5.944-2.04-8.78-3.39-1.395-.664-2.764-1.384-4.108-2.15-56.33-32.353-112.726-64.593-168.784-97.416-1.55-.917-3.064-1.894-4.532-2.94-2.827-2.014-5.485-4.267-7.934-6.727-3.72-3.736-6.96-7.95-9.616-12.506-2.655-4.555-4.725-9.45-6.143-14.526-.98-3.506-1.648-7.098-1.995-10.72-.173-1.795-.262-3.595-.28-5.397-.417-65.045-.426-130.094-.03-195.14.02-1.8.11-3.6.28-5.394.347-3.623 1.014-7.216 1.992-10.722 1.417-5.077 3.486-9.97 6.14-14.526 2.654-4.557 5.892-8.77 9.612-12.51 2.45-2.46 5.105-4.713 7.932-6.728 1.468-1.046 2.982-2.024 4.532-2.94C112.61 72.762 168.94 40.23 225.47 8.05c1.57-.885 3.173-1.708 4.812-2.456 3.158-1.442 6.438-2.616 9.793-3.508C245.172.734 250.44.035 255.713.013c5.272-.022 10.545.632 15.652 1.943 3.525.905 6.97 2.122 10.282 3.633 1.64.747 3.243 1.57 4.813 2.453 56.538 32.162 112.877 64.68 169.01 97.545 1.55.917 3.064 1.895 4.532 2.94 2.964 2.112 5.742 4.486 8.29 7.086 3.688 3.766 6.892 8.005 9.51 12.58 2.62 4.578 4.65 9.49 6.027 14.58.906 3.35 1.53 6.778 1.86 10.234.173 1.794.262 3.593.28 5.395.417 65.045.426 130.094.03 195.14-.02 1.8-.11 3.6-.28 5.394-.33 3.456-.953 6.884-1.86 10.235-1.374 5.09-3.404 10.003-6.02 14.58-2.618 4.577-5.82 8.817-9.51 12.584-2.546 2.6-5.322 4.976-8.286 7.088-1.468 1.046-2.982 2.024-4.532 2.94C399.39 439.25 343.06 471.78 286.53 503.96c-1.346.758-2.717 1.472-4.115 2.13-2.84 1.34-5.78 2.46-8.788 3.354-3.7 1.097-7.5 1.846-11.338 2.236-1.913.195-3.832.296-5.753.315-.167 0-.334.002-.5.003zm-.003-27c1.13-.003 2.26-.056 3.385-.165 2.353-.23 4.682-.7 6.94-1.4 1.645-.508 3.25-1.14 4.802-1.888.743-.358 1.472-.743 2.19-1.15 56.263-32.342 112.733-64.334 168.59-97.372.873-.52 1.724-1.076 2.55-1.67 1.585-1.14 3.076-2.414 4.45-3.805 2.054-2.083 3.846-4.424 5.318-6.952 1.497-2.57 2.664-5.328 3.462-8.192.55-1.974.927-3.998 1.122-6.038.102-1.06.152-2.126.16-3.19.12-64.898.65-129.798-.03-194.69-.015-.968-.066-1.935-.158-2.9-.187-1.945-.538-3.875-1.048-5.762-.8-2.962-1.995-5.815-3.54-8.466-1.474-2.528-3.266-4.868-5.32-6.95-1.408-1.424-2.94-2.727-4.57-3.89-.868-.617-1.765-1.194-2.685-1.732-56.136-32.56-112.08-65.463-168.62-97.32-.887-.494-1.793-.954-2.72-1.37-1.78-.805-3.63-1.458-5.52-1.952-2.878-.75-5.85-1.13-8.822-1.13-2.973 0-5.945.38-8.822 1.132-1.937.507-3.83 1.18-5.652 2.012-.97.443-1.917.93-2.843 1.46-56.264 32.338-112.734 64.328-168.59 97.37-.872.52-1.724 1.075-2.55 1.67-1.547 1.112-3.004 2.352-4.35 3.704-2.13 2.14-3.98 4.56-5.49 7.175-1.486 2.575-2.64 5.34-3.428 8.206-.53 1.93-.894 3.908-1.084 5.902-.102 1.06-.152 2.125-.16 3.19-.125 64.897-.654 129.797.03 194.69.015.968.066 1.935.158 2.898.187 1.947.538 3.877 1.048 5.764.814 3.007 2.032 5.902 3.612 8.587 1.46 2.48 3.227 4.78 5.25 6.83 1.407 1.423 2.937 2.726 4.568 3.888.868.618 1.765 1.194 2.685 1.733 56.135 32.56 112.076 65.468 168.62 97.318.76.425 1.535.824 2.325 1.192 1.602.747 3.26 1.37 4.956 1.866 1.997.584 4.046.987 6.114 1.205 1.03.11 2.066.17 3.103.188.19.003.377.004.566.004z"/><path d="M414.03 307.106l.017-.01.003 21.95c0 11.12-5.928 21.392-15.555 26.952l-126.918 73.3c-4.82 2.785-10.203 4.175-15.583 4.17l.002-35.145.013-.007-.004-133.546c0-5.56 2.966-10.695 7.78-13.474l146.086-84.343c2.673 4.624 4.156 9.972 4.157 15.53v124.623z" fill-opacity=".694"/><path d="M97.97 307.106l-.017-.01-.003 21.95c0 11.12 5.928 21.392 15.555 26.952l126.918 73.3c4.82 2.785 10.203 4.175 15.583 4.17l-.002-35.145-.013-.007.004-133.546c0-5.56-2.966-10.695-7.78-13.474L102.13 166.953c-2.673 4.624-4.156 9.972-4.157 15.53v124.623z" fill-opacity=".408"/><path d="M102.38 167.005s1.746-5.806 11.358-11.357L240.443 82.47c9.61-5.55 21.454-5.552 31.066-.004l126.726 73.142c4.813 2.778 8.702 6.737 11.385 11.39l-145.83 84.196c-4.82 2.783-7.79 7.926-7.79 13.492l-.01-.027c-.002-5.55-2.962-10.678-7.768-13.452L102.38 167.005z" fill-opacity=".118"/><path d="M256.025 433.747c-1.053-.004-2.104-.055-3.152-.165-2.104-.222-4.184-.667-6.195-1.326-1.252-.41-2.477-.904-3.665-1.475-.6-.288-1.19-.6-1.77-.925-42.935-24.543-85.767-49.264-128.496-74.163-.644-.383-1.276-.783-1.892-1.21-1.35-.938-2.624-1.986-3.803-3.132-1.863-1.81-3.488-3.864-4.824-6.092-1.376-2.296-2.443-4.777-3.163-7.355-.486-1.74-.814-3.522-.98-5.32-.075-.83-.113-1.66-.123-2.492-.213-49.452-.22-98.907-.02-148.36.008-.75.04-1.498.1-2.245.137-1.638.408-3.265.81-4.858.638-2.52 1.603-4.954 2.865-7.224 1.3-2.34 2.915-4.504 4.788-6.417 1.264-1.29 2.644-2.466 4.12-3.508.678-.48 1.38-.93 2.094-1.354 42.72-24.91 85.546-49.644 128.473-74.2.654-.365 1.317-.713 1.995-1.032 1.487-.7 3.03-1.28 4.613-1.728 2.5-.708 5.092-1.09 7.69-1.13 2.676-.045 5.357.27 7.95.937 1.75.45 3.457 1.057 5.097 1.813.756.35 1.494.73 2.22 1.138 42.935 24.543 85.767 49.265 128.496 74.164.644.382 1.276.783 1.892 1.21 1.35.937 2.624 1.986 3.803 3.13 1.863 1.812 3.488 3.865 4.824 6.094 1.376 2.296 2.443 4.776 3.163 7.355.486 1.74.814 3.522.98 5.32.075.83.113 1.66.123 2.492.213 49.453.22 98.908.02 148.36-.01.833-.047 1.664-.123 2.493-.164 1.798-.492 3.58-.977 5.32-.72 2.58-1.785 5.06-3.16 7.356-1.336 2.23-2.96 4.283-4.823 6.094-1.18 1.146-2.452 2.195-3.802 3.132-.616.428-1.248.83-1.892 1.21-42.72 24.913-85.546 49.646-128.473 74.2-.58.326-1.17.638-1.77.927-1.188.572-2.413 1.065-3.665 1.476-1.857.61-3.773 1.036-5.712 1.273-.965.118-1.935.184-2.906.212-.243.005-.486.008-.73.01zm-.003-27c.518-.002 1.024-.136 1.476-.39 42.773-24.467 85.343-49.287 128.014-73.932.053-.03.106-.062.158-.095.615-.393 1.072-1.002 1.274-1.703.068-.236.105-.48.114-.724.002-.054.002-.107.002-.16l-.02-147.748c0-.06 0-.123-.004-.185-.033-.72-.324-1.413-.82-1.936-.175-.184-.373-.344-.59-.48l-.136-.08c-42.654-24.62-85.308-49.237-127.963-73.856l-.16-.09c-.648-.335-1.405-.427-2.113-.25-.24.058-.468.148-.685.263-.048.026-.094.052-.14.08l-127.942 73.89c-.053.03-.107.063-.16.096-.613.392-1.07 1-1.272 1.702-.068.237-.105.48-.114.725-.002.054-.002.107-.002.16l.02 147.747c0 .062 0 .123.004.185.033.728.33 1.43.838 1.954.17.176.363.33.57.46.046.03.092.055.138.082 42.654 24.62 85.31 49.237 127.963 73.856l.16.09c.394.203.824.317 1.266.336.04.002.08.003.122.003z"/></symbol><symbol id="icon-deployment-beta-line" viewBox="0 0 512 512" width="512" height="512"><path d="M256.036 511.998c-2.004-.004-4.007-.097-6.003-.29-4.007-.39-7.975-1.172-11.83-2.33-3.007-.906-5.944-2.04-8.78-3.39-1.395-.664-2.764-1.384-4.108-2.15-56.33-32.353-112.726-64.593-168.784-97.416-1.55-.917-3.064-1.894-4.532-2.94-2.827-2.014-5.485-4.267-7.934-6.727-3.72-3.736-6.96-7.95-9.616-12.506-2.655-4.555-4.725-9.45-6.143-14.526-.98-3.506-1.648-7.098-1.995-10.72-.173-1.795-.262-3.595-.28-5.397-.417-65.045-.426-130.094-.03-195.14.02-1.8.11-3.6.28-5.394.347-3.623 1.014-7.216 1.992-10.722 1.417-5.077 3.486-9.97 6.14-14.526 2.654-4.557 5.892-8.77 9.612-12.51 2.45-2.46 5.105-4.713 7.932-6.728 1.468-1.046 2.982-2.024 4.532-2.94C112.61 72.762 168.94 40.23 225.47 8.05c1.57-.885 3.173-1.708 4.812-2.456 3.158-1.442 6.438-2.616 9.793-3.508C245.172.734 250.44.035 255.713.013c5.272-.022 10.545.632 15.652 1.943 3.525.905 6.97 2.122 10.282 3.633 1.64.747 3.243 1.57 4.813 2.453 56.538 32.162 112.877 64.68 169.01 97.545 1.55.917 3.064 1.895 4.532 2.94 2.964 2.112 5.742 4.486 8.29 7.086 3.688 3.766 6.892 8.005 9.51 12.58 2.62 4.578 4.65 9.49 6.027 14.58.906 3.35 1.53 6.778 1.86 10.234.173 1.794.262 3.593.28 5.395.417 65.045.426 130.094.03 195.14-.02 1.8-.11 3.6-.28 5.394-.33 3.456-.953 6.884-1.86 10.235-1.374 5.09-3.404 10.003-6.02 14.58-2.618 4.577-5.82 8.817-9.51 12.584-2.546 2.6-5.322 4.976-8.286 7.088-1.468 1.046-2.982 2.024-4.532 2.94C399.39 439.25 343.06 471.78 286.53 503.96c-1.346.758-2.717 1.472-4.115 2.13-2.84 1.34-5.78 2.46-8.788 3.354-3.7 1.097-7.5 1.846-11.338 2.236-1.913.195-3.832.296-5.753.315-.167 0-.334.002-.5.003zm-.003-27c1.13-.003 2.26-.056 3.385-.165 2.353-.23 4.682-.7 6.94-1.4 1.645-.508 3.25-1.14 4.802-1.888.743-.358 1.472-.743 2.19-1.15 56.263-32.342 112.733-64.334 168.59-97.372.873-.52 1.724-1.076 2.55-1.67 1.585-1.14 3.076-2.414 4.45-3.805 2.054-2.083 3.846-4.424 5.318-6.952 1.497-2.57 2.664-5.328 3.462-8.192.55-1.974.927-3.998 1.122-6.038.102-1.06.152-2.126.16-3.19.12-64.898.65-129.798-.03-194.69-.015-.968-.066-1.935-.158-2.9-.187-1.945-.538-3.875-1.048-5.762-.8-2.962-1.995-5.815-3.54-8.466-1.474-2.528-3.266-4.868-5.32-6.95-1.408-1.424-2.94-2.727-4.57-3.89-.868-.617-1.765-1.194-2.685-1.732-56.136-32.56-112.08-65.463-168.62-97.32-.887-.494-1.793-.954-2.72-1.37-1.78-.805-3.63-1.458-5.52-1.952-2.878-.75-5.85-1.13-8.822-1.13-2.973 0-5.945.38-8.822 1.132-1.937.507-3.83 1.18-5.652 2.012-.97.443-1.917.93-2.843 1.46-56.264 32.338-112.734 64.328-168.59 97.37-.872.52-1.724 1.075-2.55 1.67-1.547 1.112-3.004 2.352-4.35 3.704-2.13 2.14-3.98 4.56-5.49 7.175-1.486 2.575-2.64 5.34-3.428 8.206-.53 1.93-.894 3.908-1.084 5.902-.102 1.06-.152 2.125-.16 3.19-.125 64.897-.654 129.797.03 194.69.015.968.066 1.935.158 2.898.187 1.947.538 3.877 1.048 5.764.814 3.007 2.032 5.902 3.612 8.587 1.46 2.48 3.227 4.78 5.25 6.83 1.407 1.423 2.937 2.726 4.568 3.888.868.618 1.765 1.194 2.685 1.733 56.135 32.56 112.076 65.468 168.62 97.318.76.425 1.535.824 2.325 1.192 1.602.747 3.26 1.37 4.956 1.866 1.997.584 4.046.987 6.114 1.205 1.03.11 2.066.17 3.103.188.19.003.377.004.566.004z"/><path d="M256.015 433.694c-1.196-.005-2.39-.065-3.58-.19-2.893-.306-5.748-.974-8.474-1.99-1.076-.402-2.134-.858-3.165-1.366-.598-.294-1.185-.61-1.767-.934l-10.95-6.264c-16.42-9.404-32.828-18.826-49.222-28.274-5.465-3.15-10.928-6.302-16.39-9.456l-5.46-3.156c-1.904-1.1-3.81-2.195-5.71-3.302-.246-.146-.492-.294-.738-.443-1.377-.85-2.713-1.763-3.995-2.75-2.542-1.953-4.878-4.175-6.957-6.615-2.5-2.936-4.63-6.19-6.32-9.657-1.624-3.335-2.842-6.867-3.618-10.495-.653-3.057-.993-6.18-1.012-9.306-.02-3.196.296-6.395.94-9.526.685-3.326 1.74-6.576 3.14-9.67.67-1.476 1.42-2.913 2.236-4.313.46-.775.927-1.545 1.392-2.317 1.474-2.438 2.958-4.87 4.454-7.295 4.317-6.997 8.723-13.94 13.19-20.84 4.302-6.65 8.662-13.263 13.067-19.845 5.145-7.69 10.352-15.338 15.612-22.95 4.558-6.596 9.155-13.166 13.808-19.695l.5-.7.408-.57v-54.11c-.246-.075-.492-.154-.737-.235-.244-.083-.487-.167-.73-.255-1.295-.475-2.56-1.03-3.78-1.675-2.545-1.34-4.9-3.043-6.975-5.034-2.904-2.785-5.263-6.133-6.897-9.81-1.307-2.944-2.146-6.092-2.465-9.297-.303-3.05-.14-6.145.476-9.146.566-2.758 1.518-5.436 2.818-7.933 1.675-3.216 3.923-6.128 6.605-8.567 2.645-2.406 5.708-4.346 9.017-5.7 2.335-.957 4.788-1.62 7.286-1.97 1.352-.19 2.714-.285 4.08-.298 33.647-.107 67.295-.107 100.943 0 1.432.013 2.862.117 4.28.324 2.747.402 5.437 1.18 7.974 2.308 3.663 1.628 6.996 3.98 9.765 6.876 2.6 2.72 4.697 5.913 6.148 9.385 1.246 2.983 2.01 6.163 2.256 9.387.254 3.32-.03 6.68-.845 9.907-.87 3.446-2.348 6.732-4.348 9.67-2.33 3.425-5.36 6.363-8.856 8.586-1.82 1.158-3.76 2.12-5.782 2.87-1.005.373-2.03.69-3.066.957v53.758c1.16 2.577 2.513 5.064 3.927 7.51 1.676 2.896 3.448 5.737 5.258 8.552 2.123 3.302 4.303 6.568 6.506 9.817 2.643 3.9 5.323 7.773 8.01 11.642 3.687 5.303 7.388 10.596 11.077 15.897 6.314 9.086 12.587 18.2 18.673 27.44 1.93 2.93 3.84 5.872 5.726 8.83.564.883 1.126 1.768 1.685 2.654.498.788.994 1.575 1.46 2.38.77 1.338 1.474 2.714 2.106 4.122 1.293 2.878 2.287 5.89 2.96 8.973.695 3.168 1.05 6.408 1.06 9.65.02 5.98-1.14 11.95-3.402 17.486-1.662 4.068-3.91 7.893-6.66 11.322-2.33 2.91-5.018 5.535-7.984 7.797-.997.76-2.026 1.478-3.082 2.154-.49.314-.987.617-1.488.913-1.893 1.104-3.79 2.198-5.687 3.296l-5.437 3.147c-12.69 7.338-25.385 14.664-38.09 21.972-12.707 7.308-25.423 14.598-38.145 21.878-.28.156-.28.156-.563.31-.568.305-1.14.6-1.722.875-1.25.586-2.53 1.102-3.842 1.537-2.198.73-4.47 1.235-6.77 1.51-1.09.132-2.185.205-3.28.24-.284.006-.566.01-.848.012zm-20.27-65.96c13.41 0 24.24-10.876 24.24-24.26 0-13.268-10.746-24.112-24.083-24.198h-.158c-13.41 0-24.223 10.877-24.223 24.2 0 13.33 10.728 24.174 24.067 24.26h.157zm52.79-53.31c10.155 0 18.357-8.237 18.357-18.37 0-10.05-8.138-18.26-18.238-18.326h-.12c-10.154 0-18.343 8.237-18.343 18.325 0 10.094 8.124 18.307 18.226 18.37h.12zm-93.82-46.79c20.176 3.93 56.204 4.787 105.34-22.41-.917-1.5-1.815-3.012-2.688-4.537-1.688-2.95-3.285-5.954-4.68-9.053l-1.17-3.176c-.71-3.305-.71-3.31-.95-6.683v-53.757c.142-1.498.143-3.015.425-4.492.565-2.967 1.685-5.8 3.302-8.353 1.617-2.552 3.7-4.776 6.143-6.554 3.265-2.38 4.373-2.482 8.122-3.838.134-.035.27-.072.404-.113.775-.246 1.503-.628 2.138-1.135.573-.458 1.067-1.01 1.458-1.63.3-.475.536-.988.7-1.524.463-1.497.388-3.164-.243-4.6-.646-1.47-1.84-2.69-3.285-3.386-.52-.25-1.075-.432-1.643-.538-.352-.064-.707-.1-1.063-.11-33.628-.746-67.28-.748-100.91 0-.785.023-1.56.178-2.29.476-1.622.665-2.962 1.992-3.646 3.607-.25.59-.41 1.217-.474 1.855-.062.608-.043 1.224.07 1.825.275 1.452 1.075 2.786 2.166 3.773.53.48 1.13.88 1.783 1.17.252.112.51.205.775.287l4.022 1.658c1.22.785 2.515 1.463 3.657 2.356 2.294 1.793 4.244 3.99 5.752 6.48 1.51 2.49 2.55 5.236 3.077 8.1.26 1.426.262 2.888.393 4.332v54.11c-.256 3.288-.13 4.17-1.15 7.34-.38 1.182-.853 2.34-1.412 3.45-.557 1.108-1.27 2.132-1.927 3.187-.12.194-.267.372-.4.558l-1.147 1.61c-1.01 1.422-2.02 2.845-3.026 4.27-5.9 8.366-11.727 16.78-17.487 25.244l-.137.2z"/></symbol><symbol id="icon-gear-line" viewBox="0 0 32 32" width="32" height="32"><path d="M16.9 1.606c.45 0 .834.334.893.78l.53 3.996c1.017.244 1.97.643 2.837 1.173l3.2-2.447c.16-.125.355-.186.546-.186.23 0 .46.09.636.263l1.27 1.274c.322.31.356.82.08 1.18l-2.447 3.2c.53.86.928 1.82 1.173 2.83l3.995.53c.448.06.78.44.78.89v1.8c0 .45-.332.83-.78.89l-3.995.53c-.244 1.01-.643 1.963-1.173 2.83l2.447 3.2c.276.36.243.863-.08 1.18l-1.27 1.273c-.175.173-.405.264-.636.264-.19 0-.386-.06-.546-.185l-3.2-2.446c-.866.53-1.82.927-2.837 1.17l-.53 3.996c-.06.448-.442.78-.893.78h-1.8c-.45 0-.83-.332-.89-.78l-.532-3.994c-1.017-.244-1.97-.64-2.837-1.17l-3.2 2.444c-.16.126-.35.186-.54.186-.23 0-.46-.09-.63-.265l-1.28-1.27c-.32-.32-.35-.826-.07-1.18l2.447-3.2c-.53-.868-.93-1.82-1.173-2.836l-3.995-.53c-.44-.06-.78-.44-.78-.893v-1.8c0-.45.34-.83.78-.89l4-.534c.243-1.015.642-1.968 1.172-2.834L5.11 7.64c-.277-.358-.244-.863.076-1.18l1.276-1.275c.172-.173.403-.263.633-.263.19 0 .386.06.546.186l3.2 2.447c.87-.53 1.82-.928 2.84-1.173l.54-3.995c.06-.447.44-.78.89-.78h1.8zM16.9 0h-1.8c-1.25 0-2.315.935-2.483 2.174l-.395 2.962c-.42.146-.834.316-1.234.51L8.615 3.833c-.422-.33-.967-.516-1.52-.516-.663 0-1.31.27-1.776.74L4.05 5.323c-.888.882-.982 2.3-.217 3.296l1.812 2.37c-.194.4-.365.81-.51 1.23l-2.962.39C.935 12.78 0 13.85 0 15.1v1.8c0 1.25.935 2.32 2.177 2.483l2.96.395c.145.42.315.832.51 1.232l-1.815 2.373c-.76.99-.667 2.41.22 3.295l1.274 1.272c.458.464 1.105.733 1.77.733.556 0 1.103-.188 1.536-.527l2.357-1.8c.4.193.81.364 1.23.508l.39 2.96C12.78 31.064 13.85 32 15.1 32h1.8c1.25 0 2.32-.935 2.485-2.175l.394-2.96c.42-.146.83-.316 1.23-.51l2.37 1.812c.42.33.96.52 1.52.52.66 0 1.29-.26 1.77-.732l1.27-1.28c.88-.883.98-2.3.21-3.295l-1.81-2.37c.195-.4.366-.81.51-1.23l2.963-.396C31.06 19.22 32 18.154 32 16.9v-1.8c0-1.252-.936-2.32-2.18-2.483l-2.955-.395c-.146-.42-.316-.832-.51-1.232l1.814-2.373c.76-.993.66-2.41-.23-3.296l-1.26-1.26c-.48-.47-1.11-.73-1.78-.73-.556 0-1.1.19-1.535.528L21.01 5.66c-.4-.192-.81-.363-1.234-.51l-.395-2.96C19.22.938 18.16 0 16.9 0z"/><path d="M10.105 16c0 3.256 2.64 5.895 5.895 5.895s5.895-2.64 5.895-5.895c0-3.256-2.64-5.895-5.895-5.895s-5.895 2.64-5.895 5.895zm10.106 0c0 2.325-1.88 4.21-4.21 4.21s-4.21-1.884-4.21-4.21c0-2.325 1.89-4.21 4.21-4.21s4.21 1.884 4.21 4.21z"/></symbol><symbol id="icon-deployment-rabbitmq" viewBox="0 0 512 512" width="512" height="512"><path d="M256.036 512c-2.004-.004-4.007-.097-6.003-.29-4.007-.39-7.975-1.172-11.83-2.33-3.007-.906-5.944-2.04-8.78-3.39-1.395-.664-2.764-1.384-4.108-2.15-56.33-32.353-112.726-64.593-168.784-97.416-1.55-.917-3.064-1.894-4.532-2.94-2.827-2.014-5.485-4.267-7.934-6.727-3.72-3.736-6.96-7.95-9.616-12.506-2.655-4.553-4.725-9.447-6.143-14.524-.98-3.506-1.648-7.098-1.995-10.72-.173-1.795-.262-3.595-.28-5.397-.417-65.046-.426-130.095-.03-195.14.02-1.8.11-3.6.28-5.395.347-3.623 1.014-7.216 1.992-10.722 1.417-5.078 3.486-9.972 6.14-14.527 2.654-4.557 5.892-8.77 9.612-12.51 2.45-2.46 5.105-4.713 7.932-6.728 1.468-1.046 2.982-2.024 4.532-2.94C112.61 72.764 168.94 40.23 225.47 8.053c1.57-.885 3.173-1.708 4.812-2.456 3.158-1.442 6.438-2.616 9.793-3.508C245.172.736 250.44.037 255.713.015c5.272-.022 10.545.632 15.652 1.943 3.525.905 6.97 2.122 10.282 3.633 1.64.75 3.243 1.57 4.813 2.455 56.538 32.162 112.877 64.68 169.01 97.545 1.55.917 3.064 1.895 4.532 2.94 2.964 2.112 5.742 4.486 8.29 7.086 3.688 3.766 6.892 8.005 9.51 12.58 2.62 4.578 4.65 9.49 6.027 14.58.906 3.35 1.53 6.778 1.86 10.234.173 1.794.262 3.593.28 5.395.417 65.045.426 130.094.03 195.14-.02 1.8-.11 3.6-.28 5.394-.33 3.455-.953 6.883-1.86 10.234-1.374 5.09-3.404 10.003-6.02 14.58-2.618 4.577-5.82 8.817-9.51 12.584-2.546 2.6-5.322 4.976-8.286 7.088-1.468 1.046-2.982 2.024-4.532 2.94-56.123 32.884-112.452 65.416-168.982 97.595-1.346.76-2.717 1.474-4.115 2.133-2.84 1.338-5.78 2.46-8.788 3.353-3.7 1.097-7.5 1.846-11.338 2.236-1.913.195-3.832.296-5.753.315-.167 0-.334.002-.5.003zm5.564-166.377l-41.44-73.08c19.6-8.68 32.48-25.76 32.48-52.64 0-43.4-31.64-56.84-70.28-56.84h-65.8v182.56h41.16v-65.8h22.68l35 65.8h46.2zm70-28.56c-9.8 0-15.96-4.2-15.96-13.16 0-10.64 9.52-19.04 38.64-22.96v24.36c-7.28 7.28-13.44 11.76-22.68 11.76zm-14 31.92c15.68 0 28.56-7.28 40.32-17.64h1.12l2.8 14.28h33.6v-79.52c0-42.56-19.6-62.72-55.16-62.72-21.84 0-41.72 7.56-59.36 18.2l14.84 27.16c13.44-7.84 24.92-12.6 36.68-12.6 15.12 0 21 7.84 21.84 20.16-54.88 5.6-78.12 21.56-78.12 50.68 0 23.52 15.96 42 41.44 42zm-159.88-153.16H179c21.56 0 33.32 6.16 33.32 24.08 0 17.92-11.76 27.16-33.32 27.16h-21.28v-51.24z"/></symbol><symbol id="icon-warning-circle-fill" viewBox="0 0 32 32" width="32" height="32"><path d="M16 3.03c7.158 0 12.97 5.812 12.97 12.97S23.157 28.97 16 28.97 3.03 23.157 3.03 16 8.843 3.03 16 3.03zm1.917 17.812h-3.834v3.965h3.834v-3.965zm0-13.65h-3.834V18.77h3.834V7.193z"/></symbol><symbol id="icon-cluster-hosts" viewBox="0 0 20 20" width="20" height="20"><path d="M18.028 18.028c-.028.028-.057.056-.087.083-.06.054-.122.103-.188.15-.197.135-.418.236-.65.294-.105.027-.213.044-.32.053-.052.004-.104.007-.155.007-4.418.014-8.836.014-13.254 0-.077 0-.153-.005-.23-.014-.143-.018-.285-.05-.422-.1-.136-.047-.268-.11-.392-.188-.13-.08-.25-.176-.356-.284-.108-.107-.203-.227-.284-.356-.077-.124-.14-.256-.19-.393-.047-.138-.08-.28-.098-.424-.01-.076-.013-.152-.014-.23-.014-4.417-.014-8.835 0-13.253 0-.077.005-.153.014-.23.018-.143.05-.285.1-.422.047-.136.11-.268.188-.392.08-.13.176-.25.284-.356.107-.108.227-.203.356-.284.124-.077.256-.14.393-.19.138-.047.28-.08.424-.098.076-.01.152-.013.23-.014 4.417-.014 8.835-.014 13.253 0 .077 0 .153.005.23.014.143.018.285.05.422.1.136.047.268.11.392.188.13.08.25.176.356.284.108.107.203.227.284.356.077.124.14.256.19.393.047.138.08.28.098.424.01.076.013.152.014.23.014 4.417.014 8.835 0 13.253 0 .05-.003.103-.007.154-.01.11-.026.217-.053.322-.055.22-.15.43-.275.62-.045.067-.094.13-.146.192-.023.027-.047.054-.072.08l-.034.034zm-.945-.945c.028-.027.053-.057.075-.09.045-.062.078-.133.098-.208.014-.054.02-.11.022-.166.014-4.415.042-8.83 0-13.243 0-.027-.003-.054-.006-.08-.007-.05-.018-.097-.036-.143-.03-.08-.077-.156-.136-.22-.07-.075-.157-.135-.254-.17-.046-.018-.093-.03-.142-.036l-.08-.006c-4.416-.042-8.832-.042-13.247 0-.027 0-.054.003-.08.006-.05.007-.097.018-.143.036-.08.03-.156.077-.22.136-.075.07-.135.157-.17.254-.017.044-.03.09-.035.137-.005.03-.007.058-.008.087-.042 4.415-.042 8.83 0 13.246 0 .03.003.057.007.086.005.046.017.092.034.136.035.097.095.184.17.254.064.06.14.106.22.136.046.018.093.03.142.036l.08.006c4.416.042 8.832.042 13.247 0 .055 0 .11-.008.162-.022.07-.018.136-.05.196-.09.034-.02.066-.046.095-.074l.008-.01zm-13.3-4.244H16.23v2.808c0 .165-.067.323-.183.44-.117.117-.276.183-.44.183h-11.2c-.167 0-.325-.065-.442-.182-.117-.117-.182-.275-.182-.44v-2.81zm11.1.915h-1.24v1.24h1.24v-1.24zm1.346-2.047H3.782V8.29H16.23v3.418zm-1.347-2.33h-1.24v1.242h1.24V9.38zM16.23 7.2H3.782V4.39c0-.166.065-.324.182-.44.117-.118.275-.183.44-.183h11.2c.166 0 .325.065.442.182.116.116.182.274.182.44v2.808zm-1.347-2.336h-1.24v1.24h1.24v-1.24z"/></symbol><symbol id="icon-deployment-postgresql" viewBox="0 0 512 512" width="512" height="512"><path d="M256.036 512c-2.004-.004-4.007-.097-6.003-.29-4.007-.39-7.975-1.172-11.83-2.33-3.007-.906-5.944-2.04-8.78-3.39-1.395-.664-2.764-1.384-4.108-2.15-56.33-32.353-112.726-64.593-168.784-97.416-1.55-.917-3.064-1.894-4.532-2.94-2.827-2.014-5.485-4.267-7.934-6.727-3.72-3.736-6.96-7.95-9.616-12.506-2.655-4.553-4.725-9.447-6.143-14.524-.98-3.506-1.648-7.098-1.995-10.72-.173-1.795-.262-3.595-.28-5.397-.417-65.046-.426-130.095-.03-195.14.02-1.8.11-3.6.28-5.395.347-3.623 1.014-7.216 1.992-10.722 1.417-5.078 3.486-9.972 6.14-14.527 2.654-4.557 5.892-8.77 9.612-12.51 2.45-2.46 5.105-4.713 7.932-6.728 1.468-1.046 2.982-2.024 4.532-2.94C112.61 72.764 168.94 40.23 225.47 8.053c1.57-.885 3.173-1.708 4.812-2.456 3.158-1.442 6.438-2.616 9.793-3.508C245.172.736 250.44.037 255.713.015c5.272-.022 10.545.632 15.652 1.943 3.525.905 6.97 2.122 10.282 3.633 1.64.75 3.243 1.57 4.813 2.455 56.538 32.162 112.877 64.68 169.01 97.545 1.55.917 3.064 1.895 4.532 2.94 2.964 2.112 5.742 4.486 8.29 7.086 3.688 3.766 6.892 8.005 9.51 12.58 2.62 4.578 4.65 9.49 6.027 14.58.906 3.35 1.53 6.778 1.86 10.234.173 1.794.262 3.593.28 5.395.417 65.045.426 130.094.03 195.14-.02 1.8-.11 3.6-.28 5.394-.33 3.455-.953 6.883-1.86 10.234-1.374 5.09-3.404 10.003-6.02 14.58-2.618 4.577-5.82 8.817-9.51 12.584-2.546 2.6-5.322 4.976-8.286 7.088-1.468 1.046-2.982 2.024-4.532 2.94-56.123 32.884-112.452 65.416-168.982 97.595-1.346.76-2.717 1.474-4.115 2.133-2.84 1.338-5.78 2.46-8.788 3.353-3.7 1.097-7.5 1.846-11.338 2.236-1.913.195-3.832.296-5.753.315-.167 0-.334.002-.5.003zM188.38 345.623h41.16v-61.88h22.68c38.64 0 71.4-19.04 71.4-61.88 0-44.24-32.48-58.8-72.52-58.8h-62.72v182.56zm41.16-94.64v-55.16h19.04c22.4 0 34.72 7 34.72 26.04s-10.92 29.12-33.6 29.12h-20.16z"/></symbol><symbol id="icon-monitoring" viewBox="0 0 32 32" width="32" height="32"><path d="M17.16 26.882c-.513 0-.953-.335-1.062-.8L12.054 9.048l-2.428 8.22c-.126.454-.557.77-1.054.77H4.017c-.6 0-1.088-.455-1.088-1.017 0-.56.48-1.02 1.08-1.02h3.72l3.34-11.58c.12-.45.56-.78 1.07-.76.5.01.93.34 1.04.81l3.91 16.475 2-9.367c.09-.426.465-.752.93-.81.463-.053.91.177 1.113.57l2.4 4.665h4.427c.6 0 1.09.456 1.09 1.017s-.48 1.012-1.08 1.012h-5.12c-.415 0-.797-.226-.977-.58l-1.287-2.495-2.37 11.114c-.1.468-.54.815-1.06.82h-.01z"/></symbol></svg>');
|
3
|
-
},icon:function(c,h){var l=this.iconName(c),i=document.querySelector("#"+l);return i?'<svg class="svg-icon '+l+" "+(h||"")+'" '+this.dimensions(i)+'><use xlink:href="#'+l+'"/></svg>':void console.error('File not found: "'+c+'.svg" at app/assets/esvg/megatron/')},iconName:function(c){var h=!0;return h?"icon-"+this.dasherize(c):c+"-icon"},dimensions:function(c){return'viewBox="'+c.getAttribute("viewBox")+'" width="'+c.getAttribute("width")+'" height="'+c.getAttribute("height")+'"'},dasherize:function(c){return c.replace(/[W,_]/g,"-").replace(/-{2,}/g,"-")},load:function(){"interactive"==document.readyState&&this.embed(),document.addEventListener("page:change",function(c){this.embed()}.bind(this)),document.addEventListener("DOMContentLoaded",function(c){this.embed()}.bind(this))},aliases:{account:"account-circle-fill",kittens:"account-circle-fill","deployment-beta":"deployment-beta-line","deployment-cluster":"cluster"},alias:function(c){var h=this.aliases[c];return"undefined"!=typeof h?h:c}};esvg.load(),"undefined"!=typeof module&&(module.exports=esvg);
|
4
|
-
},{}],2:[function(require,module,exports){
|
5
|
-
"use strict";var event=require("compose-event"),notify=require("compose-notification"),request=require("superagent"),dialog=require("compose-dialog"),code=require("./utils/code"),toggler=require("compose-toggler"),form=require("compose-remote-form"),esvg=require("./esvg");form.confirm=dialog.show;var timeToggle=require("compose-time-toggle");require("compose-slider"),require("./utils/activate-nav-items"),require("./utils/auto-navigate"),require("./utils/clipboard"),require("./utils/form-flash"),require("./utils/form-response");var popMessage=require("./utils/messages");require("./utils/text-helpers"),require("./utils/progress-bar"),require("./shims/classlist"),event.ready(function(){var e=require("rangetouch");e.set("thumbWidth",19)}),event.change(function(){code.setup()}),window.Megatron=module.exports={dialog:dialog,notify:notify,event:event,form:form,request:request,esvg:esvg,code:code,toggler:toggler,timeToggle:timeToggle,popMessage:popMessage};
|
6
|
-
},{"./esvg":1,"./shims/classlist":3,"./utils/activate-nav-items":4,"./utils/auto-navigate":5,"./utils/clipboard":6,"./utils/code":7,"./utils/form-flash":8,"./utils/form-response":9,"./utils/messages":10,"./utils/progress-bar":11,"./utils/text-helpers":12,"compose-dialog":32,"compose-event":36,"compose-notification":53,"compose-remote-form":57,"compose-slider":64,"compose-time-toggle":66,"compose-toggler":70,"rangetouch":72,"superagent":73}],3:[function(require,module,exports){
|
7
|
-
"use strict";"document"in self&&("classList"in document.createElement("_")?!function(){var t=document.createElement("_");if(t.classList.add("c1","c2"),!t.classList.contains("c2")){var e=function(t){var e=DOMTokenList.prototype[t];DOMTokenList.prototype[t]=function(t){var n,i=arguments.length;for(n=0;n<i;n++)t=arguments[n],e.call(this,t)}};e("add"),e("remove")}if(t.classList.toggle("c3",!1),t.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:n.call(this,t)}}t=null}():!function(t){if("Element"in t){var e="classList",n="prototype",i=t.Element[n],s=Object,r=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},o=Array[n].indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(e in this&&this[e]===t)return e;return-1},a=function(t,e){this.name=t,this.code=DOMException[t],this.message=e},c=function(t,e){if(""===e)throw new a("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(e))throw new a("INVALID_CHARACTER_ERR","String contains an invalid character");return o.call(t,e)},l=function(t){for(var e=r.call(t.getAttribute("class")||""),n=e?e.split(/\s+/):[],i=0,s=n.length;i<s;i++)this.push(n[i]);this._updateClassName=function(){t.setAttribute("class",this.toString())}},u=l[n]=[],f=function(){return new l(this)};if(a[n]=Error[n],u.item=function(t){return this[t]||null},u.contains=function(t){return t+="",c(this,t)!==-1},u.add=function(){var t,e=arguments,n=0,i=e.length,s=!1;do t=e[n]+"",c(this,t)===-1&&(this.push(t),s=!0);while(++n<i);s&&this._updateClassName()},u.remove=function(){var t,e,n=arguments,i=0,s=n.length,r=!1;do for(t=n[i]+"",e=c(this,t);e!==-1;)this.splice(e,1),r=!0,e=c(this,t);while(++i<s);r&&this._updateClassName()},u.toggle=function(t,e){t+="";var n=this.contains(t),i=n?e!==!0&&"remove":e!==!1&&"add";return i&&this[i](t),e===!0||e===!1?e:!n},u.toString=function(){return this.join(" ")},s.defineProperty){var h={get:f,enumerable:!0,configurable:!0};try{s.defineProperty(i,e,h)}catch(t){t.number===-2146823252&&(h.enumerable=!1,s.defineProperty(i,e,h))}}else s[n].__defineGetter__&&i.__defineGetter__(e,f)}}(self));
|
8
|
-
},{}],4:[function(require,module,exports){
|
9
|
-
"use strict";var Event=require("compose-event");Event.change(function(){Array.prototype.forEach.call(document.querySelectorAll("[data-match-url]"),function(t){var e=t.getAttribute("data-match-url");e&&new RegExp(t.dataset.matchUrl,"i").test(location.pathname)&&t.classList.add("here")})});
|
10
|
-
},{"compose-event":36}],5:[function(require,module,exports){
|
11
|
-
"use strict";var Event=require("compose-event");Event.ready(function(){Event.on(document,"click",".auto-navigate",function(e){var t=e.target;if("a"!=t.tagName.toLowerCase()){var a=e.currentTarget.querySelector("a.navigate");e.metaKey?window.open(a):Event.fire(a,"click")}})});
|
12
|
-
},{"compose-event":36}],6:[function(require,module,exports){
|
13
|
-
"use strict";var Event=require("compose-event"),clipboard=require("clipboard"),Clipboard={setup:function(){if(document.queryCommandSupported("copy")){var e=new clipboard("[data-clipboard-target],[data-clipboard-text]");e.on("success",Clipboard.success),e.on("error",Clipboard.failure)}else Array.prototype.forEach.call(document.querySelectorAll("[data-clipboard-target],[data-clipboard-text]"),function(e){e.classList.add("hidden")})},success:function(e){e.trigger.classList.add("clipboard-copied"),setTimeout(function(){e.trigger.classList.remove("clipboard-copied")},1200)},error:function(e){cbEvent.trigger.classList.add("clipboard-failed"),setTimeout(function(){cbEvent.trigger.classList.remove("clipboard-failed")},1200)}};Event.change(Clipboard.setup);
|
14
|
-
},{"clipboard":14,"compose-event":36}],7:[function(require,module,exports){
|
15
|
-
"use strict";function getOptions(e){var r=highlighter.aliasLang(e.dataset.lang||"plain");return{mode:r,indent:e.dataset.indent,lineWrapping:e.dataset.wrap,matchBrackets:e.dataset.matchBrackets}}function newEditor(e,r){r=r||{},r=Object.assign({},editorDefaults,getOptions(e)),CodeMirror.fromTextArea(e,r)}function setup(){highlighter.highlight();var e=document.querySelectorAll("textarea[data-lang]");Array.prototype.forEach.call(e,newEditor)}var highlighter=require("compose-code-highlighter"),CodeMirror=require("codemirror");require("codemirror/mode/htmlmixed/htmlmixed"),require("codemirror/mode/slim/slim"),require("codemirror/mode/javascript/javascript"),require("codemirror/mode/css/css"),require("codemirror/mode/sql/sql"),require("codemirror/addon/runmode/runmode.js"),require("codemirror/addon/edit/matchbrackets.js"),highlighter.addAlias({pgsql:"text/x-pgsql"});var editorDefaults={indent:2,matchBrackets:!0,lineWrapping:!0},code=CodeMirror;code.highlighter=highlighter,code.highlight=highlighter.highlight,code.addAlias=highlighter.addAlias,code.aliasLang=highlighter.aliasLang,code.newEditor=newEditor,code.setup=setup,module.exports=code;
|
16
|
-
},{"codemirror":23,"codemirror/addon/edit/matchbrackets.js":21,"codemirror/addon/runmode/runmode.js":22,"codemirror/mode/css/css":24,"codemirror/mode/htmlmixed/htmlmixed":25,"codemirror/mode/javascript/javascript":26,"codemirror/mode/slim/slim":28,"codemirror/mode/sql/sql":29,"compose-code-highlighter":31}],8:[function(require,module,exports){
|
17
|
-
"use strict";var Event=require("compose-event"),Notify=require("compose-notification");Event.change(function(){var e=document.querySelector(".form-flash");if(e){var t=e.dataset.type||"error";"info"==t&&(t="action"),Notify[t](e.textContent.trim()),e.classList.add("hidden")}});
|
18
|
-
},{"compose-event":36,"compose-notification":53}],9:[function(require,module,exports){
|
19
|
-
"use strict";var Form=require("compose-remote-form"),Notify=require("compose-notification"),Dialog=require("compose-dialog"),Event=require("compose-event"),FormMessage={defaultFormMessages:{beforeSend:"Submitting...",success:"Success!",error:"Sorry, something went wrong."},setup:function(){Form.on(document,{beforeSend:self.trigger,error:self.trigger,success:self.trigger})},trigger:function(e,s,r){var o=self.getFormMessage(e,s);o||(r&&(o=self.getResponseMessage(r)),o=o||self.defaultFormMessages[s]),"beforeSend"==s?Notify.progress(o):Notify[s](o);var t=self.parseResponse(r,"redirect_to");t&&setTimeout(function(){Turbolinks?Turbolinks.visit(t):window.location=t},500)},parseResponse:function(e,s){try{return JSON.parse(e.responseText)[s]}catch(e){return}},getResponseMessage:function(e){var s=self.parseResponse(e,"messages");return s},getFormMessage:function(e,s){if(e.dataset[s])return e.dataset[s];var r=e.querySelector("[data-ajax-event="+s+"], script."+s);return r?r.innerHTML:void 0}};Event.ready(FormMessage.setup);var self=FormMessage;module.exports=FormMessage;
|
20
|
-
},{"compose-dialog":32,"compose-event":36,"compose-notification":53,"compose-remote-form":57}],10:[function(require,module,exports){
|
21
|
-
"use strict";var request=require("superagent"),Event=require("compose-event"),Messages={el:function(){return document.querySelector(".pop-message")},fetch:function(){request.get("/messages.json").end(this.end.bind(this))},dismiss:function(s){self=this,s.preventDefault(),s.stopPropagation(),request.get(s.currentTarget.getAttribute("href")).end(function(s,e){self.fetch()}),this.el().remove(),window.Megatron.accountMessage=null},end:function(s,e){if(!s&&!e.serverError){var t=JSON.parse(e.text)[0];if(t){var a=this.messageHTML(t);this.saveMessage(a),this.showMessage(a),Event.on(this.el(),"click",".dismiss",this.dismiss.bind(this))}}},messageHTML:function(s){s.style=s.style||"";var e="message-content ";s.style&&(e+=s.style),s.url&&(e+=" with-url"),s.dismissable&&(e+=" dismissable");var t="<div class='"+e+"'>";return s.dismissable&&(t+="<a href='/messages/"+s.id+"/dismiss' class='dismiss' data-no-turbolink><span class='dismiss-icon'></span><span class='hidden_label'>dismiss message</span></a>"),t+="<p>",t+=s.url?"<a href='/messages/"+s.id+"/link'>"+s.body+"</a>":s.body,t+="</p></div>"},saveMessage:function(s){window.Megatron.accountMessage=s},showMessage:function(s){if(this.el())this.el().innerHTML=s;else{var e=document.querySelector(".site-header");null==e.dataset.noMessages&&(e.innerHTML="<div class='pop-message'>"+s+"</div>"+e.innerHTML)}},load:function(){if(window.location.hostname.match(/app\.compose/)){var s=window.Megatron.accountMessage;s?Messages.showMessage(s):Messages.fetch()}}};module.exports=Messages,Event.ready(Messages.load);
|
22
|
-
},{"compose-event":36,"superagent":73}],11:[function(require,module,exports){
|
23
|
-
"use strict";var Event=require("compose-event"),NProgress=require("nprogress");NProgress.configure({showSpinner:!1}),Event.on(document,"page:fetch",function(){NProgress.start()}),Event.on(document,"page:change",function(){NProgress.done()}),Event.on(document,"page:restore",function(){NProgress.remove()});
|
24
|
-
},{"compose-event":36,"nprogress":71}],12:[function(require,module,exports){
|
25
|
-
"use strict";var Event=require("compose-event"),TextHelpers={listen:function(){Event.on(document,"click",".click-select, [data-click-select]",TextHelpers.selectOnClick)},setup:function(){TextHelpers.linkHeadings(),TextHelpers.autoSizeTextarea(),TextHelpers.autofocus()},selectOnClick:function(e){var t=e.currentTarget.dataset.clickSelect,r=[e.target];t&&(r=document.querySelectorAll(t)),Array.prototype.forEach.call(r,function(e){e.hasAttribute("contenteditable")?(e.focus(),document.execCommand("selectAll",!1)):e.select()})},linkHeadings:function(){var e=document.querySelectorAll("h2[id], h3[id], h4[id], h5[id]");Array.prototype.forEach.call(e,function(e){e.innerHTML="<a href='#"+e.id+"' class='heading-link'>"+e.innerHTML+"</a>",e.className=e.className+" linked_heading"})},autoSizeTextarea:function(){var e=function(e){e.classList.contains("fixed")||e.parentElement.classList.contains("textarea-size-wrapper")||(e.outerHTML="<div class='textarea-size-wrapper'>"+e.outerHTML+"</div>")},t=function(e){if(!e.classList.contains("fixed")){e.parentElement.style.height=e.style.height;var t=e.offsetHeight-e.clientHeight;e.style.height="auto";var r=e.scrollHeight+t,a=.95*window.innerHeight;r<a?e.style.height=r+"px":e.style.height=a+"px",e.parentElement.style.height="auto"}};Array.prototype.forEach.call(document.querySelectorAll("textarea"),e),Array.prototype.forEach.call(document.querySelectorAll(".textarea-size-wrapper textarea"),t),Event.on(document.querySelector("body"),"keyup toggler:show","textarea",function(e){t(e.currentTarget)})},autofocus:function(){var e=document.querySelector(".autofocus");e&&e.focus()}};Event.ready(TextHelpers.listen),Event.change(TextHelpers.setup);
|
26
|
-
},{"compose-event":36}],13:[function(require,module,exports){
|
27
|
-
!function(e,t){if("function"==typeof define&&define.amd)define(["module","select"],t);else if("undefined"!=typeof exports)t(module,require("select"));else{var i={exports:{}};t(i,e.select),e.clipboardAction=i.exports}}(this,function(e,t){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=i(t),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),l=function(){function e(t){n(this,e),this.resolveOptions(t),this.initSelection()}return r(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=document.body.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var i=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.addEventListener("focus",window.scrollTo(0,i)),this.fakeElem.style.top=i+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=(0,o.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(document.body.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,o.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==("undefined"==typeof e?"undefined":a(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=l});
|
28
|
-
},{"select":19}],14:[function(require,module,exports){
|
29
|
-
!function(t,e){if("function"==typeof define&&define.amd)define(["module","./clipboard-action","tiny-emitter","good-listener"],e);else if("undefined"!=typeof exports)e(module,require("./clipboard-action"),require("tiny-emitter"),require("good-listener"));else{var n={exports:{}};e(n,t.clipboardAction,t.tinyEmitter,t.goodListener),t.clipboard=n.exports}}(this,function(t,e,n,i){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function c(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}var l=r(e),f=r(n),s=r(i),d=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),p=function(t){function e(t,n){o(this,e);var i=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return i.resolveOptions(n),i.listenClick(t),i}return u(e,t),d(e,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,s.default)(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l.default({action:this.action(e),target:this.target(e),text:this.text(e),trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return c("action",t)}},{key:"defaultTarget",value:function(t){var e=c("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return c("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}]),e}(f.default);t.exports=p});
|
30
|
-
},{"./clipboard-action":13,"good-listener":18,"tiny-emitter":20}],15:[function(require,module,exports){
|
31
|
-
function closest(e,t){for(;e&&e.nodeType!==DOCUMENT_NODE_TYPE;){if(e.matches(t))return e;e=e.parentNode}}var DOCUMENT_NODE_TYPE=9;if(Element&&!Element.prototype.matches){var proto=Element.prototype;proto.matches=proto.matchesSelector||proto.mozMatchesSelector||proto.msMatchesSelector||proto.oMatchesSelector||proto.webkitMatchesSelector}module.exports=closest;
|
32
|
-
},{}],16:[function(require,module,exports){
|
33
|
-
function delegate(e,t,r,n,l){var s=listener.apply(this,arguments);return e.addEventListener(r,s,l),{destroy:function(){e.removeEventListener(r,s,l)}}}function listener(e,t,r,n){return function(r){r.delegateTarget=closest(r.target,t),r.delegateTarget&&n.call(e,r)}}var closest=require("./closest");module.exports=delegate;
|
34
|
-
},{"./closest":15}],17:[function(require,module,exports){
|
35
|
-
exports.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},exports.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||exports.node(t[0]))},exports.string=function(t){return"string"==typeof t||t instanceof String},exports.fn=function(t){var n=Object.prototype.toString.call(t);return"[object Function]"===n};
|
36
|
-
},{}],18:[function(require,module,exports){
|
37
|
-
function listen(e,t,r){if(!e&&!t&&!r)throw new Error("Missing required arguments");if(!is.string(t))throw new TypeError("Second argument must be a String");if(!is.fn(r))throw new TypeError("Third argument must be a Function");if(is.node(e))return listenNode(e,t,r);if(is.nodeList(e))return listenNodeList(e,t,r);if(is.string(e))return listenSelector(e,t,r);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function listenNode(e,t,r){return e.addEventListener(t,r),{destroy:function(){e.removeEventListener(t,r)}}}function listenNodeList(e,t,r){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,r)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,r)})}}}function listenSelector(e,t,r){return delegate(document.body,e,t,r)}var is=require("./is"),delegate=require("delegate");module.exports=listen;
|
38
|
-
},{"./is":17,"delegate":16}],19:[function(require,module,exports){
|
39
|
-
function select(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),o=document.createRange();o.selectNodeContents(e),n.removeAllRanges(),n.addRange(o),t=n.toString()}return t}module.exports=select;
|
40
|
-
},{}],20:[function(require,module,exports){
|
41
|
-
function E(){}E.prototype={on:function(t,n,e){var i=this.e||(this.e={});return(i[t]||(i[t]=[])).push({fn:n,ctx:e}),this},once:function(t,n,e){function i(){f.off(t,i),n.apply(e,arguments)}var f=this;return i._=n,this.on(t,i,e)},emit:function(t){var n=[].slice.call(arguments,1),e=((this.e||(this.e={}))[t]||[]).slice(),i=0,f=e.length;for(i;i<f;i++)e[i].fn.apply(e[i].ctx,n);return this},off:function(t,n){var e=this.e||(this.e={}),i=e[t],f=[];if(i&&n)for(var o=0,r=i.length;o<r;o++)i[o].fn!==n&&i[o].fn._!==n&&f.push(i[o]);return f.length?e[t]=f:delete e[t],this}},module.exports=E;
|
42
|
-
},{}],21:[function(require,module,exports){
|
43
|
-
!function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){function t(e,t,i,r){var o=e.getLineHandle(t.line),l=t.ch-1,f=l>=0&&c[o.text.charAt(l)]||c[o.text.charAt(++l)];if(!f)return null;var u=">"==f.charAt(1)?1:-1;if(i&&u>0!=(l==t.ch))return null;var h=e.getTokenTypeAt(a(t.line,l+1)),s=n(e,a(t.line,l+(u>0?1:0)),u,h||null,r);return null==s?null:{from:a(t.line,l),to:s&&s.pos,match:s&&s.ch==f.charAt(0),forward:u>0}}function n(e,t,n,i,r){for(var o=r&&r.maxScanLineLength||1e4,l=r&&r.maxScanLines||1e3,f=[],u=r&&r.bracketRegex?r.bracketRegex:/[(){}[\]]/,h=n>0?Math.min(t.line+l,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-l),s=t.line;s!=h;s+=n){var m=e.getLine(s);if(m){var d=n>0?0:m.length-1,g=n>0?m.length:-1;if(!(m.length>o))for(s==t.line&&(d=t.ch-(n<0?1:0));d!=g;d+=n){var p=m.charAt(d);if(u.test(p)&&(void 0===i||e.getTokenTypeAt(a(s,d+1))==i)){var v=c[p];if(">"==v.charAt(1)==n>0)f.push(p);else{if(!f.length)return{pos:a(s,d),ch:p};f.pop()}}}}}return s-n!=(n>0?e.lastLine():e.firstLine())&&null}function i(e,n,i){for(var r=e.state.matchBrackets.maxHighlightLineLength||1e3,c=[],l=e.listSelections(),f=0;f<l.length;f++){var u=l[f].empty()&&t(e,l[f].head,!1,i);if(u&&e.getLine(u.from.line).length<=r){var h=u.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";c.push(e.markText(u.from,a(u.from.line,u.from.ch+1),{className:h})),u.to&&e.getLine(u.to.line).length<=r&&c.push(e.markText(u.to,a(u.to.line,u.to.ch+1),{className:h}))}}if(c.length){o&&e.state.focused&&e.focus();var s=function(){e.operation(function(){for(var e=0;e<c.length;e++)c[e].clear()})};if(!n)return s;setTimeout(s,800)}}function r(e){e.operation(function(){l&&(l(),l=null),l=i(e,!1,e.state.matchBrackets)})}var o=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),a=e.Pos,c={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"},l=null;e.defineOption("matchBrackets",!1,function(t,n,i){i&&i!=e.Init&&(t.off("cursorActivity",r),l&&(l(),l=null)),n&&(t.state.matchBrackets="object"==typeof n?n:{},t.on("cursorActivity",r))}),e.defineExtension("matchBrackets",function(){i(this,!0)}),e.defineExtension("findMatchingBracket",function(e,n,i){return t(this,e,n,i)}),e.defineExtension("scanForBracket",function(e,t,i,r){return n(this,e,t,i,r)})});
|
44
|
-
},{"../../lib/codemirror":23}],22:[function(require,module,exports){
|
45
|
-
!function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";e.runMode=function(t,n,r,o){var a=e.getMode(e.defaults,n),d=/MSIE \d/.test(navigator.userAgent),i=d&&(null==document.documentMode||document.documentMode<9);if(r.appendChild){var c=o&&o.tabSize||e.defaults.tabSize,l=r,u=0;l.innerHTML="",r=function(e,t){if("\n"==e)return l.appendChild(document.createTextNode(i?"\r":e)),void(u=0);for(var n="",r=0;;){var o=e.indexOf("\t",r);if(o==-1){n+=e.slice(r),u+=e.length-r;break}u+=o-r,n+=e.slice(r,o);var a=c-u%c;u+=a;for(var d=0;d<a;++d)n+=" ";r=o+1}if(t){var f=l.appendChild(document.createElement("span"));f.className="cm-"+t.replace(/ +/g," cm-"),f.appendChild(document.createTextNode(n))}else l.appendChild(document.createTextNode(n))}}for(var f=e.splitLines(t),s=o&&o.state||e.startState(a),p=0,m=f.length;p<m;++p){p&&r("\n");var v=new e.StringStream(f[p]);for(!v.string&&a.blankLine&&a.blankLine(s);!v.eol();){var b=a.token(v,s);r(v.current(),b,p,v.start,s),v.start=v.pos}}}});
|
46
|
-
},{"../../lib/codemirror":23}],23:[function(require,module,exports){
|
47
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.CodeMirror=t()}(this,function(){"use strict";function e(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function t(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function r(e,r){return t(e).appendChild(r)}function n(e,t,r,n){var i=document.createElement(e);if(r&&(i.className=r),n&&(i.style.cssText=n),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function i(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do if(11==t.nodeType&&(t=t.host),t==e)return!0;while(t=t.parentNode)}function o(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.root&&e.root.activeElement;)e=e.root.activeElement;return e}function l(t,r){var n=t.className;e(r).test(n)||(t.className+=(n?" ":"")+r)}function s(t,r){for(var n=t.split(" "),i=0;i<n.length;i++)n[i]&&!e(n[i]).test(r)&&(r+=" "+n[i]);return r}function a(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function u(e,t,r){t||(t={});for(var n in e)!e.hasOwnProperty(n)||r===!1&&t.hasOwnProperty(n)||(t[n]=e[n]);return t}function c(e,t,r,n,i){null==t&&(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var o=n||0,l=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return l+(t-o);l+=s-o,l+=r-l%r,o=s+1}}function f(){this.id=null}function h(e,t){for(var r=0;r<e.length;++r)if(e[r]==t)return r;return-1}function d(e,t,r){for(var n=0,i=0;;){var o=e.indexOf("\t",n);o==-1&&(o=e.length);var l=o-n;if(o==e.length||i+l>=t)return n+Math.min(l,t-i);if(i+=o-n,i+=r-i%r,n=o+1,i>=t)return n}}function p(e){for(;Ol.length<=e;)Ol.push(g(Ol)+" ");return Ol[e]}function g(e){return e[e.length-1]}function v(e,t){for(var r=[],n=0;n<e.length;n++)r[n]=t(e[n],n);return r}function m(e,t,r){for(var n=0,i=r(t);n<e.length&&r(e[n])<=i;)n++;e.splice(n,0,t)}function y(){}function b(e,t){var r;return Object.create?r=Object.create(e):(y.prototype=e,r=new y),t&&u(t,r),r}function w(e){return/\w/.test(e)||e>""&&(e.toUpperCase()!=e.toLowerCase()||Wl.test(e))}function x(e,t){return t?!!(t.source.indexOf("\\w")>-1&&w(e))||t.test(e):w(e)}function C(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function S(e){return e.charCodeAt(0)>=768&&Al.test(e)}function L(e,t,r){var i=this;this.input=r,i.scrollbarFiller=n("div",null,"CodeMirror-scrollbar-filler"),i.scrollbarFiller.setAttribute("cm-not-content","true"),i.gutterFiller=n("div",null,"CodeMirror-gutter-filler"),i.gutterFiller.setAttribute("cm-not-content","true"),i.lineDiv=n("div",null,"CodeMirror-code"),i.selectionDiv=n("div",null,null,"position: relative; z-index: 1"),i.cursorDiv=n("div",null,"CodeMirror-cursors"),i.measure=n("div",null,"CodeMirror-measure"),i.lineMeasure=n("div",null,"CodeMirror-measure"),i.lineSpace=n("div",[i.measure,i.lineMeasure,i.selectionDiv,i.cursorDiv,i.lineDiv],null,"position: relative; outline: none"),i.mover=n("div",[n("div",[i.lineSpace],"CodeMirror-lines")],null,"position: relative"),i.sizer=n("div",[i.mover],"CodeMirror-sizer"),i.sizerWidth=null,i.heightForcer=n("div",null,null,"position: absolute; height: "+Ll+"px; width: 1px;"),i.gutters=n("div",null,"CodeMirror-gutters"),i.lineGutter=null,i.scroller=n("div",[i.sizer,i.heightForcer,i.gutters],"CodeMirror-scroll"),i.scroller.setAttribute("tabIndex","-1"),i.wrapper=n("div",[i.scrollbarFiller,i.gutterFiller,i.scroller],"CodeMirror"),rl&&nl<8&&(i.gutters.style.zIndex=-1,i.scroller.style.paddingRight=0),il||Jo&&hl||(i.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(i.wrapper):e(i.wrapper)),i.viewFrom=i.viewTo=t.first,i.reportedViewFrom=i.reportedViewTo=t.first,i.view=[],i.renderedView=null,i.externalMeasured=null,i.viewOffset=0,i.lastWrapHeight=i.lastWrapWidth=0,i.updateLineNumbers=null,i.nativeBarWidth=i.barHeight=i.barWidth=0,i.scrollbarsClipped=!1,i.lineNumWidth=i.lineNumInnerWidth=i.lineNumChars=null,i.alignWidgets=!1,i.cachedCharWidth=i.cachedTextHeight=i.cachedPaddingH=null,i.maxLine=null,i.maxLineLength=0,i.maxLineChanged=!1,i.wheelDX=i.wheelDY=i.wheelStartX=i.wheelStartY=null,i.shift=!1,i.selForContextMenu=null,i.activeTouch=null,r.init(i)}function T(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var r=e;!r.lines;)for(var n=0;;++n){var i=r.children[n],o=i.chunkSize();if(t<o){r=i;break}t-=o}return r.lines[t]}function M(e,t,r){var n=[],i=t.line;return e.iter(t.line,r.line+1,function(e){var o=e.text;i==r.line&&(o=o.slice(0,r.ch)),i==t.line&&(o=o.slice(t.ch)),n.push(o),++i}),n}function k(e,t,r){var n=[];return e.iter(t,r,function(e){n.push(e.text)}),n}function N(e,t){var r=t-e.height;if(r)for(var n=e;n;n=n.parent)n.height+=r}function O(e){if(null==e.parent)return null;for(var t=e.parent,r=h(t.lines,e),n=t.parent;n;t=n,n=n.parent)for(var i=0;n.children[i]!=t;++i)r+=n.children[i].chunkSize();return r+t.first}function W(e,t){var r=e.first;e:do{for(var n=0;n<e.children.length;++n){var i=e.children[n],o=i.height;if(t<o){e=i;continue e}t-=o,r+=i.chunkSize()}return r}while(!e.lines);for(var l=0;l<e.lines.length;++l){var s=e.lines[l],a=s.height;if(t<a)break;t-=a}return r+l}function A(e,t){return t>=e.first&&t<e.first+e.size}function D(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function H(e,t){return this instanceof H?(this.line=e,void(this.ch=t)):new H(e,t)}function P(e,t){return e.line-t.line||e.ch-t.ch}function E(e){return H(e.line,e.ch)}function I(e,t){return P(e,t)<0?t:e}function z(e,t){return P(e,t)<0?e:t}function F(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function R(e,t){if(t.line<e.first)return H(e.first,0);var r=e.first+e.size-1;return t.line>r?H(r,T(e,r).text.length):B(t,T(e,t.line).text.length)}function B(e,t){var r=e.ch;return null==r||r>t?H(e.line,t):r<0?H(e.line,0):e}function G(e,t){for(var r=[],n=0;n<t.length;n++)r[n]=R(e,t[n]);return r}function U(){Dl=!0}function V(){Hl=!0}function K(e,t,r){this.marker=e,this.from=t,this.to=r}function j(e,t){if(e)for(var r=0;r<e.length;++r){var n=e[r];if(n.marker==t)return n}}function X(e,t){for(var r,n=0;n<e.length;++n)e[n]!=t&&(r||(r=[])).push(e[n]);return r}function Y(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}function _(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var o=e[i],l=o.marker,s=null==o.from||(l.inclusiveLeft?o.from<=t:o.from<t);if(s||o.from==t&&"bookmark"==l.type&&(!r||!o.marker.insertLeft)){var a=null==o.to||(l.inclusiveRight?o.to>=t:o.to>t);(n||(n=[])).push(new K(l,o.from,a?null:o.to))}}return n}function $(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var o=e[i],l=o.marker,s=null==o.to||(l.inclusiveRight?o.to>=t:o.to>t);if(s||o.from==t&&"bookmark"==l.type&&(!r||o.marker.insertLeft)){var a=null==o.from||(l.inclusiveLeft?o.from<=t:o.from<t);(n||(n=[])).push(new K(l,a?null:o.from-t,null==o.to?null:o.to-t))}}return n}function q(e,t){if(t.full)return null;var r=A(e,t.from.line)&&T(e,t.from.line).markedSpans,n=A(e,t.to.line)&&T(e,t.to.line).markedSpans;if(!r&&!n)return null;var i=t.from.ch,o=t.to.ch,l=0==P(t.from,t.to),s=_(r,i,l),a=$(n,o,l),u=1==t.text.length,c=g(t.text).length+(u?i:0);if(s)for(var f=0;f<s.length;++f){var h=s[f];if(null==h.to){var d=j(a,h.marker);d?u&&(h.to=null==d.to?null:d.to+c):h.to=i}}if(a)for(var p=0;p<a.length;++p){var v=a[p];if(null!=v.to&&(v.to+=c),null==v.from){var m=j(s,v.marker);m||(v.from=c,u&&(s||(s=[])).push(v))}else v.from+=c,u&&(s||(s=[])).push(v)}s&&(s=Z(s)),a&&a!=s&&(a=Z(a));var y=[s];if(!u){var b,w=t.text.length-2;if(w>0&&s)for(var x=0;x<s.length;++x)null==s[x].to&&(b||(b=[])).push(new K(s[x].marker,null,null));for(var C=0;C<w;++C)y.push(b);y.push(a)}return y}function Z(e){for(var t=0;t<e.length;++t){var r=e[t];null!=r.from&&r.from==r.to&&r.marker.clearWhenEmpty!==!1&&e.splice(t--,1)}return e.length?e:null}function Q(e,t,r){var n=null;if(e.iter(t.line,r.line+1,function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var r=e.markedSpans[t].marker;!r.readOnly||n&&h(n,r)!=-1||(n||(n=[])).push(r)}}),!n)return null;for(var i=[{from:t,to:r}],o=0;o<n.length;++o)for(var l=n[o],s=l.find(0),a=0;a<i.length;++a){var u=i[a];if(!(P(u.to,s.from)<0||P(u.from,s.to)>0)){var c=[a,1],f=P(u.from,s.from),d=P(u.to,s.to);(f<0||!l.inclusiveLeft&&!f)&&c.push({from:u.from,to:s.from}),(d>0||!l.inclusiveRight&&!d)&&c.push({from:s.to,to:u.to}),i.splice.apply(i,c),a+=c.length-1}}return i}function J(e){var t=e.markedSpans;if(t){for(var r=0;r<t.length;++r)t[r].marker.detachLine(e);e.markedSpans=null}}function ee(e,t){if(t){for(var r=0;r<t.length;++r)t[r].marker.attachLine(e);e.markedSpans=t}}function te(e){return e.inclusiveLeft?-1:0}function re(e){return e.inclusiveRight?1:0}function ne(e,t){var r=e.lines.length-t.lines.length;if(0!=r)return r;var n=e.find(),i=t.find(),o=P(n.from,i.from)||te(e)-te(t);if(o)return-o;var l=P(n.to,i.to)||re(e)-re(t);return l?l:t.id-e.id}function ie(e,t){var r,n=Hl&&e.markedSpans;if(n)for(var i=void 0,o=0;o<n.length;++o)i=n[o],i.marker.collapsed&&null==(t?i.from:i.to)&&(!r||ne(r,i.marker)<0)&&(r=i.marker);return r}function oe(e){return ie(e,!0)}function le(e){return ie(e,!1)}function se(e,t,r,n,i){var o=T(e,t),l=Hl&&o.markedSpans;if(l)for(var s=0;s<l.length;++s){var a=l[s];if(a.marker.collapsed){var u=a.marker.find(0),c=P(u.from,r)||te(a.marker)-te(i),f=P(u.to,n)||re(a.marker)-re(i);if(!(c>=0&&f<=0||c<=0&&f>=0)&&(c<=0&&(a.marker.inclusiveRight&&i.inclusiveLeft?P(u.to,r)>=0:P(u.to,r)>0)||c>=0&&(a.marker.inclusiveRight&&i.inclusiveLeft?P(u.from,n)<=0:P(u.from,n)<0)))return!0}}}function ae(e){for(var t;t=oe(e);)e=t.find(-1,!0).line;return e}function ue(e){for(var t,r;t=le(e);)e=t.find(1,!0).line,(r||(r=[])).push(e);return r}function ce(e,t){var r=T(e,t),n=ae(r);return r==n?t:O(n)}function fe(e,t){if(t>e.lastLine())return t;var r,n=T(e,t);if(!he(e,n))return t;for(;r=le(n);)n=r.find(1,!0).line;return O(n)+1}function he(e,t){var r=Hl&&t.markedSpans;if(r)for(var n=void 0,i=0;i<r.length;++i)if(n=r[i],n.marker.collapsed){if(null==n.from)return!0;if(!n.marker.widgetNode&&0==n.from&&n.marker.inclusiveLeft&&de(e,t,n))return!0}}function de(e,t,r){if(null==r.to){var n=r.marker.find(1,!0);return de(e,n.line,j(n.line.markedSpans,r.marker))}if(r.marker.inclusiveRight&&r.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if(i=t.markedSpans[o],i.marker.collapsed&&!i.marker.widgetNode&&i.from==r.to&&(null==i.to||i.to!=r.from)&&(i.marker.inclusiveLeft||r.marker.inclusiveRight)&&de(e,t,i))return!0}function pe(e){e=ae(e);for(var t=0,r=e.parent,n=0;n<r.lines.length;++n){var i=r.lines[n];if(i==e)break;t+=i.height}for(var o=r.parent;o;r=o,o=r.parent)for(var l=0;l<o.children.length;++l){var s=o.children[l];if(s==r)break;t+=s.height}return t}function ge(e){if(0==e.height)return 0;for(var t,r=e.text.length,n=e;t=oe(n);){var i=t.find(0,!0);n=i.from.line,r+=i.from.ch-i.to.ch}for(n=e;t=le(n);){var o=t.find(0,!0);r-=n.text.length-o.from.ch,n=o.to.line,r+=n.text.length-o.to.ch}return r}function ve(e){var t=e.display,r=e.doc;t.maxLine=T(r,r.first),t.maxLineLength=ge(t.maxLine),t.maxLineChanged=!0,r.iter(function(e){var r=ge(e);r>t.maxLineLength&&(t.maxLineLength=r,t.maxLine=e)})}function me(e,t,r,n){if(!e)return n(t,r,"ltr");for(var i=!1,o=0;o<e.length;++o){var l=e[o];(l.from<r&&l.to>t||t==r&&l.to==t)&&(n(Math.max(l.from,t),Math.min(l.to,r),1==l.level?"rtl":"ltr"),i=!0)}i||n(t,r,"ltr")}function ye(e){return e.level%2?e.to:e.from}function be(e){return e.level%2?e.from:e.to}function we(e){var t=ke(e);return t?ye(t[0]):0}function xe(e){var t=ke(e);return t?be(g(t)):e.text.length}function Ce(e,t,r){var n=e[0].level;return t==n||r!=n&&t<r}function Se(e,t){var r;Pl=null;for(var n=0;n<e.length;++n){var i=e[n];if(i.from<t&&i.to>t)return n;if(i.from==t||i.to==t){if(null!=r)return Ce(e,i.level,e[r].level)?(i.from!=i.to&&(Pl=r),n):(i.from!=i.to&&(Pl=n),r);r=n}}return r}function Le(e,t,r,n){if(!n)return t+r;do t+=r;while(t>0&&S(e.text.charAt(t)));return t}function Te(e,t,r,n){var i=ke(e);if(!i)return Me(e,t,r,n);for(var o=Se(i,t),l=i[o],s=Le(e,t,l.level%2?-r:r,n);;){if(s>l.from&&s<l.to)return s;if(s==l.from||s==l.to)return Se(i,s)==o?s:(l=i[o+=r],r>0==l.level%2?l.to:l.from);if(l=i[o+=r],!l)return null;s=r>0==l.level%2?Le(e,l.to,-1,n):Le(e,l.from,1,n)}}function Me(e,t,r,n){var i=t+r;if(n)for(;i>0&&S(e.text.charAt(i));)i+=r;return i<0||i>e.text.length?null:i}function ke(e){var t=e.order;return null==t&&(t=e.order=El(e.text)),t}function Ne(e,t){return e._handlers&&e._handlers[t]||Il}function Oe(e,t,r){if(e.removeEventListener)e.removeEventListener(t,r,!1);else if(e.detachEvent)e.detachEvent("on"+t,r);else{var n=e._handlers,i=n&&n[t];if(i){var o=h(i,r);o>-1&&(n[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function We(e,t){var r=Ne(e,t);if(r.length)for(var n=Array.prototype.slice.call(arguments,2),i=0;i<r.length;++i)r[i].apply(null,n)}function Ae(e,t,r){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),We(e,r||t.type,e,t),ze(t)||t.codemirrorIgnore}function De(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var r=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),n=0;n<t.length;++n)h(r,t[n])==-1&&r.push(t[n])}function He(e,t){return Ne(e,t).length>0}function Pe(e){e.prototype.on=function(e,t){zl(this,e,t)},e.prototype.off=function(e,t){Oe(this,e,t)}}function Ee(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Ie(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function ze(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Fe(e){Ee(e),Ie(e)}function Re(e){return e.target||e.srcElement}function Be(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),dl&&e.ctrlKey&&1==t&&(t=3),t}function Ge(e){if(null==Cl){var t=n("span","");r(e,n("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Cl=t.offsetWidth<=1&&t.offsetHeight>2&&!(rl&&nl<8))}var i=Cl?n("span",""):n("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}function Ue(e){if(null!=Sl)return Sl;var n=r(e,document.createTextNode("AخA")),i=ml(n,0,1).getBoundingClientRect(),o=ml(n,1,2).getBoundingClientRect();return t(e),!(!i||i.left==i.right)&&(Sl=o.right-i.right<3)}function Ve(e){if(null!=Ul)return Ul;var t=r(e,n("span","x")),i=t.getBoundingClientRect(),o=ml(t,0,1).getBoundingClientRect();return Ul=Math.abs(i.left-o.left)>1}function Ke(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Vl[e]=t}function je(e,t){Kl[e]=t}function Xe(e){if("string"==typeof e&&Kl.hasOwnProperty(e))e=Kl[e];else if(e&&"string"==typeof e.name&&Kl.hasOwnProperty(e.name)){var t=Kl[e.name];"string"==typeof t&&(t={name:t}),e=b(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Xe("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Xe("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ye(e,t){t=Xe(t);var r=Vl[t.name];if(!r)return Ye(e,"text/plain");var n=r(e,t);if(jl.hasOwnProperty(t.name)){var i=jl[t.name];for(var o in i)i.hasOwnProperty(o)&&(n.hasOwnProperty(o)&&(n["_"+o]=n[o]),n[o]=i[o])}if(n.name=t.name,t.helperType&&(n.helperType=t.helperType),t.modeProps)for(var l in t.modeProps)n[l]=t.modeProps[l];return n}function _e(e,t){var r=jl.hasOwnProperty(e)?jl[e]:jl[e]={};u(t,r)}function $e(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var r={};for(var n in t){var i=t[n];i instanceof Array&&(i=i.concat([])),r[n]=i}return r}function qe(e,t){for(var r;e.innerMode&&(r=e.innerMode(t),r&&r.mode!=e);)t=r.state,e=r.mode;return r||{mode:e,state:t}}function Ze(e,t,r){return!e.startState||e.startState(t,r)}function Qe(e,t,r,n){var i=[e.state.modeGen],o={};lt(e,t.text,e.doc.mode,r,function(e,t){return i.push(e,t)},o,n);for(var l=function(r){var n=e.state.overlays[r],l=1,s=0;lt(e,t.text,n.mode,!0,function(e,t){for(var r=l;s<e;){var o=i[l];o>e&&i.splice(l,1,e,i[l+1],o),l+=2,s=Math.min(e,o)}if(t)if(n.opaque)i.splice(r,l-r,e,"overlay "+t),l=r+2;else for(;r<l;r+=2){var a=i[r+1];i[r+1]=(a?a+" ":"")+"overlay "+t}},o)},s=0;s<e.state.overlays.length;++s)l(s);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function Je(e,t,r){if(!t.styles||t.styles[0]!=e.state.modeGen){var n=et(e,O(t)),i=Qe(e,t,t.text.length>e.options.maxHighlightLength?$e(e.doc.mode,n):n);t.stateAfter=n,t.styles=i.styles,i.classes?t.styleClasses=i.classes:t.styleClasses&&(t.styleClasses=null),r===e.doc.frontier&&e.doc.frontier++}return t.styles}function et(e,t,r){var n=e.doc,i=e.display;if(!n.mode.startState)return!0;var o=st(e,t,r),l=o>n.first&&T(n,o-1).stateAfter;return l=l?$e(n.mode,l):Ze(n.mode),n.iter(o,t,function(r){tt(e,r.text,l);var s=o==t-1||o%5==0||o>=i.viewFrom&&o<i.viewTo;r.stateAfter=s?$e(n.mode,l):null,++o}),r&&(n.frontier=o),l}function tt(e,t,r,n){var i=e.doc.mode,o=new Xl(t,e.options.tabSize);for(o.start=o.pos=n||0,""==t&&rt(i,r);!o.eol();)nt(i,o,r),o.start=o.pos}function rt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var r=qe(e,t);return r.mode.blankLine?r.mode.blankLine(r.state):void 0}}function nt(e,t,r,n){for(var i=0;i<10;i++){n&&(n[0]=qe(e,r).mode);var o=e.token(t,r);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}function it(e,t,r,n){var i,o=function(e){return{start:f.start,end:f.pos,string:f.current(),type:i||null,state:e?$e(l.mode,c):c}},l=e.doc,s=l.mode;t=R(l,t);var a,u=T(l,t.line),c=et(e,t.line,r),f=new Xl(u.text,e.options.tabSize);for(n&&(a=[]);(n||f.pos<t.ch)&&!f.eol();)f.start=f.pos,i=nt(s,f,c),n&&a.push(o(!0));return n?a:o()}function ot(e,t){if(e)for(;;){var r=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!r)break;e=e.slice(0,r.index)+e.slice(r.index+r[0].length);var n=r[1]?"bgClass":"textClass";null==t[n]?t[n]=r[2]:new RegExp("(?:^|s)"+r[2]+"(?:$|s)").test(t[n])||(t[n]+=" "+r[2])}return e}function lt(e,t,r,n,i,o,l){var s=r.flattenSpans;null==s&&(s=e.options.flattenSpans);var a,u=0,c=null,f=new Xl(t,e.options.tabSize),h=e.options.addModeClass&&[null];for(""==t&&ot(rt(r,n),o);!f.eol();){if(f.pos>e.options.maxHighlightLength?(s=!1,l&&tt(e,t,n,f.pos),f.pos=t.length,a=null):a=ot(nt(r,f,n,h),o),h){var d=h[0].name;d&&(a="m-"+(a?d+" "+a:d))}if(!s||c!=a){for(;u<f.start;)u=Math.min(f.start,u+5e3),i(u,c);c=a}f.start=f.pos}for(;u<f.pos;){var p=Math.min(f.pos,u+5e3);i(p,c),u=p}}function st(e,t,r){for(var n,i,o=e.doc,l=r?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>l;--s){if(s<=o.first)return o.first;var a=T(o,s-1);if(a.stateAfter&&(!r||s<=o.frontier))return s;var u=c(a.text,null,e.options.tabSize);(null==i||n>u)&&(i=s-1,n=u)}return i}function at(e,t,r){this.text=e,ee(this,t),this.height=r?r(this):1}function ut(e,t,r,n){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),J(e),ee(e,r);var i=n?n(e):1;i!=e.height&&N(e,i)}function ct(e){e.parent=null,J(e)}function ft(e,t){if(!e||/^\s*$/.test(e))return null;var r=t.addModeClass?$l:_l;return r[e]||(r[e]=e.replace(/\S+/g,"cm-$&"))}function ht(e,t){var r=n("span",null,null,il?"padding-right: .1px":null),i={pre:n("pre",[r],"CodeMirror-line"),content:r,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:(rl||il)&&e.getOption("lineWrapping")};t.measure={};for(var o=0;o<=(t.rest?t.rest.length:0);o++){var l=o?t.rest[o-1]:t.line,a=void 0;i.pos=0,i.addToken=pt,Ue(e.display.measure)&&(a=ke(l))&&(i.addToken=vt(i.addToken,a)),i.map=[];var u=t!=e.display.externalMeasured&&O(l);yt(l,i,Je(e,l,u)),l.styleClasses&&(l.styleClasses.bgClass&&(i.bgClass=s(l.styleClasses.bgClass,i.bgClass||"")),l.styleClasses.textClass&&(i.textClass=s(l.styleClasses.textClass,i.textClass||""))),0==i.map.length&&i.map.push(0,0,i.content.appendChild(Ge(e.display.measure))),0==o?(t.measure.map=i.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(i.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(il){var c=i.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(i.content.className="cm-tab-wrap-hack")}return We(e,"renderLine",e,t.line,i.pre),i.pre.className&&(i.textClass=s(i.pre.className,i.textClass||"")),i}function dt(e){var t=n("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function pt(e,t,r,i,o,l,s){if(t){var a,u=e.splitSpaces?gt(t,e.trailingSpace):t,c=e.cm.state.specialChars,f=!1;if(c.test(t)){a=document.createDocumentFragment();for(var h=0;;){c.lastIndex=h;var d=c.exec(t),g=d?d.index-h:t.length-h;if(g){var v=document.createTextNode(u.slice(h,h+g));rl&&nl<9?a.appendChild(n("span",[v])):a.appendChild(v),e.map.push(e.pos,e.pos+g,v),e.col+=g,e.pos+=g}if(!d)break;h+=g+1;var m=void 0;if("\t"==d[0]){var y=e.cm.options.tabSize,b=y-e.col%y;m=a.appendChild(n("span",p(b),"cm-tab")),m.setAttribute("role","presentation"),m.setAttribute("cm-text","\t"),e.col+=b}else"\r"==d[0]||"\n"==d[0]?(m=a.appendChild(n("span","\r"==d[0]?"␍":"","cm-invalidchar")),m.setAttribute("cm-text",d[0]),e.col+=1):(m=e.cm.options.specialCharPlaceholder(d[0]),m.setAttribute("cm-text",d[0]),rl&&nl<9?a.appendChild(n("span",[m])):a.appendChild(m),e.col+=1);e.map.push(e.pos,e.pos+1,m),e.pos++}}else e.col+=t.length,a=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,a),rl&&nl<9&&(f=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),r||i||o||f||s){var w=r||"";i&&(w+=i),o&&(w+=o);var x=n("span",[a],w,s);return l&&(x.title=l),e.content.appendChild(x)}e.content.appendChild(a)}}function gt(e,t){if(e.length>1&&!/ /.test(e))return e;for(var r=t,n="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!r||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=" "),n+=o,r=" "==o}return n}function vt(e,t){return function(r,n,i,o,l,s,a){i=i?i+" cm-force-border":"cm-force-border";for(var u=r.pos,c=u+n.length;;){for(var f=void 0,h=0;h<t.length&&(f=t[h],!(f.to>u&&f.from<=u));h++);if(f.to>=c)return e(r,n,i,o,l,s,a);e(r,n.slice(0,f.to-u),i,o,null,s,a),o=null,n=n.slice(f.to-u),u=f.to}}}function mt(e,t,r,n){var i=!n&&r.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!n&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",r.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function yt(e,t,r){var n=e.markedSpans,i=e.text,o=0;if(n)for(var l,s,a,u,c,f,h,d=i.length,p=0,g=1,v="",m=0;;){if(m==p){a=u=c=f=s="",h=null,m=1/0;for(var y=[],b=void 0,w=0;w<n.length;++w){var x=n[w],C=x.marker;"bookmark"==C.type&&x.from==p&&C.widgetNode?y.push(C):x.from<=p&&(null==x.to||x.to>p||C.collapsed&&x.to==p&&x.from==p)?(null!=x.to&&x.to!=p&&m>x.to&&(m=x.to,u=""),C.className&&(a+=" "+C.className),C.css&&(s=(s?s+";":"")+C.css),C.startStyle&&x.from==p&&(c+=" "+C.startStyle),C.endStyle&&x.to==m&&(b||(b=[])).push(C.endStyle,x.to),C.title&&!f&&(f=C.title),C.collapsed&&(!h||ne(h.marker,C)<0)&&(h=x)):x.from>p&&m>x.from&&(m=x.from)}if(b)for(var S=0;S<b.length;S+=2)b[S+1]==m&&(u+=" "+b[S]);if(!h||h.from==p)for(var L=0;L<y.length;++L)mt(t,0,y[L]);if(h&&(h.from||0)==p){if(mt(t,(null==h.to?d+1:h.to)-p,h.marker,null==h.from),null==h.to)return;h.to==p&&(h=!1)}}if(p>=d)break;for(var T=Math.min(d,m);;){if(v){var M=p+v.length;if(!h){var k=M>T?v.slice(0,T-p):v;t.addToken(t,k,l?l+a:a,c,p+k.length==m?u:"",f,s)}if(M>=T){v=v.slice(T-p),p=T;break}p=M,c=""}v=i.slice(o,o=r[g++]),l=ft(r[g++],t.cm.options)}}else for(var N=1;N<r.length;N+=2)t.addToken(t,i.slice(o,o=r[N]),ft(r[N+1],t.cm.options))}function bt(e,t,r){this.line=t,this.rest=ue(t),this.size=this.rest?O(g(this.rest))-r+1:1,this.node=this.text=null,this.hidden=he(e,t)}function wt(e,t,r){for(var n,i=[],o=t;o<r;o=n){var l=new bt(e.doc,T(e.doc,o),o);n=o+l.size,i.push(l)}return i}function xt(e){ql?ql.ops.push(e):e.ownsGroup=ql={ops:[e],delayedCallbacks:[]}}function Ct(e){var t=e.delayedCallbacks,r=0;do{for(;r<t.length;r++)t[r].call(null);for(var n=0;n<e.ops.length;n++){var i=e.ops[n];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(r<t.length)}function St(e,t){var r=e.ownsGroup;if(r)try{Ct(r)}finally{ql=null,t(r)}}function Lt(e,t){var r=Ne(e,t);if(r.length){var n,i=Array.prototype.slice.call(arguments,2);ql?n=ql.delayedCallbacks:Zl?n=Zl:(n=Zl=[],setTimeout(Tt,0));for(var o=function(e){n.push(function(){return r[e].apply(null,i)})},l=0;l<r.length;++l)o(l)}}function Tt(){var e=Zl;Zl=null;for(var t=0;t<e.length;++t)e[t]()}function Mt(e,t,r,n){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?Wt(e,t):"gutter"==o?Dt(e,t,r,n):"class"==o?At(t):"widget"==o&&Ht(e,t,n)}t.changes=null}function kt(e){return e.node==e.text&&(e.node=n("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),rl&&nl<8&&(e.node.style.zIndex=2)),e.node}function Nt(e){var t=e.bgClass?e.bgClass+" "+(e.line.bgClass||""):e.line.bgClass;if(t&&(t+=" CodeMirror-linebackground"),e.background)t?e.background.className=t:(e.background.parentNode.removeChild(e.background),e.background=null);else if(t){var r=kt(e);e.background=r.insertBefore(n("div",null,t),r.firstChild)}}function Ot(e,t){var r=e.display.externalMeasured;return r&&r.line==t.line?(e.display.externalMeasured=null,t.measure=r.measure,r.built):ht(e,t)}function Wt(e,t){var r=t.text.className,n=Ot(e,t);t.text==t.node&&(t.node=n.pre),t.text.parentNode.replaceChild(n.pre,t.text),t.text=n.pre,n.bgClass!=t.bgClass||n.textClass!=t.textClass?(t.bgClass=n.bgClass,t.textClass=n.textClass,At(t)):r&&(t.text.className=r)}function At(e){Nt(e),e.line.wrapClass?kt(e).className=e.line.wrapClass:e.node!=e.text&&(e.node.className="");var t=e.textClass?e.textClass+" "+(e.line.textClass||""):e.line.textClass;e.text.className=t||""}function Dt(e,t,r,i){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var o=kt(t);t.gutterBackground=n("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px; width: "+i.gutterTotalWidth+"px"),o.insertBefore(t.gutterBackground,t.text)}var l=t.line.gutterMarkers;if(e.options.lineNumbers||l){var s=kt(t),a=t.gutter=n("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px");if(e.display.input.setUneditable(a),s.insertBefore(a,t.text),t.line.gutterClass&&(a.className+=" "+t.line.gutterClass),!e.options.lineNumbers||l&&l["CodeMirror-linenumbers"]||(t.lineNumber=a.appendChild(n("div",D(e.options,r),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+i.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),l)for(var u=0;u<e.options.gutters.length;++u){var c=e.options.gutters[u],f=l.hasOwnProperty(c)&&l[c];f&&a.appendChild(n("div",[f],"CodeMirror-gutter-elt","left: "+i.gutterLeft[c]+"px; width: "+i.gutterWidth[c]+"px"))}}}function Ht(e,t,r){t.alignable&&(t.alignable=null);for(var n=t.node.firstChild,i=void 0;n;n=i)i=n.nextSibling,"CodeMirror-linewidget"==n.className&&t.node.removeChild(n);Et(e,t,r)}function Pt(e,t,r,n){var i=Ot(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),At(t),Dt(e,t,r,n),Et(e,t,n),t.node}function Et(e,t,r){if(It(e,t.line,t,r,!0),t.rest)for(var n=0;n<t.rest.length;n++)It(e,t.rest[n],t,r,!1)}function It(e,t,r,i,o){if(t.widgets)for(var l=kt(r),s=0,a=t.widgets;s<a.length;++s){var u=a[s],c=n("div",[u.node],"CodeMirror-linewidget");u.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),zt(u,c,r,i),e.display.input.setUneditable(c),o&&u.above?l.insertBefore(c,r.gutter||r.text):l.appendChild(c),Lt(u,"redraw")}}function zt(e,t,r,n){if(e.noHScroll){(r.alignable||(r.alignable=[])).push(t);var i=n.wrapperWidth;t.style.left=n.fixedPos+"px",e.coverGutter||(i-=n.gutterTotalWidth,t.style.paddingLeft=n.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-n.gutterTotalWidth+"px"))}function Ft(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!i(document.body,e.node)){var o="position: relative;";e.coverGutter&&(o+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(o+="width: "+t.display.wrapper.clientWidth+"px;"),r(t.display.measure,n("div",[e.node],null,o))}return e.height=e.node.parentNode.offsetHeight}function Rt(e,t){for(var r=Re(t);r!=e.wrapper;r=r.parentNode)if(!r||1==r.nodeType&&"true"==r.getAttribute("cm-ignore-events")||r.parentNode==e.sizer&&r!=e.mover)return!0}function Bt(e){return e.lineSpace.offsetTop}function Gt(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Ut(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=r(e.measure,n("pre","x")),i=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,o={left:parseInt(i.paddingLeft),right:parseInt(i.paddingRight)};return isNaN(o.left)||isNaN(o.right)||(e.cachedPaddingH=o),o}function Vt(e){return Ll-e.display.nativeBarWidth}function Kt(e){return e.display.scroller.clientWidth-Vt(e)-e.display.barWidth}function jt(e){return e.display.scroller.clientHeight-Vt(e)-e.display.barHeight}function Xt(e,t,r){var n=e.options.lineWrapping,i=n&&Kt(e);if(!t.measure.heights||n&&t.measure.width!=i){var o=t.measure.heights=[];if(n){t.measure.width=i;for(var l=t.text.firstChild.getClientRects(),s=0;s<l.length-1;s++){var a=l[s],u=l[s+1];Math.abs(a.bottom-u.bottom)>2&&o.push((a.bottom+u.top)/2-r.top)}}o.push(r.bottom-r.top)}}function Yt(e,t,r){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var n=0;n<e.rest.length;n++)if(e.rest[n]==t)return{map:e.measure.maps[n],cache:e.measure.caches[n]};for(var i=0;i<e.rest.length;i++)if(O(e.rest[i])>r)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function _t(e,t){t=ae(t);var n=O(t),i=e.display.externalMeasured=new bt(e.doc,t,n);i.lineN=n;var o=i.built=ht(e,i);return i.text=o.pre,r(e.display.lineMeasure,o.pre),i}function $t(e,t,r,n){return Qt(e,Zt(e,t),r,n)}function qt(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[Sr(e,t)];var r=e.display.externalMeasured;return r&&t>=r.lineN&&t<r.lineN+r.size?r:void 0}function Zt(e,t){var r=O(t),n=qt(e,r);n&&!n.text?n=null:n&&n.changes&&(Mt(e,n,r,yr(e)),e.curOp.forceUpdate=!0),n||(n=_t(e,t));var i=Yt(n,t,r);return{line:t,view:n,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function Qt(e,t,r,n,i){t.before&&(r=-1);var o,l=r+(n||"");return t.cache.hasOwnProperty(l)?o=t.cache[l]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Xt(e,t.view,t.rect),t.hasHeights=!0),o=tr(e,t,r,n),o.bogus||(t.cache[l]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}function Jt(e,t,r){for(var n,i,o,l,s,a,u=0;u<e.length;u+=3)if(s=e[u],a=e[u+1],t<s?(i=0,o=1,l="left"):t<a?(i=t-s,o=i+1):(u==e.length-3||t==a&&e[u+3]>t)&&(o=a-s,i=o-1,t>=a&&(l="right")),null!=i){if(n=e[u+2],s==a&&r==(n.insertLeft?"left":"right")&&(l=r),"left"==r&&0==i)for(;u&&e[u-2]==e[u-3]&&e[u-1].insertLeft;)n=e[(u-=3)+2],l="left";if("right"==r&&i==a-s)for(;u<e.length-3&&e[u+3]==e[u+4]&&!e[u+5].insertLeft;)n=e[(u+=3)+2],l="right";break}return{node:n,start:i,end:o,collapse:l,coverStart:s,coverEnd:a}}function er(e,t){var r=Ql;if("left"==t)for(var n=0;n<e.length&&(r=e[n]).left==r.right;n++);else for(var i=e.length-1;i>=0&&(r=e[i]).left==r.right;i--);return r}function tr(e,t,r,n){var i,o=Jt(t.map,r,n),l=o.node,s=o.start,a=o.end,u=o.collapse;if(3==l.nodeType){for(var c=0;c<4;c++){for(;s&&S(t.line.text.charAt(o.coverStart+s));)--s;for(;o.coverStart+a<o.coverEnd&&S(t.line.text.charAt(o.coverStart+a));)++a;if(i=rl&&nl<9&&0==s&&a==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():er(ml(l,s,a).getClientRects(),n),
|
48
|
-
i.left||i.right||0==s)break;a=s,s-=1,u="right"}rl&&nl<11&&(i=rr(e.display.measure,i))}else{s>0&&(u=n="right");var f;i=e.options.lineWrapping&&(f=l.getClientRects()).length>1?f["right"==n?f.length-1:0]:l.getBoundingClientRect()}if(rl&&nl<9&&!s&&(!i||!i.left&&!i.right)){var h=l.parentNode.getClientRects()[0];i=h?{left:h.left,right:h.left+mr(e.display),top:h.top,bottom:h.bottom}:Ql}for(var d=i.top-t.rect.top,p=i.bottom-t.rect.top,g=(d+p)/2,v=t.view.measure.heights,m=0;m<v.length-1&&!(g<v[m]);m++);var y=m?v[m-1]:0,b=v[m],w={left:("right"==u?i.right:i.left)-t.rect.left,right:("left"==u?i.left:i.right)-t.rect.left,top:y,bottom:b};return i.left||i.right||(w.bogus=!0),e.options.singleCursorHeightPerLine||(w.rtop=d,w.rbottom=p),w}function rr(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Ve(e))return t;var r=screen.logicalXDPI/screen.deviceXDPI,n=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*r,right:t.right*r,top:t.top*n,bottom:t.bottom*n}}function nr(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function ir(e){e.display.externalMeasure=null,t(e.display.lineMeasure);for(var r=0;r<e.display.view.length;r++)nr(e.display.view[r])}function or(e){ir(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function lr(){return window.pageXOffset||(document.documentElement||document.body).scrollLeft}function sr(){return window.pageYOffset||(document.documentElement||document.body).scrollTop}function ar(e,t,r,n,i){if(!i&&t.widgets)for(var o=0;o<t.widgets.length;++o)if(t.widgets[o].above){var l=Ft(t.widgets[o]);r.top+=l,r.bottom+=l}if("line"==n)return r;n||(n="local");var s=pe(t);if("local"==n?s+=Bt(e.display):s-=e.display.viewOffset,"page"==n||"window"==n){var a=e.display.lineSpace.getBoundingClientRect();s+=a.top+("window"==n?0:sr());var u=a.left+("window"==n?0:lr());r.left+=u,r.right+=u}return r.top+=s,r.bottom+=s,r}function ur(e,t,r){if("div"==r)return t;var n=t.left,i=t.top;if("page"==r)n-=lr(),i-=sr();else if("local"==r||!r){var o=e.display.sizer.getBoundingClientRect();n+=o.left,i+=o.top}var l=e.display.lineSpace.getBoundingClientRect();return{left:n-l.left,top:i-l.top}}function cr(e,t,r,n,i){return n||(n=T(e.doc,t.line)),ar(e,n,$t(e,n,t.ch,i),r)}function fr(e,t,r,n,i,o){function l(t,l){var s=Qt(e,i,t,l?"right":"left",o);return l?s.left=s.right:s.right=s.left,ar(e,n,s,r)}function s(e,t){var r=a[t],n=r.level%2;return e==ye(r)&&t&&r.level<a[t-1].level?(r=a[--t],e=be(r)-(r.level%2?0:1),n=!0):e==be(r)&&t<a.length-1&&r.level<a[t+1].level&&(r=a[++t],e=ye(r)-r.level%2,n=!1),n&&e==r.to&&e>r.from?l(e-1):l(e,n)}n=n||T(e.doc,t.line),i||(i=Zt(e,n));var a=ke(n),u=t.ch;if(!a)return l(u);var c=Se(a,u),f=s(u,c);return null!=Pl&&(f.other=s(u,Pl)),f}function hr(e,t){var r=0;t=R(e.doc,t),e.options.lineWrapping||(r=mr(e.display)*t.ch);var n=T(e.doc,t.line),i=pe(n)+Bt(e.display);return{left:r,right:r,top:i,bottom:i+n.height}}function dr(e,t,r,n){var i=H(e,t);return i.xRel=n,r&&(i.outside=!0),i}function pr(e,t,r){var n=e.doc;if(r+=e.display.viewOffset,r<0)return dr(n.first,0,!0,-1);var i=W(n,r),o=n.first+n.size-1;if(i>o)return dr(n.first+n.size-1,T(n,o).text.length,!0,1);t<0&&(t=0);for(var l=T(n,i);;){var s=gr(e,l,i,t,r),a=le(l),u=a&&a.find(0,!0);if(!a||!(s.ch>u.from.ch||s.ch==u.from.ch&&s.xRel>0))return s;i=O(l=u.to.line)}}function gr(e,t,r,n,i){function o(n){var i=fr(e,H(r,n),"line",t,u);return s=!0,l>i.bottom?i.left-a:l<i.top?i.left+a:(s=!1,i.left)}var l=i-pe(t),s=!1,a=2*e.display.wrapper.clientWidth,u=Zt(e,t),c=ke(t),f=t.text.length,h=we(t),d=xe(t),p=o(h),g=s,v=o(d),m=s;if(n>v)return dr(r,d,m,1);for(;;){if(c?d==h||d==Te(t,h,1):d-h<=1){var y=n<p||n-p<=v-n?h:d,b=y==h?g:m,w=n-(y==h?p:v);if(m&&!c&&!/\s/.test(t.text.charAt(y))&&w>0&&y<t.text.length&&u.view.measure.heights.length>1){var x=Qt(e,u,y,"right");l<=x.bottom&&l>=x.top&&Math.abs(n-x.right)<w&&(b=!1,y++,w=n-x.right)}for(;S(t.text.charAt(y));)++y;var C=dr(r,y,b,w<-1?-1:w>1?1:0);return C}var L=Math.ceil(f/2),T=h+L;if(c){T=h;for(var M=0;M<L;++M)T=Te(t,T,1)}var k=o(T);k>n?(d=T,v=k,(m=s)&&(v+=1e3),f=L):(h=T,p=k,g=s,f-=L)}}function vr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Yl){Yl=n("pre");for(var i=0;i<49;++i)Yl.appendChild(document.createTextNode("x")),Yl.appendChild(n("br"));Yl.appendChild(document.createTextNode("x"))}r(e.measure,Yl);var o=Yl.offsetHeight/50;return o>3&&(e.cachedTextHeight=o),t(e.measure),o||1}function mr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=n("span","xxxxxxxxxx"),i=n("pre",[t]);r(e.measure,i);var o=t.getBoundingClientRect(),l=(o.right-o.left)/10;return l>2&&(e.cachedCharWidth=l),l||10}function yr(e){for(var t=e.display,r={},n={},i=t.gutters.clientLeft,o=t.gutters.firstChild,l=0;o;o=o.nextSibling,++l)r[e.options.gutters[l]]=o.offsetLeft+o.clientLeft+i,n[e.options.gutters[l]]=o.clientWidth;return{fixedPos:br(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:r,gutterWidth:n,wrapperWidth:t.wrapper.clientWidth}}function br(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function wr(e){var t=vr(e.display),r=e.options.lineWrapping,n=r&&Math.max(5,e.display.scroller.clientWidth/mr(e.display)-3);return function(i){if(he(e.doc,i))return 0;var o=0;if(i.widgets)for(var l=0;l<i.widgets.length;l++)i.widgets[l].height&&(o+=i.widgets[l].height);return r?o+(Math.ceil(i.text.length/n)||1)*t:o+t}}function xr(e){var t=e.doc,r=wr(e);t.iter(function(e){var t=r(e);t!=e.height&&N(e,t)})}function Cr(e,t,r,n){var i=e.display;if(!r&&"true"==Re(t).getAttribute("cm-not-content"))return null;var o,l,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,l=t.clientY-s.top}catch(e){return null}var a,u=pr(e,o,l);if(n&&1==u.xRel&&(a=T(e.doc,u.line).text).length==u.ch){var f=c(a,a.length,e.options.tabSize)-a.length;u=H(u.line,Math.max(0,Math.round((o-Ut(e.display).left)/mr(e.display))-f))}return u}function Sr(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var r=e.display.view,n=0;n<r.length;n++)if(t-=r[n].size,t<0)return n}function Lr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Tr(e,t){for(var r=e.doc,n={},i=n.cursors=document.createDocumentFragment(),o=n.selection=document.createDocumentFragment(),l=0;l<r.sel.ranges.length;l++)if(t!==!1||l!=r.sel.primIndex){var s=r.sel.ranges[l];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var a=s.empty();(a||e.options.showCursorWhenSelecting)&&Mr(e,s.head,i),a||kr(e,s,o)}}return n}function Mr(e,t,r){var i=fr(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),o=r.appendChild(n("div"," ","CodeMirror-cursor"));if(o.style.left=i.left+"px",o.style.top=i.top+"px",o.style.height=Math.max(0,i.bottom-i.top)*e.options.cursorHeight+"px",i.other){var l=r.appendChild(n("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));l.style.display="",l.style.left=i.other.left+"px",l.style.top=i.other.top+"px",l.style.height=.85*(i.other.bottom-i.other.top)+"px"}}function kr(e,t,r){function i(e,t,r,i){t<0&&(t=0),t=Math.round(t),i=Math.round(i),a.appendChild(n("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==r?f-e:r)+"px;\n height: "+(i-t)+"px"))}function o(t,r,n){function o(r,n){return cr(e,H(t,r),"div",u,n)}var l,a,u=T(s,t),h=u.text.length;return me(ke(u),r||0,null==n?h:n,function(e,t,s){var u,d,p,g=o(e,"left");if(e==t)u=g,d=p=g.left;else{if(u=o(t-1,"right"),"rtl"==s){var v=g;g=u,u=v}d=g.left,p=u.right}null==r&&0==e&&(d=c),u.top-g.top>3&&(i(d,g.top,null,g.bottom),d=c,g.bottom<u.top&&i(d,g.bottom,null,u.top)),null==n&&t==h&&(p=f),(!l||g.top<l.top||g.top==l.top&&g.left<l.left)&&(l=g),(!a||u.bottom>a.bottom||u.bottom==a.bottom&&u.right>a.right)&&(a=u),d<c+1&&(d=c),i(d,u.top,p-d,u.bottom)}),{start:l,end:a}}var l=e.display,s=e.doc,a=document.createDocumentFragment(),u=Ut(e.display),c=u.left,f=Math.max(l.sizerWidth,Kt(e)-l.sizer.offsetLeft)-u.right,h=t.from(),d=t.to();if(h.line==d.line)o(h.line,h.ch,d.ch);else{var p=T(s,h.line),g=T(s,d.line),v=ae(p)==ae(g),m=o(h.line,h.ch,v?p.text.length+1:null).end,y=o(d.line,v?0:null,d.ch).start;v&&(m.top<y.top-2?(i(m.right,m.top,null,m.bottom),i(c,y.top,y.left,y.bottom)):i(m.right,m.top,y.left-m.right,m.bottom)),m.bottom<y.top&&i(c,m.bottom,null,y.top)}r.appendChild(a)}function Nr(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var r=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(r=!r)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Or(e){e.state.focused||(e.display.input.focus(),Ar(e))}function Wr(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Dr(e))},100)}function Ar(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(We(e,"focus",e,t),e.state.focused=!0,l(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),il&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Nr(e))}function Dr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(We(e,"blur",e,t),e.state.focused=!1,wl(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function Hr(e){var t=e.display,r=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var n=br(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=n+"px",l=0;l<r.length;l++)if(!r[l].hidden){e.options.fixedGutter&&(r[l].gutter&&(r[l].gutter.style.left=o),r[l].gutterBackground&&(r[l].gutterBackground.style.left=o));var s=r[l].alignable;if(s)for(var a=0;a<s.length;a++)s[a].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=n+i+"px")}}function Pr(e){if(!e.options.lineNumbers)return!1;var t=e.doc,r=D(e.options,t.first+t.size-1),i=e.display;if(r.length!=i.lineNumChars){var o=i.measure.appendChild(n("div",[n("div",r)],"CodeMirror-linenumber CodeMirror-gutter-elt")),l=o.firstChild.offsetWidth,s=o.offsetWidth-l;return i.lineGutter.style.width="",i.lineNumInnerWidth=Math.max(l,i.lineGutter.offsetWidth-s)+1,i.lineNumWidth=i.lineNumInnerWidth+s,i.lineNumChars=i.lineNumInnerWidth?r.length:-1,i.lineGutter.style.width=i.lineNumWidth+"px",Mn(e),!0}return!1}function Er(e){for(var t=e.display,r=t.lineDiv.offsetTop,n=0;n<t.view.length;n++){var i=t.view[n],o=void 0;if(!i.hidden){if(rl&&nl<8){var l=i.node.offsetTop+i.node.offsetHeight;o=l-r,r=l}else{var s=i.node.getBoundingClientRect();o=s.bottom-s.top}var a=i.line.height-o;if(o<2&&(o=vr(t)),(a>.001||a<-.001)&&(N(i.line,o),Ir(i.line),i.rest))for(var u=0;u<i.rest.length;u++)Ir(i.rest[u])}}}function Ir(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t)e.widgets[t].height=e.widgets[t].node.parentNode.offsetHeight}function zr(e,t,r){var n=r&&null!=r.top?Math.max(0,r.top):e.scroller.scrollTop;n=Math.floor(n-Bt(e));var i=r&&null!=r.bottom?r.bottom:n+e.wrapper.clientHeight,o=W(t,n),l=W(t,i);if(r&&r.ensure){var s=r.ensure.from.line,a=r.ensure.to.line;s<o?(o=s,l=W(t,pe(T(t,s))+e.wrapper.clientHeight)):Math.min(a,t.lastLine())>=l&&(o=W(t,pe(T(t,a))-e.wrapper.clientHeight),l=a)}return{from:o,to:Math.max(l,o+1)}}function Fr(e,t){Math.abs(e.doc.scrollTop-t)<2||(e.doc.scrollTop=t,Jo||Ln(e,{top:t}),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t),e.display.scrollbars.setScrollTop(t),Jo&&Ln(e),bn(e,100))}function Rr(e,t,r){(r?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)||(t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),e.doc.scrollLeft=t,Hr(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Br(e){var t=e.wheelDeltaX,r=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==r&&e.detail&&e.axis==e.VERTICAL_AXIS?r=e.detail:null==r&&(r=e.wheelDelta),{x:t,y:r}}function Gr(e){var t=Br(e);return t.x*=es,t.y*=es,t}function Ur(e,t){var r=Br(t),n=r.x,i=r.y,o=e.display,l=o.scroller,s=l.scrollWidth>l.clientWidth,a=l.scrollHeight>l.clientHeight;if(n&&s||i&&a){if(i&&dl&&il)e:for(var u=t.target,c=o.view;u!=l;u=u.parentNode)for(var f=0;f<c.length;f++)if(c[f].node==u){e.display.currentWheelTarget=u;break e}if(n&&!Jo&&!sl&&null!=es)return i&&a&&Fr(e,Math.max(0,Math.min(l.scrollTop+i*es,l.scrollHeight-l.clientHeight))),Rr(e,Math.max(0,Math.min(l.scrollLeft+n*es,l.scrollWidth-l.clientWidth))),(!i||i&&a)&&Ee(t),void(o.wheelStartX=null);if(i&&null!=es){var h=i*es,d=e.doc.scrollTop,p=d+o.wrapper.clientHeight;h<0?d=Math.max(0,d+h-50):p=Math.min(e.doc.height,p+h+50),Ln(e,{top:d,bottom:p})}Jl<20&&(null==o.wheelStartX?(o.wheelStartX=l.scrollLeft,o.wheelStartY=l.scrollTop,o.wheelDX=n,o.wheelDY=i,setTimeout(function(){if(null!=o.wheelStartX){var e=l.scrollLeft-o.wheelStartX,t=l.scrollTop-o.wheelStartY,r=t&&o.wheelDY&&t/o.wheelDY||e&&o.wheelDX&&e/o.wheelDX;o.wheelStartX=o.wheelStartY=null,r&&(es=(es*Jl+r)/(Jl+1),++Jl)}},200)):(o.wheelDX+=n,o.wheelDY+=i))}}function Vr(e){var t=e.display,r=t.gutters.offsetWidth,n=Math.round(e.doc.height+Gt(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?r:0,docHeight:n,scrollHeight:n+Vt(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:r}}function Kr(e,t){t||(t=Vr(e));var r=e.display.barWidth,n=e.display.barHeight;jr(e,t);for(var i=0;i<4&&r!=e.display.barWidth||n!=e.display.barHeight;i++)r!=e.display.barWidth&&e.options.lineWrapping&&Er(e),jr(e,Vr(e)),r=e.display.barWidth,n=e.display.barHeight}function jr(e,t){var r=e.display,n=r.scrollbars.update(t);r.sizer.style.paddingRight=(r.barWidth=n.right)+"px",r.sizer.style.paddingBottom=(r.barHeight=n.bottom)+"px",r.heightForcer.style.borderBottom=n.bottom+"px solid transparent",n.right&&n.bottom?(r.scrollbarFiller.style.display="block",r.scrollbarFiller.style.height=n.bottom+"px",r.scrollbarFiller.style.width=n.right+"px"):r.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(r.gutterFiller.style.display="block",r.gutterFiller.style.height=n.bottom+"px",r.gutterFiller.style.width=t.gutterWidth+"px"):r.gutterFiller.style.display=""}function Xr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&wl(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new ns[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),zl(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,r){"horizontal"==r?Rr(e,t):Fr(e,t)},e),e.display.scrollbars.addClass&&l(e.display.wrapper,e.display.scrollbars.addClass)}function Yr(e,t){if(!Ae(e,"scrollCursorIntoView")){var r=e.display,i=r.sizer.getBoundingClientRect(),o=null;if(t.top+i.top<0?o=!0:t.bottom+i.top>(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!cl){var l=n("div","",null,"position: absolute;\n top: "+(t.top-r.viewOffset-Bt(e.display))+"px;\n height: "+(t.bottom-t.top+Vt(e)+r.barHeight)+"px;\n left: "+t.left+"px; width: 2px;");e.display.lineSpace.appendChild(l),l.scrollIntoView(o),e.display.lineSpace.removeChild(l)}}}function _r(e,t,r,n){null==n&&(n=0);for(var i,o=0;o<5;o++){var l=!1;i=fr(e,t);var s=r&&r!=t?fr(e,r):i,a=qr(e,Math.min(i.left,s.left),Math.min(i.top,s.top)-n,Math.max(i.left,s.left),Math.max(i.bottom,s.bottom)+n),u=e.doc.scrollTop,c=e.doc.scrollLeft;if(null!=a.scrollTop&&(Fr(e,a.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(l=!0)),null!=a.scrollLeft&&(Rr(e,a.scrollLeft),Math.abs(e.doc.scrollLeft-c)>1&&(l=!0)),!l)break}return i}function $r(e,t,r,n,i){var o=qr(e,t,r,n,i);null!=o.scrollTop&&Fr(e,o.scrollTop),null!=o.scrollLeft&&Rr(e,o.scrollLeft)}function qr(e,t,r,n,i){var o=e.display,l=vr(e.display);r<0&&(r=0);var s=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:o.scroller.scrollTop,a=jt(e),u={};i-r>a&&(i=r+a);var c=e.doc.height+Gt(o),f=r<l,h=i>c-l;if(r<s)u.scrollTop=f?0:r;else if(i>s+a){var d=Math.min(r,(h?c:i)-a);d!=s&&(u.scrollTop=d)}var p=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:o.scroller.scrollLeft,g=Kt(e)-(e.options.fixedGutter?o.gutters.offsetWidth:0),v=n-t>g;return v&&(n=t+g),t<10?u.scrollLeft=0:t<p?u.scrollLeft=Math.max(0,t-(v?0:10)):n>g+p-3&&(u.scrollLeft=n+(v?0:10)-g),u}function Zr(e,t,r){null==t&&null==r||Jr(e),null!=t&&(e.curOp.scrollLeft=(null==e.curOp.scrollLeft?e.doc.scrollLeft:e.curOp.scrollLeft)+t),null!=r&&(e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+r)}function Qr(e){Jr(e);var t=e.getCursor(),r=t,n=t;e.options.lineWrapping||(r=t.ch?H(t.line,t.ch-1):t,n=H(t.line,t.ch+1)),e.curOp.scrollToPos={from:r,to:n,margin:e.options.cursorScrollMargin,isCursor:!0}}function Jr(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var r=hr(e,t.from),n=hr(e,t.to),i=qr(e,Math.min(r.left,n.left),Math.min(r.top,n.top)-t.margin,Math.max(r.right,n.right),Math.max(r.bottom,n.bottom)+t.margin);e.scrollTo(i.scrollLeft,i.scrollTop)}}function en(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++is},xt(e.curOp)}function tn(e){var t=e.curOp;St(t,function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;rn(e)})}function rn(e){for(var t=e.ops,r=0;r<t.length;r++)nn(t[r]);for(var n=0;n<t.length;n++)on(t[n]);for(var i=0;i<t.length;i++)ln(t[i]);for(var o=0;o<t.length;o++)sn(t[o]);for(var l=0;l<t.length;l++)an(t[l])}function nn(e){var t=e.cm,r=t.display;xn(t),e.updateMaxLine&&ve(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<r.viewFrom||e.scrollToPos.to.line>=r.viewTo)||r.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new os(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function on(e){e.updatedDisplay=e.mustUpdate&&Cn(e.cm,e.update)}function ln(e){var t=e.cm,r=t.display;e.updatedDisplay&&Er(t),e.barMeasure=Vr(t),r.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=$t(t,r.maxLine,r.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(r.scroller.clientWidth,r.sizer.offsetLeft+e.adjustWidthTo+Vt(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,r.sizer.offsetLeft+e.adjustWidthTo-Kt(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=r.input.prepareSelection(e.focus))}function sn(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&Rr(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var r=e.focus&&e.focus==o()&&(!document.hasFocus||document.hasFocus());e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,r),(e.updatedDisplay||e.startHeight!=t.doc.height)&&Kr(t,e.barMeasure),e.updatedDisplay&&kn(t,e.barMeasure),e.selectionChanged&&Nr(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),r&&Or(e.cm)}function an(e){var t=e.cm,r=t.display,n=t.doc;if(e.updatedDisplay&&Sn(t,e.update),null==r.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(r.wheelStartX=r.wheelStartY=null),null==e.scrollTop||r.scroller.scrollTop==e.scrollTop&&!e.forceScroll||(n.scrollTop=Math.max(0,Math.min(r.scroller.scrollHeight-r.scroller.clientHeight,e.scrollTop)),r.scrollbars.setScrollTop(n.scrollTop),r.scroller.scrollTop=n.scrollTop),null==e.scrollLeft||r.scroller.scrollLeft==e.scrollLeft&&!e.forceScroll||(n.scrollLeft=Math.max(0,Math.min(r.scroller.scrollWidth-r.scroller.clientWidth,e.scrollLeft)),r.scrollbars.setScrollLeft(n.scrollLeft),r.scroller.scrollLeft=n.scrollLeft,Hr(t)),e.scrollToPos){var i=_r(t,R(n,e.scrollToPos.from),R(n,e.scrollToPos.to),e.scrollToPos.margin);e.scrollToPos.isCursor&&t.state.focused&&Yr(t,i)}var o=e.maybeHiddenMarkers,l=e.maybeUnhiddenMarkers;if(o)for(var s=0;s<o.length;++s)o[s].lines.length||We(o[s],"hide");if(l)for(var a=0;a<l.length;++a)l[a].lines.length&&We(l[a],"unhide");r.wrapper.offsetHeight&&(n.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&We(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function un(e,t){if(e.curOp)return t();en(e);try{return t()}finally{tn(e)}}function cn(e,t){return function(){if(e.curOp)return t.apply(e,arguments);en(e);try{return t.apply(e,arguments)}finally{tn(e)}}}function fn(e){return function(){if(this.curOp)return e.apply(this,arguments);en(this);try{return e.apply(this,arguments)}finally{tn(this)}}}function hn(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);en(t);try{return e.apply(this,arguments)}finally{tn(t)}}}function dn(e,t,r,n){null==t&&(t=e.doc.first),null==r&&(r=e.doc.first+e.doc.size),n||(n=0);var i=e.display;if(n&&r<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Hl&&ce(e.doc,t)<i.viewTo&&gn(e);else if(r<=i.viewFrom)Hl&&fe(e.doc,r+n)>i.viewFrom?gn(e):(i.viewFrom+=n,i.viewTo+=n);else if(t<=i.viewFrom&&r>=i.viewTo)gn(e);else if(t<=i.viewFrom){var o=vn(e,r,r+n,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=n):gn(e)}else if(r>=i.viewTo){var l=vn(e,t,t,-1);l?(i.view=i.view.slice(0,l.index),i.viewTo=l.lineN):gn(e)}else{var s=vn(e,t,t,-1),a=vn(e,r,r+n,1);s&&a?(i.view=i.view.slice(0,s.index).concat(wt(e,s.lineN,a.lineN)).concat(i.view.slice(a.index)),i.viewTo+=n):gn(e)}var u=i.externalMeasured;u&&(r<u.lineN?u.lineN+=n:t<u.lineN+u.size&&(i.externalMeasured=null))}function pn(e,t,r){e.curOp.viewChanged=!0;var n=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(n.externalMeasured=null),!(t<n.viewFrom||t>=n.viewTo)){var o=n.view[Sr(e,t)];if(null!=o.node){var l=o.changes||(o.changes=[]);h(l,r)==-1&&l.push(r)}}}function gn(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function vn(e,t,r,n){var i,o=Sr(e,t),l=e.display.view;if(!Hl||r==e.doc.first+e.doc.size)return{index:o,lineN:r};for(var s=e.display.viewFrom,a=0;a<o;a++)s+=l[a].size;if(s!=t){if(n>0){if(o==l.length-1)return null;i=s+l[o].size-t,o++}else i=s-t;t+=i,r+=i}for(;ce(e.doc,r)!=r;){if(o==(n<0?0:l.length-1))return null;r+=n*l[o-(n<0?1:0)].size,o+=n}return{index:o,lineN:r}}function mn(e,t,r){var n=e.display,i=n.view;0==i.length||t>=n.viewTo||r<=n.viewFrom?(n.view=wt(e,t,r),n.viewFrom=t):(n.viewFrom>t?n.view=wt(e,t,n.viewFrom).concat(n.view):n.viewFrom<t&&(n.view=n.view.slice(Sr(e,t))),n.viewFrom=t,n.viewTo<r?n.view=n.view.concat(wt(e,n.viewTo,r)):n.viewTo>r&&(n.view=n.view.slice(0,Sr(e,r)))),n.viewTo=r}function yn(e){for(var t=e.display.view,r=0,n=0;n<t.length;n++){var i=t[n];i.hidden||i.node&&!i.changes||++r}return r}function bn(e,t){e.doc.mode.startState&&e.doc.frontier<e.display.viewTo&&e.state.highlight.set(t,a(wn,e))}function wn(e){var t=e.doc;if(t.frontier<t.first&&(t.frontier=t.first),!(t.frontier>=e.display.viewTo)){var r=+new Date+e.options.workTime,n=$e(t.mode,et(e,t.frontier)),i=[];t.iter(t.frontier,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(t.frontier>=e.display.viewFrom){var l=o.styles,s=o.text.length>e.options.maxHighlightLength,a=Qe(e,o,s?$e(t.mode,n):n,!0);o.styles=a.styles;var u=o.styleClasses,c=a.classes;c?o.styleClasses=c:u&&(o.styleClasses=null);for(var f=!l||l.length!=o.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),h=0;!f&&h<l.length;++h)f=l[h]!=o.styles[h];f&&i.push(t.frontier),o.stateAfter=s?n:$e(t.mode,n)}else o.text.length<=e.options.maxHighlightLength&&tt(e,o.text,n),o.stateAfter=t.frontier%5==0?$e(t.mode,n):null;if(++t.frontier,+new Date>r)return bn(e,e.options.workDelay),!0}),i.length&&un(e,function(){for(var t=0;t<i.length;t++)pn(e,i[t],"text")})}}function xn(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Vt(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Vt(e)+"px",t.scrollbarsClipped=!0)}function Cn(e,r){var n=e.display,i=e.doc;if(r.editorIsHidden)return gn(e),!1;if(!r.force&&r.visible.from>=n.viewFrom&&r.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==yn(e))return!1;Pr(e)&&(gn(e),r.dims=yr(e));var l=i.first+i.size,s=Math.max(r.visible.from-e.options.viewportMargin,i.first),a=Math.min(l,r.visible.to+e.options.viewportMargin);n.viewFrom<s&&s-n.viewFrom<20&&(s=Math.max(i.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(l,n.viewTo)),Hl&&(s=ce(e.doc,s),a=fe(e.doc,a));var u=s!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=r.wrapperHeight||n.lastWrapWidth!=r.wrapperWidth;mn(e,s,a),n.viewOffset=pe(T(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var c=yn(e);if(!u&&0==c&&!r.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var f=o();return c>4&&(n.lineDiv.style.display="none"),Tn(e,n.updateLineNumbers,r.dims),c>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,f&&o()!=f&&f.offsetHeight&&f.focus(),t(n.cursorDiv),t(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,u&&(n.lastWrapHeight=r.wrapperHeight,n.lastWrapWidth=r.wrapperWidth,bn(e,400)),n.updateLineNumbers=null,!0}function Sn(e,t){for(var r=t.viewport,n=!0;(n&&e.options.lineWrapping&&t.oldDisplayWidth!=Kt(e)||(r&&null!=r.top&&(r={top:Math.min(e.doc.height+Gt(e.display)-jt(e),r.top)}),t.visible=zr(e.display,e.doc,r),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&Cn(e,t);n=!1){Er(e);var i=Vr(e);Lr(e),Kr(e,i),kn(e,i)}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Ln(e,t){var r=new os(e,t);if(Cn(e,r)){Er(e),Sn(e,r);var n=Vr(e);Lr(e),Kr(e,n),kn(e,n),r.finish()}}function Tn(e,r,n){function i(t){var r=t.nextSibling;return il&&dl&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),r}for(var o=e.display,l=e.options.lineNumbers,s=o.lineDiv,a=s.firstChild,u=o.view,c=o.viewFrom,f=0;f<u.length;f++){var d=u[f];if(d.hidden);else if(d.node&&d.node.parentNode==s){for(;a!=d.node;)a=i(a);var p=l&&null!=r&&r<=c&&d.lineNumber;d.changes&&(h(d.changes,"gutter")>-1&&(p=!1),Mt(e,d,c,n)),p&&(t(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(D(e.options,c)))),a=d.node.nextSibling}else{var g=Pt(e,d,c,n);s.insertBefore(g,a)}c+=d.size}for(;a;)a=i(a)}function Mn(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function kn(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Vt(e)+"px"}function Nn(e){var r=e.display.gutters,i=e.options.gutters;t(r);for(var o=0;o<i.length;++o){var l=i[o],s=r.appendChild(n("div",null,"CodeMirror-gutter "+l));"CodeMirror-linenumbers"==l&&(e.display.lineGutter=s,s.style.width=(e.display.lineNumWidth||1)+"px")}r.style.display=o?"":"none",Mn(e)}function On(e){var t=h(e.gutters,"CodeMirror-linenumbers");t==-1&&e.lineNumbers?e.gutters=e.gutters.concat(["CodeMirror-linenumbers"]):t>-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function Wn(e,t){this.ranges=e,this.primIndex=t}function An(e,t){this.anchor=e,this.head=t}function Dn(e,t){var r=e[t];e.sort(function(e,t){return P(e.from(),t.from())}),t=h(e,r);for(var n=1;n<e.length;n++){var i=e[n],o=e[n-1];if(P(o.to(),i.from())>=0){var l=z(o.from(),i.from()),s=I(o.to(),i.to()),a=o.empty()?i.from()==i.head:o.from()==o.head;n<=t&&--t,e.splice(--n,2,new An(a?s:l,a?l:s))}}return new Wn(e,t)}function Hn(e,t){return new Wn([new An(e,t||e)],0)}function Pn(e){return e.text?H(e.from.line+e.text.length-1,g(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function En(e,t){if(P(e,t.from)<0)return e;if(P(e,t.to)<=0)return Pn(t);var r=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch;return e.line==t.to.line&&(n+=Pn(t).ch-t.to.ch),H(r,n)}function In(e,t){for(var r=[],n=0;n<e.sel.ranges.length;n++){var i=e.sel.ranges[n];r.push(new An(En(i.anchor,t),En(i.head,t)))}return Dn(r,e.sel.primIndex)}function zn(e,t,r){return e.line==t.line?H(r.line,e.ch-t.ch+r.ch):H(r.line+(e.line-t.line),e.ch)}function Fn(e,t,r){for(var n=[],i=H(e.first,0),o=i,l=0;l<t.length;l++){var s=t[l],a=zn(s.from,i,o),u=zn(Pn(s),i,o);if(i=s.to,o=u,"around"==r){var c=e.sel.ranges[l],f=P(c.head,c.anchor)<0;n[l]=new An(f?u:a,f?a:u)}else n[l]=new An(a,a)}return new Wn(n,e.sel.primIndex)}function Rn(e){e.doc.mode=Ye(e.options,e.doc.modeOption),Bn(e)}function Bn(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)}),e.doc.frontier=e.doc.first,bn(e,100),e.state.modeGen++,e.curOp&&dn(e)}function Gn(e,t){return 0==t.from.ch&&0==t.to.ch&&""==g(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function Un(e,t,r,n){function i(e){return r?r[e]:null}function o(e,r,i){ut(e,r,i,n),Lt(e,"change",e,t)}function l(e,t){for(var r=[],o=e;o<t;++o)r.push(new at(u[o],i(o),n));return r}var s=t.from,a=t.to,u=t.text,c=T(e,s.line),f=T(e,a.line),h=g(u),d=i(u.length-1),p=a.line-s.line;if(t.full)e.insert(0,l(0,u.length)),e.remove(u.length,e.size-u.length);else if(Gn(e,t)){var v=l(0,u.length-1);o(f,f.text,d),p&&e.remove(s.line,p),v.length&&e.insert(s.line,v)}else if(c==f)if(1==u.length)o(c,c.text.slice(0,s.ch)+h+c.text.slice(a.ch),d);else{var m=l(1,u.length-1);m.push(new at(h+c.text.slice(a.ch),d,n)),o(c,c.text.slice(0,s.ch)+u[0],i(0)),e.insert(s.line+1,m)}else if(1==u.length)o(c,c.text.slice(0,s.ch)+u[0]+f.text.slice(a.ch),i(0)),e.remove(s.line+1,p);else{o(c,c.text.slice(0,s.ch)+u[0],i(0)),o(f,h+f.text.slice(a.ch),d);var y=l(1,u.length-1);p>1&&e.remove(s.line+1,p-1),e.insert(s.line+1,y)}Lt(e,"change",e,t)}function Vn(e,t,r){function n(e,i,o){if(e.linked)for(var l=0;l<e.linked.length;++l){var s=e.linked[l];if(s.doc!=i){var a=o&&s.sharedHist;r&&!a||(t(s.doc,a),n(s.doc,e,a))}}}n(e,null,!0)}function Kn(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,xr(e),Rn(e),e.options.lineWrapping||ve(e),e.options.mode=t.modeOption,dn(e)}function jn(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function Xn(e,t){var r={from:E(t.from),to:Pn(t),text:M(e,t.from,t.to)};return Jn(e,r,t.from.line,t.to.line+1),Vn(e,function(e){return Jn(e,r,t.from.line,t.to.line+1)},!0),r}function Yn(e){for(;e.length;){var t=g(e);if(!t.ranges)break;e.pop()}}function _n(e,t){return t?(Yn(e.done),g(e.done)):e.done.length&&!g(e.done).ranges?g(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),g(e.done)):void 0}function $n(e,t,r,n){var i=e.history;i.undone.length=0;var o,l,s=+new Date;if((i.lastOp==n||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&e.cm&&i.lastModTime>s-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(o=_n(i,i.lastOp==n)))l=g(o.changes),0==P(t.from,t.to)&&0==P(t.from,l.to)?l.to=Pn(t):o.changes.push(Xn(e,t));else{var a=g(i.done);for(a&&a.ranges||Qn(e.sel,i.done),
|
49
|
-
o={changes:[Xn(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(r),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=n,i.lastOrigin=i.lastSelOrigin=t.origin,l||We(e,"historyAdded")}function qn(e,t,r,n){var i=t.charAt(0);return"*"==i||"+"==i&&r.ranges.length==n.ranges.length&&r.somethingSelected()==n.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Zn(e,t,r,n){var i=e.history,o=n&&n.origin;r==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||qn(e,o,g(i.done),t))?i.done[i.done.length-1]=t:Qn(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=r,n&&n.clearRedo!==!1&&Yn(i.undone)}function Qn(e,t){var r=g(t);r&&r.ranges&&r.equals(e)||t.push(e)}function Jn(e,t,r,n){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,r),Math.min(e.first+e.size,n),function(r){r.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=r.markedSpans),++o})}function ei(e){if(!e)return null;for(var t,r=0;r<e.length;++r)e[r].marker.explicitlyCleared?t||(t=e.slice(0,r)):t&&t.push(e[r]);return t?t.length?t:null:e}function ti(e,t){var r=t["spans_"+e.id];if(!r)return null;for(var n=[],i=0;i<t.text.length;++i)n.push(ei(r[i]));return n}function ri(e,t){var r=ti(e,t),n=q(e,t);if(!r)return n;if(!n)return r;for(var i=0;i<r.length;++i){var o=r[i],l=n[i];if(o&&l)e:for(var s=0;s<l.length;++s){for(var a=l[s],u=0;u<o.length;++u)if(o[u].marker==a.marker)continue e;o.push(a)}else l&&(r[i]=l)}return r}function ni(e,t,r){for(var n=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)n.push(r?Wn.prototype.deepCopy.call(o):o);else{var l=o.changes,s=[];n.push({changes:s});for(var a=0;a<l.length;++a){var u=l[a],c=void 0;if(s.push({from:u.from,to:u.to,text:u.text}),t)for(var f in u)(c=f.match(/^spans_(\d+)$/))&&h(t,Number(c[1]))>-1&&(g(s)[f]=u[f],delete u[f])}}}return n}function ii(e,t,r,n){if(e.cm&&e.cm.display.shift||e.extend){var i=t.anchor;if(n){var o=P(r,i)<0;o!=P(n,i)<0?(i=r,r=n):o!=P(r,n)<0&&(r=n)}return new An(i,r)}return new An(n||r,r)}function oi(e,t,r,n){fi(e,new Wn([ii(e,e.sel.primary(),t,r)],0),n)}function li(e,t,r){for(var n=[],i=0;i<e.sel.ranges.length;i++)n[i]=ii(e,e.sel.ranges[i],t[i],null);var o=Dn(n,e.sel.primIndex);fi(e,o,r)}function si(e,t,r,n){var i=e.sel.ranges.slice(0);i[t]=r,fi(e,Dn(i,e.sel.primIndex),n)}function ai(e,t,r,n){fi(e,Hn(t,r),n)}function ui(e,t,r){var n={ranges:t.ranges,update:function(t){var r=this;this.ranges=[];for(var n=0;n<t.length;n++)r.ranges[n]=new An(R(e,t[n].anchor),R(e,t[n].head))},origin:r&&r.origin};return We(e,"beforeSelectionChange",e,n),e.cm&&We(e.cm,"beforeSelectionChange",e.cm,n),n.ranges!=t.ranges?Dn(n.ranges,n.ranges.length-1):t}function ci(e,t,r){var n=e.history.done,i=g(n);i&&i.ranges?(n[n.length-1]=t,hi(e,t,r)):fi(e,t,r)}function fi(e,t,r){hi(e,t,r),Zn(e,e.sel,e.cm?e.cm.curOp.id:NaN,r)}function hi(e,t,r){(He(e,"beforeSelectionChange")||e.cm&&He(e.cm,"beforeSelectionChange"))&&(t=ui(e,t,r));var n=r&&r.bias||(P(t.primary().head,e.sel.primary().head)<0?-1:1);di(e,gi(e,t,n,!0)),r&&r.scroll===!1||!e.cm||Qr(e.cm)}function di(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=e.cm.curOp.selectionChanged=!0,De(e.cm)),Lt(e,"cursorActivity",e))}function pi(e){di(e,gi(e,e.sel,null,!1),Ml)}function gi(e,t,r,n){for(var i,o=0;o<t.ranges.length;o++){var l=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],a=mi(e,l.anchor,s&&s.anchor,r,n),u=mi(e,l.head,s&&s.head,r,n);(i||a!=l.anchor||u!=l.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new An(a,u))}return i?Dn(i,t.primIndex):t}function vi(e,t,r,n,i){var o=T(e,t.line);if(o.markedSpans)for(var l=0;l<o.markedSpans.length;++l){var s=o.markedSpans[l],a=s.marker;if((null==s.from||(a.inclusiveLeft?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(a.inclusiveRight?s.to>=t.ch:s.to>t.ch))){if(i&&(We(a,"beforeCursorEnter"),a.explicitlyCleared)){if(o.markedSpans){--l;continue}break}if(!a.atomic)continue;if(r){var u=a.find(n<0?1:-1),c=void 0;if((n<0?a.inclusiveRight:a.inclusiveLeft)&&(u=yi(e,u,-n,u&&u.line==t.line?o:null)),u&&u.line==t.line&&(c=P(u,r))&&(n<0?c<0:c>0))return vi(e,u,t,n,i)}var f=a.find(n<0?-1:1);return(n<0?a.inclusiveLeft:a.inclusiveRight)&&(f=yi(e,f,n,f.line==t.line?o:null)),f?vi(e,f,t,n,i):null}}return t}function mi(e,t,r,n,i){var o=n||1,l=vi(e,t,r,o,i)||!i&&vi(e,t,r,o,!0)||vi(e,t,r,-o,i)||!i&&vi(e,t,r,-o,!0);return l?l:(e.cantEdit=!0,H(e.first,0))}function yi(e,t,r,n){return r<0&&0==t.ch?t.line>e.first?R(e,H(t.line-1)):null:r>0&&t.ch==(n||T(e,t.line)).text.length?t.line<e.first+e.size-1?H(t.line+1,0):null:new H(t.line,t.ch+r)}function bi(e){e.setSelection(H(e.firstLine(),0),H(e.lastLine()),Ml)}function wi(e,t,r){var n={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return n.canceled=!0}};return r&&(n.update=function(t,r,i,o){t&&(n.from=R(e,t)),r&&(n.to=R(e,r)),i&&(n.text=i),void 0!==o&&(n.origin=o)}),We(e,"beforeChange",e,n),e.cm&&We(e.cm,"beforeChange",e.cm,n),n.canceled?null:{from:n.from,to:n.to,text:n.text,origin:n.origin}}function xi(e,t,r){if(e.cm){if(!e.cm.curOp)return cn(e.cm,xi)(e,t,r);if(e.cm.state.suppressEdits)return}if(!(He(e,"beforeChange")||e.cm&&He(e.cm,"beforeChange"))||(t=wi(e,t,!0))){var n=Dl&&!r&&Q(e,t.from,t.to);if(n)for(var i=n.length-1;i>=0;--i)Ci(e,{from:n[i].from,to:n[i].to,text:i?[""]:t.text});else Ci(e,t)}}function Ci(e,t){if(1!=t.text.length||""!=t.text[0]||0!=P(t.from,t.to)){var r=In(e,t);$n(e,t,r,e.cm?e.cm.curOp.id:NaN),Ti(e,t,r,q(e,t));var n=[];Vn(e,function(e,r){r||h(n,e.history)!=-1||(Wi(e.history,t),n.push(e.history)),Ti(e,t,null,q(e,t))})}}function Si(e,t,r){if(!e.cm||!e.cm.state.suppressEdits||r){for(var n,i=e.history,o=e.sel,l="undo"==t?i.done:i.undone,s="undo"==t?i.undone:i.done,a=0;a<l.length&&(n=l[a],r?!n.ranges||n.equals(e.sel):n.ranges);a++);if(a!=l.length){for(i.lastOrigin=i.lastSelOrigin=null;n=l.pop(),n.ranges;){if(Qn(n,s),r&&!n.equals(e.sel))return void fi(e,n,{clearRedo:!1});o=n}var u=[];Qn(o,s),s.push({changes:u,generation:i.generation}),i.generation=n.generation||++i.maxGeneration;for(var c=He(e,"beforeChange")||e.cm&&He(e.cm,"beforeChange"),f=function(r){var i=n.changes[r];if(i.origin=t,c&&!wi(e,i,!1))return l.length=0,{};u.push(Xn(e,i));var o=r?In(e,i):g(l);Ti(e,i,o,ri(e,i)),!r&&e.cm&&e.cm.scrollIntoView({from:i.from,to:Pn(i)});var s=[];Vn(e,function(e,t){t||h(s,e.history)!=-1||(Wi(e.history,i),s.push(e.history)),Ti(e,i,null,ri(e,i))})},d=n.changes.length-1;d>=0;--d){var p=f(d);if(p)return p.v}}}}function Li(e,t){if(0!=t&&(e.first+=t,e.sel=new Wn(v(e.sel.ranges,function(e){return new An(H(e.anchor.line+t,e.anchor.ch),H(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){dn(e.cm,e.first,e.first-t,t);for(var r=e.cm.display,n=r.viewFrom;n<r.viewTo;n++)pn(e.cm,n,"gutter")}}function Ti(e,t,r,n){if(e.cm&&!e.cm.curOp)return cn(e.cm,Ti)(e,t,r,n);if(t.to.line<e.first)return void Li(e,t.text.length-1-(t.to.line-t.from.line));if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);Li(e,i),t={from:H(e.first,0),to:H(t.to.line+i,t.to.ch),text:[g(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:H(o,T(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=M(e,t.from,t.to),r||(r=In(e,t)),e.cm?Mi(e.cm,t,n):Un(e,t,n),hi(e,r,Ml)}}function Mi(e,t,r){var n=e.doc,i=e.display,o=t.from,l=t.to,s=!1,a=o.line;e.options.lineWrapping||(a=O(ae(T(n,o.line))),n.iter(a,l.line+1,function(e){if(e==i.maxLine)return s=!0,!0})),n.sel.contains(t.from,t.to)>-1&&De(e),Un(n,t,r,wr(e)),e.options.lineWrapping||(n.iter(a,o.line+t.text.length,function(e){var t=ge(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0)),n.frontier=Math.min(n.frontier,o.line),bn(e,400);var u=t.text.length-(l.line-o.line)-1;t.full?dn(e):o.line!=l.line||1!=t.text.length||Gn(e.doc,t)?dn(e,o.line,l.line+1,u):pn(e,o.line,"text");var c=He(e,"changes"),f=He(e,"change");if(f||c){var h={from:o,to:l,text:t.text,removed:t.removed,origin:t.origin};f&&Lt(e,"change",e,h),c&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(h)}e.display.selForContextMenu=null}function ki(e,t,r,n,i){if(n||(n=r),P(n,r)<0){var o=n;n=r,r=o}"string"==typeof t&&(t=e.splitLines(t)),xi(e,{from:r,to:n,text:t,origin:i})}function Ni(e,t,r,n){r<e.line?e.line+=n:t<e.line&&(e.line=t,e.ch=0)}function Oi(e,t,r,n){for(var i=0;i<e.length;++i){var o=e[i],l=!0;if(o.ranges){o.copied||(o=e[i]=o.deepCopy(),o.copied=!0);for(var s=0;s<o.ranges.length;s++)Ni(o.ranges[s].anchor,t,r,n),Ni(o.ranges[s].head,t,r,n)}else{for(var a=0;a<o.changes.length;++a){var u=o.changes[a];if(r<u.from.line)u.from=H(u.from.line+n,u.from.ch),u.to=H(u.to.line+n,u.to.ch);else if(t<=u.to.line){l=!1;break}}l||(e.splice(0,i+1),i=0)}}}function Wi(e,t){var r=t.from.line,n=t.to.line,i=t.text.length-(n-r)-1;Oi(e.done,r,n,i),Oi(e.undone,r,n,i)}function Ai(e,t,r,n){var i=t,o=t;return"number"==typeof t?o=T(e,F(e,t)):i=O(t),null==i?null:(n(o,i)&&e.cm&&pn(e.cm,i,r),o)}function Di(e){var t=this;this.lines=e,this.parent=null;for(var r=0,n=0;n<e.length;++n)e[n].parent=t,r+=e[n].height;this.height=r}function Hi(e){var t=this;this.children=e;for(var r=0,n=0,i=0;i<e.length;++i){var o=e[i];r+=o.chunkSize(),n+=o.height,o.parent=t}this.size=r,this.height=n,this.parent=null}function Pi(e,t,r){var n=this;if(r)for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i]);this.doc=e,this.node=t}function Ei(e,t,r){pe(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Zr(e,null,r)}function Ii(e,t,r,n){var i=new Pi(e,r,n),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),Ai(e,t,"widget",function(t){var r=t.widgets||(t.widgets=[]);if(null==i.insertAt?r.push(i):r.splice(Math.min(r.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!he(e,t)){var n=pe(t)<e.scrollTop;N(t,t.height+Ft(i)),n&&Zr(o,null,i.height),o.curOp.forceUpdate=!0}return!0}),i}function zi(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++ls}function Fi(e,t,r,i,o){if(i&&i.shared)return Bi(e,t,r,i,o);if(e.cm&&!e.cm.curOp)return cn(e.cm,Fi)(e,t,r,i,o);var l=new zi(e,o),s=P(t,r);if(i&&u(i,l,!1),s>0||0==s&&l.clearWhenEmpty!==!1)return l;if(l.replacedWith&&(l.collapsed=!0,l.widgetNode=n("span",[l.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||l.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(l.widgetNode.insertLeft=!0)),l.collapsed){if(se(e,t.line,t,r,l)||t.line!=r.line&&se(e,r.line,t,r,l))throw new Error("Inserting collapsed marker partially overlapping an existing one");V()}l.addToHistory&&$n(e,{from:t,to:r,origin:"markText"},e.sel,NaN);var a,c=t.line,f=e.cm;if(e.iter(c,r.line+1,function(e){f&&l.collapsed&&!f.options.lineWrapping&&ae(e)==f.display.maxLine&&(a=!0),l.collapsed&&c!=t.line&&N(e,0),Y(e,new K(l,c==t.line?t.ch:null,c==r.line?r.ch:null)),++c}),l.collapsed&&e.iter(t.line,r.line+1,function(t){he(e,t)&&N(t,0)}),l.clearOnEnter&&zl(l,"beforeCursorEnter",function(){return l.clear()}),l.readOnly&&(U(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),l.collapsed&&(l.id=++ls,l.atomic=!0),f){if(a&&(f.curOp.updateMaxLine=!0),l.collapsed)dn(f,t.line,r.line+1);else if(l.className||l.title||l.startStyle||l.endStyle||l.css)for(var h=t.line;h<=r.line;h++)pn(f,h,"text");l.atomic&&pi(f.doc),Lt(f,"markerAdded",f,l)}return l}function Ri(e,t){var r=this;this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=r}function Bi(e,t,r,n,i){n=u(n),n.shared=!1;var o=[Fi(e,t,r,n,i)],l=o[0],s=n.widgetNode;return Vn(e,function(e){s&&(n.widgetNode=s.cloneNode(!0)),o.push(Fi(e,R(e,t),R(e,r),n,i));for(var a=0;a<e.linked.length;++a)if(e.linked[a].isParent)return;l=g(o)}),new Ri(o,l)}function Gi(e){return e.findMarks(H(e.first,0),e.clipPos(H(e.lastLine())),function(e){return e.parent})}function Ui(e,t){for(var r=0;r<t.length;r++){var n=t[r],i=n.find(),o=e.clipPos(i.from),l=e.clipPos(i.to);if(P(o,l)){var s=Fi(e,o,l,n.primary,n.primary.type);n.markers.push(s),s.parent=n}}}function Vi(e){for(var t=function(t){var r=e[t],n=[r.primary.doc];Vn(r.primary.doc,function(e){return n.push(e)});for(var i=0;i<r.markers.length;i++){var o=r.markers[i];h(n,o.doc)==-1&&(o.parent=null,r.markers.splice(i--,1))}},r=0;r<e.length;r++)t(r)}function Ki(e){var t=this;if(Yi(t),!Ae(t,e)&&!Rt(t.display,e)){Ee(e),rl&&(us=+new Date);var r=Cr(t,e,!0),n=e.dataTransfer.files;if(r&&!t.isReadOnly())if(n&&n.length&&window.FileReader&&window.File)for(var i=n.length,o=Array(i),l=0,s=function(e,n){if(!t.options.allowDropFileTypes||h(t.options.allowDropFileTypes,e.type)!=-1){var s=new FileReader;s.onload=cn(t,function(){var e=s.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(e)&&(e=""),o[n]=e,++l==i){r=R(t.doc,r);var a={from:r,to:r,text:t.doc.splitLines(o.join(t.doc.lineSeparator())),origin:"paste"};xi(t.doc,a),ci(t.doc,Hn(r,Pn(a)))}}),s.readAsText(e)}},a=0;a<i;++a)s(n[a],a);else{if(t.state.draggingText&&t.doc.sel.contains(r)>-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var u=e.dataTransfer.getData("Text");if(u){var c;if(t.state.draggingText&&!t.state.draggingText.copy&&(c=t.listSelections()),hi(t.doc,Hn(r,r)),c)for(var f=0;f<c.length;++f)ki(t.doc,"",c[f].anchor,c[f].head,"drag");t.replaceSelection(u,"around","paste"),t.display.input.focus()}}catch(e){}}}}function ji(e,t){if(rl&&(!e.state.draggingText||+new Date-us<100))return void Fe(t);if(!Ae(e,t)&&!Rt(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!al)){var r=n("img",null,null,"position: fixed; left: 0; top: 0;");r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",sl&&(r.width=r.height=1,e.display.wrapper.appendChild(r),r._top=r.offsetTop),t.dataTransfer.setDragImage(r,0,0),sl&&r.parentNode.removeChild(r)}}function Xi(e,t){var i=Cr(e,t);if(i){var o=document.createDocumentFragment();Mr(e,i,o),e.display.dragCursor||(e.display.dragCursor=n("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),r(e.display.dragCursor,o)}}function Yi(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function _i(e){if(document.body.getElementsByClassName)for(var t=document.body.getElementsByClassName("CodeMirror"),r=0;r<t.length;r++){var n=t[r].CodeMirror;n&&e(n)}}function $i(){cs||(qi(),cs=!0)}function qi(){var e;zl(window,"resize",function(){null==e&&(e=setTimeout(function(){e=null,_i(Zi)},100))}),zl(window,"blur",function(){return _i(Dr)})}function Zi(e){var t=e.display;t.lastWrapHeight==t.wrapper.clientHeight&&t.lastWrapWidth==t.wrapper.clientWidth||(t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize())}function Qi(e){var t=e.split(/-(?!$)/);e=t[t.length-1];for(var r,n,i,o,l=0;l<t.length-1;l++){var s=t[l];if(/^(cmd|meta|m)$/i.test(s))o=!0;else if(/^a(lt)?$/i.test(s))r=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);i=!0}}return r&&(e="Alt-"+e),n&&(e="Ctrl-"+e),o&&(e="Cmd-"+e),i&&(e="Shift-"+e),e}function Ji(e){var t={};for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];if(/^(name|fallthrough|(de|at)tach)$/.test(r))continue;if("..."==n){delete e[r];continue}for(var i=v(r.split(" "),Qi),o=0;o<i.length;o++){var l=void 0,s=void 0;o==i.length-1?(s=i.join(" "),l=n):(s=i.slice(0,o+1).join(" "),l="...");var a=t[s];if(a){if(a!=l)throw new Error("Inconsistent bindings for "+s)}else t[s]=l}delete e[r]}for(var u in t)e[u]=t[u];return e}function eo(e,t,r,n){t=no(t);var i=t.call?t.call(e,n):t[e];if(i===!1)return"nothing";if("..."===i)return"multi";if(null!=i&&r(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return eo(e,t.fallthrough,r,n);for(var o=0;o<t.fallthrough.length;o++){var l=eo(e,t.fallthrough[o],r,n);if(l)return l}}}function to(e){var t="string"==typeof e?e:fs[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function ro(e,t){if(sl&&34==e.keyCode&&e.char)return!1;var r=fs[e.keyCode],n=r;return null!=n&&!e.altGraphKey&&(e.altKey&&"Alt"!=r&&(n="Alt-"+n),(yl?e.metaKey:e.ctrlKey)&&"Ctrl"!=r&&(n="Ctrl-"+n),(yl?e.ctrlKey:e.metaKey)&&"Cmd"!=r&&(n="Cmd-"+n),!t&&e.shiftKey&&"Shift"!=r&&(n="Shift-"+n),n)}function no(e){return"string"==typeof e?gs[e]:e}function io(e,t){for(var r=e.doc.sel.ranges,n=[],i=0;i<r.length;i++){for(var o=t(r[i]);n.length&&P(o.from,g(n).to)<=0;){var l=n.pop();if(P(l.from,o.from)<0){o.from=l.from;break}}n.push(o)}un(e,function(){for(var t=n.length-1;t>=0;t--)ki(e.doc,"",n[t].from,n[t].to,"+delete");Qr(e)})}function oo(e,t){var r=T(e.doc,t),n=ae(r);n!=r&&(t=O(n));var i=ke(n),o=i?i[0].level%2?xe(n):we(n):0;return H(t,o)}function lo(e,t){for(var r,n=T(e.doc,t);r=le(n);)n=r.find(1,!0).line,t=null;var i=ke(n),o=i?i[0].level%2?we(n):xe(n):n.text.length;return H(null==t?O(n):t,o)}function so(e,t){var r=oo(e,t.line),n=T(e.doc,r.line),i=ke(n);if(!i||0==i[0].level){var o=Math.max(0,n.text.search(/\S/)),l=t.line==r.line&&t.ch<=o&&t.ch;return H(r.line,l?0:o)}return r}function ao(e,t,r){if("string"==typeof t&&(t=ys[t],!t))return!1;e.display.input.ensurePolled();var n=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r&&(e.display.shift=!1),i=t(e)!=Tl}finally{e.display.shift=n,e.state.suppressEdits=!1}return i}function uo(e,t,r){for(var n=0;n<e.state.keyMaps.length;n++){var i=eo(t,e.state.keyMaps[n],r,e);if(i)return i}return e.options.extraKeys&&eo(t,e.options.extraKeys,r,e)||eo(t,e.options.keyMap,r,e)}function co(e,t,r,n){var i=e.state.keySeq;if(i){if(to(t))return"handled";bs.set(50,function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())}),t=i+" "+t}var o=uo(e,t,n);return"multi"==o&&(e.state.keySeq=t),"handled"==o&&Lt(e,"keyHandled",e,t,r),"handled"!=o&&"multi"!=o||(Ee(r),Nr(e)),i&&!o&&/\'$/.test(t)?(Ee(r),!0):!!o}function fo(e,t){var r=ro(t,!0);return!!r&&(t.shiftKey&&!e.state.keySeq?co(e,"Shift-"+r,t,function(t){return ao(e,t,!0)})||co(e,r,t,function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return ao(e,t)}):co(e,r,t,function(t){return ao(e,t)}))}function ho(e,t,r){return co(e,"'"+r+"'",t,function(t){return ao(e,t,!0)})}function po(e){var t=this;if(t.curOp.focus=o(),!Ae(t,e)){rl&&nl<11&&27==e.keyCode&&(e.returnValue=!1);var r=e.keyCode;t.display.shift=16==r||e.shiftKey;var n=fo(t,e);sl&&(ws=n?r:null,!n&&88==r&&!Gl&&(dl?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),18!=r||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||go(t)}}function go(e){function t(e){18!=e.keyCode&&e.altKey||(wl(r,"CodeMirror-crosshair"),Oe(document,"keyup",t),Oe(document,"mouseover",t))}var r=e.display.lineDiv;l(r,"CodeMirror-crosshair"),zl(document,"keyup",t),zl(document,"mouseover",t)}function vo(e){16==e.keyCode&&(this.doc.sel.shift=!1),Ae(this,e)}function mo(e){var t=this;if(!(Rt(t.display,e)||Ae(t,e)||e.ctrlKey&&!e.altKey||dl&&e.metaKey)){var r=e.keyCode,n=e.charCode;if(sl&&r==ws)return ws=null,void Ee(e);if(!sl||e.which&&!(e.which<10)||!fo(t,e)){var i=String.fromCharCode(null==n?r:n);"\b"!=i&&(ho(t,e,i)||t.display.input.onKeyPress(e))}}}function yo(e){var t=this,r=t.display;if(!(Ae(t,e)||r.activeTouch&&r.input.supportsTouch())){if(r.input.ensurePolled(),r.shift=e.shiftKey,Rt(r,e))return void(il||(r.scroller.draggable=!1,setTimeout(function(){return r.scroller.draggable=!0},100)));if(!So(t,e)){var n=Cr(t,e);switch(window.focus(),Be(e)){case 1:t.state.selectingText?t.state.selectingText(e):n?bo(t,e,n):Re(e)==r.scroller&&Ee(e);break;case 2:il&&(t.state.lastMiddleDown=+new Date),n&&oi(t.doc,n),setTimeout(function(){return r.input.focus()},20),Ee(e);break;case 3:bl?Lo(t,e):Wr(t)}}}}function bo(e,t,r){rl?setTimeout(a(Or,e),0):e.curOp.focus=o();var n,i=+new Date;ms&&ms.time>i-400&&0==P(ms.pos,r)?n="triple":vs&&vs.time>i-400&&0==P(vs.pos,r)?(n="double",ms={time:i,pos:r}):(n="single",vs={time:i,pos:r});var l,s=e.doc.sel,u=dl?t.metaKey:t.ctrlKey;e.options.dragDrop&&Fl&&!e.isReadOnly()&&"single"==n&&(l=s.contains(r))>-1&&(P((l=s.ranges[l]).from(),r)<0||r.xRel>0)&&(P(l.to(),r)>0||r.xRel<0)?wo(e,t,r,u):xo(e,t,r,n,u)}function wo(e,t,r,n){var i=e.display,o=+new Date,l=cn(e,function(s){il&&(i.scroller.draggable=!1),e.state.draggingText=!1,Oe(document,"mouseup",l),Oe(i.scroller,"drop",l),Math.abs(t.clientX-s.clientX)+Math.abs(t.clientY-s.clientY)<10&&(Ee(s),!n&&+new Date-200<o&&oi(e.doc,r),il||rl&&9==nl?setTimeout(function(){document.body.focus(),i.input.focus()},20):i.input.focus())});il&&(i.scroller.draggable=!0),e.state.draggingText=l,l.copy=dl?t.altKey:t.ctrlKey,i.scroller.dragDrop&&i.scroller.dragDrop(),zl(document,"mouseup",l),zl(i.scroller,"drop",l)}function xo(e,t,r,n,i){function l(t){if(0!=P(b,t))if(b=t,"rect"==n){for(var i=[],o=e.options.tabSize,l=c(T(f,r.line).text,r.ch,o),s=c(T(f,t.line).text,t.ch,o),a=Math.min(l,s),u=Math.max(l,s),v=Math.min(r.line,t.line),m=Math.min(e.lastLine(),Math.max(r.line,t.line));v<=m;v++){var y=T(f,v).text,w=d(y,a,o);a==u?i.push(new An(H(v,w),H(v,w))):y.length>w&&i.push(new An(H(v,w),H(v,d(y,u,o))))}i.length||i.push(new An(r,r)),fi(f,Dn(g.ranges.slice(0,p).concat(i),p),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var x=h,C=x.anchor,S=t;if("single"!=n){var L;L="double"==n?e.findWordAt(t):new An(H(t.line,0),R(f,H(t.line+1,0))),P(L.anchor,C)>0?(S=L.head,C=z(x.from(),L.anchor)):(S=L.anchor,C=I(x.to(),L.head))}var M=g.ranges.slice(0);M[p]=new An(R(f,C),S),fi(f,Dn(M,p),kl)}}function s(t){var r=++x,i=Cr(e,t,!0,"rect"==n);if(i)if(0!=P(i,b)){e.curOp.focus=o(),l(i);var a=zr(u,f);(i.line>=a.to||i.line<a.from)&&setTimeout(cn(e,function(){x==r&&s(t)}),150)}else{var c=t.clientY<w.top?-20:t.clientY>w.bottom?20:0;c&&setTimeout(cn(e,function(){x==r&&(u.scroller.scrollTop+=c,s(t))}),50)}}function a(t){e.state.selectingText=!1,x=1/0,Ee(t),u.input.focus(),Oe(document,"mousemove",C),Oe(document,"mouseup",S),f.history.lastSelOrigin=null}var u=e.display,f=e.doc;Ee(t);var h,p,g=f.sel,v=g.ranges;if(i&&!t.shiftKey?(p=f.sel.contains(r),h=p>-1?v[p]:new An(r,r)):(h=f.sel.primary(),p=f.sel.primIndex),pl?t.shiftKey&&t.metaKey:t.altKey)n="rect",i||(h=new An(r,r)),r=Cr(e,t,!0,!0),p=-1;else if("double"==n){var m=e.findWordAt(r);h=e.display.shift||f.extend?ii(f,h,m.anchor,m.head):m}else if("triple"==n){var y=new An(H(r.line,0),R(f,H(r.line+1,0)));h=e.display.shift||f.extend?ii(f,h,y.anchor,y.head):y}else h=ii(f,h,r);i?p==-1?(p=v.length,fi(f,Dn(v.concat([h]),p),{scroll:!1,origin:"*mouse"})):v.length>1&&v[p].empty()&&"single"==n&&!t.shiftKey?(fi(f,Dn(v.slice(0,p).concat(v.slice(p+1)),0),{scroll:!1,origin:"*mouse"}),g=f.sel):si(f,p,h,kl):(p=0,fi(f,new Wn([h],0),kl),g=f.sel);var b=r,w=u.wrapper.getBoundingClientRect(),x=0,C=cn(e,function(e){Be(e)?s(e):a(e)}),S=cn(e,a);e.state.selectingText=S,zl(document,"mousemove",C),zl(document,"mouseup",S)}function Co(e,t,r,n){var i,o;try{i=t.clientX,o=t.clientY}catch(e){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;n&&Ee(t);var l=e.display,s=l.lineDiv.getBoundingClientRect();if(o>s.bottom||!He(e,r))return ze(t);o-=s.top-l.viewOffset;for(var a=0;a<e.options.gutters.length;++a){var u=l.gutters.childNodes[a];if(u&&u.getBoundingClientRect().right>=i){var c=W(e.doc,o),f=e.options.gutters[a];return We(e,r,e,c,f,t),ze(t)}}}function So(e,t){return Co(e,t,"gutterClick",!0)}function Lo(e,t){Rt(e.display,t)||To(e,t)||Ae(e,t,"contextmenu")||e.display.input.onContextMenu(t)}function To(e,t){return!!He(e,"gutterContextMenu")&&Co(e,t,"gutterContextMenu",!1)}function Mo(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),or(e)}function ko(e){function t(t,n,i,o){e.defaults[t]=n,i&&(r[t]=o?function(e,t,r){r!=xs&&i(e,t,r)}:i)}var r=e.optionHandlers;e.defineOption=t,e.Init=xs,t("value","",function(e,t){return e.setValue(t)},!0),t("mode",null,function(e,t){e.doc.modeOption=t,Rn(e)},!0),t("indentUnit",2,Rn,!0),t("indentWithTabs",!1),t("smartIndent",!0),t("tabSize",4,function(e){Bn(e),or(e),dn(e)},!0),t("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var r=[],n=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(o==-1)break;i=o+t.length,r.push(H(n,o))}n++});for(var i=r.length-1;i>=0;i--)ki(e.doc,t,r[i],H(r[i].line,r[i].ch+t.length))}}),t("specialChars",/[\u0000-\u001f\u007f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(e,t,r){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),r!=xs&&e.refresh()}),t("specialCharPlaceholder",dt,function(e){return e.refresh()},!0),t("electricChars",!0),t("inputStyle",hl?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),t("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),t("rtlMoveVisually",!gl),t("wholeLineUpdateBefore",!0),t("theme","default",function(e){Mo(e),No(e)},!0),t("keyMap","default",function(e,t,r){var n=no(t),i=r!=xs&&no(r);i&&i.detach&&i.detach(e,n),n.attach&&n.attach(e,i||null)}),t("extraKeys",null),t("lineWrapping",!1,Wo,!0),t("gutters",[],function(e){On(e.options),No(e)},!0),t("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?br(e.display)+"px":"0",e.refresh()},!0),t("coverGutterNextToScrollbar",!1,function(e){return Kr(e)},!0),t("scrollbarStyle","native",function(e){Xr(e),Kr(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),t("lineNumbers",!1,function(e){On(e.options),No(e)},!0),t("firstLineNumber",1,No,!0),t("lineNumberFormatter",function(e){return e},No,!0),t("showCursorWhenSelecting",!1,Lr,!0),t("resetSelectionOnContextMenu",!0),t("lineWiseCopyCut",!0),t("readOnly",!1,function(e,t){"nocursor"==t?(Dr(e),e.display.input.blur(),e.display.disabled=!0):e.display.disabled=!1,e.display.input.readOnlyChanged(t)}),t("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),t("dragDrop",!0,Oo),t("allowDropFileTypes",null),t("cursorBlinkRate",530),t("cursorScrollMargin",0),t("cursorHeight",1,Lr,!0),t("singleCursorHeightPerLine",!0,Lr,!0),t("workTime",100),t("workDelay",100),t("flattenSpans",!0,Bn,!0),t("addModeClass",!1,Bn,!0),t("pollInterval",100),t("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),t("historyEventDelay",1250),t("viewportMargin",10,function(e){return e.refresh()},!0),t("maxHighlightLength",1e4,Bn,!0),t("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),t("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),t("autofocus",null)}function No(e){Nn(e),dn(e),Hr(e)}function Oo(e,t,r){var n=r&&r!=xs;if(!t!=!n){var i=e.display.dragFunctions,o=t?zl:Oe;o(e.display.scroller,"dragstart",i.start),o(e.display.scroller,"dragenter",i.enter),o(e.display.scroller,"dragover",i.over),o(e.display.scroller,"dragleave",i.leave),o(e.display.scroller,"drop",i.drop)}}function Wo(e){e.options.lineWrapping?(l(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(wl(e.display.wrapper,"CodeMirror-wrap"),ve(e)),xr(e),dn(e),or(e),setTimeout(function(){return Kr(e)},100)}function Ao(e,t){var r=this;if(!(this instanceof Ao))return new Ao(e,t);this.options=t=t?u(t):{},u(Cs,t,!1),On(t);var n=t.value;"string"==typeof n&&(n=new as(n,t.mode,null,t.lineSeparator)),this.doc=n;var i=new Ao.inputStyles[t.inputStyle](this),o=this.display=new L(e,n,i);o.wrapper.CodeMirror=this,Nn(this),Mo(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Xr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new f,keySeq:null,specialChars:null},t.autofocus&&!hl&&o.input.focus(),rl&&nl<11&&setTimeout(function(){return r.display.input.reset(!0)},20),Do(this),$i(),en(this),this.curOp.forceUpdate=!0,Kn(this,n),t.autofocus&&!hl||this.hasFocus()?setTimeout(a(Ar,this),20):Dr(this);for(var l in Ss)Ss.hasOwnProperty(l)&&Ss[l](r,t[l],xs);Pr(this),t.finishInit&&t.finishInit(this);for(var s=0;s<Ls.length;++s)Ls[s](r);tn(this),il&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function Do(e){function t(){i.activeTouch&&(o=setTimeout(function(){return i.activeTouch=null},1e3),l=i.activeTouch,l.end=+new Date)}function r(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function n(e,t){if(null==t.left)return!0;var r=t.left-e.left,n=t.top-e.top;return r*r+n*n>400}var i=e.display;zl(i.scroller,"mousedown",cn(e,yo)),rl&&nl<11?zl(i.scroller,"dblclick",cn(e,function(t){if(!Ae(e,t)){var r=Cr(e,t);if(r&&!So(e,t)&&!Rt(e.display,t)){Ee(t);var n=e.findWordAt(r);oi(e.doc,n.anchor,n.head)}}})):zl(i.scroller,"dblclick",function(t){return Ae(e,t)||Ee(t)}),bl||zl(i.scroller,"contextmenu",function(t){return Lo(e,t)});var o,l={end:0};zl(i.scroller,"touchstart",function(t){if(!Ae(e,t)&&!r(t)){i.input.ensurePolled(),clearTimeout(o);var n=+new Date;i.activeTouch={start:n,moved:!1,prev:n-l.end<=300?l:null},1==t.touches.length&&(i.activeTouch.left=t.touches[0].pageX,i.activeTouch.top=t.touches[0].pageY)}}),zl(i.scroller,"touchmove",function(){i.activeTouch&&(i.activeTouch.moved=!0)}),zl(i.scroller,"touchend",function(r){var o=i.activeTouch;if(o&&!Rt(i,r)&&null!=o.left&&!o.moved&&new Date-o.start<300){var l,s=e.coordsChar(i.activeTouch,"page");l=!o.prev||n(o,o.prev)?new An(s,s):!o.prev.prev||n(o,o.prev.prev)?e.findWordAt(s):new An(H(s.line,0),R(e.doc,H(s.line+1,0))),e.setSelection(l.anchor,l.head),e.focus(),Ee(r)}t()}),zl(i.scroller,"touchcancel",t),zl(i.scroller,"scroll",function(){i.scroller.clientHeight&&(Fr(e,i.scroller.scrollTop),Rr(e,i.scroller.scrollLeft,!0),We(e,"scroll",e))}),zl(i.scroller,"mousewheel",function(t){return Ur(e,t)}),zl(i.scroller,"DOMMouseScroll",function(t){return Ur(e,t)}),zl(i.wrapper,"scroll",function(){return i.wrapper.scrollTop=i.wrapper.scrollLeft=0}),i.dragFunctions={enter:function(t){Ae(e,t)||Fe(t)},over:function(t){Ae(e,t)||(Xi(e,t),Fe(t))},start:function(t){return ji(e,t)},drop:cn(e,Ki),leave:function(t){Ae(e,t)||Yi(e)}};var s=i.input.getField();zl(s,"keyup",function(t){return vo.call(e,t)}),zl(s,"keydown",cn(e,po)),zl(s,"keypress",cn(e,mo)),zl(s,"focus",function(t){return Ar(e,t)}),zl(s,"blur",function(t){return Dr(e,t)})}function Ho(e,t,r,n){var i,o=e.doc;null==r&&(r="add"),"smart"==r&&(o.mode.indent?i=et(e,t):r="prev");var l=e.options.tabSize,s=T(o,t),a=c(s.text,null,l);s.stateAfter&&(s.stateAfter=null);var u,f=s.text.match(/^\s*/)[0];if(n||/\S/.test(s.text)){if("smart"==r&&(u=o.mode.indent(i,s.text.slice(f.length),s.text),u==Tl||u>150)){if(!n)return;r="prev"}}else u=0,r="not";"prev"==r?u=t>o.first?c(T(o,t-1).text,null,l):0:"add"==r?u=a+e.options.indentUnit:"subtract"==r?u=a-e.options.indentUnit:"number"==typeof r&&(u=a+r),u=Math.max(0,u);var h="",d=0;if(e.options.indentWithTabs)for(var g=Math.floor(u/l);g;--g)d+=l,h+="\t";if(d<u&&(h+=p(u-d)),h!=f)return ki(o,h,H(t,0),H(t,f.length),"+input"),s.stateAfter=null,!0;for(var v=0;v<o.sel.ranges.length;v++){var m=o.sel.ranges[v];if(m.head.line==t&&m.head.ch<f.length){var y=H(t,f.length);si(o,v,new An(y,y));break}}}function Po(e){Ts=e}function Eo(e,t,r,n,i){var o=e.doc;e.display.shift=!1,n||(n=o.sel);var l=e.state.pasteIncoming||"paste"==i,s=Rl(t),a=null;if(l&&n.ranges.length>1)if(Ts&&Ts.text.join("\n")==t){if(n.ranges.length%Ts.text.length==0){a=[];for(var u=0;u<Ts.text.length;u++)a.push(o.splitLines(Ts.text[u]))}}else s.length==n.ranges.length&&(a=v(s,function(e){return[e]}));for(var c,f=n.ranges.length-1;f>=0;f--){var h=n.ranges[f],d=h.from(),p=h.to();h.empty()&&(r&&r>0?d=H(d.line,d.ch-r):e.state.overwrite&&!l?p=H(p.line,Math.min(T(o,p.line).text.length,p.ch+g(s).length)):Ts&&Ts.lineWise&&Ts.text.join("\n")==t&&(d=p=H(d.line,0))),c=e.curOp.updateInput;var m={from:d,to:p,text:a?a[f%a.length]:s,origin:i||(l?"paste":e.state.cutIncoming?"cut":"+input")
|
50
|
-
};xi(e.doc,m),Lt(e,"inputRead",e,m)}t&&!l&&zo(e,t),Qr(e),e.curOp.updateInput=c,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function Io(e,t){var r=e.clipboardData&&e.clipboardData.getData("Text");if(r)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||un(t,function(){return Eo(t,r,0,null,"paste")}),!0}function zo(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var r=e.doc.sel,n=r.ranges.length-1;n>=0;n--){var i=r.ranges[n];if(!(i.head.ch>100||n&&r.ranges[n-1].head.line==i.head.line)){var o=e.getModeAt(i.head),l=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){l=Ho(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(T(e.doc,i.head.line).text.slice(0,i.head.ch))&&(l=Ho(e,i.head.line,"smart"));l&&Lt(e,"electricInput",e,i.head.line)}}}function Fo(e){for(var t=[],r=[],n=0;n<e.doc.sel.ranges.length;n++){var i=e.doc.sel.ranges[n].head.line,o={anchor:H(i,0),head:H(i+1,0)};r.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:r}}function Ro(e,t){e.setAttribute("autocorrect","off"),e.setAttribute("autocapitalize","off"),e.setAttribute("spellcheck",!!t)}function Bo(){var e=n("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=n("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return il?e.style.width="1000px":e.setAttribute("wrap","off"),fl&&(e.style.border="1px solid black"),Ro(e),t}function Go(e){var t=e.optionHandlers,r=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,r){var n=this.options,i=n[e];n[e]==r&&"mode"!=e||(n[e]=r,t.hasOwnProperty(e)&&cn(this,t[e])(this,r,i),We(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](no(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,r=0;r<t.length;++r)if(t[r]==e||t[r].name==e)return t.splice(r,1),!0},addOverlay:fn(function(t,r){var n=t.token?t:e.getMode(this.options,t);if(n.startState)throw new Error("Overlays may not be stateful.");m(this.state.overlays,{mode:n,modeSpec:t,opaque:r&&r.opaque,priority:r&&r.priority||0},function(e){return e.priority}),this.state.modeGen++,dn(this)}),removeOverlay:fn(function(e){for(var t=this,r=this.state.overlays,n=0;n<r.length;++n){var i=r[n].modeSpec;if(i==e||"string"==typeof e&&i.name==e)return r.splice(n,1),t.state.modeGen++,void dn(t)}}),indentLine:fn(function(e,t,r){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),A(this.doc,e)&&Ho(this,e,t,r)}),indentSelection:fn(function(e){for(var t=this,r=this.doc.sel.ranges,n=-1,i=0;i<r.length;i++){var o=r[i];if(o.empty())o.head.line>n&&(Ho(t,o.head.line,e,!0),n=o.head.line,i==t.doc.sel.primIndex&&Qr(t));else{var l=o.from(),s=o.to(),a=Math.max(n,l.line);n=Math.min(t.lastLine(),s.line-(s.ch?0:1))+1;for(var u=a;u<n;++u)Ho(t,u,e);var c=t.doc.sel.ranges;0==l.ch&&r.length==c.length&&c[i].from().ch>0&&si(t.doc,i,new An(l,c[i].to()),Ml)}}}),getTokenAt:function(e,t){return it(this,e,t)},getLineTokens:function(e,t){return it(this,H(e),t,!0)},getTokenTypeAt:function(e){e=R(this.doc,e);var t,r=Je(this,T(this.doc,e.line)),n=0,i=(r.length-1)/2,o=e.ch;if(0==o)t=r[2];else for(;;){var l=n+i>>1;if((l?r[2*l-1]:0)>=o)i=l;else{if(!(r[2*l+1]<o)){t=r[2*l+2];break}n=l+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var r=this.doc.mode;return r.innerMode?e.innerMode(r,this.getTokenAt(t).state).mode:r},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var n=this,i=[];if(!r.hasOwnProperty(t))return i;var o=r[t],l=this.getModeAt(e);if("string"==typeof l[t])o[l[t]]&&i.push(o[l[t]]);else if(l[t])for(var s=0;s<l[t].length;s++){var a=o[l[t][s]];a&&i.push(a)}else l.helperType&&o[l.helperType]?i.push(o[l.helperType]):o[l.name]&&i.push(o[l.name]);for(var u=0;u<o._global.length;u++){var c=o._global[u];c.pred(l,n)&&h(i,c.val)==-1&&i.push(c.val)}return i},getStateAfter:function(e,t){var r=this.doc;return e=F(r,null==e?r.first+r.size-1:e),et(this,e+1,t)},cursorCoords:function(e,t){var r,n=this.doc.sel.primary();return r=null==e?n.head:"object"==typeof e?R(this.doc,e):e?n.from():n.to(),fr(this,r,t||"page")},charCoords:function(e,t){return cr(this,R(this.doc,e),t||"page")},coordsChar:function(e,t){return e=ur(this,e,t||"page"),pr(this,e.left,e.top)},lineAtHeight:function(e,t){return e=ur(this,{top:e,left:0},t||"page").top,W(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,r){var n,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),n=T(this.doc,e)}else n=e;return ar(this,n,{top:0,left:0},t||"page",r).top+(i?this.doc.height-pe(n):0)},defaultTextHeight:function(){return vr(this.display)},defaultCharWidth:function(){return mr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,r,n,i){var o=this.display;e=fr(this,R(this.doc,e));var l=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==n)l=e.top;else if("above"==n||"near"==n){var a=Math.max(o.wrapper.clientHeight,this.doc.height),u=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==n||e.bottom+t.offsetHeight>a)&&e.top>t.offsetHeight?l=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=a&&(l=e.bottom),s+t.offsetWidth>u&&(s=u-t.offsetWidth)}t.style.top=l+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),r&&$r(this,s,l,s+t.offsetWidth,l+t.offsetHeight)},triggerOnKeyDown:fn(po),triggerOnKeyPress:fn(mo),triggerOnKeyUp:vo,execCommand:function(e){if(ys.hasOwnProperty(e))return ys[e].call(null,this)},triggerElectric:fn(function(e){zo(this,e)}),findPosH:function(e,t,r,n){var i=this,o=1;t<0&&(o=-1,t=-t);for(var l=R(this.doc,e),s=0;s<t&&(l=Uo(i.doc,l,o,r,n),!l.hitSide);++s);return l},moveH:fn(function(e,t){var r=this;this.extendSelectionsBy(function(n){return r.display.shift||r.doc.extend||n.empty()?Uo(r.doc,n.head,e,t,r.options.rtlMoveVisually):e<0?n.from():n.to()},Nl)}),deleteH:fn(function(e,t){var r=this.doc.sel,n=this.doc;r.somethingSelected()?n.replaceSelection("",null,"+delete"):io(this,function(r){var i=Uo(n,r.head,e,t,!1);return e<0?{from:i,to:r.head}:{from:r.head,to:i}})}),findPosV:function(e,t,r,n){var i=this,o=1,l=n;t<0&&(o=-1,t=-t);for(var s=R(this.doc,e),a=0;a<t;++a){var u=fr(i,s,"div");if(null==l?l=u.left:u.left=l,s=Vo(i,u,o,r),s.hitSide)break}return s},moveV:fn(function(e,t){var r=this,n=this.doc,i=[],o=!this.display.shift&&!n.extend&&n.sel.somethingSelected();if(n.extendSelectionsBy(function(l){if(o)return e<0?l.from():l.to();var s=fr(r,l.head,"div");null!=l.goalColumn&&(s.left=l.goalColumn),i.push(s.left);var a=Vo(r,s,e,t);return"page"==t&&l==n.sel.primary()&&Zr(r,null,cr(r,a,"div").top-s.top),a},Nl),i.length)for(var l=0;l<n.sel.ranges.length;l++)n.sel.ranges[l].goalColumn=i[l]}),findWordAt:function(e){var t=this.doc,r=T(t,e.line).text,n=e.ch,i=e.ch;if(r){var o=this.getHelper(e,"wordChars");(e.xRel<0||i==r.length)&&n?--n:++i;for(var l=r.charAt(n),s=x(l,o)?function(e){return x(e,o)}:/\s/.test(l)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!x(e)};n>0&&s(r.charAt(n-1));)--n;for(;i<r.length&&s(r.charAt(i));)++i}return new An(H(e.line,n),H(e.line,i))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?l(this.display.cursorDiv,"CodeMirror-overwrite"):wl(this.display.cursorDiv,"CodeMirror-overwrite"),We(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==o()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:fn(function(e,t){null==e&&null==t||Jr(this),null!=e&&(this.curOp.scrollLeft=e),null!=t&&(this.curOp.scrollTop=t)}),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Vt(this)-this.display.barHeight,width:e.scrollWidth-Vt(this)-this.display.barWidth,clientHeight:jt(this),clientWidth:Kt(this)}},scrollIntoView:fn(function(e,t){if(null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:H(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line)Jr(this),this.curOp.scrollToPos=e;else{var r=qr(this,Math.min(e.from.left,e.to.left),Math.min(e.from.top,e.to.top)-e.margin,Math.max(e.from.right,e.to.right),Math.max(e.from.bottom,e.to.bottom)+e.margin);this.scrollTo(r.scrollLeft,r.scrollTop)}}),setSize:fn(function(e,t){var r=this,n=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=n(e)),null!=t&&(this.display.wrapper.style.height=n(t)),this.options.lineWrapping&&ir(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){pn(r,i,"widget");break}++i}),this.curOp.forceUpdate=!0,We(this,"refresh",this)}),operation:function(e){return un(this,e)},refresh:fn(function(){var e=this.display.cachedTextHeight;dn(this),this.curOp.forceUpdate=!0,or(this),this.scrollTo(this.doc.scrollLeft,this.doc.scrollTop),Mn(this),(null==e||Math.abs(e-vr(this.display))>.5)&&xr(this),We(this,"refresh",this)}),swapDoc:fn(function(e){var t=this.doc;return t.cm=null,Kn(this,e),or(this),this.display.input.reset(),this.scrollTo(e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Lt(this,"swapDoc",this,t),t}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Pe(e),e.registerHelper=function(t,n,i){r.hasOwnProperty(t)||(r[t]=e[t]={_global:[]}),r[t][n]=i},e.registerGlobalHelper=function(t,n,i,o){e.registerHelper(t,n,o),r[t]._global.push({pred:i,val:o})}}function Uo(e,t,r,n,i){function o(){var t=s+r;return!(t<e.first||t>=e.first+e.size)&&(s=t,c=T(e,t))}function l(e){var t=(i?Te:Me)(c,a,r,!0);if(null==t){if(e||!o())return!1;a=i?(r<0?xe:we)(c):r<0?c.text.length:0}else a=t;return!0}var s=t.line,a=t.ch,u=r,c=T(e,s);if("char"==n)l();else if("column"==n)l(!0);else if("word"==n||"group"==n)for(var f=null,h="group"==n,d=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;!(r<0)||l(!p);p=!1){var g=c.text.charAt(a)||"\n",v=x(g,d)?"w":h&&"\n"==g?"n":!h||/\s/.test(g)?null:"p";if(!h||p||v||(v="s"),f&&f!=v){r<0&&(r=1,l());break}if(v&&(f=v),r>0&&!l(!p))break}var m=mi(e,H(s,a),t,u,!0);return P(t,m)||(m.hitSide=!0),m}function Vo(e,t,r,n){var i,o=e.doc,l=t.left;if("page"==n){var s=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),a=Math.max(s-.5*vr(e.display),3);i=(r>0?t.bottom:t.top)+r*a}else"line"==n&&(i=r>0?t.bottom+3:t.top-3);for(var u;u=pr(e,l,i),u.outside;){if(r<0?i<=0:i>=o.height){u.hitSide=!0;break}i+=5*r}return u}function Ko(e,t){var r=qt(e,t.line);if(!r||r.hidden)return null;var n=T(e.doc,t.line),i=Yt(r,n,t.line),o=ke(n),l="left";if(o){var s=Se(o,t.ch);l=s%2?"right":"left"}var a=Jt(i.map,t.ch,l);return a.offset="right"==a.collapse?a.end:a.start,a}function jo(e,t){return t&&(e.bad=!0),e}function Xo(e,t,r,n,i){function o(e){return function(t){return t.id==e}}function l(t){if(1==t.nodeType){var r=t.getAttribute("cm-text");if(null!=r)return void(s+=""==r?t.textContent.replace(/\u200b/g,""):r);var c,f=t.getAttribute("cm-marker");if(f){var h=e.findMarks(H(n,0),H(i+1,0),o(+f));return void(h.length&&(c=h[0].find())&&(s+=M(e.doc,c.from,c.to).join(u)))}if("false"==t.getAttribute("contenteditable"))return;for(var d=0;d<t.childNodes.length;d++)l(t.childNodes[d]);/^(pre|div|p)$/i.test(t.nodeName)&&(a=!0)}else if(3==t.nodeType){var p=t.nodeValue;if(!p)return;a&&(s+=u,a=!1),s+=p}}for(var s="",a=!1,u=e.doc.lineSeparator();l(t),t!=r;)t=t.nextSibling;return s}function Yo(e,t,r){var n;if(t==e.display.lineDiv){if(n=e.display.lineDiv.childNodes[r],!n)return jo(e.clipPos(H(e.display.viewTo-1)),!0);t=null,r=0}else for(n=t;;n=n.parentNode){if(!n||n==e.display.lineDiv)return null;if(n.parentNode&&n.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==n)return _o(o,t,r)}}function _o(e,t,r){function n(t,r,n){for(var i=-1;i<(f?f.length:0);i++)for(var o=i<0?c.map:f[i],l=0;l<o.length;l+=3){var s=o[l+2];if(s==t||s==r){var a=O(i<0?e.line:e.rest[i]),u=o[l]+n;return(n<0||s!=t)&&(u=o[l+(n?1:0)]),H(a,u)}}}var o=e.text.firstChild,l=!1;if(!t||!i(o,t))return jo(H(O(e.line),0),!0);if(t==o&&(l=!0,t=o.childNodes[r],r=0,!t)){var s=e.rest?g(e.rest):e.line;return jo(H(O(s),s.text.length),l)}var a=3==t.nodeType?t:null,u=t;for(a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,r&&(r=a.nodeValue.length));u.parentNode!=o;)u=u.parentNode;var c=e.measure,f=c.maps,h=n(a,u,r);if(h)return jo(h,l);for(var d=u.nextSibling,p=a?a.nodeValue.length-r:0;d;d=d.nextSibling){if(h=n(d,d.firstChild,0))return jo(H(h.line,h.ch-p),l);p+=d.textContent.length}for(var v=u.previousSibling,m=r;v;v=v.previousSibling){if(h=n(v,v.firstChild,-1))return jo(H(h.line,h.ch+m),l);m+=v.textContent.length}}function $o(e,t){function r(){e.value=a.getValue()}if(t=t?u(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=o();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}var i;if(e.form&&(zl(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var l=e.form;i=l.submit;try{var s=l.submit=function(){r(),l.submit=i,l.submit(),l.submit=s}}catch(e){}}t.finishInit=function(t){t.save=r,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,r(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(Oe(e.form,"submit",r),"function"==typeof e.form.submit&&(e.form.submit=i))}},e.style.display="none";var a=Ao(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return a}function qo(e){e.off=Oe,e.on=zl,e.wheelEventPixels=Gr,e.Doc=as,e.splitLines=Rl,e.countColumn=c,e.findColumn=d,e.isWordChar=w,e.Pass=Tl,e.signal=We,e.Line=at,e.changeEnd=Pn,e.scrollbarModel=ns,e.Pos=H,e.cmpPos=P,e.modes=Vl,e.mimeModes=Kl,e.resolveMode=Xe,e.getMode=Ye,e.modeExtensions=jl,e.extendMode=_e,e.copyState=$e,e.startState=Ze,e.innerMode=qe,e.commands=ys,e.keyMap=gs,e.keyName=ro,e.isModifierKey=to,e.lookupKey=eo,e.normalizeKeyMap=Ji,e.StringStream=Xl,e.SharedTextMarker=Ri,e.TextMarker=zi,e.LineWidget=Pi,e.e_preventDefault=Ee,e.e_stopPropagation=Ie,e.e_stop=Fe,e.addClass=l,e.contains=i,e.rmClass=wl,e.keyNames=fs}var Zo=navigator.userAgent,Qo=navigator.platform,Jo=/gecko\/\d/i.test(Zo),el=/MSIE \d/.test(Zo),tl=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Zo),rl=el||tl,nl=rl&&(el?document.documentMode||6:tl[1]),il=/WebKit\//.test(Zo),ol=il&&/Qt\/\d+\.\d+/.test(Zo),ll=/Chrome\//.test(Zo),sl=/Opera\//.test(Zo),al=/Apple Computer/.test(navigator.vendor),ul=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Zo),cl=/PhantomJS/.test(Zo),fl=/AppleWebKit/.test(Zo)&&/Mobile\/\w+/.test(Zo),hl=fl||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Zo),dl=fl||/Mac/.test(Qo),pl=/\bCrOS\b/.test(Zo),gl=/win/i.test(Qo),vl=sl&&Zo.match(/Version\/(\d*\.\d*)/);vl&&(vl=Number(vl[1])),vl&&vl>=15&&(sl=!1,il=!0);var ml,yl=dl&&(ol||sl&&(null==vl||vl<12.11)),bl=Jo||rl&&nl>=9,wl=function(t,r){var n=t.className,i=e(r).exec(n);if(i){var o=n.slice(i.index+i[0].length);t.className=n.slice(0,i.index)+(o?i[1]+o:"")}};ml=document.createRange?function(e,t,r,n){var i=document.createRange();return i.setEnd(n||e,r),i.setStart(e,t),i}:function(e,t,r){var n=document.body.createTextRange();try{n.moveToElementText(e.parentNode)}catch(e){return n}return n.collapse(!0),n.moveEnd("character",r),n.moveStart("character",t),n};var xl=function(e){e.select()};fl?xl=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:rl&&(xl=function(e){try{e.select()}catch(e){}}),f.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var Cl,Sl,Ll=30,Tl={toString:function(){return"CodeMirror.Pass"}},Ml={scroll:!1},kl={origin:"*mouse"},Nl={origin:"+move"},Ol=[""],Wl=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Al=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/,Dl=!1,Hl=!1,Pl=null,El=function(){function e(e){return e<=247?r.charAt(e):1424<=e&&e<=1524?"R":1536<=e&&e<=1785?n.charAt(e-1536):1774<=e&&e<=2220?"r":8192<=e&&e<=8203?"w":8204==e?"b":"L"}function t(e,t,r){this.level=e,this.from=t,this.to=r}var r="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",n="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,l=/[LRr]/,s=/[Lb1n]/,a=/[1n]/,u="L";return function(r){if(!i.test(r))return!1;for(var n=r.length,c=[],f=0;f<n;++f)c.push(e(r.charCodeAt(f)));for(var h=0,d=u;h<n;++h){var p=c[h];"m"==p?c[h]=d:d=p}for(var v=0,m=u;v<n;++v){var y=c[v];"1"==y&&"r"==m?c[v]="n":l.test(y)&&(m=y,"r"==y&&(c[v]="R"))}for(var b=1,w=c[0];b<n-1;++b){var x=c[b];"+"==x&&"1"==w&&"1"==c[b+1]?c[b]="1":","!=x||w!=c[b+1]||"1"!=w&&"n"!=w||(c[b]=w),w=x}for(var C=0;C<n;++C){var S=c[C];if(","==S)c[C]="N";else if("%"==S){var L=void 0;for(L=C+1;L<n&&"%"==c[L];++L);for(var T=C&&"!"==c[C-1]||L<n&&"1"==c[L]?"1":"N",M=C;M<L;++M)c[M]=T;C=L-1}}for(var k=0,N=u;k<n;++k){var O=c[k];"L"==N&&"1"==O?c[k]="L":l.test(O)&&(N=O)}for(var W=0;W<n;++W)if(o.test(c[W])){var A=void 0;for(A=W+1;A<n&&o.test(c[A]);++A);for(var D="L"==(W?c[W-1]:u),H="L"==(A<n?c[A]:u),P=D||H?"L":"R",E=W;E<A;++E)c[E]=P;W=A-1}for(var I,z=[],F=0;F<n;)if(s.test(c[F])){var R=F;for(++F;F<n&&s.test(c[F]);++F);z.push(new t(0,R,F))}else{var B=F,G=z.length;for(++F;F<n&&"L"!=c[F];++F);for(var U=B;U<F;)if(a.test(c[U])){B<U&&z.splice(G,0,new t(1,B,U));var V=U;for(++U;U<F&&a.test(c[U]);++U);z.splice(G,0,new t(2,V,U)),B=U}else++U;B<F&&z.splice(G,0,new t(1,B,F))}return 1==z[0].level&&(I=r.match(/^\s+/))&&(z[0].from=I[0].length,z.unshift(new t(0,0,I[0].length))),1==g(z).level&&(I=r.match(/\s+$/))&&(g(z).to-=I[0].length,z.push(new t(0,n-I[0].length,n))),2==z[0].level&&z.unshift(new t(1,z[0].to,z[0].to)),z[0].level!=g(z).level&&z.push(new t(z[0].level,n,n)),z}}(),Il=[],zl=function(e,t,r){if(e.addEventListener)e.addEventListener(t,r,!1);else if(e.attachEvent)e.attachEvent("on"+t,r);else{var n=e._handlers||(e._handlers={});n[t]=(n[t]||Il).concat(r)}},Fl=function(){if(rl&&nl<9)return!1;var e=n("div");return"draggable"in e||"dragDrop"in e}(),Rl=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,r=[],n=e.length;t<=n;){var i=e.indexOf("\n",t);i==-1&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),l=o.indexOf("\r");l!=-1?(r.push(o.slice(0,l)),t+=l+1):(r.push(o),t=i+1)}return r}:function(e){return e.split(/\r\n?|\n/)},Bl=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Gl=function(){var e=n("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Ul=null,Vl={},Kl={},jl={},Xl=function(e,t){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0};Xl.prototype={eol:function(){return this.pos>=this.string.length},sol:function(){return this.pos==this.lineStart},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},eat:function(e){var t,r=this.string.charAt(this.pos);if(t="string"==typeof e?r==e:r&&(e.test?e.test(r):e(r)))return++this.pos,r},eatWhile:function(e){for(var t=this.pos;this.eat(e););return this.pos>t},eatSpace:function(){for(var e=this,t=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++e.pos;return this.pos>t},skipToEnd:function(){this.pos=this.string.length},skipTo:function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},backUp:function(e){this.pos-=e},column:function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=c(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?c(this.string,this.lineStart,this.tabSize):0)},indentation:function(){return c(this.string,null,this.tabSize)-(this.lineStart?c(this.string,this.lineStart,this.tabSize):0)},match:function(e,t,r){if("string"!=typeof e){var n=this.string.slice(this.pos).match(e);return n&&n.index>0?null:(n&&t!==!1&&(this.pos+=n[0].length),n)}var i=function(e){return r?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);if(i(o)==i(e))return t!==!1&&(this.pos+=e.length),!0},current:function(){return this.string.slice(this.start,this.pos)},hideFirstChars:function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}}},Pe(at),at.prototype.lineNo=function(){return O(this)};var Yl,_l={},$l={},ql=null,Zl=null,Ql={left:0,right:0,top:0,bottom:0},Jl=0,es=null;rl?es=-.53:Jo?es=15:ll?es=-.7:al&&(es=-1/3);var ts=function(e,t,r){this.cm=r;var i=this.vert=n("div",[n("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=n("div",[n("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(i),e(o),zl(i,"scroll",function(){i.clientHeight&&t(i.scrollTop,"vertical")}),zl(o,"scroll",function(){o.clientWidth&&t(o.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,rl&&nl<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ts.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,r=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth;if(r){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0";var i=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=r?n+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(r?n:0);this.horiz.firstChild.style.width=e.scrollWidth-e.clientWidth+o+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==n&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:r?n:0,bottom:t?n:0}},ts.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz)},ts.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert)},ts.prototype.zeroWidthHack=function(){var e=dl&&!ul?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new f,this.disableVert=new f},ts.prototype.enableZeroWidthBar=function(e,t){function r(){var n=e.getBoundingClientRect(),i=document.elementFromPoint(n.left+1,n.bottom-1);i!=e?e.style.pointerEvents="none":t.set(1e3,r)}e.style.pointerEvents="auto",t.set(1e3,r)},ts.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var rs=function(){};rs.prototype.update=function(){return{bottom:0,right:0}},rs.prototype.setScrollLeft=function(){},rs.prototype.setScrollTop=function(){},rs.prototype.clear=function(){};var ns={native:ts,null:rs},is=0,os=function(e,t,r){var n=e.display;this.viewport=t,this.visible=zr(n,e.doc,t),this.editorIsHidden=!n.wrapper.offsetWidth,this.wrapperHeight=n.wrapper.clientHeight,this.wrapperWidth=n.wrapper.clientWidth,this.oldDisplayWidth=Kt(e),this.force=r,this.dims=yr(e),this.events=[]};os.prototype.signal=function(e,t){He(e,t)&&this.events.push(arguments)},os.prototype.finish=function(){for(var e=this,t=0;t<this.events.length;t++)We.apply(null,e.events[t])},Wn.prototype={primary:function(){return this.ranges[this.primIndex]},equals:function(e){var t=this;if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var r=0;r<this.ranges.length;r++){var n=t.ranges[r],i=e.ranges[r];if(0!=P(n.anchor,i.anchor)||0!=P(n.head,i.head))return!1}return!0},deepCopy:function(){for(var e=this,t=[],r=0;r<this.ranges.length;r++)t[r]=new An(E(e.ranges[r].anchor),E(e.ranges[r].head));return new Wn(t,this.primIndex)},somethingSelected:function(){for(var e=this,t=0;t<this.ranges.length;t++)if(!e.ranges[t].empty())return!0;return!1},contains:function(e,t){var r=this;t||(t=e);for(var n=0;n<this.ranges.length;n++){var i=r.ranges[n];if(P(t,i.from())>=0&&P(e,i.to())<=0)return n}return-1}},An.prototype={from:function(){return z(this.anchor,this.head)},to:function(){return I(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}},Di.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var r=this,n=e,i=e+t;n<i;++n){var o=r.lines[n];r.height-=o.height,ct(o),Lt(o,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,r){var n=this;this.height+=r,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var i=0;i<t.length;++i)t[i].parent=n},iterN:function(e,t,r){for(var n=this,i=e+t;e<i;++e)if(r(n.lines[e]))return!0}},Hi.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){var r=this;this.size-=t;for(var n=0;n<this.children.length;++n){var i=r.children[n],o=i.chunkSize();if(e<o){var l=Math.min(t,o-e),s=i.height;if(i.removeInner(e,l),r.height-=s-i.height,o==l&&(r.children.splice(n--,1),i.parent=null),0==(t-=l))break;e=0}else e-=o}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof Di))){var a=[];this.collapse(a),this.children=[new Di(a)],this.children[0].parent=this}},collapse:function(e){for(var t=this,r=0;r<this.children.length;++r)t.children[r].collapse(e)},insertInner:function(e,t,r){var n=this;this.size+=t.length,this.height+=r;for(var i=0;i<this.children.length;++i){var o=n.children[i],l=o.chunkSize();if(e<=l){if(o.insertInner(e,t,r),o.lines&&o.lines.length>50){for(var s=o.lines.length%25+25,a=s;a<o.lines.length;){var u=new Di(o.lines.slice(a,a+=25));o.height-=u.height,n.children.splice(++i,0,u),u.parent=n}o.lines=o.lines.slice(0,s),n.maybeSpill()}break}e-=l}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),r=new Hi(t);if(e.parent){e.size-=r.size,e.height-=r.height;var n=h(e.parent.children,e);e.parent.children.splice(n+1,0,r)}else{var i=new Hi(e.children);i.parent=e,e.children=[i,r],e=i}r.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,r){for(var n=this,i=0;i<this.children.length;++i){var o=n.children[i],l=o.chunkSize();if(e<l){var s=Math.min(t,l-e);if(o.iterN(e,s,r))return!0;if(0==(t-=s))break;e=0}else e-=l}}},Pe(Pi),Pi.prototype.clear=function(){var e=this,t=this.doc.cm,r=this.line.widgets,n=this.line,i=O(n);if(null!=i&&r){for(var o=0;o<r.length;++o)r[o]==e&&r.splice(o--,1);r.length||(n.widgets=null);var l=Ft(this);N(n,Math.max(0,n.height-l)),t&&un(t,function(){Ei(t,n,-l),pn(t,i,"widget")})}},Pi.prototype.changed=function(){var e=this.height,t=this.doc.cm,r=this.line;this.height=null;var n=Ft(this)-e;n&&(N(r,r.height+n),t&&un(t,function(){t.curOp.forceUpdate=!0,Ei(t,r,n)}))};var ls=0;Pe(zi),zi.prototype.clear=function(){var e=this;if(!this.explicitlyCleared){var t=this.doc.cm,r=t&&!t.curOp;if(r&&en(t),He(this,"clear")){var n=this.find();n&&Lt(this,"clear",n.from,n.to)}for(var i=null,o=null,l=0;l<this.lines.length;++l){var s=e.lines[l],a=j(s.markedSpans,e);t&&!e.collapsed?pn(t,O(s),"text"):t&&(null!=a.to&&(o=O(s)),null!=a.from&&(i=O(s))),s.markedSpans=X(s.markedSpans,a),null==a.from&&e.collapsed&&!he(e.doc,s)&&t&&N(s,vr(t.display))}if(t&&this.collapsed&&!t.options.lineWrapping)for(var u=0;u<this.lines.length;++u){var c=ae(e.lines[u]),f=ge(c);f>t.display.maxLineLength&&(t.display.maxLine=c,t.display.maxLineLength=f,t.display.maxLineChanged=!0)}null!=i&&t&&this.collapsed&&dn(t,i,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&pi(t.doc)),t&&Lt(t,"markerCleared",t,this),r&&tn(t),this.parent&&this.parent.clear()}},zi.prototype.find=function(e,t){var r=this;null==e&&"bookmark"==this.type&&(e=1);for(var n,i,o=0;o<this.lines.length;++o){var l=r.lines[o],s=j(l.markedSpans,r);if(null!=s.from&&(n=H(t?l:O(l),s.from),e==-1))return n;if(null!=s.to&&(i=H(t?l:O(l),s.to),1==e))return i}return n&&{from:n,to:i}},zi.prototype.changed=function(){var e=this.find(-1,!0),t=this,r=this.doc.cm;e&&r&&un(r,function(){var n=e.line,i=O(e.line),o=qt(r,i);if(o&&(nr(o),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!he(t.doc,n)&&null!=t.height){var l=t.height;t.height=null;var s=Ft(t)-l;s&&N(n,n.height+s)}})},zi.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&h(t.maybeHiddenMarkers,this)!=-1||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},zi.prototype.detachLine=function(e){if(this.lines.splice(h(this.lines,e),1),!this.lines.length&&this.doc.cm){
|
51
|
-
var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},Pe(Ri),Ri.prototype.clear=function(){var e=this;if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var t=0;t<this.markers.length;++t)e.markers[t].clear();Lt(this,"clear")}},Ri.prototype.find=function(e,t){return this.primary.find(e,t)};var ss=0,as=function(e,t,r,n){if(!(this instanceof as))return new as(e,t,r,n);null==r&&(r=0),Hi.call(this,[new Di([new at("",null)])]),this.first=r,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=r;var i=H(r,0);this.sel=Hn(i),this.history=new jn(null),this.id=++ss,this.modeOption=t,this.lineSep=n,this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),Un(this,{from:i,to:i,text:e}),fi(this,Hn(i),Ml)};as.prototype=b(Hi.prototype,{constructor:as,iter:function(e,t,r){r?this.iterN(e-this.first,t-e,r):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var r=0,n=0;n<t.length;++n)r+=t[n].height;this.insertInner(e-this.first,t,r)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=k(this,this.first,this.first+this.size);return e===!1?t:t.join(e||this.lineSeparator())},setValue:hn(function(e){var t=H(this.first,0),r=this.first+this.size-1;xi(this,{from:t,to:H(r,T(this,r).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),fi(this,Hn(t))}),replaceRange:function(e,t,r,n){t=R(this,t),r=r?R(this,r):t,ki(this,e,t,r,n)},getRange:function(e,t,r){var n=M(this,R(this,e),R(this,t));return r===!1?n:n.join(r||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(A(this,e))return T(this,e)},getLineNumber:function(e){return O(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=T(this,e)),ae(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return R(this,e)},getCursor:function(e){var t,r=this.sel.primary();return t=null==e||"head"==e?r.head:"anchor"==e?r.anchor:"end"==e||"to"==e||e===!1?r.to():r.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:hn(function(e,t,r){ai(this,R(this,"number"==typeof e?H(e,t||0):e),null,r)}),setSelection:hn(function(e,t,r){ai(this,R(this,e),R(this,t||e),r)}),extendSelection:hn(function(e,t,r){oi(this,R(this,e),t&&R(this,t),r)}),extendSelections:hn(function(e,t){li(this,G(this,e),t)}),extendSelectionsBy:hn(function(e,t){var r=v(this.sel.ranges,e);li(this,G(this,r),t)}),setSelections:hn(function(e,t,r){var n=this;if(e.length){for(var i=[],o=0;o<e.length;o++)i[o]=new An(R(n,e[o].anchor),R(n,e[o].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),fi(this,Dn(i,t),r)}}),addSelection:hn(function(e,t,r){var n=this.sel.ranges.slice(0);n.push(new An(R(this,e),R(this,t||e))),fi(this,Dn(n,n.length-1),r)}),getSelection:function(e){for(var t,r=this,n=this.sel.ranges,i=0;i<n.length;i++){var o=M(r,n[i].from(),n[i].to());t=t?t.concat(o):o}return e===!1?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=this,r=[],n=this.sel.ranges,i=0;i<n.length;i++){var o=M(t,n[i].from(),n[i].to());e!==!1&&(o=o.join(e||t.lineSeparator())),r[i]=o}return r},replaceSelection:function(e,t,r){for(var n=[],i=0;i<this.sel.ranges.length;i++)n[i]=e;this.replaceSelections(n,t,r||"+input")},replaceSelections:hn(function(e,t,r){for(var n=this,i=[],o=this.sel,l=0;l<o.ranges.length;l++){var s=o.ranges[l];i[l]={from:s.from(),to:s.to(),text:n.splitLines(e[l]),origin:r}}for(var a=t&&"end"!=t&&Fn(this,i,t),u=i.length-1;u>=0;u--)xi(n,i[u]);a?ci(this,a):this.cm&&Qr(this.cm)}),undo:hn(function(){Si(this,"undo")}),redo:hn(function(){Si(this,"redo")}),undoSelection:hn(function(){Si(this,"undo",!0)}),redoSelection:hn(function(){Si(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,r=0,n=0;n<e.done.length;n++)e.done[n].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++r;return{undo:t,redo:r}},clearHistory:function(){this.history=new jn(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:ni(this.history.done),undone:ni(this.history.undone)}},setHistory:function(e){var t=this.history=new jn(this.history.maxGeneration);t.done=ni(e.done.slice(0),null,!0),t.undone=ni(e.undone.slice(0),null,!0)},setGutterMarker:hn(function(e,t,r){return Ai(this,e,"gutter",function(e){var n=e.gutterMarkers||(e.gutterMarkers={});return n[t]=r,!r&&C(n)&&(e.gutterMarkers=null),!0})}),clearGutter:hn(function(e){var t=this,r=this.first;this.iter(function(n){n.gutterMarkers&&n.gutterMarkers[e]&&Ai(t,n,"gutter",function(){return n.gutterMarkers[e]=null,C(n.gutterMarkers)&&(n.gutterMarkers=null),!0}),++r})}),lineInfo:function(e){var t;if("number"==typeof e){if(!A(this,e))return null;if(t=e,e=T(this,e),!e)return null}else if(t=O(e),null==t)return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:hn(function(t,r,n){return Ai(this,t,"gutter"==r?"gutter":"class",function(t){var i="text"==r?"textClass":"background"==r?"bgClass":"gutter"==r?"gutterClass":"wrapClass";if(t[i]){if(e(n).test(t[i]))return!1;t[i]+=" "+n}else t[i]=n;return!0})}),removeLineClass:hn(function(t,r,n){return Ai(this,t,"gutter"==r?"gutter":"class",function(t){var i="text"==r?"textClass":"background"==r?"bgClass":"gutter"==r?"gutterClass":"wrapClass",o=t[i];if(!o)return!1;if(null==n)t[i]=null;else{var l=o.match(e(n));if(!l)return!1;var s=l.index+l[0].length;t[i]=o.slice(0,l.index)+(l.index&&s!=o.length?" ":"")+o.slice(s)||null}return!0})}),addLineWidget:hn(function(e,t,r){return Ii(this,e,t,r)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,r){return Fi(this,R(this,e),R(this,t),r,r&&r.type||"range")},setBookmark:function(e,t){var r={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=R(this,e),Fi(this,e,e,r,"bookmark")},findMarksAt:function(e){e=R(this,e);var t=[],r=T(this,e.line).markedSpans;if(r)for(var n=0;n<r.length;++n){var i=r[n];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,r){e=R(this,e),t=R(this,t);var n=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var l=o.markedSpans;if(l)for(var s=0;s<l.length;s++){var a=l[s];null!=a.to&&i==e.line&&e.ch>=a.to||null==a.from&&i!=e.line||null!=a.from&&i==t.line&&a.from>=t.ch||r&&!r(a.marker)||n.push(a.marker.parent||a.marker)}++i}),n},getAllMarks:function(){var e=[];return this.iter(function(t){var r=t.markedSpans;if(r)for(var n=0;n<r.length;++n)null!=r[n].from&&e.push(r[n].marker)}),e},posFromIndex:function(e){var t,r=this.first,n=this.lineSeparator().length;return this.iter(function(i){var o=i.text.length+n;return o>e?(t=e,!0):(e-=o,void++r)}),R(this,H(r,t))},indexFromPos:function(e){e=R(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var r=this.lineSeparator().length;return this.iter(this.first,e.line,function(e){t+=e.text.length+r}),t},copy:function(e){var t=new as(k(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,r=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<r&&(r=e.to);var n=new as(k(this,t,r),e.mode||this.modeOption,t,this.lineSep);return e.sharedHist&&(n.history=this.history),(this.linked||(this.linked=[])).push({doc:n,sharedHist:e.sharedHist}),n.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],Ui(n,Gi(this)),n},unlinkDoc:function(e){var t=this;if(e instanceof Ao&&(e=e.doc),this.linked)for(var r=0;r<this.linked.length;++r){var n=t.linked[r];if(n.doc==e){t.linked.splice(r,1),e.unlinkDoc(t),Vi(Gi(t));break}}if(e.history==this.history){var i=[e.id];Vn(e,function(e){return i.push(e.id)},!0),e.history=new jn(null),e.history.done=ni(this.history.done,i),e.history.undone=ni(this.history.undone,i)}},iterLinkedDocs:function(e){Vn(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Rl(e)},lineSeparator:function(){return this.lineSep||"\n"}}),as.prototype.eachLine=as.prototype.iter;for(var us=0,cs=!1,fs={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},hs=0;hs<10;hs++)fs[hs+48]=fs[hs+96]=String(hs);for(var ds=65;ds<=90;ds++)fs[ds]=String.fromCharCode(ds);for(var ps=1;ps<=12;ps++)fs[ps+111]=fs[ps+63235]="F"+ps;var gs={};gs.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},gs.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},gs.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},gs.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},gs.default=dl?gs.macDefault:gs.pcDefault;var vs,ms,ys={selectAll:bi,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Ml)},killLine:function(e){return io(e,function(t){if(t.empty()){var r=T(e.doc,t.head.line).text.length;return t.head.ch==r&&t.head.line<e.lastLine()?{from:t.head,to:H(t.head.line+1,0)}:{from:t.head,to:H(t.head.line,r)}}return{from:t.from(),to:t.to()}})},deleteLine:function(e){return io(e,function(t){return{from:H(t.from().line,0),to:R(e.doc,H(t.to().line+1,0))}})},delLineLeft:function(e){return io(e,function(e){return{from:H(e.from().line,0),to:e.from()}})},delWrappedLineLeft:function(e){return io(e,function(t){var r=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:r},"div");return{from:n,to:t.from()}})},delWrappedLineRight:function(e){return io(e,function(t){var r=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div");return{from:t.from(),to:n}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(H(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(H(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return oo(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return so(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return lo(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var r=e.charCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div")},Nl)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var r=e.charCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:r},"div")},Nl)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var r=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:r},"div");return n.ch<e.getLine(n.line).search(/\S/)?so(e,t.head):n},Nl)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"char")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],r=e.listSelections(),n=e.options.tabSize,i=0;i<r.length;i++){var o=r[i].from(),l=c(e.getLine(o.line),o.ch,n);t.push(p(n-l%n))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return un(e,function(){for(var t=e.listSelections(),r=[],n=0;n<t.length;n++)if(t[n].empty()){var i=t[n].head,o=T(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new H(i.line,i.ch-1)),i.ch>0)i=new H(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),H(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var l=T(e.doc,i.line-1).text;l&&(i=new H(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+l.charAt(l.length-1),H(i.line-1,l.length-1),i,"+transpose"))}r.push(new An(i,i))}e.setSelections(r)})},newlineAndIndent:function(e){return un(e,function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange(e.doc.lineSeparator(),t[r].anchor,t[r].head,"+input");t=e.listSelections();for(var n=0;n<t.length;n++)e.indentLine(t[n].from().line,null,!0);Qr(e)})},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}},bs=new f,ws=null,xs={toString:function(){return"CodeMirror.Init"}},Cs={},Ss={};Ao.defaults=Cs,Ao.optionHandlers=Ss;var Ls=[];Ao.defineInitHook=function(e){return Ls.push(e)};var Ts=null,Ms=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new f,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ms.prototype.init=function(e){function t(e){if(!Ae(i,e)){if(i.somethingSelected())Po({lineWise:!1,text:i.getSelections()}),"cut"==e.type&&i.replaceSelection("",null,"cut");else{if(!i.options.lineWiseCopyCut)return;var t=Fo(i);Po({lineWise:!0,text:t.text}),"cut"==e.type&&i.operation(function(){i.setSelections(t.ranges,0,Ml),i.replaceSelection("",null,"cut")})}if(e.clipboardData){e.clipboardData.clearData();var r=Ts.text.join("\n");if(e.clipboardData.setData("Text",r),e.clipboardData.getData("Text")==r)return void e.preventDefault()}var l=Bo(),s=l.firstChild;i.display.lineSpace.insertBefore(l,i.display.lineSpace.firstChild),s.value=Ts.text.join("\n");var a=document.activeElement;xl(s),setTimeout(function(){i.display.lineSpace.removeChild(l),a.focus(),a==o&&n.showPrimarySelection()},50)}}var r=this,n=this,i=n.cm,o=n.div=e.lineDiv;Ro(o,i.options.spellcheck),zl(o,"paste",function(e){Ae(i,e)||Io(e,i)||nl<=11&&setTimeout(cn(i,function(){n.pollContent()||dn(i)}),20)}),zl(o,"compositionstart",function(e){r.composing={data:e.data,done:!1}}),zl(o,"compositionupdate",function(e){r.composing||(r.composing={data:e.data,done:!1})}),zl(o,"compositionend",function(e){r.composing&&(e.data!=r.composing.data&&r.readFromDOMSoon(),r.composing.done=!0)}),zl(o,"touchstart",function(){return n.forceCompositionEnd()}),zl(o,"input",function(){r.composing||r.readFromDOMSoon()}),zl(o,"copy",t),zl(o,"cut",t)},Ms.prototype.prepareSelection=function(){var e=Tr(this.cm,!1);return e.focus=this.cm.state.focused,e},Ms.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ms.prototype.showPrimarySelection=function(){var e=window.getSelection(),t=this.cm.doc.sel.primary(),r=Yo(this.cm,e.anchorNode,e.anchorOffset),n=Yo(this.cm,e.focusNode,e.focusOffset);if(!r||r.bad||!n||n.bad||0!=P(z(r,n),t.from())||0!=P(I(r,n),t.to())){var i=Ko(this.cm,t.from()),o=Ko(this.cm,t.to());if(i||o){var l=this.cm.display.view,s=e.rangeCount&&e.getRangeAt(0);if(i){if(!o){var a=l[l.length-1].measure,u=a.maps?a.maps[a.maps.length-1]:a.map;o={node:u[u.length-1],offset:u[u.length-2]-u[u.length-3]}}}else i={node:l[0].measure.map[2],offset:0};var c;try{c=ml(i.node,i.offset,o.offset,o.node)}catch(e){}c&&(!Jo&&this.cm.state.focused?(e.collapse(i.node,i.offset),c.collapsed||(e.removeAllRanges(),e.addRange(c))):(e.removeAllRanges(),e.addRange(c)),s&&null==e.anchorNode?e.addRange(s):Jo&&this.startGracePeriod()),this.rememberSelection()}}},Ms.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},Ms.prototype.showMultipleSelections=function(e){r(this.cm.display.cursorDiv,e.cursors),r(this.cm.display.selectionDiv,e.selection)},Ms.prototype.rememberSelection=function(){var e=window.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ms.prototype.selectionInEditor=function(){var e=window.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return i(this.div,t)},Ms.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ms.prototype.blur=function(){this.div.blur()},Ms.prototype.getField=function(){return this.div},Ms.prototype.supportsTouch=function(){return!0},Ms.prototype.receivedFocus=function(){function e(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,e))}var t=this;this.selectionInEditor()?this.pollSelection():un(this.cm,function(){return t.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,e)},Ms.prototype.selectionChanged=function(){var e=window.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ms.prototype.pollSelection=function(){if(!this.composing&&null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=window.getSelection(),t=this.cm;this.rememberSelection();var r=Yo(t,e.anchorNode,e.anchorOffset),n=Yo(t,e.focusNode,e.focusOffset);r&&n&&un(t,function(){fi(t.doc,Hn(r,n),Ml),(r.bad||n.bad)&&(t.curOp.selectionChanged=!0)})}},Ms.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,t=e.display,r=e.doc.sel.primary(),n=r.from(),i=r.to();if(0==n.ch&&n.line>e.firstLine()&&(n=H(n.line-1,T(e.doc,n.line-1).length)),i.ch==T(e.doc,i.line).text.length&&i.line<e.lastLine()&&(i=H(i.line+1,0)),n.line<t.viewFrom||i.line>t.viewTo-1)return!1;var o,l,s;n.line==t.viewFrom||0==(o=Sr(e,n.line))?(l=O(t.view[0].line),s=t.view[0].node):(l=O(t.view[o].line),s=t.view[o-1].node.nextSibling);var a,u,c=Sr(e,i.line);if(c==t.view.length-1?(a=t.viewTo-1,u=t.lineDiv.lastChild):(a=O(t.view[c+1].line)-1,u=t.view[c+1].node.previousSibling),!s)return!1;for(var f=e.doc.splitLines(Xo(e,s,u,l,a)),h=M(e.doc,H(l,0),H(a,T(e.doc,a).text.length));f.length>1&&h.length>1;)if(g(f)==g(h))f.pop(),h.pop(),a--;else{if(f[0]!=h[0])break;f.shift(),h.shift(),l++}for(var d=0,p=0,v=f[0],m=h[0],y=Math.min(v.length,m.length);d<y&&v.charCodeAt(d)==m.charCodeAt(d);)++d;for(var b=g(f),w=g(h),x=Math.min(b.length-(1==f.length?d:0),w.length-(1==h.length?d:0));p<x&&b.charCodeAt(b.length-p-1)==w.charCodeAt(w.length-p-1);)++p;f[f.length-1]=b.slice(0,b.length-p).replace(/^\u200b+/,""),f[0]=f[0].slice(d).replace(/\u200b+$/,"");var C=H(l,d),S=H(a,h.length?g(h).length-p:0);return f.length>1||f[0]||P(C,S)?(ki(e.doc,f,C,S,"+input"),!0):void 0},Ms.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ms.prototype.reset=function(){this.forceCompositionEnd()},Ms.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.pollContent()||dn(this.cm),this.div.blur(),this.div.focus())},Ms.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}!e.cm.isReadOnly()&&e.pollContent()||un(e.cm,function(){return dn(e.cm)})},80))},Ms.prototype.setUneditable=function(e){e.contentEditable="false"},Ms.prototype.onKeyPress=function(e){e.preventDefault(),this.cm.isReadOnly()||cn(this.cm,Eo)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0)},Ms.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Ms.prototype.onContextMenu=function(){},Ms.prototype.resetPosition=function(){},Ms.prototype.needsContentAttribute=!0;var ks=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new f,this.inaccurateSelection=!1,this.hasSelection=!1,this.composing=null};ks.prototype.init=function(e){function t(e){if(!Ae(i,e)){if(i.somethingSelected())Po({lineWise:!1,text:i.getSelections()}),n.inaccurateSelection&&(n.prevInput="",n.inaccurateSelection=!1,l.value=Ts.text.join("\n"),xl(l));else{if(!i.options.lineWiseCopyCut)return;var t=Fo(i);Po({lineWise:!0,text:t.text}),"cut"==e.type?i.setSelections(t.ranges,null,Ml):(n.prevInput="",l.value=t.text.join("\n"),xl(l))}"cut"==e.type&&(i.state.cutIncoming=!0)}}var r=this,n=this,i=this.cm,o=this.wrapper=Bo(),l=this.textarea=o.firstChild;e.wrapper.insertBefore(o,e.wrapper.firstChild),fl&&(l.style.width="0px"),zl(l,"input",function(){rl&&nl>=9&&r.hasSelection&&(r.hasSelection=null),n.poll()}),zl(l,"paste",function(e){Ae(i,e)||Io(e,i)||(i.state.pasteIncoming=!0,n.fastPoll())}),zl(l,"cut",t),zl(l,"copy",t),zl(e.scroller,"paste",function(t){Rt(e,t)||Ae(i,t)||(i.state.pasteIncoming=!0,n.focus())}),zl(e.lineSpace,"selectstart",function(t){Rt(e,t)||Ee(t)}),zl(l,"compositionstart",function(){var e=i.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:i.markText(e,i.getCursor("to"),{className:"CodeMirror-composing"})}}),zl(l,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},ks.prototype.prepareSelection=function(){var e=this.cm,t=e.display,r=e.doc,n=Tr(e);if(e.options.moveInputWithCursor){var i=fr(e,r.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),l=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+l.top-o.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+l.left-o.left))}return n},ks.prototype.showSelection=function(e){var t=this.cm,n=t.display;r(n.cursorDiv,e.cursors),r(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},ks.prototype.reset=function(e){if(!this.contextMenuPending){var t,r,n=this.cm,i=n.doc;if(n.somethingSelected()){this.prevInput="";var o=i.sel.primary();t=Gl&&(o.to().line-o.from().line>100||(r=n.getSelection()).length>1e3);var l=t?"-":r||n.getSelection();this.textarea.value=l,n.state.focused&&xl(this.textarea),rl&&nl>=9&&(this.hasSelection=l)}else e||(this.prevInput=this.textarea.value="",rl&&nl>=9&&(this.hasSelection=null));this.inaccurateSelection=t}},ks.prototype.getField=function(){return this.textarea},ks.prototype.supportsTouch=function(){return!1},ks.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!hl||o()!=this.textarea))try{this.textarea.focus()}catch(e){}},ks.prototype.blur=function(){this.textarea.blur()},ks.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ks.prototype.receivedFocus=function(){this.slowPoll()},ks.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},ks.prototype.fastPoll=function(){function e(){var n=r.poll();n||t?(r.pollingFast=!1,r.slowPoll()):(t=!0,r.polling.set(60,e))}var t=!1,r=this;r.pollingFast=!0,r.polling.set(20,e)},ks.prototype.poll=function(){var e=this,t=this.cm,r=this.textarea,n=this.prevInput;if(this.contextMenuPending||!t.state.focused||Bl(r)&&!n&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=r.value;if(i==n&&!t.somethingSelected())return!1;if(rl&&nl>=9&&this.hasSelection===i||dl&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||n||(n=""),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var l=0,s=Math.min(n.length,i.length);l<s&&n.charCodeAt(l)==i.charCodeAt(l);)++l;return un(t,function(){Eo(t,i.slice(l),n.length-l,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?r.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ks.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ks.prototype.onKeyPress=function(){rl&&nl>=9&&(this.hasSelection=null),this.fastPoll()},ks.prototype.onContextMenu=function(e){function t(){if(null!=l.selectionStart){var e=i.somethingSelected(),t=""+(e?l.value:"");l.value="⇚",l.value=t,n.prevInput=e?"":"",l.selectionStart=1,l.selectionEnd=t.length,o.selForContextMenu=i.doc.sel}}function r(){if(n.contextMenuPending=!1,n.wrapper.style.cssText=f,l.style.cssText=c,rl&&nl<9&&o.scrollbars.setScrollTop(o.scroller.scrollTop=a),null!=l.selectionStart){(!rl||rl&&nl<9)&&t();var e=0,r=function(){o.selForContextMenu==i.doc.sel&&0==l.selectionStart&&l.selectionEnd>0&&""==n.prevInput?cn(i,bi)(i):e++<10?o.detectingSelectAll=setTimeout(r,500):o.input.reset()};o.detectingSelectAll=setTimeout(r,200)}}var n=this,i=n.cm,o=i.display,l=n.textarea,s=Cr(i,e),a=o.scroller.scrollTop;if(s&&!sl){var u=i.options.resetSelectionOnContextMenu;u&&i.doc.sel.contains(s)==-1&&cn(i,fi)(i.doc,Hn(s),Ml);var c=l.style.cssText,f=n.wrapper.style.cssText;n.wrapper.style.cssText="position: absolute";var h=n.wrapper.getBoundingClientRect();l.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-h.top-5)+"px; left: "+(e.clientX-h.left-5)+"px;\n z-index: 1000; background: "+(rl?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var d;if(il&&(d=window.scrollY),o.input.focus(),il&&window.scrollTo(null,d),o.input.reset(),i.somethingSelected()||(l.value=n.prevInput=" "),n.contextMenuPending=!0,o.selForContextMenu=i.doc.sel,clearTimeout(o.detectingSelectAll),rl&&nl>=9&&t(),bl){Fe(e);var p=function(){Oe(window,"mouseup",p),setTimeout(r,20)};zl(window,"mouseup",p)}else setTimeout(r,50)}},ks.prototype.readOnlyChanged=function(e){e||this.reset()},ks.prototype.setUneditable=function(){},ks.prototype.needsContentAttribute=!1,ko(Ao),Go(Ao);var Ns="iter insert remove copy getEditor constructor".split(" ");for(var Os in as.prototype)as.prototype.hasOwnProperty(Os)&&h(Ns,Os)<0&&(Ao.prototype[Os]=function(e){return function(){return e.apply(this.doc,arguments)}}(as.prototype[Os]));return Pe(as),Ao.inputStyles={textarea:ks,contenteditable:Ms},Ao.defineMode=function(e){Ao.defaults.mode||"null"==e||(Ao.defaults.mode=e),Ke.apply(this,arguments)},Ao.defineMIME=je,Ao.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Ao.defineMIME("text/plain","null"),Ao.defineExtension=function(e,t){Ao.prototype[e]=t},Ao.defineDocExtension=function(e,t){as.prototype[e]=t},Ao.fromTextArea=$o,qo(Ao),Ao.version="5.22.2",Ao});
|
52
|
-
},{}],24:[function(require,module,exports){
|
53
|
-
!function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";function t(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function r(e,t){for(var r,o=!1;null!=(r=e.next());){if(o&&"/"==r){t.tokenize=null;break}o="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function o(e,t){return h=t,e}function a(e,t){var r=e.next();if(f[r]){var a=f[r](e,t);if(a!==!1)return a}return"@"==r?(e.eatWhile(/[\w\\\-]/),o("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?o(null,"compare"):'"'==r||"'"==r?(t.tokenize=i(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),o("atom","hash")):"!"==r?(e.match(/^\s*\w*/),o("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),o("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?o(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?o("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?o(null,r):"u"==r&&e.match(/rl(-prefix)?\(/)||"d"==r&&e.match("omain(")||"r"==r&&e.match("egexp(")?(e.backUp(1),t.tokenize=n,o("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),o("property","word")):o(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),o("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?o("variable-2","variable-definition"):o("variable-2","variable")):e.match(/^\w+-/)?o("meta","meta"):void 0}function i(e){return function(t,r){for(var a,i=!1;null!=(a=t.next());){if(a==e&&!i){")"==e&&t.backUp(1);break}i=!i&&"\\"==a}return(a==e||!i&&")"!=e)&&(r.tokenize=null),o("string","string")}}function n(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=i(")"),o(null,"(")}function l(e,t,r){this.type=e,this.indent=t,this.prev=r}function s(e,t,r,o){return e.context=new l(r,t.indentation()+(o===!1?0:b),e.context),r}function c(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function d(e,t,r){return _[r.context.type](e,t,r)}function p(e,t,r,o){for(var a=o||1;a>0;a--)r.context=r.context.prev;return d(e,t,r)}function u(e){var t=e.current().toLowerCase();g=K.hasOwnProperty(t)?"atom":j.hasOwnProperty(t)?"keyword":"variable"}var m=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var h,g,b=t.indentUnit,f=r.tokenHooks,y=r.documentTypes||{},w=r.mediaTypes||{},k=r.mediaFeatures||{},v=r.mediaValueKeywords||{},x=r.propertyKeywords||{},z=r.nonStandardPropertyKeywords||{},q=r.fontProperties||{},P=r.counterDescriptors||{},j=r.colorKeywords||{},K=r.valueKeywords||{},B=r.allowNested,T=r.supportsAtComponent===!0,_={};return _.top=function(e,t,r){if("{"==e)return s(r,t,"block");if("}"==e&&r.context.prev)return c(r);if(T&&/@component/.test(e))return s(r,t,"atComponentBlock");if(/^@(-moz-)?document$/.test(e))return s(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(e))return s(r,t,"atBlock");if(/^@(font-face|counter-style)/.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return s(r,t,"at");if("hash"==e)g="builtin";else if("word"==e)g="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return s(r,t,"interpolation");if(":"==e)return"pseudo";if(B&&"("==e)return s(r,t,"parens")}return r.context.type},_.block=function(e,t,r){if("word"==e){var o=t.current().toLowerCase();return x.hasOwnProperty(o)?(g="property","maybeprop"):z.hasOwnProperty(o)?(g="string-2","maybeprop"):B?(g=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(g+=" error","maybeprop")}return"meta"==e?"block":B||"hash"!=e&&"qualifier"!=e?_.top(e,t,r):(g="error","block")},_.maybeprop=function(e,t,r){return":"==e?s(r,t,"prop"):d(e,t,r)},_.prop=function(e,t,r){if(";"==e)return c(r);if("{"==e&&B)return s(r,t,"propBlock");if("}"==e||"{"==e)return p(e,t,r);if("("==e)return s(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)u(t);else if("interpolation"==e)return s(r,t,"interpolation")}else g+=" error";return"prop"},_.propBlock=function(e,t,r){return"}"==e?c(r):"word"==e?(g="property","maybeprop"):r.context.type},_.parens=function(e,t,r){return"{"==e||"}"==e?p(e,t,r):")"==e?c(r):"("==e?s(r,t,"parens"):"interpolation"==e?s(r,t,"interpolation"):("word"==e&&u(t),"parens")},_.pseudo=function(e,t,r){return"word"==e?(g="variable-3",r.context.type):d(e,t,r)},_.documentTypes=function(e,t,r){return"word"==e&&y.hasOwnProperty(t.current())?(g="tag",r.context.type):_.atBlock(e,t,r)},_.atBlock=function(e,t,r){if("("==e)return s(r,t,"atBlock_parens");if("}"==e||";"==e)return p(e,t,r);if("{"==e)return c(r)&&s(r,t,B?"block":"top");if("interpolation"==e)return s(r,t,"interpolation");if("word"==e){var o=t.current().toLowerCase();g="only"==o||"not"==o||"and"==o||"or"==o?"keyword":w.hasOwnProperty(o)?"attribute":k.hasOwnProperty(o)?"property":v.hasOwnProperty(o)?"keyword":x.hasOwnProperty(o)?"property":z.hasOwnProperty(o)?"string-2":K.hasOwnProperty(o)?"atom":j.hasOwnProperty(o)?"keyword":"error"}return r.context.type},_.atComponentBlock=function(e,t,r){return"}"==e?p(e,t,r):"{"==e?c(r)&&s(r,t,B?"block":"top",!1):("word"==e&&(g="error"),r.context.type)},_.atBlock_parens=function(e,t,r){return")"==e?c(r):"{"==e||"}"==e?p(e,t,r,2):_.atBlock(e,t,r)},_.restricted_atBlock_before=function(e,t,r){return"{"==e?s(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(g="variable","restricted_atBlock_before"):d(e,t,r)},_.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,c(r)):"word"==e?(g="@font-face"==r.stateArg&&!q.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!P.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},_.keyframes=function(e,t,r){return"word"==e?(g="variable","keyframes"):"{"==e?s(r,t,"top"):d(e,t,r)},_.at=function(e,t,r){return";"==e?c(r):"{"==e||"}"==e?p(e,t,r):("word"==e?g="tag":"hash"==e&&(g="builtin"),"at")},_.interpolation=function(e,t,r){return"}"==e?c(r):"{"==e||";"==e?p(e,t,r):("word"==e?g="variable":"variable"!=e&&"("!=e&&")"!=e&&(g="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:m?"block":"top",stateArg:null,context:new l(m?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||a)(e,t);return r&&"object"==typeof r&&(h=r[1],r=r[0]),g=r,t.state=_[t.state](h,e,t),g},indent:function(e,t){var r=e.context,o=t&&t.charAt(0),a=r.indent;return"prop"!=r.type||"}"!=o&&")"!=o||(r=r.prev),r.prev&&("}"!=o||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=o||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=o||"at"!=r.type&&"atBlock"!=r.type)||(a=Math.max(0,r.indent-b),r=r.prev):(r=r.prev,a=r.indent)),a},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace"}});var o=["domain","regexp","url","url-prefix"],a=t(o),i=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],n=t(i),l=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],s=t(l),c=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],d=t(c),p=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],u=t(p),m=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],h=t(m),g=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],b=t(g),f=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],y=t(f),w=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],k=t(w),v=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],x=t(v),z=o.concat(i).concat(l).concat(c).concat(p).concat(m).concat(w).concat(v);e.registerHelper("hintWords","css",z),e.defineMIME("text/css",{documentTypes:a,mediaTypes:n,mediaFeatures:s,mediaValueKeywords:d,propertyKeywords:u,nonStandardPropertyKeywords:h,fontProperties:b,counterDescriptors:y,colorKeywords:k,valueKeywords:x,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=r,r(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:n,mediaFeatures:s,mediaValueKeywords:d,propertyKeywords:u,nonStandardPropertyKeywords:h,colorKeywords:k,valueKeywords:x,fontProperties:b,allowNested:!0,tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=r,r(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/)&&[null,"{"]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:n,mediaFeatures:s,mediaValueKeywords:d,propertyKeywords:u,nonStandardPropertyKeywords:h,colorKeywords:k,valueKeywords:x,fontProperties:b,allowNested:!0,tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=r,r(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:a,mediaTypes:n,mediaFeatures:s,propertyKeywords:u,nonStandardPropertyKeywords:h,fontProperties:b,counterDescriptors:y,colorKeywords:k,valueKeywords:x,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=r,r(e,t))}},name:"css",helperType:"gss"})});
|
54
|
-
},{"../../lib/codemirror":23}],25:[function(require,module,exports){
|
55
|
-
!function(t){"object"==typeof exports&&"object"==typeof module?t(require("../../lib/codemirror"),require("../xml/xml"),require("../javascript/javascript"),require("../css/css")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../javascript/javascript","../css/css"],t):t(CodeMirror)}(function(t){"use strict";function e(t,e,a){var n=t.current(),l=n.search(e);return l>-1?t.backUp(n.length-l):n.match(/<\/?$/)&&(t.backUp(n.length),t.match(e,!1)||t.match(n)),a}function a(t){var e=i[t];return e?e:i[t]=new RegExp("\\s+"+t+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*")}function n(t,e){var n=t.match(a(e));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function l(t,e){return new RegExp((e?"^":"")+"</s*"+t+"s*>","i")}function r(t,e){for(var a in t)for(var n=e[a]||(e[a]=[]),l=t[a],r=l.length-1;r>=0;r--)n.unshift(l[r])}function o(t,e){for(var a=0;a<t.length;a++){var l=t[a];if(!l[0]||l[1].test(n(e,l[0])))return l[2]}}var c={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},i={};t.defineMode("htmlmixed",function(a,n){function i(n,r){var c,m=s.token(n,r.htmlState),d=/\btag\b/.test(m);if(d&&!/[<>\s\/]/.test(n.current())&&(c=r.htmlState.tagName&&r.htmlState.tagName.toLowerCase())&&u.hasOwnProperty(c))r.inTag=c+" ";else if(r.inTag&&d&&/>$/.test(n.current())){var f=/^([\S]+) (.*)/.exec(r.inTag);r.inTag=null;var p=">"==n.current()&&o(u[f[1]],f[2]),g=t.getMode(a,p),h=l(f[1],!0),v=l(f[1],!1);r.token=function(t,a){return t.match(h,!1)?(a.token=i,a.localState=a.localMode=null,null):e(t,v,a.localMode.token(t,a.localState))},r.localMode=g,r.localState=t.startState(g,s.indent(r.htmlState,""))}else r.inTag&&(r.inTag+=n.current(),n.eol()&&(r.inTag+=" "));return m}var s=t.getMode(a,{name:"xml",htmlMode:!0,multilineTagIndentFactor:n.multilineTagIndentFactor,multilineTagIndentPastTag:n.multilineTagIndentPastTag}),u={},m=n&&n.tags,d=n&&n.scriptTypes;if(r(c,u),m&&r(m,u),d)for(var f=d.length-1;f>=0;f--)u.script.unshift(["type",d[f].matches,d[f].mode]);return{startState:function(){var e=t.startState(s);return{token:i,inTag:null,localMode:null,localState:null,htmlState:e}},copyState:function(e){var a;return e.localState&&(a=t.copyState(e.localMode,e.localState)),{token:e.token,inTag:e.inTag,localMode:e.localMode,localState:a,htmlState:t.copyState(s,e.htmlState)}},token:function(t,e){return e.token(t,e)},indent:function(e,a){return!e.localMode||/^\s*<\//.test(a)?s.indent(e.htmlState,a):e.localMode.indent?e.localMode.indent(e.localState,a):t.Pass},innerMode:function(t){return{state:t.localState||t.htmlState,mode:t.localMode||s}}}},"xml","javascript","css"),t.defineMIME("text/html","htmlmixed")});
|
56
|
-
},{"../../lib/codemirror":23,"../css/css":24,"../javascript/javascript":26,"../xml/xml":30}],26:[function(require,module,exports){
|
57
|
-
!function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";function t(e,t,r){return/^(?:operator|sof|keyword c|case|new|export|default|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}e.defineMode("javascript",function(r,n){function a(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}function i(e,t,r){return Ve=e,Ee=r,t}function o(e,r){var n=e.next();if('"'==n||"'"==n)return r.tokenize=c(n),r.tokenize(e,r);if("."==n&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return i("number","number");if("."==n&&e.match(".."))return i("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return i(n);if("="==n&&e.eat(">"))return i("=>","operator");if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),i("number","number");if("0"==n&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),i("number","number");if("0"==n&&e.eat(/b/i))return e.eatWhile(/[01]/i),i("number","number");if(/\d/.test(n))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),i("number","number");if("/"==n)return e.eat("*")?(r.tokenize=u,u(e,r)):e.eat("/")?(e.skipToEnd(),i("comment","comment")):t(e,r,1)?(a(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),i("regexp","string-2")):(e.eatWhile(We),i("operator","operator",e.current()));if("`"==n)return r.tokenize=l,l(e,r);if("#"==n)return e.skipToEnd(),i("error","error");if(We.test(n))return">"==n&&r.lexical&&">"==r.lexical.type||e.eatWhile(We),i("operator","operator",e.current());if(qe.test(n)){e.eatWhile(qe);var o=e.current(),s=Ce.propertyIsEnumerable(o)&&Ce[o];return s&&"."!=r.lastType?i(s.type,s.style,o):i("variable","variable",o)}}function c(e){return function(t,r){var n,a=!1;if(Ae&&"@"==t.peek()&&t.match(Oe))return r.tokenize=o,i("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||a);)a=!a&&"\\"==n;return a||(r.tokenize=o),i("string","string")}}function u(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=o;break}n="*"==r}return i("comment","comment")}function l(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=o;break}n=!n&&"\\"==r}return i("quasi","string-2",e.current())}function s(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if($e){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var a=0,i=!1,o=r-1;o>=0;--o){var c=e.string.charAt(o),u=Pe.indexOf(c);if(u>=0&&u<3){if(!a){++o;break}if(0==--a){"("==c&&(i=!0);break}}else if(u>=3&&u<6)++a;else if(qe.test(c))i=!0;else{if(/["'\/]/.test(c))return;if(i&&!a){++o;break}}}i&&!a&&(t.fatArrowAt=o)}}function f(e,t,r,n,a,i){this.indented=e,this.column=t,this.type=r,this.prev=a,this.info=i,null!=n&&(this.align=n)}function d(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(var r=n.vars;r;r=r.next)if(r.name==t)return!0}function p(e,t,r,n,a){var i=e.cc;for(Ne.state=e,Ne.stream=a,Ne.marked=null,Ne.cc=i,Ne.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){var o=i.length?i.pop():Te?j:g;if(o(r,n)){for(;i.length&&i[i.length-1].lex;)i.pop()();return Ne.marked?Ne.marked:"variable"==r&&d(e,n)?"variable-2":t}}}function m(){for(var e=arguments.length-1;e>=0;e--)Ne.cc.push(arguments[e])}function v(){return m.apply(null,arguments),!0}function y(e){function t(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var r=Ne.state;if(Ne.marked="def",r.context){if(t(r.localVars))return;r.localVars={name:e,next:r.localVars}}else{if(t(r.globalVars))return;n.globalVars&&(r.globalVars={name:e,next:r.globalVars})}}function k(){Ne.state.context={prev:Ne.state.context,vars:Ne.state.localVars},Ne.state.localVars=Be}function b(){Ne.state.localVars=Ne.state.context.vars,Ne.state.context=Ne.state.context.prev}function x(e,t){var r=function(){var r=Ne.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var a=r.lexical;a&&")"==a.type&&a.align;a=a.prev)n=a.indented;r.lexical=new f(n,Ne.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function h(){var e=Ne.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function w(e){function t(r){return r==e?v():";"==e?m():v(t)}return t}function g(e,t){return"var"==e?v(x("vardef",t.length),Z,w(";"),h):"keyword a"==e?v(x("form"),V,g,h):"keyword b"==e?v(x("form"),g,h):"{"==e?v(x("}"),J,h):";"==e?v():"if"==e?("else"==Ne.state.lexical.info&&Ne.state.cc[Ne.state.cc.length-1]==h&&Ne.state.cc.pop()(),v(x("form"),V,g,h,ne)):"function"==e?v(le):"for"==e?v(x("form"),ae,g,h):"variable"==e?v(x("stat"),N):"switch"==e?v(x("form"),V,x("}","switch"),w("{"),J,h,h):"case"==e?v(j,w(":")):"default"==e?v(w(":")):"catch"==e?v(x("form"),k,w("("),se,w(")"),g,h,b):"class"==e?v(x("form"),de,h):"export"==e?v(x("stat"),ye,h):"import"==e?v(x("stat"),be,h):"module"==e?v(x("form"),_,x("}"),w("{"),J,h,h):"type"==e?v(L,w("operator"),L,w(";")):"async"==e?v(g):m(x("stat"),j,w(";"),h)}function j(e){return E(e,!1)}function M(e){return E(e,!0)}function V(e){return"("!=e?m():v(x(")"),j,w(")"),h)}function E(e,t){if(Ne.state.fatArrowAt==Ne.stream.start){var r=t?W:C;if("("==e)return v(k,x(")"),F(_,")"),h,w("=>"),r,b);if("variable"==e)return m(k,_,w("=>"),r,b)}var n=t?T:A;return Se.hasOwnProperty(e)?v(n):"function"==e?v(le,n):"class"==e?v(x("form"),fe,h):"keyword c"==e||"async"==e?v(t?z:I):"("==e?v(x(")"),I,w(")"),h,n):"operator"==e||"spread"==e?v(t?M:j):"["==e?v(x("]"),je,h,n):"{"==e?G(H,"}",null,n):"quasi"==e?m($,n):"new"==e?v(O(t)):v()}function I(e){return e.match(/[;\}\)\],]/)?m():m(j)}function z(e){return e.match(/[;\}\)\],]/)?m():m(M)}function A(e,t){return","==e?v(j):T(e,t,!1)}function T(e,t,r){var n=0==r?A:T,a=0==r?j:M;return"=>"==e?v(k,r?W:C,b):"operator"==e?/\+\+|--/.test(t)?v(n):"?"==t?v(j,w(":"),a):v(a):"quasi"==e?m($,n):";"!=e?"("==e?G(M,")","call",n):"."==e?v(B,n):"["==e?v(x("]"),I,w("]"),h,n):void 0:void 0}function $(e,t){return"quasi"!=e?m():"${"!=t.slice(t.length-2)?v($):v(j,q)}function q(e){if("}"==e)return Ne.marked="string-2",Ne.state.tokenize=l,v($)}function C(e){return s(Ne.stream,Ne.state),m("{"==e?g:j)}function W(e){return s(Ne.stream,Ne.state),m("{"==e?g:M)}function O(e){return function(t){return"."==t?v(e?S:P):m(e?M:j)}}function P(e,t){if("target"==t)return Ne.marked="keyword",v(A)}function S(e,t){if("target"==t)return Ne.marked="keyword",v(T)}function N(e){return":"==e?v(h,g):m(A,w(";"),h)}function B(e){if("variable"==e)return Ne.marked="property",v()}function H(e,t){return"async"==e?(Ne.marked="property",v(H)):"variable"==e||"keyword"==Ne.style?(Ne.marked="property",v("get"==t||"set"==t?U:D)):"number"==e||"string"==e?(Ne.marked=Ae?"property":Ne.style+" property",v(D)):"jsonld-keyword"==e?v(D):"modifier"==e?v(H):"["==e?v(j,w("]"),D):"spread"==e?v(j):":"==e?m(D):void 0}function U(e){return"variable"!=e?m(D):(Ne.marked="property",v(le))}function D(e){return":"==e?v(M):"("==e?m(le):void 0}function F(e,t){function r(n,a){if(","==n){var i=Ne.state.lexical;return"call"==i.info&&(i.pos=(i.pos||0)+1),v(function(r,n){return r==t||n==t?m():m(e)},r)}return n==t||a==t?v():v(w(t))}return function(n,a){return n==t||a==t?v():m(e,r)}}function G(e,t,r){for(var n=3;n<arguments.length;n++)Ne.cc.push(arguments[n]);return v(x(t,r),F(e,t),h)}function J(e){return"}"==e?v():m(g,J)}function K(e,t){if($e){if(":"==e)return v(L);if("?"==t)return v(K)}}function L(e){return"variable"==e?(Ne.marked="variable-3",v(Y)):"string"==e||"number"==e||"atom"==e?v(Y):"{"==e?v(F(R,"}")):"("==e?v(F(X,")"),Q):void 0}function Q(e){if("=>"==e)return v(L)}function R(e){return"variable"==e||"keyword"==Ne.style?(Ne.marked="property",v(R)):":"==e?v(L):void 0}function X(e){return"variable"==e?v(X):":"==e?v(L):void 0}function Y(e,t){return"<"==t?v(x(">"),F(L,">"),h,Y):"|"==t||"."==e?v(L):"["==e?v(w("]"),Y):void 0}function Z(){return m(_,K,te,re)}function _(e,t){return"modifier"==e?v(_):"variable"==e?(y(t),v()):"spread"==e?v(_):"["==e?G(_,"]"):"{"==e?G(ee,"}"):void 0}function ee(e,t){return"variable"!=e||Ne.stream.match(/^\s*:/,!1)?("variable"==e&&(Ne.marked="property"),"spread"==e?v(_):"}"==e?m():v(w(":"),_,te)):(y(t),v(te))}function te(e,t){if("="==t)return v(M)}function re(e){if(","==e)return v(Z)}function ne(e,t){if("keyword b"==e&&"else"==t)return v(x("form","else"),g,h)}function ae(e){if("("==e)return v(x(")"),ie,w(")"),h)}function ie(e){return"var"==e?v(Z,w(";"),ce):";"==e?v(ce):"variable"==e?v(oe):m(j,w(";"),ce)}function oe(e,t){return"in"==t||"of"==t?(Ne.marked="keyword",v(j)):v(A,ce)}function ce(e,t){return";"==e?v(ue):"in"==t||"of"==t?(Ne.marked="keyword",v(j)):m(j,w(";"),ue)}function ue(e){")"!=e&&v(j)}function le(e,t){return"*"==t?(Ne.marked="keyword",v(le)):"variable"==e?(y(t),v(le)):"("==e?v(k,x(")"),F(se,")"),h,K,g,b):void 0}function se(e){return"spread"==e?v(se):m(_,K,te)}function fe(e,t){return"variable"==e?de(e,t):pe(e,t)}function de(e,t){if("variable"==e)return y(t),v(pe)}function pe(e,t){return"extends"==t||"implements"==t?v($e?L:j,pe):"{"==e?v(x("}"),me,h):void 0}function me(e,t){return"variable"==e||"keyword"==Ne.style?("static"==t||"get"==t||"set"==t||$e&&("public"==t||"private"==t||"protected"==t||"readonly"==t||"abstract"==t))&&Ne.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(Ne.marked="keyword",v(me)):(Ne.marked="property",v($e?ve:le,me)):"*"==t?(Ne.marked="keyword",v(me)):";"==e?v(me):"}"==e?v():void 0}function ve(e,t){return"?"==t?v(ve):":"==e?v(L,te):m(le)}function ye(e,t){return"*"==t?(Ne.marked="keyword",v(ge,w(";"))):"default"==t?(Ne.marked="keyword",v(j,w(";"))):"{"==e?v(F(ke,"}"),ge,w(";")):m(g)}function ke(e,t){return"as"==t?(Ne.marked="keyword",v(w("variable"))):"variable"==e?m(M,ke):void 0}function be(e){return"string"==e?v():m(xe,he,ge)}function xe(e,t){return"{"==e?G(xe,"}"):("variable"==e&&y(t),"*"==t&&(Ne.marked="keyword"),v(we))}function he(e){if(","==e)return v(xe,he)}function we(e,t){if("as"==t)return Ne.marked="keyword",v(xe)}function ge(e,t){if("from"==t)return Ne.marked="keyword",v(j)}function je(e){return"]"==e?v():m(F(M,"]"))}function Me(e,t){return"operator"==e.lastType||","==e.lastType||We.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}var Ve,Ee,Ie=r.indentUnit,ze=n.statementIndent,Ae=n.jsonld,Te=n.json||Ae,$e=n.typescript,qe=n.wordCharacters||/[\w$\xa1-\uffff]/,Ce=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),r=e("keyword b"),n=e("keyword c"),a=e("operator"),i={type:"atom",style:"atom"},o={if:e("if"),while:t,with:t,else:r,do:r,try:r,finally:r,return:n,break:n,continue:n,new:e("new"),delete:n,throw:n,debugger:n,var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:a,typeof:a,instanceof:a,true:i,false:i,null:i,undefined:i,NaN:i,Infinity:i,this:e("this"),class:e("class"),super:e("atom"),yield:n,export:e("export"),import:e("import"),extends:n,await:n,async:e("async")};if($e){var c={type:"variable",style:"variable-3"},u={interface:e("class"),implements:n,namespace:n,module:e("module"),enum:e("module"),type:e("type"),public:e("modifier"),private:e("modifier"),protected:e("modifier"),abstract:e("modifier"),as:a,string:c,number:c,boolean:c,any:c};for(var l in u)o[l]=u[l]}return o}(),We=/[+\-*&%=<>!?|~^]/,Oe=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,Pe="([{}])",Se={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},Ne={state:null,column:null,marked:null,cc:null},Be={name:"this",next:{name:"arguments"}};return h.lex=!0,{startState:function(e){var t={tokenize:o,lastType:"sof",cc:[],lexical:new f((e||0)-Ie,0,"block",!1),localVars:n.localVars,context:n.localVars&&{vars:n.localVars},indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),s(e,t)),t.tokenize!=u&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==Ve?r:(t.lastType="operator"!=Ve||"++"!=Ee&&"--"!=Ee?Ve:"incdec",p(t,r,Ve,Ee,e))},indent:function(t,r){if(t.tokenize==u)return e.Pass;if(t.tokenize!=o)return 0;var a,i=r&&r.charAt(0),c=t.lexical;if(!/^\s*else\b/.test(r))for(var l=t.cc.length-1;l>=0;--l){var s=t.cc[l];if(s==h)c=c.prev;else if(s!=ne)break}for(;("stat"==c.type||"form"==c.type)&&("}"==i||(a=t.cc[t.cc.length-1])&&(a==A||a==T)&&!/^[,\.=+\-*:?[\(]/.test(r));)c=c.prev;ze&&")"==c.type&&"stat"==c.prev.type&&(c=c.prev);var f=c.type,d=i==f;return"vardef"==f?c.indented+("operator"==t.lastType||","==t.lastType?c.info+1:0):"form"==f&&"{"==i?c.indented:"form"==f?c.indented+Ie:"stat"==f?c.indented+(Me(t,r)?ze||Ie:0):"switch"!=c.info||d||0==n.doubleIndentSwitch?c.align?c.column+(d?0:1):c.indented+(d?0:Ie):c.indented+(/^(?:case|default)\b/.test(r)?Ie:2*Ie)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:Te?null:"/*",blockCommentEnd:Te?null:"*/",lineComment:Te?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:Te?"json":"javascript",jsonldMode:Ae,jsonMode:Te,expressionAllowed:t,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=j&&t!=M||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})});
|
58
|
-
},{"../../lib/codemirror":23}],27:[function(require,module,exports){
|
59
|
-
!function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";e.defineMode("ruby",function(e){function t(e){for(var t={},n=0,r=e.length;n<r;++n)t[e[n]]=!0;return t}function n(e,t,n){return n.tokenize.push(e),e(t,n)}function r(e,t){if(e.sol()&&e.match("=begin")&&e.eol())return t.tokenize.push(f),"comment";if(e.eatSpace())return null;var r,i=e.next();if("`"==i||"'"==i||'"'==i)return n(a(i,"string",'"'==i||"`"==i),e,t);if("/"==i){var o=e.current().length;if(e.skipTo("/")){var d=e.current().length;e.backUp(e.current().length-o);for(var c=0;e.current().length<d;){var s=e.next();if("("==s?c+=1:")"==s&&(c-=1),c<0)break}if(e.backUp(e.current().length-o),0==c)return n(a(i,"string-2",!0),e,t)}return"operator"}if("%"==i){var k="string",h=!0;e.eat("s")?k="atom":e.eat(/[WQ]/)?k="string":e.eat(/[r]/)?k="string-2":e.eat(/[wxq]/)&&(k="string",h=!1);var m=e.eat(/[^\w\s=]/);return m?(p.propertyIsEnumerable(m)&&(m=p[m]),n(a(m,k,h,!0),e,t)):"operator"}if("#"==i)return e.skipToEnd(),"comment";if("<"==i&&(r=e.match(/^<-?[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return n(u(r[1]),e,t);if("0"==i)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(i))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==i){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}if(":"==i)return e.eat("'")?n(a("'","atom",!1),e,t):e.eat('"')?n(a('"',"atom",!0),e,t):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==i&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if("$"==i)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(i))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if("|"!=i||!t.varList&&"{"!=t.lastTok&&"do"!=t.lastTok){if(/[\(\)\[\]{}\\;]/.test(i))return l=i,null;if("-"==i&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(i)){var x=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=i||x||(l="."),"operator"}return null}return l="|",null}function i(e){return e||(e=1),function(t,n){if("}"==t.peek()){if(1==e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);n.tokenize[n.tokenize.length-1]=i(e-1)}else"{"==t.peek()&&(n.tokenize[n.tokenize.length-1]=i(e+1));return r(t,n)}}function o(){var e=!1;return function(t,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)):(e=!0,r(t,n))}}function a(e,t,n,r){return function(a,u){var f,l=!1;for("read-quoted-paused"===u.context.type&&(u.context=u.context.prev,a.eat("}"));null!=(f=a.next());){if(f==e&&(r||!l)){u.tokenize.pop();break}if(n&&"#"==f&&!l){if(a.eat("{")){"}"==e&&(u.context={prev:u.context,type:"read-quoted-paused"}),u.tokenize.push(i());break}if(/[@\$]/.test(a.peek())){u.tokenize.push(o());break}}l=!l&&"\\"==f}return t}}function u(e){return function(t,n){return t.match(e)?n.tokenize.pop():t.skipToEnd(),"string"}}function f(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}var l,d=t(["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"]),c=t(["def","class","case","for","while","until","module","then","catch","loop","proc","begin"]),s=t(["end","until"]),p={"[":"]","{":"}","(":")"};return{startState:function(){return{tokenize:[r],indented:0,context:{type:"top",indented:-e.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,t){l=null,e.sol()&&(t.indented=e.indentation());var n,r=t.tokenize[t.tokenize.length-1](e,t),i=l;if("ident"==r){var o=e.current();r="."==t.lastTok?"property":d.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(o)?"tag":"def"==t.lastTok||"class"==t.lastTok||t.varList?"def":"variable","keyword"==r&&(i=o,c.propertyIsEnumerable(o)?n="indent":s.propertyIsEnumerable(o)?n="dedent":"if"!=o&&"unless"!=o||e.column()!=e.indentation()?"do"==o&&t.context.indented<t.indented&&(n="indent"):n="indent")}return(l||r&&"comment"!=r)&&(t.lastTok=i),"|"==l&&(t.varList=!t.varList),"indent"==n||/[\(\[\{]/.test(l)?t.context={prev:t.context,type:l||r,indented:t.indented}:("dedent"==n||/[\)\]\}]/.test(l))&&t.context.prev&&(t.context=t.context.prev),e.eol()&&(t.continuedLine="\\"==l||"operator"==r),r},indent:function(t,n){if(t.tokenize[t.tokenize.length-1]!=r)return 0;var i=n&&n.charAt(0),o=t.context,a=o.type==p[i]||"keyword"==o.type&&/^(?:end|until|else|elsif|when|rescue)\b/.test(n);return o.indented+(a?0:e.indentUnit)+(t.continuedLine?e.indentUnit:0)},electricInput:/^\s*(?:end|rescue|elsif|else|\})$/,lineComment:"#"}}),e.defineMIME("text/x-ruby","ruby")});
|
60
|
-
},{"../../lib/codemirror":23}],28:[function(require,module,exports){
|
61
|
-
!function(t){"object"==typeof exports&&"object"==typeof module?t(require("../../lib/codemirror"),require("../htmlmixed/htmlmixed"),require("../ruby/ruby")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../ruby/ruby"],t):t(CodeMirror)}(function(t){"use strict";t.defineMode("slim",function(e){function n(t,e,n){var i=function(i,r){return r.tokenize=e,i.pos<t?(i.pos=t,n):r.tokenize(i,r)};return function(t,n){return n.tokenize=i,e(t,n)}}function i(t,e,i,r,o){var u=t.current(),a=u.search(i);return a>-1&&(e.tokenize=n(t.pos,e.tokenize,o),t.backUp(u.length-a-r)),o}function r(t,e){t.stack={parent:t.stack,style:"continuation",indented:e,tokenize:t.line},t.line=t.tokenize}function o(t){t.line==t.tokenize&&(t.line=t.stack.tokenize,t.stack=t.stack.parent)}function u(t,e){return function(n,i){if(o(i),n.match(/^\\$/))return r(i,t),"lineContinuation";var u=e(n,i);return n.eol()&&n.current().match(/(?:^|[^\\])(?:\\\\)*\\$/)&&n.backUp(1),u}}function a(t,e){return function(n,i){o(i);var u=e(n,i);return n.eol()&&n.current().match(/,$/)&&r(i,t),u}}function c(t,e){return function(n,i){var r=n.peek();return r==t&&1==i.rubyState.tokenize.length?(n.next(),i.tokenize=e,"closeAttributeTag"):s(n,i)}}function l(e){var n,i=function(t,i){if(1==i.rubyState.tokenize.length&&!i.rubyState.context.prev){if(t.backUp(1),t.eatSpace())return i.rubyState=n,i.tokenize=e,e(t,i);t.next()}return s(t,i)};return function(e,r){return n=r.rubyState,r.rubyState=t.startState(Z),r.tokenize=i,s(e,r)}}function s(t,e){return Z.token(t,e.rubyState)}function k(t,e){return t.match(/^\\$/)?"lineContinuation":d(t,e)}function d(t,e){return t.match(/^#\{/)?(e.tokenize=c("}",e.tokenize),null):i(t,e,/[^\\]#\{/,1,P.token(t,e.htmlState))}function m(t){return function(e,n){var i=k(e,n);return e.eol()&&(n.tokenize=t),i}}function f(t,e,n){return e.stack={parent:e.stack,style:"html",indented:t.column()+n,tokenize:e.line},e.line=e.tokenize=d,null}function b(t,e){return t.skipToEnd(),e.stack.style}function z(t,e){return e.stack={parent:e.stack,style:"comment",indented:e.indented+1,tokenize:e.line},e.line=b,b(t,e)}function p(t,e){return t.eat(e.stack.endQuote)?(e.line=e.stack.line,e.tokenize=e.stack.tokenize,e.stack=e.stack.parent,null):t.match(K)?(e.tokenize=x,"slimAttribute"):(t.next(),null)}function x(t,e){return t.match(/^==?/)?(e.tokenize=h,null):p(t,e)}function h(t,e){var n=t.peek();return'"'==n||"'"==n?(e.tokenize=q(n,"string",!0,!1,p),t.next(),e.tokenize(t,e)):"["==n?l(p)(t,e):t.match(/^(true|false|nil)\b/)?(e.tokenize=p,"keyword"):l(p)(t,e)}function y(t,e,n){return t.stack={parent:t.stack,style:"wrapper",indented:t.indented+1,tokenize:n,line:t.line,endQuote:e},t.line=t.tokenize=p,null}function S(e,n){if(e.match(/^#\{/))return n.tokenize=c("}",n.tokenize),null;var i=new t.StringStream(e.string.slice(n.stack.indented),e.tabSize);i.pos=e.pos-n.stack.indented,i.start=e.start-n.stack.indented,i.lastColumnPos=e.lastColumnPos-n.stack.indented,i.lastColumnValue=e.lastColumnValue-n.stack.indented;var r=n.subMode.token(i,n.subState);return e.pos=i.pos+n.stack.indented,r}function v(t,e){return e.stack.indented=t.column(),e.line=e.tokenize=S,e.tokenize(t,e)}function w(n){var i=D[n],r=t.mimeModes[i];if(r)return t.getMode(e,r);var o=t.modes[i];return o?o(e,{name:i}):t.getMode(e,"null")}function g(t){return _.hasOwnProperty(t)?_[t]:_[t]=w(t)}function M(e,n){var i=g(e),r=t.startState(i);return n.subMode=i,n.subState=r,n.stack={parent:n.stack,style:"sub",indented:n.indented+1,tokenize:n.line},n.line=n.tokenize=v,"slimSubmode"}function C(t,e){return t.skipToEnd(),"slimDoctype"}function E(t,e){var n=t.peek();if("<"==n)return(e.tokenize=m(e.tokenize))(t,e);if(t.match(/^[|']/))return f(t,e,1);if(t.match(/^\/(!|\[\w+])?/))return z(t,e);if(t.match(/^(-|==?[<>]?)/))return e.tokenize=u(t.column(),a(t.column(),s)),"slimSwitch";if(t.match(/^doctype\b/))return e.tokenize=C,"keyword";var i=t.match(Q);return i?M(i[1],e):L(t,e)}function A(t,e){return e.startOfLine?E(t,e):L(t,e)}function L(t,e){return t.eat("*")?(e.tokenize=l($),null):t.match(H)?(e.tokenize=$,"slimTag"):T(t,e)}function $(t,e){return t.match(/^(<>?|><?)/)?(e.tokenize=T,null):T(t,e)}function T(t,e){return t.match(W)?(e.tokenize=T,"slimId"):t.match(N)?(e.tokenize=T,"slimClass"):U(t,e)}function U(t,e){return t.match(/^([\[\{\(])/)?y(e,B[RegExp.$1],U):t.match(J)?(e.tokenize=j,"slimAttribute"):"*"==t.peek()?(t.next(),e.tokenize=l(I),null):I(t,e)}function j(t,e){return t.match(/^==?/)?(e.tokenize=O,null):U(t,e)}function O(t,e){var n=t.peek();return'"'==n||"'"==n?(e.tokenize=q(n,"string",!0,!1,U),t.next(),e.tokenize(t,e)):"["==n?l(U)(t,e):":"==n?l(R)(t,e):t.match(/^(true|false|nil)\b/)?(e.tokenize=U,"keyword"):l(U)(t,e)}function R(t,e){return t.backUp(1),t.match(/^[^\s],(?=:)/)?(e.tokenize=l(R),null):(t.next(),U(t,e))}function q(t,e,n,i,u){return function(a,l){o(l);var s=0==a.current().length;if(a.match(/^\\$/,s))return s?(r(l,l.indented),"lineContinuation"):e;if(a.match(/^#\{/,s))return s?(l.tokenize=c("}",l.tokenize),null):e;for(var k,d=!1;null!=(k=a.next());){if(k==t&&(i||!d)){l.tokenize=u;break}if(n&&"#"==k&&!d&&a.eat("{")){a.backUp(2);break}d=!d&&"\\"==k}return a.eol()&&d&&a.backUp(1),e}}function I(t,e){return t.match(/^==?/)?(e.tokenize=s,"slimSwitch"):t.match(/^\/$/)?(e.tokenize=A,null):t.match(/^:/)?(e.tokenize=L,"slimSwitch"):(f(t,e,0),e.tokenize(t,e))}var P=t.getMode(e,{name:"htmlmixed"}),Z=t.getMode(e,"ruby"),_={html:P,ruby:Z},D={ruby:"ruby",javascript:"javascript",css:"text/css",sass:"text/x-sass",scss:"text/x-scss",less:"text/x-less",styl:"text/x-styl",coffee:"coffeescript",asciidoc:"text/x-asciidoc",markdown:"text/x-markdown",textile:"text/x-textile",creole:"text/x-creole",wiki:"text/x-wiki",mediawiki:"text/x-mediawiki",rdoc:"text/x-rdoc",builder:"text/x-builder",nokogiri:"text/x-nokogiri",erb:"application/x-erb"},Q=function(t){var e=[];for(var n in t)e.push(n);return new RegExp("^("+e.join("|")+"):")}(D),V={commentLine:"comment",slimSwitch:"operator special",slimTag:"tag",slimId:"attribute def",slimClass:"attribute qualifier",slimAttribute:"attribute",slimSubmode:"keyword special",closeAttributeTag:null,slimDoctype:null,lineContinuation:null},B={"{":"}","[":"]","(":")"},F="_a-zA-ZÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�",G=F+"\\-0-9·̀-ͯ‿-⁀",H=new RegExp("^[:"+F+"](?::["+G+"]|["+G+"]*)"),J=new RegExp("^[:"+F+"][:\\."+G+"]*(?=\\s*=)"),K=new RegExp("^[:"+F+"][:\\."+G+"]*"),N=/^\.-?[_a-zA-Z]+[\w\-]*/,W=/^#[_a-zA-Z]+[\w\-]*/,X={startState:function(){var e=t.startState(P),n=t.startState(Z);return{htmlState:e,rubyState:n,stack:null,last:null,tokenize:A,line:A,indented:0}},copyState:function(e){return{htmlState:t.copyState(P,e.htmlState),rubyState:t.copyState(Z,e.rubyState),subMode:e.subMode,subState:e.subMode&&t.copyState(e.subMode,e.subState),stack:e.stack,last:e.last,tokenize:e.tokenize,line:e.line}},token:function(t,e){if(t.sol())for(e.indented=t.indentation(),e.startOfLine=!0,e.tokenize=e.line;e.stack&&e.stack.indented>e.indented&&"slimSubmode"!=e.last;)e.line=e.tokenize=e.stack.tokenize,e.stack=e.stack.parent,e.subMode=null,e.subState=null;if(t.eatSpace())return null;var n=e.tokenize(t,e);return e.startOfLine=!1,n&&(e.last=n),V.hasOwnProperty(n)?V[n]:n},blankLine:function(t){if(t.subMode&&t.subMode.blankLine)return t.subMode.blankLine(t.subState)},innerMode:function(t){return t.subMode?{state:t.subState,mode:t.subMode}:{state:t,mode:X}}};return X},"htmlmixed","ruby"),t.defineMIME("text/x-slim","slim"),t.defineMIME("application/x-slim","slim")});
|
62
|
-
},{"../../lib/codemirror":23,"../htmlmixed/htmlmixed":25,"../ruby/ruby":27}],29:[function(require,module,exports){
|
63
|
-
!function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";e.defineMode("sql",function(t,r){function a(e,t){var r=e.next();if(g[r]){var a=g[r](e,t);if(a!==!1)return a}if(p.hexNumber&&("0"==r&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==r||"X"==r)&&e.match(/^'[0-9a-fA-F]+'/)))return"number";if(p.binaryNumber&&(("b"==r||"B"==r)&&e.match(/^'[01]+'/)||"0"==r&&e.match(/^b[01]+/)))return"number";if(r.charCodeAt(0)>47&&r.charCodeAt(0)<58)return e.match(/^[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?/),p.decimallessFloat&&e.eat("."),"number";if("?"==r&&(e.eatSpace()||e.eol()||e.eat(";")))return"variable-3";if("'"==r||'"'==r&&p.doubleQuote)return t.tokenize=n(r),t.tokenize(e,t);if((p.nCharCast&&("n"==r||"N"==r)||p.charsetCast&&"_"==r&&e.match(/[a-z][a-z0-9]*/i))&&("'"==e.peek()||'"'==e.peek()))return"keyword";if(/^[\(\),\;\[\]]/.test(r))return null;if(p.commentSlashSlash&&"/"==r&&e.eat("/"))return e.skipToEnd(),"comment";if(p.commentHash&&"#"==r||"-"==r&&e.eat("-")&&(!p.commentSpaceRequired||e.eat(" ")))return e.skipToEnd(),"comment";if("/"==r&&e.eat("*"))return t.tokenize=i,t.tokenize(e,t);if("."!=r){if(d.test(r))return e.eatWhile(d),null;if("{"==r&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";e.eatWhile(/^[_\w\d]/);var o=e.current().toLowerCase();return b.hasOwnProperty(o)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?"number":c.hasOwnProperty(o)?"atom":u.hasOwnProperty(o)?"builtin":m.hasOwnProperty(o)?"keyword":l.hasOwnProperty(o)?"string-2":null}return p.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i)?"number":p.ODBCdotTable&&e.match(/^[a-zA-Z_]+/)?"variable-2":void 0}function n(e){return function(t,r){for(var n,i=!1;null!=(n=t.next());){if(n==e&&!i){r.tokenize=a;break}i=!i&&"\\"==n}return"string"}}function i(e,t){for(;;){if(!e.skipTo("*")){e.skipToEnd();break}if(e.next(),e.eat("/")){t.tokenize=a;break}}return"comment"}function o(e,t,r){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:r}}function s(e){e.indent=e.context.indent,e.context=e.context.prev}var l=r.client||{},c=r.atoms||{false:!0,true:!0,null:!0},u=r.builtin||{},m=r.keywords||{},d=r.operatorChars||/^[*+\-%<>!=&|~^]/,p=r.support||{},g=r.hooks||{},b=r.dateSQL||{date:!0,time:!0,timestamp:!0};return{startState:function(){return{tokenize:a,context:null}},token:function(e,t){if(e.sol()&&t.context&&null==t.context.align&&(t.context.align=!1),e.eatSpace())return null;var r=t.tokenize(e,t);if("comment"==r)return r;t.context&&null==t.context.align&&(t.context.align=!0);var a=e.current();return"("==a?o(e,t,")"):"["==a?o(e,t,"]"):t.context&&t.context.type==a&&s(t),r},indent:function(r,a){var n=r.context;if(!n)return e.Pass;var i=a.charAt(0)==n.type;return n.align?n.col+(i?0:1):n.indent+(i?0:t.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:p.commentSlashSlash?"//":p.commentHash?"#":null}}),function(){function t(e){for(var t;null!=(t=e.next());)if("`"==t&&!e.eat("`"))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function r(e){return e.eat("@")&&(e.match(/^session\./),e.match(/^local\./),e.match(/^global\./)),e.eat("'")?(e.match(/^.*'/),"variable-2"):e.eat('"')?(e.match(/^.*"/),"variable-2"):e.eat("`")?(e.match(/^.*`/),"variable-2"):e.match(/^[0-9a-zA-Z$\.\_]+/)?"variable-2":null}function a(e){return e.eat("N")?"atom":e.match(/^[a-zA-Z.#!?]/)?"variable-2":null}function n(e){for(var t={},r=e.split(" "),a=0;a<r.length;++a)t[r[a]]=!0;return t}var i="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";e.defineMIME("text/x-sql",{name:"sql",keywords:n(i+"begin"),builtin:n("bool boolean bit blob enum long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision real date datetime year unsigned signed decimal numeric"),atoms:n("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:n("date time timestamp"),support:n("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-mssql",{name:"sql",client:n("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:n(i+"begin trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec"),builtin:n("bigint numeric bit smallint decimal smallmoney int tinyint money float real char varchar text nchar nvarchar ntext binary varbinary image cursor timestamp hierarchyid uniqueidentifier sql_variant xml table "),atoms:n("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:n("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":r}}),e.defineMIME("text/x-mysql",{name:"sql",client:n("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:n(i+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:n("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:n("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:n("date time timestamp"),support:n("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":r,"`":t,"\\":a}}),e.defineMIME("text/x-mariadb",{name:"sql",client:n("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:n(i+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group groupby_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:n("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:n("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:n("date time timestamp"),support:n("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":r,"`":t,"\\":a}}),e.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:n("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:n("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:n("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:n("commentSlashSlash decimallessFloat"),hooks:{}}),e.defineMIME("text/x-plsql",{name:"sql",client:n("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:n("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:n("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*+\-%<>!=~]/,dateSQL:n("date time timestamp"),support:n("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),e.defineMIME("text/x-hive",{name:"sql",keywords:n("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external false fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger true unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with"),builtin:n("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype"),atoms:n("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:n("date timestamp"),support:n("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-pgsql",{name:"sql",client:n("source"),keywords:n(i+"a abort abs absent absolute access according action ada add admin after aggregate all allocate also always analyse analyze any are array array_agg array_max_cardinality asensitive assertion assignment asymmetric at atomic attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli binary bit_length blob blocked bom both breadth c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain characteristics characters character_length character_set_catalog character_set_name character_set_schema char_length check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column columns column_name command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constraint constraints constraint_catalog constraint_name constraint_schema constructor contains content continue control conversion convert copy corr corresponding cost covar_pop covar_samp cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datetime_interval_code datetime_interval_precision day db deallocate dec declare default defaults deferrable deferred defined definer degree delimiter delimiters dense_rank depth deref derived describe descriptor deterministic diagnostics dictionary disable discard disconnect dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain dynamic dynamic_function dynamic_function_code each element else empty enable encoding encrypted end end-exec end_frame end_partition enforced enum equals escape event every except exception exclude excluding exclusive exec execute exists exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreign fortran forward found frame_row free freeze fs full function functions fusion g general generated get global go goto grant granted greatest grouping groups handler header hex hierarchy hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import including increment indent index indexes indicator inherit inherits initially inline inner inout input insensitive instance instantiable instead integrity intersect intersection invoker isnull isolation k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like_regex link listen ln load local localtime localtimestamp location locator lock locked logged lower m map mapping match matched materialized max maxvalue max_cardinality member merge message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized nothing notify notnull nowait nth_value ntile null nullable nullif nulls number object occurrences_regex octets octet_length of off offset oids old only open operator option options ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password percent percentile_cont percentile_disc percent_rank period permission placing plans pli policy portion position position_regex power precedes preceding prepare prepared preserve primary prior privileges procedural procedure program public quote range rank read reads reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns revoke right role rollback rollup routine routine_catalog routine_name routine_schema row rows row_count row_number rule savepoint scale schema schema_name scope scope_catalog scope_name scope_schema scroll search second section security selective self sensitive sequence sequences serializable server server_name session session_user setof sets share show similar simple size skip snapshot some source space specific specifictype specific_name sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset substring substring_regex succeeds sum symmetric sysid system system_time system_user t tables tablesample tablespace table_name temp template temporary then ties timezone_hour timezone_minute to token top_level_count trailing transaction transactions_committed transactions_rolled_back transaction_active transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted unique unknown unlink unlisten unlogged unnamed unnest until untyped upper uri usage user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of varbinary variadic var_pop var_samp verbose version versioning view views volatile when whenever whitespace width_bucket window within work wrapper write xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes loop repeat"),builtin:n("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:n("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:n("date time timestamp"),support:n("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-gql",{name:"sql",keywords:n("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:n("false true"),builtin:n("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/})}()});
|
64
|
-
},{"../../lib/codemirror":23}],30:[function(require,module,exports){
|
65
|
-
!function(t){"object"==typeof exports&&"object"==typeof module?t(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],t):t(CodeMirror)}(function(t){"use strict";var e={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};t.defineMode("xml",function(r,o){function a(t,e){function n(n){return e.tokenize=n,n(t,e)}var r=t.next();if("<"==r)return t.eat("!")?t.eat("[")?t.match("CDATA[")?n(u("atom","]]>")):null:t.match("--")?n(u("comment","-->")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),n(d(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),e.tokenize=u("meta","?>"),"meta"):(C=t.eat("/")?"closeTag":"openTag",e.tokenize=i,"tag bracket");if("&"==r){var o;return o=t.eat("#")?t.eat("x")?t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):t.eatWhile(/[\d]/)&&t.eat(";"):t.eatWhile(/[\w\.\-:]/)&&t.eat(";"),o?"atom":"error"}return t.eatWhile(/[^&<]/),null}function i(t,e){var n=t.next();if(">"==n||"/"==n&&t.eat(">"))return e.tokenize=a,C=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return C="equals",null;if("<"==n){e.tokenize=a,e.state=m,e.tagName=e.tagStart=null;var r=e.tokenize(t,e);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(e.tokenize=l(n),e.stringStartCol=t.column(),e.tokenize(t,e)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function l(t){var e=function(e,n){for(;!e.eol();)if(e.next()==t){n.tokenize=i;break}return"string"};return e.isInAttribute=!0,e}function u(t,e){return function(n,r){for(;!n.eol();){if(n.match(e)){r.tokenize=a;break}n.next()}return t}}function d(t){return function(e,n){for(var r;null!=(r=e.next());){if("<"==r)return n.tokenize=d(t+1),n.tokenize(e,n);if(">"==r){if(1==t){n.tokenize=a;break}return n.tokenize=d(t-1),n.tokenize(e,n)}}return"meta"}}function c(t,e,n){this.prev=t.context,this.tagName=e,this.indent=t.indented,this.startOfLine=n,(z.doNotIndent.hasOwnProperty(e)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}function f(t){t.context&&(t.context=t.context.prev)}function s(t,e){for(var n;;){if(!t.context)return;if(n=t.context.tagName,!z.contextGrabbers.hasOwnProperty(n)||!z.contextGrabbers[n].hasOwnProperty(e))return;f(t)}}function m(t,e,n){return"openTag"==t?(n.tagStart=e.column(),g):"closeTag"==t?p:m}function g(t,e,n){return"word"==t?(n.tagName=e.current(),I="tag",x):(I="error",g)}function p(t,e,n){if("word"==t){var r=e.current();return n.context&&n.context.tagName!=r&&z.implicitlyClosed.hasOwnProperty(n.context.tagName)&&f(n),n.context&&n.context.tagName==r||z.matchClosing===!1?(I="tag",h):(I="tag error",b)}return I="error",b}function h(t,e,n){return"endTag"!=t?(I="error",h):(f(n),m)}function b(t,e,n){return I="error",h(t,e,n)}function x(t,e,n){if("word"==t)return I="attribute",k;if("endTag"==t||"selfcloseTag"==t){var r=n.tagName,o=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==t||z.autoSelfClosers.hasOwnProperty(r)?s(n,r):(s(n,r),n.context=new c(n,r,o==n.indented)),m}return I="error",x}function k(t,e,n){return"equals"==t?v:(z.allowMissing||(I="error"),x(t,e,n))}function v(t,e,n){return"string"==t?w:"word"==t&&z.allowUnquoted?(I="string",x):(I="error",x(t,e,n))}function w(t,e,n){return"string"==t?w:x(t,e,n)}var y=r.indentUnit,z={},N=o.htmlMode?e:n;for(var T in N)z[T]=N[T];for(var T in o)z[T]=o[T];var C,I;return a.isInText=!0,{startState:function(t){var e={tokenize:a,state:m,indented:t||0,tagName:null,tagStart:null,context:null};return null!=t&&(e.baseIndent=t),e},token:function(t,e){if(!e.tagName&&t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;C=null;var n=e.tokenize(t,e);return(n||C)&&"comment"!=n&&(I=null,e.state=e.state(C||n,t,e),I&&(n="error"==I?n+" error":I)),n},indent:function(e,n,r){var o=e.context;if(e.tokenize.isInAttribute)return e.tagStart==e.indented?e.stringStartCol+1:e.indented+y;if(o&&o.noIndent)return t.Pass;if(e.tokenize!=i&&e.tokenize!=a)return r?r.match(/^(\s*)/)[0].length:0;if(e.tagName)return z.multilineTagIndentPastTag!==!1?e.tagStart+e.tagName.length+2:e.tagStart+y*(z.multilineTagIndentFactor||1);if(z.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var l=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(l&&l[1])for(;o;){if(o.tagName==l[2]){o=o.prev;break}if(!z.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(l)for(;o;){var u=z.contextGrabbers[o.tagName];if(!u||!u.hasOwnProperty(l[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+y:e.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:z.htmlMode?"html":"xml",helperType:z.htmlMode?"html":"xml",skipAttribute:function(t){t.state==v&&(t.state=x)}}}),t.defineMIME("text/xml","xml"),t.defineMIME("application/xml","xml"),t.mimeModes.hasOwnProperty("text/html")||t.defineMIME("text/html",{name:"xml",htmlMode:!0})});
|
66
|
-
},{"../../lib/codemirror":23}],31:[function(require,module,exports){
|
67
|
-
var CodeMirror=require("codemirror");require("codemirror/addon/runmode/runmode.js");var Highlighter={aliases:{bash:"text/x-sh",c:"text/x-csrc",html:"text/html",js:"text/javascript",json:"application/json",java:"text/x-java",markup:"text/html",sass:"text/x-sass",scss:"text/x-scss",sh:"text/x-sh"},addAlias:function(a){for(var s in a)self.aliases[s]=a[s]},aliasLang:function(a){return self.aliases[a]||a},process:function(a,s,t){var e={json:!1};"json"==s&&(e.json=!0),CodeMirror.runMode(a,self.aliasLang(s),t,e)},highlightEl:function(a){var s=a.dataset.lang||a.dataset.language;if(!s){if(classMatch=a.className.match(/lang.*?-(\S+)/),!classMatch)return;s=classMatch[1]}a.classList.contains("language-"+s)&&a.classList.remove("language-"+s),a.classList.add("lang-"+s),a.classList.add("highlighted");var t=a.textContent.trim();self.process(t,s,a),a.innerHTML="<code class='highlighted-code static-code cm-s-default'>"+a.innerHTML+"</code>"},highlight:function(a){a=a||'[class*="language-"], [class*="lang-"], [data-lang], [data-language]';var s=document.querySelectorAll(a);Array.prototype.forEach.call(s,function(a){self.highlightEl(a)})}};module.exports=self=Highlighter;
|
68
|
-
},{"codemirror":23,"codemirror/addon/runmode/runmode.js":22}],32:[function(require,module,exports){
|
69
|
-
var tpl=require("./templates/dialog"),oneBtn=require("./templates/one-button"),twoBtn=require("./templates/two-button"),Event=require("compose-event"),dialog={show:function(e){return self.options=e,self.render(),self.listen(),this},render:function(){document.body.insertAdjacentHTML("beforeend",tpl);var e=document.body.lastChild;document.body.removeChild(e),self.options.continue?(e.querySelector(".dialog-actions").innerHTML=twoBtn,self.continueButton=e.querySelector(".dialog-continue"),self.continueButton.textContent=self.options.continue,self.options.destructive&&(self.continueButton.classList.remove("primary-btn"),self.continueButton.classList.add("primary-destroy-btn"))):e.querySelector(".dialog-actions").innerHTML=oneBtn,self.closeButton=e.querySelector(".dialog-close"),e.querySelector(".dialog-close").textContent=self.options.close||"Cancel";var t=e.querySelector(".dialog-message");self.options.messageHTML?t.innerHTML=self.options.messageHTML:(self.options.title&&(t.innerHTML+="<h2>"+self.options.title+"</h2>"),self.options.message&&(t.innerHTML+="<p>"+self.options.message+"</p>")),self.el=e,document.body.appendChild(self.el)},listen:function(){Event.on(self.el,"click",".dialog-continue",self.continueAction),Event.on(self.el,"click",".dialog-close",self.closeAction),Event.one(self.el,"animationend",self.tab),Event.keyOn("tab",self.tab),Event.keyOn("enter",self.continueAction),Event.keyOn("esc",self.closeAction),Event.key.setScope("dialog")},tab:function(e){e&&e.preventDefault(),document.activeElement!=self.closeButton?self.closeButton.focus():self.continueButton.focus()},closeAction:function(e){e&&e.preventDefault(),self.closeButton.focus(),self.closeButton.classList.add("active"),self.close(function(){self.options.onDismiss&&self.options.onDismiss()})},continueAction:function(e){e&&e.preventDefault(),self.continueButton.focus(),self.continueButton.classList.add("active"),self.close(function(){self.options.submit?self.options.submit.nodeType?self.options.submit.submit():(form=document.querySelector(self.options.submit),"true"==form.dataset.remote?Event.fire(form,"submit"):form.submit()):self.options.follow&&(self.options.follow.match(/^https?:\/\//)?window.location=self.options.follow:window.location.href=self.options.follow),self.options.onConfirm&&self.options.onConfirm()})},close:function(e){self.el.classList.add("dismiss"),Event.one(self.el,"animationend",function(t){e&&e(),self.remove()})},remove:function(){Event.key.setScope("all"),Event.keyOff("tab, enter, esc"),Event.off(self.el,"click"),document.body.removeChild(self.el)}};Event.ready(function(){Event.on(document,"click","[data-trigger=dialog]",function(e){e.preventDefault(),dialog.show(e.currentTarget.dataset)})});var self=dialog;module.exports=dialog;
|
70
|
-
},{"./templates/dialog":33,"./templates/one-button":34,"./templates/two-button":35,"compose-event":36}],33:[function(require,module,exports){
|
71
|
-
module.exports='<div class="dialog"> <div class="dialog-box"> <div class="dialog-message"></div> <div class="dialog-actions"></div> </div></div>';
|
72
|
-
},{}],34:[function(require,module,exports){
|
73
|
-
module.exports='<button class="dialog-close btn"></button>';
|
74
|
-
},{}],35:[function(require,module,exports){
|
75
|
-
module.exports='<button class="dialog-close btn"></button><button class="dialog-continue primary-btn"></button>';
|
76
|
-
},{}],36:[function(require,module,exports){
|
77
|
-
function on(){setEvent("on",slice.call(arguments))}function off(){setEvent("off",slice.call(arguments))}function one(){setEvent("one",slice.call(arguments))}function fire(){args=slice.call(arguments);var e=(args[0],[]);args[1].split(" ").forEach(function(n){var n=animationEvent.transform(n);isEmpty(n)||e.push(n)}),isEmpty(e)||(args[1]=e.join(" "),bean.fire.apply(this,args))}function setEvent(e,n){transformArgs(n).forEach(function(n){bean[e].apply(null,n)})}function keyOne(e,n,r){"function"==typeof n&&(r=n,n="all"),key(e,n,function(t){key.unbind(e,n),r(t)})}function afterAnimation(e,n){var r=!!window.getComputedStyle(e).getPropertyValue("animation-duration");r?one(e,"animationend",n):n()}function transformArgs(e){var n=[],r={},t=e.shift(),a=e.shift();if("function"!=typeof e[0])var i=e.shift();if("string"==typeof a){var o={};o[a]=e.shift(),a=o}for(event in a)if(a.hasOwnProperty(event)){var l=a[event];event.split(" ").forEach(function(e){e=animationEvent.transform(e),isEmpty(e)?l():e.match(/tap/)?r.touchstart=tap(l):r[e]=l})}for(event in r){var c=[];c.push(t,event),i&&c.push(i),c.push(r[event]),n.push(c.concat(e))}return n}function isEmpty(e){var n=Object.prototype.hasOwnProperty;if(null==e||0===e.length)return!0;if(0<e.length)return!1;for(var r in e)if(n.call(e,r))return!1;return!0}require("./lib/shims/custom-event");var bean=require("bean"),key=require("keymaster"),animationEvent=require("./lib/animation-events"),page=require("./lib/page"),tap=require("./lib/tap-events"),debounce=require("./lib/debounce"),throttle=require("./lib/throttle"),delay=require("./lib/delay"),repeat=require("./lib/repeat"),bubbleFormEvents=require("./lib/bubble-form-events"),scroll=require("./lib/scroll"),resize=require("./lib/resize"),callbackManager=require("./lib/callback-manager"),media=require("./lib/media"),slice=Array.prototype.slice,formBubbling=!1;module.exports={on:on,off:off,one:one,fire:fire,clone:bean.clone,ready:page.ready,change:page.change,afterAnimation:afterAnimation,media:media,key:key,keyOn:key,keyOff:key.unbind,keyOne:keyOne,debounce:debounce,throttle:throttle,delay:delay,repeat:repeat,scroll:scroll,resize:resize,callbackManager:callbackManager,callback:callbackManager.callback,bubbleFormEvents:bubbleFormEvents};
|
78
|
-
},{"./lib/animation-events":37,"./lib/bubble-form-events":38,"./lib/callback-manager":39,"./lib/debounce":40,"./lib/delay":41,"./lib/media":42,"./lib/page":44,"./lib/repeat":45,"./lib/resize":46,"./lib/scroll":47,"./lib/shims/custom-event":48,"./lib/tap-events":49,"./lib/throttle":50,"bean":51,"keymaster":52}],37:[function(require,module,exports){
|
79
|
-
function camelCaseEventTypes(n){return n=n||"",{animationstart:n+"AnimationStart",animationend:n+"AnimationEnd",animationiteration:n+"AnimationIteration"}}function lowerCaseEventTypes(n){return n=n||"",{animationstart:n+"animationstart",animationend:n+"animationend",animationiteration:n+"animationiteration"}}function getAnimationEventTypes(){var n=["webkit","Moz","O",""],t=document.documentElement.style;if(void 0!==t.animationName)return lowerCaseEventTypes();for(var e,i=0,a=n.length;i<a;i++)if(e=n[i],void 0!==t[e+"AnimationName"]){if(0===i)return camelCaseEventTypes(e.toLowerCase());if(1===i)return lowerCaseEventTypes();if(2===i)return lowerCaseEventTypes(e.toLowerCase())}return{}}function transformAnimationEvents(n){return n.match(/animation/i)?cssAnimEventTypes[n]?cssAnimEventTypes[n]:("test"!=window.env&&console.error('"'+n+'" is not a supported animation event'),""):n}var cssAnimEventTypes=getAnimationEventTypes(),supported=void 0!==cssAnimEventTypes.animationstart;module.exports={transform:transformAnimationEvents};
|
80
|
-
},{}],38:[function(require,module,exports){
|
81
|
-
var Event=require("bean"),page=require("./page"),formEls,formBubbling=!1,fireBubble=function(e){if(e.detail&&e.detail.triggered)return!1;var t=new CustomEvent(e.type,{bubbles:!0,cancelable:!0,detail:{triggered:!0}});e.stopPropagation(),e.target.dispatchEvent(t),t.defaultPrevented&&e.preventDefault()},eventType=function(e){return"FORM"==e.tagName?"submit":"focus blur"},bubbleOn=function(e){Event.on(e,eventType(e),fireBubble)},bubbleOff=function(e){Event.off(e,eventType(e),fireBubble)},bubbleFormEvents=function(){if(!e){page.change(function(){formEls&&Array.prototype.forEach.call(formEls,bubbleOff),formEls=document.querySelectorAll("form, input"),Array.prototype.forEach.call(formEls,bubbleOn)});var e=!0}};module.exports=bubbleFormEvents;
|
82
|
-
},{"./page":44,"bean":51}],39:[function(require,module,exports){
|
83
|
-
var Manager={new:function(){var n={callbacks:[],add:function(a){var c=Manager.callback.new(a);return n.callbacks.push(c),c},stop:function(){n.callbacks.forEach(function(n){n.stop()})},start:function(){n.callbacks.forEach(function(n){n.start()})},toggle:function(a){n.callbacks.forEach(function(n){n.toggle(a)})},remove:function(){n.callbacks=[]},fire:function(){var a=Array.prototype.slice.call(arguments);n.callbacks.forEach(function(n){n.apply(this,a)})}};return n},callback:{new:function(n){var a=function(){a.enabled&&n.apply(n,arguments)};return a.stop=function(){a.enabled=!1},a.start=function(){a.enabled=!0},a.toggle=function(n){a.enabled=0 in arguments?n:!a.enabled},a.enabled=!0,a}}};module.exports=Manager;
|
84
|
-
},{}],40:[function(require,module,exports){
|
85
|
-
var now=function(){return Date.now()},pickFunction=function(){var n;return Array.prototype.forEach.call(arguments,function(i){"function"!=typeof i||n||(n=i)}),n},debounce=function(n,i,t){t="object"==typeof n?n:t||{},i=t.wait||i||0;var a,o=t.max||!1,e="leading"in t&&t.leading,c=!("trailing"in t)||t.trailing,r=pickFunction(t.leading,t.trailing,t.callback,n),u=pickFunction(t.trailing,t.leading,t.callback,n),l=!1,f={},g=0,p=0,d=!1,w=function(n){g=now(),p=now(),l=!1,d=!0,"leading"===n?r.apply(r,a):u.apply(u,a)},m=function(){l||(l=!0,f.value=requestAnimationFrame(k))},v=function(){"value"in f&&(cancelAnimationFrame(f.value),l=!1,g=0,p=0,d=!1)},y=function(){return o&&now()-p>=o},b=function(){return now()-g>=i},k=function(){l=!1,e&&!d?w("leading"):y()?w(e?"leading":"trailing"):b()?(c&&w("trailing"),e&&(d=!1)):m()},F=function(){g=now(),a=arguments,m()};return F.stop=v,F};module.exports=debounce;
|
86
|
-
},{}],41:[function(require,module,exports){
|
87
|
-
var now=function(){return Date.now()},delay=function(e,a){var t=null!=a?2:1,n={};return n.args=Array.prototype.slice.call(arguments,t),n.wait=a||0,n.start=now(),n.stop=function(){"value"in n&&cancelAnimationFrame(n.value)},n.loop=function(){now()-n.start>=n.wait?(e.apply(e,n.args),n.repeat?(n.repeat=n.repeat-1,n.start=now(),queueDelay(n)):0===n.repeat&&n.complete&&n.complete()):queueDelay(n)},queueDelay(n)},queueDelay=function(e){return e.value=requestAnimationFrame(e.loop),e};module.exports=delay;
|
88
|
-
},{}],42:[function(require,module,exports){
|
89
|
-
function parseQuery(i,n){var e={};return"string"==typeof i?i:(e.min=size(i.min,"min-"+n),e.max=size(i.max,"max-"+n),e.min&&e.max&&(e.query=e.min+" and "+e.max),e.query||e.min||e.max)}function size(i,n){return i?"("+n+": "+toPx(i)+")":null}function toPx(i){return"number"==typeof i?i+"px":i}var media={width:function(i,n){return media.listen(parseQuery(i,"width"),n)},minWidth:function(i,n){return media.width({min:i},n)},maxWidth:function(i,n){return media.width({max:i},n)},height:function(i,n){return media.listen(parseQuery(i,"height"),n)},minHeight:function(i,n){return media.height({min:i},n)},maxHeight:function(i,n){return media.height({max:i},n)},listen:function(i,n){var e=window.matchMedia(i);return n&&(n(e),e.addListener(n)),e}};module.exports=media;
|
90
|
-
},{}],43:[function(require,module,exports){
|
91
|
-
var Event=require("bean"),callbackManager=require("./callback-manager"),throttle=require("./throttle"),debounce=require("./debounce"),optimizedEventManager={new:function(e){var n={run:callbackManager.new(),start:callbackManager.new(),stop:callbackManager.new()},t=throttle(n.run.fire),r=debounce({leading:n.start.fire,trailing:!1,wait:150}),a=debounce(n.stop.fire,150);Event.on(window,e,function(){t(),r(),a()});var i=function(e){return n.run.add(e)};return i.start=function(e){return n.start.add(e)},i.stop=function(e){return n.stop.add(e)},i(function(){Event.fire(window,"optimized"+e[0].toUpperCase()+e.substring(1))}),i.start(function(){Event.fire(window,e+"Start")}),i.stop(function(){Event.fire(window,e+"Stop")}),i}};module.exports=optimizedEventManager;
|
92
|
-
},{"./callback-manager":39,"./debounce":40,"./throttle":50,"bean":51}],44:[function(require,module,exports){
|
93
|
-
var Event=require("bean"),callbackManager=require("./callback-manager"),manager={ready:callbackManager.new(),change:callbackManager.new(),readyAlready:!1,changed:!1};manager.ready.add(function(){manager.readyAlready=!0}),manager.ready.add(function(){window.Turbolinks||manager.changed||(manager.changed=!0,manager.change.fire())});var ready=function(a){return manager.readyAlready&&a(),manager.ready.add(a)},change=function(a){return manager.changed&&a(),manager.change.add(a)};ready.fire=function(){manager.ready.fire(),manager.ready.stop()},change.fire=function(){manager.change.fire()},Event.on(document,"DOMContentLoaded",ready.fire),Event.on(document,"page:change",change.fire),module.exports={ready:ready,change:change};
|
94
|
-
},{"./callback-manager":39,"bean":51}],45:[function(require,module,exports){
|
95
|
-
var delay=require("./delay"),repeat=function(e,r,a){var l=1,t=delay(e,r);return null!=a?l=3:null!=r&&(l=2),t.repeat=a||-1,t.args=Array.prototype.slice.call(arguments,l),t.stop=t.cancel,t};module.exports=repeat;
|
96
|
-
},{"./delay":41}],46:[function(require,module,exports){
|
97
|
-
var manager=require("./optimized-event-manager"),resize=manager.new("scroll");resize.disableAnimation=function(){var e='<style id="fullstop">.no-animation *, .no-animation *:after, .no-animation *:before { transition: none !important; animation: none !important }</style>';document.querySelector("style#fullstop")||document.head.insertAdjacentHTML("beforeend",e),resize.start(function(){document.body.classList.add("no-animation")}),resize.stop(function(){document.body.classList.remove("no-animation")})},module.exports=resize;
|
98
|
-
},{"./optimized-event-manager":43}],47:[function(require,module,exports){
|
99
|
-
var manager=require("./optimized-event-manager"),scroll=manager.new("scroll");scroll.disablePointer=function(){scroll.start(function(){document.documentElement.style.pointerEvents="none"}),scroll.stop(function(){document.documentElement.style.pointerEvents=""})},module.exports=scroll;
|
100
|
-
},{"./optimized-event-manager":43}],48:[function(require,module,exports){
|
101
|
-
!function(){function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}return"function"!=typeof window.CustomEvent&&(t.prototype=window.Event.prototype,void(window.CustomEvent=t))}();
|
102
|
-
},{}],49:[function(require,module,exports){
|
103
|
-
function Tap(e,t){function n(t){function n(n){if(t!==n&&(a(),!n.defaultPrevented)){var o=t.preventDefault,r=t.stopPropagation;t.stopPropagation=function(){r.call(t),r.call(n)},t.preventDefault=function(){o.call(t),o.call(n)},e.apply(u,i)}}function a(e){t!==e&&(clearTimeout(c),r.removeEventListener("touchmove",a),endEvents.forEach(function(e){r.removeEventListener(e,n)}))}if(t.touches&&!(t.touches.length>1)){var r=t.target,u=this,i=arguments,c=setTimeout(a,o);r.addEventListener("touchmove",a),endEvents.forEach(function(e){r.addEventListener(e,n)})}}t=t||{};var o=t.timeout||Tap.timeout;return n.handler=e,n}var endEvents=["touchend"];module.exports=Tap,Tap.timeout=200;
|
104
|
-
},{}],50:[function(require,module,exports){
|
105
|
-
var debounce=require("./debounce"),throttle=function(e,t,a){return"object"==typeof e?(a=e,e=void 0):a=a||{},a.wait=a.wait||t||0,a.max=a.max||a.wait,a.callback=a.callback||e,a.leading=!0,a.trailing=!0,debounce(a)};module.exports=throttle;
|
106
|
-
},{"./debounce":40}],51:[function(require,module,exports){
|
107
|
-
!function(e,t,n){"undefined"!=typeof module&&module.exports?module.exports=n():"function"==typeof define&&define.amd?define(n):t[e]=n()}("bean",this,function(e,t){e=e||"bean",t=t||this;var n,r=window,o=t[e],i=/[^\.]*(?=\..*)\.|.*/,a=/\..*/,l="addEventListener",c="removeEventListener",u=document||{},s=u.documentElement||{},p=s[l],f=p?l:"attachEvent",h={},d=Array.prototype.slice,g=function(e,t){return e.split(t||" ")},m=function(e){return"string"==typeof e},v=function(e){return"function"==typeof e},y="click dblclick mouseup mousedown contextmenu mousewheel mousemultiwheel DOMMouseScroll mouseover mouseout mousemove selectstart selectend keydown keypress keyup orientationchange focus blur change reset select submit load unload beforeunload resize move DOMContentLoaded readystatechange message error abort scroll ",b="show input invalid touchstart touchmove touchend touchcancel gesturestart gesturechange gestureend textinput readystatechange pageshow pagehide popstate hashchange offline online afterprint beforeprint dragstart dragenter dragover dragleave drag drop dragend loadstart progress suspend emptied stalled loadmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate play pause ratechange volumechange cuechange checking noupdate downloading cached updateready obsolete ",E=function(e,t,n){for(n=0;n<t.length;n++)t[n]&&(e[t[n]]=1);return e}({},g(y+(p?b:""))),w=function(){var e="compareDocumentPosition"in s?function(e,t){return t.compareDocumentPosition&&16===(16&t.compareDocumentPosition(e))}:"contains"in s?function(e,t){return t=9===t.nodeType||t===window?s:t,t!==e&&t.contains(e)}:function(e,t){for(;e=e.parentNode;)if(e===t)return 1;return 0},t=function(t){var n=t.relatedTarget;return n?n!==this&&"xul"!==n.prefix&&!/document/.test(this.toString())&&!e(n,this):null==n};return{mouseenter:{base:"mouseover",condition:t},mouseleave:{base:"mouseout",condition:t},mousewheel:{base:/Firefox/.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel"}}}(),T=function(){var e=g("altKey attrChange attrName bubbles cancelable ctrlKey currentTarget detail eventPhase getModifierState isTrusted metaKey relatedNode relatedTarget shiftKey srcElement target timeStamp type view which propertyName"),t=e.concat(g("button buttons clientX clientY dataTransfer fromElement offsetX offsetY pageX pageY screenX screenY toElement")),n=t.concat(g("wheelDelta wheelDeltaX wheelDeltaY wheelDeltaZ axis")),o=e.concat(g("char charCode key keyCode keyIdentifier keyLocation location")),i=e.concat(g("data")),a=e.concat(g("touches targetTouches changedTouches scale rotation")),l=e.concat(g("data origin source")),c=e.concat(g("state")),p=/over|out/,f=[{reg:/key/i,fix:function(e,t){return t.keyCode=e.keyCode||e.which,o}},{reg:/click|mouse(?!(.*wheel|scroll))|menu|drag|drop/i,fix:function(e,n,r){return n.rightClick=3===e.which||2===e.button,n.pos={x:0,y:0},e.pageX||e.pageY?(n.clientX=e.pageX,n.clientY=e.pageY):(e.clientX||e.clientY)&&(n.clientX=e.clientX+u.body.scrollLeft+s.scrollLeft,n.clientY=e.clientY+u.body.scrollTop+s.scrollTop),p.test(r)&&(n.relatedTarget=e.relatedTarget||e[("mouseover"==r?"from":"to")+"Element"]),t}},{reg:/mouse.*(wheel|scroll)/i,fix:function(){return n}},{reg:/^text/i,fix:function(){return i}},{reg:/^touch|^gesture/i,fix:function(){return a}},{reg:/^message$/i,fix:function(){return l}},{reg:/^popstate$/i,fix:function(){return c}},{reg:/.*/,fix:function(){return e}}],h={},d=function(e,t,n){if(arguments.length&&(e=e||((t.ownerDocument||t.document||t).parentWindow||r).event,this.originalEvent=e,this.isNative=n,this.isBean=!0,e)){var o,i,a,l,c,u=e.type,s=e.target||e.srcElement;if(this.target=s&&3===s.nodeType?s.parentNode:s,n){if(c=h[u],!c)for(o=0,i=f.length;o<i;o++)if(f[o].reg.test(u)){h[u]=c=f[o].fix;break}for(l=c(e,this,u),o=l.length;o--;)!((a=l[o])in this)&&a in e&&(this[a]=e[a])}}};return d.prototype.preventDefault=function(){this.originalEvent.preventDefault?this.originalEvent.preventDefault():this.originalEvent.returnValue=!1},d.prototype.stopPropagation=function(){this.originalEvent.stopPropagation?this.originalEvent.stopPropagation():this.originalEvent.cancelBubble=!0},d.prototype.stop=function(){this.preventDefault(),this.stopPropagation(),this.stopped=!0},d.prototype.stopImmediatePropagation=function(){this.originalEvent.stopImmediatePropagation&&this.originalEvent.stopImmediatePropagation(),this.isImmediatePropagationStopped=function(){return!0}},d.prototype.isImmediatePropagationStopped=function(){return this.originalEvent.isImmediatePropagationStopped&&this.originalEvent.isImmediatePropagationStopped()},d.prototype.clone=function(e){var t=new d(this,this.element,this.isNative);return t.currentTarget=e,t},d}(),D=function(e,t){return p||t||e!==u&&e!==r?e:s},x=function(){var e=function(e,t,n,r){var o=function(n,o){return t.apply(e,r?d.call(o,n?0:1).concat(r):o)},i=function(n,r){return t.__beanDel?t.__beanDel.ft(n.target,e):r},a=n?function(e){var t=i(e,this);if(n.apply(t,arguments))return e&&(e.currentTarget=t),o(e,arguments)}:function(e){return t.__beanDel&&(e=e.clone(i(e))),o(e,arguments)};return a.__beanDel=t.__beanDel,a},t=function(t,n,r,o,i,a,l){var c,u=w[n];"unload"==n&&(r=S(I,t,n,r,o)),u&&(u.condition&&(r=e(t,r,u.condition,a)),n=u.base||n),this.isNative=c=E[n]&&!!t[f],this.customType=!p&&!c&&n,this.element=t,this.type=n,this.original=o,this.namespaces=i,this.eventType=p||c?n:"propertychange",this.target=D(t,c),this[f]=!!this.target[f],this.root=l,this.handler=e(t,r,null,a)};return t.prototype.inNamespaces=function(e){var t,n,r=0;if(!e)return!0;if(!this.namespaces)return!1;for(t=e.length;t--;)for(n=this.namespaces.length;n--;)e[t]==this.namespaces[n]&&r++;return e.length===r},t.prototype.matches=function(e,t,n){return!(this.element!==e||t&&this.original!==t||n&&this.handler!==n)},t}(),k=function(){var e={},t=function(n,r,o,i,a,l){var c=a?"r":"$";if(r&&"*"!=r){var u,s=0,p=e[c+r],f="*"==n;if(!p)return;for(u=p.length;s<u;s++)if((f||p[s].matches(n,o,i))&&!l(p[s],p,s,r))return}else for(var h in e)h.charAt(0)==c&&t(n,h.substr(1),o,i,a,l)},n=function(t,n,r,o){var i,a=e[(o?"r":"$")+n];if(a)for(i=a.length;i--;)if(!a[i].root&&a[i].matches(t,r,null))return!0;return!1},r=function(e,n,r,o){var i=[];return t(e,n,r,null,o,function(e){return i.push(e)}),i},o=function(t){var n=!t.root&&!this.has(t.element,t.type,null,!1),r=(t.root?"r":"$")+t.type;return(e[r]||(e[r]=[])).push(t),n},i=function(n){t(n.element,n.type,null,n.handler,n.root,function(t,n,r){return n.splice(r,1),t.removed=!0,0===n.length&&delete e[(t.root?"r":"$")+t.type],!1})},a=function(){var t,n=[];for(t in e)"$"==t.charAt(0)&&(n=n.concat(e[t]));return n};return{has:n,get:r,put:o,del:i,entries:a}}(),P=function(e){n=arguments.length?e:u.querySelectorAll?function(e,t){return t.querySelectorAll(e)}:function(){throw new Error("Bean: No selector engine installed")}},_=function(e,t){if(p||!t||!e||e.propertyName=="_on"+t){var n=k.get(this,t||e.type,null,!1),r=n.length,o=0;for(e=new T(e,this,!0),t&&(e.type=t);o<r&&!e.isImmediatePropagationStopped();o++)n[o].removed||n[o].handler.call(this,e)}},N=p?function(e,t,n){e[n?l:c](t,_,!1)}:function(e,t,n,r){var o;n?(k.put(o=new x(e,r||t,function(t){_.call(e,t,r)},_,null,null,!0)),r&&null==e["_on"+r]&&(e["_on"+r]=0),o.target.attachEvent("on"+o.eventType,o.handler)):(o=k.get(e,r||t,_,!0)[0],o&&(o.target.detachEvent("on"+o.eventType,o.handler),k.del(o)))},S=function(e,t,n,r,o){return function(){r.apply(this,arguments),e(t,n,o)}},I=function(e,t,n,r){var o,i,l=t&&t.replace(a,""),c=k.get(e,l,null,!1),u={};for(o=0,i=c.length;o<i;o++)n&&c[o].original!==n||!c[o].inNamespaces(r)||(k.del(c[o]),!u[c[o].eventType]&&c[o][f]&&(u[c[o].eventType]={t:c[o].eventType,c:c[o].type}));for(o in u)k.has(e,u[o].t,null,!1)||N(e,u[o].t,!1,u[o].c)},X=function(e,t){var r=function(t,r){for(var o,i=m(e)?n(e,r):e;t&&t!==r;t=t.parentNode)for(o=i.length;o--;)if(i[o]===t)return t},o=function(e){var n=r(e.target,this);n&&t.apply(n,arguments)};return o.__beanDel={ft:r,selector:e},o},Y=p?function(e,t,n){var o=u.createEvent(e?"HTMLEvents":"UIEvents");o[e?"initEvent":"initUIEvent"](t,!0,!0,r,1),n.dispatchEvent(o)}:function(e,t,n){n=D(n,e),e?n.fireEvent("on"+t,u.createEventObject()):n["_on"+t]++},C=function(e,t,n){var r,o,l,c,u=m(t);if(u&&t.indexOf(" ")>0){for(t=g(t),c=t.length;c--;)C(e,t[c],n);return e}if(o=u&&t.replace(a,""),o&&w[o]&&(o=w[o].base),!t||u)(l=u&&t.replace(i,""))&&(l=g(l,".")),I(e,o,n,l);else if(v(t))I(e,null,t);else for(r in t)t.hasOwnProperty(r)&&C(e,r,t[r]);return e},L=function(e,t,r,o){var l,c,u,s,p,m,y;{if(void 0!==r||"object"!=typeof t){for(v(r)?(p=d.call(arguments,3),o=l=r):(l=o,p=d.call(arguments,4),o=X(r,l,n)),u=g(t),this===h&&(o=S(C,e,t,o,l)),s=u.length;s--;)y=k.put(m=new x(e,u[s].replace(a,""),o,l,g(u[s].replace(i,""),"."),p,!1)),m[f]&&y&&N(e,m.eventType,!0,m.customType);return e}for(c in t)t.hasOwnProperty(c)&&L.call(this,e,c,t[c])}},M=function(e,t,n,r){return L.apply(null,m(n)?[e,n,t,r].concat(arguments.length>3?d.call(arguments,5):[]):d.call(arguments))},O=function(){return L.apply(h,arguments)},$=function(e,t,n){var r,o,l,c,u,s=g(t);for(r=s.length;r--;)if(t=s[r].replace(a,""),(c=s[r].replace(i,""))&&(c=g(c,".")),c||n||!e[f])for(u=k.get(e,t,null,!1),n=[!1].concat(n),o=0,l=u.length;o<l;o++)u[o].inNamespaces(c)&&u[o].handler.apply(e,n);else Y(E[t],t,e);return e},A=function(e,t,n){for(var r,o,i=k.get(t,n,null,!1),a=i.length,l=0;l<a;l++)i[l].original&&(r=[e,i[l].type],(o=i[l].handler.__beanDel)&&r.push(o.selector),r.push(i[l].original),L.apply(null,r));return e},K={on:L,add:M,one:O,off:C,remove:C,clone:A,fire:$,Event:T,setSelectorEngine:P,noConflict:function(){return t[e]=o,this}};if(r.attachEvent){var B=function(){var e,t=k.entries();for(e in t)t[e].type&&"unload"!==t[e].type&&C(t[e].element,t[e].type);r.detachEvent("onunload",B),r.CollectGarbage&&r.CollectGarbage()};r.attachEvent("onunload",B)}return P(),K});
|
108
|
-
},{}],52:[function(require,module,exports){
|
109
|
-
!function(e){function n(e,n){for(var t=e.length;t--;)if(e[t]===n)return t;return-1}function t(e,n){if(e.length!=n.length)return!1;for(var t=0;t<e.length;t++)if(e[t]!==n[t])return!1;return!0}function o(e){for(m in b)b[m]=e[T[m]]}function r(e){var t,r,i,l,c,u;if(t=e.keyCode,n(S,t)==-1&&S.push(t),93!=t&&224!=t||(t=91),t in b){b[t]=!0;for(i in C)C[i]==t&&(f[i]=!0)}else if(o(e),f.filter.call(this,e)&&t in E)for(u=p(),l=0;l<E[t].length;l++)if(r=E[t][l],r.scope==u||"all"==r.scope){c=r.mods.length>0;for(i in b)(!b[i]&&n(r.mods,+i)>-1||b[i]&&n(r.mods,+i)==-1)&&(c=!1);(0!=r.mods.length||b[16]||b[18]||b[17]||b[91])&&!c||r.method(e,r)===!1&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function i(e){var t,o=e.keyCode,r=n(S,o);if(r>=0&&S.splice(r,1),93!=o&&224!=o||(o=91),o in b){b[o]=!1;for(t in C)C[t]==o&&(f[t]=!1)}}function l(){for(m in b)b[m]=!1;for(m in C)f[m]=!1}function f(e,n,t){var o,r;o=g(e),void 0===t&&(t=n,n="all");for(var i=0;i<o.length;i++)r=[],e=o[i].split("+"),e.length>1&&(r=v(e),e=[e[e.length-1]]),e=e[0],e=P(e),e in E||(E[e]=[]),E[e].push({shortcut:o[i],scope:n,method:t,key:o[i],mods:r})}function c(e,n){var o,r,i,l,f,c=[];for(o=g(e),l=0;l<o.length;l++){if(r=o[l].split("+"),r.length>1&&(c=v(r),e=r[r.length-1]),e=P(e),void 0===n&&(n=p()),!E[e])return;for(i=0;i<E[e].length;i++)f=E[e][i],f.scope===n&&t(f.mods,c)&&(E[e][i]={})}}function u(e){return"string"==typeof e&&(e=P(e)),n(S,e)!=-1}function a(){return S.slice(0)}function s(e){var n=(e.target||e.srcElement).tagName;return!("INPUT"==n||"SELECT"==n||"TEXTAREA"==n)}function d(e){w=e||"all"}function p(){return w||"all"}function h(e){var n,t,o;for(n in E)for(t=E[n],o=0;o<t.length;)t[o].scope===e?t.splice(o,1):o++}function g(e){var n;return e=e.replace(/\s/g,""),n=e.split(","),""==n[n.length-1]&&(n[n.length-2]+=","),n}function v(e){for(var n=e.slice(0,e.length-1),t=0;t<n.length;t++)n[t]=C[n[t]];return n}function y(e,n,t){e.addEventListener?e.addEventListener(n,t,!1):e.attachEvent&&e.attachEvent("on"+n,function(){t(window.event)})}function k(){var n=e.key;return e.key=A,n}var m,E={},b={16:!1,18:!1,17:!1,91:!1},w="all",C={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,command:91},K={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,home:36,end:35,pageup:33,pagedown:34,",":188,".":190,"/":191,"`":192,"-":189,"=":187,";":186,"'":222,"[":219,"]":221,"\\":220},P=function(e){return K[e]||e.toUpperCase().charCodeAt(0)},S=[];for(m=1;m<20;m++)K["f"+m]=111+m;var T={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey"};for(m in C)f[m]=!1;y(document,"keydown",function(e){r(e)}),y(document,"keyup",i),y(window,"focus",l);var A=e.key;e.key=f,e.key.setScope=d,e.key.getScope=p,e.key.deleteScope=h,e.key.filter=s,e.key.isPressed=u,e.key.getPressedKeyCodes=a,e.key.noConflict=k,e.key.unbind=c,"undefined"!=typeof module&&(module.exports=f)}(this);
|
110
|
-
},{}],53:[function(require,module,exports){
|
111
|
-
function notify(i,e){return e||(e=i,i="normal"),"progress"==i&&(i="action"),"string"==typeof e&&(e={message:e}),options=Object.assign({},defaultsByType[i],e,{type:i}),Notifier.addMessage(options)}require("./lib/_object.assign");var Notifier=require("./lib/notifier"),defaultsByType={error:{keep:!0},normal:{dismissAfter:2.5},success:{dismissAfter:2.5},action:{safeFor:1}};notify.normal=notify.bind(null,"normal"),notify.success=notify.bind(null,"success"),notify.error=notify.bind(null,"error"),notify.action=notify.bind(null,"action"),notify.progress=notify.bind(null,"action"),notify.clear=Notifier.clear,notify.queue=Notifier.queue,module.exports=notify;
|
112
|
-
},{"./lib/_object.assign":54,"./lib/notifier":56}],54:[function(require,module,exports){
|
113
|
-
"function"!=typeof Object.assign&&!function(){Object.assign=function(n){"use strict";if(void 0===n||null===n)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(n),o=1;o<arguments.length;o++){var r=arguments[o];if(void 0!==r&&null!==r)for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])}return t}}();
|
114
|
-
},{}],55:[function(require,module,exports){
|
115
|
-
var Event=require("compose-event"),template='<div class="notification"> <div class="notification-content"> <div class="notification-message"></div> <a class="notification-close" href="#" title="dismiss"> <span class="x_icon" aria-hidden="true"></span> <span class="hidden_label">close</span> </a> </div></div>',defaults={message:"Just what do you think you're doing, <strong>Dave</strong>.",safeFor:2,keep:!1};module.exports={new:function(e){return Object.assign({},this,defaults,e)},show:function(){this.dismissAfter&&(this.timeout=setTimeout(this.dismiss.bind(this),1e3*this.dismissAfter)),this.renderedAt=Date.now(),document.body.insertAdjacentHTML("beforeend",template);var e=document.body.lastChild;return document.body.removeChild(e),e.querySelector(".notification-message").innerHTML=this.message,this.type&&e.classList.add(this.type),document.body.appendChild(e),this.el=e,Event.keyOn("esc",this.remove.bind(this)),Event.one(this.el,"click",".notification-close",this.remove.bind(this)),this},dismiss:function(){this.dismissAfter&&clearTimeout(this.timeout),setTimeout(this.remove.bind(this),this.safeToRemoveIn())},remove:function(e){Event.keyOff("esc"),e&&e.preventDefault(),this.timeout&&clearTimeout(this.timeout),Event.one(this.el,"animationstart",function(){Event.one(this.el,"animationend",this.destroy.bind(this))}.bind(this)),this.el.classList.add("dismiss")},destroy:function(){Event.off(this.el),this.el.parentNode.removeChild(this.el),Event.fire(this,"remove")},safeToRemoveIn:function(){return Math.max(this.renderedAt+1e3*this.safeFor-Date.now(),0)},autoDismissIn:function(){if(this.dismissAfter)return Math.max(this.renderedAt+1e3*this.dismissAfter-Date.now(),0)},info:function(){return{type:this.type,message:this.message,keep:this.keep,dismissAfter:this.dismissAfter,safeFor:this.safeFor,safeToRemoveIn:this.safeToRemoveIn(),autoDismissIn:this.dismissAfter?this.autoDismissIn():"not auto dismissed"}}};
|
116
|
-
},{"compose-event":36}],56:[function(require,module,exports){
|
117
|
-
var Message=require("./message"),Event=require("compose-event"),queue=[],currentId=0,Notifier={addMessage:function(e){e=e||{},e.id=++currentId;var u=Message.new(e);return Event.one(u,"remove",this.removeMessage.bind(this)),queue.push(u),queue.length>1?queue[0].dismiss():this.next(),u},currentMessage:function(){return queue[0]},removeMessage:function(){queue.splice(0,1),this.next()},next:function(){queue.length&&queue[0].show()},clear:function(e){0!=queue.length&&(queue.splice(1,queue.length),!queue[0].keep||e?queue[0].destroy():queue[0].dismiss())},queue:function(){return queue}};module.exports=Notifier;
|
118
|
-
},{"./message":55,"compose-event":36}],57:[function(require,module,exports){
|
119
|
-
var request=require("superagent"),serialize=require("form-serialize"),Event=require("compose-event"),slice=Array.prototype.slice,counter=0,DEFAULT_CONTINUE_BUTTON="Yes",callbacks={},Form={listen:function(){self.resetCallbacks(),Event.on(document,"submit","form[data-remote]",self.submit),Event.on(document,"submit","form",self.disableWith),Event.on(document,"click","a[data-method], a[data-confirm], button[data-method], button[data-confirm]",self.click)},submit:function(e){e.preventDefault(),self.submitForm(e.currentTarget)},submitForm:function(e){if(!e.dataset.remote)return e.submit();var t,a=(e.dataset.method||e.getAttribute("method")||"get").toLowerCase(),r=e.dataset.url||e.getAttribute("action"),n=serialize(e),o=e.dataset.type||void 0;"delete"===a&&(a="del");var i=t=request[a](r);return n&&t.send(n),o?t.type(o):t.set("Accept","*/*;q=0.5, text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"),self.fireCallbacks(e,"beforeSend",t),t.end(function(t,a){self.handleResponse(e,t,a,i)}),t},handleResponse:function(e,t,a,r){var n=r.xhr;t||a.error?self.fireCallbacks(e,"error",n):self.fireCallbacks(e,"success",n),self.enableButtons(e),self.fireCallbacks(e,"complete",n),delete r},fireCallbacks:function(e,t,a){callbacks[t].forEach(function(r){self.matchCallbackForm(e,r[0])&&r[1].apply(null,[e,t,a])}),Event.fire(e,"ajax:"+t,[a])},matchCallbackForm:function(e,t){return t==e||"string"==typeof t&&document.querySelector(t)==e||t==document},on:function(){var e=slice.call(arguments),t=e.shift(),a=e.shift();if("string"==typeof a){var r={};r[a]=e.shift(),a=r}for(type in a){var n=a[type];a.hasOwnProperty(type)&&callbacks.hasOwnProperty(type)&&callbacks[type].push([t,n])}},resetCallbacks:function(){callbacks={beforeSend:[],success:[],error:[],complete:[]}},disableWith:function(e){var t=e.currentTarget.querySelectorAll("[data-disable-with]");Array.prototype.forEach.call(t,function(e){e.disabled=!0,e.classList.add("disabled"),e.dataset.enabledButtonLabel=e.innerHTML;var t=e.dataset.disableWith;t&&""!=t||(t=e.innerHTML),e.innerHTML=t.replace(/\.{3}/,"…")})},enableButtons:function(e){var t=e.querySelectorAll("[data-disable-with]");Array.prototype.forEach.call(t,function(e){e.disabled=!1,e.classList.remove("disabled"),e.innerHTML=e.dataset.enabledButtonLabel})},parentForm:function(e){for(;e&&"FORM"!=e.tagName;)e=e.parentNode;return e},click:function(e){e.preventDefault();var t=e.currentTarget,a=self.parentForm(t);a||(document.body.insertAdjacentHTML("beforeend",self.buildForm(t)),a=document.body.lastChild,t.dataset.remote&&(a.dataset.remote=t.dataset.remote)),t.dataset.confirm?self.triggerConfirm(t,a):self.submitForm(a)},triggerConfirm:function(e,t){null==t.getAttribute("id")&&t.setAttribute("id","temp-id-"+Math.round(1e4*Math.random()));var a={title:e.dataset.confirm||null,message:e.dataset.message||null,continue:e.dataset.continue||DEFAULT_CONTINUE_BUTTON};e.dataset.method?(a.submit="#"+t.getAttribute("id"),"delete"===e.dataset.method.toLowerCase()&&(a.destructive=!0,a.continue=e.dataset.continue||"Delete")):(a.follow=e.getAttribute("href"),a.destructive=!!e.dataset.destructive,a.submit=e.dataset.submit||"#"+t.getAttribute("id")),self.confirm(a)},confirm:function(e){confirm(e.message||e.title)&&(e.follow?window.location=e.follow:e.submit&&self.submitForm(document.querySelector(e.submit)))},buildForm:function(e){var t=e.dataset.method||"post",a=document.querySelector("meta[name=csrf-token]"),r=document.querySelector("meta[name=csrf-param]"),n='<form id="link-'+ ++counter+'" class="hidden" action="'+(e.dataset.url||e.dataset.action||e.getAttribute("href"))+'" method="post">';return n+='<input name="_method" value="'+t+'" type="hidden">',a&&r&&(n+='<input name="'+r.getAttribute("content")+'" value="'+a.getAttribute("content")+'" type="hidden">'),n+="</form>"}};Event.ready(function(){window.$&&$.rails||Form.listen()});var self=Form;module.exports=Form;
|
120
|
-
},{"compose-event":36,"form-serialize":58,"superagent":59}],58:[function(require,module,exports){
|
121
|
-
function serialize(e,r){"object"!=typeof r?r={hash:!!r}:void 0===r.hash&&(r.hash=!0);for(var t=r.hash?{}:"",a=r.serializer||r.hash?hash_serializer:str_serialize,s=e.elements||[],i=0;i<s.length;++i){var c=s[i];if((r.disabled||!c.disabled)&&c.name&&k_r_success_contrls.test(c.nodeName)&&!k_r_submitter.test(c.type)){var n=c.name,o=c.value;if("checkbox"!==c.type&&"radio"!==c.type||c.checked||(o=void 0),o)if("select-multiple"!==c.type)t=a(t,n,o);else{o=[];for(var r=c.options,i=0;i<r.length;++i){var _=r[i];_.selected&&(t=a(t,n,_.value))}}}}return t}function hash_serializer(e,r,t){if(r in e){var a=e[r];Array.isArray(a)||(e[r]=[a]),e[r].push(t)}else has_brackets(r)?extract_from_brackets(e,r,t):e[r]=t;return e}function str_serialize(e,r,t){return t=t.replace(/(\r)?\n/g,"\r\n"),t=encodeURIComponent(t),t=t.replace(/%20/g,"+"),e+(e?"&":"")+encodeURIComponent(r)+"="+t}function has_brackets(e){return e.match(brackets_regex)}function matches_between_brackets(e){for(var r,t=new RegExp(brackets_regex),a=[];r=t.exec(e);)a.push(r[1]);return a}function extract_from_brackets(e,r,t){var a=r.match(brackeks_prefix_regex)[1];e[a]||(e[a]={});for(var s=e[a],i=matches_between_brackets(r),c=i.length,n=0;n<c;n++){var o=i[n],_=c===n+1;if(_){var l=s[o];l?(Array.isArray(l)||(s[o]=[l]),s[o].push(t)):s[o]=t}else s[o]={},s=s[o]}s=t}var k_r_submitter=/^(?:submit|button|image|reset|file)$/i,k_r_success_contrls=/^(?:input|select|textarea|keygen)/i,brackets_regex=/\[(.+?)\]/g,brackeks_prefix_regex=/^(.+?)\[/;module.exports=serialize;
|
122
|
-
},{}],59:[function(require,module,exports){
|
123
|
-
function noop(){}function serialize(e){if(!isObject(e))return e;var t=[];for(var r in e)pushEncodedKeyValuePair(t,r,e[r]);return t.join("&")}function pushEncodedKeyValuePair(e,t,r){if(null!=r)if(Array.isArray(r))r.forEach(function(r){pushEncodedKeyValuePair(e,t,r)});else if(isObject(r))for(var s in r)pushEncodedKeyValuePair(e,t+"["+s+"]",r[s]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(r));else null===r&&e.push(encodeURIComponent(t))}function parseString(e){for(var t,r,s={},n=e.split("&"),o=0,i=n.length;o<i;++o)t=n[o],r=t.indexOf("="),r==-1?s[decodeURIComponent(t)]="":s[decodeURIComponent(t.slice(0,r))]=decodeURIComponent(t.slice(r+1));return s}function parseHeader(e){var t,r,s,n,o=e.split(/\r?\n/),i={};o.pop();for(var u=0,a=o.length;u<a;++u)r=o[u],t=r.indexOf(":"),s=r.slice(0,t).toLowerCase(),n=trim(r.slice(t+1)),i[s]=n;return i}function isJSON(e){return/[\/+]json\b/.test(e)}function type(e){return e.split(/ *; */).shift()}function params(e){return e.split(/ *; */).reduce(function(e,t){var r=t.split(/ *= */),s=r.shift(),n=r.shift();return s&&n&&(e[s]=n),e},{})}function Response(e,t){t=t||{},this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||"undefined"==typeof this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText,this._setStatusProperties(this.xhr.status),this.header=this.headers=parseHeader(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function Request(e,t){var r=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",function(){var e=null,t=null;try{t=new Response(r)}catch(t){return e=new Error("Parser is unable to parse the response"),e.parse=!0,e.original=t,e.rawResponse=r.xhr&&r.xhr.responseText?r.xhr.responseText:null,e.statusCode=r.xhr&&r.xhr.status?r.xhr.status:null,r.callback(e)}r.emit("response",t);var s;try{(t.status<200||t.status>=300)&&(s=new Error(t.statusText||"Unsuccessful HTTP response"),s.original=e,s.response=t,s.status=t.status)}catch(e){s=e}s?r.callback(s,t):r.callback(null,t)})}function del(e,t){var r=request("DELETE",e);return t&&r.end(t),r}var root;"undefined"!=typeof window?root=window:"undefined"!=typeof self?root=self:(console.warn("Using browser-only version of superagent in non-browser environment"),root=this);var Emitter=require("emitter"),requestBase=require("./request-base"),isObject=require("./is-object"),request=module.exports=require("./request").bind(null,Request);request.getXHR=function(){if(!(!root.XMLHttpRequest||root.location&&"file:"==root.location.protocol&&root.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only verison of superagent could not find XHR")};var trim="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};request.serializeObject=serialize,request.parseString=parseString,request.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},request.serialize={"application/x-www-form-urlencoded":serialize,"application/json":JSON.stringify},request.parse={"application/x-www-form-urlencoded":parseString,"application/json":JSON.parse},Response.prototype.get=function(e){return this.header[e.toLowerCase()]},Response.prototype._setHeaderProperties=function(e){var t=this.header["content-type"]||"";this.type=type(t);var r=params(t);for(var s in r)this[s]=r[s]},Response.prototype._parseBody=function(e){var t=request.parse[this.type];return!t&&isJSON(this.type)&&(t=request.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null},Response.prototype._setStatusProperties=function(e){1223===e&&(e=204);var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.notFound=404==e,this.forbidden=403==e},Response.prototype.toError=function(){var e=this.req,t=e.method,r=e.url,s="cannot "+t+" "+r+" ("+this.status+")",n=new Error(s);return n.status=this.status,n.method=t,n.url=r,n},request.Response=Response,Emitter(Request.prototype);for(var key in requestBase)Request.prototype[key]=requestBase[key];Request.prototype.type=function(e){return this.set("Content-Type",request.types[e]||e),this},Request.prototype.responseType=function(e){return this._responseType=e,this},Request.prototype.accept=function(e){return this.set("Accept",request.types[e]||e),this},Request.prototype.auth=function(e,t,r){switch(r||(r={type:"basic"}),r.type){case"basic":var s=btoa(e+":"+t);this.set("Authorization","Basic "+s);break;case"auto":this.username=e,this.password=t}return this},Request.prototype.query=function(e){return"string"!=typeof e&&(e=serialize(e)),e&&this._query.push(e),this},Request.prototype.attach=function(e,t,r){return this._getFormData().append(e,t,r||t.name),this},Request.prototype._getFormData=function(){return this._formData||(this._formData=new root.FormData),this._formData},Request.prototype.callback=function(e,t){var r=this._callback;this.clearTimeout(),r(e,t)},Request.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},Request.prototype._timeoutError=function(){var e=this._timeout,t=new Error("timeout of "+e+"ms exceeded");t.timeout=e,this.callback(t)},Request.prototype._appendQueryString=function(){var e=this._query.join("&");e&&(this.url+=~this.url.indexOf("?")?"&"+e:"?"+e)},Request.prototype.end=function(e){var t=this,r=this.xhr=request.getXHR(),s=this._timeout,n=this._formData||this._data;this._callback=e||noop,r.onreadystatechange=function(){if(4==r.readyState){var e;try{e=r.status}catch(t){e=0}if(0==e){if(t.timedout)return t._timeoutError();if(t._aborted)return;return t.crossDomainError()}t.emit("end")}};var o=function(e,r){r.total>0&&(r.percent=r.loaded/r.total*100),r.direction=e,t.emit("progress",r)};if(this.hasListeners("progress"))try{r.onprogress=o.bind(null,"download"),r.upload&&(r.upload.onprogress=o.bind(null,"upload"))}catch(e){}if(s&&!this._timer&&(this._timer=setTimeout(function(){t.timedout=!0,t.abort()},s)),this._appendQueryString(),this.username&&this.password?r.open(this.method,this.url,!0,this.username,this.password):r.open(this.method,this.url,!0),this._withCredentials&&(r.withCredentials=!0),"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var i=this._header["content-type"],u=this._serializer||request.serialize[i?i.split(";")[0]:""];!u&&isJSON(i)&&(u=request.serialize["application/json"]),u&&(n=u(n))}for(var a in this.header)null!=this.header[a]&&r.setRequestHeader(a,this.header[a]);return this._responseType&&(r.responseType=this._responseType),this.emit("request",this),r.send("undefined"!=typeof n?n:null),this},request.Request=Request,request.get=function(e,t,r){var s=request("GET",e);return"function"==typeof t&&(r=t,t=null),t&&s.query(t),r&&s.end(r),s},request.head=function(e,t,r){var s=request("HEAD",e);return"function"==typeof t&&(r=t,t=null),t&&s.send(t),r&&s.end(r),s},request.options=function(e,t,r){var s=request("OPTIONS",e);return"function"==typeof t&&(r=t,t=null),t&&s.send(t),r&&s.end(r),s},request.del=del,request.delete=del,request.patch=function(e,t,r){var s=request("PATCH",e);return"function"==typeof t&&(r=t,t=null),t&&s.send(t),r&&s.end(r),s},request.post=function(e,t,r){var s=request("POST",e);return"function"==typeof t&&(r=t,t=null),t&&s.send(t),r&&s.end(r),s},request.put=function(e,t,r){var s=request("PUT",e);return"function"==typeof t&&(r=t,t=null),t&&s.send(t),r&&s.end(r),s};
|
124
|
-
},{"./is-object":60,"./request":62,"./request-base":61,"emitter":63}],60:[function(require,module,exports){
|
125
|
-
function isObject(e){return null!==e&&"object"==typeof e}module.exports=isObject;
|
126
|
-
},{}],61:[function(require,module,exports){
|
127
|
-
var isObject=require("./is-object");exports.clearTimeout=function(){return this._timeout=0,clearTimeout(this._timer),this},exports.parse=function(t){return this._parser=t,this},exports.serialize=function(t){return this._serializer=t,this},exports.timeout=function(t){return this._timeout=t,this},exports.then=function(t,e){if(!this._fullfilledPromise){var i=this;this._fullfilledPromise=new Promise(function(t,e){i.end(function(i,r){i?e(i):t(r)})})}return this._fullfilledPromise.then(t,e)},exports.catch=function(t){return this.then(void 0,t)},exports.use=function(t){return t(this),this},exports.get=function(t){return this._header[t.toLowerCase()]},exports.getHeader=exports.get,exports.set=function(t,e){if(isObject(t)){for(var i in t)this.set(i,t[i]);return this}return this._header[t.toLowerCase()]=e,this.header[t]=e,this},exports.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this},exports.field=function(t,e){if(null===t||void 0===t)throw new Error(".field(name, val) name can not be empty");if(isObject(t)){for(var i in t)this.field(i,t[i]);return this}if(null===e||void 0===e)throw new Error(".field(name, val) val can not be empty");return this._getFormData().append(t,e),this},exports.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},exports.withCredentials=function(){return this._withCredentials=!0,this},exports.redirects=function(t){return this._maxRedirects=t,this},exports.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},exports._isHost=function(t){var e={}.toString.call(t);switch(e){case"[object File]":case"[object Blob]":case"[object FormData]":return!0;default:return!1}},exports.send=function(t){var e=isObject(t),i=this._header["content-type"];if(e&&isObject(this._data))for(var r in t)this._data[r]=t[r];else"string"==typeof t?(i||this.type("form"),i=this._header["content-type"],"application/x-www-form-urlencoded"==i?this._data=this._data?this._data+"&"+t:t:this._data=(this._data||"")+t):this._data=t;return!e||this._isHost(t)?this:(i||this.type("json"),this)};
|
128
|
-
},{"./is-object":60}],62:[function(require,module,exports){
|
129
|
-
function request(e,n,t){return"function"==typeof t?new e("GET",n).end(t):2==arguments.length?new e("GET",n):new e(n,t)}module.exports=request;
|
130
|
-
},{}],63:[function(require,module,exports){
|
131
|
-
function Emitter(t){if(t)return mixin(t)}function mixin(t){for(var e in Emitter.prototype)t[e]=Emitter.prototype[e];return t}"undefined"!=typeof module&&(module.exports=Emitter),Emitter.prototype.on=Emitter.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},Emitter.prototype.once=function(t,e){function i(){this.off(t,i),e.apply(this,arguments)}return i.fn=e,this.on(t,i),this},Emitter.prototype.off=Emitter.prototype.removeListener=Emitter.prototype.removeAllListeners=Emitter.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var i=this._callbacks["$"+t];if(!i)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var r,s=0;s<i.length;s++)if(r=i[s],r===e||r.fn===e){i.splice(s,1);break}return this},Emitter.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),i=this._callbacks["$"+t];if(i){i=i.slice(0);for(var r=0,s=i.length;r<s;++r)i[r].apply(this,e)}return this},Emitter.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},Emitter.prototype.hasListeners=function(t){return!!this.listeners(t).length};
|
132
|
-
},{}],64:[function(require,module,exports){
|
133
|
-
require("./lib/object.assign");var Event=require("compose-event"),sliders=[],Slider={listen:function(){self.setup(),Event.on(document,"input toggler:show","[type=range]",self.change),Event.on(document,"click change input","[type=range]",self.focus)},change:function(e){self.refresh(e.currentTarget)},refresh:function(e){self.setLabels(e),self.setInput(e),self.setFill(e)},focus:function(e){e.currentTarget.focus()},setup:function(){var e=document.querySelectorAll("[type=range]:not(.slider-input)");Array.prototype.forEach.call(e,function(e){var l=self.data(e);sliders.push(l),e.dataset.id=l.id,e=self.template(e),self.refresh(e)})},data:function(e){var l={id:sliders.length,min:e.getAttribute("min")||0,max:e.getAttribute("max")||100,labels:{},externalLabels:{}};Object.assign(l,self.extractData(e)),l=self.extractValues(l),l=self.getLabels(l),l.values&&(l.max=l.min+l.values.length-1),l.segments=Number(l.max)-Number(l.min)+1;for(var t in l)t.match(/-/)&&(l[this.camelCase(t)]=l[t],delete l[t]);return!l.input&&e.getAttribute("name")&&(l.input=e.getAttribute("name"),e.removeAttribute("name")),l.input&&(l.inputClass=l.input.replace(/\W/g,"-"),l.inputExists=self.inputExists(e,l)),l=self.getLineLabels(l),l.mark&&(l.mark=l.mark.split(",").map(Number)),l},getData:function(e){return"string"!=typeof e&&e.dataset&&(e=e.dataset.id),sliders[e]},extractValues:function(e){if(e.values)e.values=e.values.split(",").map(self.trim);else{e.values=[];for(var l=e.min;l<=e.max;l++)e.values.push(l)}return e},getLabels:function(e){e.label&&e.label.match(/false|none/)&&(e.label=!1);for(var l in e)if(e.hasOwnProperty(l)&&e[l]!==!1){var t=l.match(/^(external-)?label-(.+)|^label$/);if(t){var a=e[l].match(/;/)?";":",",s=e[l].split(a).map(self.trim),n=t[1],r=t[2];n?e.externalLabels[r]=s:"label"==l?(e.labels.default=s,delete e.label):e.labels[r]=s,delete e[l]}var i=self.objectSize(e.labels);0==i&&(e.labels.default=e.values),i>1&&delete e.labels.default}return e},getLineLabels:function(e){var l={};if(e.lineLabels){var t=e.lineLabels.match(/;/)?";":",";e.lineLabels.split(t).map(function(e,t){var a=e.split(":");label=a[1]?a[1]:a[0],t=a[1]?a[0]:t+1,l[t]=label}),e.lineLabels=l}return e},template:function(e){var l=self.getData(e);e.setAttribute("min",l.min),e.setAttribute("max",l.max),e.classList.add("slider-input"),e.classList.contains("left-label")&&e.classList.remove("left-label");var t=self.templateHTML(l),a=["slider-container"];t.match("slider-line-label")&&a.push("line-labels"),t.match("slider-label")?a.push("with-label"):a.push("without-label"),t='<div class="'+a.join(" ")+'" id="slider'+l.id+'">'+t+"</div>",e.insertAdjacentHTML("beforebegin",t);var s=e.previousSibling;return s.querySelector(".slider-input-container").insertAdjacentHTML("afterbegin",e.outerHTML),e.parentNode.removeChild(e),e=s.querySelector(".slider-input"),e.getAttribute("value")||(e.value=l.value||l.min),e},templateHTML:function(e){var l="",t="";if(e.mark||e.lineLabels)for(var a=1;a<=e.segments;a++)l+="<div class='slider-segment'><span class='slider-segment-content'>",e.mark&&e.mark.indexOf(a)!=-1&&(l+="<span class='slider-segment-mark' data-index='"+a+"'></span>"),e.lineLabels&&e.lineLabels[a]&&(l+="<span class='slider-line-label'>"+e.lineLabels[a]+"</span>"),l+="</span></div>";for(var a=1;a<e.segments;a++)t+="<span class='slider-fill' data-index='"+a+"'></span>";return l="<div class='slider-input-container'><div class='slider-track'>"+l+"</div><div class='slider-fills'>"+t+"</div></div>"+self.labelTemplate(e),!e.inputExists&&e.inputClass&&(l+="<input class='"+e.inputClass+"' type='hidden' name='"+e.input+"' value=''>"),l},labelTemplate:function(e){var l="";if(0==e.label)return l;for(var t in e.labels)l+='<span class="slider-label-'+t+' internal-label" data-slider-label="'+t+'">',l+=self.labelHTML(e,t,""),l+="</span></span> ";return l.length>0&&(l="<div class='slider-label align-"+(e.positionLabel||"right")+"'>"+l+"</div>"),l},labelHTML:function(e,l,t){return self.labelMeta(e,l,"before")+"<span class='slider-label-content'>"+t+"</span>"+self.labelMeta(e,l,"after")},labelMeta:function(e,l,t){var a=self.camelCase("-label-"+l),s=e[t+a]||e[t+"Label"];return s?"<span class='"+t+"-label'>"+s+"</span>":""},inputExists:function(e,l){if(l.inputClass){var t=self.scope(e).querySelector('input[name="'+l.input+'"]');if(t)return t.classList.add(l.inputClass),!0}},extractData:function(e){for(var l="data-",t={},a=0;a<e.attributes.length;a++){var s=e.attributes[a].nodeName;new RegExp("^"+l).test(s)&&(s=s.replace(l,""),t[s]=e.attributes[a].nodeValue)}return t},labelElements:function(e,l,t){var a="[data-slider-label="+l+"]",s="#slider"+e+" "+a,n=a+=":not(.internal-label)";return a=t?n:s+", "+n,document.querySelectorAll(a)},setFill:function(e){var l=self.getData(e),t=document.querySelectorAll("#slider"+l.id+" .slider-segment"),a=document.querySelectorAll("#slider"+l.id+" .slider-fill"),s=self.sliderIndex(e);Array.prototype.forEach.call(a,function(e,l){e.dataset.index<=s?(e.classList.add("filled"),t[l]&&t[l].classList.add("filled")):(e.classList.remove("filled"),t[l]&&t[l].classList.remove("filled"))})},setInput:function(e){var l=self.getData(e);if(null!==e.offsetParent&&l.input&&l.values){var t=l.values[self.sliderIndex(e)],a="."+l.input.replace(/\W/g,"-"),s=self.scope(e).querySelectorAll(a);Array.prototype.forEach.call(s,function(e){e.value=t})}},setLabels:function(e){var l=self.getData(e),t=self.sliderIndex(e);Array.prototype.forEach.call(["labels","externalLabels"],function(e){var a="externalLabels"==e;for(var s in l[e]){var n=self.labelElements(l.id,s,a),r=self.labelAtIndex(l[e],t);Array.prototype.forEach.call(n,function(e){e.innerHTML=self.labelHTML(l,s,r[s])})}})},labelAtIndex:function(e,l){var t={};for(var a in e)t[a]=e[a][l];return t},sliderIndex:function(e){return Number(e.value)-Number(e.getAttribute("min"))},scope:function(e){for(var l=e;l&&"FORM"!=l.tagName;)l=l.parentNode;return l||document},trim:function(e){return e.trim()},objectSize:function(e){var l=0;for(var t in e)l++;return l},camelCase:function(e){return e.toLowerCase().replace(/-(.)/g,function(e,l){return l.toUpperCase()})}},self=Slider;Event.ready(Slider.listen),Event.change(Slider.setup),module.exports=Slider;
|
134
|
-
},{"./lib/object.assign":65,"compose-event":36}],65:[function(require,module,exports){
|
135
|
-
arguments[4][54][0].apply(exports,arguments)
|
136
|
-
},{"dup":54}],66:[function(require,module,exports){
|
137
|
-
var TimeToggle=require("./lib/toggle.js"),Event=require("compose-event");TimeToggle.timeago=require("./lib/timeago.js"),TimeToggle.dateToHTML=require("./lib/date-to-html.js"),Event.ready(TimeToggle.listen),Event.change(TimeToggle.setup),module.exports=TimeToggle;
|
138
|
-
},{"./lib/date-to-html.js":67,"./lib/timeago.js":68,"./lib/toggle.js":69,"compose-event":36}],67:[function(require,module,exports){
|
139
|
-
var DateToHTML={supported:function(){return!isNaN(new Date("2014-01-29T18:14:29+00:00").getDate())},local:function(e){return DateToHTML.parse(e,!1)},utc:function(e){return DateToHTML.parse(e,!0)},parse:function(e,t){if(!DateToHTML.supported())return!1;var a=new Date(e);if(isNaN(a.getDate()))return!1;if(t)var n=a.getUTCFullYear(),r=pad(a.getUTCMonth()+1),s=pad(a.getUTCDate()),o=pad(a.getUTCHours()),p=pad(a.getUTCMinutes()),u=pad(a.getUTCSeconds()),T="UTC";else var n=a.getFullYear(),r=pad(a.getMonth()+1),s=pad(a.getDate()),o=pad(a.getHours()),p=pad(a.getMinutes()),u=pad(a.getSeconds()),T=DateToHTML.timezone(a);var i='<span class="date">'+n+"-"+r+"-"+s+"</span>";return i+=' <span class="time">'+o+":"+p+":"+u+"</span>",i+=' <span class="timezone">'+T+"</span>"},timezone:function(e){var t=e.getTimezoneOffset()/-60,a=String(e).match(/\((.+)\)$/);if(a)var t=a[1];else{var t="GMT ";t+=t>0?"+":"",t+=" "+pad(100*t,4)}return t}},pad=function(e,t){for(t=t||2;String(e).length<t;)e="0"+e;return e};module.exports=DateToHTML;
|
140
|
-
},{}],68:[function(require,module,exports){
|
141
|
-
var Timeago={setup:function(){var e=document.querySelectorAll(".timeago[datetime]");Array.prototype.forEach.call(e,function(e){var a=e.attributes.datetime.value,o=e.dataset.timeagoStyle;e.innerHTML=Timeago.parse(a,o)})},browserSupport:function(){return!isNaN(new Date("2014-01-29T18:14:29+00:00").getDate())},parse:function(e,a){if("string"==typeof e&&(e=new Date(e)),"short"===a)var o={just_now:"now",minute_ago:"1m",minutes_ago:"m",hour_ago:"1h",hours_ago:"h",yesterday:"1d",days_ago:"d",last_week:"1w",weeks_ago:"w"};else if("long"===a)var o={just_now:"just now",minute_ago:"1 minute ago",minutes_ago:" minutes ago",hour_ago:"1 hour ago",hours_ago:" hours ago",yesterday:"1 day ago",days_ago:" days ago",last_week:"1 week ago",weeks_ago:" weeks ago"};else var o={just_now:"just now",minute_ago:"1 minute",minutes_ago:" minutes",hour_ago:"1 hour",hours_ago:" hours",yesterday:"1 day",days_ago:" days",last_week:"1 week",weeks_ago:" weeks"};var t=((new Date).getTime()-new Date(e).getTime())/1e3,s=Math.floor(t/60),r=Math.floor(t/3600),u=Math.floor(t/86400),g=Math.floor(u/7);Math.floor(u/30);return!(isNaN(t)||u<0)&&(0===u?t<60?o.just_now:t<120?o.minute_ago:t<3600?s+o.minutes_ago:t<7200?o.hour_ago:r+o.hours_ago:1===u?o.yesterday:u<7?u+o.days_ago:1===g?o.last_week:g+o.weeks_ago)}};module.exports=Timeago;
|
142
|
-
},{}],69:[function(require,module,exports){
|
143
|
-
var Timeago=require("./timeago"),DateToHTML=require("./date-to-html"),Event=require("compose-event"),Toggle={timeEls:function(){return document.querySelectorAll(".time-toggle[datetime]")},nextTime:{timeago:"local",local:"utc",utc:"timeago"},setup:function(){return!!Timeago.browserSupport()&&void Array.prototype.forEach.call(Toggle.timeEls(),Toggle.init)},listen:function(){return!!Timeago.browserSupport()&&void Event.on(document,"click",".time-toggle",Toggle.toggle)},toggle:function(){Array.prototype.forEach.call(Toggle.timeEls(),function(e){Toggle.toggleEl(e)})},toggleEl:function(e){var t=e.getAttribute("datetime"),o=e.querySelector(".time-toggle-date"),i=Toggle.nextTime[o.dataset.mode];return e.innerHTML=Toggle.dateHTML(t,i,e),e},init:function(e){var t=e.getAttribute("datetime"),o=e.dataset.mode||"timeago",i=Toggle.dateHTML(t,o,e);return i?(e.setAttribute("title","toggle time"),e.innerHTML=i):e.classList.remove("time-toggle"),e},dateHTML:function(e,t,o){if("timeago"==t)var i=Timeago.parse(e,o.dataset.timeago);else if(DateToHTML[t])var i=DateToHTML[t](e);if(i)return"<span class='time-toggle-date "+t+"' data-mode='"+t+"'>"+i+"</span>"}};module.exports=Toggle;
|
144
|
-
},{"./date-to-html":67,"./timeago":68,"compose-event":36}],70:[function(require,module,exports){
|
145
|
-
var Event=require("compose-event"),Toggler={checkboxSelector:"[type=checkbox][data-toggle], [type=checkbox][data-show], [type=checkbox][data-hide]",radioSelector:"input[type=radio][data-show], input[type=radio][data-add-class]",selectSelector:"option[data-show]",listen:function(){Event.on(document,"click change","[data-toggle], [data-show], [data-hide], [data-toggle-class], [data-add-class], [data-remove-class]",Toggler.trigger),Event.on(document,"change",".select-toggler",Toggler.trigger)},refresh:function(){Toggler.toggleCheckboxes(),Toggler.setupSelects(),Toggler.setupRadios()},trigger:function(e){"#"==e.currentTarget.getAttribute("href")&&(e.preventDefault(),e.stop()),Toggler.triggerToggling(e.currentTarget)},triggerToggling:function(e){var t,a=["hide","toggle","show","removeClass","toggleClass","addClass"];e.tagName.match(/select/i)&&(t=e,e=t.selectedOptions[0]),(t||"radio"==e.type)&&(a=a.filter(function(e){return!e.match(/toggle/)})),a.forEach(function(t){Toggler.dispatch(e,t)})},dispatch:function(e,t){var a=t,r=e.dataset[t];r&&"undefined"!=typeof r&&""!=r&&("checkbox"==e.type&&(a=t.match(/hide|remove/i)?!e.checked:e.checked),r&&(t.match(/class/i)?Toggler.setClass(r,a,e):Toggler.setState(r,a)))},setClass:function(e,t,a){if("undefined"!=typeof e&&""!=e){if("boolean"==typeof t&&(t=t?"add":"remove"),e.match(/&/))return void e.split("&").forEach(function(e){Toggler.setClass(e.trim(),t,a)});var r=e.split(";"),o=r[0].trim(),l=[];e=r[1],l=e?document.querySelectorAll(e):a.tagName.match(/option/i)?[Toggler.getSelectFromOption(a)]:[a],Array.prototype.forEach.call(l,function(e){Array.prototype.forEach.call(o.split(" "),function(a){var r=t.replace(/Class/,"");e.classList[r](a)}),Toggler.triggerTogglerEventsOnChildren(e,"class")})}},setState:function(e,t){var a=document.querySelectorAll(e);Array.prototype.forEach.call(a,function(e){var a=Toggler.toggleAction(e,t);Toggler[a](e),Toggler.triggerTogglerEventsOnChildren(e,a)})},toggleAction:function(e,t){return"boolean"==typeof t&&(t=t?"show":"hide"),"toggle"==t&&(t=null===e.offsetParent?"show":"hide"),t},show:function(e){e.classList.remove("hidden"),e.classList.add("visible");var t=e.querySelector("[data-focus]");t&&t.focus();e.querySelectorAll("[type=range]")},hide:function(e){e.classList.remove("visible"),e.classList.add("hidden")},getLeafNodes:function(e){if(!e.hasChildNodes())return[e];var t=Array.prototype.slice.call(e.getElementsByTagName("*"),0);return t.filter(function(e){return e.children&&0===e.children.length})},triggerTogglerEventsOnChildren:function(e,t){var a=Toggler.getLeafNodes(e);Array.prototype.forEach.call(a,function(e){Event.fire(e,"toggler:"+t)})},toggleCheckboxes:function(e){e=e||document.querySelectorAll(Toggler.checkboxSelector),Array.prototype.forEach.call(e,Toggler.triggerToggling)},setupRadios:function(){Array.prototype.forEach.call(document.querySelectorAll(Toggler.radioSelector),function(e){if(!e.dataset.togglerActive){var t=e.getAttribute("name"),a=Toggler.parentForm(e).querySelectorAll('[type=radio][name="'+t+'"]'),r=Toggler.dataAttributes(a,"show"),o=Toggler.dataAttributes(a,"addClass");Array.prototype.forEach.call(a,function(e){e.dataset.show=e.dataset.show||"",e.dataset.addClass=e.dataset.addClass||"",e.dataset.hide&&e.dataset.hide.length>0&&(r=r.concat(e.dataset.hide.split(","))),e.dataset.hide=r.filter(function(t){return e.dataset.show.indexOf(t)}).join(","),e.dataset.addClass=e.dataset.addClass||"",e.dataset.removeClass=o.filter(function(t){return e.dataset.addClass.indexOf(t)}).join("&"),e.dataset.togglerActive=!0})}e.checked&&Toggler.triggerToggling(e)})},setupSelects:function(){Array.prototype.forEach.call(document.querySelectorAll(Toggler.selectSelector),function(e){if(!e.dataset.togglerActive){e.dataset.show=e.dataset.show||"";var t=Toggler.getSelectFromOption(e);t.classList.add("select-toggler");var a=t.querySelectorAll("option"),r=Toggler.dataAttributes(a,"show"),o=Toggler.dataAttributes(a,"addClass");Array.prototype.forEach.call(a,function(e){e.dataset.show=e.dataset.show||"",e.dataset.addClass=e.dataset.addClass||"",e.dataset.hide&&e.dataset.hide.length>0&&(r=r.concat(e.dataset.hide.split(","))),e.dataset.hide=r.filter(function(t){return e.dataset.show.indexOf(t)}).join(","),e.dataset.removeClass=o.filter(function(t){return e.dataset.addClass.indexOf(t)}).join(" & "),e.dataset.togglerActive=!0}),Toggler.triggerToggling(t)}})},getSelectFromOption:function(e){var t=e.parentElement;return"SELECT"==t.tagName?t:Toggler.getSelectFromOption(t)},parentForm:function(e){for(var t=e;t&&"FORM"!=t.tagName;)t=t.parentNode;return t||document},dataAttributes:function(e,t){return Array.prototype.map.call(e,function(e){return e.dataset[t]}).filter(function(e,t,a){return""!=e&&"undefined"!=typeof e&&a.indexOf(e)===t})}};Event.ready(Toggler.listen),Event.change(Toggler.refresh),module.exports=Toggler;
|
146
|
-
},{"compose-event":36}],71:[function(require,module,exports){
|
147
|
-
!function(n,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():n.NProgress=e()}(this,function(){function n(n,e,t){return n<e?e:n>t?t:n}function e(n){return 100*(-1+n)}function t(n,t,r){var i;return i="translate3d"===c.positionUsing?{transform:"translate3d("+e(n)+"%,0,0)"}:"translate"===c.positionUsing?{transform:"translate("+e(n)+"%,0)"}:{"margin-left":e(n)+"%"},i.transition="all "+t+"ms "+r,i}function r(n,e){var t="string"==typeof n?n:s(n);return t.indexOf(" "+e+" ")>=0}function i(n,e){var t=s(n),i=t+e;r(t,e)||(n.className=i.substring(1))}function o(n,e){var t,i=s(n);r(n,e)&&(t=i.replace(" "+e+" "," "),n.className=t.substring(1,t.length-1))}function s(n){return(" "+(n.className||"")+" ").replace(/\s+/gi," ")}function a(n){n&&n.parentNode&&n.parentNode.removeChild(n)}var u={};u.version="0.2.0";var c=u.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};u.configure=function(n){var e,t;for(e in n)t=n[e],void 0!==t&&n.hasOwnProperty(e)&&(c[e]=t);return this},u.status=null,u.set=function(e){var r=u.isStarted();e=n(e,c.minimum,1),u.status=1===e?null:e;var i=u.render(!r),o=i.querySelector(c.barSelector),s=c.speed,a=c.easing;return i.offsetWidth,l(function(n){""===c.positionUsing&&(c.positionUsing=u.getPositioningCSS()),f(o,t(e,s,a)),1===e?(f(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout(function(){f(i,{transition:"all "+s+"ms linear",opacity:0}),setTimeout(function(){u.remove(),n()},s)},s)):setTimeout(n,s)}),this},u.isStarted=function(){return"number"==typeof u.status},u.start=function(){u.status||u.set(0);var n=function(){setTimeout(function(){u.status&&(u.trickle(),n())},c.trickleSpeed)};return c.trickle&&n(),this},u.done=function(n){return n||u.status?u.inc(.3+.5*Math.random()).set(1):this},u.inc=function(e){var t=u.status;return t?("number"!=typeof e&&(e=(1-t)*n(Math.random()*t,.1,.95)),t=n(t+e,0,.994),u.set(t)):u.start()},u.trickle=function(){return u.inc(Math.random()*c.trickleRate)},function(){var n=0,e=0;u.promise=function(t){return t&&"resolved"!==t.state()?(0===e&&u.start(),n++,e++,t.always(function(){e--,0===e?(n=0,u.done()):u.set((n-e)/n)}),this):this}}(),u.render=function(n){if(u.isRendered())return document.getElementById("nprogress");i(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=c.template;var r,o=t.querySelector(c.barSelector),s=n?"-100":e(u.status||0),l=document.querySelector(c.parent);return f(o,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),c.showSpinner||(r=t.querySelector(c.spinnerSelector),r&&a(r)),l!=document.body&&i(l,"nprogress-custom-parent"),l.appendChild(t),t},u.remove=function(){o(document.documentElement,"nprogress-busy"),o(document.querySelector(c.parent),"nprogress-custom-parent");var n=document.getElementById("nprogress");n&&a(n)},u.isRendered=function(){return!!document.getElementById("nprogress")},u.getPositioningCSS=function(){var n=document.body.style,e="WebkitTransform"in n?"Webkit":"MozTransform"in n?"Moz":"msTransform"in n?"ms":"OTransform"in n?"O":"";return e+"Perspective"in n?"translate3d":e+"Transform"in n?"translate":"margin"};var l=function(){function n(){var t=e.shift();t&&t(n)}var e=[];return function(t){e.push(t),1==e.length&&n()}}(),f=function(){function n(n){return n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(n,e){return e.toUpperCase()})}function e(n){var e=document.body.style;if(n in e)return n;for(var t,r=i.length,o=n.charAt(0).toUpperCase()+n.slice(1);r--;)if(t=i[r]+o,t in e)return t;return n}function t(t){return t=n(t),o[t]||(o[t]=e(t))}function r(n,e,r){e=t(e),n.style[e]=r}var i=["Webkit","O","Moz","ms"],o={};return function(n,e){var t,i,o=arguments;if(2==o.length)for(t in e)i=e[t],void 0!==i&&e.hasOwnProperty(t)&&r(n,t,i);else r(n,o[1],o[2])}}();return u});
|
148
|
-
},{}],72:[function(require,module,exports){
|
149
|
-
!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e(t,document):"function"==typeof define&&define.amd?define(null,function(){e(t,document)}):t.rangetouch=e(t,document)}("undefined"!=typeof window?window:this,function(t,e){"use strict";function n(t){return t instanceof HTMLElement&&t.classList.contains(l.selectors.disabled)}function o(t,e,n){t.addEventListener(e,n,!1)}function i(t){var e=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0}function u(t,e){if(e<1){var n=i(parseInt(e));return parseFloat(t.toFixed(n))}return Math.round(t/e)*e}function r(t){var e,n=t.target,o=t.changedTouches[0],i=parseFloat(n.getAttribute("min"))||0,r=parseFloat(n.getAttribute("max"))||100,a=parseFloat(n.getAttribute("step"))||1,c=r-i,s=n.getBoundingClientRect(),d=100/s.width*(l.thumbWidth/2)/100;return e=100/s.width*(o.clientX-s.left),e<0?e=0:e>100&&(e=100),e<50?e-=(100-2*e)*d:e>50&&(e+=2*(e-50)*d),i+u(c*(e/100),a)}function a(t){l.enabled&&"range"===t.target.type&&!n(t.target)&&(t.preventDefault(),t.target.value=r(t),s(t.target,t.type===l.events.end?"change":"input"))}function c(){o(e.body,l.events.start,a),o(e.body,l.events.move,a),o(e.body,l.events.end,a)}function s(t,e,n){t.dispatchEvent(new CustomEvent(e,n))}function d(){return[l.selectors.range,":not(.",l.selectors.disabled,")"].join("")}var l={enabled:!0,selectors:{range:'[type="range"]',disabled:"rangetouch--disabled"},thumbWidth:15,events:{start:"touchstart",move:"touchmove",end:"touchend"}};return function(){if("ontouchstart"in e.documentElement){for(var t=e.querySelectorAll(d()),n=t.length-1;n>=0;n--)t[n].style.touchAction="manipulation",t[n].style.webkitUserSelect="none";c()}}(),{set:function(t,e){l[t]=e}}}),function(){"use strict";function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}return"function"!=typeof window.CustomEvent&&(t.prototype=window.Event.prototype,void(window.CustomEvent=t))}();
|
150
|
-
},{}],73:[function(require,module,exports){
|
151
|
-
function noop(){}function isHost(t){var e={}.toString.call(t);switch(e){case"[object File]":case"[object Blob]":case"[object FormData]":return!0;default:return!1}}function serialize(t){if(!isObject(t))return t;var e=[];for(var r in t)null!=t[r]&&pushEncodedKeyValuePair(e,r,t[r]);return e.join("&")}function pushEncodedKeyValuePair(t,e,r){return Array.isArray(r)?r.forEach(function(r){pushEncodedKeyValuePair(t,e,r)}):void t.push(encodeURIComponent(e)+"="+encodeURIComponent(r))}function parseString(t){for(var e,r,s={},i=t.split("&"),o=0,n=i.length;o<n;++o)r=i[o],e=r.split("="),s[decodeURIComponent(e[0])]=decodeURIComponent(e[1]);return s}function parseHeader(t){var e,r,s,i,o=t.split(/\r?\n/),n={};o.pop();for(var a=0,u=o.length;a<u;++a)r=o[a],e=r.indexOf(":"),s=r.slice(0,e).toLowerCase(),i=trim(r.slice(e+1)),n[s]=i;return n}function isJSON(t){return/[\/+]json\b/.test(t)}function type(t){return t.split(/ *; */).shift()}function params(t){return reduce(t.split(/ *; */),function(t,e){var r=e.split(/ *= */),s=r.shift(),i=r.shift();return s&&i&&(t[s]=i),t},{})}function Response(t,e){e=e||{},this.req=t,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||"undefined"==typeof this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText,this.setStatusProperties(this.xhr.status),this.header=this.headers=parseHeader(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this.setHeaderProperties(this.header),this.body="HEAD"!=this.req.method?this.parseBody(this.text?this.text:this.xhr.response):null}function Request(t,e){var r=this;this._query=this._query||[],this.method=t,this.url=e,this.header={},this._header={},this.on("end",function(){var t=null,e=null;try{e=new Response(r)}catch(e){return t=new Error("Parser is unable to parse the response"),t.parse=!0,t.original=e,t.rawResponse=r.xhr&&r.xhr.responseText?r.xhr.responseText:null,t.statusCode=r.xhr&&r.xhr.status?r.xhr.status:null,r.callback(t)}if(r.emit("response",e),t)return r.callback(t,e);if(e.status>=200&&e.status<300)return r.callback(t,e);var s=new Error(e.statusText||"Unsuccessful HTTP response");s.original=t,s.response=e,s.status=e.status,r.callback(s,e)})}function del(t,e){var r=request("DELETE",t);return e&&r.end(e),r}var Emitter=require("emitter"),reduce=require("reduce"),requestBase=require("./request-base"),isObject=require("./is-object"),root;root="undefined"!=typeof window?window:"undefined"!=typeof self?self:this;var request=module.exports=require("./request").bind(null,Request);request.getXHR=function(){if(!(!root.XMLHttpRequest||root.location&&"file:"==root.location.protocol&&root.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(t){}return!1};var trim="".trim?function(t){return t.trim()}:function(t){return t.replace(/(^\s*|\s*$)/g,"")};request.serializeObject=serialize,request.parseString=parseString,request.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},request.serialize={"application/x-www-form-urlencoded":serialize,"application/json":JSON.stringify},request.parse={"application/x-www-form-urlencoded":parseString,"application/json":JSON.parse},Response.prototype.get=function(t){return this.header[t.toLowerCase()]},Response.prototype.setHeaderProperties=function(t){var e=this.header["content-type"]||"";this.type=type(e);var r=params(e);for(var s in r)this[s]=r[s]},Response.prototype.parseBody=function(t){var e=request.parse[this.type];return!e&&isJSON(this.type)&&(e=request.parse["application/json"]),e&&t&&(t.length||t instanceof Object)?e(t):null},Response.prototype.setStatusProperties=function(t){1223===t&&(t=204);var e=t/100|0;this.status=this.statusCode=t,this.statusType=e,this.info=1==e,this.ok=2==e,this.clientError=4==e,this.serverError=5==e,this.error=(4==e||5==e)&&this.toError(),this.accepted=202==t,this.noContent=204==t,this.badRequest=400==t,this.unauthorized=401==t,this.notAcceptable=406==t,this.notFound=404==t,this.forbidden=403==t},Response.prototype.toError=function(){var t=this.req,e=t.method,r=t.url,s="cannot "+e+" "+r+" ("+this.status+")",i=new Error(s);return i.status=this.status,i.method=e,i.url=r,i},request.Response=Response,Emitter(Request.prototype);for(var key in requestBase)Request.prototype[key]=requestBase[key];Request.prototype.abort=function(){if(!this.aborted)return this.aborted=!0,this.xhr&&this.xhr.abort(),this.clearTimeout(),this.emit("abort"),this},Request.prototype.type=function(t){return this.set("Content-Type",request.types[t]||t),this},Request.prototype.responseType=function(t){return this._responseType=t,this},Request.prototype.accept=function(t){return this.set("Accept",request.types[t]||t),this},Request.prototype.auth=function(t,e,r){switch(r||(r={type:"basic"}),r.type){case"basic":var s=btoa(t+":"+e);this.set("Authorization","Basic "+s);break;case"auto":this.username=t,this.password=e}return this},Request.prototype.query=function(t){return"string"!=typeof t&&(t=serialize(t)),t&&this._query.push(t),this},Request.prototype.attach=function(t,e,r){return this._getFormData().append(t,e,r||e.name),this},Request.prototype._getFormData=function(){return this._formData||(this._formData=new root.FormData),this._formData},Request.prototype.send=function(t){var e=isObject(t),r=this._header["content-type"];if(e&&isObject(this._data))for(var s in t)this._data[s]=t[s];else"string"==typeof t?(r||this.type("form"),r=this._header["content-type"],"application/x-www-form-urlencoded"==r?this._data=this._data?this._data+"&"+t:t:this._data=(this._data||"")+t):this._data=t;return!e||isHost(t)?this:(r||this.type("json"),this)},Response.prototype.parse=function(t){return root.console&&console.warn("Client-side parse() method has been renamed to serialize(). This method is not compatible with superagent v2.0"),this.serialize(t),this},Response.prototype.serialize=function(t){return this._parser=t,this},Request.prototype.callback=function(t,e){var r=this._callback;this.clearTimeout(),r(t,e)},Request.prototype.crossDomainError=function(){var t=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");t.crossDomain=!0,t.status=this.status,t.method=this.method,t.url=this.url,this.callback(t)},Request.prototype.timeoutError=function(){var t=this._timeout,e=new Error("timeout of "+t+"ms exceeded");e.timeout=t,this.callback(e)},Request.prototype.withCredentials=function(){return this._withCredentials=!0,this},Request.prototype.end=function(t){var e=this,r=this.xhr=request.getXHR(),s=this._query.join("&"),i=this._timeout,o=this._formData||this._data;this._callback=t||noop,r.onreadystatechange=function(){if(4==r.readyState){var t;try{t=r.status}catch(e){t=0}if(0==t){if(e.timedout)return e.timeoutError();if(e.aborted)return;return e.crossDomainError()}e.emit("end")}};var n=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),t.direction="download",e.emit("progress",t)};this.hasListeners("progress")&&(r.onprogress=n);try{r.upload&&this.hasListeners("progress")&&(r.upload.onprogress=n)}catch(t){}if(i&&!this._timer&&(this._timer=setTimeout(function(){e.timedout=!0,e.abort()},i)),s&&(s=request.serializeObject(s),this.url+=~this.url.indexOf("?")?"&"+s:"?"+s),this.username&&this.password?r.open(this.method,this.url,!0,this.username,this.password):r.open(this.method,this.url,!0),this._withCredentials&&(r.withCredentials=!0),"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof o&&!isHost(o)){var a=this._header["content-type"],u=this._parser||request.serialize[a?a.split(";")[0]:""];!u&&isJSON(a)&&(u=request.serialize["application/json"]),u&&(o=u(o))}for(var h in this.header)null!=this.header[h]&&r.setRequestHeader(h,this.header[h]);return this._responseType&&(r.responseType=this._responseType),this.emit("request",this),r.send("undefined"!=typeof o?o:null),this},request.Request=Request,request.get=function(t,e,r){var s=request("GET",t);return"function"==typeof e&&(r=e,e=null),e&&s.query(e),r&&s.end(r),s},request.head=function(t,e,r){var s=request("HEAD",t);return"function"==typeof e&&(r=e,e=null),e&&s.send(e),r&&s.end(r),s},request.del=del,request.delete=del,request.patch=function(t,e,r){var s=request("PATCH",t);return"function"==typeof e&&(r=e,e=null),e&&s.send(e),r&&s.end(r),s},request.post=function(t,e,r){var s=request("POST",t);return"function"==typeof e&&(r=e,e=null),e&&s.send(e),r&&s.end(r),s},request.put=function(t,e,r){var s=request("PUT",t);return"function"==typeof e&&(r=e,e=null),e&&s.send(e),r&&s.end(r),s};
|
152
|
-
},{"./is-object":74,"./request":76,"./request-base":75,"emitter":77,"reduce":78}],74:[function(require,module,exports){
|
153
|
-
function isObject(e){return null!=e&&"object"==typeof e}module.exports=isObject;
|
154
|
-
},{}],75:[function(require,module,exports){
|
155
|
-
var isObject=require("./is-object");exports.clearTimeout=function(){return this._timeout=0,clearTimeout(this._timer),this},exports.parse=function(t){return this._parser=t,this},exports.timeout=function(t){return this._timeout=t,this},exports.then=function(t,e){return this.end(function(r,i){r?e(r):t(i)})},exports.use=function(t){return t(this),this},exports.get=function(t){return this._header[t.toLowerCase()]},exports.getHeader=exports.get,exports.set=function(t,e){if(isObject(t)){for(var r in t)this.set(r,t[r]);return this}return this._header[t.toLowerCase()]=e,this.header[t]=e,this},exports.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this},exports.field=function(t,e){return this._getFormData().append(t,e),this};
|
156
|
-
},{"./is-object":74}],76:[function(require,module,exports){
|
157
|
-
arguments[4][62][0].apply(exports,arguments)
|
158
|
-
},{"dup":62}],77:[function(require,module,exports){
|
159
|
-
arguments[4][63][0].apply(exports,arguments)
|
160
|
-
},{"dup":63}],78:[function(require,module,exports){
|
161
|
-
module.exports=function(l,n,e){for(var r=0,t=l.length,o=3==arguments.length?e:l[r++];r<t;)o=n.call(null,o,l[r],++r,l);return o};
|
162
|
-
},{}]},{},[2])(2)
|
163
|
-
});
|
164
|
-
|
165
|
-
|
166
|
-
//# sourceMappingURL=megatron-0.2.34.map.json
|