From 1d48d494536968be655ad7144333b79f406a5602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 12 Jun 2020 11:52:20 +0200 Subject: [PATCH 01/85] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=E2=99=82=EF=B8=8F?= =?UTF-8?q?=20Use=20build=20matrix=20for=20test=20installs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test_install.yml | 79 ++++++++++++++++++++++++++ .github/workflows/test_install_py2.yml | 61 -------------------- 2 files changed, 79 insertions(+), 61 deletions(-) create mode 100644 .github/workflows/test_install.yml delete mode 100644 .github/workflows/test_install_py2.yml diff --git a/.github/workflows/test_install.yml b/.github/workflows/test_install.yml new file mode 100644 index 000000000..16a23037c --- /dev/null +++ b/.github/workflows/test_install.yml @@ -0,0 +1,79 @@ +name: Test install of branches and latest release + +on: + push: + branches: + - master + repository_dispatch: + types: [test_install] + schedule: + - cron: '0 */12 * * *' + +jobs: + install-branch: + name: Install branch + strategy: + matrix: + os: ["ubuntu-latest"] + python: ["2.7", "3.7", "3.8"] + branch: ["master"] + runs-on: ${{ matrix.os }} + steps: + - name: 🐍 Set up Python ${{ matrix.python }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + - name: ⬇ Checkout code + uses: actions/checkout@v2 + with: + ref: ${{ matrix.branch }} + - name: 👷 Build and install checkout + run: | + pip install . + - name: 📧 Discord success notification + env: + DISCORD_WEBHOOK: ${{ secrets.discord_webhook }} + uses: Ilshidur/action-discord@master + with: + args: '☑️ Test install on Python {{ matrix.python }} under `${{ matrix.os }}` for `OctoPrint/OctoPrint:${{ matrix.branch }}` was successful' + - name: 📧 Discord failure notification + if: failure() + env: + DISCORD_WEBHOOK: ${{ secrets.discord_webhook }} + uses: Ilshidur/action-discord@master + with: + args: '🚫 Test install on Python {{ matrix.python }} under `${{ matrix.os }}` for `OctoPrint/OctoPrint:${{ matrix.branch }}` failed' + + install-latest: + name: Install latest release + strategy: + matrix: + os: ["ubuntu-latest"] + python: ["2.7", "3.7", "3.8"] + runs-on: ${{ matrix.os }} + steps: + - name: 👀 Determine latest release + id: latest + uses: foosel/github-action-get-latest-release@master + with: + repository: "OctoPrint/OctoPrint" + - name: 🐍 Set up Python ${{ matrix.python }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + - name: 👷 Build and install latest release + run: | + pip install https://github.com/OctoPrint/OctoPrint/archive/${{ steps.latest.outputs.release }}.zip + - name: 📧 Discord success notification + env: + DISCORD_WEBHOOK: ${{ secrets.discord_webhook }} + uses: Ilshidur/action-discord@master + with: + args: '☑️ Test install on Python ${{ matrix.python }} under `${{ matrix.os }}` for `OctoPrint/OctoPrint:${{ steps.latest.outputs.release }}` was successful' + - name: 📧 Discord failure notification + if: failure() + env: + DISCORD_WEBHOOK: ${{ secrets.discord_webhook }} + uses: Ilshidur/action-discord@master + with: + args: '🚫 Test install on Python ${{ matrix.python }} under `${{ matrix.os }}` for `OctoPrint/OctoPrint:${{ steps.latest.outputs.release }}` failed' diff --git a/.github/workflows/test_install_py2.yml b/.github/workflows/test_install_py2.yml deleted file mode 100644 index d6b2290db..000000000 --- a/.github/workflows/test_install_py2.yml +++ /dev/null @@ -1,61 +0,0 @@ -name: Test install on Python 2 - -on: - push: - branches: - - master - repository_dispatch: - types: [test_install_py2] - schedule: - - cron: '0 */12 * * *' - -jobs: - install-master: - runs-on: ubuntu-latest - steps: - - name: 🐍 Set up Python 2.7 - uses: actions/setup-python@v2 - with: - python-version: 2.7 - - name: ⬇ Checkout code - uses: actions/checkout@v2 - - name: 👷 Build and install checkout - run: | - pip install . - - name: 📧 Discord success notification - env: - DISCORD_WEBHOOK: ${{ secrets.discord_webhook }} - uses: Ilshidur/action-discord@master - with: - args: '☑️ Test install on Python 2 for `OctoPrint/OctoPrint:master` was successful' - - name: 📧 Discord failure notification - if: failure() - env: - DISCORD_WEBHOOK: ${{ secrets.discord_webhook_foosel }} - uses: Ilshidur/action-discord@master - with: - args: '🚫 Test install on Python 2 for `OctoPrint/OctoPrint:master` failed' - - install-latest: - runs-on: ubuntu-latest - steps: - - name: 🐍 Set up Python 2.7 - uses: actions/setup-python@v2 - with: - python-version: 2.7 - - name: 👷 Build and install latest from PyPI - run: | - pip install OctoPrint - - name: 📧 Discord success notification - env: - DISCORD_WEBHOOK: ${{ secrets.discord_webhook }} - uses: Ilshidur/action-discord@master - with: - args: '☑️ Test install on Python 2 for latest OctoPrint release was successful' - - name: 📧 Discord failure notification - if: failure() - env: - DISCORD_WEBHOOK: ${{ secrets.discord_webhook_foosel }} - uses: Ilshidur/action-discord@master - with: - args: '🚫 Test install on Python 2 for latest OctoPrint release failed' From 143cffd0603c5c01644e800d09d5c867da31d108 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 12 Jun 2020 12:10:35 +0200 Subject: [PATCH 02/85] =?UTF-8?q?=F0=9F=92=9A=20Fix=20discord=20CI=20messa?= =?UTF-8?q?ge=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test_install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_install.yml b/.github/workflows/test_install.yml index 16a23037c..68cf094b3 100644 --- a/.github/workflows/test_install.yml +++ b/.github/workflows/test_install.yml @@ -35,14 +35,14 @@ jobs: DISCORD_WEBHOOK: ${{ secrets.discord_webhook }} uses: Ilshidur/action-discord@master with: - args: '☑️ Test install on Python {{ matrix.python }} under `${{ matrix.os }}` for `OctoPrint/OctoPrint:${{ matrix.branch }}` was successful' + args: '☑️ Test install on Python ${{ matrix.python }} under `${{ matrix.os }}` for `OctoPrint/OctoPrint:${{ matrix.branch }}` was successful' - name: 📧 Discord failure notification if: failure() env: DISCORD_WEBHOOK: ${{ secrets.discord_webhook }} uses: Ilshidur/action-discord@master with: - args: '🚫 Test install on Python {{ matrix.python }} under `${{ matrix.os }}` for `OctoPrint/OctoPrint:${{ matrix.branch }}` failed' + args: '🚫 Test install on Python ${{ matrix.python }} under `${{ matrix.os }}` for `OctoPrint/OctoPrint:${{ matrix.branch }}` failed' install-latest: name: Install latest release From 44154816045525417546f84b2a60763c4425a671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 17 Jun 2020 13:44:20 +0200 Subject: [PATCH 03/85] Add notice about where to find old wiki content --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b040e5cbb..018efe60f 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ and released under the [GNU Affero General Public License V3](http://www.gnu.org Its website can be found at [octoprint.org](https://octoprint.org/?utm_source=github&utm_medium=readme). -The community forum is available at [community.octoprint.org](https://community.octoprint.org/?utm_source=github&utm_medium=readme). +The community forum is available at [community.octoprint.org](https://community.octoprint.org/?utm_source=github&utm_medium=readme) (also contains the old wiki content). An invite to the Discord server can be found at [discord.octoprint.org](https://discord.octoprint.org). From 45552000277661282fdd81497262fa2b269319b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 17 Jun 2020 13:59:43 +0200 Subject: [PATCH 04/85] =?UTF-8?q?=E2=9C=8F=20Change=20wording?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 018efe60f..7404a5779 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ and released under the [GNU Affero General Public License V3](http://www.gnu.org Its website can be found at [octoprint.org](https://octoprint.org/?utm_source=github&utm_medium=readme). -The community forum is available at [community.octoprint.org](https://community.octoprint.org/?utm_source=github&utm_medium=readme) (also contains the old wiki content). +The community forum is available at [community.octoprint.org](https://community.octoprint.org/?utm_source=github&utm_medium=readme). It also serves as central knowledge base. An invite to the Discord server can be found at [discord.octoprint.org](https://discord.octoprint.org). From 7290a6d35063ff9bbc08e6427be087e2bdae6c87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 17 Jun 2020 16:47:25 +0200 Subject: [PATCH 05/85] =?UTF-8?q?=E2=99=BB=20Refactor=20buffered=20readlin?= =?UTF-8?q?e=20&=20add=20null=20byte=20logging?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As suggested in #2454 --- src/octoprint/util/comm.py | 43 ++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index f3c3aab95..673affa72 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -691,9 +691,9 @@ class MachineCom(object): self._logger.info(text) self._callback.on_comm_state_change(newState) - def _dual_log(self, message, level=logging.ERROR): + def _dual_log(self, message, level=logging.ERROR, prefix=""): self._logger.log(level, message) - self._log(message) + self._log(prefix + message) def _log(self, message): message = to_unicode(message) @@ -2895,6 +2895,8 @@ class MachineCom(object): self.close(is_error=True) return None + null_pos = ret.find(b'\x00') + try: ret = ret.decode('utf-8') except UnicodeDecodeError: @@ -2907,6 +2909,14 @@ class MachineCom(object): self._log("WARN: While reading last line: {}".format(e)) self._log("Recv: {!r}".format(ret)) + if null_pos >= 0: + self._logger.warning("Received line:") + self._logger.warning("| {}".format(ret.replace('\0', '\\x00').rstrip())) + self._dual_log("The received line contains at least one null byte character at position {}, " + "this hints at some data corruption going on".format(null_pos), + level=logging.WARNING, + prefix="WARN") + for name, hook in self._received_message_hooks.items(): try: ret = hook(self, ret) @@ -5009,36 +5019,19 @@ class BufferedReadlineWrapper(wrapt.ObjectProxy): def readline(self, terminator=serial.LF): termlen = len(terminator) - data = self._buffered timeout = serial.Timeout(self._timeout) - while True: - # make sure we always read everything that is waiting - data += bytearray(self.read(self.in_waiting)) + while not timeout.expired(): + self._buffered += self.read(self.in_waiting) # check for terminator, if it's there we have found our line - termpos = data.find(terminator) + termpos = self._buffered.find(terminator) if termpos >= 0: - # line: everything up to and incl. the terminator - line = data[:termpos + termlen] - # buffered: everything after the terminator - self._buffered = data[termpos + termlen:] + # line: everything up to and incl. the terminator, buffered: rest + line = self._buffered[:termpos + termlen] + del self._buffered[:termpos + termlen] return bytes(line) - # check if timeout expired - if timeout.expired(): - break - - # if we arrive here we so far couldn't read a full line, wait for more data - c = self.read(1) - if not c: - # EOF - break - - # add to data and loop - data += bytearray(c) - - self._buffered = data return b"" From 6625f81b6e6e0fcbd7bd7571898856e5f94d97b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 18 Jun 2020 10:50:20 +0200 Subject: [PATCH 06/85] =?UTF-8?q?=E2=9C=8F=20Remove=20references=20to=20wi?= =?UTF-8?q?ki=20&=20update=20generic=20setup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 7404a5779..f82bd38fb 100644 --- a/README.md +++ b/README.md @@ -30,17 +30,17 @@ If you enjoy OctoPrint, please consider becoming a regular supporter!** You are currently looking at the source code repository of OctoPrint. If you already installed it (e.g. by using the Raspberry Pi targeted distribution [OctoPi](https://github.com/guysoft/OctoPi)) and only -want to find out how to use it, [the documentation](http://docs.octoprint.org/) and [the public wiki](https://github.com/OctoPrint/OctoPrint/wiki) -might be of more interest for you. You might also want to subscribe to join +want to find out how to use it, [the documentation](http://docs.octoprint.org/) might be of more interest for you. You might also want to subscribe to join [the community forum at community.octoprint.org](https://community.octoprint.org) where there are other active users who might be able to help you with any questions you might have. ## Contributing Contributions of all kinds are welcome, not only in the form of code but also with regards to the -[official documentation](http://docs.octoprint.org/) or [the public wiki](https://github.com/OctoPrint/OctoPrint/wiki), debugging help +[official documentation](http://docs.octoprint.org/), debugging help in the [bug tracker](https://github.com/OctoPrint/OctoPrint/issues), support of other users on -[the community forum at community.octoprint.org](https://community.octoprint.org) +[the community forum at community.octoprint.org](https://community.octoprint.org) or +[the official discord at discord.octoprint.org](https://discord.octoprint.org) and also [financially](https://octoprint.org/support-octoprint/?utm_source=github&utm_medium=readme). If you think something is bad about OctoPrint or its documentation the way it is, please help @@ -53,7 +53,7 @@ For information about how to go about submitting bug reports or pull requests, p ## Installation Installation instructions for installing from source for different operating -systems can be found [on the wiki](https://github.com/OctoPrint/OctoPrint/wiki#assorted-guides). +systems can be found [on the forum](https://community.octoprint.org/tags/c/support/guides/15/setup). If you want to run OctoPrint on a Raspberry Pi, you might want to take a look at [OctoPi](https://github.com/guysoft/OctoPi) which is a custom SD card image that includes OctoPrint plus dependencies. @@ -61,9 +61,11 @@ which is a custom SD card image that includes OctoPrint plus dependencies. The generic steps that should basically be done regardless of operating system and runtime environment are the following (as *regular user*, please keep your hands *off* of the `sudo` command here!) - this assumes -you already have Python 2.7, 3.6 or 3.7, pip and virtualenv set up on your system: +you already have Python 2.7, 3.6 or 3.7, pip and virtualenv and their dependencies set up on your system: -1. Create a user-owned virtual environment therein: `virtualenv venv`. +1. Create a user-owned virtual environment therein: `virtualenv venv`. If you want to specify a specific python + to use instead of whatever version your system defaults to, you can also explicitly require that via the `--python` + parameter, e.g. `virtualenv --python=python3 venv`. 2. Install OctoPrint *into that virtual environment*: `./venv/bin/pip install OctoPrint` Or alternatively, for an install from source: From a6fc4b6c7f10b13eb78ab3715182f1b13729aff7 Mon Sep 17 00:00:00 2001 From: cp2004 <31997505+cp2004@users.noreply.github.com> Date: Thu, 18 Jun 2020 10:16:22 +0100 Subject: [PATCH 07/85] Display entire path to backup on CLI command --- src/octoprint/plugins/backup/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/plugins/backup/__init__.py b/src/octoprint/plugins/backup/__init__.py index cb30f048c..fdd4bce30 100644 --- a/src/octoprint/plugins/backup/__init__.py +++ b/src/octoprint/plugins/backup/__init__.py @@ -378,7 +378,7 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin, if not os.path.isdir(datafolder): os.makedirs(datafolder) - click.echo("Creating backup at {}, please wait...".format(backup_file)) + click.echo("Creating backup at {}{}, please wait...".format(datafolder, backup_file)) self._create_backup(backup_file, exclude=exclude, settings=settings, From 462f2e602b641f29349172f7f5c0ddc28cba3c9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 18 Jun 2020 13:50:32 +0200 Subject: [PATCH 08/85] =?UTF-8?q?=E2=98=82=20SWU:=20Minimum=20free=20stora?= =?UTF-8?q?ge=20requirement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We now need to have at least 150MB (configurable) of free disk space on all of site-packages, plugins and temp folder locations available in order to enable updates. Closes #2312 --- .../plugins/softwareupdate/__init__.py | 100 ++++++++++++++++-- .../static/js/softwareupdate.js | 18 +++- .../templates/softwareupdate_settings.jinja2 | 29 ++++- 3 files changed, 136 insertions(+), 11 deletions(-) diff --git a/src/octoprint/plugins/softwareupdate/__init__.py b/src/octoprint/plugins/softwareupdate/__init__.py index eab67039c..debb9bd0d 100644 --- a/src/octoprint/plugins/softwareupdate/__init__.py +++ b/src/octoprint/plugins/softwareupdate/__init__.py @@ -29,7 +29,7 @@ from octoprint.server.util.flask import no_firstrun_access, with_revalidation_ch from octoprint.server import VERSION, REVISION, BRANCH from octoprint.access import USER_GROUP, ADMIN_GROUP from octoprint.access.permissions import Permissions -from octoprint.util import dict_merge, to_unicode +from octoprint.util import dict_merge, to_unicode, get_formatted_size from octoprint.util.version import get_comparable_version, get_python_version_string from octoprint.util.pip import LocalPipCaller import octoprint.settings @@ -79,6 +79,9 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, self._environment_versions = dict() self._environment_ready = threading.Event() + self._storage_sufficient = True + self.storage_info = dict() + self._console_logger = None self._get_throttled = lambda: False @@ -133,6 +136,7 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, def on_after_startup(self): self._check_environment() + self._check_storage() self.get_current_versions() def _get_configured_checks(self): @@ -220,6 +224,45 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, self._environment_versions = versions self._environment_ready.set() + def _check_storage(self): + import distutils.sysconfig + import tempfile + import psutil + + storage_info = dict() + paths = dict(python=distutils.sysconfig.get_python_lib(), + plugins=self._settings.global_get_basefolder("plugins"), + temp=tempfile.gettempdir()) + + for key, path in paths.items(): + info = dict(path=path, + free=None) + + try: + data = psutil.disk_usage(path) + info["free"] = data.free + except: + self._logger.exception("Error while determining disk usage of {}".format(path)) + continue + + storage_info[key] = info + + if len(storage_info): + free_storage = min(*list(map(lambda x: x["free"], storage_info.values()))) + else: + free_storage = None + + self._storage_sufficient = free_storage is None or free_storage >= self._settings.get_int(["minimum_free_storage"]) * 1024 * 1024 + self._storage_info = storage_info + + self._logger.info("Minimum free storage across all update relevant locations is {}. " + "That is considered {} for updating.".format(get_formatted_size(free_storage) + if free_storage is not None + else "unknown", + "sufficient" + if self._storage_sufficient + else "insufficient")) + def _load_version_cache(self): if not os.path.isfile(self._version_cache_path): return @@ -303,7 +346,9 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, "notify_users": True, - "ignore_throttled": False + "ignore_throttled": False, + + "minimum_free_storage": 150 } def on_settings_load(self): @@ -352,7 +397,8 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, def on_settings_save(self, data): for key in self.get_settings_defaults(): - if key in ("checks", "cache_ttl", "notify_user", "octoprint_checkout_folder", "octoprint_type", "octoprint_release_channel"): + if key in ("checks", "cache_ttl", "notify_user", "minimum_free_storage", + "octoprint_checkout_folder", "octoprint_type", "octoprint_release_channel"): continue if key in data: self._settings.set([key], data[key]) @@ -364,6 +410,10 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, if "notify_users" in data: self._settings.set_boolean(["notify_users"], data["notify_users"]) + if "minimum_free_storage" in data: + self._settings.set_int(["minimum_free_storage"], data["minimum_free_storage"]) + self._check_storage() + defaults = dict( plugins=dict(softwareupdate=dict( checks=dict( @@ -583,13 +633,42 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, try: information, update_available, update_possible = self.get_current_versions(check_targets=check_targets, force=force) - return flask.jsonify(dict(status="inProgress" if self._update_in_progress else "updatePossible" if update_available and update_possible and self._environment_supported else "updateAvailable" if update_available else "current", + + storage = list() + for key, name in (("python", gettext("Python package installation folder")), + ("plugins", gettext("Plugin folder")), + ("temp", gettext("System temporary files"))): + data = self._storage_info.get(key) + if not data: + continue + + s = dict(name=name) + s.update(**data) + storage.append(s) + + status = "current" + if self._update_in_progress: + status = "inProgress" + elif update_available and update_possible and self._environment_supported and self._storage_sufficient: + status = "updatePossible" + elif update_available: + status = "updateAvailable" + + return flask.jsonify(dict(status=status, information=information, timestamp=self._version_cache_timestamp, environment=dict(supported=self._environment_supported, - versions=[dict(name=gettext("Python"), current=self._environment_versions.get("python", "unknown"), minimum=MINIMUM_PYTHON), - dict(name=gettext("pip"), current=self._environment_versions.get("pip", "unknown"), minimum=MINIMUM_PIP), - dict(name=gettext("setuptools"), current=self._environment_versions.get("setuptools", "unknown"), minimum=MINIMUM_SETUPTOOLS)]))) + versions=[dict(name=gettext("Python"), + current=self._environment_versions.get("python", "unknown"), + minimum=MINIMUM_PYTHON), + dict(name=gettext("pip"), + current=self._environment_versions.get("pip", "unknown"), + minimum=MINIMUM_PIP), + dict(name=gettext("setuptools"), + current=self._environment_versions.get("setuptools", "unknown"), + minimum=MINIMUM_SETUPTOOLS)]), + storage=dict(sufficient=self._storage_sufficient, + free=storage))) except exceptions.ConfigurationInvalid as e: return flask.make_response("Update not properly configured, can't proceed: %s" % e.message, 500) @@ -651,6 +730,9 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, if not self._environment_supported: return flask.make_response("Direct updates are not supported in this Python environment", 409) + if not self._storage_sufficient: + return flask.make_response("Not enough free disk space for updating", 409) + if not "application/json" in flask.request.headers["Content-Type"]: return flask.make_response("Expected content-type JSON", 400) @@ -914,6 +996,10 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, self._logger.error("Direct updates are unsupported in this environment") return [], dict() + if not self._storage_sufficient: + self._logger.error("Not enough free disk space for updating") + return [], dict() + targets = kwargs.get("targets", kwargs.get("check_targets", None)) checks = self._get_configured_checks() diff --git a/src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js b/src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js index d9057556d..da81c859f 100644 --- a/src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js +++ b/src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js @@ -41,6 +41,9 @@ $(function() { self.environmentSupported = ko.observable(true); self.environmentVersions = ko.observableArray([]); + self.storageSufficient = ko.observable(true); + self.storageFree = ko.observableArray([]); + self.cacheTimestamp = ko.observable(); self.cacheTimestampText = ko.pureComputed(function() { return formatDate(self.cacheTimestamp()); @@ -54,6 +57,7 @@ $(function() { self.config_checkType = ko.observable(); self.config_releaseChannel = ko.observable(); self.config_pipEnableCheck = ko.observable(); + self.config_minimumFreeStorage = ko.observable(); self.error_checkoutFolder = ko.pureComputed(function() { return self.config_checkType() === "git_commit" @@ -61,7 +65,7 @@ $(function() { }); self.enableUpdate = ko.pureComputed(function() { - return !self.updateInProgress && self.environmentSupported() && !self.printerState.isPrinting() && !self.throttled(); + return !self.updateInProgress && self.environmentSupported() && self.storageSufficient() && !self.printerState.isPrinting() && !self.throttled(); }); self.enable_configSave = ko.pureComputed(function() { @@ -166,7 +170,8 @@ $(function() { octoprint_checkout_folder: self.config_checkoutFolder(), octoprint_tracked_branch: self.config_trackedBranch(), octoprint_pip_target: self.config_pipTarget(), - pip_enable_check: self.config_pipEnableCheck() + pip_enable_check: self.config_pipEnableCheck(), + minimum_free_storage: self.config_minimumFreeStorage() } } }; @@ -205,6 +210,8 @@ $(function() { self.config_pipTarget(self.settings.settings.plugins.softwareupdate.octoprint_pip_target()); self.config_pipEnableCheck(self.settings.settings.plugins.softwareupdate.pip_enable_check()); + + self.config_minimumFreeStorage(self.settings.settings.plugins.softwareupdate.minimum_free_storage()); }; self._copyConfigBack = function() { @@ -248,6 +255,9 @@ $(function() { self.environmentSupported(data.environment.supported); self.environmentVersions(data.environment.versions); + self.storageSufficient(data.storage.sufficient); + self.storageFree(data.storage.free); + if (data.status === "inProgress") { self._markWorking(gettext("Updating..."), gettext("Updating, please wait.")); return; @@ -262,7 +272,7 @@ $(function() { _.each(self.versions.items(), function(update_info) { if (update_info.updateAvailable) { text += "
  • " - + "" + + "" + "" + update_info.fullNameRemote + "" + (update_info.releaseNotes ? "" + gettext("Release Notes") + "" : "") + "
  • "; @@ -272,6 +282,8 @@ $(function() { if (!self.environmentSupported()) { text += "

    " + gettext("This version of the Python environment is not supported for direct updates.") + "

    "; + } else if (!self.storageSufficient()) { + text += "

    " + gettext("There's currently not enough free disk space available for a direct update.") + "

    "; } else { text += "

    " + gettext("Those components marked with can be updated directly.") + "

    "; } diff --git a/src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2 b/src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2 index f743f749e..63996cb8f 100644 --- a/src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2 +++ b/src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2 @@ -32,6 +32,23 @@ Please take a look at this FAQ entry on how to proceed.

    {% endtrans %} +
    {% trans min_free_storage='' %} +

    + There is not enough free disk space available to run an update. +

    +

    + To reduce the likelihood of running into update problems due to insuffient disk space, OctoPrint requires + a minimum of {{ min_free_storage }} free disk space in various locations: +

    +{% endtrans %} +
      +
    • (): free
    • +
    +{% trans %} +

    + Please take a look at this FAQ entry on how to proceed. +

    +{% endtrans %}
    {% trans %}

    OctoPrint is running on a throttled system, updates are disabled. @@ -110,7 +127,7 @@

    - + min
    @@ -123,6 +140,16 @@
    +
    + +
    +
    + + MB + {{ _('The minimum amount of free disk space that has to be available on various locations for OctoPrint to allow updates. Should not be set to 0.') }} +
    +
    +
    -
    -
     
    -  {{ _('Details') }} -  {{ _('Homepage') }} -   -   -   -   -   + + + + +
    + +
     
    +
    + + + + + + + ()
    +
    / {{ _('plugins displayed') }}
    @@ -270,7 +285,7 @@

    - {{ _('It looks like there are no compatible plugins available') }} + {{ _('It looks like there are no plugins that match your search criteria') }}

    From 6d8a131c6d3b5900e236ad23e1015a642815699f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 19 Jun 2020 14:07:13 +0200 Subject: [PATCH 19/85] =?UTF-8?q?=F0=9F=92=84=20PMGR:=20More=20space=20for?= =?UTF-8?q?=20the=20repo=20browser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/css/pluginmanager.css | 2 +- .../pluginmanager/static/js/pluginmanager.js | 5 +- .../static/less/pluginmanager.less | 2 +- .../templates/pluginmanager_settings.jinja2 | 258 +++++++++--------- 4 files changed, 138 insertions(+), 129 deletions(-) diff --git a/src/octoprint/plugins/pluginmanager/static/css/pluginmanager.css b/src/octoprint/plugins/pluginmanager/static/css/pluginmanager.css index 84ade42f9..9e48d34f6 100644 --- a/src/octoprint/plugins/pluginmanager/static/css/pluginmanager.css +++ b/src/octoprint/plugins/pluginmanager/static/css/pluginmanager.css @@ -1 +1 @@ -#settings_plugin_pluginmanager_pluginlist{display:block;width:auto;max-height:400px;overflow-x:hidden;overflow-y:scroll;padding-right:2px;margin-bottom:1em}#settings_plugin_pluginmanager_pluginlist table td.settings_plugin_plugin_manager_plugins_name,#settings_plugin_pluginmanager_pluginlist table th.settings_plugin_plugin_manager_plugins_name{text-overflow:ellipsis;text-align:left}#settings_plugin_pluginmanager_pluginlist table td.settings_plugin_plugin_manager_plugins_name .prop,#settings_plugin_pluginmanager_pluginlist table th.settings_plugin_plugin_manager_plugins_name .prop{white-space:nowrap}#settings_plugin_pluginmanager_pluginlist table td.settings_plugin_plugin_manager_plugins_actions,#settings_plugin_pluginmanager_pluginlist table th.settings_plugin_plugin_manager_plugins_actions{text-align:center;width:80px}#settings_plugin_pluginmanager_pluginlist table td.settings_plugin_plugin_manager_plugins_actions a,#settings_plugin_pluginmanager_pluginlist table th.settings_plugin_plugin_manager_plugins_actions a{text-decoration:none;color:#000}#settings_plugin_pluginmanager_pluginlist table td.settings_plugin_plugin_manager_plugins_actions a.disabled,#settings_plugin_pluginmanager_pluginlist table th.settings_plugin_plugin_manager_plugins_actions a.disabled{color:#ccc;cursor:default}#settings_plugin_pluginmanager_orphanlist{display:block;width:auto;max-height:400px;overflow-x:hidden;overflow-y:scroll;padding-right:2px;margin-bottom:1em}#settings_plugin_pluginmanager_orphanlist table td.settings_plugin_plugin_manager_orphans_id,#settings_plugin_pluginmanager_orphanlist table th.settings_plugin_plugin_manager_orphans_id{text-overflow:ellipsis;text-align:left}#settings_plugin_pluginmanager_orphanlist table td.settings_plugin_plugin_manager_orphans_actions,#settings_plugin_pluginmanager_orphanlist table th.settings_plugin_plugin_manager_orphans_actions{text-align:center;width:80px}#settings_plugin_pluginmanager_orphanlist table td.settings_plugin_plugin_manager_orphans_actions a,#settings_plugin_pluginmanager_orphanlist table th.settings_plugin_plugin_manager_orphans_actions a{text-decoration:none;color:#000}#settings_plugin_pluginmanager_orphanlist table td.settings_plugin_plugin_manager_orphans_actions a.disabled,#settings_plugin_pluginmanager_orphanlist table th.settings_plugin_plugin_manager_orphans_actions a.disabled{color:#ccc;cursor:default}#settings_plugin_pluginmanager_repositorydialog h4{position:relative}#settings_plugin_pluginmanager_repositorydialog h4 a.dropdown-toggle{color:inherit;text-decoration:none;font-size:14px}#settings_plugin_pluginmanager_repositorydialog h4 ul.dropdown-menu{font-size:14px}#settings_plugin_pluginmanager_repositorydialog .form-search{text-align:center;margin-bottom:5px!important}#settings_plugin_pluginmanager_repositorydialog .form-inline{padding:5px 10px 5px 5px;margin-bottom:0}#settings_plugin_pluginmanager_repositorydialog .form-inline .help-block{margin-bottom:0;font-size:85%}#settings_plugin_pluginmanager_repositorydialog #settings_plugin_pluginmanager_repositorydialog_empty,#settings_plugin_pluginmanager_repositorydialog #settings_plugin_pluginmanager_repositorydialog_unavailable{overflow:hidden;width:100%;height:400px;background-image:url(../img/repo_unavailable.png);text-align:center;display:table}#settings_plugin_pluginmanager_repositorydialog #settings_plugin_pluginmanager_repositorydialog_empty div,#settings_plugin_pluginmanager_repositorydialog #settings_plugin_pluginmanager_repositorydialog_unavailable div{display:table-cell;vertical-align:middle}#settings_plugin_pluginmanager_repositorydialog #settings_plugin_pluginmanager_repositorydialog_list{width:auto;height:300px;overflow-x:hidden;overflow-y:scroll;padding-right:2px}#settings_plugin_pluginmanager_repositorydialog #settings_plugin_pluginmanager_repositorydialog_list .entry{border-bottom:1px solid #ddd;padding:5px}#settings_plugin_pluginmanager_repositorydialog #settings_plugin_pluginmanager_repositorydialog_list .entry .meta{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#settings_plugin_pluginmanager_repositorydialog #settings_plugin_pluginmanager_repositorydialog_list .entry .stats .prop{white-space:nowrap}#settings_plugin_pluginmanager_workingdialog_output .message{font-weight:700}#settings_plugin_pluginmanager_workingdialog_output .error{font-weight:700;color:#900}#settings_plugin_pluginmanager_workingdialog_output .stdout{color:#333}#settings_plugin_pluginmanager_workingdialog_output .stderr{color:#900}#settings_plugin_pluginmanager_workingdialog_output .call{color:#009} \ No newline at end of file +#settings_plugin_pluginmanager_pluginlist{display:block;width:auto;max-height:400px;overflow-x:hidden;overflow-y:scroll;padding-right:2px;margin-bottom:1em}#settings_plugin_pluginmanager_pluginlist table td.settings_plugin_plugin_manager_plugins_name,#settings_plugin_pluginmanager_pluginlist table th.settings_plugin_plugin_manager_plugins_name{text-overflow:ellipsis;text-align:left}#settings_plugin_pluginmanager_pluginlist table td.settings_plugin_plugin_manager_plugins_name .prop,#settings_plugin_pluginmanager_pluginlist table th.settings_plugin_plugin_manager_plugins_name .prop{white-space:nowrap}#settings_plugin_pluginmanager_pluginlist table td.settings_plugin_plugin_manager_plugins_actions,#settings_plugin_pluginmanager_pluginlist table th.settings_plugin_plugin_manager_plugins_actions{text-align:center;width:80px}#settings_plugin_pluginmanager_pluginlist table td.settings_plugin_plugin_manager_plugins_actions a,#settings_plugin_pluginmanager_pluginlist table th.settings_plugin_plugin_manager_plugins_actions a{text-decoration:none;color:#000}#settings_plugin_pluginmanager_pluginlist table td.settings_plugin_plugin_manager_plugins_actions a.disabled,#settings_plugin_pluginmanager_pluginlist table th.settings_plugin_plugin_manager_plugins_actions a.disabled{color:#ccc;cursor:default}#settings_plugin_pluginmanager_orphanlist{display:block;width:auto;max-height:400px;overflow-x:hidden;overflow-y:scroll;padding-right:2px;margin-bottom:1em}#settings_plugin_pluginmanager_orphanlist table td.settings_plugin_plugin_manager_orphans_id,#settings_plugin_pluginmanager_orphanlist table th.settings_plugin_plugin_manager_orphans_id{text-overflow:ellipsis;text-align:left}#settings_plugin_pluginmanager_orphanlist table td.settings_plugin_plugin_manager_orphans_actions,#settings_plugin_pluginmanager_orphanlist table th.settings_plugin_plugin_manager_orphans_actions{text-align:center;width:80px}#settings_plugin_pluginmanager_orphanlist table td.settings_plugin_plugin_manager_orphans_actions a,#settings_plugin_pluginmanager_orphanlist table th.settings_plugin_plugin_manager_orphans_actions a{text-decoration:none;color:#000}#settings_plugin_pluginmanager_orphanlist table td.settings_plugin_plugin_manager_orphans_actions a.disabled,#settings_plugin_pluginmanager_orphanlist table th.settings_plugin_plugin_manager_orphans_actions a.disabled{color:#ccc;cursor:default}#settings_plugin_pluginmanager_repositorydialog h4{position:relative}#settings_plugin_pluginmanager_repositorydialog h4 a.dropdown-toggle{color:inherit;text-decoration:none;font-size:14px}#settings_plugin_pluginmanager_repositorydialog h4 ul.dropdown-menu{font-size:14px}#settings_plugin_pluginmanager_repositorydialog .form-search{text-align:center;margin-bottom:5px!important}#settings_plugin_pluginmanager_repositorydialog .form-inline{padding:5px 10px 5px 5px;margin-bottom:0}#settings_plugin_pluginmanager_repositorydialog .form-inline .help-block{margin-bottom:0;font-size:85%}#settings_plugin_pluginmanager_repositorydialog #settings_plugin_pluginmanager_repositorydialog_empty,#settings_plugin_pluginmanager_repositorydialog #settings_plugin_pluginmanager_repositorydialog_unavailable{overflow:hidden;width:100%;height:400px;background-image:url(../img/repo_unavailable.png);text-align:center;display:table}#settings_plugin_pluginmanager_repositorydialog #settings_plugin_pluginmanager_repositorydialog_empty div,#settings_plugin_pluginmanager_repositorydialog #settings_plugin_pluginmanager_repositorydialog_unavailable div{display:table-cell;vertical-align:middle}#settings_plugin_pluginmanager_repositorydialog #settings_plugin_pluginmanager_repositorydialog_list{width:auto;height:400px;overflow-x:hidden;overflow-y:scroll;padding-right:2px}#settings_plugin_pluginmanager_repositorydialog #settings_plugin_pluginmanager_repositorydialog_list .entry{border-bottom:1px solid #ddd;padding:5px}#settings_plugin_pluginmanager_repositorydialog #settings_plugin_pluginmanager_repositorydialog_list .entry .meta{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#settings_plugin_pluginmanager_repositorydialog #settings_plugin_pluginmanager_repositorydialog_list .entry .stats .prop{white-space:nowrap}#settings_plugin_pluginmanager_workingdialog_output .message{font-weight:700}#settings_plugin_pluginmanager_workingdialog_output .error{font-weight:700;color:#900}#settings_plugin_pluginmanager_workingdialog_output .stdout{color:#333}#settings_plugin_pluginmanager_workingdialog_output .stderr{color:#900}#settings_plugin_pluginmanager_workingdialog_output .call{color:#009} \ No newline at end of file diff --git a/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js b/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js index f63475bef..e6041459d 100644 --- a/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js +++ b/src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js @@ -559,7 +559,10 @@ $(function() { }; self.showRepository = function() { - self.repositoryDialog.modal("show"); + self.repositoryDialog.modal({ + minHeight: function() { return Math.max($.fn.modal.defaults.maxHeight() - 80, 250); }, + show: true + }); }; self.pluginDetails = function(data) { diff --git a/src/octoprint/plugins/pluginmanager/static/less/pluginmanager.less b/src/octoprint/plugins/pluginmanager/static/less/pluginmanager.less index e321dda56..2c5beb3bc 100644 --- a/src/octoprint/plugins/pluginmanager/static/less/pluginmanager.less +++ b/src/octoprint/plugins/pluginmanager/static/less/pluginmanager.less @@ -123,7 +123,7 @@ #settings_plugin_pluginmanager_repositorydialog_list { width: auto; - height: 300px; + height: 400px; overflow-x: hidden; overflow-y: scroll; padding-right: 2px; diff --git a/src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2 b/src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2 index b8bd74c25..61ef49e8a 100644 --- a/src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2 +++ b/src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2 @@ -202,134 +202,140 @@

    {{ _('Install new Plugins...') }}

    - From a0c0b2d8af85a191d61cc2b270b4b44bdbbb2f54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 23 Jun 2020 17:00:15 +0200 Subject: [PATCH 35/85] =?UTF-8?q?=F0=9F=90=9B=20Image=20path=20is=20relati?= =?UTF-8?q?ve=20to=20manifest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/static/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/static/manifest.json b/src/octoprint/static/manifest.json index 01945298f..5a16beb7d 100644 --- a/src/octoprint/static/manifest.json +++ b/src/octoprint/static/manifest.json @@ -1,7 +1,7 @@ { "name": "OctoPrint", "icons": [{ - "src": "static/img/apple-touch-icon-144x144.png", + "src": "./img/apple-touch-icon-144x144.png", "type": "image/png", "sizes": "144x144" }], From 7224970e2c0ad5e0825129c08560c9d54b0c4035 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 24 Jun 2020 10:37:08 +0200 Subject: [PATCH 36/85] =?UTF-8?q?=E2=98=82=20SWU:=20GH=20release=20name=20?= =?UTF-8?q?can=20apparently=20be=20empty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugins/softwareupdate/version_checks/github_release.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/octoprint/plugins/softwareupdate/version_checks/github_release.py b/src/octoprint/plugins/softwareupdate/version_checks/github_release.py index b0aea7b01..782758340 100644 --- a/src/octoprint/plugins/softwareupdate/version_checks/github_release.py +++ b/src/octoprint/plugins/softwareupdate/version_checks/github_release.py @@ -288,8 +288,8 @@ def get_latest(target, check, custom_compare=None, online=True): commitish=commitish, force_base=force_base) - if remote_name is None: - if remote_tag is not None: + if not remote_name: + if remote_tag: remote_name = remote_tag else: remote_name = "-" From 0461992496f38170f11675991700803ce7f7a399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 24 Jun 2020 14:17:27 +0200 Subject: [PATCH 37/85] =?UTF-8?q?=F0=9F=90=9B=20Gracefully=20handle=20lack?= =?UTF-8?q?=20of=20installed=20profiler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Just because we run with `--debug` doesn't mean we also have installed the development dependencies. So in case we can't import `pyinstrument` we should handle that gracefully even if `perfprofile` is requested. --- src/octoprint/server/__init__.py | 10 +++++++--- src/octoprint/server/views.py | 1 - 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/octoprint/server/__init__.py b/src/octoprint/server/__init__.py index e5a834a18..d8863b7dd 100644 --- a/src/octoprint/server/__init__.py +++ b/src/octoprint/server/__init__.py @@ -1029,9 +1029,13 @@ class Server(object): def before_request(): g.locale = self._get_locale() if self._debug and "perfprofile" in request.args: - from pyinstrument import Profiler - g.perfprofiler = Profiler() - g.perfprofiler.start() + try: + from pyinstrument import Profiler + g.perfprofiler = Profiler() + g.perfprofiler.start() + except ImportError: + # profiler dependency not installed, ignore + pass @app.after_request diff --git a/src/octoprint/server/views.py b/src/octoprint/server/views.py index 75bd7d049..15895a83f 100644 --- a/src/octoprint/server/views.py +++ b/src/octoprint/server/views.py @@ -924,7 +924,6 @@ def _filter_templates(templates, template_filter): @app.route("/robots.txt") -@util.flask.cached(timeout=-1) def robotsTxt(): return send_from_directory(app.static_folder, "robots.txt") From eac45562f896368f5dcb8672c67b439a9dd05736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 24 Jun 2020 15:19:45 +0200 Subject: [PATCH 38/85] =?UTF-8?q?=E2=99=BB=20logger.warn=20=3D>=20logger.w?= =?UTF-8?q?arning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `warn` is deprecated --- src/octoprint/cli/server.py | 12 ++++++------ src/octoprint/plugins/backup/__init__.py | 12 ++++++------ src/octoprint/plugins/pluginmanager/__init__.py | 4 ++-- src/octoprint/plugins/softwareupdate/__init__.py | 2 +- src/octoprint/server/__init__.py | 2 +- src/octoprint/server/api/system.py | 4 ++-- src/octoprint/server/util/flask.py | 2 +- src/octoprint/server/util/sockjs.py | 2 +- src/octoprint/server/util/tornado.py | 4 ++-- src/octoprint/server/views.py | 6 +++--- src/octoprint/timelapse.py | 6 +++--- src/octoprint/util/comm.py | 4 ++-- 12 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/octoprint/cli/server.py b/src/octoprint/cli/server.py index ab9ea5fe4..5a28741a9 100644 --- a/src/octoprint/cli/server.py +++ b/src/octoprint/cli/server.py @@ -50,12 +50,12 @@ def run_server(basedir, configfile, host, port, v6_only, debug, allow_root, logg from octoprint import urllib3_ssl if not urllib3_ssl: logging.getLogger("octoprint.server")\ - .warn("requests/urllib3 will run in an insecure SSL environment. " - "You might see corresponding warnings logged later " - "(\"InsecurePlatformWarning\"). It is recommended to either " - "update to a Python version >= 2.7.9 or alternatively " - "install PyOpenSSL plus its dependencies. For details see " - "https://urllib3.readthedocs.org/en/latest/security.html#openssl-pyopenssl") + .warning("requests/urllib3 will run in an insecure SSL environment. " + "You might see corresponding warnings logged later " + "(\"InsecurePlatformWarning\"). It is recommended to either " + "update to a Python version >= 2.7.9 or alternatively " + "install PyOpenSSL plus its dependencies. For details see " + "https://urllib3.readthedocs.org/en/latest/security.html#openssl-pyopenssl") logger.info(get_divider_line("*")) def log_register_rollover(safe_mode=None, plugin_manager=None, environment_detector=None, **kwargs): diff --git a/src/octoprint/plugins/backup/__init__.py b/src/octoprint/plugins/backup/__init__.py index ba2340fe5..c0bd77866 100644 --- a/src/octoprint/plugins/backup/__init__.py +++ b/src/octoprint/plugins/backup/__init__.py @@ -252,14 +252,14 @@ class BackupPlugin(octoprint.plugin.SettingsPlugin, compatible = octoprint_compatible and os_compatible if not compatible: if not octoprint_compatible and not os_compatible: - self._logger.warn("Cannot install plugin {}, it is incompatible to this version " - "of OctoPrint and the underlying operating system".format(plugin["id"])) + self._logger.warning("Cannot install plugin {}, it is incompatible to this version " + "of OctoPrint and the underlying operating system".format(plugin["id"])) elif not octoprint_compatible: - self._logger.warn("Cannot install plugin {}, it is incompatible to this version " - "of OctoPrint".format(plugin["id"])) + self._logger.warning("Cannot install plugin {}, it is incompatible to this version " + "of OctoPrint".format(plugin["id"])) elif not os_compatible: - self._logger.warn("Cannot install plugin {}, it is incompatible to the underlying " - "operating system".format(plugin["id"])) + self._logger.warning("Cannot install plugin {}, it is incompatible to the underlying " + "operating system".format(plugin["id"])) self._send_client_message("plugin_incompatible", dict(plugin=plugin["id"], octoprint_compatible=octoprint_compatible, os_compatible=os_compatible)) diff --git a/src/octoprint/plugins/pluginmanager/__init__.py b/src/octoprint/plugins/pluginmanager/__init__.py index 66bb9fde0..b19dfd218 100644 --- a/src/octoprint/plugins/pluginmanager/__init__.py +++ b/src/octoprint/plugins/pluginmanager/__init__.py @@ -193,7 +193,7 @@ class PluginManagerPlugin(octoprint.plugin.SimpleApiPlugin, if helpers and "get_throttled" in helpers: self._get_throttled = helpers["get_throttled"] if self._settings.get_boolean(["ignore_throttled"]): - self._logger.warn("!!! THROTTLE STATE IGNORED !!! You have configured the Plugin Manager plugin to ignore an active throttle state of the underlying system. You might run into stability issues or outright corrupt your install. Consider fixing the throttling issue instead of suppressing it.") + self._logger.warning("!!! THROTTLE STATE IGNORED !!! You have configured the Plugin Manager plugin to ignore an active throttle state of the underlying system. You might run into stability issues or outright corrupt your install. Consider fixing the throttling issue instead of suppressing it.") # decouple repository fetching from server startup self._fetch_all_data(do_async=True) @@ -1121,7 +1121,7 @@ class PluginManagerPlugin(octoprint.plugin.SimpleApiPlugin, # validation if not isinstance(repo_data, (list, tuple)): - self._logger.warn("Invalid repository data: expected a list, got {!r}".format(repo_data)) + self._logger.warning("Invalid repository data: expected a list, got {!r}".format(repo_data)) return None try: diff --git a/src/octoprint/plugins/softwareupdate/__init__.py b/src/octoprint/plugins/softwareupdate/__init__.py index debb9bd0d..87c1909ca 100644 --- a/src/octoprint/plugins/softwareupdate/__init__.py +++ b/src/octoprint/plugins/softwareupdate/__init__.py @@ -132,7 +132,7 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, if helpers and "get_throttled" in helpers: self._get_throttled = helpers["get_throttled"] if self._settings.get_boolean(["ignore_throttled"]): - self._logger.warn("!!! THROTTLE STATE IGNORED !!! You have configured the Software Update plugin to ignore an active throttle state of the underlying system. You might run into stability issues or outright corrupt your install. Consider fixing the throttling issue instead of suppressing it.") + self._logger.warning("!!! THROTTLE STATE IGNORED !!! You have configured the Software Update plugin to ignore an active throttle state of the underlying system. You might run into stability issues or outright corrupt your install. Consider fixing the throttling issue instead of suppressing it.") def on_after_startup(self): self._check_environment() diff --git a/src/octoprint/server/__init__.py b/src/octoprint/server/__init__.py index d8863b7dd..98ced21e0 100644 --- a/src/octoprint/server/__init__.py +++ b/src/octoprint/server/__init__.py @@ -1987,7 +1987,7 @@ class Server(object): continue if not key_whitelist.match(p["key"]): - self._logger.warn("Got permission with invalid key from plugin {}: {}".format(name, p["key"])) + self._logger.warning("Got permission with invalid key from plugin {}: {}".format(name, p["key"])) continue if not process_regular_permission(plugin_info, p): diff --git a/src/octoprint/server/api/system.py b/src/octoprint/server/api/system.py index 411b67ce9..43a165992 100644 --- a/src/octoprint/server/api/system.py +++ b/src/octoprint/server/api/system.py @@ -42,7 +42,7 @@ def _usageForFolders(): @no_firstrun_access @Permissions.SYSTEM.require(403) def performSystemAction(): - logging.getLogger(__name__).warn("Deprecated API call to /api/system made by {}, should be migrated to use /system/commands/custom/".format(get_remote_address(request))) + logging.getLogger(__name__).warning("Deprecated API call to /api/system made by {}, should be migrated to use /system/commands/custom/".format(get_remote_address(request))) data = request.get_json(silent=True) if data is None: @@ -213,7 +213,7 @@ def _get_core_command_specs(): def _get_core_command_spec(action): available_actions = _get_core_command_specs() if not action in available_actions: - logging.getLogger(__name__).warn(u"Command for core action {} is not configured, you need to configure the command before it can be used".format(action)) + logging.getLogger(__name__).warning(u"Command for core action {} is not configured, you need to configure the command before it can be used".format(action)) return None return available_actions[action] diff --git a/src/octoprint/server/util/flask.py b/src/octoprint/server/util/flask.py index 6cfbf552f..7c79c32b0 100644 --- a/src/octoprint/server/util/flask.py +++ b/src/octoprint/server/util/flask.py @@ -891,7 +891,7 @@ class PreemptiveCache(object): cache_data = dict() if not self._validate_data(cache_data): - self._logger.warn("Preemptive cache data was invalid, ignoring it") + self._logger.warning("Preemptive cache data was invalid, ignoring it") cache_data = dict() return cache_data diff --git a/src/octoprint/server/util/sockjs.py b/src/octoprint/server/util/sockjs.py index a35b11349..5f019ada1 100644 --- a/src/octoprint/server/util/sockjs.py +++ b/src/octoprint/server/util/sockjs.py @@ -209,7 +209,7 @@ class PrinterStateConnection(octoprint.vendor.sockjs.tornado.SockJSConnection, user = self._userManager.find_user(userid=user_id, session=user_session) self._on_login(user) else: - self._logger.warn("Unknown user/session combo: {}:{}".format(user_id, user_session)) + self._logger.warning("Unknown user/session combo: {}:{}".format(user_id, user_session)) self._on_logout() self._register() diff --git a/src/octoprint/server/util/tornado.py b/src/octoprint/server/util/tornado.py index a7b15be97..9baf3c2d2 100644 --- a/src/octoprint/server/util/tornado.py +++ b/src/octoprint/server/util/tornado.py @@ -1015,8 +1015,8 @@ class LargeResponseHandler(RequestlessExceptionLoggingMixin, self.set_header("Content-Encoding", "gzip") path = path + ".gz" else: - logging.getLogger(__name__).warn("Precompressed assets expected but {}.gz does not exist " - "in {}, using plain file instead.".format(path, self.root)) + logging.getLogger(__name__).warning("Precompressed assets expected but {}.gz does not exist " + "in {}, using plain file instead.".format(path, self.root)) return tornado.web.StaticFileHandler.get(self, path, include_body=include_body) diff --git a/src/octoprint/server/views.py b/src/octoprint/server/views.py index 15895a83f..3883957de 100644 --- a/src/octoprint/server/views.py +++ b/src/octoprint/server/views.py @@ -182,9 +182,9 @@ def index(): request_refresh = "_refresh" in request.values printing = printer.is_printing() if client_refresh and printing: - logging.getLogger(__name__).warn("Client requested cache refresh via cache-control headers but we are printing. " - "Not invalidating caches due to resource limitation. Append ?_refresh=true to " - "the URL if you absolutely require a refresh now") + logging.getLogger(__name__).warning("Client requested cache refresh via cache-control headers but we are printing. " + "Not invalidating caches due to resource limitation. Append ?_refresh=true to " + "the URL if you absolutely require a refresh now") client_refresh = client_refresh and not printing force_refresh = client_refresh \ or request_refresh \ diff --git a/src/octoprint/timelapse.py b/src/octoprint/timelapse.py index f38484f50..18af23279 100644 --- a/src/octoprint/timelapse.py +++ b/src/octoprint/timelapse.py @@ -351,8 +351,8 @@ def configure_timelapse(config=None, persist=False): type = config["type"] if not timelapse_precondition and timelapse_precondition: - logging.getLogger(__name__).warn("Essential timelapse settings unconfigured (snapshot URL or FFMPEG path) " - "but timelapse enabled.") + logging.getLogger(__name__).warning("Essential timelapse settings unconfigured (snapshot URL or FFMPEG path) " + "but timelapse enabled.") if not timelapse_enabled or not timelapse_precondition or type is None or "off" == type: current = None @@ -918,7 +918,7 @@ class TimelapseRenderJob(object): if os.path.exists(temporary): os.remove(temporary) except Exception: - self._logger.warn("Could not delete temporary timelapse {}".format(temporary)) + self._logger.warning("Could not delete temporary timelapse {}".format(temporary)) self._notify_callback("always", output) def _process_ffmpeg_output(self, *lines): diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index 03eacc16c..e24d5c327 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -3043,7 +3043,7 @@ class MachineCom(object): # printer keeps requesting the same line again and again, something is severely broken here error_text = "Printer keeps requesting line {} again and again, communication stuck".format(lineToResend) self._log(error_text) - self._logger.warn(error_text) + self._logger.warning(error_text) self._trigger_error(error_text, "resend_loop") else: self._currentConsecutiveResendNumber = lineToResend @@ -4531,7 +4531,7 @@ def convert_feedback_controls(configured_controls): result[key]["matcher"] = re.compile(control["regex"]) result[key]["pattern"] = control["regex"] except Exception as exc: - _logger.warn("Invalid regex {regex} for custom control: {exc}".format(regex=control["regex"], exc=str(exc))) + _logger.warning("Invalid regex {regex} for custom control: {exc}".format(regex=control["regex"], exc=str(exc))) result[key]["templates"][control["template_key"]] = control["template"] From ada121d2ec900c8a9634aca8e76b2f2844f1fafb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 24 Jun 2020 15:59:18 +0200 Subject: [PATCH 39/85] =?UTF-8?q?=F0=9F=90=9B=20Fix=20link=20to=20repo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7a906db4..ece6d517e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ # Changelog -See [the releases on Github](https://github.com/foosel/OctoPrint/releases) for detailed changelogs for all releases +See [the releases on Github](https://github.com/OctoPrint/OctoPrint/releases) for detailed changelogs for all releases and release candidates. From d114551bd1253548b0e6a414bb21fd2b243774f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 24 Jun 2020 16:21:25 +0200 Subject: [PATCH 40/85] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=E2=99=82=EF=B8=8F?= =?UTF-8?q?=20Build=20&=20release=20automation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 101 ++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..01ba0e905 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,101 @@ +name: Build distribution, test install & push releases to pypi +on: + push: + release: + types: [published, prereleased] + +jobs: + build: + name: 🔨 Build distribution + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 🏗 Set up Python 3.7 + uses: actions/setup-python@v1 + with: + python-version: 3.7 + - name: 🏗 Install build dependencies + run: | + python -m pip install wheel --user + - name: 🔨 Build a binary wheel and a source tarball + run: | + python setup.py sdist bdist_wheel + - name: ⬆ Upload build result + uses: actions/upload-artifact@v1 + with: + name: dist + path: dist + + test-install-py2: + name: 🧪 Test install on Python 2 + runs-on: ubuntu-latest + needs: build + steps: + - name: ⬇ Download build result + uses: actions/download-artifact@v1 + with: + name: dist + path: dist + - name: 🏗 Set up Python 2.7 + uses: actions/setup-python@v1 + with: + python-version: 2.7 + - name: 🚀 Install wheel + run: | + pip install dist/OctoPrint-*-py2.py2-none-any.whl + + test-install-py3: + name: 🧪 Test install on Python 3 + runs-on: ubuntu-latest + needs: build + steps: + - name: ⬇ Download build result + uses: actions/download-artifact@v1 + with: + name: dist + path: dist + - name: 🏗 Set up Python 3.7 + uses: actions/setup-python@v1 + with: + python-version: 3.7 + - name: 🚀 Install wheel + run: | + pip install dist/OctoPrint-*-py2.py2-none-any.whl + + publish-on-testpypi: + name: 📦 Publish on TestPyPI + if: github.event_name == 'release' + needs: + - test-install-py2 + - test-install-py3 + runs-on: ubuntu-latest + steps: + - name: ⬇ Download build result + uses: actions/download-artifact@v1 + with: + name: dist + path: dist + - name: 📦 Publish to index + uses: pypa/gh-action-pypi-publish@master + continue-on-error: true + with: + password: ${{ secrets.testpypi_password }} + repository_url: https://test.pypi.org/legacy/ + + #publish-on-pypi: + # name: 📦 Publish tagged releases to PyPI + # if: github.event_name == 'release' + # needs: publish-on-testpypi + # runs-on: ubuntu-latest + # steps: + # - name: ⬇ Download build result + # uses: actions/download-artifact@v1 + # with: + # name: dist + # path: dist + # - name: 📦 Publish to index + # uses: pypa/gh-action-pypi-publish@master + # with: + # password: ${{ secrets.pypi_password }} From ced1bbf53d976b161b003df6a5b21fc0283616b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 24 Jun 2020 16:23:49 +0200 Subject: [PATCH 41/85] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=E2=99=82=EF=B8=8F?= =?UTF-8?q?=20Fix=20a=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 01ba0e905..1bcccd458 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: python-version: 2.7 - name: 🚀 Install wheel run: | - pip install dist/OctoPrint-*-py2.py2-none-any.whl + pip install dist/OctoPrint-*-py2.py3-none-any.whl test-install-py3: name: 🧪 Test install on Python 3 @@ -62,7 +62,7 @@ jobs: python-version: 3.7 - name: 🚀 Install wheel run: | - pip install dist/OctoPrint-*-py2.py2-none-any.whl + pip install dist/OctoPrint-*-py2.py3-none-any.whl publish-on-testpypi: name: 📦 Publish on TestPyPI From 5287dca4e5a063bd99a0156b63bdd09756611c50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 26 Jun 2020 10:16:50 +0200 Subject: [PATCH 42/85] =?UTF-8?q?=F0=9F=90=9B=20Flask=20login=20changed=20?= =?UTF-8?q?from=20user=5Fid=20to=20=5Fuser=5Fid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to @bzed for the heads-up. --- src/octoprint/server/util/tornado.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/server/util/tornado.py b/src/octoprint/server/util/tornado.py index 9baf3c2d2..2929fa1b0 100644 --- a/src/octoprint/server/util/tornado.py +++ b/src/octoprint/server/util/tornado.py @@ -1284,7 +1284,7 @@ def access_validation_factory(app, validator, *args): wsgi_environ = WsgiInputContainer.environ(request) with app.request_context(wsgi_environ): session = app.session_interface.open_session(app, flask.request) - user_id = session.get("user_id") + user_id = session.get("_user_id") user = None # Yes, using protected methods is ugly. But these used to be publicly available in former versions From 331cc3614aba4bf5613c6560a2fa831e8c67c928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 26 Jun 2020 11:13:14 +0200 Subject: [PATCH 43/85] =?UTF-8?q?=F0=9F=9A=B8=20UI=20indicator=20that=20se?= =?UTF-8?q?rial.log=20is=20active?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/plugins/logging/__init__.py | 17 ++++---- .../plugins/logging/static/js/logging.js | 40 ++++++++++++++++++- .../logging/templates/logging_navbar.jinja2 | 3 ++ src/octoprint/settings.py | 2 +- 4 files changed, 49 insertions(+), 13 deletions(-) create mode 100644 src/octoprint/plugins/logging/templates/logging_navbar.jinja2 diff --git a/src/octoprint/plugins/logging/__init__.py b/src/octoprint/plugins/logging/__init__.py index a6e7e95e5..d0cc01e69 100644 --- a/src/octoprint/plugins/logging/__init__.py +++ b/src/octoprint/plugins/logging/__init__.py @@ -51,8 +51,10 @@ class LoggingPlugin(octoprint.plugin.AssetPlugin, free, total = self._get_usage() loggers = self._get_available_loggers() levels = self._get_logging_levels() + serial_log_enabled = self._settings.global_get_boolean(["serial", "log"]) return jsonify(logs=dict(files=files, free=free, total=total), - setup=dict(loggers=loggers, levels=levels)) + setup=dict(loggers=loggers, levels=levels), + serial_log=dict(enabled=serial_log_enabled)) @octoprint.plugin.BlueprintPlugin.route("/logs", methods=["GET"]) @no_firstrun_access @@ -228,12 +230,7 @@ __plugin_disabling_discouraged__ = gettext("Without this plugin you will no long "the web interface.") __plugin_license__ = "AGPLv3" __plugin_pythoncompat__ = ">=2.7,<4" - -def __plugin_load__(): - global __plugin_implementation__ - __plugin_implementation__ = LoggingPlugin() - - global __plugin_hooks__ - __plugin_hooks__ = { - "octoprint.access.permissions": __plugin_implementation__.get_additional_permissions - } +__plugin_implementation__ = LoggingPlugin() +__plugin_hooks__ = { + "octoprint.access.permissions": __plugin_implementation__.get_additional_permissions +} diff --git a/src/octoprint/plugins/logging/static/js/logging.js b/src/octoprint/plugins/logging/static/js/logging.js index 7a7978ac7..7ed3f2bf1 100644 --- a/src/octoprint/plugins/logging/static/js/logging.js +++ b/src/octoprint/plugins/logging/static/js/logging.js @@ -8,6 +8,9 @@ $(function() { self.availableLoggersLevel = ko.observable(); self.configuredLoggers = ko.observableArray(); self.configuredLoggersChanged = false; + self.serialLogEnabled = ko.observable(); + self.freeSpace = ko.observable(undefined); + self.totalSpace = ko.observable(undefined); self.markedForDeletion = ko.observableArray([]); @@ -61,6 +64,7 @@ $(function() { self.fromResponse = function(response) { self.fromLogsResponse(response.logs); self.fromSetupResponse(response.setup); + self.fromSerialLogResponse(response.serial_log); }; self.fromLogsResponse = function(response) { @@ -71,6 +75,9 @@ $(function() { return; self.listHelper.updateItems(files); + + self.freeSpace(response.free); + self.totalSpace(response.total); }; self.fromSetupResponse = function(response) { @@ -94,6 +101,35 @@ $(function() { self.availableLoggers(availableLoggers); }; + self.fromSerialLogResponse = function(response) { + if (!response) return; + + self.serialLogEnabled(response.enabled); + }; + + self.popoverContent = function() { + var free = self.freeSpace(); + var total = self.totalSpace(); + + var content = "

    " + + gettext("You currently have serial.log enabled. Please remember to turn it off " + + "again once your are done debugging whatever issue prompted you to turn it on.") + + "

    " + + gettext("It can negatively impact print performance and also take up a lot of storage space " + + "depending on how long you stay connected to your printer and thus should only be used for " + + "debugging.") + + "

    "; + + if (free !== undefined && total !== undefined) { + content += "

    " + gettext("Log storage:") + " " + + formatSize(free) + " / " + + formatSize(total) + + "

    "; + } + + return content; + }; + self.configuredLoggersHasChanged = function () { self.configuredLoggersChanged = true; }; @@ -149,7 +185,7 @@ $(function() { perform); }; - self.onSettingsShown = function() { + self.onStartup = self.onServerReconnect = self.onUserLoggedIn = self.onUserLoggedOut = function() { self.requestData(); }; @@ -212,6 +248,6 @@ $(function() { construct: LoggingViewModel, additionalNames: ["logsViewModel"], dependencies: ["loginStateViewModel"], - elements: ["#settings_plugin_logging"] + elements: ["#settings_plugin_logging", "#navbar_plugin_logging"] }); }); diff --git a/src/octoprint/plugins/logging/templates/logging_navbar.jinja2 b/src/octoprint/plugins/logging/templates/logging_navbar.jinja2 new file mode 100644 index 000000000..f03a75d09 --- /dev/null +++ b/src/octoprint/plugins/logging/templates/logging_navbar.jinja2 @@ -0,0 +1,3 @@ + + + diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index 973c3346a..fd655f2fd 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -323,7 +323,7 @@ default_settings = { "closeModalsWithClick": True, "components": { "order": { - "navbar": ["settings", "systemmenu", "plugin_announcements", "plugin_pi_support", "login"], + "navbar": ["settings", "systemmenu", "plugin_announcements", "plugin_logging", "plugin_pi_support", "login"], "sidebar": ["plugin_firmware_check", "connection", "state", "files"], "tab": ["temperature", "control", "gcodeviewer", "terminal", "timelapse"], "settings": [ From eb8eeae418c77f27ac7849f21fd171a08185b247 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 26 Jun 2020 11:50:50 +0200 Subject: [PATCH 44/85] =?UTF-8?q?=F0=9F=93=9D=20Remove=20docs=20for=20SWU?= =?UTF-8?q?=20`last=5Fmodified`=20version=20check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was merged into `header` --- docs/bundledplugins/softwareupdate.rst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/bundledplugins/softwareupdate.rst b/docs/bundledplugins/softwareupdate.rst index f99e5627f..5ee80148f 100644 --- a/docs/bundledplugins/softwareupdate.rst +++ b/docs/bundledplugins/softwareupdate.rst @@ -215,12 +215,6 @@ types are currently recognized: * ``header_prefix``: Prefix to use for the obtained value in the version display. If not provided ``header_name`` will be used. If set to an empty string, no prefix will be added. - * ``lastmodified``: Checks the ``Last-Modified`` header on a defined URL for changes. Additional - config parameters: - - * ``lastmodified_url`` or ``url``: (mandatory) URL to check. ``url`` can be used to avoid duplication in case of updater - methods such as ``single_file_plugin``. - * ``jsondata``: Checks the provided JSON endpoint for changes. The JSON endpoint must return an object with the property ``version``, which should contain the latest version, e.g. ``{"version":"1.2.3"}``. Additional config parameters: From 9a48342ce20ba450462e3e4c20559b9c50b4f8cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 26 Jun 2020 11:51:19 +0200 Subject: [PATCH 45/85] =?UTF-8?q?=F0=9F=9A=B8=20Make=20safe=20mode=20more?= =?UTF-8?q?=20visible=20in=20client=20log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/static/js/app/dataupdater.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/octoprint/static/js/app/dataupdater.js b/src/octoprint/static/js/app/dataupdater.js index ce712f691..964f204e5 100644 --- a/src/octoprint/static/js/app/dataupdater.js +++ b/src/octoprint/static/js/app/dataupdater.js @@ -170,8 +170,8 @@ function DataUpdater(allViewModels, connectCallback, disconnectCallback) { if (self._safeModePopup) self._safeModePopup.remove(); if (data["safe_mode"]) { // safe mode is active, let's inform the user - log.info("Safe mode is active. Third party plugins and language packs are disabled and cannot be enabled."); - log.info("Reason for safe mode: " + data["safe_mode"]); + log.info("❗ Safe mode is active. Third party plugins and language packs are disabled and cannot be enabled."); + log.info("❗ Reason for safe mode: " + data["safe_mode"]); var reason = gettext("Unknown"); switch (data["safe_mode"]) { From 9b6a14cf19e363456f968af86f58611ceda0bc04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 26 Jun 2020 11:52:33 +0200 Subject: [PATCH 46/85] =?UTF-8?q?=F0=9F=92=84=20Column=20layout=20for=20su?= =?UTF-8?q?pporters=20&=20authors=20in=20about?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test_install.yml | 8 ++------ src/octoprint/static/css/octoprint.css | 2 +- src/octoprint/static/less/octoprint.less | 18 ++++++++++++++++++ 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test_install.yml b/.github/workflows/test_install.yml index 68cf094b3..98c3d4d01 100644 --- a/.github/workflows/test_install.yml +++ b/.github/workflows/test_install.yml @@ -1,11 +1,6 @@ -name: Test install of branches and latest release +name: Test install of branches and latest release twice per day on: - push: - branches: - - master - repository_dispatch: - types: [test_install] schedule: - cron: '0 */12 * * *' @@ -27,6 +22,7 @@ jobs: uses: actions/checkout@v2 with: ref: ${{ matrix.branch }} + fetch-depth: 0 - name: 👷 Build and install checkout run: | pip install . diff --git a/src/octoprint/static/css/octoprint.css b/src/octoprint/static/css/octoprint.css index 924143e6e..35a44a0b7 100644 --- a/src/octoprint/static/css/octoprint.css +++ b/src/octoprint/static/css/octoprint.css @@ -1 +1 @@ -.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;margin-bottom:0;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.btn.active,.btn.disabled,.btn:active,.btn:focus,.btn:hover,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn.active,.btn:active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:focus,.btn:hover{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.btn-large [class*=" icon-"],.btn-large [class^=icon-]{margin-top:4px}.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-small [class*=" icon-"],.btn-small [class^=icon-]{margin-top:0}.btn-mini [class*=" icon-"],.btn-mini [class^=icon-]{margin-top:-1px}.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary.active,.btn-primary.disabled,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary.active,.btn-primary:active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning.active,.btn-warning.disabled,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning.active,.btn-warning:active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-repeat:repeat-x;border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger.active,.btn-danger.disabled,.btn-danger:active,.btn-danger:focus,.btn-danger:hover,.btn-danger[disabled]{color:#fff;background-color:#bd362f;*background-color:#a9302a}.btn-danger.active,.btn-danger:active{background-color:#942a25 \9}.btn-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(to bottom,#62c462,#51a351);background-repeat:repeat-x;border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success.active,.btn-success.disabled,.btn-success:active,.btn-success:focus,.btn-success:hover,.btn-success[disabled]{color:#fff;background-color:#51a351;*background-color:#499249}.btn-success.active,.btn-success:active{background-color:#408140 \9}.btn-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(to bottom,#5bc0de,#2f96b4);background-repeat:repeat-x;border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info.active,.btn-info.disabled,.btn-info:active,.btn-info:focus,.btn-info:hover,.btn-info[disabled]{color:#fff;background-color:#2f96b4;*background-color:#2a85a0}.btn-info.active,.btn-info:active{background-color:#24748c \9}.btn-inverse{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#363636;background-image:-moz-linear-gradient(top,#444,#222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#444),to(#222));background-image:-webkit-linear-gradient(top,#444,#222);background-image:-o-linear-gradient(top,#444,#222);background-image:linear-gradient(to bottom,#444,#222);background-repeat:repeat-x;border-color:#222 #222 #000;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse.active,.btn-inverse.disabled,.btn-inverse:active,.btn-inverse:focus,.btn-inverse:hover,.btn-inverse[disabled]{color:#fff;background-color:#222;*background-color:#151515}.btn-inverse.active,.btn-inverse:active{background-color:#080808 \9}button.btn,input[type=submit].btn{*padding-top:3px;*padding-bottom:3px}button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type=submit].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type=submit].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type=submit].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-link,.btn-link:active,.btn-link[disabled]{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-link{border-color:transparent;cursor:pointer;color:#08c;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-link:focus,.btn-link:hover{color:#005580;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover{color:#333;text-decoration:none}.clearfix{*zoom:1}.clearfix:after,.clearfix:before{display:table;content:"";line-height:0}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.nowrap{white-space:nowrap}.actioncol{text-align:center;white-space:nowrap}.actioncol a{text-decoration:none;color:#000}.actioncol a.disabled{color:#ccc;cursor:default}#navbar .navbar-inner{background-color:#ebebeb;background-image:-moz-linear-gradient(top,#fff,#ccc);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#ccc));background-image:-webkit-linear-gradient(top,#fff,#ccc);background-image:-o-linear-gradient(top,#fff,#ccc);background-image:linear-gradient(to bottom,#fff,#ccc);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffcccccc', GradientType=0)}#navbar .navbar-inner .brand,#navbar .navbar-inner .nav>li>a{text-shadow:0 1px 0 #ccc;color:#333}#navbar .navbar-inner .brand .caret,#navbar .navbar-inner .nav>li>a .caret{border-bottom-color:#939393;border-top-color:#939393}#navbar .navbar-inner .brand:focus .caret,#navbar .navbar-inner .brand:hover .caret,#navbar .navbar-inner .nav>li>a:focus .caret,#navbar .navbar-inner .nav>li>a:hover .caret{border-bottom-color:#636363;border-top-color:#636363}#navbar .navbar-inner .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner .nav>li.dropdown.open>.dropdown-toggle{background-color:#e0e0e0;background-image:-moz-linear-gradient(top,#ccc,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ccc),to(#fff));background-image:-webkit-linear-gradient(top,#ccc,#fff);background-image:-o-linear-gradient(top,#ccc,#fff);background-image:linear-gradient(to bottom,#ccc,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcccccc', endColorstr='#ffffffff', GradientType=0)}#navbar .navbar-inner .nav>li>a:hover{background-color:#dedede;background-image:-moz-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#bfbfbf));background-image:-webkit-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:-o-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:linear-gradient(to bottom,#f2f2f2,#bfbfbf);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffbfbfbf', GradientType=0)}#navbar .navbar-inner.transparent{background-color:rgba(235,235,235,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.6)),to(rgba(204,204,204,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#99cccccc', GradientType=0)}#navbar .navbar-inner.transparent .brand,#navbar .navbar-inner.transparent .nav>li>a{text-shadow:0 1px 0 #ccc;color:#333}#navbar .navbar-inner.transparent .brand .caret,#navbar .navbar-inner.transparent .nav>li>a .caret{border-bottom-color:#939393;border-top-color:#939393}#navbar .navbar-inner.transparent .brand:focus .caret,#navbar .navbar-inner.transparent .brand:hover .caret,#navbar .navbar-inner.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.transparent .nav>li>a:hover .caret{border-bottom-color:#636363;border-top-color:#636363}#navbar .navbar-inner.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(224,224,224,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(204,204,204,.6)),to(rgba(255,255,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99cccccc', endColorstr='#99ffffff', GradientType=0)}#navbar .navbar-inner.transparent .nav>li>a:hover{background-color:rgba(222,222,222,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(242,242,242,.6)),to(rgba(191,191,191,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f2f2f2', endColorstr='#99bfbfbf', GradientType=0)}#navbar .navbar-inner.red{background-color:#bb645f;background-image:-moz-linear-gradient(top,#e28e8a,#802420);background-image:-webkit-gradient(linear,0 0,0 100%,from(#e28e8a),to(#802420));background-image:-webkit-linear-gradient(top,#e28e8a,#802420);background-image:-o-linear-gradient(top,#e28e8a,#802420);background-image:linear-gradient(to bottom,#e28e8a,#802420);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe28e8a', endColorstr='#ff802420', GradientType=0)}#navbar .navbar-inner.red .brand,#navbar .navbar-inner.red .nav>li>a{text-shadow:0 1px 0 #d86761;color:#f2f2f2}#navbar .navbar-inner.red .brand .caret,#navbar .navbar-inner.red .nav>li>a .caret{border-bottom-color:#d89491;border-top-color:#d89491}#navbar .navbar-inner.red .brand:focus .caret,#navbar .navbar-inner.red .brand:hover .caret,#navbar .navbar-inner.red .nav>li>a:focus .caret,#navbar .navbar-inner.red .nav>li>a:hover .caret{border-bottom-color:#e5c3c1;border-top-color:#e5c3c1}#navbar .navbar-inner.red .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.red .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.red .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.red .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.red .nav>li.dropdown.open>.dropdown-toggle{background-color:#a74f4a;background-image:-moz-linear-gradient(top,#802420,#e28e8a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#802420),to(#e28e8a));background-image:-webkit-linear-gradient(top,#802420,#e28e8a);background-image:-o-linear-gradient(top,#802420,#e28e8a);background-image:linear-gradient(to bottom,#802420,#e28e8a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff802420', endColorstr='#ffe28e8a', GradientType=0)}#navbar .navbar-inner.red .nav>li>a:hover{background-color:#af5651;background-image:-moz-linear-gradient(top,#dd7a75,#6b1f1b);background-image:-webkit-gradient(linear,0 0,0 100%,from(#dd7a75),to(#6b1f1b));background-image:-webkit-linear-gradient(top,#dd7a75,#6b1f1b);background-image:-o-linear-gradient(top,#dd7a75,#6b1f1b);background-image:linear-gradient(to bottom,#dd7a75,#6b1f1b);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdd7a75', endColorstr='#ff6b1f1b', GradientType=0)}#navbar .navbar-inner.red.transparent{background-color:rgba(187,100,95,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(226,142,138,.6)),to(rgba(128,36,32,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99e28e8a', endColorstr='#99802420', GradientType=0)}#navbar .navbar-inner.red.transparent .brand,#navbar .navbar-inner.red.transparent .nav>li>a{text-shadow:0 1px 0 #d86761;color:#f2f2f2}#navbar .navbar-inner.red.transparent .brand .caret,#navbar .navbar-inner.red.transparent .nav>li>a .caret{border-bottom-color:#d89491;border-top-color:#d89491}#navbar .navbar-inner.red.transparent .brand:focus .caret,#navbar .navbar-inner.red.transparent .brand:hover .caret,#navbar .navbar-inner.red.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.red.transparent .nav>li>a:hover .caret{border-bottom-color:#e5c3c1;border-top-color:#e5c3c1}#navbar .navbar-inner.red.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.red.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.red.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.red.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.red.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(167,79,74,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(128,36,32,.6)),to(rgba(226,142,138,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99802420', endColorstr='#99e28e8a', GradientType=0)}#navbar .navbar-inner.red.transparent .nav>li>a:hover{background-color:rgba(175,86,81,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(221,122,117,.6)),to(rgba(107,31,27,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99dd7a75', endColorstr='#996b1f1b', GradientType=0)}#navbar .navbar-inner.orange{background-color:#e39665;background-image:-moz-linear-gradient(top,#f9c3a0,#c2530c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9c3a0),to(#c2530c));background-image:-webkit-linear-gradient(top,#f9c3a0,#c2530c);background-image:-o-linear-gradient(top,#f9c3a0,#c2530c);background-image:linear-gradient(to bottom,#f9c3a0,#c2530c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9c3a0', endColorstr='#ffc2530c', GradientType=0)}#navbar .navbar-inner.orange .brand,#navbar .navbar-inner.orange .nav>li>a{text-shadow:0 1px 0 #f6a570;color:#f2f2f2}#navbar .navbar-inner.orange .brand .caret,#navbar .navbar-inner.orange .nav>li>a .caret{border-bottom-color:#f2b58d;border-top-color:#f2b58d}#navbar .navbar-inner.orange .brand:focus .caret,#navbar .navbar-inner.orange .brand:hover .caret,#navbar .navbar-inner.orange .nav>li>a:focus .caret,#navbar .navbar-inner.orange .nav>li>a:hover .caret{border-bottom-color:#f2d3bf;border-top-color:#f2d3bf}#navbar .navbar-inner.orange .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.orange .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.orange .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.orange .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.orange .nav>li.dropdown.open>.dropdown-toggle{background-color:#d88047;background-image:-moz-linear-gradient(top,#c2530c,#f9c3a0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c2530c),to(#f9c3a0));background-image:-webkit-linear-gradient(top,#c2530c,#f9c3a0);background-image:-o-linear-gradient(top,#c2530c,#f9c3a0);background-image:linear-gradient(to bottom,#c2530c,#f9c3a0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2530c', endColorstr='#fff9c3a0', GradientType=0)}#navbar .navbar-inner.orange .nav>li>a:hover{background-color:#d98956;background-image:-moz-linear-gradient(top,#f8b488,#aa490a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f8b488),to(#aa490a));background-image:-webkit-linear-gradient(top,#f8b488,#aa490a);background-image:-o-linear-gradient(top,#f8b488,#aa490a);background-image:linear-gradient(to bottom,#f8b488,#aa490a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8b488', endColorstr='#ffaa490a', GradientType=0)}#navbar .navbar-inner.orange.transparent{background-color:rgba(227,150,101,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(249,195,160,.6)),to(rgba(194,83,12,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f9c3a0', endColorstr='#99c2530c', GradientType=0)}#navbar .navbar-inner.orange.transparent .brand,#navbar .navbar-inner.orange.transparent .nav>li>a{text-shadow:0 1px 0 #f6a570;color:#f2f2f2}#navbar .navbar-inner.orange.transparent .brand .caret,#navbar .navbar-inner.orange.transparent .nav>li>a .caret{border-bottom-color:#f2b58d;border-top-color:#f2b58d}#navbar .navbar-inner.orange.transparent .brand:focus .caret,#navbar .navbar-inner.orange.transparent .brand:hover .caret,#navbar .navbar-inner.orange.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.orange.transparent .nav>li>a:hover .caret{border-bottom-color:#f2d3bf;border-top-color:#f2d3bf}#navbar .navbar-inner.orange.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.orange.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.orange.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.orange.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.orange.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(216,128,71,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(194,83,12,.6)),to(rgba(249,195,160,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c2530c', endColorstr='#99f9c3a0', GradientType=0)}#navbar .navbar-inner.orange.transparent .nav>li>a:hover{background-color:rgba(217,137,86,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(248,180,136,.6)),to(rgba(170,73,10,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f8b488', endColorstr='#99aa490a', GradientType=0)}#navbar .navbar-inner.yellow{background-color:#e3d765;background-image:-moz-linear-gradient(top,#f9f0a0,#c2b00c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9f0a0),to(#c2b00c));background-image:-webkit-linear-gradient(top,#f9f0a0,#c2b00c);background-image:-o-linear-gradient(top,#f9f0a0,#c2b00c);background-image:linear-gradient(to bottom,#f9f0a0,#c2b00c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f0a0', endColorstr='#ffc2b00c', GradientType=0)}#navbar .navbar-inner.yellow .brand,#navbar .navbar-inner.yellow .nav>li>a{text-shadow:0 1px 0 #c2b00c;color:#f2f2f2}#navbar .navbar-inner.yellow .brand .caret,#navbar .navbar-inner.yellow .nav>li>a .caret{border-bottom-color:#f2e88d;border-top-color:#f2e88d}#navbar .navbar-inner.yellow .brand:focus .caret,#navbar .navbar-inner.yellow .brand:hover .caret,#navbar .navbar-inner.yellow .nav>li>a:focus .caret,#navbar .navbar-inner.yellow .nav>li>a:hover .caret{border-bottom-color:#f2edbf;border-top-color:#f2edbf}#navbar .navbar-inner.yellow .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.yellow .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.yellow .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.yellow .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.yellow .nav>li.dropdown.open>.dropdown-toggle{background-color:#d8ca47;background-image:-moz-linear-gradient(top,#c2b00c,#f9f0a0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c2b00c),to(#f9f0a0));background-image:-webkit-linear-gradient(top,#c2b00c,#f9f0a0);background-image:-o-linear-gradient(top,#c2b00c,#f9f0a0);background-image:linear-gradient(to bottom,#c2b00c,#f9f0a0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2b00c', endColorstr='#fff9f0a0', GradientType=0)}#navbar .navbar-inner.yellow .nav>li>a:hover{background-color:#d9cc56;background-image:-moz-linear-gradient(top,#f8ed88,#aa9a0a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f8ed88),to(#aa9a0a));background-image:-webkit-linear-gradient(top,#f8ed88,#aa9a0a);background-image:-o-linear-gradient(top,#f8ed88,#aa9a0a);background-image:linear-gradient(to bottom,#f8ed88,#aa9a0a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8ed88', endColorstr='#ffaa9a0a', GradientType=0)}#navbar .navbar-inner.yellow.transparent{background-color:rgba(227,215,101,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(249,240,160,.6)),to(rgba(194,176,12,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f9f0a0', endColorstr='#99c2b00c', GradientType=0)}#navbar .navbar-inner.yellow.transparent .brand,#navbar .navbar-inner.yellow.transparent .nav>li>a{text-shadow:0 1px 0 #c2b00c;color:#f2f2f2}#navbar .navbar-inner.yellow.transparent .brand .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a .caret{border-bottom-color:#f2e88d;border-top-color:#f2e88d}#navbar .navbar-inner.yellow.transparent .brand:focus .caret,#navbar .navbar-inner.yellow.transparent .brand:hover .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a:hover .caret{border-bottom-color:#f2edbf;border-top-color:#f2edbf}#navbar .navbar-inner.yellow.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.yellow.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(216,202,71,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(194,176,12,.6)),to(rgba(249,240,160,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c2b00c', endColorstr='#99f9f0a0', GradientType=0)}#navbar .navbar-inner.yellow.transparent .nav>li>a:hover{background-color:rgba(217,204,86,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(248,237,136,.6)),to(rgba(170,154,10,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f8ed88', endColorstr='#99aa9a0a', GradientType=0)}#navbar .navbar-inner.green{background-color:#98f064;background-image:-moz-linear-gradient(top,#c8ffa7,#50da00);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8ffa7),to(#50da00));background-image:-webkit-linear-gradient(top,#c8ffa7,#50da00);background-image:-o-linear-gradient(top,#c8ffa7,#50da00);background-image:linear-gradient(to bottom,#c8ffa7,#50da00);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8ffa7', endColorstr='#ff50da00', GradientType=0)}#navbar .navbar-inner.green .brand,#navbar .navbar-inner.green .nav>li>a{text-shadow:0 1px 0 #50da00;color:#333}#navbar .navbar-inner.green .brand .caret,#navbar .navbar-inner.green .nav>li>a .caret{border-bottom-color:#55992e;border-top-color:#55992e}#navbar .navbar-inner.green .brand:focus .caret,#navbar .navbar-inner.green .brand:hover .caret,#navbar .navbar-inner.green .nav>li>a:focus .caret,#navbar .navbar-inner.green .nav>li>a:hover .caret{border-bottom-color:#446630;border-top-color:#446630}#navbar .navbar-inner.green .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.green .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.green .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.green .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.green .nav>li.dropdown.open>.dropdown-toggle{background-color:#80e943;background-image:-moz-linear-gradient(top,#50da00,#c8ffa7);background-image:-webkit-gradient(linear,0 0,0 100%,from(#50da00),to(#c8ffa7));background-image:-webkit-linear-gradient(top,#50da00,#c8ffa7);background-image:-o-linear-gradient(top,#50da00,#c8ffa7);background-image:linear-gradient(to bottom,#50da00,#c8ffa7);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff50da00', endColorstr='#ffc8ffa7', GradientType=0)}#navbar .navbar-inner.green .nav>li>a:hover{background-color:#8ae655;background-image:-moz-linear-gradient(top,#b8ff8e,#47c100);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b8ff8e),to(#47c100));background-image:-webkit-linear-gradient(top,#b8ff8e,#47c100);background-image:-o-linear-gradient(top,#b8ff8e,#47c100);background-image:linear-gradient(to bottom,#b8ff8e,#47c100);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb8ff8e', endColorstr='#ff47c100', GradientType=0)}#navbar .navbar-inner.green.transparent{background-color:rgba(152,240,100,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,255,167,.6)),to(rgba(80,218,0,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8ffa7', endColorstr='#9950da00', GradientType=0)}#navbar .navbar-inner.green.transparent .brand,#navbar .navbar-inner.green.transparent .nav>li>a{text-shadow:0 1px 0 #50da00;color:#333}#navbar .navbar-inner.green.transparent .brand .caret,#navbar .navbar-inner.green.transparent .nav>li>a .caret{border-bottom-color:#55992e;border-top-color:#55992e}#navbar .navbar-inner.green.transparent .brand:focus .caret,#navbar .navbar-inner.green.transparent .brand:hover .caret,#navbar .navbar-inner.green.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.green.transparent .nav>li>a:hover .caret{border-bottom-color:#446630;border-top-color:#446630}#navbar .navbar-inner.green.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.green.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.green.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.green.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.green.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(128,233,67,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(80,218,0,.6)),to(rgba(200,255,167,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9950da00', endColorstr='#99c8ffa7', GradientType=0)}#navbar .navbar-inner.green.transparent .nav>li>a:hover{background-color:rgba(138,230,85,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(184,255,142,.6)),to(rgba(71,193,0,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99b8ff8e', endColorstr='#9947c100', GradientType=0)}#navbar .navbar-inner.blue{background-color:#2e63cc;background-image:-moz-linear-gradient(top,#4d88ff,#002b80);background-image:-webkit-gradient(linear,0 0,0 100%,from(#4d88ff),to(#002b80));background-image:-webkit-linear-gradient(top,#4d88ff,#002b80);background-image:-o-linear-gradient(top,#4d88ff,#002b80);background-image:linear-gradient(to bottom,#4d88ff,#002b80);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4d88ff', endColorstr='#ff002b80', GradientType=0)}#navbar .navbar-inner.blue .brand,#navbar .navbar-inner.blue .nav>li>a{text-shadow:0 1px 0 #1a66ff;color:#f2f2f2}#navbar .navbar-inner.blue .brand .caret,#navbar .navbar-inner.blue .nav>li>a .caret{border-bottom-color:#799bdf;border-top-color:#799bdf}#navbar .navbar-inner.blue .brand:focus .caret,#navbar .navbar-inner.blue .brand:hover .caret,#navbar .navbar-inner.blue .nav>li>a:focus .caret,#navbar .navbar-inner.blue .nav>li>a:hover .caret{border-bottom-color:#b6c7e9;border-top-color:#b6c7e9}#navbar .navbar-inner.blue .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.blue .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.blue .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.blue .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.blue .nav>li.dropdown.open>.dropdown-toggle{background-color:#1f50b3;background-image:-moz-linear-gradient(top,#002b80,#4d88ff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#002b80),to(#4d88ff));background-image:-webkit-linear-gradient(top,#002b80,#4d88ff);background-image:-o-linear-gradient(top,#002b80,#4d88ff);background-image:linear-gradient(to bottom,#002b80,#4d88ff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff002b80', endColorstr='#ff4d88ff', GradientType=0)}#navbar .navbar-inner.blue .nav>li>a:hover{background-color:#1f55c2;background-image:-moz-linear-gradient(top,#37f,#026);background-image:-webkit-gradient(linear,0 0,0 100%,from(#37f),to(#026));background-image:-webkit-linear-gradient(top,#37f,#026);background-image:-o-linear-gradient(top,#37f,#026);background-image:linear-gradient(to bottom,#37f,#026);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3377ff', endColorstr='#ff002266', GradientType=0)}#navbar .navbar-inner.blue.transparent{background-color:rgba(46,99,204,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(77,136,255,.6)),to(rgba(0,43,128,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#994d88ff', endColorstr='#99002b80', GradientType=0)}#navbar .navbar-inner.blue.transparent .brand,#navbar .navbar-inner.blue.transparent .nav>li>a{text-shadow:0 1px 0 #1a66ff;color:#f2f2f2}#navbar .navbar-inner.blue.transparent .brand .caret,#navbar .navbar-inner.blue.transparent .nav>li>a .caret{border-bottom-color:#799bdf;border-top-color:#799bdf}#navbar .navbar-inner.blue.transparent .brand:focus .caret,#navbar .navbar-inner.blue.transparent .brand:hover .caret,#navbar .navbar-inner.blue.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.blue.transparent .nav>li>a:hover .caret{border-bottom-color:#b6c7e9;border-top-color:#b6c7e9}#navbar .navbar-inner.blue.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.blue.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.blue.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.blue.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.blue.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(31,80,179,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,43,128,.6)),to(rgba(77,136,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99002b80', endColorstr='#994d88ff', GradientType=0)}#navbar .navbar-inner.blue.transparent .nav>li>a:hover{background-color:rgba(31,85,194,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(51,119,255,.6)),to(rgba(0,34,102,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#993377ff', endColorstr='#99002266', GradientType=0)}#navbar .navbar-inner.violet{background-color:#9864f0;background-image:-moz-linear-gradient(top,#c8a7ff,#5000da);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8a7ff),to(#5000da));background-image:-webkit-linear-gradient(top,#c8a7ff,#5000da);background-image:-o-linear-gradient(top,#c8a7ff,#5000da);background-image:linear-gradient(to bottom,#c8a7ff,#5000da);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8a7ff', endColorstr='#ff5000da', GradientType=0)}#navbar .navbar-inner.violet .brand,#navbar .navbar-inner.violet .nav>li>a{text-shadow:0 1px 0 #a774ff;color:#f2f2f2}#navbar .navbar-inner.violet .brand .caret,#navbar .navbar-inner.violet .nav>li>a .caret{border-bottom-color:#b58df9;border-top-color:#b58df9}#navbar .navbar-inner.violet .brand:focus .caret,#navbar .navbar-inner.violet .brand:hover .caret,#navbar .navbar-inner.violet .nav>li>a:focus .caret,#navbar .navbar-inner.violet .nav>li>a:hover .caret{border-bottom-color:#d3bff5;border-top-color:#d3bff5}#navbar .navbar-inner.violet .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.violet .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.violet .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.violet .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.violet .nav>li.dropdown.open>.dropdown-toggle{background-color:#8043e9;background-image:-moz-linear-gradient(top,#5000da,#c8a7ff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5000da),to(#c8a7ff));background-image:-webkit-linear-gradient(top,#5000da,#c8a7ff);background-image:-o-linear-gradient(top,#5000da,#c8a7ff);background-image:linear-gradient(to bottom,#5000da,#c8a7ff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5000da', endColorstr='#ffc8a7ff', GradientType=0)}#navbar .navbar-inner.violet .nav>li>a:hover{background-color:#8a55e6;background-image:-moz-linear-gradient(top,#b88eff,#4700c1);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b88eff),to(#4700c1));background-image:-webkit-linear-gradient(top,#b88eff,#4700c1);background-image:-o-linear-gradient(top,#b88eff,#4700c1);background-image:linear-gradient(to bottom,#b88eff,#4700c1);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb88eff', endColorstr='#ff4700c1', GradientType=0)}#navbar .navbar-inner.violet.transparent{background-color:rgba(152,100,240,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,167,255,.6)),to(rgba(80,0,218,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8a7ff', endColorstr='#995000da', GradientType=0)}#navbar .navbar-inner.violet.transparent .brand,#navbar .navbar-inner.violet.transparent .nav>li>a{text-shadow:0 1px 0 #a774ff;color:#f2f2f2}#navbar .navbar-inner.violet.transparent .brand .caret,#navbar .navbar-inner.violet.transparent .nav>li>a .caret{border-bottom-color:#b58df9;border-top-color:#b58df9}#navbar .navbar-inner.violet.transparent .brand:focus .caret,#navbar .navbar-inner.violet.transparent .brand:hover .caret,#navbar .navbar-inner.violet.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.violet.transparent .nav>li>a:hover .caret{border-bottom-color:#d3bff5;border-top-color:#d3bff5}#navbar .navbar-inner.violet.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.violet.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.violet.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.violet.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.violet.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(128,67,233,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(80,0,218,.6)),to(rgba(200,167,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#995000da', endColorstr='#99c8a7ff', GradientType=0)}#navbar .navbar-inner.violet.transparent .nav>li>a:hover{background-color:rgba(138,85,230,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(184,142,255,.6)),to(rgba(71,0,193,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99b88eff', endColorstr='#994700c1', GradientType=0)}#navbar .navbar-inner.black{background-color:#4f4f4f;background-image:-moz-linear-gradient(top,#787878,#121212);background-image:-webkit-gradient(linear,0 0,0 100%,from(#787878),to(#121212));background-image:-webkit-linear-gradient(top,#787878,#121212);background-image:-o-linear-gradient(top,#787878,#121212);background-image:linear-gradient(to bottom,#787878,#121212);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff787878', endColorstr='#ff121212', GradientType=0)}#navbar .navbar-inner.black .brand,#navbar .navbar-inner.black .nav>li>a{text-shadow:0 1px 0 #5e5e5e;color:#f2f2f2}#navbar .navbar-inner.black .brand .caret,#navbar .navbar-inner.black .nav>li>a .caret{border-bottom-color:#959595;border-top-color:#959595}#navbar .navbar-inner.black .brand:focus .caret,#navbar .navbar-inner.black .brand:hover .caret,#navbar .navbar-inner.black .nav>li>a:focus .caret,#navbar .navbar-inner.black .nav>li>a:hover .caret{border-bottom-color:#c4c4c4;border-top-color:#c4c4c4}#navbar .navbar-inner.black .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.black .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.black .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.black .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.black .nav>li.dropdown.open>.dropdown-toggle{background-color:#3b3b3b;background-image:-moz-linear-gradient(top,#121212,#787878);background-image:-webkit-gradient(linear,0 0,0 100%,from(#121212),to(#787878));background-image:-webkit-linear-gradient(top,#121212,#787878);background-image:-o-linear-gradient(top,#121212,#787878);background-image:linear-gradient(to bottom,#121212,#787878);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff121212', endColorstr='#ff787878', GradientType=0)}#navbar .navbar-inner.black .nav>li>a:hover{background-color:#424242;background-image:-moz-linear-gradient(top,#6b6b6b,#050505);background-image:-webkit-gradient(linear,0 0,0 100%,from(#6b6b6b),to(#050505));background-image:-webkit-linear-gradient(top,#6b6b6b,#050505);background-image:-o-linear-gradient(top,#6b6b6b,#050505);background-image:linear-gradient(to bottom,#6b6b6b,#050505);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6b6b6b', endColorstr='#ff050505', GradientType=0)}#navbar .navbar-inner.black.transparent{background-color:rgba(79,79,79,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(120,120,120,.6)),to(rgba(18,18,18,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99787878', endColorstr='#99121212', GradientType=0)}#navbar .navbar-inner.black.transparent .brand,#navbar .navbar-inner.black.transparent .nav>li>a{text-shadow:0 1px 0 #5e5e5e;color:#f2f2f2}#navbar .navbar-inner.black.transparent .brand .caret,#navbar .navbar-inner.black.transparent .nav>li>a .caret{border-bottom-color:#959595;border-top-color:#959595}#navbar .navbar-inner.black.transparent .brand:focus .caret,#navbar .navbar-inner.black.transparent .brand:hover .caret,#navbar .navbar-inner.black.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.black.transparent .nav>li>a:hover .caret{border-bottom-color:#c4c4c4;border-top-color:#c4c4c4}#navbar .navbar-inner.black.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.black.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.black.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.black.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.black.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(59,59,59,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(18,18,18,.6)),to(rgba(120,120,120,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99121212', endColorstr='#99787878', GradientType=0)}#navbar .navbar-inner.black.transparent .nav>li>a:hover{background-color:rgba(66,66,66,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(107,107,107,.6)),to(rgba(5,5,5,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#996b6b6b', endColorstr='#99050505', GradientType=0)}#navbar .navbar-inner.white{background-color:#e9e9e9;background-image:-moz-linear-gradient(top,#fff,#c8c8c8);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#c8c8c8));background-image:-webkit-linear-gradient(top,#fff,#c8c8c8);background-image:-o-linear-gradient(top,#fff,#c8c8c8);background-image:linear-gradient(to bottom,#fff,#c8c8c8);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffc8c8c8', GradientType=0)}#navbar .navbar-inner.white .brand,#navbar .navbar-inner.white .nav>li>a{text-shadow:0 1px 0 #c8c8c8;color:#333}#navbar .navbar-inner.white .brand .caret,#navbar .navbar-inner.white .nav>li>a .caret{border-bottom-color:#919191;border-top-color:#919191}#navbar .navbar-inner.white .brand:focus .caret,#navbar .navbar-inner.white .brand:hover .caret,#navbar .navbar-inner.white .nav>li>a:focus .caret,#navbar .navbar-inner.white .nav>li>a:hover .caret{border-bottom-color:#626262;border-top-color:#626262}#navbar .navbar-inner.white .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.white .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.white .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.white .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.white .nav>li.dropdown.open>.dropdown-toggle{background-color:#dedede;background-image:-moz-linear-gradient(top,#c8c8c8,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8c8c8),to(#fff));background-image:-webkit-linear-gradient(top,#c8c8c8,#fff);background-image:-o-linear-gradient(top,#c8c8c8,#fff);background-image:linear-gradient(to bottom,#c8c8c8,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8c8c8', endColorstr='#ffffffff', GradientType=0)}#navbar .navbar-inner.white .nav>li>a:hover{background-color:#dcdcdc;background-image:-moz-linear-gradient(top,#f2f2f2,#bbb);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#bbb));background-image:-webkit-linear-gradient(top,#f2f2f2,#bbb);background-image:-o-linear-gradient(top,#f2f2f2,#bbb);background-image:linear-gradient(to bottom,#f2f2f2,#bbb);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffbbbbbb', GradientType=0)}#navbar .navbar-inner.white.transparent{background-color:rgba(233,233,233,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.6)),to(rgba(200,200,200,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#99c8c8c8', GradientType=0)}#navbar .navbar-inner.white.transparent .brand,#navbar .navbar-inner.white.transparent .nav>li>a{text-shadow:0 1px 0 #c8c8c8;color:#333}#navbar .navbar-inner.white.transparent .brand .caret,#navbar .navbar-inner.white.transparent .nav>li>a .caret{border-bottom-color:#919191;border-top-color:#919191}#navbar .navbar-inner.white.transparent .brand:focus .caret,#navbar .navbar-inner.white.transparent .brand:hover .caret,#navbar .navbar-inner.white.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.white.transparent .nav>li>a:hover .caret{border-bottom-color:#626262;border-top-color:#626262}#navbar .navbar-inner.white.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.white.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.white.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.white.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.white.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(222,222,222,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,200,200,.6)),to(rgba(255,255,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8c8c8', endColorstr='#99ffffff', GradientType=0)}#navbar .navbar-inner.white.transparent .nav>li>a:hover{background-color:rgba(220,220,220,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(242,242,242,.6)),to(rgba(187,187,187,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f2f2f2', endColorstr='#99bbbbbb', GradientType=0)}#navbar .navbar-inner .brand{padding:10px 20px 6px}#navbar .navbar-inner .brand span{padding-left:26px;background-size:20px 20px;background-repeat:no-repeat;display:inline-block;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top;line-height:20px;height:24px}#navbar_login a.dropdown-toggle span{display:inline-block;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top}.octoprint-container{margin-top:20px}.octoprint-container .tab-content{padding:9px 15px;border-left:1px solid #DDD;border-right:1px solid #DDD;border-bottom:1px solid #DDD;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.octoprint-container .nav{margin-bottom:0}.octoprint-container .tab-content h1{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:40px;color:#333;border:0;border-bottom:1px solid #E5E5E5;font-weight:400}.octoprint-container .accordion-heading .accordion-heading-button{float:right}.octoprint-container .accordion-heading .accordion-heading-button a{display:inline-block;padding:8px 15px;font-size:14px;line-height:20px;color:#000;text-decoration:none;background:0 0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.octoprint-container .accordion-heading a.accordion-toggle{display:inline-block}.octoprint-container .accordion-heading [class*=" icon-"],.octoprint-container .accordion-heading [class^=icon-]{color:#000}.print-control .btn{padding-left:4px;padding-right:4px}.upload-buttons .btn{margin-right:0}table{table-layout:fixed}table .popover-title{text-overflow:ellipsis;word-break:break-all}table td,table th{overflow:hidden}table td.gcode_files_name,table th.gcode_files_name{text-overflow:ellipsis;text-align:left;white-space:nowrap}table td.gcode_files_action,table th.gcode_files_action{width:90px;text-align:center;white-space:nowrap}table td.gcode_files_action a,table th.gcode_files_action a{text-decoration:none;color:#000}table td.gcode_files_action a.disabled,table th.gcode_files_action a.disabled{color:#ccc;cursor:default}table td.timelapse_files_checkbox,table td.timelapse_unrendered_checkbox,table th.timelapse_files_checkbox,table th.timelapse_unrendered_checkbox{text-align:center;width:10px}table td.timelapse_files_checkbox input[type=checkbox],table td.timelapse_unrendered_checkbox input[type=checkbox],table th.timelapse_files_checkbox input[type=checkbox],table th.timelapse_unrendered_checkbox input[type=checkbox]{margin-top:0}table td.timelapse_files_name,table td.timelapse_unrendered_name,table th.timelapse_files_name,table th.timelapse_unrendered_name{text-overflow:ellipsis;text-align:left}table td.timelapse_files_size,table td.timelapse_unrendered_size,table th.timelapse_files_size,table th.timelapse_unrendered_size{text-align:right;width:55px}table td.timelapse_unrendered_count,table th.timelapse_unrendered_count{text-align:right;width:45px}table td.timelapse_files_action,table td.timelapse_unrendered_action,table th.timelapse_files_action,table th.timelapse_unrendered_action{width:45px;text-align:center;white-space:nowrap}table td.timelapse_files_action a,table td.timelapse_unrendered_action a,table th.timelapse_files_action a,table th.timelapse_unrendered_action a{text-decoration:none;color:#000}table td.timelapse_files_action a.disabled,table td.timelapse_unrendered_action a.disabled,table th.timelapse_files_action a.disabled,table th.timelapse_unrendered_action a.disabled{color:#ccc;cursor:default}table td.settings_users_name,table th.settings_users_name{text-overflow:ellipsis;text-align:left;width:100px}table td.settings_users_active,table th.settings_users_active{text-align:center;width:55px}table td table.settings_users_details_table,table th table.settings_users_details_table{font-size:.8em;margin-bottom:0}table td table.settings_users_details_table .settings_users_details_key,table th table.settings_users_details_table .settings_users_details_key{width:100px}table td table.settings_users_details_table td,table td table.settings_users_details_table th,table th table.settings_users_details_table td,table th table.settings_users_details_table th{border:0;padding:0}table td.settings_groups_default,table th.settings_groups_default{text-align:center;width:20px}table td.settings_groups_name,table th.settings_groups_name{width:180px}table td table.settings_groups_details_table,table th table.settings_groups_details_table{font-size:.8em;margin-bottom:0}table td table.settings_groups_details_table .settings_groups_details_key,table th table.settings_groups_details_table .settings_groups_details_key{width:100px}table td table.settings_groups_details_table td,table td table.settings_groups_details_table th,table th table.settings_groups_details_table td,table th table.settings_groups_details_table th{border:0;padding:0}table td.settings_groups_actions,table td.settings_users_actions,table th.settings_groups_actions,table th.settings_users_actions{width:60px;text-align:center;white-space:nowrap}table td.settings_groups_actions a,table td.settings_users_actions a,table th.settings_groups_actions a,table th.settings_users_actions a{text-decoration:none;color:#000}table td.settings_groups_actions a.disabled,table td.settings_users_actions a.disabled,table th.settings_groups_actions a.disabled,table th.settings_users_actions a.disabled{color:#ccc;cursor:default}table td.settings_accesscontrol_groups_list_checkbox,table td.settings_accesscontrol_permissions_list_checkbox,table td.settings_accesscontrol_subgroups_list_checkbox,table th.settings_accesscontrol_groups_list_checkbox,table th.settings_accesscontrol_permissions_list_checkbox,table th.settings_accesscontrol_subgroups_list_checkbox{width:20px}table td #settings-usersDialogAddUser,table td #settings-usersDialogEditUser,table th #settings-usersDialogAddUser,table th #settings-usersDialogEditUser{position:relative;top:50%;transform:translateY(-50%);margin-top:0!important}table td.settings_printerProfiles_profiles_name,table th.settings_printerProfiles_profiles_name{text-overflow:ellipsis;text-align:left}table td.settings_printerProfiles_profiles_model,table th.settings_printerProfiles_profiles_model{text-align:left;width:250px}table td.settings_printerProfiles_profiles_action,table th.settings_printerProfiles_profiles_action{width:80px;text-align:center;white-space:nowrap}table td.settings_printerProfiles_profiles_action a,table th.settings_printerProfiles_profiles_action a{text-decoration:none;color:#000}table td.settings_printerProfiles_profiles_action a.disabled,table th.settings_printerProfiles_profiles_action a.disabled{color:#ccc;cursor:default}#temperature-graph{height:350px;width:100%;background:url(../img/graph-background.png) center no-repeat}#temperature-table{table-layout:fixed;width:100%;margin-top:20px}#temperature-table td.temperature_actual,#temperature-table td.temperature_offset,#temperature-table td.temperature_target,#temperature-table td.temperature_tool,#temperature-table th.temperature_actual,#temperature-table th.temperature_offset,#temperature-table th.temperature_target,#temperature-table th.temperature_tool{vertical-align:middle;text-align:center}#temperature-table td.temperature_actual form,#temperature-table td.temperature_offset form,#temperature-table td.temperature_target form,#temperature-table td.temperature_tool form,#temperature-table th.temperature_actual form,#temperature-table th.temperature_offset form,#temperature-table th.temperature_target form,#temperature-table th.temperature_tool form{margin:0}#temperature-table td.temperature_actual .dropdown-menu,#temperature-table td.temperature_offset .dropdown-menu,#temperature-table td.temperature_target .dropdown-menu,#temperature-table td.temperature_tool .dropdown-menu,#temperature-table th.temperature_actual .dropdown-menu,#temperature-table th.temperature_offset .dropdown-menu,#temperature-table th.temperature_target .dropdown-menu,#temperature-table th.temperature_tool .dropdown-menu{text-align:left}#temperature-table td.temperature_tool,#temperature-table th.temperature_tool{width:16%;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#temperature-table td.temperature_actual,#temperature-table th.temperature_actual{width:12%}#temperature-table td.temperature_target,#temperature-table th.temperature_target{width:42%;overflow:visible}#temperature-table td.temperature_offset,#temperature-table th.temperature_offset{width:30%}.tab-content,.tab-pane{overflow:visible}#speed_fill,#speed_innerWall,#speed_outerWall,#speed_support,#temp_newBedTemp,#temp_newTemp,#webcam_timelapse_fps,#webcam_timelapse_interval,#webcam_timelapse_postRoll,#webcam_timelapse_retractionZHop{text-align:right}ul.dropdown-menu li a{cursor:pointer}#connection_baudrates,#connection_ports,#connection_printers{width:100%}#offline_overlay,#reloadui_overlay{position:fixed;top:0;left:0;width:100%;height:100%;display:none}#offline_overlay{z-index:10002}#reloadui_overlay{z-index:10001}#offline_overlay_background,#reloadui_overlay_background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#offline_overlay_wrapper,#reloadui_overlay_wrapper{position:absolute;top:0;bottom:0;left:0;right:0;padding-top:60px}#offline_overlay_wrapper .container,#reloadui_overlay_wrapper .container{margin:auto}#webcam_container{width:100%;position:relative;outline:0;background-color:#000}#webcam_container .keycontrol_overlay{position:absolute;left:10px;right:10px;bottom:10px;background:rgba(0,0,0,.5);font-size:85%;color:#fff;padding:0}#webcam_container .keycontrol_overlay kbd{border:1px solid #eee;border-radius:3px;margin-left:2px;margin-right:2px;font-size:90%;padding:2px;min-width:1em}#webcam_container .keycontrol_overlay .keycontrol_overlay_heading{position:relative;padding:10px;font-weight:700}#webcam_container .keycontrol_overlay .keycontrol_overlay_column{position:relative;width:45%;padding:10px;float:left}#webcam_container .nowebcam{position:absolute;top:0;left:0;right:0;bottom:0}#webcam_container .nowebcam .text{color:#fff;text-align:center;position:relative;margin:auto;width:80%;top:50%;transform:translateY(-50%);display:block}#webcam_container .nowebcam .text.webcam_loading{animation:pulsate 3s ease-out;animation-iteration-count:infinite}#webcam_container .webcam_rotated{position:relative;width:100%;padding-bottom:100%;pointer-events:none}#webcam_container .webcam_rotated .webcam_fixed_ratio{position:absolute;transform:rotate(-90deg);top:0;bottom:0;pointer-events:none}#webcam_container .webcam_rotated .webcam_fixed_ratio .webcam_fixed_ratio_inner{width:100%;height:100%;pointer-events:none}#webcam_container .webcam_unrotated .webcam_fixed_ratio{width:100%;pointer-events:none;padding-bottom:100%;position:relative}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio43{padding-bottom:75%}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio169{padding-bottom:56.25%}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio1610{padding-bottom:62.5%}#webcam_container .webcam_unrotated .webcam_fixed_ratio .webcam_fixed_ratio_inner{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none}#webcam_container img{width:100%;height:100%;object-fit:contain}#state_wrapper hr{margin:5px 0}#files .gcode_files .scroll-wrapper{overflow-x:hidden;overflow-y:scroll;height:306px;padding-right:2px}#files .gcode_files .entry{padding:5px;line-height:20px;border-bottom:1px solid #ddd;position:relative}#files .gcode_files .entry:hover{background-color:#f5f5f5}#files .gcode_files .entry .title{text-overflow:ellipsis;word-break:break-all}#files .gcode_files .entry .toggleAdditionalData{margin-left:5px}#files .gcode_files .entry .additionalInfo,#files .gcode_files .entry .internal,#files .gcode_files .entry .size,#files .gcode_files .entry .uploaded{font-size:85%;color:#999}#files .gcode_files .entry .uploaded [title]{cursor:help}#files .gcode_files .entry .internal{word-break:break-all}#files .gcode_files .entry .action-buttons{position:absolute;bottom:5px;right:5px}#files .gcode_files .entry .additionalInfo{padding-bottom:22px}@keyframes highlightframes{0%{background:#ff0}100%{background:0 0}}#files .gcode_files .entry.highlight{animation:highlightframes 2s}#files .gcode_files .back .back-path{white-space:nowrap}#files .gcode_files .back .back-path span{word-wrap:break-word;white-space:pre-line}#files .upload-buttons{margin-top:10px}#files .form-search{text-align:center;margin-bottom:5px!important}#control{overflow:hidden}#control .jog-panel{float:left;margin-right:19px}#control h1{text-align:left}#control .jog-panel>div{text-align:center}#control .jog-panel>div.distance{text-align:left}#control .jog-panel .slider{margin-bottom:10px}#control .box{width:30px;height:30px;margin-right:10px;margin-bottom:10px;padding-left:8px}#control .control-box{display:block;height:30px;margin-bottom:10px}#control .btn-group{margin-bottom:10px}#control .btn-group.distance>.btn{width:43px;padding:3px 0;height:30px}#control .slider-handle{width:14px;height:14px;margin-left:-7px;margin-top:-3px}#control .custom_section h1{cursor:pointer}#control .custom_section_horizontal>.custom_control{display:inline-block}#control .custom_section_vertical>.custom_control{display:block}#control .custom_control .slider{margin-left:10px;margin-right:10px;margin-bottom:2px}#control .pulsate_text_opacity{animation:pulsate_input 1s ease-out;animation-iteration-count:infinite}@keyframes pulsate_input{0%{color:#555}50%{color:rgba(85,85,85,.2)}100%{color:#555}}#gcode .progress{width:588px}#gcode .progress .bar{-webkit-transition:width 0s linear;-moz-transition:width 0s linear;-o-transition:width 0s linear;transition:width 0s linear}#gcode .canvas_container{position:relative}#gcode .canvas_container:active,#gcode .canvas_container:hover{outline:0}#gcode .layer-buttons{padding-top:5px;padding-bottom:7px}#gcode #gcode_layer_slider{position:absolute;right:0;top:0;height:568px;float:right}#gcode #gcode_layer_slider .slider-handle{width:14px;height:14px;margin-left:-3px;margin-top:-7px}#gcode #gcode_command_slider .slider-handle{width:14px;height:14px;margin-left:-7px;margin-top:-3px}#term .terminal{margin-bottom:30px}#term .terminal #terminal-output,#term .terminal #terminal-output-lowfi{min-height:340px;margin-bottom:5px}#settings_dialog .aboutlink{float:left}#settings_dialog_menu,#wizard_dialog_menu{margin-left:0}#wizard_firstrun_acl .acl_decision{margin-top:1em}#wizard_firstrun_end p,#wizard_firstrun_start p{margin-bottom:1.5em;line-height:1.5}#settings_appearance_managelanguagesdialog_list{width:auto;height:300px;overflow-x:hidden;overflow-y:scroll;padding-right:2px}#settings_appearance_managelanguagesdialog_emptylist{overflow:hidden;width:100%;height:300px;text-align:center;display:table}#settings_appearance_managelanguagesdialog_emptylist div{display:table-cell;vertical-align:middle}.footer ul{margin:0}.footer ul li{display:inline;margin-left:1em;font-size:85%}.footer ul li:first-child{margin-left:0}.footer ul li a{color:#555}.footer #footer_link,.footer #footer_version{max-width:50%}.ui-pnotify{position:fixed}.ui-pnotify .alert a{color:#c09853}.ui-pnotify .alert-danger a,.ui-pnotify .alert-error a{color:#b94a48}.ui-pnotify .alert-success a{color:#468847}.ui-pnotify .alert-info a{color:#3a87ad}.pnotify_additional_info .pnotify_more{font-size:85%}.text-right{text-align:right}.text-center{text-align:center}.text-block{display:block}.overflow_visible{overflow:visible!important}.clickable{cursor:pointer}.border_box{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.hidden{display:none}textarea.block{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}@keyframes pulsate{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}#drop_overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:none}#drop_overlay.in{display:block}#drop_overlay #drop_overlay_background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#drop_overlay #drop_overlay_wrapper{position:absolute;top:0;bottom:0;left:0;right:0;padding-top:60px}#drop_overlay #drop_overlay_wrapper #drop,#drop_overlay #drop_overlay_wrapper #drop_background{position:absolute;top:0;left:0;margin-left:0;width:100%}#drop_overlay #drop_overlay_wrapper #drop_locally,#drop_overlay #drop_overlay_wrapper #drop_locally_background{position:absolute;top:0;left:50%;margin-left:-50%;width:50%;border-right:2px dashed #ccc}#drop_overlay #drop_overlay_wrapper #drop_sd,#drop_overlay #drop_overlay_wrapper #drop_sd_background{position:absolute;top:0;left:50%;margin-left:0;width:50%;border-left:2px dashed #ccc}#drop_overlay #drop_overlay_wrapper .dropzone{height:100%;z-index:10001;color:#fff;font-size:30px}#drop_overlay #drop_overlay_wrapper .dropzone i{font-size:50px}#drop_overlay #drop_overlay_wrapper .dropzone .text{display:block;text-align:center;line-height:40px;position:absolute;width:100%;bottom:5%;filter:alpha(opacity=100);-moz-opacity:1;-khtml-opacity:1;opacity:1}#drop_overlay #drop_overlay_wrapper .dropzone_background{width:50%;height:100%;background-color:#000;filter:alpha(opacity=25);-moz-opacity:.25;-khtml-opacity:.25;opacity:.25}#drop_overlay #drop_overlay_wrapper .dropzone_background.hover{background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#drop_overlay #drop_overlay_wrapper .dropzone_background.fade{-webkit-transition:all .3s ease-out;-moz-transition:all .3s ease-out;-ms-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out;opacity:1}.icon-sd-black-14{background:url(../img/icon-sd-black-14.png) 0 3px no-repeat;width:11px;height:17px;display:inline-block!important}.center{float:none;margin-left:auto;margin-right:auto}.flipH{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1)}.flipV{-webkit-transform:scaleY(-1);-moz-transform:scaleY(-1);-ms-transform:scaleY(-1);transform:scaleY(-1)}.flipH.flipV{-webkit-transform:scaleX(-1) scaleY(-1);-moz-transform:scaleX(-1) scaleY(-1);-ms-transform:scaleX(-1) scaleY(-1);transform:scaleX(-1) scaleY(-1)}.rotate90{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ui-pnotify a{text-decoration:underline}.btn-mini .caret,.btn-small .caret{margin-top:8px}.dropdown-menu-right{right:0;left:auto}.slider .slider-selection{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.slider .slider-selection.active,.slider .slider-selection.disabled,.slider .slider-selection:active,.slider .slider-selection:focus,.slider .slider-selection:hover,.slider .slider-selection[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.slider .slider-selection.active,.slider .slider-selection:active{background-color:#039 \9}.slider.slider-disabled .slider-selection{background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-track{background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.slider.slider-disabled .slider-track{background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-handle{display:inline-block;*display:inline;*zoom:1;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;*background-color:#e6e6e6;border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);padding:0;margin-bottom:0;opacity:1;filter:alpha(opacity=100)}.slider .slider-handle.active,.slider .slider-handle.disabled,.slider .slider-handle:active,.slider .slider-handle:focus,.slider .slider-handle:hover,.slider .slider-handle[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.slider .slider-handle.active,.slider .slider-handle:active{background-color:#ccc \9}.slider .slider-handle:first-child{*margin-left:0}.slider .slider-handle:focus,.slider .slider-handle:hover{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.slider .slider-handle:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.slider .slider-handle.active,.slider .slider-handle:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.slider .slider-handle.disabled,.slider .slider-handle[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-handle.hide{display:none}.slider .slider-handle.round{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.modal.large{width:975px;margin-left:-487px}.full-sized-box{position:absolute;bottom:0;left:0;right:0;top:0;padding:15px}.full-sized-box .row-fluid{height:100%}@media (max-width:979px){.full-sized-box{position:static}}:root .full-sized-box,_::-webkit-full-page-media,_:future{position:static}.scrollable{height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.pre-output span{display:block}.input-append .add-on.add-on-limited,.input-prepend .add-on.add-on-limited{overflow-x:hidden;text-overflow:ellipsis;width:inherit}.input-append .btn-group:first-child .btn:first-child,.input-prepend .btn-group:first-child .btn:first-child{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-append .btn-group .btn:first-child,.input-prepend .btn-group .btn:first-child{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append.input-block-level,.input-prepend.input-block-level{display:table}.input-append.input-block-level .add-on,.input-prepend.input-block-level .add-on{display:table-cell;width:1%}.input-append.input-block-level>input,.input-prepend.input-block-level>input{box-sizing:border-box;display:table;min-height:inherit;width:100%}.input-append.input-block-level :not(:last-child),.input-prepend.input-block-level :not(:last-child){border-right:0}.control-group.error .input-append .fileinput-button,.control-group.error .input-prepend .fileinput-button{border-color:#b94a48}.control-text{padding-top:5px;cursor:default}input[type=number]{text-align:right}input[type=number].input-nospin::-webkit-inner-spin-button,input[type=number].input-nospin::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number].input-nospin{-moz-appearance:textfield}.progress-text,.progress-text-centered{position:relative}.progress-text .progress-text-back,.progress-text .progress-text-front,.progress-text-centered .progress-text-back,.progress-text-centered .progress-text-front{white-space:nowrap}.progress-text .progress-text-front,.progress-text-centered .progress-text-front{box-sizing:border-box;padding:0 10px;width:100%;display:block}.progress-text .progress-text-back,.progress-text-centered .progress-text-back{position:absolute;font-size:12px;line-height:20px;display:block;box-sizing:border-box;text-align:center;padding:0 10px}.progress-text .bar,.progress-text-centered .bar{position:absolute;overflow:hidden}.progress-text-centered .progress-text-front{position:absolute;font-size:12px;line-height:20px;display:block;text-align:center;color:#fff}.progress-text-centered .progress-text-back{width:100%}.search-query-with-clear{position:relative}.search-query-with-clear .search-clear{display:inline-block;color:#ccc;position:absolute;right:28px;height:20px;padding:4px 0;cursor:pointer;visibility:hidden}.search-query-with-clear.active-clear .search-query{padding-right:28px;width:192px}.search-query-with-clear.active-clear .search-clear{visibility:visible}.search-query-with-clear input::-ms-clear{display:none}.search-query-with-clear input[type=search]::-webkit-search-cancel-button,.search-query-with-clear input[type=search]::-webkit-search-decoration,.search-query-with-clear input[type=search]::-webkit-search-results-button,.search-query-with-clear input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}#navbar_login:not(.open) #login_dropdown_loggedout{display:block;z-index:-1;height:0;width:0;padding:0!important;overflow:hidden;border:0;box-shadow:none;left:-9999px}#navbar_login:not(.open) #login_dropdown_loggedout.hide{display:none}#loginForm{margin:0}#loginForm button{margin-top:20px}#page-container-loading{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:12301}#page-container-loading .wrapper{position:absolute;top:0;bottom:0;left:0;right:0}#page-container-loading .wrapper .outer{display:table;width:100%;height:100%}#page-container-loading .wrapper .outer .inner{display:table-cell;vertical-align:middle}#page-container-loading .wrapper .outer .inner .content{text-align:center}#page-container-noscript{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:12310}#page-container-noscript .wrapper{position:absolute;top:0;bottom:0;left:0;right:0}#page-container-noscript .wrapper .outer{display:table;width:100%;height:100%}#page-container-noscript .wrapper .outer .inner{display:table-cell;vertical-align:middle}#page-container-noscript .wrapper .outer .inner .content{text-align:center} \ No newline at end of file +.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;margin-bottom:0;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.btn.active,.btn.disabled,.btn:active,.btn:focus,.btn:hover,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn.active,.btn:active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:focus,.btn:hover{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.btn-large [class*=" icon-"],.btn-large [class^=icon-]{margin-top:4px}.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-small [class*=" icon-"],.btn-small [class^=icon-]{margin-top:0}.btn-mini [class*=" icon-"],.btn-mini [class^=icon-]{margin-top:-1px}.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary.active,.btn-primary.disabled,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary.active,.btn-primary:active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning.active,.btn-warning.disabled,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning.active,.btn-warning:active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-repeat:repeat-x;border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger.active,.btn-danger.disabled,.btn-danger:active,.btn-danger:focus,.btn-danger:hover,.btn-danger[disabled]{color:#fff;background-color:#bd362f;*background-color:#a9302a}.btn-danger.active,.btn-danger:active{background-color:#942a25 \9}.btn-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(to bottom,#62c462,#51a351);background-repeat:repeat-x;border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success.active,.btn-success.disabled,.btn-success:active,.btn-success:focus,.btn-success:hover,.btn-success[disabled]{color:#fff;background-color:#51a351;*background-color:#499249}.btn-success.active,.btn-success:active{background-color:#408140 \9}.btn-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(to bottom,#5bc0de,#2f96b4);background-repeat:repeat-x;border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info.active,.btn-info.disabled,.btn-info:active,.btn-info:focus,.btn-info:hover,.btn-info[disabled]{color:#fff;background-color:#2f96b4;*background-color:#2a85a0}.btn-info.active,.btn-info:active{background-color:#24748c \9}.btn-inverse{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#363636;background-image:-moz-linear-gradient(top,#444,#222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#444),to(#222));background-image:-webkit-linear-gradient(top,#444,#222);background-image:-o-linear-gradient(top,#444,#222);background-image:linear-gradient(to bottom,#444,#222);background-repeat:repeat-x;border-color:#222 #222 #000;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse.active,.btn-inverse.disabled,.btn-inverse:active,.btn-inverse:focus,.btn-inverse:hover,.btn-inverse[disabled]{color:#fff;background-color:#222;*background-color:#151515}.btn-inverse.active,.btn-inverse:active{background-color:#080808 \9}button.btn,input[type=submit].btn{*padding-top:3px;*padding-bottom:3px}button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type=submit].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type=submit].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type=submit].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-link,.btn-link:active,.btn-link[disabled]{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-link{border-color:transparent;cursor:pointer;color:#08c;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-link:focus,.btn-link:hover{color:#005580;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover{color:#333;text-decoration:none}.clearfix{*zoom:1}.clearfix:after,.clearfix:before{display:table;content:"";line-height:0}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.nowrap{white-space:nowrap}.actioncol{text-align:center;white-space:nowrap}.actioncol a{text-decoration:none;color:#000}.actioncol a.disabled{color:#ccc;cursor:default}#navbar .navbar-inner{background-color:#ebebeb;background-image:-moz-linear-gradient(top,#fff,#ccc);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#ccc));background-image:-webkit-linear-gradient(top,#fff,#ccc);background-image:-o-linear-gradient(top,#fff,#ccc);background-image:linear-gradient(to bottom,#fff,#ccc);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffcccccc', GradientType=0)}#navbar .navbar-inner .brand,#navbar .navbar-inner .nav>li>a{text-shadow:0 1px 0 #ccc;color:#333}#navbar .navbar-inner .brand .caret,#navbar .navbar-inner .nav>li>a .caret{border-bottom-color:#939393;border-top-color:#939393}#navbar .navbar-inner .brand:focus .caret,#navbar .navbar-inner .brand:hover .caret,#navbar .navbar-inner .nav>li>a:focus .caret,#navbar .navbar-inner .nav>li>a:hover .caret{border-bottom-color:#636363;border-top-color:#636363}#navbar .navbar-inner .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner .nav>li.dropdown.open>.dropdown-toggle{background-color:#e0e0e0;background-image:-moz-linear-gradient(top,#ccc,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ccc),to(#fff));background-image:-webkit-linear-gradient(top,#ccc,#fff);background-image:-o-linear-gradient(top,#ccc,#fff);background-image:linear-gradient(to bottom,#ccc,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcccccc', endColorstr='#ffffffff', GradientType=0)}#navbar .navbar-inner .nav>li>a:hover{background-color:#dedede;background-image:-moz-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#bfbfbf));background-image:-webkit-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:-o-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:linear-gradient(to bottom,#f2f2f2,#bfbfbf);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffbfbfbf', GradientType=0)}#navbar .navbar-inner.transparent{background-color:rgba(235,235,235,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.6)),to(rgba(204,204,204,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#99cccccc', GradientType=0)}#navbar .navbar-inner.transparent .brand,#navbar .navbar-inner.transparent .nav>li>a{text-shadow:0 1px 0 #ccc;color:#333}#navbar .navbar-inner.transparent .brand .caret,#navbar .navbar-inner.transparent .nav>li>a .caret{border-bottom-color:#939393;border-top-color:#939393}#navbar .navbar-inner.transparent .brand:focus .caret,#navbar .navbar-inner.transparent .brand:hover .caret,#navbar .navbar-inner.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.transparent .nav>li>a:hover .caret{border-bottom-color:#636363;border-top-color:#636363}#navbar .navbar-inner.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(224,224,224,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(204,204,204,.6)),to(rgba(255,255,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99cccccc', endColorstr='#99ffffff', GradientType=0)}#navbar .navbar-inner.transparent .nav>li>a:hover{background-color:rgba(222,222,222,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(242,242,242,.6)),to(rgba(191,191,191,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f2f2f2', endColorstr='#99bfbfbf', GradientType=0)}#navbar .navbar-inner.red{background-color:#bb645f;background-image:-moz-linear-gradient(top,#e28e8a,#802420);background-image:-webkit-gradient(linear,0 0,0 100%,from(#e28e8a),to(#802420));background-image:-webkit-linear-gradient(top,#e28e8a,#802420);background-image:-o-linear-gradient(top,#e28e8a,#802420);background-image:linear-gradient(to bottom,#e28e8a,#802420);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe28e8a', endColorstr='#ff802420', GradientType=0)}#navbar .navbar-inner.red .brand,#navbar .navbar-inner.red .nav>li>a{text-shadow:0 1px 0 #d86761;color:#f2f2f2}#navbar .navbar-inner.red .brand .caret,#navbar .navbar-inner.red .nav>li>a .caret{border-bottom-color:#d89491;border-top-color:#d89491}#navbar .navbar-inner.red .brand:focus .caret,#navbar .navbar-inner.red .brand:hover .caret,#navbar .navbar-inner.red .nav>li>a:focus .caret,#navbar .navbar-inner.red .nav>li>a:hover .caret{border-bottom-color:#e5c3c1;border-top-color:#e5c3c1}#navbar .navbar-inner.red .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.red .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.red .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.red .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.red .nav>li.dropdown.open>.dropdown-toggle{background-color:#a74f4a;background-image:-moz-linear-gradient(top,#802420,#e28e8a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#802420),to(#e28e8a));background-image:-webkit-linear-gradient(top,#802420,#e28e8a);background-image:-o-linear-gradient(top,#802420,#e28e8a);background-image:linear-gradient(to bottom,#802420,#e28e8a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff802420', endColorstr='#ffe28e8a', GradientType=0)}#navbar .navbar-inner.red .nav>li>a:hover{background-color:#af5651;background-image:-moz-linear-gradient(top,#dd7a75,#6b1f1b);background-image:-webkit-gradient(linear,0 0,0 100%,from(#dd7a75),to(#6b1f1b));background-image:-webkit-linear-gradient(top,#dd7a75,#6b1f1b);background-image:-o-linear-gradient(top,#dd7a75,#6b1f1b);background-image:linear-gradient(to bottom,#dd7a75,#6b1f1b);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdd7a75', endColorstr='#ff6b1f1b', GradientType=0)}#navbar .navbar-inner.red.transparent{background-color:rgba(187,100,95,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(226,142,138,.6)),to(rgba(128,36,32,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99e28e8a', endColorstr='#99802420', GradientType=0)}#navbar .navbar-inner.red.transparent .brand,#navbar .navbar-inner.red.transparent .nav>li>a{text-shadow:0 1px 0 #d86761;color:#f2f2f2}#navbar .navbar-inner.red.transparent .brand .caret,#navbar .navbar-inner.red.transparent .nav>li>a .caret{border-bottom-color:#d89491;border-top-color:#d89491}#navbar .navbar-inner.red.transparent .brand:focus .caret,#navbar .navbar-inner.red.transparent .brand:hover .caret,#navbar .navbar-inner.red.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.red.transparent .nav>li>a:hover .caret{border-bottom-color:#e5c3c1;border-top-color:#e5c3c1}#navbar .navbar-inner.red.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.red.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.red.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.red.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.red.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(167,79,74,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(128,36,32,.6)),to(rgba(226,142,138,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99802420', endColorstr='#99e28e8a', GradientType=0)}#navbar .navbar-inner.red.transparent .nav>li>a:hover{background-color:rgba(175,86,81,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(221,122,117,.6)),to(rgba(107,31,27,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99dd7a75', endColorstr='#996b1f1b', GradientType=0)}#navbar .navbar-inner.orange{background-color:#e39665;background-image:-moz-linear-gradient(top,#f9c3a0,#c2530c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9c3a0),to(#c2530c));background-image:-webkit-linear-gradient(top,#f9c3a0,#c2530c);background-image:-o-linear-gradient(top,#f9c3a0,#c2530c);background-image:linear-gradient(to bottom,#f9c3a0,#c2530c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9c3a0', endColorstr='#ffc2530c', GradientType=0)}#navbar .navbar-inner.orange .brand,#navbar .navbar-inner.orange .nav>li>a{text-shadow:0 1px 0 #f6a570;color:#f2f2f2}#navbar .navbar-inner.orange .brand .caret,#navbar .navbar-inner.orange .nav>li>a .caret{border-bottom-color:#f2b58d;border-top-color:#f2b58d}#navbar .navbar-inner.orange .brand:focus .caret,#navbar .navbar-inner.orange .brand:hover .caret,#navbar .navbar-inner.orange .nav>li>a:focus .caret,#navbar .navbar-inner.orange .nav>li>a:hover .caret{border-bottom-color:#f2d3bf;border-top-color:#f2d3bf}#navbar .navbar-inner.orange .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.orange .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.orange .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.orange .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.orange .nav>li.dropdown.open>.dropdown-toggle{background-color:#d88047;background-image:-moz-linear-gradient(top,#c2530c,#f9c3a0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c2530c),to(#f9c3a0));background-image:-webkit-linear-gradient(top,#c2530c,#f9c3a0);background-image:-o-linear-gradient(top,#c2530c,#f9c3a0);background-image:linear-gradient(to bottom,#c2530c,#f9c3a0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2530c', endColorstr='#fff9c3a0', GradientType=0)}#navbar .navbar-inner.orange .nav>li>a:hover{background-color:#d98956;background-image:-moz-linear-gradient(top,#f8b488,#aa490a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f8b488),to(#aa490a));background-image:-webkit-linear-gradient(top,#f8b488,#aa490a);background-image:-o-linear-gradient(top,#f8b488,#aa490a);background-image:linear-gradient(to bottom,#f8b488,#aa490a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8b488', endColorstr='#ffaa490a', GradientType=0)}#navbar .navbar-inner.orange.transparent{background-color:rgba(227,150,101,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(249,195,160,.6)),to(rgba(194,83,12,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f9c3a0', endColorstr='#99c2530c', GradientType=0)}#navbar .navbar-inner.orange.transparent .brand,#navbar .navbar-inner.orange.transparent .nav>li>a{text-shadow:0 1px 0 #f6a570;color:#f2f2f2}#navbar .navbar-inner.orange.transparent .brand .caret,#navbar .navbar-inner.orange.transparent .nav>li>a .caret{border-bottom-color:#f2b58d;border-top-color:#f2b58d}#navbar .navbar-inner.orange.transparent .brand:focus .caret,#navbar .navbar-inner.orange.transparent .brand:hover .caret,#navbar .navbar-inner.orange.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.orange.transparent .nav>li>a:hover .caret{border-bottom-color:#f2d3bf;border-top-color:#f2d3bf}#navbar .navbar-inner.orange.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.orange.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.orange.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.orange.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.orange.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(216,128,71,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(194,83,12,.6)),to(rgba(249,195,160,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c2530c', endColorstr='#99f9c3a0', GradientType=0)}#navbar .navbar-inner.orange.transparent .nav>li>a:hover{background-color:rgba(217,137,86,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(248,180,136,.6)),to(rgba(170,73,10,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f8b488', endColorstr='#99aa490a', GradientType=0)}#navbar .navbar-inner.yellow{background-color:#e3d765;background-image:-moz-linear-gradient(top,#f9f0a0,#c2b00c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9f0a0),to(#c2b00c));background-image:-webkit-linear-gradient(top,#f9f0a0,#c2b00c);background-image:-o-linear-gradient(top,#f9f0a0,#c2b00c);background-image:linear-gradient(to bottom,#f9f0a0,#c2b00c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f0a0', endColorstr='#ffc2b00c', GradientType=0)}#navbar .navbar-inner.yellow .brand,#navbar .navbar-inner.yellow .nav>li>a{text-shadow:0 1px 0 #c2b00c;color:#f2f2f2}#navbar .navbar-inner.yellow .brand .caret,#navbar .navbar-inner.yellow .nav>li>a .caret{border-bottom-color:#f2e88d;border-top-color:#f2e88d}#navbar .navbar-inner.yellow .brand:focus .caret,#navbar .navbar-inner.yellow .brand:hover .caret,#navbar .navbar-inner.yellow .nav>li>a:focus .caret,#navbar .navbar-inner.yellow .nav>li>a:hover .caret{border-bottom-color:#f2edbf;border-top-color:#f2edbf}#navbar .navbar-inner.yellow .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.yellow .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.yellow .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.yellow .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.yellow .nav>li.dropdown.open>.dropdown-toggle{background-color:#d8ca47;background-image:-moz-linear-gradient(top,#c2b00c,#f9f0a0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c2b00c),to(#f9f0a0));background-image:-webkit-linear-gradient(top,#c2b00c,#f9f0a0);background-image:-o-linear-gradient(top,#c2b00c,#f9f0a0);background-image:linear-gradient(to bottom,#c2b00c,#f9f0a0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2b00c', endColorstr='#fff9f0a0', GradientType=0)}#navbar .navbar-inner.yellow .nav>li>a:hover{background-color:#d9cc56;background-image:-moz-linear-gradient(top,#f8ed88,#aa9a0a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f8ed88),to(#aa9a0a));background-image:-webkit-linear-gradient(top,#f8ed88,#aa9a0a);background-image:-o-linear-gradient(top,#f8ed88,#aa9a0a);background-image:linear-gradient(to bottom,#f8ed88,#aa9a0a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8ed88', endColorstr='#ffaa9a0a', GradientType=0)}#navbar .navbar-inner.yellow.transparent{background-color:rgba(227,215,101,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(249,240,160,.6)),to(rgba(194,176,12,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f9f0a0', endColorstr='#99c2b00c', GradientType=0)}#navbar .navbar-inner.yellow.transparent .brand,#navbar .navbar-inner.yellow.transparent .nav>li>a{text-shadow:0 1px 0 #c2b00c;color:#f2f2f2}#navbar .navbar-inner.yellow.transparent .brand .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a .caret{border-bottom-color:#f2e88d;border-top-color:#f2e88d}#navbar .navbar-inner.yellow.transparent .brand:focus .caret,#navbar .navbar-inner.yellow.transparent .brand:hover .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a:hover .caret{border-bottom-color:#f2edbf;border-top-color:#f2edbf}#navbar .navbar-inner.yellow.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.yellow.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(216,202,71,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(194,176,12,.6)),to(rgba(249,240,160,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c2b00c', endColorstr='#99f9f0a0', GradientType=0)}#navbar .navbar-inner.yellow.transparent .nav>li>a:hover{background-color:rgba(217,204,86,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(248,237,136,.6)),to(rgba(170,154,10,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f8ed88', endColorstr='#99aa9a0a', GradientType=0)}#navbar .navbar-inner.green{background-color:#98f064;background-image:-moz-linear-gradient(top,#c8ffa7,#50da00);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8ffa7),to(#50da00));background-image:-webkit-linear-gradient(top,#c8ffa7,#50da00);background-image:-o-linear-gradient(top,#c8ffa7,#50da00);background-image:linear-gradient(to bottom,#c8ffa7,#50da00);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8ffa7', endColorstr='#ff50da00', GradientType=0)}#navbar .navbar-inner.green .brand,#navbar .navbar-inner.green .nav>li>a{text-shadow:0 1px 0 #50da00;color:#333}#navbar .navbar-inner.green .brand .caret,#navbar .navbar-inner.green .nav>li>a .caret{border-bottom-color:#55992e;border-top-color:#55992e}#navbar .navbar-inner.green .brand:focus .caret,#navbar .navbar-inner.green .brand:hover .caret,#navbar .navbar-inner.green .nav>li>a:focus .caret,#navbar .navbar-inner.green .nav>li>a:hover .caret{border-bottom-color:#446630;border-top-color:#446630}#navbar .navbar-inner.green .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.green .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.green .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.green .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.green .nav>li.dropdown.open>.dropdown-toggle{background-color:#80e943;background-image:-moz-linear-gradient(top,#50da00,#c8ffa7);background-image:-webkit-gradient(linear,0 0,0 100%,from(#50da00),to(#c8ffa7));background-image:-webkit-linear-gradient(top,#50da00,#c8ffa7);background-image:-o-linear-gradient(top,#50da00,#c8ffa7);background-image:linear-gradient(to bottom,#50da00,#c8ffa7);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff50da00', endColorstr='#ffc8ffa7', GradientType=0)}#navbar .navbar-inner.green .nav>li>a:hover{background-color:#8ae655;background-image:-moz-linear-gradient(top,#b8ff8e,#47c100);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b8ff8e),to(#47c100));background-image:-webkit-linear-gradient(top,#b8ff8e,#47c100);background-image:-o-linear-gradient(top,#b8ff8e,#47c100);background-image:linear-gradient(to bottom,#b8ff8e,#47c100);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb8ff8e', endColorstr='#ff47c100', GradientType=0)}#navbar .navbar-inner.green.transparent{background-color:rgba(152,240,100,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,255,167,.6)),to(rgba(80,218,0,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8ffa7', endColorstr='#9950da00', GradientType=0)}#navbar .navbar-inner.green.transparent .brand,#navbar .navbar-inner.green.transparent .nav>li>a{text-shadow:0 1px 0 #50da00;color:#333}#navbar .navbar-inner.green.transparent .brand .caret,#navbar .navbar-inner.green.transparent .nav>li>a .caret{border-bottom-color:#55992e;border-top-color:#55992e}#navbar .navbar-inner.green.transparent .brand:focus .caret,#navbar .navbar-inner.green.transparent .brand:hover .caret,#navbar .navbar-inner.green.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.green.transparent .nav>li>a:hover .caret{border-bottom-color:#446630;border-top-color:#446630}#navbar .navbar-inner.green.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.green.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.green.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.green.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.green.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(128,233,67,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(80,218,0,.6)),to(rgba(200,255,167,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9950da00', endColorstr='#99c8ffa7', GradientType=0)}#navbar .navbar-inner.green.transparent .nav>li>a:hover{background-color:rgba(138,230,85,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(184,255,142,.6)),to(rgba(71,193,0,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99b8ff8e', endColorstr='#9947c100', GradientType=0)}#navbar .navbar-inner.blue{background-color:#2e63cc;background-image:-moz-linear-gradient(top,#4d88ff,#002b80);background-image:-webkit-gradient(linear,0 0,0 100%,from(#4d88ff),to(#002b80));background-image:-webkit-linear-gradient(top,#4d88ff,#002b80);background-image:-o-linear-gradient(top,#4d88ff,#002b80);background-image:linear-gradient(to bottom,#4d88ff,#002b80);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4d88ff', endColorstr='#ff002b80', GradientType=0)}#navbar .navbar-inner.blue .brand,#navbar .navbar-inner.blue .nav>li>a{text-shadow:0 1px 0 #1a66ff;color:#f2f2f2}#navbar .navbar-inner.blue .brand .caret,#navbar .navbar-inner.blue .nav>li>a .caret{border-bottom-color:#799bdf;border-top-color:#799bdf}#navbar .navbar-inner.blue .brand:focus .caret,#navbar .navbar-inner.blue .brand:hover .caret,#navbar .navbar-inner.blue .nav>li>a:focus .caret,#navbar .navbar-inner.blue .nav>li>a:hover .caret{border-bottom-color:#b6c7e9;border-top-color:#b6c7e9}#navbar .navbar-inner.blue .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.blue .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.blue .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.blue .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.blue .nav>li.dropdown.open>.dropdown-toggle{background-color:#1f50b3;background-image:-moz-linear-gradient(top,#002b80,#4d88ff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#002b80),to(#4d88ff));background-image:-webkit-linear-gradient(top,#002b80,#4d88ff);background-image:-o-linear-gradient(top,#002b80,#4d88ff);background-image:linear-gradient(to bottom,#002b80,#4d88ff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff002b80', endColorstr='#ff4d88ff', GradientType=0)}#navbar .navbar-inner.blue .nav>li>a:hover{background-color:#1f55c2;background-image:-moz-linear-gradient(top,#37f,#026);background-image:-webkit-gradient(linear,0 0,0 100%,from(#37f),to(#026));background-image:-webkit-linear-gradient(top,#37f,#026);background-image:-o-linear-gradient(top,#37f,#026);background-image:linear-gradient(to bottom,#37f,#026);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3377ff', endColorstr='#ff002266', GradientType=0)}#navbar .navbar-inner.blue.transparent{background-color:rgba(46,99,204,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(77,136,255,.6)),to(rgba(0,43,128,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#994d88ff', endColorstr='#99002b80', GradientType=0)}#navbar .navbar-inner.blue.transparent .brand,#navbar .navbar-inner.blue.transparent .nav>li>a{text-shadow:0 1px 0 #1a66ff;color:#f2f2f2}#navbar .navbar-inner.blue.transparent .brand .caret,#navbar .navbar-inner.blue.transparent .nav>li>a .caret{border-bottom-color:#799bdf;border-top-color:#799bdf}#navbar .navbar-inner.blue.transparent .brand:focus .caret,#navbar .navbar-inner.blue.transparent .brand:hover .caret,#navbar .navbar-inner.blue.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.blue.transparent .nav>li>a:hover .caret{border-bottom-color:#b6c7e9;border-top-color:#b6c7e9}#navbar .navbar-inner.blue.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.blue.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.blue.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.blue.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.blue.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(31,80,179,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,43,128,.6)),to(rgba(77,136,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99002b80', endColorstr='#994d88ff', GradientType=0)}#navbar .navbar-inner.blue.transparent .nav>li>a:hover{background-color:rgba(31,85,194,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(51,119,255,.6)),to(rgba(0,34,102,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#993377ff', endColorstr='#99002266', GradientType=0)}#navbar .navbar-inner.violet{background-color:#9864f0;background-image:-moz-linear-gradient(top,#c8a7ff,#5000da);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8a7ff),to(#5000da));background-image:-webkit-linear-gradient(top,#c8a7ff,#5000da);background-image:-o-linear-gradient(top,#c8a7ff,#5000da);background-image:linear-gradient(to bottom,#c8a7ff,#5000da);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8a7ff', endColorstr='#ff5000da', GradientType=0)}#navbar .navbar-inner.violet .brand,#navbar .navbar-inner.violet .nav>li>a{text-shadow:0 1px 0 #a774ff;color:#f2f2f2}#navbar .navbar-inner.violet .brand .caret,#navbar .navbar-inner.violet .nav>li>a .caret{border-bottom-color:#b58df9;border-top-color:#b58df9}#navbar .navbar-inner.violet .brand:focus .caret,#navbar .navbar-inner.violet .brand:hover .caret,#navbar .navbar-inner.violet .nav>li>a:focus .caret,#navbar .navbar-inner.violet .nav>li>a:hover .caret{border-bottom-color:#d3bff5;border-top-color:#d3bff5}#navbar .navbar-inner.violet .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.violet .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.violet .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.violet .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.violet .nav>li.dropdown.open>.dropdown-toggle{background-color:#8043e9;background-image:-moz-linear-gradient(top,#5000da,#c8a7ff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5000da),to(#c8a7ff));background-image:-webkit-linear-gradient(top,#5000da,#c8a7ff);background-image:-o-linear-gradient(top,#5000da,#c8a7ff);background-image:linear-gradient(to bottom,#5000da,#c8a7ff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5000da', endColorstr='#ffc8a7ff', GradientType=0)}#navbar .navbar-inner.violet .nav>li>a:hover{background-color:#8a55e6;background-image:-moz-linear-gradient(top,#b88eff,#4700c1);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b88eff),to(#4700c1));background-image:-webkit-linear-gradient(top,#b88eff,#4700c1);background-image:-o-linear-gradient(top,#b88eff,#4700c1);background-image:linear-gradient(to bottom,#b88eff,#4700c1);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb88eff', endColorstr='#ff4700c1', GradientType=0)}#navbar .navbar-inner.violet.transparent{background-color:rgba(152,100,240,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,167,255,.6)),to(rgba(80,0,218,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8a7ff', endColorstr='#995000da', GradientType=0)}#navbar .navbar-inner.violet.transparent .brand,#navbar .navbar-inner.violet.transparent .nav>li>a{text-shadow:0 1px 0 #a774ff;color:#f2f2f2}#navbar .navbar-inner.violet.transparent .brand .caret,#navbar .navbar-inner.violet.transparent .nav>li>a .caret{border-bottom-color:#b58df9;border-top-color:#b58df9}#navbar .navbar-inner.violet.transparent .brand:focus .caret,#navbar .navbar-inner.violet.transparent .brand:hover .caret,#navbar .navbar-inner.violet.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.violet.transparent .nav>li>a:hover .caret{border-bottom-color:#d3bff5;border-top-color:#d3bff5}#navbar .navbar-inner.violet.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.violet.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.violet.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.violet.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.violet.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(128,67,233,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(80,0,218,.6)),to(rgba(200,167,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#995000da', endColorstr='#99c8a7ff', GradientType=0)}#navbar .navbar-inner.violet.transparent .nav>li>a:hover{background-color:rgba(138,85,230,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(184,142,255,.6)),to(rgba(71,0,193,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99b88eff', endColorstr='#994700c1', GradientType=0)}#navbar .navbar-inner.black{background-color:#4f4f4f;background-image:-moz-linear-gradient(top,#787878,#121212);background-image:-webkit-gradient(linear,0 0,0 100%,from(#787878),to(#121212));background-image:-webkit-linear-gradient(top,#787878,#121212);background-image:-o-linear-gradient(top,#787878,#121212);background-image:linear-gradient(to bottom,#787878,#121212);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff787878', endColorstr='#ff121212', GradientType=0)}#navbar .navbar-inner.black .brand,#navbar .navbar-inner.black .nav>li>a{text-shadow:0 1px 0 #5e5e5e;color:#f2f2f2}#navbar .navbar-inner.black .brand .caret,#navbar .navbar-inner.black .nav>li>a .caret{border-bottom-color:#959595;border-top-color:#959595}#navbar .navbar-inner.black .brand:focus .caret,#navbar .navbar-inner.black .brand:hover .caret,#navbar .navbar-inner.black .nav>li>a:focus .caret,#navbar .navbar-inner.black .nav>li>a:hover .caret{border-bottom-color:#c4c4c4;border-top-color:#c4c4c4}#navbar .navbar-inner.black .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.black .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.black .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.black .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.black .nav>li.dropdown.open>.dropdown-toggle{background-color:#3b3b3b;background-image:-moz-linear-gradient(top,#121212,#787878);background-image:-webkit-gradient(linear,0 0,0 100%,from(#121212),to(#787878));background-image:-webkit-linear-gradient(top,#121212,#787878);background-image:-o-linear-gradient(top,#121212,#787878);background-image:linear-gradient(to bottom,#121212,#787878);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff121212', endColorstr='#ff787878', GradientType=0)}#navbar .navbar-inner.black .nav>li>a:hover{background-color:#424242;background-image:-moz-linear-gradient(top,#6b6b6b,#050505);background-image:-webkit-gradient(linear,0 0,0 100%,from(#6b6b6b),to(#050505));background-image:-webkit-linear-gradient(top,#6b6b6b,#050505);background-image:-o-linear-gradient(top,#6b6b6b,#050505);background-image:linear-gradient(to bottom,#6b6b6b,#050505);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6b6b6b', endColorstr='#ff050505', GradientType=0)}#navbar .navbar-inner.black.transparent{background-color:rgba(79,79,79,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(120,120,120,.6)),to(rgba(18,18,18,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99787878', endColorstr='#99121212', GradientType=0)}#navbar .navbar-inner.black.transparent .brand,#navbar .navbar-inner.black.transparent .nav>li>a{text-shadow:0 1px 0 #5e5e5e;color:#f2f2f2}#navbar .navbar-inner.black.transparent .brand .caret,#navbar .navbar-inner.black.transparent .nav>li>a .caret{border-bottom-color:#959595;border-top-color:#959595}#navbar .navbar-inner.black.transparent .brand:focus .caret,#navbar .navbar-inner.black.transparent .brand:hover .caret,#navbar .navbar-inner.black.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.black.transparent .nav>li>a:hover .caret{border-bottom-color:#c4c4c4;border-top-color:#c4c4c4}#navbar .navbar-inner.black.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.black.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.black.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.black.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.black.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(59,59,59,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(18,18,18,.6)),to(rgba(120,120,120,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99121212', endColorstr='#99787878', GradientType=0)}#navbar .navbar-inner.black.transparent .nav>li>a:hover{background-color:rgba(66,66,66,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(107,107,107,.6)),to(rgba(5,5,5,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#996b6b6b', endColorstr='#99050505', GradientType=0)}#navbar .navbar-inner.white{background-color:#e9e9e9;background-image:-moz-linear-gradient(top,#fff,#c8c8c8);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#c8c8c8));background-image:-webkit-linear-gradient(top,#fff,#c8c8c8);background-image:-o-linear-gradient(top,#fff,#c8c8c8);background-image:linear-gradient(to bottom,#fff,#c8c8c8);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffc8c8c8', GradientType=0)}#navbar .navbar-inner.white .brand,#navbar .navbar-inner.white .nav>li>a{text-shadow:0 1px 0 #c8c8c8;color:#333}#navbar .navbar-inner.white .brand .caret,#navbar .navbar-inner.white .nav>li>a .caret{border-bottom-color:#919191;border-top-color:#919191}#navbar .navbar-inner.white .brand:focus .caret,#navbar .navbar-inner.white .brand:hover .caret,#navbar .navbar-inner.white .nav>li>a:focus .caret,#navbar .navbar-inner.white .nav>li>a:hover .caret{border-bottom-color:#626262;border-top-color:#626262}#navbar .navbar-inner.white .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.white .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.white .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.white .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.white .nav>li.dropdown.open>.dropdown-toggle{background-color:#dedede;background-image:-moz-linear-gradient(top,#c8c8c8,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8c8c8),to(#fff));background-image:-webkit-linear-gradient(top,#c8c8c8,#fff);background-image:-o-linear-gradient(top,#c8c8c8,#fff);background-image:linear-gradient(to bottom,#c8c8c8,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8c8c8', endColorstr='#ffffffff', GradientType=0)}#navbar .navbar-inner.white .nav>li>a:hover{background-color:#dcdcdc;background-image:-moz-linear-gradient(top,#f2f2f2,#bbb);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#bbb));background-image:-webkit-linear-gradient(top,#f2f2f2,#bbb);background-image:-o-linear-gradient(top,#f2f2f2,#bbb);background-image:linear-gradient(to bottom,#f2f2f2,#bbb);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffbbbbbb', GradientType=0)}#navbar .navbar-inner.white.transparent{background-color:rgba(233,233,233,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.6)),to(rgba(200,200,200,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#99c8c8c8', GradientType=0)}#navbar .navbar-inner.white.transparent .brand,#navbar .navbar-inner.white.transparent .nav>li>a{text-shadow:0 1px 0 #c8c8c8;color:#333}#navbar .navbar-inner.white.transparent .brand .caret,#navbar .navbar-inner.white.transparent .nav>li>a .caret{border-bottom-color:#919191;border-top-color:#919191}#navbar .navbar-inner.white.transparent .brand:focus .caret,#navbar .navbar-inner.white.transparent .brand:hover .caret,#navbar .navbar-inner.white.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.white.transparent .nav>li>a:hover .caret{border-bottom-color:#626262;border-top-color:#626262}#navbar .navbar-inner.white.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.white.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.white.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.white.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.white.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(222,222,222,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,200,200,.6)),to(rgba(255,255,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8c8c8', endColorstr='#99ffffff', GradientType=0)}#navbar .navbar-inner.white.transparent .nav>li>a:hover{background-color:rgba(220,220,220,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(242,242,242,.6)),to(rgba(187,187,187,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f2f2f2', endColorstr='#99bbbbbb', GradientType=0)}#navbar .navbar-inner .brand{padding:10px 20px 6px}#navbar .navbar-inner .brand span{padding-left:26px;background-size:20px 20px;background-repeat:no-repeat;display:inline-block;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top;line-height:20px;height:24px}#navbar_login a.dropdown-toggle span{display:inline-block;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top}.octoprint-container{margin-top:20px}.octoprint-container .tab-content{padding:9px 15px;border-left:1px solid #DDD;border-right:1px solid #DDD;border-bottom:1px solid #DDD;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.octoprint-container .nav{margin-bottom:0}.octoprint-container .tab-content h1{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:40px;color:#333;border:0;border-bottom:1px solid #E5E5E5;font-weight:400}.octoprint-container .accordion-heading .accordion-heading-button{float:right}.octoprint-container .accordion-heading .accordion-heading-button a{display:inline-block;padding:8px 15px;font-size:14px;line-height:20px;color:#000;text-decoration:none;background:0 0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.octoprint-container .accordion-heading a.accordion-toggle{display:inline-block}.octoprint-container .accordion-heading [class*=" icon-"],.octoprint-container .accordion-heading [class^=icon-]{color:#000}.print-control .btn{padding-left:4px;padding-right:4px}.upload-buttons .btn{margin-right:0}table{table-layout:fixed}table .popover-title{text-overflow:ellipsis;word-break:break-all}table td,table th{overflow:hidden}table td.gcode_files_name,table th.gcode_files_name{text-overflow:ellipsis;text-align:left;white-space:nowrap}table td.gcode_files_action,table th.gcode_files_action{width:90px;text-align:center;white-space:nowrap}table td.gcode_files_action a,table th.gcode_files_action a{text-decoration:none;color:#000}table td.gcode_files_action a.disabled,table th.gcode_files_action a.disabled{color:#ccc;cursor:default}table td.timelapse_files_checkbox,table td.timelapse_unrendered_checkbox,table th.timelapse_files_checkbox,table th.timelapse_unrendered_checkbox{text-align:center;width:10px}table td.timelapse_files_checkbox input[type=checkbox],table td.timelapse_unrendered_checkbox input[type=checkbox],table th.timelapse_files_checkbox input[type=checkbox],table th.timelapse_unrendered_checkbox input[type=checkbox]{margin-top:0}table td.timelapse_files_name,table td.timelapse_unrendered_name,table th.timelapse_files_name,table th.timelapse_unrendered_name{text-overflow:ellipsis;text-align:left}table td.timelapse_files_size,table td.timelapse_unrendered_size,table th.timelapse_files_size,table th.timelapse_unrendered_size{text-align:right;width:55px}table td.timelapse_unrendered_count,table th.timelapse_unrendered_count{text-align:right;width:45px}table td.timelapse_files_action,table td.timelapse_unrendered_action,table th.timelapse_files_action,table th.timelapse_unrendered_action{width:45px;text-align:center;white-space:nowrap}table td.timelapse_files_action a,table td.timelapse_unrendered_action a,table th.timelapse_files_action a,table th.timelapse_unrendered_action a{text-decoration:none;color:#000}table td.timelapse_files_action a.disabled,table td.timelapse_unrendered_action a.disabled,table th.timelapse_files_action a.disabled,table th.timelapse_unrendered_action a.disabled{color:#ccc;cursor:default}table td.settings_users_name,table th.settings_users_name{text-overflow:ellipsis;text-align:left;width:100px}table td.settings_users_active,table th.settings_users_active{text-align:center;width:55px}table td table.settings_users_details_table,table th table.settings_users_details_table{font-size:.8em;margin-bottom:0}table td table.settings_users_details_table .settings_users_details_key,table th table.settings_users_details_table .settings_users_details_key{width:100px}table td table.settings_users_details_table td,table td table.settings_users_details_table th,table th table.settings_users_details_table td,table th table.settings_users_details_table th{border:0;padding:0}table td.settings_groups_default,table th.settings_groups_default{text-align:center;width:20px}table td.settings_groups_name,table th.settings_groups_name{width:180px}table td table.settings_groups_details_table,table th table.settings_groups_details_table{font-size:.8em;margin-bottom:0}table td table.settings_groups_details_table .settings_groups_details_key,table th table.settings_groups_details_table .settings_groups_details_key{width:100px}table td table.settings_groups_details_table td,table td table.settings_groups_details_table th,table th table.settings_groups_details_table td,table th table.settings_groups_details_table th{border:0;padding:0}table td.settings_groups_actions,table td.settings_users_actions,table th.settings_groups_actions,table th.settings_users_actions{width:60px;text-align:center;white-space:nowrap}table td.settings_groups_actions a,table td.settings_users_actions a,table th.settings_groups_actions a,table th.settings_users_actions a{text-decoration:none;color:#000}table td.settings_groups_actions a.disabled,table td.settings_users_actions a.disabled,table th.settings_groups_actions a.disabled,table th.settings_users_actions a.disabled{color:#ccc;cursor:default}table td.settings_accesscontrol_groups_list_checkbox,table td.settings_accesscontrol_permissions_list_checkbox,table td.settings_accesscontrol_subgroups_list_checkbox,table th.settings_accesscontrol_groups_list_checkbox,table th.settings_accesscontrol_permissions_list_checkbox,table th.settings_accesscontrol_subgroups_list_checkbox{width:20px}table td #settings-usersDialogAddUser,table td #settings-usersDialogEditUser,table th #settings-usersDialogAddUser,table th #settings-usersDialogEditUser{position:relative;top:50%;transform:translateY(-50%);margin-top:0!important}table td.settings_printerProfiles_profiles_name,table th.settings_printerProfiles_profiles_name{text-overflow:ellipsis;text-align:left}table td.settings_printerProfiles_profiles_model,table th.settings_printerProfiles_profiles_model{text-align:left;width:250px}table td.settings_printerProfiles_profiles_action,table th.settings_printerProfiles_profiles_action{width:80px;text-align:center;white-space:nowrap}table td.settings_printerProfiles_profiles_action a,table th.settings_printerProfiles_profiles_action a{text-decoration:none;color:#000}table td.settings_printerProfiles_profiles_action a.disabled,table th.settings_printerProfiles_profiles_action a.disabled{color:#ccc;cursor:default}#temperature-graph{height:350px;width:100%;background:url(../img/graph-background.png) center no-repeat}#temperature-table{table-layout:fixed;width:100%;margin-top:20px}#temperature-table td.temperature_actual,#temperature-table td.temperature_offset,#temperature-table td.temperature_target,#temperature-table td.temperature_tool,#temperature-table th.temperature_actual,#temperature-table th.temperature_offset,#temperature-table th.temperature_target,#temperature-table th.temperature_tool{vertical-align:middle;text-align:center}#temperature-table td.temperature_actual form,#temperature-table td.temperature_offset form,#temperature-table td.temperature_target form,#temperature-table td.temperature_tool form,#temperature-table th.temperature_actual form,#temperature-table th.temperature_offset form,#temperature-table th.temperature_target form,#temperature-table th.temperature_tool form{margin:0}#temperature-table td.temperature_actual .dropdown-menu,#temperature-table td.temperature_offset .dropdown-menu,#temperature-table td.temperature_target .dropdown-menu,#temperature-table td.temperature_tool .dropdown-menu,#temperature-table th.temperature_actual .dropdown-menu,#temperature-table th.temperature_offset .dropdown-menu,#temperature-table th.temperature_target .dropdown-menu,#temperature-table th.temperature_tool .dropdown-menu{text-align:left}#temperature-table td.temperature_tool,#temperature-table th.temperature_tool{width:16%;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#temperature-table td.temperature_actual,#temperature-table th.temperature_actual{width:12%}#temperature-table td.temperature_target,#temperature-table th.temperature_target{width:42%;overflow:visible}#temperature-table td.temperature_offset,#temperature-table th.temperature_offset{width:30%}.tab-content,.tab-pane{overflow:visible}#speed_fill,#speed_innerWall,#speed_outerWall,#speed_support,#temp_newBedTemp,#temp_newTemp,#webcam_timelapse_fps,#webcam_timelapse_interval,#webcam_timelapse_postRoll,#webcam_timelapse_retractionZHop{text-align:right}ul.dropdown-menu li a{cursor:pointer}#connection_baudrates,#connection_ports,#connection_printers{width:100%}#offline_overlay,#reloadui_overlay{position:fixed;top:0;left:0;width:100%;height:100%;display:none}#offline_overlay{z-index:10002}#reloadui_overlay{z-index:10001}#offline_overlay_background,#reloadui_overlay_background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#offline_overlay_wrapper,#reloadui_overlay_wrapper{position:absolute;top:0;bottom:0;left:0;right:0;padding-top:60px}#offline_overlay_wrapper .container,#reloadui_overlay_wrapper .container{margin:auto}#webcam_container{width:100%;position:relative;outline:0;background-color:#000}#webcam_container .keycontrol_overlay{position:absolute;left:10px;right:10px;bottom:10px;background:rgba(0,0,0,.5);font-size:85%;color:#fff;padding:0}#webcam_container .keycontrol_overlay kbd{border:1px solid #eee;border-radius:3px;margin-left:2px;margin-right:2px;font-size:90%;padding:2px;min-width:1em}#webcam_container .keycontrol_overlay .keycontrol_overlay_heading{position:relative;padding:10px;font-weight:700}#webcam_container .keycontrol_overlay .keycontrol_overlay_column{position:relative;width:45%;padding:10px;float:left}#webcam_container .nowebcam{position:absolute;top:0;left:0;right:0;bottom:0}#webcam_container .nowebcam .text{color:#fff;text-align:center;position:relative;margin:auto;width:80%;top:50%;transform:translateY(-50%);display:block}#webcam_container .nowebcam .text.webcam_loading{animation:pulsate 3s ease-out;animation-iteration-count:infinite}#webcam_container .webcam_rotated{position:relative;width:100%;padding-bottom:100%;pointer-events:none}#webcam_container .webcam_rotated .webcam_fixed_ratio{position:absolute;transform:rotate(-90deg);top:0;bottom:0;pointer-events:none}#webcam_container .webcam_rotated .webcam_fixed_ratio .webcam_fixed_ratio_inner{width:100%;height:100%;pointer-events:none}#webcam_container .webcam_unrotated .webcam_fixed_ratio{width:100%;pointer-events:none;padding-bottom:100%;position:relative}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio43{padding-bottom:75%}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio169{padding-bottom:56.25%}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio1610{padding-bottom:62.5%}#webcam_container .webcam_unrotated .webcam_fixed_ratio .webcam_fixed_ratio_inner{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none}#webcam_container img{width:100%;height:100%;object-fit:contain}#state_wrapper hr{margin:5px 0}#files .gcode_files .scroll-wrapper{overflow-x:hidden;overflow-y:scroll;height:306px;padding-right:2px}#files .gcode_files .entry{padding:5px;line-height:20px;border-bottom:1px solid #ddd;position:relative}#files .gcode_files .entry:hover{background-color:#f5f5f5}#files .gcode_files .entry .title{text-overflow:ellipsis;word-break:break-all}#files .gcode_files .entry .toggleAdditionalData{margin-left:5px}#files .gcode_files .entry .additionalInfo,#files .gcode_files .entry .internal,#files .gcode_files .entry .size,#files .gcode_files .entry .uploaded{font-size:85%;color:#999}#files .gcode_files .entry .uploaded [title]{cursor:help}#files .gcode_files .entry .internal{word-break:break-all}#files .gcode_files .entry .action-buttons{position:absolute;bottom:5px;right:5px}#files .gcode_files .entry .additionalInfo{padding-bottom:22px}@keyframes highlightframes{0%{background:#ff0}100%{background:0 0}}#files .gcode_files .entry.highlight{animation:highlightframes 2s}#files .gcode_files .back .back-path{white-space:nowrap}#files .gcode_files .back .back-path span{word-wrap:break-word;white-space:pre-line}#files .upload-buttons{margin-top:10px}#files .form-search{text-align:center;margin-bottom:5px!important}#control{overflow:hidden}#control .jog-panel{float:left;margin-right:19px}#control h1{text-align:left}#control .jog-panel>div{text-align:center}#control .jog-panel>div.distance{text-align:left}#control .jog-panel .slider{margin-bottom:10px}#control .box{width:30px;height:30px;margin-right:10px;margin-bottom:10px;padding-left:8px}#control .control-box{display:block;height:30px;margin-bottom:10px}#control .btn-group{margin-bottom:10px}#control .btn-group.distance>.btn{width:43px;padding:3px 0;height:30px}#control .slider-handle{width:14px;height:14px;margin-left:-7px;margin-top:-3px}#control .custom_section h1{cursor:pointer}#control .custom_section_horizontal>.custom_control{display:inline-block}#control .custom_section_vertical>.custom_control{display:block}#control .custom_control .slider{margin-left:10px;margin-right:10px;margin-bottom:2px}#control .pulsate_text_opacity{animation:pulsate_input 1s ease-out;animation-iteration-count:infinite}@keyframes pulsate_input{0%{color:#555}50%{color:rgba(85,85,85,.2)}100%{color:#555}}#gcode .progress{width:588px}#gcode .progress .bar{-webkit-transition:width 0s linear;-moz-transition:width 0s linear;-o-transition:width 0s linear;transition:width 0s linear}#gcode .canvas_container{position:relative}#gcode .canvas_container:active,#gcode .canvas_container:hover{outline:0}#gcode .layer-buttons{padding-top:5px;padding-bottom:7px}#gcode #gcode_layer_slider{position:absolute;right:0;top:0;height:568px;float:right}#gcode #gcode_layer_slider .slider-handle{width:14px;height:14px;margin-left:-3px;margin-top:-7px}#gcode #gcode_command_slider .slider-handle{width:14px;height:14px;margin-left:-7px;margin-top:-3px}#term .terminal{margin-bottom:30px}#term .terminal #terminal-output,#term .terminal #terminal-output-lowfi{min-height:340px;margin-bottom:5px}#settings_dialog .aboutlink{float:left}#settings_dialog_menu,#wizard_dialog_menu{margin-left:0}#wizard_firstrun_acl .acl_decision{margin-top:1em}#wizard_firstrun_end p,#wizard_firstrun_start p{margin-bottom:1.5em;line-height:1.5}#settings_appearance_managelanguagesdialog_list{width:auto;height:300px;overflow-x:hidden;overflow-y:scroll;padding-right:2px}#settings_appearance_managelanguagesdialog_emptylist{overflow:hidden;width:100%;height:300px;text-align:center;display:table}#settings_appearance_managelanguagesdialog_emptylist div{display:table-cell;vertical-align:middle}#about_authors ul,#about_sponsors ul{columns:3;-webkit-columns:3;-moz-columns:3}.footer ul{margin:0}.footer ul li{display:inline;margin-left:1em;font-size:85%}.footer ul li:first-child{margin-left:0}.footer ul li a{color:#555}.footer #footer_link,.footer #footer_version{max-width:50%}.ui-pnotify{position:fixed}.ui-pnotify .alert a{color:#c09853}.ui-pnotify .alert-danger a,.ui-pnotify .alert-error a{color:#b94a48}.ui-pnotify .alert-success a{color:#468847}.ui-pnotify .alert-info a{color:#3a87ad}.pnotify_additional_info .pnotify_more{font-size:85%}.text-right{text-align:right}.text-center{text-align:center}.text-block{display:block}.overflow_visible{overflow:visible!important}.clickable{cursor:pointer}.border_box{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.hidden{display:none}textarea.block{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}@keyframes pulsate{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}#drop_overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:none}#drop_overlay.in{display:block}#drop_overlay #drop_overlay_background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#drop_overlay #drop_overlay_wrapper{position:absolute;top:0;bottom:0;left:0;right:0;padding-top:60px}#drop_overlay #drop_overlay_wrapper #drop,#drop_overlay #drop_overlay_wrapper #drop_background{position:absolute;top:0;left:0;margin-left:0;width:100%}#drop_overlay #drop_overlay_wrapper #drop_locally,#drop_overlay #drop_overlay_wrapper #drop_locally_background{position:absolute;top:0;left:50%;margin-left:-50%;width:50%;border-right:2px dashed #ccc}#drop_overlay #drop_overlay_wrapper #drop_sd,#drop_overlay #drop_overlay_wrapper #drop_sd_background{position:absolute;top:0;left:50%;margin-left:0;width:50%;border-left:2px dashed #ccc}#drop_overlay #drop_overlay_wrapper .dropzone{height:100%;z-index:10001;color:#fff;font-size:30px}#drop_overlay #drop_overlay_wrapper .dropzone i{font-size:50px}#drop_overlay #drop_overlay_wrapper .dropzone .text{display:block;text-align:center;line-height:40px;position:absolute;width:100%;bottom:5%;filter:alpha(opacity=100);-moz-opacity:1;-khtml-opacity:1;opacity:1}#drop_overlay #drop_overlay_wrapper .dropzone_background{width:50%;height:100%;background-color:#000;filter:alpha(opacity=25);-moz-opacity:.25;-khtml-opacity:.25;opacity:.25}#drop_overlay #drop_overlay_wrapper .dropzone_background.hover{background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#drop_overlay #drop_overlay_wrapper .dropzone_background.fade{-webkit-transition:all .3s ease-out;-moz-transition:all .3s ease-out;-ms-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out;opacity:1}.icon-sd-black-14{background:url(../img/icon-sd-black-14.png) 0 3px no-repeat;width:11px;height:17px;display:inline-block!important}.center{float:none;margin-left:auto;margin-right:auto}.flipH{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1)}.flipV{-webkit-transform:scaleY(-1);-moz-transform:scaleY(-1);-ms-transform:scaleY(-1);transform:scaleY(-1)}.flipH.flipV{-webkit-transform:scaleX(-1) scaleY(-1);-moz-transform:scaleX(-1) scaleY(-1);-ms-transform:scaleX(-1) scaleY(-1);transform:scaleX(-1) scaleY(-1)}.rotate90{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ui-pnotify a{text-decoration:underline}.btn-mini .caret,.btn-small .caret{margin-top:8px}.dropdown-menu-right{right:0;left:auto}.slider .slider-selection{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.slider .slider-selection.active,.slider .slider-selection.disabled,.slider .slider-selection:active,.slider .slider-selection:focus,.slider .slider-selection:hover,.slider .slider-selection[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.slider .slider-selection.active,.slider .slider-selection:active{background-color:#039 \9}.slider.slider-disabled .slider-selection{background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-track{background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.slider.slider-disabled .slider-track{background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-handle{display:inline-block;*display:inline;*zoom:1;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;*background-color:#e6e6e6;border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);padding:0;margin-bottom:0;opacity:1;filter:alpha(opacity=100)}.slider .slider-handle.active,.slider .slider-handle.disabled,.slider .slider-handle:active,.slider .slider-handle:focus,.slider .slider-handle:hover,.slider .slider-handle[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.slider .slider-handle.active,.slider .slider-handle:active{background-color:#ccc \9}.slider .slider-handle:first-child{*margin-left:0}.slider .slider-handle:focus,.slider .slider-handle:hover{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.slider .slider-handle:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.slider .slider-handle.active,.slider .slider-handle:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.slider .slider-handle.disabled,.slider .slider-handle[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-handle.hide{display:none}.slider .slider-handle.round{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.modal.large{width:975px;margin-left:-487px}.full-sized-box{position:absolute;bottom:0;left:0;right:0;top:0;padding:15px}.full-sized-box .row-fluid{height:100%}@media (max-width:979px){.full-sized-box{position:static}}:root .full-sized-box,_::-webkit-full-page-media,_:future{position:static}.scrollable{height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.pre-output span{display:block}.input-append .add-on.add-on-limited,.input-prepend .add-on.add-on-limited{overflow-x:hidden;text-overflow:ellipsis;width:inherit}.input-append .btn-group:first-child .btn:first-child,.input-prepend .btn-group:first-child .btn:first-child{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-append .btn-group .btn:first-child,.input-prepend .btn-group .btn:first-child{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append.input-block-level,.input-prepend.input-block-level{display:table}.input-append.input-block-level .add-on,.input-prepend.input-block-level .add-on{display:table-cell;width:1%}.input-append.input-block-level>input,.input-prepend.input-block-level>input{box-sizing:border-box;display:table;min-height:inherit;width:100%}.input-append.input-block-level :not(:last-child),.input-prepend.input-block-level :not(:last-child){border-right:0}.control-group.error .input-append .fileinput-button,.control-group.error .input-prepend .fileinput-button{border-color:#b94a48}.control-text{padding-top:5px;cursor:default}input[type=number]{text-align:right}input[type=number].input-nospin::-webkit-inner-spin-button,input[type=number].input-nospin::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number].input-nospin{-moz-appearance:textfield}.progress-text,.progress-text-centered{position:relative}.progress-text .progress-text-back,.progress-text .progress-text-front,.progress-text-centered .progress-text-back,.progress-text-centered .progress-text-front{white-space:nowrap}.progress-text .progress-text-front,.progress-text-centered .progress-text-front{box-sizing:border-box;padding:0 10px;width:100%;display:block}.progress-text .progress-text-back,.progress-text-centered .progress-text-back{position:absolute;font-size:12px;line-height:20px;display:block;box-sizing:border-box;text-align:center;padding:0 10px}.progress-text .bar,.progress-text-centered .bar{position:absolute;overflow:hidden}.progress-text-centered .progress-text-front{position:absolute;font-size:12px;line-height:20px;display:block;text-align:center;color:#fff}.progress-text-centered .progress-text-back{width:100%}.search-query-with-clear{position:relative}.search-query-with-clear .search-clear{display:inline-block;color:#ccc;position:absolute;right:28px;height:20px;padding:4px 0;cursor:pointer;visibility:hidden}.search-query-with-clear.active-clear .search-query{padding-right:28px;width:192px}.search-query-with-clear.active-clear .search-clear{visibility:visible}.search-query-with-clear input::-ms-clear{display:none}.search-query-with-clear input[type=search]::-webkit-search-cancel-button,.search-query-with-clear input[type=search]::-webkit-search-decoration,.search-query-with-clear input[type=search]::-webkit-search-results-button,.search-query-with-clear input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}#navbar_login:not(.open) #login_dropdown_loggedout{display:block;z-index:-1;height:0;width:0;padding:0!important;overflow:hidden;border:0;box-shadow:none;left:-9999px}#navbar_login:not(.open) #login_dropdown_loggedout.hide{display:none}#loginForm{margin:0}#loginForm button{margin-top:20px}#page-container-loading{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:12301}#page-container-loading .wrapper{position:absolute;top:0;bottom:0;left:0;right:0}#page-container-loading .wrapper .outer{display:table;width:100%;height:100%}#page-container-loading .wrapper .outer .inner{display:table-cell;vertical-align:middle}#page-container-loading .wrapper .outer .inner .content{text-align:center}#page-container-noscript{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:12310}#page-container-noscript .wrapper{position:absolute;top:0;bottom:0;left:0;right:0}#page-container-noscript .wrapper .outer{display:table;width:100%;height:100%}#page-container-noscript .wrapper .outer .inner{display:table-cell;vertical-align:middle}#page-container-noscript .wrapper .outer .inner .content{text-align:center} \ No newline at end of file diff --git a/src/octoprint/static/less/octoprint.less b/src/octoprint/static/less/octoprint.less index d50573ef2..a4a7dd42e 100644 --- a/src/octoprint/static/less/octoprint.less +++ b/src/octoprint/static/less/octoprint.less @@ -991,6 +991,24 @@ ul.dropdown-menu li a { } } +#about_sponsors { + @sponsorCols: 3; + ul { + columns: @sponsorCols; + -webkit-columns: @sponsorCols; + -moz-columns: @sponsorCols; + } +} + +#about_authors { + @authorCols: 3; + ul { + columns: @authorCols; + -webkit-columns: @authorCols; + -moz-columns: @authorCols; + } +} + /** Footer */ .footer { ul { From bbab42cacd539b69246c7628cf9f6720be651428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 26 Jun 2020 11:54:10 +0200 Subject: [PATCH 47/85] =?UTF-8?q?=F0=9F=92=84=20Add=20discord=20link=20&?= =?UTF-8?q?=20update=20supporter=20links?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/templates/dialogs/about/about.jinja2 | 4 +++- src/octoprint/templates/footer.jinja2 | 14 ++++++++++++++ src/octoprint/templates/index.jinja2 | 14 +------------- 3 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 src/octoprint/templates/footer.jinja2 diff --git a/src/octoprint/templates/dialogs/about/about.jinja2 b/src/octoprint/templates/dialogs/about/about.jinja2 index 84aa14617..409269e70 100644 --- a/src/octoprint/templates/dialogs/about/about.jinja2 +++ b/src/octoprint/templates/dialogs/about/about.jinja2 @@ -7,15 +7,17 @@

    Development of OctoPrint wouldn't be possible without its supporters.
    - If you enjoy OctoPrint, please consider supporting its ongoing development. + If you enjoy OctoPrint, please consider supporting its ongoing development.

    diff --git a/src/octoprint/templates/footer.jinja2 b/src/octoprint/templates/footer.jinja2 new file mode 100644 index 000000000..e7e13d875 --- /dev/null +++ b/src/octoprint/templates/footer.jinja2 @@ -0,0 +1,14 @@ +

    diff --git a/src/octoprint/templates/index.jinja2 b/src/octoprint/templates/index.jinja2 index b21cd4313..fb7a386ab 100644 --- a/src/octoprint/templates/index.jinja2 +++ b/src/octoprint/templates/index.jinja2 @@ -152,19 +152,7 @@
    {% endif %} - + {% include 'footer.jinja2' %} From 27d2e224333d4197b37a09dc8e0e95a9c8e0502f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 26 Jun 2020 11:54:31 +0200 Subject: [PATCH 48/85] =?UTF-8?q?=F0=9F=93=9D=20Update=20third=20party=20l?= =?UTF-8?q?icense=20document?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- THIRDPARTYLICENSES.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/THIRDPARTYLICENSES.md b/THIRDPARTYLICENSES.md index 568a14bc5..594251edb 100644 --- a/THIRDPARTYLICENSES.md +++ b/THIRDPARTYLICENSES.md @@ -24,10 +24,12 @@ * [LESS](http://lesscss.org): Apache License 2.0 * [lodash](https://lodash.com): MIT * [Loglevel](https://github.com/pimterry/loglevel): MIT + * [md5.js](https://blueimp.github.io/JavaScript-MD5/): MIT * [Modernizr](http://modernizr.com): MIT * [Moment.js](http://momentjs.com/): MIT * [PNotify](http://sciactive.com/pnotify/): GPL, LGPL, MPL (triple licensed) * [pusher.color.js](http://cache.preserve.io/5g18q0pw/index.html) (original link dead): MIT + * [ResizeSensor.js](https://github.com/procurios/ResizeSensor): MIT * [SockJS](https://github.com/sockjs/sockjs-client): MIT * [sprintf-js](http://alexei.ro/): BSD @@ -39,12 +41,14 @@ * [Click](http://click.pocoo.org/): BSD * [emoji](https://github.com/carpedm20/emoji/): BSD * [feedparser](https://github.com/kurtmckee/feedparser): BSD + * [filetype](https://h2non.github.io/filetype.py/): MIT * [Flask](http://flask.pocoo.org/): BSD * [Flask-Assets](http://github.com/miracle2k/flask-assets): BSD * [Flask-Babel](http://github.com/mitsuhiko/flask-babel): BSD * [Flask-Login](https://github.com/maxcountryman/flask-login): MIT * [Flask-Markdown](http://github.com/dcolish/flask-markdown): BSD * [Flask-Principal](http://packages.python.org/Flask-Principal/): MIT + * [frozendict](https://github.com/slezica/python-frozendict): MIT * [future](https://python-future.org/): MIT * [futures](https://github.com/agronholm/pythonfutures): Python * [monotonic](https://github.com/atdt/monotonic): Apache License 2.0 @@ -58,19 +62,25 @@ * [requests](http://python-requests.org/): Apache License 2.0 * [rsa](http://stuvel.eu/rsa): Apache License 2.0 * [sarge](http://sarge.readthedocs.org/): BSD + * [sentry-sdk](https://github.com/getsentry/sentry-python): BSD * [scandir](https://github.com/benhoyt/scandir): BSD * [semantic_version](https://github.com/rbarrois/python-semanticversion): BSD * [SockJS-Tornado](http://github.com/mrjoes/sockjs-tornado/): MIT * [Tornado](http://www.tornadoweb.org/): Apache License 2.0 + * [typing](https://pypi.org/project/typing/): Python * [watchdog](http://github.com/gorakhargosh/watchdog): Apache License 2.0 * [websocket-client](https://github.com/liris/websocket-client): LGPLv3 * [wrapt](http://wrapt.readthedocs.org/): BSD ## Development (testing, documentation generation, etc) + * [cookiecutter](https://github.com/cookiecutter/cookiecutter): BSD * [ddt](https://github.com/txels/ddt): MIT + * [flake8](https://gitlab.com/pycqa/flake8): MIT * [mock](https://github.com/testing-cabal/mock): BSD - * [nose](http://pythonhosted.org/nose/): LGPL + * [pyinstrument](https://github.com/joerick/pyinstrument): BSD + * [pytest](https://docs.pytest.org/en/latest/): MIT + * [pytest-doctest-custom](http://github.com/danilobellini/pytest-doctest-custom): MIT * [Sphinx](http://sphinx-doc.org/): BSD * [sphinxcontrib-httpdomain](https://bitbucket.org/birkenfeld/sphinx-contrib/src/default/httpdomain/): BSD * [sphinxcontrib-mermad](https://github.com/mgaitan/sphinxcontrib-mermaid): BSD From 805159b07f823c10ecddbd6d16c0958e6abcbbbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 26 Jun 2020 18:53:02 +0200 Subject: [PATCH 49/85] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Upgrade=20Sentry?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.py | 2 +- src/octoprint/plugins/errortracking/static/js/sentry.min.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index e703d0275..2937c4385 100644 --- a/setup.py +++ b/setup.py @@ -63,7 +63,7 @@ INSTALL_REQUIRES = [ "wrapt>=1.12.1,<2", "emoji>=0.5.4,<1", "frozendict>=1.2,<2", - "sentry-sdk>=0.14.4,<1", + "sentry-sdk>=0.15.1,<1", "filetype>=1.0.7,<2", # vendor bundle dependencies diff --git a/src/octoprint/plugins/errortracking/static/js/sentry.min.js b/src/octoprint/plugins/errortracking/static/js/sentry.min.js index 83bb176de..bc3fd88aa 100644 --- a/src/octoprint/plugins/errortracking/static/js/sentry.min.js +++ b/src/octoprint/plugins/errortracking/static/js/sentry.min.js @@ -1,2 +1,2 @@ -/*! @sentry/browser 5.0.5 (913eafc4) | https://github.com/getsentry/sentry-javascript */ -var Sentry=function(n){"use strict";var t=function(n,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,r)};function r(n,r){function i(){this.constructor=n}t(n,r),n.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}var i,e,o,u=function(){return(u=Object.assign||function(n){for(var t,r=1,i=arguments.length;r0&&e[e.length-1])&&(6===o[0]||2===o[0])){u=0;continue}if(3===o[0]&&(!e||o[1]>e[0]&&o[1]0)&&!(i=o.next()).done;)u.push(i.value)}catch(n){e={error:n}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return u}function a(){for(var n=[],t=0;t=200&&t<300?n.Success:429===t?n.RateLimit:t>=400&&t<500?n.Invalid:t>=500?n.Failed:n.Unknown}}(n.Status||(n.Status={}));var b={};function w(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:b}function g(){var n=w(),t=n.crypto||n.msCrypto;if(void 0!==t&&t.getRandomValues){var r=new Uint16Array(8);t.getRandomValues(r),r[3]=4095&r[3]|16384,r[4]=16383&r[4]|32768;var i=function(n){for(var t=n.toString(16);t.length<4;)t="0"+t;return t};return i(r[0])+i(r[1])+i(r[2])+i(r[3])+i(r[4])+i(r[5])+i(r[6])+i(r[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(n){var t=16*Math.random()|0;return("x"===n?t:3&t|8).toString(16)})}function E(n){var t,r,i,e,o,u=[];if(!n||!n.tagName)return"";if(u.push(n.tagName.toLowerCase()),n.id&&u.push("#"+n.id),(t=n.className)&&d(t))for(r=t.split(/\s+/),o=0;o"}return n.event_id||""}function S(n){var t=w();if(!("console"in t))return n();var r=t.console,i={};["debug","info","warn","error","log"].forEach(function(n){n in t.console&&r[n].__sentry__&&(i[n]=r[n].__sentry_wrapped__,r[n]=r[n].__sentry_original__)});var e=n();return Object.keys(i).forEach(function(n){r[n]=i[n]}),e}function _(n,t,r,i){void 0===i&&(i={handled:!0,type:"generic"}),n.exception=n.exception||{},n.exception.values=n.exception.values||[],n.exception.values[0]=n.exception.values[0]||{},n.exception.values[0].value=n.exception.values[0].value||t||"",n.exception.values[0].type=n.exception.values[0].type||r||"Error",n.exception.values[0].mechanism=n.exception.values[0].mechanism||i}var O,k=function(){function n(){this.t="function"==typeof WeakSet,this.i=this.t?new WeakSet:[]}return n.prototype.memoize=function(n){if(this.t)return!!this.i.has(n)||(this.i.add(n),!1);for(var t=0;tr?D(n,t-1,r):i}function I(n,t){return"domain"===t&&"object"==typeof n&&n.o?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":"undefined"!=typeof global&&n===global?"[Global]":"undefined"!=typeof window&&n===window?"[Window]":"undefined"!=typeof document&&n===document?"[Document]":"undefined"!=typeof Event&&n instanceof Event?Object.getPrototypeOf(n)?n.constructor.name:"Event":m(r=n)&&"nativeEvent"in r&&"preventDefault"in r&&"stopPropagation"in r?"[SyntheticEvent]":Number.isNaN(n)?"[NaN]":void 0===n?"[undefined]":"function"==typeof n?"[Function: "+(n.name||"")+"]":n;var r}function A(n,t,r,i){if(void 0===r&&(r=1/0),void 0===i&&(i=new k),0===r)return function(n){var t=Object.prototype.toString.call(n);if("string"==typeof n)return n;if("[object Object]"===t)return"[Object]";if("[object Array]"===t)return"[Array]";var r=I(n);return p(r)?r:t}(t);if(null!=t&&"function"==typeof t.toJSON)return t.toJSON();var e=I(t,n);if(p(e))return e;var o=h(t)?function(n){var t={message:n.message,name:n.name,stack:n.stack};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t}(t):t,u=Array.isArray(t)?[]:{};if(i.memoize(t))return"[Circular ~]";for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(u[c]=A(c,o[c],r-1,i));return i.unmemoize(t),u}function C(n,t){try{return JSON.parse(JSON.stringify(n,function(n,r){return A(n,r,t)}))}catch(n){return"**non-serializable**"}}!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(O||(O={}));var M=function(){function n(n){var t=this;this.u=O.PENDING,this.s=[],this.h=function(n){t.v(n,O.RESOLVED)},this.l=function(n){t.v(n,O.REJECTED)},this.v=function(n,r){t.u===O.PENDING&&(y(n)?n.then(t.h,t.l):(t.p=n,t.u=r,t.m()))},this.m=function(){t.u!==O.PENDING&&(t.u===O.REJECTED?t.s.forEach(function(n){return n.onFail&&n.onFail(t.p)}):t.s.forEach(function(n){return n.onSuccess&&n.onSuccess(t.p)}),t.s=[])},this.g=function(n){t.s=t.s.concat(n),t.m()};try{n(this.h,this.l)}catch(n){this.l(n)}}return n.prototype.then=function(t,r){var i=this;return new n(function(n,e){i.g({onFail:function(t){if(r)try{return void n(r(t))}catch(n){return void e(n)}else e(t)},onSuccess:function(r){if(t)try{return void n(t(r))}catch(n){return void e(n)}else n(r)}})})},n.prototype.catch=function(n){return this.then(function(n){return n},n)},n.prototype.toString=function(){return"[object SyncPromise]"},n.resolve=function(t){return new n(function(n){n(t)})},n.reject=function(t){return new n(function(n,r){r(t)})},n}(),N=function(){function n(){this.j=!1,this.S=[],this._=[],this.O=[],this.k={},this.T={},this.R={}}return n.prototype.addScopeListener=function(n){this.S.push(n)},n.prototype.addEventProcessor=function(n){return this._.push(n),this},n.prototype.D=function(){var n=this;this.j||(this.j=!0,setTimeout(function(){n.S.forEach(function(t){t(n)}),n.j=!1}))},n.prototype.I=function(n,t,r,i){var e=this;return void 0===i&&(i=0),new M(function(o,c){var s=n[i];if(null===t||"function"!=typeof s)o(t);else{var f=s(u({},t),r);y(f)?f.then(function(t){return e.I(n,t,r,i+1).then(o)}).catch(c):e.I(n,f,r,i+1).then(o).catch(c)}})},n.prototype.setUser=function(n){return this.k=C(n),this.D(),this},n.prototype.setTags=function(n){return this.T=u({},this.T,C(n)),this.D(),this},n.prototype.setTag=function(n,t){var r;return this.T=u({},this.T,((r={})[n]=C(t),r)),this.D(),this},n.prototype.setExtras=function(n){return this.R=u({},this.R,C(n)),this.D(),this},n.prototype.setExtra=function(n,t){var r;return this.R=u({},this.R,((r={})[n]=C(t),r)),this.D(),this},n.prototype.setFingerprint=function(n){return this.A=C(n),this.D(),this},n.prototype.setLevel=function(n){return this.C=C(n),this.D(),this},n.clone=function(t){var r=new n;return Object.assign(r,t,{S:[]}),t&&(r.O=a(t.O),r.T=u({},t.T),r.R=u({},t.R),r.k=t.k,r.C=t.C,r.A=t.A,r._=a(t._)),r},n.prototype.clear=function(){return this.O=[],this.T={},this.R={},this.k={},this.C=void 0,this.A=void 0,this.D(),this},n.prototype.addBreadcrumb=function(n,t){return this.O=void 0!==t&&t>=0?a(this.O,[C(n)]).slice(-t):a(this.O,[C(n)]),this.D(),this},n.prototype.clearBreadcrumbs=function(){return this.O=[],this.D(),this},n.prototype.M=function(n){n.fingerprint=n.fingerprint?Array.isArray(n.fingerprint)?n.fingerprint:[n.fingerprint]:[],this.A&&(n.fingerprint=n.fingerprint.concat(this.A)),n.fingerprint&&!n.fingerprint.length&&delete n.fingerprint},n.prototype.applyToEvent=function(n,t){return this.R&&Object.keys(this.R).length&&(n.extra=u({},this.R,n.extra)),this.T&&Object.keys(this.T).length&&(n.tags=u({},this.T,n.tags)),this.k&&Object.keys(this.k).length&&(n.user=u({},this.k,n.user)),this.C&&(n.level=this.C),this.M(n),(!n.breadcrumbs||0===n.breadcrumbs.length)&&this.O.length>0&&(n.breadcrumbs=this.O),this.I(a(F(),this._),n,t)},n}();function F(){var n=w();return n.__SENTRY__=n.__SENTRY__||{},n.__SENTRY__.globalEventProcessors=n.__SENTRY__.globalEventProcessors||[],n.__SENTRY__.globalEventProcessors}function U(n){F().push(n)}var L=w(),P="Sentry Logger ",$=function(){function n(){this.N=!1}return n.prototype.disable=function(){this.N=!1},n.prototype.enable=function(){this.N=!0},n.prototype.log=function(){for(var n=[],t=0;t0?n[n.length-1].scope:void 0,r=N.clone(t);return this.getStack().push({client:this.getClient(),scope:r}),r},n.prototype.popScope=function(){return void 0!==this.getStack().pop()},n.prototype.withScope=function(n){var t=this.pushScope();try{n(t)}finally{this.popScope()}},n.prototype.getClient=function(){return this.getStackTop().client},n.prototype.getScope=function(){return this.getStackTop().scope},n.prototype.getStack=function(){return this.U},n.prototype.getStackTop=function(){return this.U[this.U.length-1]},n.prototype.captureException=function(n,t){var r=this.P=g();return this.L("captureException",n,u({},t,{event_id:r})),r},n.prototype.captureMessage=function(n,t,r){var i=this.P=g();return this.L("captureMessage",n,t,u({},r,{event_id:i})),i},n.prototype.captureEvent=function(n,t){var r=this.P=g();return this.L("captureEvent",n,u({},t,{event_id:r})),r},n.prototype.lastEventId=function(){return this.P},n.prototype.addBreadcrumb=function(n,t){var r=this.getStackTop();if(r.scope&&r.client){var i=r.client.getOptions(),e=i.beforeBreadcrumb,o=i.maxBreadcrumbs,c=void 0===o?30:o;if(!(c<=0)){var s=(new Date).getTime()/1e3,f=u({timestamp:s},n),a=e?S(function(){return e(f,t)}):f;null!==a&&r.scope.addBreadcrumb(a,Math.min(c,100))}}},n.prototype.configureScope=function(n){var t=this.getStackTop();t.scope&&t.client&&n(t.scope)},n.prototype.run=function(n){var t=G(this);try{n(this)}finally{G(t)}},n.prototype.getIntegration=function(n){var t=this.getClient();if(!t)return null;try{return t.getIntegration(n)}catch(t){return q.warn("Cannot retrieve integration "+n.id+" from the current Hub"),null}},n}();function B(){var n=w();return n.__SENTRY__=n.__SENTRY__||{hub:void 0},n}function G(n){var t=B(),r=z(t);return V(t,n),r}function J(){var n,t,r=B();X(r)&&!z(r).isOlderThan(H)||V(r,new W);try{var i=(n=module,t="domain",n.require(t)).active;if(!i)return z(r);if(!X(i)||z(i).isOlderThan(H)){var e=z(r).getStackTop();V(i,new W(e.client,N.clone(e.scope)))}return z(i)}catch(n){return z(r)}}function X(n){return!!(n&&n.__SENTRY__&&n.__SENTRY__.hub)}function z(n){return n&&n.__SENTRY__&&n.__SENTRY__.hub?n.__SENTRY__.hub:(n.__SENTRY__=n.__SENTRY__||{},n.__SENTRY__.hub=new W,n.__SENTRY__.hub)}function V(n,t){return!!n&&(n.__SENTRY__=n.__SENTRY__||{},n.__SENTRY__.hub=t,!0)}function K(n){for(var t=[],r=1;r1&&(h=l.slice(0,-1).join("/"),v=l.pop()),Object.assign(this,{host:c,pass:u,path:h,projectId:v,port:a,protocol:i,user:e})},n.prototype.q=function(n){this.protocol=n.protocol,this.user=n.user,this.pass=n.pass||"",this.host=n.host,this.port=n.port||"",this.path=n.path||"",this.projectId=n.projectId},n.prototype.H=function(){var n=this;if(["protocol","user","host","projectId"].forEach(function(t){if(!n[t])throw new Q("Invalid Dsn")}),"http"!==this.protocol&&"https"!==this.protocol)throw new Q("Invalid Dsn");if(this.port&&Number.isNaN(parseInt(this.port,10)))throw new Q("Invalid Dsn")},n}(),tn=function(){function n(n){this.dsn=n,this.W=new nn(n)}return n.prototype.getDsn=function(){return this.W},n.prototype.getStoreEndpoint=function(){return""+this.B()+this.getStoreEndpointPath()},n.prototype.getStoreEndpointWithUrlEncodedAuth=function(){var n,t={sentry_key:this.W.user,sentry_version:"7"};return this.getStoreEndpoint()+"?"+(n=t,Object.keys(n).map(function(t){return encodeURIComponent(t)+"="+encodeURIComponent(n[t])}).join("&"))},n.prototype.B=function(){var n=this.W,t=n.protocol?n.protocol+":":"",r=n.port?":"+n.port:"";return t+"//"+n.host+r},n.prototype.getStoreEndpointPath=function(){var n=this.W;return(n.path?"/"+n.path:"")+"/api/"+n.projectId+"/store/"},n.prototype.getRequestHeaders=function(n,t){var r=this.W,i=["Sentry sentry_version=7"];return i.push("sentry_timestamp="+(new Date).getTime()),i.push("sentry_client="+n+"/"+t),i.push("sentry_key="+r.user),r.pass&&i.push("sentry_secret="+r.pass),{"Content-Type":"application/json","X-Sentry-Auth":i.join(", ")}},n.prototype.getReportDialogEndpoint=function(n){void 0===n&&(n={});var t=this.W,r=this.B()+(t.path?"/"+t.path:"")+"/api/embed/error-page/",i=[];for(var e in i.push("dsn="+t.toString()),n)if("user"===e){if(!n.user)continue;n.user.name&&i.push("name="+encodeURIComponent(n.user.name)),n.user.email&&i.push("email="+encodeURIComponent(n.user.email))}else i.push(encodeURIComponent(e)+"="+encodeURIComponent(n[e]));return i.length?r+"?"+i.join("&"):r},n}();function rn(n,t){return void 0===t&&(t=0),0===t?n:n.length<=t?n:n.substr(0,t)+"..."}function en(n,t){if(!Array.isArray(n))return"";for(var r=[],i=0;i=t)return rn(n[0],t);for(var r=n.length;r>0;r--){var i=n.slice(0,r).join(", ");if(!(i.length>t))return r===n.length?i:rn(i,t)}return""}var un=[];function cn(n){var t={};return function(n){var t=n.defaultIntegrations&&a(n.defaultIntegrations)||[],r=n.integrations,i=[];if(Array.isArray(r)){var e=r.map(function(n){return n.name}),o=[];t.forEach(function(n){-1===e.indexOf(n.name)&&-1===o.indexOf(n.name)&&(i.push(n),o.push(n.name))}),r.forEach(function(n){-1===o.indexOf(n.name)&&(i.push(n),o.push(n.name))})}else{if("function"!=typeof r)return a(t);i=r(t),i=Array.isArray(i)?i:[i]}return i}(n).forEach(function(n){t[n.name]=n,function(n){-1===un.indexOf(n.name)&&(n.setupOnce(U,J),un.push(n.name),q.log("Integration installed: "+n.name))}(n)}),t}var sn,fn=function(){function n(n,t){this.G=!1,this.J=new n(t),this.X=t,t.dsn&&(this.V=new nn(t.dsn)),this.K=cn(this.X)}return n.prototype.captureException=function(n,t,r){var i=this,e=t&&t.event_id;return this.G=!0,this.Z().eventFromException(n,t).then(function(n){return i.Y(n,t,r)}).then(function(n){e=n&&n.event_id,i.G=!1}).catch(function(n){q.log(n),i.G=!1}),e},n.prototype.captureMessage=function(n,t,r,i){var e=this,o=r&&r.event_id;return this.G=!0,(p(n)?this.Z().eventFromMessage(""+n,t,r):this.Z().eventFromException(n,r)).then(function(n){return e.Y(n,r,i)}).then(function(n){o=n&&n.event_id,e.G=!1}).catch(function(n){q.log(n),e.G=!1}),o},n.prototype.captureEvent=function(n,t,r){var i=this,e=t&&t.event_id;return this.G=!0,this.Y(n,t,r).then(function(n){e=n&&n.event_id,i.G=!1}).catch(function(n){q.log(n),i.G=!1}),e},n.prototype.getDsn=function(){return this.V},n.prototype.getOptions=function(){return this.X},n.prototype.flush=function(n){return c(this,void 0,void 0,function(){return s(this,function(t){switch(t.label){case 0:return[4,Promise.all([this.Z().getTransport().close(n),this.nn()])];case 1:return[2,t.sent().reduce(function(n,t){return n&&t})]}})})},n.prototype.close=function(n){return c(this,void 0,void 0,function(){var t=this;return s(this,function(r){return[2,this.flush(n).finally(function(){t.getOptions().enabled=!1})]})})},n.prototype.getIntegrations=function(){return this.K||{}},n.prototype.getIntegration=function(n){try{return this.K[n.id]||null}catch(t){return q.warn("Cannot retrieve integration "+n.id+" from the current Client"),null}},n.prototype.nn=function(n){return void 0===n&&(n=0),c(this,void 0,void 0,function(){var t=this;return s(this,function(r){return[2,new Promise(function(r){t.G?n>=10?r(!1):setTimeout(function(){return c(t,void 0,void 0,function(){var t;return s(this,function(i){switch(i.label){case 0:return t=r,[4,this.nn(n+1)];case 1:return t.apply(void 0,[i.sent()]),[2]}})})},10):r(!0)})]})})},n.prototype.Z=function(){return this.J},n.prototype.tn=function(){return!1!==this.getOptions().enabled&&void 0!==this.V},n.prototype.rn=function(n,t,r){var i=this.getOptions(),e=i.environment,o=i.release,c=i.dist,s=i.maxValueLength,f=void 0===s?250:s,a=u({},n);void 0===a.environment&&void 0!==e&&(a.environment=e),void 0===a.release&&void 0!==o&&(a.release=o),void 0===a.dist&&void 0!==c&&(a.dist=c),a.message&&(a.message=rn(a.message,f));var h=a.exception&&a.exception.values&&a.exception.values[0];h&&h.value&&(h.value=rn(h.value,f));var v=a.request;v&&v.url&&(v.url=rn(v.url,f)),void 0===a.event_id&&(a.event_id=g()),this.in(a.sdk);var l=M.resolve(a);return t&&(l=t.applyToEvent(a,r)),l},n.prototype.in=function(n){var t=Object.keys(this.K);n&&t.length>0&&(n.integrations=t)},n.prototype.Y=function(n,t,r){var i=this,e=this.getOptions(),o=e.beforeSend,u=e.sampleRate;return this.tn()?"number"==typeof u&&Math.random()>u?M.reject("This event has been sampled, will not send event."):new M(function(e,u){i.rn(n,r,t).then(function(n){if(null!==n){var r=n;try{if(t&&t.data&&!0===t.data.__sentry__||!o)return i.Z().sendEvent(r),void e(r);var c=o(n,t);if(void 0===c)q.error("`beforeSend` method has to return `null` or a valid event.");else if(y(c))i.en(c,e,u);else{if(null===(r=c))return q.log("`beforeSend` returned `null`, will not send event."),void e(null);i.Z().sendEvent(r),e(r)}}catch(n){i.captureException(n,{data:{__sentry__:!0},originalException:n}),u("`beforeSend` throw an error, will not send event.")}}else u("An event processor returned null, will not send event.")})}):M.reject("SDK not enabled, will not send event.")},n.prototype.en=function(n,t,r){var i=this;n.then(function(n){null!==n?(i.Z().sendEvent(n),t(n)):r("`beforeSend` returned `null`, will not send event.")}).catch(function(n){r("beforeSend rejected with "+n)})},n}(),an=function(){function t(){}return t.prototype.sendEvent=function(t){return c(this,void 0,void 0,function(){return s(this,function(t){return[2,Promise.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:n.Status.Skipped})]})})},t.prototype.close=function(n){return c(this,void 0,void 0,function(){return s(this,function(n){return[2,Promise.resolve(!0)]})})},t}(),hn=function(){function n(n){this.X=n,this.X.dsn||q.warn("No DSN provided, backend will not do anything."),this.on=this.un()}return n.prototype.un=function(){return new an},n.prototype.eventFromException=function(n,t){throw new Q("Backend has to implement `eventFromException` method")},n.prototype.eventFromMessage=function(n,t,r){throw new Q("Backend has to implement `eventFromMessage` method")},n.prototype.sendEvent=function(n){this.on.sendEvent(n).catch(function(n){q.error("Error while sending event: "+n)})},n.prototype.getTransport=function(){return this.on},n}();var vn=function(){function n(){this.name=n.id}return n.prototype.setupOnce=function(){sn=Function.prototype.toString,Function.prototype.toString=function(){for(var n=[],t=0;t|[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,o=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,u=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,s=/\((\S*)(?::(\d+))(?::(\d+))\)/,f=n.stack.split("\n"),a=[],h=/^(.*) is undefined$/.exec(n.message),v=0,l=f.length;v eval")>-1&&(t=c.exec(r[3]))?r[3]=t[1]:0!==v||r[5]||void 0===n.columnNumber||(a[0].column=n.columnNumber+1),i={url:r[3],func:r[1]||gn,args:r[2]?r[2].split(","):[],line:r[4]?+r[4]:null,column:r[5]?+r[5]:null}}!i.func&&i.line&&(i.func=gn),i.context=null,a.push(i)}return a.length?(a[0]&&a[0].line&&!a[0].column&&h&&(a[0].column=null),{mode:"stack",name:n.name,message:n.message,stack:a}):null}function t(n,t,r,i){var e={url:t,line:r};if(e.url&&e.line){if(n.incomplete=!1,e.func||(e.func=gn),e.context||(e.context=null),/ '([^']+)' /.exec(i)&&(e.column=null),n.stack.length>0&&n.stack[0].url===e.url){if(n.stack[0].line===e.line)return!1;if(!n.stack[0].line&&n.stack[0].func===e.func)return n.stack[0].line=e.line,n.stack[0].context=e.context,!1}return n.stack.unshift(e),n.partial=!0,!0}return n.incomplete=!0,!1}function r(n,e){for(var o,u,c=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,s=[],f={},a=!1,h=r.caller;h&&!a;h=h.caller)if(h!==i&&h!==wn.report){if(u={url:null,func:gn,args:[],line:null,column:null},h.name?u.func=h.name:(o=c.exec(h.toString()))&&(u.func=o[1]),void 0===u.func)try{u.func=o.input.substring(0,o.input.indexOf("{"))}catch(n){}f[""+h]?a=!0:f[""+h]=!0,s.push(u)}e&&s.splice(0,e);var v={mode:"callers",name:n.name,message:n.message,stack:s};return t(v,n.sourceURL||n.fileName,n.line||n.lineNumber,n.message||n.description),v}function i(t,i){var e=null;i=null==i?0:+i;try{if(e=function(n){var t=n.stacktrace;if(t){for(var r,i=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,e=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,o=t.split("\n"),u=[],c=0;c0&&r(!1)},n);Promise.all(t.yn).then(function(){clearTimeout(i),r(!0)}).catch(function(){r(!0)})})]})})},n}(),Nn=function(){function n(n){this.options=n,this.yn=new Mn(30),this.url=new tn(this.options.dsn).getStoreEndpointWithUrlEncodedAuth()}return n.prototype.sendEvent=function(n){return c(this,void 0,void 0,function(){return s(this,function(n){throw new Q("Transport Class has to implement `sendEvent` method")})})},n.prototype.close=function(n){return c(this,void 0,void 0,function(){return s(this,function(t){return[2,this.yn.drain(n)]})})},n}(),Fn=w(),Un=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return r(i,t),i.prototype.sendEvent=function(t){return c(this,void 0,void 0,function(){var r;return s(this,function(i){return r={body:JSON.stringify(t),method:"POST",referrerPolicy:yn()?"origin":""},[2,this.yn.add(Fn.fetch(this.url,r).then(function(t){return{status:n.Status.fromHttpCode(t.status)}}))]})})},i}(Nn),Ln=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return r(i,t),i.prototype.sendEvent=function(t){return c(this,void 0,void 0,function(){var r=this;return s(this,function(i){return[2,this.yn.add(new Promise(function(i,e){var o=new XMLHttpRequest;o.onreadystatechange=function(){4===o.readyState&&(200===o.status&&i({status:n.Status.fromHttpCode(o.status)}),e(o))},o.open("POST",r.url),o.send(JSON.stringify(t))}))]})})},i}(Nn),Pn=Object.freeze({BaseTransport:Nn,FetchTransport:Un,XHRTransport:Ln}),$n=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return r(i,t),i.prototype.un=function(){if(!this.X.dsn)return t.prototype.un.call(this);var n=this.X.transportOptions?this.X.transportOptions:{dsn:this.X.dsn};return this.X.transport?new this.X.transport(n):mn()?new Un(n):new Ln(n)},i.prototype.eventFromException=function(t,r){var i,e,o=this;if(v(t)&&t.error)return t=t.error,i=Dn(kn(t)),M.resolve(this.bn(i,r));if(l(t)||(e=t,"[object DOMException]"===Object.prototype.toString.call(e))){var u=t,c=u.name||(l(u)?"DOMError":"DOMException"),s=u.message?c+": "+u.message:c;return this.eventFromMessage(s,n.Severity.Error,r).then(function(n){return _(n,s),M.resolve(o.bn(n,r))})}if(h(t))return i=Dn(kn(t)),M.resolve(this.bn(i,r));if(m(t)&&r&&r.syntheticException)return _(i=function(n,t){var r=Object.keys(n).sort(),i={extra:{__serialized__:D(n)},message:"Non-Error exception captured with keys: "+on(r)};if(t){var e=In(kn(t).stack);i.stacktrace={frames:e}}return i}(t,r.syntheticException),"Custom Object",void 0,{handled:!0,synthetic:!0,type:"generic"}),i.level=n.Severity.Error,M.resolve(this.bn(i,r));var f=t;return this.eventFromMessage(f,void 0,r).then(function(t){return _(t,""+f,void 0,{handled:!0,synthetic:!0,type:"generic"}),t.level=n.Severity.Error,M.resolve(o.bn(t,r))})},i.prototype.bn=function(n,t){return u({},n,{event_id:t&&t.event_id})},i.prototype.eventFromMessage=function(t,r,i){void 0===r&&(r=n.Severity.Info);var e={event_id:i&&i.event_id,level:r,message:t};if(this.X.attachStacktrace&&i&&i.syntheticException){var o=In(kn(i.syntheticException).stack);e.stacktrace={frames:o}}return M.resolve(e)},i}(hn),qn="sentry.javascript.browser",Hn=function(n){function t(t){return void 0===t&&(t={}),n.call(this,$n,t)||this}return r(t,n),t.prototype.rn=function(t,r,i){return t.platform=t.platform||"javascript",t.sdk=u({},t.sdk,{name:qn,packages:a(t.sdk&&t.sdk.packages||[],[{name:"npm:@sentry/browser",version:"5.0.5"}]),version:"5.0.5"}),n.prototype.rn.call(this,t,r,i)},t.prototype.showReportDialog=function(n){void 0===n&&(n={});var t=w().document;if(t)if(this.tn()){var r=n.dsn||this.getDsn();if(n.eventId)if(r){var i=t.createElement("script");i.async=!0,i.src=new tn(r).getReportDialogEndpoint(n),(t.head||t.body).appendChild(i)}else q.error("Missing `Dsn` option in showReportDialog call");else q.error("Missing `eventId` option in showReportDialog call")}else q.error("Trying to call showReportDialog with Sentry Client is disabled")},t}(fn),Wn=1e3,Bn=0;function Gn(n,t,r){if(void 0===t&&(t={}),"function"!=typeof n)return n;try{if(n.__sentry__)return n;if(n.__sentry_wrapped__)return n.__sentry_wrapped__}catch(t){return n}var sentryWrapped=function(){r&&"function"==typeof r&&r.apply(this,arguments);var i=Array.prototype.slice.call(arguments);try{var e=i.map(function(n){return Gn(n,t)});return n.handleEvent?n.handleEvent.apply(this,e):n.apply(this,e)}catch(n){throw Bn+=1,setTimeout(function(){Bn-=1}),Z(function(r){r.addEventProcessor(function(n){var r=u({},n);return t.mechanism&&_(r,void 0,void 0,t.mechanism),r.extra=u({},r.extra,{arguments:C(i,3)}),r}),captureException(n)}),n}};try{for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(sentryWrapped[i]=n[i])}catch(n){}n.prototype=n.prototype||{},sentryWrapped.prototype=n.prototype,Object.defineProperty(n,"__sentry_wrapped__",{enumerable:!1,value:sentryWrapped}),Object.defineProperties(sentryWrapped,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:n}});try{Object.defineProperty(sentryWrapped,"name",{get:function(){return n.name}})}catch(n){}return sentryWrapped}function Jn(n){return function(t){if(An=void 0,Cn!==t){var r;Cn=t;try{r=function(n){for(var t,r=n,i=[],e=0,o=0,u=" > ".length;r&&e++<5&&!("html"===(t=E(r))||e>1&&o+i.length*u+t.length>=80);)i.push(t),o+=t.length,r=r.parentNode;return i.reverse().join(" > ")}(t.target)}catch(n){r=""}J().addBreadcrumb({category:"ui."+n,message:r},{event:t,name:n})}}}function Xn(){return function(n){var t;try{t=n.target}catch(n){return}var r=t&&t.tagName;r&&("INPUT"===r||"TEXTAREA"===r||t.isContentEditable)&&(An||Jn("input")(n),clearTimeout(An),An=setTimeout(function(){An=void 0},Wn))}}var zn=function(){function n(t){this.name=n.id,this.X=u({onerror:!0,onunhandledrejection:!0},t)}return n.prototype.setupOnce=function(){Error.stackTraceLimit=50,Sn(function(t,r,i){if(!(Bn>0)){var e=J().getIntegration(n);e&&J().captureEvent(e.wn(t),{data:{stack:t},originalException:i})}}),this.X.onerror&&(q.log("Global Handler attached: onerror"),_n()),this.X.onunhandledrejection&&(q.log("Global Handler attached: onunhandledrejection"),On())},n.prototype.wn=function(n){var t=Dn(n),r={mode:n.mode};n.message&&(r.message=n.message),n.name&&(r.name=n.name);var i=J().getClient(),e=i&&i.getOptions().maxValueLength||250;return _(t,n.original?rn(JSON.stringify(C(n.original)),e):"","onunhandledrejection"===n.mechanism?"UnhandledRejection":"Error",{data:r,handled:!1,type:n.mechanism}),t},n.id="GlobalHandlers",n}(),Vn=function(){function n(){this.gn=0,this.name=n.id}return n.prototype.En=function(n){return function(){for(var t=[],r=0;r"}catch(n){return""}}var Zn,Qn=w(),Yn=function(){function t(n){this.name=t.id,this.X=u({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},n)}return t.prototype.Sn=function(){"console"in Qn&&["debug","info","warn","error","log"].forEach(function(r){r in Qn.console&&T(Qn.console,r,function(i){return function(){for(var e=[],o=0;o2?t[2]:void 0;return i&&u(Zn,String(i)),n.apply(this,t)}}},t.prototype.Tn=function(){if("XMLHttpRequest"in Qn){var n=XMLHttpRequest.prototype;T(n,"open",function(n){return function(){for(var t=[],r=0;r"},handled:!0,type:"instrument"}})})}(n,e)}),"onreadystatechange"in e&&"function"==typeof e.onreadystatechange?T(e,"onreadystatechange",function(n){return Gn(n,{mechanism:{data:{function:"onreadystatechange",handler:n&&n.name||""},handled:!0,type:"instrument"}},o)}):e.onreadystatechange=o,n.apply(this,r)}})}},t.addBreadcrumb=function(n,r){J().getIntegration(t)&&J().addBreadcrumb(n,r)},t.prototype.setupOnce=function(){this.X.console&&this.Sn(),this.X.dom&&this._n(),this.X.xhr&&this.Tn(),this.X.fetch&&this.On(),this.X.history&&this.kn()},t.id="Breadcrumbs",t}();function nt(t){try{var r=JSON.parse(t);Yn.addBreadcrumb({category:"sentry",event_id:r.event_id,level:r.level||n.Severity.fromString("error"),message:j(r)},{event:r})}catch(n){q.error("Error while adding sentry type breadcrumb")}}var tt="cause",rt=5,it=function(){function n(t){void 0===t&&(t={}),this.name=n.id,this.Rn=t.key||tt,this.mn=t.limit||rt}return n.prototype.setupOnce=function(){U(function(t,r){var i=J().getIntegration(n);return i?i.handler(t,r):t})},n.prototype.handler=function(n,t){if(!(n.exception&&n.exception.values&&t&&t.originalException instanceof Error))return n;var r=this.walkErrorTree(t.originalException,this.Rn);return n.exception.values=a(r,n.exception.values),n},n.prototype.walkErrorTree=function(n,t,r){if(void 0===r&&(r=[]),!(n[t]instanceof Error)||r.length+1>=this.mn)return r;var i=Rn(kn(n[t]));return this.walkErrorTree(n[t],t,a([i],r))},n.id="LinkedErrors",n}(),et=w(),ot=function(){function n(){this.name=n.id}return n.prototype.setupOnce=function(){U(function(t){if(J().getIntegration(n)){if(!et.navigator||!et.location)return t;var r=t.request||{};return r.url=r.url||et.location.href,r.headers=r.headers||{},r.headers["User-Agent"]=et.navigator.userAgent,u({},t,{request:r})}return t})},n.id="UserAgent",n}(),ut=Object.freeze({GlobalHandlers:zn,TryCatch:Vn,Breadcrumbs:Yn,LinkedErrors:it,UserAgent:ot}),ct=[new dn,new vn,new Vn,new Yn,new zn,new it,new ot];var st={},ft=w();ft.Sentry&&ft.Sentry.Integrations&&(st=ft.Sentry.Integrations);var at=u({},st,pn,ut);return n.Integrations=at,n.Transports=Pn,n.addGlobalEventProcessor=U,n.addBreadcrumb=function(n){K("addBreadcrumb",n)},n.captureException=captureException,n.captureEvent=function(n){return K("captureEvent",n)},n.captureMessage=function(n,t){var r;try{throw new Error(n)}catch(n){r=n}return K("captureMessage",n,t,{originalException:n,syntheticException:r})},n.configureScope=function(n){K("configureScope",n)},n.withScope=Z,n.getHubFromCarrier=z,n.getCurrentHub=J,n.Hub=W,n.Scope=N,n.BrowserClient=Hn,n.defaultIntegrations=ct,n.forceLoad=function(){},n.init=function(n){void 0===n&&(n={}),void 0===n.defaultIntegrations&&(n.defaultIntegrations=ct),function(n,t){!0===t.debug&&q.enable(),J().bindClient(new n(t))}(Hn,n)},n.lastEventId=function(){return J().lastEventId()},n.onLoad=function(n){n()},n.showReportDialog=function(n){void 0===n&&(n={}),n.eventId||(n.eventId=J().lastEventId());var t=J().getClient();t&&t.showReportDialog(n)},n.flush=function(n){return c(this,void 0,void 0,function(){var t;return s(this,function(r){return(t=J().getClient())?[2,t.flush(n)]:[2,Promise.reject(!1)]})})},n.close=function(n){return c(this,void 0,void 0,function(){var t;return s(this,function(r){return(t=J().getClient())?[2,t.close(n)]:[2,Promise.reject(!1)]})})},n.SDK_NAME=qn,n.SDK_VERSION="5.0.5",n}({}); +/*! @sentry/browser 5.18.1 (b1261aab) | https://github.com/getsentry/sentry-javascript */ +var Sentry=function(t){var n=function(t,r){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r])})(t,r)};function r(t,r){function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}var e=function(){return(e=Object.assign||function(t){for(var n,r=1,e=arguments.length;r=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}}function o(t,n){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var e,i,o=r.call(t),u=[];try{for(;(void 0===n||n-- >0)&&!(e=o.next()).done;)u.push(e.value)}catch(t){i={error:t}}finally{try{e&&!e.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return u}function u(){for(var t=[],n=0;n=200&&n<300?t.Success:429===n?t.RateLimit:n>=400&&n<500?t.Invalid:n>=500?t.Failed:t.Unknown}}(t.Status||(t.Status={}));var f=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,n){return t.__proto__=n,t}:function(t,n){for(var r in n)t.hasOwnProperty(r)||(t[r]=n[r]);return t});var h=function(t){function n(n){var r=this.constructor,e=t.call(this,n)||this;return e.message=n,e.name=r.prototype.constructor.name,f(e,r.prototype),e}return r(n,t),n}(Error);function v(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return E(t,Error)}}function l(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)}function d(t){return"[object DOMError]"===Object.prototype.toString.call(t)}function p(t){return"[object String]"===Object.prototype.toString.call(t)}function y(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function m(t){return"[object Object]"===Object.prototype.toString.call(t)}function b(t){return"undefined"!=typeof Event&&E(t,Event)}function w(t){return"undefined"!=typeof Element&&E(t,Element)}function g(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function E(t,n){try{return t instanceof n}catch(t){return!1}}function x(t,n){return void 0===n&&(n=0),"string"!=typeof t||0===n?t:t.length<=n?t:t.substr(0,n)+"..."}function j(t,n){if(!Array.isArray(t))return"";for(var r=[],e=0;e"}return t.event_id||""}function I(t){var n=O();if(!("console"in n))return t();var r=n.console,e={};["debug","info","warn","error","log","assert"].forEach(function(t){t in n.console&&r[t].__sentry_original__&&(e[t]=r[t],r[t]=r[t].__sentry_original__)});var i=t();return Object.keys(e).forEach(function(t){r[t]=e[t]}),i}function N(t,n,r){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].value=t.exception.values[0].value||n||"",t.exception.values[0].type=t.exception.values[0].type||r||"Error"}function C(t,n){void 0===n&&(n={});try{t.exception.values[0].mechanism=t.exception.values[0].mechanism||{},Object.keys(n).forEach(function(r){t.exception.values[0].mechanism[r]=n[r]})}catch(t){}}function M(t){try{for(var n=t,r=[],e=0,i=0,o=" > ".length,u=void 0;n&&e++<5&&!("html"===(u=A(n))||e>1&&i+r.length*o+u.length>=80);)r.push(u),i+=u.length,n=n.parentNode;return r.reverse().join(" > ")}catch(t){return""}}function A(t){var n,r,e,i,o,u=t,c=[];if(!u||!u.tagName)return"";if(c.push(u.tagName.toLowerCase()),u.id&&c.push("#"+u.id),(n=u.className)&&p(n))for(r=n.split(/\s+/),o=0;o"}try{o.currentTarget=w(i.currentTarget)?M(i.currentTarget):Object.prototype.toString.call(i.currentTarget)}catch(t){o.currentTarget=""}for(var e in"undefined"!=typeof CustomEvent&&E(t,CustomEvent)&&(o.detail=i.detail),i)Object.prototype.hasOwnProperty.call(i,e)&&(o[e]=i);return o}return t}function Z(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function tt(t,n,r){void 0===n&&(n=3),void 0===r&&(r=102400);var e=et(t,n);return Z(e)>r?tt(t,n-1,r):e}function nt(t,n){return"domain"===n&&t&&"object"==typeof t&&t.u?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":"undefined"!=typeof global&&t===global?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":m(r=t)&&"nativeEvent"in r&&"preventDefault"in r&&"stopPropagation"in r?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?"[Function: "+$(t)+"]":t;var r}function rt(t,n,r,e){if(void 0===r&&(r=1/0),void 0===e&&(e=new K),0===r)return function(t){var n=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===n)return"[Object]";if("[object Array]"===n)return"[Array]";var r=nt(t);return y(r)?r:n}(n);if(null!=n&&"function"==typeof n.toJSON)return n.toJSON();var i=nt(n,t);if(y(i))return i;var o=Y(n),u=Array.isArray(n)?[]:{};if(e.memoize(n))return"[Circular ~]";for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(u[c]=rt(c,o[c],r-1,e));return e.unmemoize(n),u}function et(t,n){try{return JSON.parse(JSON.stringify(t,function(t,r){return rt(t,r,n)}))}catch(t){return"**non-serializable**"}}function it(t,n){void 0===n&&(n=40);var r=Object.keys(Y(t));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=n)return x(r[0],n);for(var e=r.length;e>0;e--){var i=r.slice(0,e).join(", ");if(!(i.length>n))return e===r.length?i:x(i,n)}return""}!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(z||(z={}));var ot=function(){function t(t){var n=this;this.s=z.PENDING,this.h=[],this.v=function(t){n.l(z.RESOLVED,t)},this.p=function(t){n.l(z.REJECTED,t)},this.l=function(t,r){n.s===z.PENDING&&(g(r)?r.then(n.v,n.p):(n.s=t,n.m=r,n.g()))},this.j=function(t){n.h=n.h.concat(t),n.g()},this.g=function(){if(n.s!==z.PENDING){var t=n.h.slice();n.h=[],t.forEach(function(t){t.done||(n.s===z.RESOLVED&&t.onfulfilled&&t.onfulfilled(n.m),n.s===z.REJECTED&&t.onrejected&&t.onrejected(n.m),t.done=!0)})}};try{t(this.v,this.p)}catch(t){this.p(t)}}return t.prototype.toString=function(){return"[object SyncPromise]"},t.resolve=function(n){return new t(function(t){t(n)})},t.reject=function(n){return new t(function(t,r){r(n)})},t.all=function(n){return new t(function(r,e){if(Array.isArray(n))if(0!==n.length){var i=n.length,o=[];n.forEach(function(n,u){t.resolve(n).then(function(t){o[u]=t,0===(i-=1)&&r(o)}).then(null,e)})}else r([]);else e(new TypeError("Promise.all requires an array as input."))})},t.prototype.then=function(n,r){var e=this;return new t(function(t,i){e.j({done:!1,onfulfilled:function(r){if(n)try{return void t(n(r))}catch(t){return void i(t)}else t(r)},onrejected:function(n){if(r)try{return void t(r(n))}catch(t){return void i(t)}else i(n)}})})},t.prototype.catch=function(t){return this.then(function(t){return t},t)},t.prototype.finally=function(n){var r=this;return new t(function(t,e){var i,o;return r.then(function(t){o=!1,i=t,n&&n()},function(t){o=!0,i=t,n&&n()}).then(function(){o?e(i):t(i)})})},t}(),ut=function(){function t(t){this.k=t,this.S=[]}return t.prototype.isReady=function(){return void 0===this.k||this.length()0&&r(!1)},t);ot.all(n.S).then(function(){clearTimeout(e),r(!0)}).then(null,function(){r(!0)})})},t}();function ct(){if(!("fetch"in O()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function at(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function st(){if(!ct())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}var ft,ht=O(),vt={},lt={};function dt(t){if(!lt[t])switch(lt[t]=!0,t){case"console":!function(){if(!("console"in ht))return;["debug","info","warn","error","log","assert"].forEach(function(t){t in ht.console&&Q(ht.console,t,function(n){return function(){for(var r=[],e=0;e2?n[2]:void 0;if(e){var i=ft,o=String(e);ft=o,yt("history",{from:i,to:o})}return t.apply(this,n)}}ht.onpopstate=function(){for(var t=[],n=0;n1&&(v=d.slice(0,-1).join("/"),l=d.pop()),l){var p=l.match(/^\d+/);p&&(l=p[0])}this.O({host:a,pass:c,path:v,projectId:l,port:f,protocol:e,user:i})},t.prototype.O=function(t){this.protocol=t.protocol,this.user=t.user,this.pass=t.pass||"",this.host=t.host,this.port=t.port||"",this.path=t.path||"",this.projectId=t.projectId},t.prototype._=function(){var t=this;if(["protocol","user","host","projectId"].forEach(function(n){if(!t[n])throw new h("Invalid Dsn: "+n+" missing")}),!this.projectId.match(/^\d+$/))throw new h("Invalid Dsn: Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new h("Invalid Dsn: Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new h("Invalid Dsn: Invalid port "+this.port)},t}(),Dt=function(){function t(){this.D=!1,this.R=[],this.I=[],this.N=[],this.C={},this.M={},this.A={},this.q={}}return t.prototype.addScopeListener=function(t){this.R.push(t)},t.prototype.addEventProcessor=function(t){return this.I.push(t),this},t.prototype.U=function(){var t=this;this.D||(this.D=!0,setTimeout(function(){t.R.forEach(function(n){n(t)}),t.D=!1}))},t.prototype.L=function(t,n,r,i){var o=this;return void 0===i&&(i=0),new ot(function(u,c){var a=t[i];if(null===n||"function"!=typeof a)u(n);else{var s=a(e({},n),r);g(s)?s.then(function(n){return o.L(t,n,r,i+1).then(u)}).then(null,c):o.L(t,s,r,i+1).then(u).then(null,c)}})},t.prototype.setUser=function(t){return this.C=t||{},this.U(),this},t.prototype.setTags=function(t){return this.M=e({},this.M,t),this.U(),this},t.prototype.setTag=function(t,n){var r;return this.M=e({},this.M,((r={})[t]=n,r)),this.U(),this},t.prototype.setExtras=function(t){return this.A=e({},this.A,t),this.U(),this},t.prototype.setExtra=function(t,n){var r;return this.A=e({},this.A,((r={})[t]=n,r)),this.U(),this},t.prototype.setFingerprint=function(t){return this.H=t,this.U(),this},t.prototype.setLevel=function(t){return this.F=t,this.U(),this},t.prototype.setTransactionName=function(t){return this.P=t,this.U(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,n){var r;return this.q=e({},this.q,((r={})[t]=n,r)),this.U(),this},t.prototype.setSpan=function(t){return this.X=t,this.U(),this},t.prototype.getSpan=function(){return this.X},t.prototype.getTransaction=function(){var t=this.getSpan();if(t&&t.spanRecorder&&t.spanRecorder.spans[0])return t.spanRecorder.spans[0]},t.clone=function(n){var r=new t;return n&&(r.N=u(n.N),r.M=e({},n.M),r.A=e({},n.A),r.q=e({},n.q),r.C=n.C,r.F=n.F,r.X=n.X,r.P=n.P,r.H=n.H,r.I=u(n.I)),r},t.prototype.update=function(n){if(!n)return this;if("function"==typeof n){var r=n(this);return r instanceof t?r:this}return n instanceof t?(this.M=e({},this.M,n.M),this.A=e({},this.A,n.A),this.q=e({},this.q,n.q),n.C&&(this.C=n.C),n.F&&(this.F=n.F),n.H&&(this.H=n.H)):m(n)&&(n=n,this.M=e({},this.M,n.tags),this.A=e({},this.A,n.extra),this.q=e({},this.q,n.contexts),n.user&&(this.C=n.user),n.level&&(this.F=n.level),n.fingerprint&&(this.H=n.fingerprint)),this},t.prototype.clear=function(){return this.N=[],this.M={},this.A={},this.C={},this.q={},this.F=void 0,this.P=void 0,this.H=void 0,this.X=void 0,this.U(),this},t.prototype.addBreadcrumb=function(t,n){var r=e({timestamp:F()},t);return this.N=void 0!==n&&n>=0?u(this.N,[r]).slice(-n):u(this.N,[r]),this.U(),this},t.prototype.clearBreadcrumbs=function(){return this.N=[],this.U(),this},t.prototype.W=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this.H&&(t.fingerprint=t.fingerprint.concat(this.H)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t.prototype.applyToEvent=function(t,n){return this.A&&Object.keys(this.A).length&&(t.extra=e({},this.A,t.extra)),this.M&&Object.keys(this.M).length&&(t.tags=e({},this.M,t.tags)),this.C&&Object.keys(this.C).length&&(t.user=e({},this.C,t.user)),this.q&&Object.keys(this.q).length&&(t.contexts=e({},this.q,t.contexts)),this.F&&(t.level=this.F),this.P&&(t.transaction=this.P),this.X&&(t.contexts=e({trace:this.X.getTraceContext()},t.contexts)),this.W(t),t.breadcrumbs=u(t.breadcrumbs||[],this.N),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,this.L(u(Rt(),this.I),t,n)},t}();function Rt(){var t=O();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function It(t){Rt().push(t)}var Nt=3,Ct=function(){function t(t,n,r){void 0===n&&(n=new Dt),void 0===r&&(r=Nt),this.$=r,this.B=[],this.B.push({client:t,scope:n}),this.bindClient(t)}return t.prototype.G=function(t){for(var n,r=[],e=1;e0?t[t.length-1].scope:void 0,r=Dt.clone(n);return this.getStack().push({client:this.getClient(),scope:r}),r},t.prototype.popScope=function(){return void 0!==this.getStack().pop()},t.prototype.withScope=function(t){var n=this.pushScope();try{t(n)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this.B},t.prototype.getStackTop=function(){return this.B[this.B.length-1]},t.prototype.captureException=function(t,n){var r=this.J=_(),i=n;if(!n){var o=void 0;try{throw new Error("Sentry syntheticException")}catch(t){o=t}i={originalException:t,syntheticException:o}}return this.G("captureException",t,e({},i,{event_id:r})),r},t.prototype.captureMessage=function(t,n,r){var i=this.J=_(),o=r;if(!r){var u=void 0;try{throw new Error(t)}catch(t){u=t}o={originalException:t,syntheticException:u}}return this.G("captureMessage",t,n,e({},o,{event_id:i})),i},t.prototype.captureEvent=function(t,n){var r=this.J=_();return this.G("captureEvent",t,e({},n,{event_id:r})),r},t.prototype.lastEventId=function(){return this.J},t.prototype.addBreadcrumb=function(t,n){var r=this.getStackTop();if(r.scope&&r.client){var i=r.client.getOptions&&r.client.getOptions()||{},o=i.beforeBreadcrumb,u=void 0===o?null:o,c=i.maxBreadcrumbs,a=void 0===c?100:c;if(!(a<=0)){var s=F(),f=e({timestamp:s},t),h=u?I(function(){return u(f,n)}):f;null!==h&&r.scope.addBreadcrumb(h,Math.min(a,100))}}},t.prototype.setUser=function(t){var n=this.getStackTop();n.scope&&n.scope.setUser(t)},t.prototype.setTags=function(t){var n=this.getStackTop();n.scope&&n.scope.setTags(t)},t.prototype.setExtras=function(t){var n=this.getStackTop();n.scope&&n.scope.setExtras(t)},t.prototype.setTag=function(t,n){var r=this.getStackTop();r.scope&&r.scope.setTag(t,n)},t.prototype.setExtra=function(t,n){var r=this.getStackTop();r.scope&&r.scope.setExtra(t,n)},t.prototype.setContext=function(t,n){var r=this.getStackTop();r.scope&&r.scope.setContext(t,n)},t.prototype.configureScope=function(t){var n=this.getStackTop();n.scope&&n.client&&t(n.scope)},t.prototype.run=function(t){var n=At(this);try{t(this)}finally{At(n)}},t.prototype.getIntegration=function(t){var n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch(n){return V.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t){return this.V("startSpan",t)},t.prototype.startTransaction=function(t){return this.V("startTransaction",t)},t.prototype.traceHeaders=function(){return this.V("traceHeaders")},t.prototype.V=function(t){for(var n=[],r=1;r=t&&r({interval:i,ready:!1})):r({interval:i,ready:!0})},1)})},t.prototype.ut=function(){return this.et},t.prototype.st=function(){return!1!==this.getOptions().enabled&&void 0!==this.ot},t.prototype.ft=function(t,n,r){var i=this,o=this.getOptions().normalizeDepth,u=void 0===o?3:o,c=e({},t,{event_id:t.event_id||(r&&r.event_id?r.event_id:_()),timestamp:t.timestamp||F()});this.ht(c),this.vt(c);var a=n;r&&r.captureContext&&(a=Dt.clone(a).update(r.captureContext));var s=ot.resolve(c);return a&&(s=a.applyToEvent(c,r)),s.then(function(t){return"number"==typeof u&&u>0?i.lt(t,u):t})},t.prototype.lt=function(t,n){if(!t)return null;var r=e({},t,t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(function(t){return e({},t,t.data&&{data:et(t.data,n)})})},t.user&&{user:et(t.user,n)},t.contexts&&{contexts:et(t.contexts,n)},t.extra&&{extra:et(t.extra,n)});return t.contexts&&t.contexts.trace&&(r.contexts.trace=t.contexts.trace),r},t.prototype.ht=function(t){var n=this.getOptions(),r=n.environment,e=n.release,i=n.dist,o=n.maxValueLength,u=void 0===o?250:o;void 0===t.environment&&void 0!==r&&(t.environment=r),void 0===t.release&&void 0!==e&&(t.release=e),void 0===t.dist&&void 0!==i&&(t.dist=i),t.message&&(t.message=x(t.message,u));var c=t.exception&&t.exception.values&&t.exception.values[0];c&&c.value&&(c.value=x(c.value,u));var a=t.request;a&&a.url&&(a.url=x(a.url,u))},t.prototype.vt=function(t){var n=t.sdk,r=Object.keys(this.nt);n&&r.length>0&&(n.integrations=r)},t.prototype.dt=function(t){this.ut().sendEvent(t)},t.prototype.ct=function(t,n,r){var e=this,i=this.getOptions(),o=i.beforeSend,u=i.sampleRate;if(!this.st())return ot.reject("SDK not enabled, will not send event.");var c="transaction"===t.type;return!c&&"number"==typeof u&&Math.random()>u?ot.reject("This event has been sampled, will not send event."):new ot(function(i,u){e.ft(t,r,n).then(function(t){if(null!==t){var r=t;if(n&&n.data&&!0===n.data.__sentry__||!o||c)return e.dt(r),void i(r);var a=o(t,n);if(void 0===a)V.error("`beforeSend` method has to return `null` or a valid event.");else if(g(a))e.pt(a,i,u);else{if(null===(r=a))return V.log("`beforeSend` returned `null`, will not send event."),void i(null);e.dt(r),i(r)}}else u("An event processor returned null, will not send event.")}).then(null,function(t){e.captureException(t,{data:{__sentry__:!0},originalException:t}),u("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)})})},t.prototype.pt=function(t,n,r){var e=this;t.then(function(t){null!==t?(e.dt(t),n(t)):r("`beforeSend` returned `null`, will not send event.")}).then(null,function(t){r("beforeSend rejected with "+t)})},t}(),Jt=function(){function n(){}return n.prototype.sendEvent=function(n){return ot.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:t.Status.Skipped})},n.prototype.close=function(t){return ot.resolve(!0)},n}(),zt=function(){function t(t){this.it=t,this.it.dsn||V.warn("No DSN provided, backend will not do anything."),this.yt=this.bt()}return t.prototype.bt=function(){return new Jt},t.prototype.eventFromException=function(t,n){throw new h("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,n,r){throw new h("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this.yt.sendEvent(t).then(null,function(t){V.error("Error while sending event: "+t)})},t.prototype.getTransport=function(){return this.yt},t}();function Vt(t,n){var r="transaction"===t.type,e={body:JSON.stringify(t),url:r?n.getEnvelopeEndpointWithUrlEncodedAuth():n.getStoreEndpointWithUrlEncodedAuth()};if(r){var i=JSON.stringify({event_id:t.event_id,sent_at:new Date(1e3*F()).toISOString()})+"\n"+JSON.stringify({type:t.type})+"\n"+e.body;e.body=i}return e}var Kt=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){Bt=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],n=0;n|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,rn=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,en=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,on=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,un=/\((\S*)(?::(\d+))(?::(\d+))\)/;function cn(t){var n=null,r=t&&t.framesToPop;try{if(n=function(t){if(!t||!t.stacktrace)return null;for(var n,r=t.stacktrace,e=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,i=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,o=r.split("\n"),u=[],c=0;c eval")>-1&&(n=on.exec(r[3]))?(r[1]=r[1]||"eval",r[3]=n[1],r[4]=n[2],r[5]=""):0!==u||r[5]||void 0===t.columnNumber||(i[0].column=t.columnNumber+1),e={url:r[3],func:r[1]||tn,args:r[2]?r[2].split(","):[],line:r[4]?+r[4]:null,column:r[5]?+r[5]:null}}!e.func&&e.line&&(e.func=tn),i.push(e)}if(!i.length)return null;return{message:sn(t),name:t.name,stack:i}}(t))return an(n,r)}catch(t){}return{message:sn(t),name:t&&t.name,stack:[],failed:!0}}function an(t,n){try{return e({},t,{stack:t.stack.slice(n)})}catch(n){return t}}function sn(t){var n=t&&t.message;return n?n.error&&"string"==typeof n.error.message?n.error.message:n:"No error message"}var fn=50;function hn(t){var n=ln(t.stack),r={type:t.name,value:t.message};return n&&n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function vn(t){return{exception:{values:[hn(t)]}}}function ln(t){if(!t||!t.length)return[];var n=t,r=n[0].func||"",e=n[n.length-1].func||"";return-1===r.indexOf("captureMessage")&&-1===r.indexOf("captureException")||(n=n.slice(1)),-1!==e.indexOf("sentryWrapped")&&(n=n.slice(0,-1)),n.slice(0,fn).map(function(t){return{colno:null===t.column?void 0:t.column,filename:t.url||n[0].url,function:t.func||"?",in_app:!0,lineno:null===t.line?void 0:t.line}}).reverse()}function dn(t,n,r){var e,i;if(void 0===r&&(r={}),l(t)&&t.error)return e=vn(cn(t=t.error));if(d(t)||(i=t,"[object DOMException]"===Object.prototype.toString.call(i))){var o=t,u=o.name||(d(o)?"DOMError":"DOMException"),c=o.message?u+": "+o.message:u;return N(e=pn(c,n,r),c),e}return v(t)?e=vn(cn(t)):m(t)||b(t)?(C(e=function(t,n,r){var e={exception:{values:[{type:b(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:"Non-Error "+(r?"promise rejection":"exception")+" captured with keys: "+it(t)}]},extra:{__serialized__:tt(t)}};if(n){var i=ln(cn(n).stack);e.stacktrace={frames:i}}return e}(t,n,r.rejection),{synthetic:!0}),e):(N(e=pn(t,n,r),""+t,void 0),C(e,{synthetic:!0}),e)}function pn(t,n,r){void 0===r&&(r={});var e={message:t};if(r.attachStacktrace&&n){var i=ln(cn(n).stack);e.stacktrace={frames:i}}return e}var yn=function(){function t(t){this.options=t,this.S=new ut(30),this.Ot=new Xt(this.options.dsn),this.url=this.Ot.getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(t){throw new h("Transport Class has to implement `sendEvent` method")},t.prototype.close=function(t){return this.S.drain(t)},t}(),mn=O(),bn=function(n){function e(){var t=null!==n&&n.apply(this,arguments)||this;return t._t=new Date(Date.now()),t}return r(e,n),e.prototype.sendEvent=function(n){var r=this;if(new Date(Date.now())0}function kn(t,n,r){if(void 0===n&&(n={}),"function"!=typeof t)return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch(n){return t}var sentryWrapped=function(){var i=Array.prototype.slice.call(arguments);try{r&&"function"==typeof r&&r.apply(this,arguments);var o=i.map(function(t){return kn(t,n)});return t.handleEvent?t.handleEvent.apply(this,o):t.apply(this,o)}catch(t){throw xn+=1,setTimeout(function(){xn-=1}),Pt(function(r){r.addEventProcessor(function(t){var r=e({},t);return n.mechanism&&(N(r,void 0,void 0),C(r,n.mechanism)),r.extra=e({},r.extra,{arguments:i}),r}),captureException(t)}),t}};try{for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(sentryWrapped[i]=t[i])}catch(t){}t.prototype=t.prototype||{},sentryWrapped.prototype=t.prototype,Object.defineProperty(t,"__sentry_wrapped__",{enumerable:!1,value:sentryWrapped}),Object.defineProperties(sentryWrapped,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:t}});try{Object.getOwnPropertyDescriptor(sentryWrapped,"name").configurable&&Object.defineProperty(sentryWrapped,"name",{get:function(){return t.name}})}catch(t){}return sentryWrapped}var Sn=function(){function n(t){this.name=n.id,this.Dt=!1,this.Rt=!1,this.it=e({onerror:!0,onunhandledrejection:!0},t)}return n.prototype.setupOnce=function(){Error.stackTraceLimit=50,this.it.onerror&&(V.log("Global Handler attached: onerror"),this.It()),this.it.onunhandledrejection&&(V.log("Global Handler attached: onunhandledrejection"),this.Nt())},n.prototype.It=function(){var t=this;this.Dt||(pt({callback:function(r){var e=r.error,i=qt(),o=i.getIntegration(n),u=e&&!0===e.__sentry_own_request__;if(o&&!jn()&&!u){var c=i.getClient(),a=y(e)?t.Ct(r.msg,r.url,r.line,r.column):t.Mt(dn(e,void 0,{attachStacktrace:c&&c.getOptions().attachStacktrace,rejection:!1}),r.url,r.line,r.column);C(a,{handled:!1,type:"onerror"}),i.captureEvent(a,{originalException:e})}},type:"error"}),this.Dt=!0)},n.prototype.Nt=function(){var r=this;this.Rt||(pt({callback:function(e){var i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch(t){}var o=qt(),u=o.getIntegration(n),c=i&&!0===i.__sentry_own_request__;if(!u||jn()||c)return!0;var a=o.getClient(),s=y(i)?r.At(i):dn(i,void 0,{attachStacktrace:a&&a.getOptions().attachStacktrace,rejection:!0});s.level=t.Severity.Error,C(s,{handled:!1,type:"onunhandledrejection"}),o.captureEvent(s,{originalException:i})},type:"unhandledrejection"}),this.Rt=!0)},n.prototype.Ct=function(t,n,r,e){var i,o=l(t)?t.message:t;if(p(o)){var u=o.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);u&&(i=u[1],o=u[2])}var c={exception:{values:[{type:i||"Error",value:o}]}};return this.Mt(c,n,r,e)},n.prototype.At=function(t){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+t}]}}},n.prototype.Mt=function(t,n,r,e){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].stacktrace=t.exception.values[0].stacktrace||{},t.exception.values[0].stacktrace.frames=t.exception.values[0].stacktrace.frames||[];var i=isNaN(parseInt(e,10))?void 0:e,o=isNaN(parseInt(r,10))?void 0:r,u=p(n)&&n.length>0?n:function(){try{return document.location.href}catch(t){return""}}();return 0===t.exception.values[0].stacktrace.frames.length&&t.exception.values[0].stacktrace.frames.push({colno:i,filename:u,function:"?",in_app:!0,lineno:o}),t},n.id="GlobalHandlers",n}(),Tn=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],On=function(){function t(n){this.name=t.id,this.it=e({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},n)}return t.prototype.qt=function(t){return function(){for(var n=[],r=0;r"}0!==n.length&&qt().addBreadcrumb({category:"ui."+t.name,message:n},{event:t.event,name:t.name})},n.prototype.Xt=function(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;qt().addBreadcrumb({category:"xhr",data:t.xhr.__sentry_xhr__,type:"http"},{xhr:t.xhr})}else;},n.prototype.Wt=function(n){n.endTimestamp&&(n.fetchData.url.match(/sentry_key/)&&"POST"===n.fetchData.method||(n.error?qt().addBreadcrumb({category:"fetch",data:n.fetchData,level:t.Severity.Error,type:"http"},{data:n.error,input:n.args}):qt().addBreadcrumb({category:"fetch",data:e({},n.fetchData,{status_code:n.response.status}),type:"http"},{input:n.args,response:n.response})))},n.prototype.$t=function(t){var n=O(),r=t.from,e=t.to,i=D(n.location.href),o=D(r),u=D(e);o.path||(o=i),i.protocol===u.protocol&&i.host===u.host&&(e=u.relative),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),qt().addBreadcrumb({category:"navigation",data:{from:r,to:e}})},n.prototype.setupOnce=function(){var t=this;this.it.console&&pt({callback:function(){for(var n=[],r=0;r=this.k)return r;var e=hn(cn(t[n]));return this.Jt(t[n],n,u([e],r))},t.id="LinkedErrors",t}(),Nn=O(),Cn=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){It(function(n){if(qt().getIntegration(t)){if(!Nn.navigator||!Nn.location)return n;var r=n.request||{};return r.url=r.url||Nn.location.href,r.headers=r.headers||{},r.headers["User-Agent"]=Nn.navigator.userAgent,e({},n,{request:r})}return n})},t.id="UserAgent",t}(),Mn=Object.freeze({GlobalHandlers:Sn,TryCatch:On,Breadcrumbs:_n,LinkedErrors:In,UserAgent:Cn}),An="sentry.javascript.browser",qn=function(t){function n(n){return void 0===n&&(n={}),t.call(this,En,n)||this}return r(n,t),n.prototype.ft=function(n,r,i){return n.platform=n.platform||"javascript",n.sdk=e({},n.sdk,{name:An,packages:u(n.sdk&&n.sdk.packages||[],[{name:"npm:@sentry/browser",version:"5.18.1"}]),version:"5.18.1"}),t.prototype.ft.call(this,n,r,i)},n.prototype.dt=function(n){var r=this.getIntegration(_n);r&&r.addSentryBreadcrumb(n),t.prototype.dt.call(this,n)},n.prototype.showReportDialog=function(t){void 0===t&&(t={});var n=O().document;if(n)if(this.st()){var r=t.dsn||this.getDsn();if(t.eventId)if(r){var e=n.createElement("script");e.async=!0,e.src=new Xt(r).getReportDialogEndpoint(t),t.onLoad&&(e.onload=t.onLoad),(n.head||n.body).appendChild(e)}else V.error("Missing `Dsn` option in showReportDialog call");else V.error("Missing `eventId` option in showReportDialog call")}else V.error("Trying to call showReportDialog with Sentry Client is disabled")},n}(Gt),Un=[new Yt,new Kt,new On,new _n,new Sn,new In,new Cn];var Ln={},Hn=O();Hn.Sentry&&Hn.Sentry.Integrations&&(Ln=Hn.Sentry.Integrations);var Fn=e({},Ln,Zt,Mn);return t.BrowserClient=qn,t.Hub=Ct,t.Integrations=Fn,t.SDK_NAME=An,t.SDK_VERSION="5.18.1",t.Scope=Dt,t.Transports=gn,t.addBreadcrumb=function(t){Ft("addBreadcrumb",t)},t.addGlobalEventProcessor=It,t.captureEvent=function(t){return Ft("captureEvent",t)},t.captureException=captureException,t.captureMessage=function(t,n){var r;try{throw new Error(t)}catch(t){r=t}return Ft("captureMessage",t,"string"==typeof n?n:void 0,e({originalException:t,syntheticException:r},"string"!=typeof n?{captureContext:n}:void 0))},t.close=function(t){var n=qt().getClient();return n?n.close(t):ot.reject(!1)},t.configureScope=function(t){Ft("configureScope",t)},t.defaultIntegrations=Un,t.flush=function(t){var n=qt().getClient();return n?n.flush(t):ot.reject(!1)},t.forceLoad=function(){},t.getCurrentHub=qt,t.getHubFromCarrier=Lt,t.init=function(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=Un),void 0===t.release){var n=O();n.SENTRY_RELEASE&&n.SENTRY_RELEASE.id&&(t.release=n.SENTRY_RELEASE.id)}!function(t,n){!0===n.debug&&V.enable();var r=qt(),e=new t(n);r.bindClient(e)}(qn,t)},t.lastEventId=function(){return qt().lastEventId()},t.makeMain=At,t.onLoad=function(t){t()},t.setContext=function(t,n){Ft("setContext",t,n)},t.setExtra=function(t,n){Ft("setExtra",t,n)},t.setExtras=function(t){Ft("setExtras",t)},t.setTag=function(t,n){Ft("setTag",t,n)},t.setTags=function(t){Ft("setTags",t)},t.setUser=function(t){Ft("setUser",t)},t.showReportDialog=function(t){void 0===t&&(t={}),t.eventId||(t.eventId=qt().lastEventId());var n=qt().getClient();n&&n.showReportDialog(t)},t.startTransaction=function(t){return Ft("startTransaction",e({},t))},t.withScope=Pt,t.wrap=function(t){return kn(t)()},t}({}); From 2e4c3fed249a03f9c47d014903c002e00ba242c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 26 Jun 2020 18:54:39 +0200 Subject: [PATCH 50/85] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20error=20tracking:=20?= =?UTF-8?q?better=20integration=20with=20UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/errortracking_javascripts.jinja2 | 16 ++++++---------- src/octoprint/static/js/app/helpers.js | 9 +++++++++ src/octoprint/static/js/app/main.js | 18 ++++++++++++++++++ 3 files changed, 33 insertions(+), 10 deletions(-) diff --git a/src/octoprint/plugins/errortracking/templates/errortracking_javascripts.jinja2 b/src/octoprint/plugins/errortracking/templates/errortracking_javascripts.jinja2 index d449fb7fd..776eaf8a5 100644 --- a/src/octoprint/plugins/errortracking/templates/errortracking_javascripts.jinja2 +++ b/src/octoprint/plugins/errortracking/templates/errortracking_javascripts.jinja2 @@ -8,18 +8,14 @@ Sentry.init({ dsn: errortracking_url_coreui, release: VERSION, - whitelistUrls: [ - // only include static assets - "/static/" - ], - blacklistUrls: [ - // exclude third party plugins - "/static/webassets/packed_plugins.js" + allowUrls: [ + // only include errors raise in HTML, packed core & client + {% assets "js_client" %}"{{ ASSET_URL }}",{% endassets %} + {% assets "js_core" %}"{{ ASSET_URL }}",{% endassets %} + {% if g.locale %}"{{ url_for('localeJs', locale=g.locale, domain='messages') }}"{% endif %} ] }); - Sentry.configureScope(function (scope) { - scope.setUser({"id": errortracking_unique_id}); - }); + Sentry.setUser({"id": errortracking_unique_id}); ERRORTRACKING_ENABLED = true; log.info("Initialized error tracking"); }; diff --git a/src/octoprint/static/js/app/helpers.js b/src/octoprint/static/js/app/helpers.js index ac8f13a56..fcc3e4e58 100644 --- a/src/octoprint/static/js/app/helpers.js +++ b/src/octoprint/static/js/app/helpers.js @@ -1259,6 +1259,9 @@ function setOnViewModelIf(viewModel, key, value, condition) { viewModel[key] = value; } catch (exc) { + if (Sentry) { + Sentry.captureException(exc); + } log.error("Error while setting", key, "to", value, "on view model", viewModel.constructor.name, ":", (exc.stack || exc)); } } @@ -1274,6 +1277,9 @@ function callViewModelsIf(allViewModels, method, condition, callback) { try { callViewModelIf(viewModel, method, condition, callback); } catch (exc) { + if (Sentry) { + Sentry.captureException(exc); + } log.error("Error calling", method, "on view model", viewModel.constructor.name, ":", (exc.stack || exc)); } }); @@ -1333,6 +1339,9 @@ function callViewModelIf(viewModel, method, condition, callback, raiseErrors) { callback(viewModel[method], viewModel); } } catch (exc) { + if (Sentry) { + Sentry.captureException(exc); + } if (raiseErrors) { throw exc; } else { diff --git a/src/octoprint/static/js/app/main.js b/src/octoprint/static/js/app/main.js index b1bd29d01..01e339ce1 100644 --- a/src/octoprint/static/js/app/main.js +++ b/src/octoprint/static/js/app/main.js @@ -385,6 +385,9 @@ $(function() { try { viewModelInstance = _createViewModelInstance(viewModel, viewModelMap, optionalDependencyPass); } catch (exc) { + if (Sentry) { + Sentry.captureException(exc); + } log.error("Error instantiating", viewModel.name, ":", (exc.stack || exc)); continue; } @@ -598,6 +601,9 @@ $(function() { _.each(allViewModelData, function (viewModelData) { try { if (!Array.isArray(viewModelData) || viewModelData.length !== 2) { + if (Sentry) { + Sentry.captureException(new Error("View model data for" + viewModelData.constructor.name + "has wrong format, expected 2-tuple (viewModel, targets), got:" + viewModelData)); + } log.error("View model data for", viewModelData.constructor.name, "has wrong format, expected 2-tuple (viewModel, targets), got:", viewModelData); return; } @@ -617,6 +623,9 @@ $(function() { try { callViewModel(viewModel, "onBeforeBinding", undefined, true); } catch (exc) { + if (Sentry) { + Sentry.captureException(exc); + } log.error("Error calling onBeforeBinding on view model", viewModel.constructor.name, ":", (exc.stack || exc)); return; } @@ -639,6 +648,9 @@ $(function() { try { object = $(target); } catch (exc) { + if (Sentry) { + Sentry.captureException(exc); + } log.error("Error while attempting to jquery-fy target", target, "of view model", viewModel.constructor.name, ":", (exc.stack || exc)); return; } @@ -665,6 +677,9 @@ $(function() { log.debug("View model", viewModel.constructor.name, "bound to", target); } catch (exc) { + if (Sentry) { + Sentry.captureException(exc); + } log.error("Could not bind view model", viewModel.constructor.name, "to target", target, ":", (exc.stack || exc)); } }); @@ -702,6 +717,9 @@ $(function() { viewModelMap["uiStateViewModel"].loading(false); } catch (exc) { + if (Sentry) { + Sentry.captureException(exc); + } viewModelMap["uiStateViewModel"].showLoadingError("Application startup failed."); throw(exc); } From 43fc028e2ebdebe918db048c889f8ea7664132c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 26 Jun 2020 18:55:42 +0200 Subject: [PATCH 51/85] =?UTF-8?q?=F0=9F=94=87=20error=20tracking:=20Disabl?= =?UTF-8?q?e=20reports=20for=20KeyboardInterrupt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/plugins/errortracking/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/octoprint/plugins/errortracking/__init__.py b/src/octoprint/plugins/errortracking/__init__.py index 7eb80825f..32d4d761d 100644 --- a/src/octoprint/plugins/errortracking/__init__.py +++ b/src/octoprint/plugins/errortracking/__init__.py @@ -31,6 +31,9 @@ IGNORED_EXCEPTIONS = [ # serial exceptions in octoprint.util.comm (serial.SerialException, lambda exc, logger, plugin, cb: logger == "octoprint.util.comm"), + # KeyboardInterrupts + KeyboardInterrupt, + # IOErrors of any kind due to a full file system (IOError, lambda exc, logger, plugin, cb: getattr(exc, "errno") and exc.errno in (getattr(errno, "ENOSPC"),)), From 727c69bb3fa70ef346b14d891823e140f02222d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 26 Jun 2020 19:08:24 +0200 Subject: [PATCH 52/85] =?UTF-8?q?=F0=9F=90=9B=20logging:=20Fix=20request?= =?UTF-8?q?=20frequency=20&=20serial.log=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugins/logging/static/js/logging.js | 35 +++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/src/octoprint/plugins/logging/static/js/logging.js b/src/octoprint/plugins/logging/static/js/logging.js index 7ed3f2bf1..ff37477f7 100644 --- a/src/octoprint/plugins/logging/static/js/logging.js +++ b/src/octoprint/plugins/logging/static/js/logging.js @@ -3,6 +3,8 @@ $(function() { var self = this; self.loginState = parameters[0]; + self.access = parameters[1]; + self.availableLoggers = ko.observableArray(); self.availableLoggersName = ko.observable(); self.availableLoggersLevel = ko.observable(); @@ -57,6 +59,9 @@ $(function() { ); self.requestData = function() { + if (!self.loginState.hasPermission(self.access.permissions.PLUGIN_LOGGING_MANAGE)) { + return; + } OctoPrint.plugins.logging.get() .done(self.fromResponse); }; @@ -135,6 +140,10 @@ $(function() { }; self.addLogger = function() { + if (!self.loginState.hasPermission(self.access.permissions.PLUGIN_LOGGING_MANAGE)) { + return; + } + var component = self.availableLoggersName(); var level = self.availableLoggersLevel(); @@ -145,6 +154,10 @@ $(function() { }; self.removeLogger = function(logger) { + if (!self.loginState.hasPermission(self.access.permissions.PLUGIN_LOGGING_MANAGE)) { + return; + } + self.configuredLoggers.remove(logger); self.availableLoggers.push(logger.component); @@ -152,6 +165,9 @@ $(function() { }; self.removeFile = function(filename) { + if (!self.loginState.hasPermission(self.access.permissions.PLUGIN_LOGGING_MANAGE)) { + return; + } var perform = function() { OctoPrint.plugins.logging.deleteLog(filename) .done(self.requestData); @@ -170,10 +186,16 @@ $(function() { }; self.clearMarkedFiles = function() { + if (!self.loginState.hasPermission(self.access.permissions.PLUGIN_LOGGING_MANAGE)) { + return; + } self.markedForDeletion.removeAll(); }; self.removeMarkedFiles = function() { + if (!self.loginState.hasPermission(self.access.permissions.PLUGIN_LOGGING_MANAGE)) { + return; + } var perform = function() { self._bulkRemove(self.markedForDeletion(), "files") .done(function() { @@ -185,11 +207,17 @@ $(function() { perform); }; - self.onStartup = self.onServerReconnect = self.onUserLoggedIn = self.onUserLoggedOut = function() { + self.onServerReconnect = self.onUserLoggedIn = self.onEventSettingsUpdated = function() { + if (!self.loginState.hasPermission(self.access.permissions.PLUGIN_LOGGING_MANAGE)) { + return; + } self.requestData(); }; self.onSettingsBeforeSave = function () { + if (!self.loginState.hasPermission(self.access.permissions.PLUGIN_LOGGING_MANAGE)) { + return; + } if ( self.configuredLoggersChanged ) { console.log("ConfiguredLoggers has changed. Saving!"); var levels = {}; @@ -203,6 +231,9 @@ $(function() { }; self._bulkRemove = function(files) { + if (!self.loginState.hasPermission(self.access.permissions.PLUGIN_LOGGING_MANAGE)) { + return; + } var title = gettext("Deleting log files"); var message = _.sprintf(gettext("Deleting %(count)d log files..."), {count: files.length}); var handler = function(filename) { @@ -247,7 +278,7 @@ $(function() { OCTOPRINT_VIEWMODELS.push({ construct: LoggingViewModel, additionalNames: ["logsViewModel"], - dependencies: ["loginStateViewModel"], + dependencies: ["loginStateViewModel", "accessViewModel"], elements: ["#settings_plugin_logging", "#navbar_plugin_logging"] }); }); From a01128b27394a0dde4c8d961ac19531bd41d16b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 26 Jun 2020 20:52:21 +0200 Subject: [PATCH 53/85] =?UTF-8?q?=F0=9F=8F=81=20Fix=20startup=20under=20Py?= =?UTF-8?q?thon=203.8=20and=20Windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Python 3.8 makes proactor event loop the default on Windows, Tornado doesn't like that. See also tornadoweb/tornado#2608 --- src/octoprint/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/octoprint/__init__.py b/src/octoprint/__init__.py index 4ed99cfca..18322aa29 100644 --- a/src/octoprint/__init__.py +++ b/src/octoprint/__init__.py @@ -47,6 +47,13 @@ if version_info.major == 2 and version_info.minor <= 7 and version_info.micro < except ImportError: pass +elif version_info.major == 3 and version_info.minor >= 8 and sys.platform == "win32": + # Python 3.8 makes proactor event loop the default on Windows, Tornado doesn't like that + # + # see https://github.com/tornadoweb/tornado/issues/2608 + import asyncio + asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) + del version_info #~~ custom exceptions From ca493459b309c7883eac6b0b30091291f61d8f89 Mon Sep 17 00:00:00 2001 From: FedericoNembrini <25205086+FedericoNembrini@users.noreply.github.com> Date: Sun, 28 Jun 2020 13:43:44 +0200 Subject: [PATCH 54/85] Add application button for temperature profiles Add "setTargetFromProfile" and "setTargetToZero" wrapper for setting entire profiles Add helper function to retrieve the temperature profiles description --- AUTHORS.md | 1 + src/octoprint/static/js/app/helpers.js | 17 +++++++++ .../static/js/app/viewmodels/temperature.js | 35 +++++++++++++++++++ src/octoprint/static/less/octoprint.less | 8 +++++ .../templates/tabs/temperature.jinja2 | 18 +++++++++- 5 files changed, 78 insertions(+), 1 deletion(-) diff --git a/AUTHORS.md b/AUTHORS.md index 32763a221..db2e16367 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -121,6 +121,7 @@ date of first contribution): * [Josh Friend](https://github.com/joshfriend) * [Lachlan Cresswell](https://github.com/lachyc) * [Khoi Pham](https://github.com/osubuu) + * [Federico Nembrini](https://github.com/FedericoNembrini) OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by [Daid Braam](https://github.com/daid). Parts of its communication layer and diff --git a/src/octoprint/static/js/app/helpers.js b/src/octoprint/static/js/app/helpers.js index fcc3e4e58..70bd06a38 100644 --- a/src/octoprint/static/js/app/helpers.js +++ b/src/octoprint/static/js/app/helpers.js @@ -621,6 +621,23 @@ function formatTemperature(temp, showF, offThreshold) { } } +// Return the temperatures string from the given temperature profile +function formatTemperatureProfileDescription(temperatureProfile, hasBed, hasChamber) { + if(temperatureProfile === undefined) return "-"; + + var temperatureProfileDescription = gettext("Extruder") + ": " + formatTemperature(temperatureProfile.extruder); + + if(hasBed) { + temperatureProfileDescription += " - " + gettext("Bed") + ": " + formatTemperature(temperatureProfile.bed); + } + + if(hasChamber) { + temperatureProfileDescription += " - " + gettext("Chamber") + ": " + formatTemperature(temperatureProfile.chamber); + } + + return temperatureProfileDescription; +} + function formatNumberK(num) { if (num > 1000) { num = num / 1000.0; diff --git a/src/octoprint/static/js/app/viewmodels/temperature.js b/src/octoprint/static/js/app/viewmodels/temperature.js index 8965d05ff..7c1b82627 100644 --- a/src/octoprint/static/js/app/viewmodels/temperature.js +++ b/src/octoprint/static/js/app/viewmodels/temperature.js @@ -616,6 +616,26 @@ $(function() { return self.setTargetToValue(item, value); }; + // Wrapper of self.setTargetFromProfile() to apply all the temperature from a temperature profile + self.setTargetsFromProfile = function(temperatureProfile) { + if(temperatureProfile === undefined) { + console.log("temperatureProfile is undefined!"); + return; + } + + if(self.hasBed()) { + self.setTargetFromProfile(self.bedTemp, temperatureProfile); + } + + if(self.hasChamber()) { + self.setTargetFromProfile(self.chamberTemp, temperatureProfile); + } + + self.tools().forEach(function(element) { + self.setTargetFromProfile(element, temperatureProfile); + }); + }; + self.setTargetFromProfile = function(item, profile) { if (!profile) return OctoPrintClient.createRejectedDeferred(); @@ -634,6 +654,21 @@ $(function() { return self.setTargetToValue(item, target); }; + // Wrapper of self.setTargetToZero() to set off all the temperatures + self.setTargetsToZero = function() { + if(self.hasBed()) { + self.setTargetToZero(self.bedTemp); + } + + if(self.hasChamber()) { + self.setTargetToZero(self.chamberTemp); + } + + self.tools().forEach(function(element) { + self.setTargetToZero(element); + }); + }; + self.setTargetToZero = function(item) { self.clearAutosendTarget(item); return self.setTargetToValue(item, 0); diff --git a/src/octoprint/static/less/octoprint.less b/src/octoprint/static/less/octoprint.less index a4a7dd42e..38e718bc9 100644 --- a/src/octoprint/static/less/octoprint.less +++ b/src/octoprint/static/less/octoprint.less @@ -487,6 +487,14 @@ table { &.temperature_target { width: 42%; overflow: visible; + + & > span { + line-height: 1.9em; + } + + & > .btn-group { + float: right; + } } &.temperature_offset { diff --git a/src/octoprint/templates/tabs/temperature.jinja2 b/src/octoprint/templates/tabs/temperature.jinja2 index 96698eeb2..14a5a6799 100644 --- a/src/octoprint/templates/tabs/temperature.jinja2 +++ b/src/octoprint/templates/tabs/temperature.jinja2 @@ -9,7 +9,23 @@ {{ _('Actual') }} - {{ _('Target') }} + + {{ _('Target') }} +
    + + +
    + {{ _('Offset') }} From 4fc5aa7c3aa2e8f632a5e92ae01e5da4d3847319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 30 Jun 2020 16:42:07 +0200 Subject: [PATCH 55/85] =?UTF-8?q?=E2=99=BB=20Reduce=20code=20duplication?= =?UTF-8?q?=20&=20bundle=20in=20VM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/static/css/octoprint.css | 2 +- src/octoprint/static/js/app/helpers.js | 17 ---------- .../static/js/app/viewmodels/temperature.js | 33 ++++++++++++------- src/octoprint/static/less/octoprint.less | 10 ++---- .../templates/tabs/temperature.jinja2 | 10 +++--- 5 files changed, 30 insertions(+), 42 deletions(-) diff --git a/src/octoprint/static/css/octoprint.css b/src/octoprint/static/css/octoprint.css index 35a44a0b7..fe1315466 100644 --- a/src/octoprint/static/css/octoprint.css +++ b/src/octoprint/static/css/octoprint.css @@ -1 +1 @@ -.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;margin-bottom:0;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.btn.active,.btn.disabled,.btn:active,.btn:focus,.btn:hover,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn.active,.btn:active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:focus,.btn:hover{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.btn-large [class*=" icon-"],.btn-large [class^=icon-]{margin-top:4px}.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-small [class*=" icon-"],.btn-small [class^=icon-]{margin-top:0}.btn-mini [class*=" icon-"],.btn-mini [class^=icon-]{margin-top:-1px}.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary.active,.btn-primary.disabled,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary.active,.btn-primary:active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning.active,.btn-warning.disabled,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning.active,.btn-warning:active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-repeat:repeat-x;border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger.active,.btn-danger.disabled,.btn-danger:active,.btn-danger:focus,.btn-danger:hover,.btn-danger[disabled]{color:#fff;background-color:#bd362f;*background-color:#a9302a}.btn-danger.active,.btn-danger:active{background-color:#942a25 \9}.btn-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(to bottom,#62c462,#51a351);background-repeat:repeat-x;border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success.active,.btn-success.disabled,.btn-success:active,.btn-success:focus,.btn-success:hover,.btn-success[disabled]{color:#fff;background-color:#51a351;*background-color:#499249}.btn-success.active,.btn-success:active{background-color:#408140 \9}.btn-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(to bottom,#5bc0de,#2f96b4);background-repeat:repeat-x;border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info.active,.btn-info.disabled,.btn-info:active,.btn-info:focus,.btn-info:hover,.btn-info[disabled]{color:#fff;background-color:#2f96b4;*background-color:#2a85a0}.btn-info.active,.btn-info:active{background-color:#24748c \9}.btn-inverse{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#363636;background-image:-moz-linear-gradient(top,#444,#222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#444),to(#222));background-image:-webkit-linear-gradient(top,#444,#222);background-image:-o-linear-gradient(top,#444,#222);background-image:linear-gradient(to bottom,#444,#222);background-repeat:repeat-x;border-color:#222 #222 #000;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse.active,.btn-inverse.disabled,.btn-inverse:active,.btn-inverse:focus,.btn-inverse:hover,.btn-inverse[disabled]{color:#fff;background-color:#222;*background-color:#151515}.btn-inverse.active,.btn-inverse:active{background-color:#080808 \9}button.btn,input[type=submit].btn{*padding-top:3px;*padding-bottom:3px}button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type=submit].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type=submit].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type=submit].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-link,.btn-link:active,.btn-link[disabled]{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-link{border-color:transparent;cursor:pointer;color:#08c;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-link:focus,.btn-link:hover{color:#005580;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover{color:#333;text-decoration:none}.clearfix{*zoom:1}.clearfix:after,.clearfix:before{display:table;content:"";line-height:0}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.nowrap{white-space:nowrap}.actioncol{text-align:center;white-space:nowrap}.actioncol a{text-decoration:none;color:#000}.actioncol a.disabled{color:#ccc;cursor:default}#navbar .navbar-inner{background-color:#ebebeb;background-image:-moz-linear-gradient(top,#fff,#ccc);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#ccc));background-image:-webkit-linear-gradient(top,#fff,#ccc);background-image:-o-linear-gradient(top,#fff,#ccc);background-image:linear-gradient(to bottom,#fff,#ccc);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffcccccc', GradientType=0)}#navbar .navbar-inner .brand,#navbar .navbar-inner .nav>li>a{text-shadow:0 1px 0 #ccc;color:#333}#navbar .navbar-inner .brand .caret,#navbar .navbar-inner .nav>li>a .caret{border-bottom-color:#939393;border-top-color:#939393}#navbar .navbar-inner .brand:focus .caret,#navbar .navbar-inner .brand:hover .caret,#navbar .navbar-inner .nav>li>a:focus .caret,#navbar .navbar-inner .nav>li>a:hover .caret{border-bottom-color:#636363;border-top-color:#636363}#navbar .navbar-inner .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner .nav>li.dropdown.open>.dropdown-toggle{background-color:#e0e0e0;background-image:-moz-linear-gradient(top,#ccc,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ccc),to(#fff));background-image:-webkit-linear-gradient(top,#ccc,#fff);background-image:-o-linear-gradient(top,#ccc,#fff);background-image:linear-gradient(to bottom,#ccc,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcccccc', endColorstr='#ffffffff', GradientType=0)}#navbar .navbar-inner .nav>li>a:hover{background-color:#dedede;background-image:-moz-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#bfbfbf));background-image:-webkit-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:-o-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:linear-gradient(to bottom,#f2f2f2,#bfbfbf);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffbfbfbf', GradientType=0)}#navbar .navbar-inner.transparent{background-color:rgba(235,235,235,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.6)),to(rgba(204,204,204,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#99cccccc', GradientType=0)}#navbar .navbar-inner.transparent .brand,#navbar .navbar-inner.transparent .nav>li>a{text-shadow:0 1px 0 #ccc;color:#333}#navbar .navbar-inner.transparent .brand .caret,#navbar .navbar-inner.transparent .nav>li>a .caret{border-bottom-color:#939393;border-top-color:#939393}#navbar .navbar-inner.transparent .brand:focus .caret,#navbar .navbar-inner.transparent .brand:hover .caret,#navbar .navbar-inner.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.transparent .nav>li>a:hover .caret{border-bottom-color:#636363;border-top-color:#636363}#navbar .navbar-inner.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(224,224,224,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(204,204,204,.6)),to(rgba(255,255,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99cccccc', endColorstr='#99ffffff', GradientType=0)}#navbar .navbar-inner.transparent .nav>li>a:hover{background-color:rgba(222,222,222,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(242,242,242,.6)),to(rgba(191,191,191,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f2f2f2', endColorstr='#99bfbfbf', GradientType=0)}#navbar .navbar-inner.red{background-color:#bb645f;background-image:-moz-linear-gradient(top,#e28e8a,#802420);background-image:-webkit-gradient(linear,0 0,0 100%,from(#e28e8a),to(#802420));background-image:-webkit-linear-gradient(top,#e28e8a,#802420);background-image:-o-linear-gradient(top,#e28e8a,#802420);background-image:linear-gradient(to bottom,#e28e8a,#802420);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe28e8a', endColorstr='#ff802420', GradientType=0)}#navbar .navbar-inner.red .brand,#navbar .navbar-inner.red .nav>li>a{text-shadow:0 1px 0 #d86761;color:#f2f2f2}#navbar .navbar-inner.red .brand .caret,#navbar .navbar-inner.red .nav>li>a .caret{border-bottom-color:#d89491;border-top-color:#d89491}#navbar .navbar-inner.red .brand:focus .caret,#navbar .navbar-inner.red .brand:hover .caret,#navbar .navbar-inner.red .nav>li>a:focus .caret,#navbar .navbar-inner.red .nav>li>a:hover .caret{border-bottom-color:#e5c3c1;border-top-color:#e5c3c1}#navbar .navbar-inner.red .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.red .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.red .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.red .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.red .nav>li.dropdown.open>.dropdown-toggle{background-color:#a74f4a;background-image:-moz-linear-gradient(top,#802420,#e28e8a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#802420),to(#e28e8a));background-image:-webkit-linear-gradient(top,#802420,#e28e8a);background-image:-o-linear-gradient(top,#802420,#e28e8a);background-image:linear-gradient(to bottom,#802420,#e28e8a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff802420', endColorstr='#ffe28e8a', GradientType=0)}#navbar .navbar-inner.red .nav>li>a:hover{background-color:#af5651;background-image:-moz-linear-gradient(top,#dd7a75,#6b1f1b);background-image:-webkit-gradient(linear,0 0,0 100%,from(#dd7a75),to(#6b1f1b));background-image:-webkit-linear-gradient(top,#dd7a75,#6b1f1b);background-image:-o-linear-gradient(top,#dd7a75,#6b1f1b);background-image:linear-gradient(to bottom,#dd7a75,#6b1f1b);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdd7a75', endColorstr='#ff6b1f1b', GradientType=0)}#navbar .navbar-inner.red.transparent{background-color:rgba(187,100,95,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(226,142,138,.6)),to(rgba(128,36,32,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99e28e8a', endColorstr='#99802420', GradientType=0)}#navbar .navbar-inner.red.transparent .brand,#navbar .navbar-inner.red.transparent .nav>li>a{text-shadow:0 1px 0 #d86761;color:#f2f2f2}#navbar .navbar-inner.red.transparent .brand .caret,#navbar .navbar-inner.red.transparent .nav>li>a .caret{border-bottom-color:#d89491;border-top-color:#d89491}#navbar .navbar-inner.red.transparent .brand:focus .caret,#navbar .navbar-inner.red.transparent .brand:hover .caret,#navbar .navbar-inner.red.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.red.transparent .nav>li>a:hover .caret{border-bottom-color:#e5c3c1;border-top-color:#e5c3c1}#navbar .navbar-inner.red.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.red.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.red.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.red.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.red.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(167,79,74,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(128,36,32,.6)),to(rgba(226,142,138,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99802420', endColorstr='#99e28e8a', GradientType=0)}#navbar .navbar-inner.red.transparent .nav>li>a:hover{background-color:rgba(175,86,81,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(221,122,117,.6)),to(rgba(107,31,27,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99dd7a75', endColorstr='#996b1f1b', GradientType=0)}#navbar .navbar-inner.orange{background-color:#e39665;background-image:-moz-linear-gradient(top,#f9c3a0,#c2530c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9c3a0),to(#c2530c));background-image:-webkit-linear-gradient(top,#f9c3a0,#c2530c);background-image:-o-linear-gradient(top,#f9c3a0,#c2530c);background-image:linear-gradient(to bottom,#f9c3a0,#c2530c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9c3a0', endColorstr='#ffc2530c', GradientType=0)}#navbar .navbar-inner.orange .brand,#navbar .navbar-inner.orange .nav>li>a{text-shadow:0 1px 0 #f6a570;color:#f2f2f2}#navbar .navbar-inner.orange .brand .caret,#navbar .navbar-inner.orange .nav>li>a .caret{border-bottom-color:#f2b58d;border-top-color:#f2b58d}#navbar .navbar-inner.orange .brand:focus .caret,#navbar .navbar-inner.orange .brand:hover .caret,#navbar .navbar-inner.orange .nav>li>a:focus .caret,#navbar .navbar-inner.orange .nav>li>a:hover .caret{border-bottom-color:#f2d3bf;border-top-color:#f2d3bf}#navbar .navbar-inner.orange .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.orange .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.orange .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.orange .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.orange .nav>li.dropdown.open>.dropdown-toggle{background-color:#d88047;background-image:-moz-linear-gradient(top,#c2530c,#f9c3a0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c2530c),to(#f9c3a0));background-image:-webkit-linear-gradient(top,#c2530c,#f9c3a0);background-image:-o-linear-gradient(top,#c2530c,#f9c3a0);background-image:linear-gradient(to bottom,#c2530c,#f9c3a0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2530c', endColorstr='#fff9c3a0', GradientType=0)}#navbar .navbar-inner.orange .nav>li>a:hover{background-color:#d98956;background-image:-moz-linear-gradient(top,#f8b488,#aa490a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f8b488),to(#aa490a));background-image:-webkit-linear-gradient(top,#f8b488,#aa490a);background-image:-o-linear-gradient(top,#f8b488,#aa490a);background-image:linear-gradient(to bottom,#f8b488,#aa490a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8b488', endColorstr='#ffaa490a', GradientType=0)}#navbar .navbar-inner.orange.transparent{background-color:rgba(227,150,101,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(249,195,160,.6)),to(rgba(194,83,12,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f9c3a0', endColorstr='#99c2530c', GradientType=0)}#navbar .navbar-inner.orange.transparent .brand,#navbar .navbar-inner.orange.transparent .nav>li>a{text-shadow:0 1px 0 #f6a570;color:#f2f2f2}#navbar .navbar-inner.orange.transparent .brand .caret,#navbar .navbar-inner.orange.transparent .nav>li>a .caret{border-bottom-color:#f2b58d;border-top-color:#f2b58d}#navbar .navbar-inner.orange.transparent .brand:focus .caret,#navbar .navbar-inner.orange.transparent .brand:hover .caret,#navbar .navbar-inner.orange.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.orange.transparent .nav>li>a:hover .caret{border-bottom-color:#f2d3bf;border-top-color:#f2d3bf}#navbar .navbar-inner.orange.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.orange.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.orange.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.orange.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.orange.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(216,128,71,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(194,83,12,.6)),to(rgba(249,195,160,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c2530c', endColorstr='#99f9c3a0', GradientType=0)}#navbar .navbar-inner.orange.transparent .nav>li>a:hover{background-color:rgba(217,137,86,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(248,180,136,.6)),to(rgba(170,73,10,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f8b488', endColorstr='#99aa490a', GradientType=0)}#navbar .navbar-inner.yellow{background-color:#e3d765;background-image:-moz-linear-gradient(top,#f9f0a0,#c2b00c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9f0a0),to(#c2b00c));background-image:-webkit-linear-gradient(top,#f9f0a0,#c2b00c);background-image:-o-linear-gradient(top,#f9f0a0,#c2b00c);background-image:linear-gradient(to bottom,#f9f0a0,#c2b00c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f0a0', endColorstr='#ffc2b00c', GradientType=0)}#navbar .navbar-inner.yellow .brand,#navbar .navbar-inner.yellow .nav>li>a{text-shadow:0 1px 0 #c2b00c;color:#f2f2f2}#navbar .navbar-inner.yellow .brand .caret,#navbar .navbar-inner.yellow .nav>li>a .caret{border-bottom-color:#f2e88d;border-top-color:#f2e88d}#navbar .navbar-inner.yellow .brand:focus .caret,#navbar .navbar-inner.yellow .brand:hover .caret,#navbar .navbar-inner.yellow .nav>li>a:focus .caret,#navbar .navbar-inner.yellow .nav>li>a:hover .caret{border-bottom-color:#f2edbf;border-top-color:#f2edbf}#navbar .navbar-inner.yellow .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.yellow .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.yellow .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.yellow .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.yellow .nav>li.dropdown.open>.dropdown-toggle{background-color:#d8ca47;background-image:-moz-linear-gradient(top,#c2b00c,#f9f0a0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c2b00c),to(#f9f0a0));background-image:-webkit-linear-gradient(top,#c2b00c,#f9f0a0);background-image:-o-linear-gradient(top,#c2b00c,#f9f0a0);background-image:linear-gradient(to bottom,#c2b00c,#f9f0a0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2b00c', endColorstr='#fff9f0a0', GradientType=0)}#navbar .navbar-inner.yellow .nav>li>a:hover{background-color:#d9cc56;background-image:-moz-linear-gradient(top,#f8ed88,#aa9a0a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f8ed88),to(#aa9a0a));background-image:-webkit-linear-gradient(top,#f8ed88,#aa9a0a);background-image:-o-linear-gradient(top,#f8ed88,#aa9a0a);background-image:linear-gradient(to bottom,#f8ed88,#aa9a0a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8ed88', endColorstr='#ffaa9a0a', GradientType=0)}#navbar .navbar-inner.yellow.transparent{background-color:rgba(227,215,101,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(249,240,160,.6)),to(rgba(194,176,12,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f9f0a0', endColorstr='#99c2b00c', GradientType=0)}#navbar .navbar-inner.yellow.transparent .brand,#navbar .navbar-inner.yellow.transparent .nav>li>a{text-shadow:0 1px 0 #c2b00c;color:#f2f2f2}#navbar .navbar-inner.yellow.transparent .brand .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a .caret{border-bottom-color:#f2e88d;border-top-color:#f2e88d}#navbar .navbar-inner.yellow.transparent .brand:focus .caret,#navbar .navbar-inner.yellow.transparent .brand:hover .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a:hover .caret{border-bottom-color:#f2edbf;border-top-color:#f2edbf}#navbar .navbar-inner.yellow.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.yellow.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(216,202,71,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(194,176,12,.6)),to(rgba(249,240,160,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c2b00c', endColorstr='#99f9f0a0', GradientType=0)}#navbar .navbar-inner.yellow.transparent .nav>li>a:hover{background-color:rgba(217,204,86,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(248,237,136,.6)),to(rgba(170,154,10,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f8ed88', endColorstr='#99aa9a0a', GradientType=0)}#navbar .navbar-inner.green{background-color:#98f064;background-image:-moz-linear-gradient(top,#c8ffa7,#50da00);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8ffa7),to(#50da00));background-image:-webkit-linear-gradient(top,#c8ffa7,#50da00);background-image:-o-linear-gradient(top,#c8ffa7,#50da00);background-image:linear-gradient(to bottom,#c8ffa7,#50da00);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8ffa7', endColorstr='#ff50da00', GradientType=0)}#navbar .navbar-inner.green .brand,#navbar .navbar-inner.green .nav>li>a{text-shadow:0 1px 0 #50da00;color:#333}#navbar .navbar-inner.green .brand .caret,#navbar .navbar-inner.green .nav>li>a .caret{border-bottom-color:#55992e;border-top-color:#55992e}#navbar .navbar-inner.green .brand:focus .caret,#navbar .navbar-inner.green .brand:hover .caret,#navbar .navbar-inner.green .nav>li>a:focus .caret,#navbar .navbar-inner.green .nav>li>a:hover .caret{border-bottom-color:#446630;border-top-color:#446630}#navbar .navbar-inner.green .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.green .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.green .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.green .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.green .nav>li.dropdown.open>.dropdown-toggle{background-color:#80e943;background-image:-moz-linear-gradient(top,#50da00,#c8ffa7);background-image:-webkit-gradient(linear,0 0,0 100%,from(#50da00),to(#c8ffa7));background-image:-webkit-linear-gradient(top,#50da00,#c8ffa7);background-image:-o-linear-gradient(top,#50da00,#c8ffa7);background-image:linear-gradient(to bottom,#50da00,#c8ffa7);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff50da00', endColorstr='#ffc8ffa7', GradientType=0)}#navbar .navbar-inner.green .nav>li>a:hover{background-color:#8ae655;background-image:-moz-linear-gradient(top,#b8ff8e,#47c100);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b8ff8e),to(#47c100));background-image:-webkit-linear-gradient(top,#b8ff8e,#47c100);background-image:-o-linear-gradient(top,#b8ff8e,#47c100);background-image:linear-gradient(to bottom,#b8ff8e,#47c100);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb8ff8e', endColorstr='#ff47c100', GradientType=0)}#navbar .navbar-inner.green.transparent{background-color:rgba(152,240,100,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,255,167,.6)),to(rgba(80,218,0,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8ffa7', endColorstr='#9950da00', GradientType=0)}#navbar .navbar-inner.green.transparent .brand,#navbar .navbar-inner.green.transparent .nav>li>a{text-shadow:0 1px 0 #50da00;color:#333}#navbar .navbar-inner.green.transparent .brand .caret,#navbar .navbar-inner.green.transparent .nav>li>a .caret{border-bottom-color:#55992e;border-top-color:#55992e}#navbar .navbar-inner.green.transparent .brand:focus .caret,#navbar .navbar-inner.green.transparent .brand:hover .caret,#navbar .navbar-inner.green.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.green.transparent .nav>li>a:hover .caret{border-bottom-color:#446630;border-top-color:#446630}#navbar .navbar-inner.green.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.green.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.green.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.green.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.green.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(128,233,67,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(80,218,0,.6)),to(rgba(200,255,167,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9950da00', endColorstr='#99c8ffa7', GradientType=0)}#navbar .navbar-inner.green.transparent .nav>li>a:hover{background-color:rgba(138,230,85,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(184,255,142,.6)),to(rgba(71,193,0,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99b8ff8e', endColorstr='#9947c100', GradientType=0)}#navbar .navbar-inner.blue{background-color:#2e63cc;background-image:-moz-linear-gradient(top,#4d88ff,#002b80);background-image:-webkit-gradient(linear,0 0,0 100%,from(#4d88ff),to(#002b80));background-image:-webkit-linear-gradient(top,#4d88ff,#002b80);background-image:-o-linear-gradient(top,#4d88ff,#002b80);background-image:linear-gradient(to bottom,#4d88ff,#002b80);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4d88ff', endColorstr='#ff002b80', GradientType=0)}#navbar .navbar-inner.blue .brand,#navbar .navbar-inner.blue .nav>li>a{text-shadow:0 1px 0 #1a66ff;color:#f2f2f2}#navbar .navbar-inner.blue .brand .caret,#navbar .navbar-inner.blue .nav>li>a .caret{border-bottom-color:#799bdf;border-top-color:#799bdf}#navbar .navbar-inner.blue .brand:focus .caret,#navbar .navbar-inner.blue .brand:hover .caret,#navbar .navbar-inner.blue .nav>li>a:focus .caret,#navbar .navbar-inner.blue .nav>li>a:hover .caret{border-bottom-color:#b6c7e9;border-top-color:#b6c7e9}#navbar .navbar-inner.blue .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.blue .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.blue .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.blue .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.blue .nav>li.dropdown.open>.dropdown-toggle{background-color:#1f50b3;background-image:-moz-linear-gradient(top,#002b80,#4d88ff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#002b80),to(#4d88ff));background-image:-webkit-linear-gradient(top,#002b80,#4d88ff);background-image:-o-linear-gradient(top,#002b80,#4d88ff);background-image:linear-gradient(to bottom,#002b80,#4d88ff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff002b80', endColorstr='#ff4d88ff', GradientType=0)}#navbar .navbar-inner.blue .nav>li>a:hover{background-color:#1f55c2;background-image:-moz-linear-gradient(top,#37f,#026);background-image:-webkit-gradient(linear,0 0,0 100%,from(#37f),to(#026));background-image:-webkit-linear-gradient(top,#37f,#026);background-image:-o-linear-gradient(top,#37f,#026);background-image:linear-gradient(to bottom,#37f,#026);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3377ff', endColorstr='#ff002266', GradientType=0)}#navbar .navbar-inner.blue.transparent{background-color:rgba(46,99,204,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(77,136,255,.6)),to(rgba(0,43,128,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#994d88ff', endColorstr='#99002b80', GradientType=0)}#navbar .navbar-inner.blue.transparent .brand,#navbar .navbar-inner.blue.transparent .nav>li>a{text-shadow:0 1px 0 #1a66ff;color:#f2f2f2}#navbar .navbar-inner.blue.transparent .brand .caret,#navbar .navbar-inner.blue.transparent .nav>li>a .caret{border-bottom-color:#799bdf;border-top-color:#799bdf}#navbar .navbar-inner.blue.transparent .brand:focus .caret,#navbar .navbar-inner.blue.transparent .brand:hover .caret,#navbar .navbar-inner.blue.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.blue.transparent .nav>li>a:hover .caret{border-bottom-color:#b6c7e9;border-top-color:#b6c7e9}#navbar .navbar-inner.blue.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.blue.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.blue.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.blue.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.blue.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(31,80,179,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,43,128,.6)),to(rgba(77,136,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99002b80', endColorstr='#994d88ff', GradientType=0)}#navbar .navbar-inner.blue.transparent .nav>li>a:hover{background-color:rgba(31,85,194,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(51,119,255,.6)),to(rgba(0,34,102,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#993377ff', endColorstr='#99002266', GradientType=0)}#navbar .navbar-inner.violet{background-color:#9864f0;background-image:-moz-linear-gradient(top,#c8a7ff,#5000da);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8a7ff),to(#5000da));background-image:-webkit-linear-gradient(top,#c8a7ff,#5000da);background-image:-o-linear-gradient(top,#c8a7ff,#5000da);background-image:linear-gradient(to bottom,#c8a7ff,#5000da);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8a7ff', endColorstr='#ff5000da', GradientType=0)}#navbar .navbar-inner.violet .brand,#navbar .navbar-inner.violet .nav>li>a{text-shadow:0 1px 0 #a774ff;color:#f2f2f2}#navbar .navbar-inner.violet .brand .caret,#navbar .navbar-inner.violet .nav>li>a .caret{border-bottom-color:#b58df9;border-top-color:#b58df9}#navbar .navbar-inner.violet .brand:focus .caret,#navbar .navbar-inner.violet .brand:hover .caret,#navbar .navbar-inner.violet .nav>li>a:focus .caret,#navbar .navbar-inner.violet .nav>li>a:hover .caret{border-bottom-color:#d3bff5;border-top-color:#d3bff5}#navbar .navbar-inner.violet .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.violet .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.violet .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.violet .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.violet .nav>li.dropdown.open>.dropdown-toggle{background-color:#8043e9;background-image:-moz-linear-gradient(top,#5000da,#c8a7ff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5000da),to(#c8a7ff));background-image:-webkit-linear-gradient(top,#5000da,#c8a7ff);background-image:-o-linear-gradient(top,#5000da,#c8a7ff);background-image:linear-gradient(to bottom,#5000da,#c8a7ff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5000da', endColorstr='#ffc8a7ff', GradientType=0)}#navbar .navbar-inner.violet .nav>li>a:hover{background-color:#8a55e6;background-image:-moz-linear-gradient(top,#b88eff,#4700c1);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b88eff),to(#4700c1));background-image:-webkit-linear-gradient(top,#b88eff,#4700c1);background-image:-o-linear-gradient(top,#b88eff,#4700c1);background-image:linear-gradient(to bottom,#b88eff,#4700c1);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb88eff', endColorstr='#ff4700c1', GradientType=0)}#navbar .navbar-inner.violet.transparent{background-color:rgba(152,100,240,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,167,255,.6)),to(rgba(80,0,218,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8a7ff', endColorstr='#995000da', GradientType=0)}#navbar .navbar-inner.violet.transparent .brand,#navbar .navbar-inner.violet.transparent .nav>li>a{text-shadow:0 1px 0 #a774ff;color:#f2f2f2}#navbar .navbar-inner.violet.transparent .brand .caret,#navbar .navbar-inner.violet.transparent .nav>li>a .caret{border-bottom-color:#b58df9;border-top-color:#b58df9}#navbar .navbar-inner.violet.transparent .brand:focus .caret,#navbar .navbar-inner.violet.transparent .brand:hover .caret,#navbar .navbar-inner.violet.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.violet.transparent .nav>li>a:hover .caret{border-bottom-color:#d3bff5;border-top-color:#d3bff5}#navbar .navbar-inner.violet.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.violet.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.violet.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.violet.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.violet.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(128,67,233,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(80,0,218,.6)),to(rgba(200,167,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#995000da', endColorstr='#99c8a7ff', GradientType=0)}#navbar .navbar-inner.violet.transparent .nav>li>a:hover{background-color:rgba(138,85,230,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(184,142,255,.6)),to(rgba(71,0,193,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99b88eff', endColorstr='#994700c1', GradientType=0)}#navbar .navbar-inner.black{background-color:#4f4f4f;background-image:-moz-linear-gradient(top,#787878,#121212);background-image:-webkit-gradient(linear,0 0,0 100%,from(#787878),to(#121212));background-image:-webkit-linear-gradient(top,#787878,#121212);background-image:-o-linear-gradient(top,#787878,#121212);background-image:linear-gradient(to bottom,#787878,#121212);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff787878', endColorstr='#ff121212', GradientType=0)}#navbar .navbar-inner.black .brand,#navbar .navbar-inner.black .nav>li>a{text-shadow:0 1px 0 #5e5e5e;color:#f2f2f2}#navbar .navbar-inner.black .brand .caret,#navbar .navbar-inner.black .nav>li>a .caret{border-bottom-color:#959595;border-top-color:#959595}#navbar .navbar-inner.black .brand:focus .caret,#navbar .navbar-inner.black .brand:hover .caret,#navbar .navbar-inner.black .nav>li>a:focus .caret,#navbar .navbar-inner.black .nav>li>a:hover .caret{border-bottom-color:#c4c4c4;border-top-color:#c4c4c4}#navbar .navbar-inner.black .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.black .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.black .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.black .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.black .nav>li.dropdown.open>.dropdown-toggle{background-color:#3b3b3b;background-image:-moz-linear-gradient(top,#121212,#787878);background-image:-webkit-gradient(linear,0 0,0 100%,from(#121212),to(#787878));background-image:-webkit-linear-gradient(top,#121212,#787878);background-image:-o-linear-gradient(top,#121212,#787878);background-image:linear-gradient(to bottom,#121212,#787878);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff121212', endColorstr='#ff787878', GradientType=0)}#navbar .navbar-inner.black .nav>li>a:hover{background-color:#424242;background-image:-moz-linear-gradient(top,#6b6b6b,#050505);background-image:-webkit-gradient(linear,0 0,0 100%,from(#6b6b6b),to(#050505));background-image:-webkit-linear-gradient(top,#6b6b6b,#050505);background-image:-o-linear-gradient(top,#6b6b6b,#050505);background-image:linear-gradient(to bottom,#6b6b6b,#050505);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6b6b6b', endColorstr='#ff050505', GradientType=0)}#navbar .navbar-inner.black.transparent{background-color:rgba(79,79,79,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(120,120,120,.6)),to(rgba(18,18,18,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99787878', endColorstr='#99121212', GradientType=0)}#navbar .navbar-inner.black.transparent .brand,#navbar .navbar-inner.black.transparent .nav>li>a{text-shadow:0 1px 0 #5e5e5e;color:#f2f2f2}#navbar .navbar-inner.black.transparent .brand .caret,#navbar .navbar-inner.black.transparent .nav>li>a .caret{border-bottom-color:#959595;border-top-color:#959595}#navbar .navbar-inner.black.transparent .brand:focus .caret,#navbar .navbar-inner.black.transparent .brand:hover .caret,#navbar .navbar-inner.black.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.black.transparent .nav>li>a:hover .caret{border-bottom-color:#c4c4c4;border-top-color:#c4c4c4}#navbar .navbar-inner.black.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.black.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.black.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.black.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.black.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(59,59,59,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(18,18,18,.6)),to(rgba(120,120,120,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99121212', endColorstr='#99787878', GradientType=0)}#navbar .navbar-inner.black.transparent .nav>li>a:hover{background-color:rgba(66,66,66,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(107,107,107,.6)),to(rgba(5,5,5,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#996b6b6b', endColorstr='#99050505', GradientType=0)}#navbar .navbar-inner.white{background-color:#e9e9e9;background-image:-moz-linear-gradient(top,#fff,#c8c8c8);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#c8c8c8));background-image:-webkit-linear-gradient(top,#fff,#c8c8c8);background-image:-o-linear-gradient(top,#fff,#c8c8c8);background-image:linear-gradient(to bottom,#fff,#c8c8c8);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffc8c8c8', GradientType=0)}#navbar .navbar-inner.white .brand,#navbar .navbar-inner.white .nav>li>a{text-shadow:0 1px 0 #c8c8c8;color:#333}#navbar .navbar-inner.white .brand .caret,#navbar .navbar-inner.white .nav>li>a .caret{border-bottom-color:#919191;border-top-color:#919191}#navbar .navbar-inner.white .brand:focus .caret,#navbar .navbar-inner.white .brand:hover .caret,#navbar .navbar-inner.white .nav>li>a:focus .caret,#navbar .navbar-inner.white .nav>li>a:hover .caret{border-bottom-color:#626262;border-top-color:#626262}#navbar .navbar-inner.white .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.white .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.white .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.white .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.white .nav>li.dropdown.open>.dropdown-toggle{background-color:#dedede;background-image:-moz-linear-gradient(top,#c8c8c8,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8c8c8),to(#fff));background-image:-webkit-linear-gradient(top,#c8c8c8,#fff);background-image:-o-linear-gradient(top,#c8c8c8,#fff);background-image:linear-gradient(to bottom,#c8c8c8,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8c8c8', endColorstr='#ffffffff', GradientType=0)}#navbar .navbar-inner.white .nav>li>a:hover{background-color:#dcdcdc;background-image:-moz-linear-gradient(top,#f2f2f2,#bbb);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#bbb));background-image:-webkit-linear-gradient(top,#f2f2f2,#bbb);background-image:-o-linear-gradient(top,#f2f2f2,#bbb);background-image:linear-gradient(to bottom,#f2f2f2,#bbb);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffbbbbbb', GradientType=0)}#navbar .navbar-inner.white.transparent{background-color:rgba(233,233,233,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.6)),to(rgba(200,200,200,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#99c8c8c8', GradientType=0)}#navbar .navbar-inner.white.transparent .brand,#navbar .navbar-inner.white.transparent .nav>li>a{text-shadow:0 1px 0 #c8c8c8;color:#333}#navbar .navbar-inner.white.transparent .brand .caret,#navbar .navbar-inner.white.transparent .nav>li>a .caret{border-bottom-color:#919191;border-top-color:#919191}#navbar .navbar-inner.white.transparent .brand:focus .caret,#navbar .navbar-inner.white.transparent .brand:hover .caret,#navbar .navbar-inner.white.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.white.transparent .nav>li>a:hover .caret{border-bottom-color:#626262;border-top-color:#626262}#navbar .navbar-inner.white.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.white.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.white.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.white.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.white.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(222,222,222,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,200,200,.6)),to(rgba(255,255,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8c8c8', endColorstr='#99ffffff', GradientType=0)}#navbar .navbar-inner.white.transparent .nav>li>a:hover{background-color:rgba(220,220,220,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(242,242,242,.6)),to(rgba(187,187,187,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f2f2f2', endColorstr='#99bbbbbb', GradientType=0)}#navbar .navbar-inner .brand{padding:10px 20px 6px}#navbar .navbar-inner .brand span{padding-left:26px;background-size:20px 20px;background-repeat:no-repeat;display:inline-block;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top;line-height:20px;height:24px}#navbar_login a.dropdown-toggle span{display:inline-block;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top}.octoprint-container{margin-top:20px}.octoprint-container .tab-content{padding:9px 15px;border-left:1px solid #DDD;border-right:1px solid #DDD;border-bottom:1px solid #DDD;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.octoprint-container .nav{margin-bottom:0}.octoprint-container .tab-content h1{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:40px;color:#333;border:0;border-bottom:1px solid #E5E5E5;font-weight:400}.octoprint-container .accordion-heading .accordion-heading-button{float:right}.octoprint-container .accordion-heading .accordion-heading-button a{display:inline-block;padding:8px 15px;font-size:14px;line-height:20px;color:#000;text-decoration:none;background:0 0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.octoprint-container .accordion-heading a.accordion-toggle{display:inline-block}.octoprint-container .accordion-heading [class*=" icon-"],.octoprint-container .accordion-heading [class^=icon-]{color:#000}.print-control .btn{padding-left:4px;padding-right:4px}.upload-buttons .btn{margin-right:0}table{table-layout:fixed}table .popover-title{text-overflow:ellipsis;word-break:break-all}table td,table th{overflow:hidden}table td.gcode_files_name,table th.gcode_files_name{text-overflow:ellipsis;text-align:left;white-space:nowrap}table td.gcode_files_action,table th.gcode_files_action{width:90px;text-align:center;white-space:nowrap}table td.gcode_files_action a,table th.gcode_files_action a{text-decoration:none;color:#000}table td.gcode_files_action a.disabled,table th.gcode_files_action a.disabled{color:#ccc;cursor:default}table td.timelapse_files_checkbox,table td.timelapse_unrendered_checkbox,table th.timelapse_files_checkbox,table th.timelapse_unrendered_checkbox{text-align:center;width:10px}table td.timelapse_files_checkbox input[type=checkbox],table td.timelapse_unrendered_checkbox input[type=checkbox],table th.timelapse_files_checkbox input[type=checkbox],table th.timelapse_unrendered_checkbox input[type=checkbox]{margin-top:0}table td.timelapse_files_name,table td.timelapse_unrendered_name,table th.timelapse_files_name,table th.timelapse_unrendered_name{text-overflow:ellipsis;text-align:left}table td.timelapse_files_size,table td.timelapse_unrendered_size,table th.timelapse_files_size,table th.timelapse_unrendered_size{text-align:right;width:55px}table td.timelapse_unrendered_count,table th.timelapse_unrendered_count{text-align:right;width:45px}table td.timelapse_files_action,table td.timelapse_unrendered_action,table th.timelapse_files_action,table th.timelapse_unrendered_action{width:45px;text-align:center;white-space:nowrap}table td.timelapse_files_action a,table td.timelapse_unrendered_action a,table th.timelapse_files_action a,table th.timelapse_unrendered_action a{text-decoration:none;color:#000}table td.timelapse_files_action a.disabled,table td.timelapse_unrendered_action a.disabled,table th.timelapse_files_action a.disabled,table th.timelapse_unrendered_action a.disabled{color:#ccc;cursor:default}table td.settings_users_name,table th.settings_users_name{text-overflow:ellipsis;text-align:left;width:100px}table td.settings_users_active,table th.settings_users_active{text-align:center;width:55px}table td table.settings_users_details_table,table th table.settings_users_details_table{font-size:.8em;margin-bottom:0}table td table.settings_users_details_table .settings_users_details_key,table th table.settings_users_details_table .settings_users_details_key{width:100px}table td table.settings_users_details_table td,table td table.settings_users_details_table th,table th table.settings_users_details_table td,table th table.settings_users_details_table th{border:0;padding:0}table td.settings_groups_default,table th.settings_groups_default{text-align:center;width:20px}table td.settings_groups_name,table th.settings_groups_name{width:180px}table td table.settings_groups_details_table,table th table.settings_groups_details_table{font-size:.8em;margin-bottom:0}table td table.settings_groups_details_table .settings_groups_details_key,table th table.settings_groups_details_table .settings_groups_details_key{width:100px}table td table.settings_groups_details_table td,table td table.settings_groups_details_table th,table th table.settings_groups_details_table td,table th table.settings_groups_details_table th{border:0;padding:0}table td.settings_groups_actions,table td.settings_users_actions,table th.settings_groups_actions,table th.settings_users_actions{width:60px;text-align:center;white-space:nowrap}table td.settings_groups_actions a,table td.settings_users_actions a,table th.settings_groups_actions a,table th.settings_users_actions a{text-decoration:none;color:#000}table td.settings_groups_actions a.disabled,table td.settings_users_actions a.disabled,table th.settings_groups_actions a.disabled,table th.settings_users_actions a.disabled{color:#ccc;cursor:default}table td.settings_accesscontrol_groups_list_checkbox,table td.settings_accesscontrol_permissions_list_checkbox,table td.settings_accesscontrol_subgroups_list_checkbox,table th.settings_accesscontrol_groups_list_checkbox,table th.settings_accesscontrol_permissions_list_checkbox,table th.settings_accesscontrol_subgroups_list_checkbox{width:20px}table td #settings-usersDialogAddUser,table td #settings-usersDialogEditUser,table th #settings-usersDialogAddUser,table th #settings-usersDialogEditUser{position:relative;top:50%;transform:translateY(-50%);margin-top:0!important}table td.settings_printerProfiles_profiles_name,table th.settings_printerProfiles_profiles_name{text-overflow:ellipsis;text-align:left}table td.settings_printerProfiles_profiles_model,table th.settings_printerProfiles_profiles_model{text-align:left;width:250px}table td.settings_printerProfiles_profiles_action,table th.settings_printerProfiles_profiles_action{width:80px;text-align:center;white-space:nowrap}table td.settings_printerProfiles_profiles_action a,table th.settings_printerProfiles_profiles_action a{text-decoration:none;color:#000}table td.settings_printerProfiles_profiles_action a.disabled,table th.settings_printerProfiles_profiles_action a.disabled{color:#ccc;cursor:default}#temperature-graph{height:350px;width:100%;background:url(../img/graph-background.png) center no-repeat}#temperature-table{table-layout:fixed;width:100%;margin-top:20px}#temperature-table td.temperature_actual,#temperature-table td.temperature_offset,#temperature-table td.temperature_target,#temperature-table td.temperature_tool,#temperature-table th.temperature_actual,#temperature-table th.temperature_offset,#temperature-table th.temperature_target,#temperature-table th.temperature_tool{vertical-align:middle;text-align:center}#temperature-table td.temperature_actual form,#temperature-table td.temperature_offset form,#temperature-table td.temperature_target form,#temperature-table td.temperature_tool form,#temperature-table th.temperature_actual form,#temperature-table th.temperature_offset form,#temperature-table th.temperature_target form,#temperature-table th.temperature_tool form{margin:0}#temperature-table td.temperature_actual .dropdown-menu,#temperature-table td.temperature_offset .dropdown-menu,#temperature-table td.temperature_target .dropdown-menu,#temperature-table td.temperature_tool .dropdown-menu,#temperature-table th.temperature_actual .dropdown-menu,#temperature-table th.temperature_offset .dropdown-menu,#temperature-table th.temperature_target .dropdown-menu,#temperature-table th.temperature_tool .dropdown-menu{text-align:left}#temperature-table td.temperature_tool,#temperature-table th.temperature_tool{width:16%;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#temperature-table td.temperature_actual,#temperature-table th.temperature_actual{width:12%}#temperature-table td.temperature_target,#temperature-table th.temperature_target{width:42%;overflow:visible}#temperature-table td.temperature_offset,#temperature-table th.temperature_offset{width:30%}.tab-content,.tab-pane{overflow:visible}#speed_fill,#speed_innerWall,#speed_outerWall,#speed_support,#temp_newBedTemp,#temp_newTemp,#webcam_timelapse_fps,#webcam_timelapse_interval,#webcam_timelapse_postRoll,#webcam_timelapse_retractionZHop{text-align:right}ul.dropdown-menu li a{cursor:pointer}#connection_baudrates,#connection_ports,#connection_printers{width:100%}#offline_overlay,#reloadui_overlay{position:fixed;top:0;left:0;width:100%;height:100%;display:none}#offline_overlay{z-index:10002}#reloadui_overlay{z-index:10001}#offline_overlay_background,#reloadui_overlay_background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#offline_overlay_wrapper,#reloadui_overlay_wrapper{position:absolute;top:0;bottom:0;left:0;right:0;padding-top:60px}#offline_overlay_wrapper .container,#reloadui_overlay_wrapper .container{margin:auto}#webcam_container{width:100%;position:relative;outline:0;background-color:#000}#webcam_container .keycontrol_overlay{position:absolute;left:10px;right:10px;bottom:10px;background:rgba(0,0,0,.5);font-size:85%;color:#fff;padding:0}#webcam_container .keycontrol_overlay kbd{border:1px solid #eee;border-radius:3px;margin-left:2px;margin-right:2px;font-size:90%;padding:2px;min-width:1em}#webcam_container .keycontrol_overlay .keycontrol_overlay_heading{position:relative;padding:10px;font-weight:700}#webcam_container .keycontrol_overlay .keycontrol_overlay_column{position:relative;width:45%;padding:10px;float:left}#webcam_container .nowebcam{position:absolute;top:0;left:0;right:0;bottom:0}#webcam_container .nowebcam .text{color:#fff;text-align:center;position:relative;margin:auto;width:80%;top:50%;transform:translateY(-50%);display:block}#webcam_container .nowebcam .text.webcam_loading{animation:pulsate 3s ease-out;animation-iteration-count:infinite}#webcam_container .webcam_rotated{position:relative;width:100%;padding-bottom:100%;pointer-events:none}#webcam_container .webcam_rotated .webcam_fixed_ratio{position:absolute;transform:rotate(-90deg);top:0;bottom:0;pointer-events:none}#webcam_container .webcam_rotated .webcam_fixed_ratio .webcam_fixed_ratio_inner{width:100%;height:100%;pointer-events:none}#webcam_container .webcam_unrotated .webcam_fixed_ratio{width:100%;pointer-events:none;padding-bottom:100%;position:relative}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio43{padding-bottom:75%}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio169{padding-bottom:56.25%}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio1610{padding-bottom:62.5%}#webcam_container .webcam_unrotated .webcam_fixed_ratio .webcam_fixed_ratio_inner{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none}#webcam_container img{width:100%;height:100%;object-fit:contain}#state_wrapper hr{margin:5px 0}#files .gcode_files .scroll-wrapper{overflow-x:hidden;overflow-y:scroll;height:306px;padding-right:2px}#files .gcode_files .entry{padding:5px;line-height:20px;border-bottom:1px solid #ddd;position:relative}#files .gcode_files .entry:hover{background-color:#f5f5f5}#files .gcode_files .entry .title{text-overflow:ellipsis;word-break:break-all}#files .gcode_files .entry .toggleAdditionalData{margin-left:5px}#files .gcode_files .entry .additionalInfo,#files .gcode_files .entry .internal,#files .gcode_files .entry .size,#files .gcode_files .entry .uploaded{font-size:85%;color:#999}#files .gcode_files .entry .uploaded [title]{cursor:help}#files .gcode_files .entry .internal{word-break:break-all}#files .gcode_files .entry .action-buttons{position:absolute;bottom:5px;right:5px}#files .gcode_files .entry .additionalInfo{padding-bottom:22px}@keyframes highlightframes{0%{background:#ff0}100%{background:0 0}}#files .gcode_files .entry.highlight{animation:highlightframes 2s}#files .gcode_files .back .back-path{white-space:nowrap}#files .gcode_files .back .back-path span{word-wrap:break-word;white-space:pre-line}#files .upload-buttons{margin-top:10px}#files .form-search{text-align:center;margin-bottom:5px!important}#control{overflow:hidden}#control .jog-panel{float:left;margin-right:19px}#control h1{text-align:left}#control .jog-panel>div{text-align:center}#control .jog-panel>div.distance{text-align:left}#control .jog-panel .slider{margin-bottom:10px}#control .box{width:30px;height:30px;margin-right:10px;margin-bottom:10px;padding-left:8px}#control .control-box{display:block;height:30px;margin-bottom:10px}#control .btn-group{margin-bottom:10px}#control .btn-group.distance>.btn{width:43px;padding:3px 0;height:30px}#control .slider-handle{width:14px;height:14px;margin-left:-7px;margin-top:-3px}#control .custom_section h1{cursor:pointer}#control .custom_section_horizontal>.custom_control{display:inline-block}#control .custom_section_vertical>.custom_control{display:block}#control .custom_control .slider{margin-left:10px;margin-right:10px;margin-bottom:2px}#control .pulsate_text_opacity{animation:pulsate_input 1s ease-out;animation-iteration-count:infinite}@keyframes pulsate_input{0%{color:#555}50%{color:rgba(85,85,85,.2)}100%{color:#555}}#gcode .progress{width:588px}#gcode .progress .bar{-webkit-transition:width 0s linear;-moz-transition:width 0s linear;-o-transition:width 0s linear;transition:width 0s linear}#gcode .canvas_container{position:relative}#gcode .canvas_container:active,#gcode .canvas_container:hover{outline:0}#gcode .layer-buttons{padding-top:5px;padding-bottom:7px}#gcode #gcode_layer_slider{position:absolute;right:0;top:0;height:568px;float:right}#gcode #gcode_layer_slider .slider-handle{width:14px;height:14px;margin-left:-3px;margin-top:-7px}#gcode #gcode_command_slider .slider-handle{width:14px;height:14px;margin-left:-7px;margin-top:-3px}#term .terminal{margin-bottom:30px}#term .terminal #terminal-output,#term .terminal #terminal-output-lowfi{min-height:340px;margin-bottom:5px}#settings_dialog .aboutlink{float:left}#settings_dialog_menu,#wizard_dialog_menu{margin-left:0}#wizard_firstrun_acl .acl_decision{margin-top:1em}#wizard_firstrun_end p,#wizard_firstrun_start p{margin-bottom:1.5em;line-height:1.5}#settings_appearance_managelanguagesdialog_list{width:auto;height:300px;overflow-x:hidden;overflow-y:scroll;padding-right:2px}#settings_appearance_managelanguagesdialog_emptylist{overflow:hidden;width:100%;height:300px;text-align:center;display:table}#settings_appearance_managelanguagesdialog_emptylist div{display:table-cell;vertical-align:middle}#about_authors ul,#about_sponsors ul{columns:3;-webkit-columns:3;-moz-columns:3}.footer ul{margin:0}.footer ul li{display:inline;margin-left:1em;font-size:85%}.footer ul li:first-child{margin-left:0}.footer ul li a{color:#555}.footer #footer_link,.footer #footer_version{max-width:50%}.ui-pnotify{position:fixed}.ui-pnotify .alert a{color:#c09853}.ui-pnotify .alert-danger a,.ui-pnotify .alert-error a{color:#b94a48}.ui-pnotify .alert-success a{color:#468847}.ui-pnotify .alert-info a{color:#3a87ad}.pnotify_additional_info .pnotify_more{font-size:85%}.text-right{text-align:right}.text-center{text-align:center}.text-block{display:block}.overflow_visible{overflow:visible!important}.clickable{cursor:pointer}.border_box{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.hidden{display:none}textarea.block{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}@keyframes pulsate{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}#drop_overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:none}#drop_overlay.in{display:block}#drop_overlay #drop_overlay_background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#drop_overlay #drop_overlay_wrapper{position:absolute;top:0;bottom:0;left:0;right:0;padding-top:60px}#drop_overlay #drop_overlay_wrapper #drop,#drop_overlay #drop_overlay_wrapper #drop_background{position:absolute;top:0;left:0;margin-left:0;width:100%}#drop_overlay #drop_overlay_wrapper #drop_locally,#drop_overlay #drop_overlay_wrapper #drop_locally_background{position:absolute;top:0;left:50%;margin-left:-50%;width:50%;border-right:2px dashed #ccc}#drop_overlay #drop_overlay_wrapper #drop_sd,#drop_overlay #drop_overlay_wrapper #drop_sd_background{position:absolute;top:0;left:50%;margin-left:0;width:50%;border-left:2px dashed #ccc}#drop_overlay #drop_overlay_wrapper .dropzone{height:100%;z-index:10001;color:#fff;font-size:30px}#drop_overlay #drop_overlay_wrapper .dropzone i{font-size:50px}#drop_overlay #drop_overlay_wrapper .dropzone .text{display:block;text-align:center;line-height:40px;position:absolute;width:100%;bottom:5%;filter:alpha(opacity=100);-moz-opacity:1;-khtml-opacity:1;opacity:1}#drop_overlay #drop_overlay_wrapper .dropzone_background{width:50%;height:100%;background-color:#000;filter:alpha(opacity=25);-moz-opacity:.25;-khtml-opacity:.25;opacity:.25}#drop_overlay #drop_overlay_wrapper .dropzone_background.hover{background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#drop_overlay #drop_overlay_wrapper .dropzone_background.fade{-webkit-transition:all .3s ease-out;-moz-transition:all .3s ease-out;-ms-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out;opacity:1}.icon-sd-black-14{background:url(../img/icon-sd-black-14.png) 0 3px no-repeat;width:11px;height:17px;display:inline-block!important}.center{float:none;margin-left:auto;margin-right:auto}.flipH{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1)}.flipV{-webkit-transform:scaleY(-1);-moz-transform:scaleY(-1);-ms-transform:scaleY(-1);transform:scaleY(-1)}.flipH.flipV{-webkit-transform:scaleX(-1) scaleY(-1);-moz-transform:scaleX(-1) scaleY(-1);-ms-transform:scaleX(-1) scaleY(-1);transform:scaleX(-1) scaleY(-1)}.rotate90{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ui-pnotify a{text-decoration:underline}.btn-mini .caret,.btn-small .caret{margin-top:8px}.dropdown-menu-right{right:0;left:auto}.slider .slider-selection{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.slider .slider-selection.active,.slider .slider-selection.disabled,.slider .slider-selection:active,.slider .slider-selection:focus,.slider .slider-selection:hover,.slider .slider-selection[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.slider .slider-selection.active,.slider .slider-selection:active{background-color:#039 \9}.slider.slider-disabled .slider-selection{background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-track{background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.slider.slider-disabled .slider-track{background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-handle{display:inline-block;*display:inline;*zoom:1;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;*background-color:#e6e6e6;border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);padding:0;margin-bottom:0;opacity:1;filter:alpha(opacity=100)}.slider .slider-handle.active,.slider .slider-handle.disabled,.slider .slider-handle:active,.slider .slider-handle:focus,.slider .slider-handle:hover,.slider .slider-handle[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.slider .slider-handle.active,.slider .slider-handle:active{background-color:#ccc \9}.slider .slider-handle:first-child{*margin-left:0}.slider .slider-handle:focus,.slider .slider-handle:hover{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.slider .slider-handle:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.slider .slider-handle.active,.slider .slider-handle:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.slider .slider-handle.disabled,.slider .slider-handle[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-handle.hide{display:none}.slider .slider-handle.round{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.modal.large{width:975px;margin-left:-487px}.full-sized-box{position:absolute;bottom:0;left:0;right:0;top:0;padding:15px}.full-sized-box .row-fluid{height:100%}@media (max-width:979px){.full-sized-box{position:static}}:root .full-sized-box,_::-webkit-full-page-media,_:future{position:static}.scrollable{height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.pre-output span{display:block}.input-append .add-on.add-on-limited,.input-prepend .add-on.add-on-limited{overflow-x:hidden;text-overflow:ellipsis;width:inherit}.input-append .btn-group:first-child .btn:first-child,.input-prepend .btn-group:first-child .btn:first-child{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-append .btn-group .btn:first-child,.input-prepend .btn-group .btn:first-child{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append.input-block-level,.input-prepend.input-block-level{display:table}.input-append.input-block-level .add-on,.input-prepend.input-block-level .add-on{display:table-cell;width:1%}.input-append.input-block-level>input,.input-prepend.input-block-level>input{box-sizing:border-box;display:table;min-height:inherit;width:100%}.input-append.input-block-level :not(:last-child),.input-prepend.input-block-level :not(:last-child){border-right:0}.control-group.error .input-append .fileinput-button,.control-group.error .input-prepend .fileinput-button{border-color:#b94a48}.control-text{padding-top:5px;cursor:default}input[type=number]{text-align:right}input[type=number].input-nospin::-webkit-inner-spin-button,input[type=number].input-nospin::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number].input-nospin{-moz-appearance:textfield}.progress-text,.progress-text-centered{position:relative}.progress-text .progress-text-back,.progress-text .progress-text-front,.progress-text-centered .progress-text-back,.progress-text-centered .progress-text-front{white-space:nowrap}.progress-text .progress-text-front,.progress-text-centered .progress-text-front{box-sizing:border-box;padding:0 10px;width:100%;display:block}.progress-text .progress-text-back,.progress-text-centered .progress-text-back{position:absolute;font-size:12px;line-height:20px;display:block;box-sizing:border-box;text-align:center;padding:0 10px}.progress-text .bar,.progress-text-centered .bar{position:absolute;overflow:hidden}.progress-text-centered .progress-text-front{position:absolute;font-size:12px;line-height:20px;display:block;text-align:center;color:#fff}.progress-text-centered .progress-text-back{width:100%}.search-query-with-clear{position:relative}.search-query-with-clear .search-clear{display:inline-block;color:#ccc;position:absolute;right:28px;height:20px;padding:4px 0;cursor:pointer;visibility:hidden}.search-query-with-clear.active-clear .search-query{padding-right:28px;width:192px}.search-query-with-clear.active-clear .search-clear{visibility:visible}.search-query-with-clear input::-ms-clear{display:none}.search-query-with-clear input[type=search]::-webkit-search-cancel-button,.search-query-with-clear input[type=search]::-webkit-search-decoration,.search-query-with-clear input[type=search]::-webkit-search-results-button,.search-query-with-clear input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}#navbar_login:not(.open) #login_dropdown_loggedout{display:block;z-index:-1;height:0;width:0;padding:0!important;overflow:hidden;border:0;box-shadow:none;left:-9999px}#navbar_login:not(.open) #login_dropdown_loggedout.hide{display:none}#loginForm{margin:0}#loginForm button{margin-top:20px}#page-container-loading{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:12301}#page-container-loading .wrapper{position:absolute;top:0;bottom:0;left:0;right:0}#page-container-loading .wrapper .outer{display:table;width:100%;height:100%}#page-container-loading .wrapper .outer .inner{display:table-cell;vertical-align:middle}#page-container-loading .wrapper .outer .inner .content{text-align:center}#page-container-noscript{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:12310}#page-container-noscript .wrapper{position:absolute;top:0;bottom:0;left:0;right:0}#page-container-noscript .wrapper .outer{display:table;width:100%;height:100%}#page-container-noscript .wrapper .outer .inner{display:table-cell;vertical-align:middle}#page-container-noscript .wrapper .outer .inner .content{text-align:center} \ No newline at end of file +.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;margin-bottom:0;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.btn:hover,.btn:focus,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn:active,.btn.active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:hover,.btn:focus{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.btn-large [class^=icon-],.btn-large [class*=" icon-"]{margin-top:4px}.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-small [class^=icon-],.btn-small [class*=" icon-"]{margin-top:0}.btn-mini [class^=icon-],.btn-mini [class*=" icon-"]{margin-top:-1px}.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,.75)}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary:active,.btn-primary.active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning:active,.btn-warning.active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{color:#fff;background-color:#bd362f;*background-color:#a9302a}.btn-danger:active,.btn-danger.active{background-color:#942a25 \9}.btn-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(to bottom,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{color:#fff;background-color:#51a351;*background-color:#499249}.btn-success:active,.btn-success.active{background-color:#408140 \9}.btn-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(to bottom,#5bc0de,#2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{color:#fff;background-color:#2f96b4;*background-color:#2a85a0}.btn-info:active,.btn-info.active{background-color:#24748c \9}.btn-inverse{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#363636;background-image:-moz-linear-gradient(top,#444,#222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#444),to(#222));background-image:-webkit-linear-gradient(top,#444,#222);background-image:-o-linear-gradient(top,#444,#222);background-image:linear-gradient(to bottom,#444,#222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0);border-color:#222 #222 #000;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse:hover,.btn-inverse:focus,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{color:#fff;background-color:#222;*background-color:#151515}.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9}button.btn,input[type=submit].btn{*padding-top:3px;*padding-bottom:3px}button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type=submit].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type=submit].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type=submit].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-link,.btn-link:active,.btn-link[disabled]{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-link{border-color:transparent;cursor:pointer;color:#08c;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-link:hover,.btn-link:focus{color:#005580;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,.btn-link[disabled]:focus{color:#333;text-decoration:none}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.nowrap{white-space:nowrap}.actioncol{text-align:center;white-space:nowrap}.actioncol a{text-decoration:none;color:#000}.actioncol a.disabled{color:#ccc;cursor:default}#navbar .navbar-inner{background-color:#ebebeb;background-image:-moz-linear-gradient(top,#fff,#ccc);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#ccc));background-image:-webkit-linear-gradient(top,#fff,#ccc);background-image:-o-linear-gradient(top,#fff,#ccc);background-image:linear-gradient(to bottom,#fff,#ccc);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffcccccc', GradientType=0)}#navbar .navbar-inner .brand,#navbar .navbar-inner .nav>li>a{text-shadow:0 1px 0 #ccc;color:#333}#navbar .navbar-inner .brand .caret,#navbar .navbar-inner .nav>li>a .caret{border-bottom-color:#939393;border-top-color:#939393}#navbar .navbar-inner .brand:hover .caret,#navbar .navbar-inner .nav>li>a:hover .caret,#navbar .navbar-inner .brand:focus .caret,#navbar .navbar-inner .nav>li>a:focus .caret{border-bottom-color:#636363;border-top-color:#636363}#navbar .navbar-inner .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#e0e0e0;background-image:-moz-linear-gradient(top,#ccc,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ccc),to(#fff));background-image:-webkit-linear-gradient(top,#ccc,#fff);background-image:-o-linear-gradient(top,#ccc,#fff);background-image:linear-gradient(to bottom,#ccc,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcccccc', endColorstr='#ffffffff', GradientType=0)}#navbar .navbar-inner .nav>li>a:hover{background-color:#dedede;background-image:-moz-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#bfbfbf));background-image:-webkit-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:-o-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:linear-gradient(to bottom,#f2f2f2,#bfbfbf);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffbfbfbf', GradientType=0)}#navbar .navbar-inner.transparent{background-color:rgba(235,235,235,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.6)),to(rgba(204,204,204,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#99cccccc', GradientType=0)}#navbar .navbar-inner.transparent .brand,#navbar .navbar-inner.transparent .nav>li>a{text-shadow:0 1px 0 #ccc;color:#333}#navbar .navbar-inner.transparent .brand .caret,#navbar .navbar-inner.transparent .nav>li>a .caret{border-bottom-color:#939393;border-top-color:#939393}#navbar .navbar-inner.transparent .brand:hover .caret,#navbar .navbar-inner.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.transparent .brand:focus .caret,#navbar .navbar-inner.transparent .nav>li>a:focus .caret{border-bottom-color:#636363;border-top-color:#636363}#navbar .navbar-inner.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(224,224,224,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(204,204,204,.6)),to(rgba(255,255,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99cccccc', endColorstr='#99ffffff', GradientType=0)}#navbar .navbar-inner.transparent .nav>li>a:hover{background-color:rgba(222,222,222,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(242,242,242,.6)),to(rgba(191,191,191,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f2f2f2', endColorstr='#99bfbfbf', GradientType=0)}#navbar .navbar-inner.red{background-color:#bb645f;background-image:-moz-linear-gradient(top,#e28e8a,#802420);background-image:-webkit-gradient(linear,0 0,0 100%,from(#e28e8a),to(#802420));background-image:-webkit-linear-gradient(top,#e28e8a,#802420);background-image:-o-linear-gradient(top,#e28e8a,#802420);background-image:linear-gradient(to bottom,#e28e8a,#802420);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe28e8a', endColorstr='#ff802420', GradientType=0)}#navbar .navbar-inner.red .brand,#navbar .navbar-inner.red .nav>li>a{text-shadow:0 1px 0 #d86761;color:#f2f2f2}#navbar .navbar-inner.red .brand .caret,#navbar .navbar-inner.red .nav>li>a .caret{border-bottom-color:#d89491;border-top-color:#d89491}#navbar .navbar-inner.red .brand:hover .caret,#navbar .navbar-inner.red .nav>li>a:hover .caret,#navbar .navbar-inner.red .brand:focus .caret,#navbar .navbar-inner.red .nav>li>a:focus .caret{border-bottom-color:#e5c3c1;border-top-color:#e5c3c1}#navbar .navbar-inner.red .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.red .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.red .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.red .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.red .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#a74f4a;background-image:-moz-linear-gradient(top,#802420,#e28e8a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#802420),to(#e28e8a));background-image:-webkit-linear-gradient(top,#802420,#e28e8a);background-image:-o-linear-gradient(top,#802420,#e28e8a);background-image:linear-gradient(to bottom,#802420,#e28e8a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff802420', endColorstr='#ffe28e8a', GradientType=0)}#navbar .navbar-inner.red .nav>li>a:hover{background-color:#af5651;background-image:-moz-linear-gradient(top,#dd7a75,#6b1f1b);background-image:-webkit-gradient(linear,0 0,0 100%,from(#dd7a75),to(#6b1f1b));background-image:-webkit-linear-gradient(top,#dd7a75,#6b1f1b);background-image:-o-linear-gradient(top,#dd7a75,#6b1f1b);background-image:linear-gradient(to bottom,#dd7a75,#6b1f1b);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdd7a75', endColorstr='#ff6b1f1b', GradientType=0)}#navbar .navbar-inner.red.transparent{background-color:rgba(187,100,95,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(226,142,138,.6)),to(rgba(128,36,32,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99e28e8a', endColorstr='#99802420', GradientType=0)}#navbar .navbar-inner.red.transparent .brand,#navbar .navbar-inner.red.transparent .nav>li>a{text-shadow:0 1px 0 #d86761;color:#f2f2f2}#navbar .navbar-inner.red.transparent .brand .caret,#navbar .navbar-inner.red.transparent .nav>li>a .caret{border-bottom-color:#d89491;border-top-color:#d89491}#navbar .navbar-inner.red.transparent .brand:hover .caret,#navbar .navbar-inner.red.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.red.transparent .brand:focus .caret,#navbar .navbar-inner.red.transparent .nav>li>a:focus .caret{border-bottom-color:#e5c3c1;border-top-color:#e5c3c1}#navbar .navbar-inner.red.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.red.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.red.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.red.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.red.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(167,79,74,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(128,36,32,.6)),to(rgba(226,142,138,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99802420', endColorstr='#99e28e8a', GradientType=0)}#navbar .navbar-inner.red.transparent .nav>li>a:hover{background-color:rgba(175,86,81,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(221,122,117,.6)),to(rgba(107,31,27,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99dd7a75', endColorstr='#996b1f1b', GradientType=0)}#navbar .navbar-inner.orange{background-color:#e39665;background-image:-moz-linear-gradient(top,#f9c3a0,#c2530c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9c3a0),to(#c2530c));background-image:-webkit-linear-gradient(top,#f9c3a0,#c2530c);background-image:-o-linear-gradient(top,#f9c3a0,#c2530c);background-image:linear-gradient(to bottom,#f9c3a0,#c2530c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9c3a0', endColorstr='#ffc2530c', GradientType=0)}#navbar .navbar-inner.orange .brand,#navbar .navbar-inner.orange .nav>li>a{text-shadow:0 1px 0 #c2530c;color:#f2f2f2}#navbar .navbar-inner.orange .brand .caret,#navbar .navbar-inner.orange .nav>li>a .caret{border-bottom-color:#f2b58d;border-top-color:#f2b58d}#navbar .navbar-inner.orange .brand:hover .caret,#navbar .navbar-inner.orange .nav>li>a:hover .caret,#navbar .navbar-inner.orange .brand:focus .caret,#navbar .navbar-inner.orange .nav>li>a:focus .caret{border-bottom-color:#f2d3bf;border-top-color:#f2d3bf}#navbar .navbar-inner.orange .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.orange .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.orange .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.orange .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.orange .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#d88047;background-image:-moz-linear-gradient(top,#c2530c,#f9c3a0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c2530c),to(#f9c3a0));background-image:-webkit-linear-gradient(top,#c2530c,#f9c3a0);background-image:-o-linear-gradient(top,#c2530c,#f9c3a0);background-image:linear-gradient(to bottom,#c2530c,#f9c3a0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2530c', endColorstr='#fff9c3a0', GradientType=0)}#navbar .navbar-inner.orange .nav>li>a:hover{background-color:#d98956;background-image:-moz-linear-gradient(top,#f8b488,#aa490a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f8b488),to(#aa490a));background-image:-webkit-linear-gradient(top,#f8b488,#aa490a);background-image:-o-linear-gradient(top,#f8b488,#aa490a);background-image:linear-gradient(to bottom,#f8b488,#aa490a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8b488', endColorstr='#ffaa490a', GradientType=0)}#navbar .navbar-inner.orange.transparent{background-color:rgba(227,150,101,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(249,195,160,.6)),to(rgba(194,83,12,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f9c3a0', endColorstr='#99c2530c', GradientType=0)}#navbar .navbar-inner.orange.transparent .brand,#navbar .navbar-inner.orange.transparent .nav>li>a{text-shadow:0 1px 0 #c2530c;color:#f2f2f2}#navbar .navbar-inner.orange.transparent .brand .caret,#navbar .navbar-inner.orange.transparent .nav>li>a .caret{border-bottom-color:#f2b58d;border-top-color:#f2b58d}#navbar .navbar-inner.orange.transparent .brand:hover .caret,#navbar .navbar-inner.orange.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.orange.transparent .brand:focus .caret,#navbar .navbar-inner.orange.transparent .nav>li>a:focus .caret{border-bottom-color:#f2d3bf;border-top-color:#f2d3bf}#navbar .navbar-inner.orange.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.orange.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.orange.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.orange.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.orange.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(216,128,71,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(194,83,12,.6)),to(rgba(249,195,160,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c2530c', endColorstr='#99f9c3a0', GradientType=0)}#navbar .navbar-inner.orange.transparent .nav>li>a:hover{background-color:rgba(217,137,86,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(248,180,136,.6)),to(rgba(170,73,10,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f8b488', endColorstr='#99aa490a', GradientType=0)}#navbar .navbar-inner.yellow{background-color:#e3d765;background-image:-moz-linear-gradient(top,#f9f0a0,#c2b00c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9f0a0),to(#c2b00c));background-image:-webkit-linear-gradient(top,#f9f0a0,#c2b00c);background-image:-o-linear-gradient(top,#f9f0a0,#c2b00c);background-image:linear-gradient(to bottom,#f9f0a0,#c2b00c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f0a0', endColorstr='#ffc2b00c', GradientType=0)}#navbar .navbar-inner.yellow .brand,#navbar .navbar-inner.yellow .nav>li>a{text-shadow:0 1px 0 #c2b00c;color:#333}#navbar .navbar-inner.yellow .brand .caret,#navbar .navbar-inner.yellow .nav>li>a .caret{border-bottom-color:#93892e;border-top-color:#93892e}#navbar .navbar-inner.yellow .brand:hover .caret,#navbar .navbar-inner.yellow .nav>li>a:hover .caret,#navbar .navbar-inner.yellow .brand:focus .caret,#navbar .navbar-inner.yellow .nav>li>a:focus .caret{border-bottom-color:#635e30;border-top-color:#635e30}#navbar .navbar-inner.yellow .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.yellow .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.yellow .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.yellow .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.yellow .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#d8ca47;background-image:-moz-linear-gradient(top,#c2b00c,#f9f0a0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c2b00c),to(#f9f0a0));background-image:-webkit-linear-gradient(top,#c2b00c,#f9f0a0);background-image:-o-linear-gradient(top,#c2b00c,#f9f0a0);background-image:linear-gradient(to bottom,#c2b00c,#f9f0a0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2b00c', endColorstr='#fff9f0a0', GradientType=0)}#navbar .navbar-inner.yellow .nav>li>a:hover{background-color:#d9cc56;background-image:-moz-linear-gradient(top,#f8ed88,#aa9a0a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f8ed88),to(#aa9a0a));background-image:-webkit-linear-gradient(top,#f8ed88,#aa9a0a);background-image:-o-linear-gradient(top,#f8ed88,#aa9a0a);background-image:linear-gradient(to bottom,#f8ed88,#aa9a0a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8ed88', endColorstr='#ffaa9a0a', GradientType=0)}#navbar .navbar-inner.yellow.transparent{background-color:rgba(227,215,101,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(249,240,160,.6)),to(rgba(194,176,12,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f9f0a0', endColorstr='#99c2b00c', GradientType=0)}#navbar .navbar-inner.yellow.transparent .brand,#navbar .navbar-inner.yellow.transparent .nav>li>a{text-shadow:0 1px 0 #c2b00c;color:#333}#navbar .navbar-inner.yellow.transparent .brand .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a .caret{border-bottom-color:#93892e;border-top-color:#93892e}#navbar .navbar-inner.yellow.transparent .brand:hover .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.yellow.transparent .brand:focus .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a:focus .caret{border-bottom-color:#635e30;border-top-color:#635e30}#navbar .navbar-inner.yellow.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.yellow.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(216,202,71,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(194,176,12,.6)),to(rgba(249,240,160,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c2b00c', endColorstr='#99f9f0a0', GradientType=0)}#navbar .navbar-inner.yellow.transparent .nav>li>a:hover{background-color:rgba(217,204,86,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(248,237,136,.6)),to(rgba(170,154,10,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f8ed88', endColorstr='#99aa9a0a', GradientType=0)}#navbar .navbar-inner.green{background-color:#98f064;background-image:-moz-linear-gradient(top,#c8ffa7,#50da00);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8ffa7),to(#50da00));background-image:-webkit-linear-gradient(top,#c8ffa7,#50da00);background-image:-o-linear-gradient(top,#c8ffa7,#50da00);background-image:linear-gradient(to bottom,#c8ffa7,#50da00);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8ffa7', endColorstr='#ff50da00', GradientType=0)}#navbar .navbar-inner.green .brand,#navbar .navbar-inner.green .nav>li>a{text-shadow:0 1px 0 #50da00;color:#333}#navbar .navbar-inner.green .brand .caret,#navbar .navbar-inner.green .nav>li>a .caret{border-bottom-color:#55992e;border-top-color:#55992e}#navbar .navbar-inner.green .brand:hover .caret,#navbar .navbar-inner.green .nav>li>a:hover .caret,#navbar .navbar-inner.green .brand:focus .caret,#navbar .navbar-inner.green .nav>li>a:focus .caret{border-bottom-color:#446630;border-top-color:#446630}#navbar .navbar-inner.green .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.green .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.green .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.green .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.green .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#80e943;background-image:-moz-linear-gradient(top,#50da00,#c8ffa7);background-image:-webkit-gradient(linear,0 0,0 100%,from(#50da00),to(#c8ffa7));background-image:-webkit-linear-gradient(top,#50da00,#c8ffa7);background-image:-o-linear-gradient(top,#50da00,#c8ffa7);background-image:linear-gradient(to bottom,#50da00,#c8ffa7);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff50da00', endColorstr='#ffc8ffa7', GradientType=0)}#navbar .navbar-inner.green .nav>li>a:hover{background-color:#8ae655;background-image:-moz-linear-gradient(top,#b8ff8e,#47c100);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b8ff8e),to(#47c100));background-image:-webkit-linear-gradient(top,#b8ff8e,#47c100);background-image:-o-linear-gradient(top,#b8ff8e,#47c100);background-image:linear-gradient(to bottom,#b8ff8e,#47c100);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb8ff8e', endColorstr='#ff47c100', GradientType=0)}#navbar .navbar-inner.green.transparent{background-color:rgba(152,240,100,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,255,167,.6)),to(rgba(80,218,0,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8ffa7', endColorstr='#9950da00', GradientType=0)}#navbar .navbar-inner.green.transparent .brand,#navbar .navbar-inner.green.transparent .nav>li>a{text-shadow:0 1px 0 #50da00;color:#333}#navbar .navbar-inner.green.transparent .brand .caret,#navbar .navbar-inner.green.transparent .nav>li>a .caret{border-bottom-color:#55992e;border-top-color:#55992e}#navbar .navbar-inner.green.transparent .brand:hover .caret,#navbar .navbar-inner.green.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.green.transparent .brand:focus .caret,#navbar .navbar-inner.green.transparent .nav>li>a:focus .caret{border-bottom-color:#446630;border-top-color:#446630}#navbar .navbar-inner.green.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.green.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.green.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.green.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.green.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(128,233,67,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(80,218,0,.6)),to(rgba(200,255,167,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9950da00', endColorstr='#99c8ffa7', GradientType=0)}#navbar .navbar-inner.green.transparent .nav>li>a:hover{background-color:rgba(138,230,85,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(184,255,142,.6)),to(rgba(71,193,0,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99b8ff8e', endColorstr='#9947c100', GradientType=0)}#navbar .navbar-inner.blue{background-color:#2e63cc;background-image:-moz-linear-gradient(top,#4d88ff,#002b80);background-image:-webkit-gradient(linear,0 0,0 100%,from(#4d88ff),to(#002b80));background-image:-webkit-linear-gradient(top,#4d88ff,#002b80);background-image:-o-linear-gradient(top,#4d88ff,#002b80);background-image:linear-gradient(to bottom,#4d88ff,#002b80);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4d88ff', endColorstr='#ff002b80', GradientType=0)}#navbar .navbar-inner.blue .brand,#navbar .navbar-inner.blue .nav>li>a{text-shadow:0 1px 0 #1a66ff;color:#f2f2f2}#navbar .navbar-inner.blue .brand .caret,#navbar .navbar-inner.blue .nav>li>a .caret{border-bottom-color:#799bdf;border-top-color:#799bdf}#navbar .navbar-inner.blue .brand:hover .caret,#navbar .navbar-inner.blue .nav>li>a:hover .caret,#navbar .navbar-inner.blue .brand:focus .caret,#navbar .navbar-inner.blue .nav>li>a:focus .caret{border-bottom-color:#b6c7e9;border-top-color:#b6c7e9}#navbar .navbar-inner.blue .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.blue .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.blue .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.blue .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.blue .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#1f50b3;background-image:-moz-linear-gradient(top,#002b80,#4d88ff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#002b80),to(#4d88ff));background-image:-webkit-linear-gradient(top,#002b80,#4d88ff);background-image:-o-linear-gradient(top,#002b80,#4d88ff);background-image:linear-gradient(to bottom,#002b80,#4d88ff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff002b80', endColorstr='#ff4d88ff', GradientType=0)}#navbar .navbar-inner.blue .nav>li>a:hover{background-color:#1f55c2;background-image:-moz-linear-gradient(top,#37f,#026);background-image:-webkit-gradient(linear,0 0,0 100%,from(#37f),to(#026));background-image:-webkit-linear-gradient(top,#37f,#026);background-image:-o-linear-gradient(top,#37f,#026);background-image:linear-gradient(to bottom,#37f,#026);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3377ff', endColorstr='#ff002266', GradientType=0)}#navbar .navbar-inner.blue.transparent{background-color:rgba(46,99,204,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(77,136,255,.6)),to(rgba(0,43,128,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#994d88ff', endColorstr='#99002b80', GradientType=0)}#navbar .navbar-inner.blue.transparent .brand,#navbar .navbar-inner.blue.transparent .nav>li>a{text-shadow:0 1px 0 #1a66ff;color:#f2f2f2}#navbar .navbar-inner.blue.transparent .brand .caret,#navbar .navbar-inner.blue.transparent .nav>li>a .caret{border-bottom-color:#799bdf;border-top-color:#799bdf}#navbar .navbar-inner.blue.transparent .brand:hover .caret,#navbar .navbar-inner.blue.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.blue.transparent .brand:focus .caret,#navbar .navbar-inner.blue.transparent .nav>li>a:focus .caret{border-bottom-color:#b6c7e9;border-top-color:#b6c7e9}#navbar .navbar-inner.blue.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.blue.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.blue.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.blue.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.blue.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(31,80,179,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,43,128,.6)),to(rgba(77,136,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99002b80', endColorstr='#994d88ff', GradientType=0)}#navbar .navbar-inner.blue.transparent .nav>li>a:hover{background-color:rgba(31,85,194,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(51,119,255,.6)),to(rgba(0,34,102,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#993377ff', endColorstr='#99002266', GradientType=0)}#navbar .navbar-inner.violet{background-color:#9864f0;background-image:-moz-linear-gradient(top,#c8a7ff,#5000da);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8a7ff),to(#5000da));background-image:-webkit-linear-gradient(top,#c8a7ff,#5000da);background-image:-o-linear-gradient(top,#c8a7ff,#5000da);background-image:linear-gradient(to bottom,#c8a7ff,#5000da);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8a7ff', endColorstr='#ff5000da', GradientType=0)}#navbar .navbar-inner.violet .brand,#navbar .navbar-inner.violet .nav>li>a{text-shadow:0 1px 0 #a774ff;color:#f2f2f2}#navbar .navbar-inner.violet .brand .caret,#navbar .navbar-inner.violet .nav>li>a .caret{border-bottom-color:#b58df9;border-top-color:#b58df9}#navbar .navbar-inner.violet .brand:hover .caret,#navbar .navbar-inner.violet .nav>li>a:hover .caret,#navbar .navbar-inner.violet .brand:focus .caret,#navbar .navbar-inner.violet .nav>li>a:focus .caret{border-bottom-color:#d3bff5;border-top-color:#d3bff5}#navbar .navbar-inner.violet .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.violet .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.violet .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.violet .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.violet .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#8043e9;background-image:-moz-linear-gradient(top,#5000da,#c8a7ff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5000da),to(#c8a7ff));background-image:-webkit-linear-gradient(top,#5000da,#c8a7ff);background-image:-o-linear-gradient(top,#5000da,#c8a7ff);background-image:linear-gradient(to bottom,#5000da,#c8a7ff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5000da', endColorstr='#ffc8a7ff', GradientType=0)}#navbar .navbar-inner.violet .nav>li>a:hover{background-color:#8a55e6;background-image:-moz-linear-gradient(top,#b88eff,#4700c1);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b88eff),to(#4700c1));background-image:-webkit-linear-gradient(top,#b88eff,#4700c1);background-image:-o-linear-gradient(top,#b88eff,#4700c1);background-image:linear-gradient(to bottom,#b88eff,#4700c1);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb88eff', endColorstr='#ff4700c1', GradientType=0)}#navbar .navbar-inner.violet.transparent{background-color:rgba(152,100,240,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,167,255,.6)),to(rgba(80,0,218,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8a7ff', endColorstr='#995000da', GradientType=0)}#navbar .navbar-inner.violet.transparent .brand,#navbar .navbar-inner.violet.transparent .nav>li>a{text-shadow:0 1px 0 #a774ff;color:#f2f2f2}#navbar .navbar-inner.violet.transparent .brand .caret,#navbar .navbar-inner.violet.transparent .nav>li>a .caret{border-bottom-color:#b58df9;border-top-color:#b58df9}#navbar .navbar-inner.violet.transparent .brand:hover .caret,#navbar .navbar-inner.violet.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.violet.transparent .brand:focus .caret,#navbar .navbar-inner.violet.transparent .nav>li>a:focus .caret{border-bottom-color:#d3bff5;border-top-color:#d3bff5}#navbar .navbar-inner.violet.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.violet.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.violet.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.violet.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.violet.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(128,67,233,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(80,0,218,.6)),to(rgba(200,167,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#995000da', endColorstr='#99c8a7ff', GradientType=0)}#navbar .navbar-inner.violet.transparent .nav>li>a:hover{background-color:rgba(138,85,230,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(184,142,255,.6)),to(rgba(71,0,193,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99b88eff', endColorstr='#994700c1', GradientType=0)}#navbar .navbar-inner.black{background-color:#4f4f4f;background-image:-moz-linear-gradient(top,#787878,#121212);background-image:-webkit-gradient(linear,0 0,0 100%,from(#787878),to(#121212));background-image:-webkit-linear-gradient(top,#787878,#121212);background-image:-o-linear-gradient(top,#787878,#121212);background-image:linear-gradient(to bottom,#787878,#121212);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff787878', endColorstr='#ff121212', GradientType=0)}#navbar .navbar-inner.black .brand,#navbar .navbar-inner.black .nav>li>a{text-shadow:0 1px 0 #5e5e5e;color:#f2f2f2}#navbar .navbar-inner.black .brand .caret,#navbar .navbar-inner.black .nav>li>a .caret{border-bottom-color:#959595;border-top-color:#959595}#navbar .navbar-inner.black .brand:hover .caret,#navbar .navbar-inner.black .nav>li>a:hover .caret,#navbar .navbar-inner.black .brand:focus .caret,#navbar .navbar-inner.black .nav>li>a:focus .caret{border-bottom-color:#c4c4c4;border-top-color:#c4c4c4}#navbar .navbar-inner.black .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.black .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.black .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.black .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.black .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#3b3b3b;background-image:-moz-linear-gradient(top,#121212,#787878);background-image:-webkit-gradient(linear,0 0,0 100%,from(#121212),to(#787878));background-image:-webkit-linear-gradient(top,#121212,#787878);background-image:-o-linear-gradient(top,#121212,#787878);background-image:linear-gradient(to bottom,#121212,#787878);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff121212', endColorstr='#ff787878', GradientType=0)}#navbar .navbar-inner.black .nav>li>a:hover{background-color:#424242;background-image:-moz-linear-gradient(top,#6b6b6b,#050505);background-image:-webkit-gradient(linear,0 0,0 100%,from(#6b6b6b),to(#050505));background-image:-webkit-linear-gradient(top,#6b6b6b,#050505);background-image:-o-linear-gradient(top,#6b6b6b,#050505);background-image:linear-gradient(to bottom,#6b6b6b,#050505);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6b6b6b', endColorstr='#ff050505', GradientType=0)}#navbar .navbar-inner.black.transparent{background-color:rgba(79,79,79,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(120,120,120,.6)),to(rgba(18,18,18,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99787878', endColorstr='#99121212', GradientType=0)}#navbar .navbar-inner.black.transparent .brand,#navbar .navbar-inner.black.transparent .nav>li>a{text-shadow:0 1px 0 #5e5e5e;color:#f2f2f2}#navbar .navbar-inner.black.transparent .brand .caret,#navbar .navbar-inner.black.transparent .nav>li>a .caret{border-bottom-color:#959595;border-top-color:#959595}#navbar .navbar-inner.black.transparent .brand:hover .caret,#navbar .navbar-inner.black.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.black.transparent .brand:focus .caret,#navbar .navbar-inner.black.transparent .nav>li>a:focus .caret{border-bottom-color:#c4c4c4;border-top-color:#c4c4c4}#navbar .navbar-inner.black.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.black.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.black.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.black.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.black.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(59,59,59,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(18,18,18,.6)),to(rgba(120,120,120,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99121212', endColorstr='#99787878', GradientType=0)}#navbar .navbar-inner.black.transparent .nav>li>a:hover{background-color:rgba(66,66,66,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(107,107,107,.6)),to(rgba(5,5,5,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#996b6b6b', endColorstr='#99050505', GradientType=0)}#navbar .navbar-inner.white{background-color:#e9e9e9;background-image:-moz-linear-gradient(top,#fff,#c8c8c8);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#c8c8c8));background-image:-webkit-linear-gradient(top,#fff,#c8c8c8);background-image:-o-linear-gradient(top,#fff,#c8c8c8);background-image:linear-gradient(to bottom,#fff,#c8c8c8);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffc8c8c8', GradientType=0)}#navbar .navbar-inner.white .brand,#navbar .navbar-inner.white .nav>li>a{text-shadow:0 1px 0 #c8c8c8;color:#333}#navbar .navbar-inner.white .brand .caret,#navbar .navbar-inner.white .nav>li>a .caret{border-bottom-color:#919191;border-top-color:#919191}#navbar .navbar-inner.white .brand:hover .caret,#navbar .navbar-inner.white .nav>li>a:hover .caret,#navbar .navbar-inner.white .brand:focus .caret,#navbar .navbar-inner.white .nav>li>a:focus .caret{border-bottom-color:#626262;border-top-color:#626262}#navbar .navbar-inner.white .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.white .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.white .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.white .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.white .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#dedede;background-image:-moz-linear-gradient(top,#c8c8c8,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8c8c8),to(#fff));background-image:-webkit-linear-gradient(top,#c8c8c8,#fff);background-image:-o-linear-gradient(top,#c8c8c8,#fff);background-image:linear-gradient(to bottom,#c8c8c8,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8c8c8', endColorstr='#ffffffff', GradientType=0)}#navbar .navbar-inner.white .nav>li>a:hover{background-color:#dcdcdc;background-image:-moz-linear-gradient(top,#f2f2f2,#bbb);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#bbb));background-image:-webkit-linear-gradient(top,#f2f2f2,#bbb);background-image:-o-linear-gradient(top,#f2f2f2,#bbb);background-image:linear-gradient(to bottom,#f2f2f2,#bbb);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffbbbbbb', GradientType=0)}#navbar .navbar-inner.white.transparent{background-color:rgba(233,233,233,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.6)),to(rgba(200,200,200,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#99c8c8c8', GradientType=0)}#navbar .navbar-inner.white.transparent .brand,#navbar .navbar-inner.white.transparent .nav>li>a{text-shadow:0 1px 0 #c8c8c8;color:#333}#navbar .navbar-inner.white.transparent .brand .caret,#navbar .navbar-inner.white.transparent .nav>li>a .caret{border-bottom-color:#919191;border-top-color:#919191}#navbar .navbar-inner.white.transparent .brand:hover .caret,#navbar .navbar-inner.white.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.white.transparent .brand:focus .caret,#navbar .navbar-inner.white.transparent .nav>li>a:focus .caret{border-bottom-color:#626262;border-top-color:#626262}#navbar .navbar-inner.white.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.white.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.white.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.white.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.white.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(222,222,222,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,200,200,.6)),to(rgba(255,255,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8c8c8', endColorstr='#99ffffff', GradientType=0)}#navbar .navbar-inner.white.transparent .nav>li>a:hover{background-color:rgba(220,220,220,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(242,242,242,.6)),to(rgba(187,187,187,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f2f2f2', endColorstr='#99bbbbbb', GradientType=0)}#navbar .navbar-inner .brand{padding:10px 20px 6px}#navbar .navbar-inner .brand span{padding-left:26px;background-size:20px 20px;background-repeat:no-repeat;display:inline-block;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top;line-height:20px;height:24px}#navbar_login a.dropdown-toggle span{display:inline-block;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top}.octoprint-container{margin-top:20px}.octoprint-container .tab-content{padding:9px 15px;border-left:1px solid #DDD;border-right:1px solid #DDD;border-bottom:1px solid #DDD;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.octoprint-container .nav{margin-bottom:0}.octoprint-container .tab-content h1{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:40px;color:#333;border:0;border-bottom:1px solid #E5E5E5;font-weight:400}.octoprint-container .accordion-heading .accordion-heading-button{float:right}.octoprint-container .accordion-heading .accordion-heading-button a{display:inline-block;padding:8px 15px;font-size:14px;line-height:20px;color:#000;text-decoration:none;background:0 0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.octoprint-container .accordion-heading a.accordion-toggle{display:inline-block}.octoprint-container .accordion-heading [class^=icon-],.octoprint-container .accordion-heading [class*=" icon-"]{color:#000}.print-control .btn{padding-left:4px;padding-right:4px}.upload-buttons .btn{margin-right:0}table{table-layout:fixed}table .popover-title{text-overflow:ellipsis;word-break:break-all}table th,table td{overflow:hidden}table th.gcode_files_name,table td.gcode_files_name{text-overflow:ellipsis;text-align:left;white-space:nowrap}table th.gcode_files_action,table td.gcode_files_action{width:90px;text-align:center;white-space:nowrap}table th.gcode_files_action a,table td.gcode_files_action a{text-decoration:none;color:#000}table th.gcode_files_action a.disabled,table td.gcode_files_action a.disabled{color:#ccc;cursor:default}table th.timelapse_files_checkbox,table td.timelapse_files_checkbox,table th.timelapse_unrendered_checkbox,table td.timelapse_unrendered_checkbox{text-align:center;width:10px}table th.timelapse_files_checkbox input[type=checkbox],table td.timelapse_files_checkbox input[type=checkbox],table th.timelapse_unrendered_checkbox input[type=checkbox],table td.timelapse_unrendered_checkbox input[type=checkbox]{margin-top:0}table th.timelapse_files_name,table td.timelapse_files_name,table th.timelapse_unrendered_name,table td.timelapse_unrendered_name{text-overflow:ellipsis;text-align:left}table th.timelapse_files_size,table td.timelapse_files_size{text-align:right;width:55px}table th.timelapse_unrendered_size,table td.timelapse_unrendered_size{text-align:right;width:55px}table th.timelapse_unrendered_count,table td.timelapse_unrendered_count{text-align:right;width:45px}table th.timelapse_files_action,table td.timelapse_files_action,table th.timelapse_unrendered_action,table td.timelapse_unrendered_action{width:45px;text-align:center;white-space:nowrap}table th.timelapse_files_action a,table td.timelapse_files_action a,table th.timelapse_unrendered_action a,table td.timelapse_unrendered_action a{text-decoration:none;color:#000}table th.timelapse_files_action a.disabled,table td.timelapse_files_action a.disabled,table th.timelapse_unrendered_action a.disabled,table td.timelapse_unrendered_action a.disabled{color:#ccc;cursor:default}table th.settings_users_name,table td.settings_users_name{text-overflow:ellipsis;text-align:left;width:100px}table th.settings_users_active,table td.settings_users_active{text-align:center;width:55px}table th table.settings_users_details_table,table td table.settings_users_details_table{font-size:.8em;margin-bottom:0}table th table.settings_users_details_table .settings_users_details_key,table td table.settings_users_details_table .settings_users_details_key{width:100px}table th table.settings_users_details_table th,table td table.settings_users_details_table th,table th table.settings_users_details_table td,table td table.settings_users_details_table td{border:0;padding:0}table th.settings_groups_default,table td.settings_groups_default{text-align:center;width:20px}table th.settings_groups_name,table td.settings_groups_name{width:180px}table th table.settings_groups_details_table,table td table.settings_groups_details_table{font-size:.8em;margin-bottom:0}table th table.settings_groups_details_table .settings_groups_details_key,table td table.settings_groups_details_table .settings_groups_details_key{width:100px}table th table.settings_groups_details_table th,table td table.settings_groups_details_table th,table th table.settings_groups_details_table td,table td table.settings_groups_details_table td{border:0;padding:0}table th.settings_users_actions,table td.settings_users_actions,table th.settings_groups_actions,table td.settings_groups_actions{width:60px;text-align:center;white-space:nowrap}table th.settings_users_actions a,table td.settings_users_actions a,table th.settings_groups_actions a,table td.settings_groups_actions a{text-decoration:none;color:#000}table th.settings_users_actions a.disabled,table td.settings_users_actions a.disabled,table th.settings_groups_actions a.disabled,table td.settings_groups_actions a.disabled{color:#ccc;cursor:default}table th.settings_accesscontrol_permissions_list_checkbox,table td.settings_accesscontrol_permissions_list_checkbox{width:20px}table th.settings_accesscontrol_groups_list_checkbox,table td.settings_accesscontrol_groups_list_checkbox{width:20px}table th.settings_accesscontrol_subgroups_list_checkbox,table td.settings_accesscontrol_subgroups_list_checkbox{width:20px}table th #settings-usersDialogAddUser,table td #settings-usersDialogAddUser,table th #settings-usersDialogEditUser,table td #settings-usersDialogEditUser{position:relative;top:50%;transform:translateY(-50%);margin-top:0!important}table th.settings_printerProfiles_profiles_name,table td.settings_printerProfiles_profiles_name{text-overflow:ellipsis;text-align:left}table th.settings_printerProfiles_profiles_model,table td.settings_printerProfiles_profiles_model{text-align:left;width:250px}table th.settings_printerProfiles_profiles_action,table td.settings_printerProfiles_profiles_action{width:80px;text-align:center;white-space:nowrap}table th.settings_printerProfiles_profiles_action a,table td.settings_printerProfiles_profiles_action a{text-decoration:none;color:#000}table th.settings_printerProfiles_profiles_action a.disabled,table td.settings_printerProfiles_profiles_action a.disabled{color:#ccc;cursor:default}#temperature-graph{height:350px;width:100%;background:url(../img/graph-background.png) no-repeat center}#temperature-table{table-layout:fixed;width:100%;margin-top:20px}#temperature-table th,#temperature-table td{line-height:25px}#temperature-table th.temperature_tool,#temperature-table td.temperature_tool,#temperature-table th.temperature_actual,#temperature-table td.temperature_actual,#temperature-table th.temperature_target,#temperature-table td.temperature_target,#temperature-table th.temperature_offset,#temperature-table td.temperature_offset{vertical-align:middle;text-align:center}#temperature-table th.temperature_tool form,#temperature-table td.temperature_tool form,#temperature-table th.temperature_actual form,#temperature-table td.temperature_actual form,#temperature-table th.temperature_target form,#temperature-table td.temperature_target form,#temperature-table th.temperature_offset form,#temperature-table td.temperature_offset form{margin:0}#temperature-table th.temperature_tool .dropdown-menu,#temperature-table td.temperature_tool .dropdown-menu,#temperature-table th.temperature_actual .dropdown-menu,#temperature-table td.temperature_actual .dropdown-menu,#temperature-table th.temperature_target .dropdown-menu,#temperature-table td.temperature_target .dropdown-menu,#temperature-table th.temperature_offset .dropdown-menu,#temperature-table td.temperature_offset .dropdown-menu{text-align:left}#temperature-table th.temperature_tool,#temperature-table td.temperature_tool{width:16%;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#temperature-table th.temperature_actual,#temperature-table td.temperature_actual{width:12%}#temperature-table th.temperature_target,#temperature-table td.temperature_target{width:42%;overflow:visible}#temperature-table th.temperature_offset,#temperature-table td.temperature_offset{width:30%}.tab-content,.tab-pane{overflow:visible}#temp_newTemp,#temp_newBedTemp,#speed_innerWall,#speed_outerWall,#speed_fill,#speed_support,#webcam_timelapse_interval,#webcam_timelapse_postRoll,#webcam_timelapse_fps,#webcam_timelapse_retractionZHop{text-align:right}ul.dropdown-menu li a{cursor:pointer}#connection_ports,#connection_baudrates,#connection_printers{width:100%}#offline_overlay,#reloadui_overlay{position:fixed;top:0;left:0;width:100%;height:100%;display:none}#offline_overlay{z-index:10002}#reloadui_overlay{z-index:10001}#offline_overlay_background,#reloadui_overlay_background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#offline_overlay_wrapper,#reloadui_overlay_wrapper{position:absolute;top:0;bottom:0;left:0;right:0;padding-top:60px}#offline_overlay_wrapper .container,#reloadui_overlay_wrapper .container{margin:auto}#webcam_container{width:100%;position:relative;outline:0;background-color:#000}#webcam_container .keycontrol_overlay{position:absolute;left:10px;right:10px;bottom:10px;background:rgba(0,0,0,.5);font-size:85%;color:#fff;padding:0}#webcam_container .keycontrol_overlay kbd{border:1px solid #eee;border-radius:3px;margin-left:2px;margin-right:2px;font-size:90%;padding:2px;min-width:1em}#webcam_container .keycontrol_overlay .keycontrol_overlay_heading{position:relative;padding:10px;font-weight:700}#webcam_container .keycontrol_overlay .keycontrol_overlay_column{position:relative;width:45%;padding:10px;float:left}#webcam_container .nowebcam{position:absolute;top:0;left:0;right:0;bottom:0}#webcam_container .nowebcam .text{color:#fff;text-align:center;position:relative;margin:auto;width:80%;top:50%;transform:translateY(-50%);display:block}#webcam_container .nowebcam .text.webcam_loading{animation:pulsate 3s ease-out;animation-iteration-count:infinite}#webcam_container .webcam_rotated{position:relative;width:100%;padding-bottom:100%;pointer-events:none}#webcam_container .webcam_rotated .webcam_fixed_ratio{position:absolute;transform:rotate(-90deg);top:0;bottom:0;pointer-events:none}#webcam_container .webcam_rotated .webcam_fixed_ratio .webcam_fixed_ratio_inner{width:100%;height:100%;pointer-events:none}#webcam_container .webcam_unrotated .webcam_fixed_ratio{width:100%;pointer-events:none;padding-bottom:100%;position:relative}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio43{padding-bottom:75%}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio169{padding-bottom:56.25%}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio1610{padding-bottom:62.5%}#webcam_container .webcam_unrotated .webcam_fixed_ratio .webcam_fixed_ratio_inner{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none}#webcam_container img{width:100%;height:100%;object-fit:contain}#state_wrapper hr{margin:5px 0}#files .gcode_files .scroll-wrapper{overflow-x:hidden;overflow-y:scroll;height:306px;padding-right:2px}#files .gcode_files .entry{padding:5px;line-height:20px;border-bottom:1px solid #ddd;position:relative}#files .gcode_files .entry:hover{background-color:#f5f5f5}#files .gcode_files .entry .title{text-overflow:ellipsis;word-break:break-all}#files .gcode_files .entry .toggleAdditionalData{margin-left:5px}#files .gcode_files .entry .internal,#files .gcode_files .entry .uploaded,#files .gcode_files .entry .size,#files .gcode_files .entry .additionalInfo{font-size:85%;color:#999}#files .gcode_files .entry .uploaded [title]{cursor:help}#files .gcode_files .entry .internal{word-break:break-all}#files .gcode_files .entry .action-buttons{position:absolute;bottom:5px;right:5px}#files .gcode_files .entry .additionalInfo{padding-bottom:22px}@keyframes highlightframes{0%{background:#ff0}100%{background:0 0}}#files .gcode_files .entry.highlight{animation:highlightframes 2s}#files .gcode_files .back .back-path{white-space:nowrap}#files .gcode_files .back .back-path span{word-wrap:break-word;white-space:pre-line}#files .upload-buttons{margin-top:10px}#files .form-search{text-align:center;margin-bottom:5px!important}#control{overflow:hidden}#control .jog-panel{float:left;margin-right:19px}#control h1{text-align:left}#control .jog-panel>div{text-align:center}#control .jog-panel>div.distance{text-align:left}#control .jog-panel .slider{margin-bottom:10px}#control .box{width:30px;height:30px;margin-right:10px;margin-bottom:10px;padding-left:8px}#control .control-box{display:block;height:30px;margin-bottom:10px}#control .btn-group{margin-bottom:10px}#control .btn-group.distance>.btn{width:43px;padding:3px 0;height:30px}#control .slider-handle{width:14px;height:14px;margin-left:-7px;margin-top:-3px}#control .custom_section h1{cursor:pointer}#control .custom_section_horizontal>.custom_control{display:inline-block}#control .custom_section_vertical>.custom_control{display:block}#control .custom_control .slider{margin-left:10px;margin-right:10px;margin-bottom:2px}#control .pulsate_text_opacity{animation:pulsate_input 1s ease-out;animation-iteration-count:infinite}@keyframes pulsate_input{0%{color:#555}50%{color:rgba(85,85,85,.2)}100%{color:#555}}#gcode .progress{width:588px}#gcode .progress .bar{-webkit-transition:width 0s linear;-moz-transition:width 0s linear;-o-transition:width 0s linear;transition:width 0s linear}#gcode .canvas_container{position:relative}#gcode .canvas_container:hover,#gcode .canvas_container:active{outline:0}#gcode .layer-buttons{padding-top:5px;padding-bottom:7px}#gcode #gcode_layer_slider{position:absolute;right:0;top:0;height:568px;float:right}#gcode #gcode_layer_slider .slider-handle{width:14px;height:14px;margin-left:-3px;margin-top:-7px}#gcode #gcode_command_slider .slider-handle{width:14px;height:14px;margin-left:-7px;margin-top:-3px}#term .terminal{margin-bottom:30px}#term .terminal #terminal-output,#term .terminal #terminal-output-lowfi{min-height:340px;margin-bottom:5px}#settings_dialog .aboutlink{float:left}#settings_dialog_menu,#wizard_dialog_menu{margin-left:0}#wizard_firstrun_acl .acl_decision{margin-top:1em}#wizard_firstrun_start p,#wizard_firstrun_end p{margin-bottom:1.5em;line-height:1.5}#settings_appearance_managelanguagesdialog_list{width:auto;height:300px;overflow-x:hidden;overflow-y:scroll;padding-right:2px}#settings_appearance_managelanguagesdialog_emptylist{overflow:hidden;width:100%;height:300px;text-align:center;display:table}#settings_appearance_managelanguagesdialog_emptylist div{display:table-cell;vertical-align:middle}#about_sponsors ul{columns:3;-webkit-columns:3;-moz-columns:3}#about_authors ul{columns:3;-webkit-columns:3;-moz-columns:3}.footer ul{margin:0}.footer ul li{display:inline;margin-left:1em;font-size:85%}.footer ul li:first-child{margin-left:0}.footer ul li a{color:#555}.footer #footer_version,.footer #footer_link{max-width:50%}.ui-pnotify{position:fixed}.ui-pnotify .alert a{color:#c09853}.ui-pnotify .alert-error a,.ui-pnotify .alert-danger a{color:#b94a48}.ui-pnotify .alert-success a{color:#468847}.ui-pnotify .alert-info a{color:#3a87ad}.pnotify_additional_info .pnotify_more{font-size:85%}.text-right{text-align:right}.text-center{text-align:center}.text-block{display:block}.overflow_visible{overflow:visible!important}.clickable{cursor:pointer}.border_box{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.hidden{display:none}textarea.block{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}@keyframes pulsate{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}#drop_overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:none}#drop_overlay.in{display:block}#drop_overlay #drop_overlay_background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#drop_overlay #drop_overlay_wrapper{position:absolute;top:0;bottom:0;left:0;right:0;padding-top:60px}#drop_overlay #drop_overlay_wrapper #drop,#drop_overlay #drop_overlay_wrapper #drop_background{position:absolute;top:0;left:0;margin-left:0;width:100%}#drop_overlay #drop_overlay_wrapper #drop_locally,#drop_overlay #drop_overlay_wrapper #drop_locally_background{position:absolute;top:0;left:50%;margin-left:-50%;width:50%;border-right:2px dashed #ccc}#drop_overlay #drop_overlay_wrapper #drop_sd,#drop_overlay #drop_overlay_wrapper #drop_sd_background{position:absolute;top:0;left:50%;margin-left:0;width:50%;border-left:2px dashed #ccc}#drop_overlay #drop_overlay_wrapper .dropzone{height:100%;z-index:10001;color:#fff;font-size:30px}#drop_overlay #drop_overlay_wrapper .dropzone i{font-size:50px}#drop_overlay #drop_overlay_wrapper .dropzone .text{display:block;text-align:center;line-height:40px;position:absolute;width:100%;bottom:5%;filter:alpha(opacity=100);-moz-opacity:1;-khtml-opacity:1;opacity:1}#drop_overlay #drop_overlay_wrapper .dropzone_background{width:50%;height:100%;background-color:#000;filter:alpha(opacity=25);-moz-opacity:.25;-khtml-opacity:.25;opacity:.25}#drop_overlay #drop_overlay_wrapper .dropzone_background.hover{background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#drop_overlay #drop_overlay_wrapper .dropzone_background.fade{-webkit-transition:all .3s ease-out;-moz-transition:all .3s ease-out;-ms-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out;opacity:1}.icon-sd-black-14{background:url(../img/icon-sd-black-14.png) 0 3px no-repeat;width:11px;height:17px;display:inline-block!important}.center{float:none;margin-left:auto;margin-right:auto}.flipH{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1)}.flipV{-webkit-transform:scaleY(-1);-moz-transform:scaleY(-1);-ms-transform:scaleY(-1);transform:scaleY(-1)}.flipH.flipV{-webkit-transform:scaleX(-1) scaleY(-1);-moz-transform:scaleX(-1) scaleY(-1);-ms-transform:scaleX(-1) scaleY(-1);transform:scaleX(-1) scaleY(-1)}.rotate90{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ui-pnotify a{text-decoration:underline}.btn-mini .caret,.btn-small .caret{margin-top:8px}.dropdown-menu-right{right:0;left:auto}.slider .slider-selection{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.slider .slider-selection:hover,.slider .slider-selection:focus,.slider .slider-selection:active,.slider .slider-selection.active,.slider .slider-selection.disabled,.slider .slider-selection[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.slider .slider-selection:active,.slider .slider-selection.active{background-color:#039 \9}.slider.slider-disabled .slider-selection{background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-track{background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.slider.slider-disabled .slider-track{background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-handle{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);padding:0;margin-bottom:0;opacity:1;filter:alpha(opacity=100)}.slider .slider-handle:hover,.slider .slider-handle:focus,.slider .slider-handle:active,.slider .slider-handle.active,.slider .slider-handle.disabled,.slider .slider-handle[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.slider .slider-handle:active,.slider .slider-handle.active{background-color:#ccc \9}.slider .slider-handle:first-child{*margin-left:0}.slider .slider-handle:hover,.slider .slider-handle:focus{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.slider .slider-handle:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.slider .slider-handle.active,.slider .slider-handle:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.slider .slider-handle.disabled,.slider .slider-handle[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-handle.hide{display:none}.slider .slider-handle.round{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.modal.large{width:975px;margin-left:-487px}.full-sized-box{position:absolute;bottom:0;left:0;right:0;top:0;padding:15px}.full-sized-box .row-fluid{height:100%}@media (max-width:979px){.full-sized-box{position:static}}_::-webkit-full-page-media,_:future,:root .full-sized-box{position:static}.scrollable{height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.pre-output span{display:block}.input-append .add-on.add-on-limited,.input-prepend .add-on.add-on-limited{overflow-x:hidden;text-overflow:ellipsis;width:inherit}.input-append .btn-group:first-child .btn:first-child,.input-prepend .btn-group:first-child .btn:first-child{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-append .btn-group .btn:first-child,.input-prepend .btn-group .btn:first-child{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append.input-block-level,.input-prepend.input-block-level{display:table}.input-append.input-block-level .add-on,.input-prepend.input-block-level .add-on{display:table-cell;width:1%}.input-append.input-block-level>input,.input-prepend.input-block-level>input{box-sizing:border-box;display:table;min-height:inherit;width:100%}.input-append.input-block-level :not(:last-child),.input-prepend.input-block-level :not(:last-child){border-right:0}.control-group.error .input-prepend .fileinput-button,.control-group.error .input-append .fileinput-button{border-color:#b94a48}.control-text{padding-top:5px;cursor:default}input[type=number]{text-align:right}input[type=number].input-nospin::-webkit-outer-spin-button,input[type=number].input-nospin::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number].input-nospin{-moz-appearance:textfield}.progress-text,.progress-text-centered{position:relative}.progress-text .progress-text-front,.progress-text-centered .progress-text-front,.progress-text .progress-text-back,.progress-text-centered .progress-text-back{white-space:nowrap}.progress-text .progress-text-front,.progress-text-centered .progress-text-front{box-sizing:border-box;padding:0 10px;width:100%;display:block}.progress-text .progress-text-back,.progress-text-centered .progress-text-back{position:absolute;font-size:12px;line-height:20px;display:block;box-sizing:border-box;text-align:center;padding:0 10px}.progress-text .bar,.progress-text-centered .bar{position:absolute;overflow:hidden}.progress-text-centered .progress-text-front{position:absolute;font-size:12px;line-height:20px;display:block;text-align:center;color:#fff}.progress-text-centered .progress-text-back{width:100%}.search-query-with-clear{position:relative}.search-query-with-clear .search-clear{display:inline-block;color:#ccc;position:absolute;right:28px;height:20px;padding:4px 0;cursor:pointer;visibility:hidden}.search-query-with-clear.active-clear .search-query{padding-right:28px;width:192px}.search-query-with-clear.active-clear .search-clear{visibility:visible}.search-query-with-clear input::-ms-clear{display:none}.search-query-with-clear input[type=search]::-webkit-search-decoration,.search-query-with-clear input[type=search]::-webkit-search-cancel-button,.search-query-with-clear input[type=search]::-webkit-search-results-button,.search-query-with-clear input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}#navbar_login:not(.open) #login_dropdown_loggedout{display:block;z-index:-1;height:0;width:0;padding:0!important;overflow:hidden;border:0;box-shadow:none;left:-9999px}#navbar_login:not(.open) #login_dropdown_loggedout.hide{display:none}#loginForm{margin:0}#loginForm button{margin-top:20px}#page-container-loading{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:12301}#page-container-loading .wrapper{position:absolute;top:0;bottom:0;left:0;right:0}#page-container-loading .wrapper .outer{display:table;width:100%;height:100%}#page-container-loading .wrapper .outer .inner{display:table-cell;vertical-align:middle}#page-container-loading .wrapper .outer .inner .content{text-align:center}#page-container-noscript{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:12310}#page-container-noscript .wrapper{position:absolute;top:0;bottom:0;left:0;right:0}#page-container-noscript .wrapper .outer{display:table;width:100%;height:100%}#page-container-noscript .wrapper .outer .inner{display:table-cell;vertical-align:middle}#page-container-noscript .wrapper .outer .inner .content{text-align:center} \ No newline at end of file diff --git a/src/octoprint/static/js/app/helpers.js b/src/octoprint/static/js/app/helpers.js index 70bd06a38..fcc3e4e58 100644 --- a/src/octoprint/static/js/app/helpers.js +++ b/src/octoprint/static/js/app/helpers.js @@ -621,23 +621,6 @@ function formatTemperature(temp, showF, offThreshold) { } } -// Return the temperatures string from the given temperature profile -function formatTemperatureProfileDescription(temperatureProfile, hasBed, hasChamber) { - if(temperatureProfile === undefined) return "-"; - - var temperatureProfileDescription = gettext("Extruder") + ": " + formatTemperature(temperatureProfile.extruder); - - if(hasBed) { - temperatureProfileDescription += " - " + gettext("Bed") + ": " + formatTemperature(temperatureProfile.bed); - } - - if(hasChamber) { - temperatureProfileDescription += " - " + gettext("Chamber") + ": " + formatTemperature(temperatureProfile.chamber); - } - - return temperatureProfileDescription; -} - function formatNumberK(num) { if (num > 1000) { num = num / 1000.0; diff --git a/src/octoprint/static/js/app/viewmodels/temperature.js b/src/octoprint/static/js/app/viewmodels/temperature.js index 7c1b82627..1cf165ca1 100644 --- a/src/octoprint/static/js/app/viewmodels/temperature.js +++ b/src/octoprint/static/js/app/viewmodels/temperature.js @@ -337,19 +337,30 @@ $(function() { self.profileText = function(heater, profile) { var text = gettext("Set %(name)s (%(value)s)"); - var value; - if (heater.key() === "bed") { - value = profile.bed; - } else if (heater.key() === "chamber") { - value = profile.chamber; - } else { - value = profile.extruder; - } + var format = function(temp) { + if (temp === 0 || temp === undefined || temp === null) { + return gettext("Off"); + } else { + return "" + temp + "°C"; + } + }; - if (value === 0 || value === undefined) { - value = gettext("Off"); + var value; + if (heater === "all") { + value = gettext("Tool") + ": %(extruder)s"; + if (self.hasBed()) { + value += "/" + gettext("Bed") + ": %(bed)s"; + } + if (self.hasChamber()) { + value += "/" + gettext("Chamber") + ": %(chamber)s"; + } + value = _.sprintf(value, {extruder: format(profile.extruder), bed: format(profile.bed), chamber: format(profile.chamber)}); + } else if (heater.key() === "bed") { + value = format(profile.bed); + } else if (heater.key() === "chamber") { + value = format(profile.chamber); } else { - value = "" + value + "°C"; + value = format(profile.extruder); } return _.sprintf(text, {name: _.escape(profile.name), value: _.escape(value)}); diff --git a/src/octoprint/static/less/octoprint.less b/src/octoprint/static/less/octoprint.less index 38e718bc9..1db522870 100644 --- a/src/octoprint/static/less/octoprint.less +++ b/src/octoprint/static/less/octoprint.less @@ -456,6 +456,8 @@ table { margin-top: 20px; th, td { + line-height: 25px; + &.temperature_tool, &.temperature_actual, &.temperature_target, @@ -487,14 +489,6 @@ table { &.temperature_target { width: 42%; overflow: visible; - - & > span { - line-height: 1.9em; - } - - & > .btn-group { - float: right; - } } &.temperature_offset { diff --git a/src/octoprint/templates/tabs/temperature.jinja2 b/src/octoprint/templates/tabs/temperature.jinja2 index 14a5a6799..841a835f3 100644 --- a/src/octoprint/templates/tabs/temperature.jinja2 +++ b/src/octoprint/templates/tabs/temperature.jinja2 @@ -9,10 +9,10 @@ {{ _('Actual') }} - - {{ _('Target') }} -
    - + + {{ _('Target') }} +
    + From e88bd1f4415e2435c0f41ac7d274c4ecde56b0a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 30 Jun 2020 17:48:54 +0200 Subject: [PATCH 56/85] =?UTF-8?q?=F0=9F=90=9B=20Action=20Command=20Notific?= =?UTF-8?q?ation:=20Fix=20visibility=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugins/action_command_notification/__init__.py | 10 +++++++--- .../static/js/action_command_notification.js | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/octoprint/plugins/action_command_notification/__init__.py b/src/octoprint/plugins/action_command_notification/__init__.py index c2b3c606c..eb06109a7 100644 --- a/src/octoprint/plugins/action_command_notification/__init__.py +++ b/src/octoprint/plugins/action_command_notification/__init__.py @@ -85,9 +85,10 @@ class ActionCommandNotificationPlugin(octoprint.plugin.AssetPlugin, custom_bindings=False), dict(type="sidebar", name=gettext("Printer Notifications"), - icon="bell-o", styles=["display: none"], - data_bind="visible: loginState.hasPermission(access.permissions.PLUGIN_ACTION_COMMAND_NOTIFICATION_SHOW) " - "&& settings.settings.plugins.action_command_notification.enable") + icon="bell-o", + styles_wrapper=["display: none"], + data_bind="visible: loginState.hasPermissionKo(access.permissions.PLUGIN_ACTION_COMMAND_NOTIFICATION_SHOW)" + " && settings.settings.plugins.action_command_notification.enable()") ] #~ action command handler @@ -110,9 +111,12 @@ class ActionCommandNotificationPlugin(octoprint.plugin.AssetPlugin, self._notifications.append((time.time(), message)) self._plugin_manager.send_plugin_message(self._identifier, dict(message=message)) + self._logger.info("Got a notification: {}".format(message)) + def _clear_notifications(self): self._notifications = [] self._plugin_manager.send_plugin_message(self._identifier, dict()) + self._logger.info("Notifications cleared") __plugin_name__ = "Action Command Notification Support" __plugin_description__ = "Allows your printer to trigger notifications via action commands on the connection" diff --git a/src/octoprint/plugins/action_command_notification/static/js/action_command_notification.js b/src/octoprint/plugins/action_command_notification/static/js/action_command_notification.js index c319d378c..46954ae99 100644 --- a/src/octoprint/plugins/action_command_notification/static/js/action_command_notification.js +++ b/src/octoprint/plugins/action_command_notification/static/js/action_command_notification.js @@ -60,6 +60,6 @@ $(function() { OCTOPRINT_VIEWMODELS.push({ construct: ActionCommandNotificationViewModel, dependencies: ["loginStateViewModel", "accessViewModel", "settingsViewModel"], - elements: ["#sidebar_plugin_action_command_notification"] + elements: ["#sidebar_plugin_action_command_notification_wrapper", "#sidebar_plugin_action_command_notification"] }); }); From 6cc0a5ae34b5ddcc9b91e504405bcd964cce8aa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 30 Jun 2020 17:53:08 +0200 Subject: [PATCH 57/85] =?UTF-8?q?=F0=9F=93=9D=20Docs=20for=20Action=20Comm?= =?UTF-8?q?and=20Notification=20plugin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../action_command_notification.rst | 61 +++++++++++++++++++ docs/bundledplugins/index.rst | 1 + 2 files changed, 62 insertions(+) create mode 100644 docs/bundledplugins/action_command_notification.rst diff --git a/docs/bundledplugins/action_command_notification.rst b/docs/bundledplugins/action_command_notification.rst new file mode 100644 index 000000000..aff4d75be --- /dev/null +++ b/docs/bundledplugins/action_command_notification.rst @@ -0,0 +1,61 @@ +.. _sec-bundledplugins-action_command_notification: + +Action Command Notification support +=================================== + +The OctoPrint Action Command Notification Support Plugin comes bundled with OctoPrint (starting with 1.4.1). + +It allows firmware to trigger notifications users with the ``PLUGIN_ACTION_COMMAND_NOTIFICATION_SHOW`` permission +using :ref:`action commands ` about relevant events. These notifications will be shown +in the sidebar and if configured also as popup messages. The notifications in the sidebar panel can also be cleared +by users with the ``PLUGIN_ACTION_COMMAND_NOTIFICATION_CLEAR` permission. + +.. _fig-bundledplugins-action_command_notification-example: +.. figure:: ../images/bundledplugins-action_command_notification-example.png + :align: center + :alt: Simple notification example + + A simple notification example triggered by the firmware + +.. _sec-bundledplugins-action_command_notification-configuration: + +Configuring the plugin +---------------------- + +The plugin supports the following configuration keys: + + * ``enable``: Whether to enable the support of notifications (enabled by default). + * ``enable_popup``: Whether to enable the additional display of notifications as popups in the UI (disabled by default). + +You can modify them either through the plugin's configuration dialog under Settings, or by directly editing ``config.yaml``. + +.. _sec-bundledplugins-action_command_notification-action_commands: + +Supported action commands +------------------------- + +notification + Displays the notification ```` + +.. _sec-bundledplugins-action_command_prompt-example: + +Example communication with the firmware +--------------------------------------- + +.. _sec-bundledplugins-action_command_prompt-sourcecode: + +To display the :ref:`above notification ` the firmware sent this action command: + +.. code-block:: none + + //action:notification Hello World! + + +.. _sec-bundledplugins-action_command_notification-sourcecode: + + +Source code +----------- + +The source of the Action Command Prompt Notification plugin is bundled with OctoPrint and can be found in +its source repository under ``src/octoprint/plugins/action_command_notification``. diff --git a/docs/bundledplugins/index.rst b/docs/bundledplugins/index.rst index 206aaab57..fb838389b 100644 --- a/docs/bundledplugins/index.rst +++ b/docs/bundledplugins/index.rst @@ -7,6 +7,7 @@ Bundled Plugins .. toctree:: :maxdepth: 2 + action_command_notification.rst action_command_prompt.rst announcements.rst tracking.rst From 3846a55c5e82d3f136b60a0b0ed9c772c74a2b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 30 Jun 2020 17:53:27 +0200 Subject: [PATCH 58/85] =?UTF-8?q?=F0=9F=93=9D=20Update=20docs=20for=20Acti?= =?UTF-8?q?on=20Command=20Prompt=20plugin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/bundledplugins/action_command_prompt.rst | 23 ++++++++----------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/docs/bundledplugins/action_command_prompt.rst b/docs/bundledplugins/action_command_prompt.rst index 2d972cac4..247f741ff 100644 --- a/docs/bundledplugins/action_command_prompt.rst +++ b/docs/bundledplugins/action_command_prompt.rst @@ -19,17 +19,6 @@ placeholder for the selected option's index. A simple dialog example triggered by the firmware -.. _sec-bundledplugins-action_command_prompt-firststeps: - -First Steps ------------ - -In order for this plugin to work, you'll need to configure it with the command your firmware uses to accept -dialog selections. You can do that in the settings dialog. - -Currently there is no agreed upon command for this since no firmware has yet made use of this feature, so OctoPrint -ships with an empty value here. - .. _sec-bundledplugins-action_command_prompt-configuration: Configuring the plugin @@ -37,7 +26,13 @@ Configuring the plugin The plugin supports the following configuration keys: - * ``selection_command``: The command to send to the firmware on choice, including the ``{choice}`` placeholder, e.g. ``M876 S{choice}``. + * ``enable``: Whether to always enable (``always``), disable (``never``) or ``detect`` support. + * ``enable_emergency_sending``: Will make the selection command be sent as an emergency command to jump the internal + send queue and even be sent to the printer if it's not signaling to be able to received. Only done if this is true + and the printer signals support for emergency command processing. Defaults to ``true``. + * ``enable_signaling``: If enabled, will send the configured command with the ``P1`` parameter to the printer to + signal prompt support of the host. Defaults to ``true``. + * ``command``: The command to send to the firmware on choice, defaults to ``M876``. You can modify them either through the plugin's configuration dialog under Settings, or by directly editing ``config.yaml``. @@ -69,8 +64,6 @@ prompt_end Example communication with the firmware --------------------------------------- -.. _sec-bundledplugins-action_command_prompt-sourcecode: - To display the :ref:`above dialog ` the firmware sent these action commands: .. code-block:: none @@ -103,6 +96,8 @@ This would produce the following output: If the user selects "Abort print", OctoPrint will send ``2`` as selected choice. +.. _sec-bundledplugins-action_command_prompt-sourcecode: + Source code ----------- From 637f34162f52c9b67c2d3a18f48864eebed727ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 30 Jun 2020 17:53:50 +0200 Subject: [PATCH 59/85] =?UTF-8?q?=F0=9F=90=9B=20Fix=20sorting=20of=20permi?= =?UTF-8?q?ssions=20in=20ETag=20calculation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/server/api/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/server/api/settings.py b/src/octoprint/server/api/settings.py index 390ae8b9d..b16b9b939 100644 --- a/src/octoprint/server/api/settings.py +++ b/src/octoprint/server/api/settings.py @@ -41,7 +41,7 @@ def _etag(lm=None): sorted_plugin_settings[key] = plugin_settings.get(key, dict()) if current_user is not None and not current_user.is_anonymous: - roles = sorted(current_user.permissions) + roles = sorted(current_user.permissions, key=lambda x: x.key) else: roles = [] From cf9de3d11c18ce0075730a0e73473987fe0ff2fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 30 Jun 2020 18:25:43 +0200 Subject: [PATCH 60/85] =?UTF-8?q?=F0=9F=93=9D=20Add=20missing=20picture?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ugins_action_command_notification_example.png | Bin 0 -> 4590 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 docs/images/bundledplugins_action_command_notification_example.png diff --git a/docs/images/bundledplugins_action_command_notification_example.png b/docs/images/bundledplugins_action_command_notification_example.png new file mode 100644 index 0000000000000000000000000000000000000000..fc571db92447ddc0b6ca62fa947b405e5725f7c5 GIT binary patch literal 4590 zcmb7IXEfYjw^>@4em0{czv=;a%&!_rve}&e`jn=j^lBKF{7~#~M7*0N!N1Nk&En)Y5!xL`Fs~ zN$S75PDN_<_#gX{e&h%v4OO!8KK5nOfWk#ZPlb%EGKu=ko{}`a@lw+QK}L3~{qINK z~W>#>T7zs)+T#luvC6}v1@WK>TS8*@I$TUL%)SrCV1Y%EFqJEoELFO#AZ#% z=0i-se&BaGm)04UT_qg*?AV*f;dLIfaW4Hiu^LHtV`sxIQF#I-{1p0uXGfL(yNe0F zLh1jYX;d{i(4;m6z1Mwwc8sX3t!11#Fr-)Wfs~e(?)aDwX*|hbVReVY1n0f8@9AqrS%sS-(g+gXYAe-dIubv*$1AtAKs&#hI>%A+oS`O)p#t$U3jcA+yGlO6wVn-USNeqD=-l@-Lp@-HF!ZFDWSXs#kxVs>-3HH~Wb%yJyM ztPjPI+dRsj$S%)wi$k94Wajj7HtN~P$CkF18j+BZXWrc9HrCXt!SZmJ!l*KxMpEd# zK3sW>k6W)Vp|fX=WxH)4pNLsC4XWWM&NJ0@pu?YtuH09_!&QPC3O(}OV#WGrX*c`U zU1&?|sYA-o`DV@?)T{_~o@e#Vaw6rD1mbkV8xfq0dS}M#J!TH+>Qmy{>1K@nr?=P| ziSuIrrE`o$0&@@Z%|+hSfUmUczW`--=5heN3p~Q z?JLN^DVi37puIhc^u!@KsC7GLEdH#jWyDSl%&X_0fE7?v_nMcM!srgYwfq&WhaV-y z%GWN_1Ipa84Xlo{3y?_h@!W^A0J%g_KZpJ=KdXmNuw5n{1m4=dxF7^|z_W_@WM9o5 zeD-4iZ@Mn?$Q$k8C`pQb#U1O|unM{X8MavgcHB|X3*K@ltdaBQ7SVGYvEv8pJf3(l zcksLXlemUV;Z}y}c1f$wsKrLfZq@gPAa}e4MhAf@vFg=|C zkzMYbhr*YO>f~k0j~AS}lBWD_w4l%1_6}GIHwXgPYuB}s1nn1efR(YTxrv+wJf5qm zkn)`^!>Vc0c@N`#TQAJn?`8@gXJ8XE*yV+lF60jq$kTX^!JPv7Zli7hGcGgU%=C_p z%I>rhI@bQKySB)r&mLJ<90b;O*37vUQw*J98}KSX4d3z9_ZPq8Em$g6Fs`WHjO~5y z0y%jYY?Vmd<|ZC>`h?gzo)bMi=Z`u+JF`Ua2>wIcSq9~GNR4$)sh_x`I(Ixa=kl!^ z?=lM1D^r8_vAnB!iJiir7rMus*a@sOgH#+6)u_qbx6qJF+5vs%H7lme6$L(}uhwRQ z$vl**R3t2?yZ|k$l-F|T?clX-2CsB!7ZyvI#B7jpTv^ogrcF{dIi3!HHw`!Bm}}`CG{_u402@ypI+-Q5 zhh0F<$~HHNnB|$1OW7Ns{el;yYY#dFlE@$hAStP;DUQcq2mN>i;eO3?^*;zD-C^`< zhCa!+{YWHYsrr9e@_z^aw==y*@i{Z}=~!$>1_2irDr!L^QMfj!w{4=FRy|q%=<|lL z=WdE9TN4i)D{qM$*#8Il`DvCJ@kcV^=c#|-Zpw(Cs9#^^Sfi{{X#DE}6(%4s7S0l- zD~qVWb?_AEuBiLgPWJKJ_&H(4DVWWWEKz`>fiG$P;;dL^aQ2|N!)l)HNNhd}g15lg zyC0vNVdJ&L7fDf_G9jJdJIN3;vfpC~BIxtn#i?viJS}lJ(9;=BD5GAHqgvdDXmWXb zzFCCwTIk#ub8a%Xw)Qp7jF-+d;3UtsHdj!Ol;({#YiLKn5Z2d=!4Dl^D=^<5j^@A3 zO+SRM*ZzzdNh?g@9Egj)^Qg`fSCQrq_!v!yyAiO;H5sVUS9r=*ptKi`E_VExDwbc& zq4r{Z_}vp~BnMl5TIfy5QGG!eop^Pm+=mEovk!TdEyLl*EFt7?(+(9);Bq;7nMdg4 zO3I+NtMZRY_oX|fS!p${j~UlnhKAk`tK?Fq?g&~laf*qm(xQW+8TFJ7yG{JXMxHcX z*=}qQbh5)$O&ji+k83Mt{)0y6I{W%MtrA(ij6LrdK^mQ5;>A@IdudB7DF(`Qfc$A+ zdk3Ggs<`QRwp0(rvW`?5Ny$B$2a=`mg~o6Gy}QoDdj-+n9&i5oB;Y@|-@o^e0X#fr z=$yYJ>e>lm>sO@gK$yIcJ5^Is%0=cc>~iQp*aX`)_W8iP6 z^10OI3Z?uwUU8BlAOI-B?P&C%Vd#?t#B*vsqW)zb%&Qjy;hw)&9Dx?3Q*qFd!_rAq zn=2&!%J@SaGSUBx1#;-Af;9T-wp7>E^4w#^a_&bxDUM3&B(Y_R1A;W>HwxF3)?TDn98tFZbPyPm4E;vZCqn&ir z2K0jOzGCg);k=e%*ltzj*((JYZiO?OFEF>-lM7+-Q)e!u%WIkU$qzR8h&})3$N29X z?GkUl!-X9mFv9YCwOf@X$|L=~ZToh6z;1I=^Wf;2$#KNf_n&D%Jer$qmTi)52LpK4 zxjfEUlb1;cX3ZQDlBYR$X!Ab-^)l5Z(d$Z|S0lk>?@y_q`M_0m0zrbcL89r`!wPn8 zIIOLKAqSl_c6I|K-Qo_LpwC9d>z;(i%8fRn7Wg)(Pao_&v~+g85WUq@Ox!I2-v^Z8 z?>dc#wDH^k^$yNOQ+X3t{ahN55#o@mHcdArQZ+GvHKL<##L@t`1OOac$1GiRN%s&z zuPK)ENU2Kq#s8CQAR2)6i}O<>At50WVX3g>j!|=ftG`~H=&WsQ#9h06Hzq2I(sPv{ z5|<}XJXz_Bhfd+EAkZ$Y9Szjm+ck{WAk7*!f`Q*YQATXjO_W?so`IqHO3nZ#+BtIX>L-D?9jE5JB_ME8D=x1n!xaiUdO}57 zty=@GMxi)JvLYDF#J#4unLRi(c?FwcvRjgX{taa_Y09L@UzE{#4$OIW&~vS`VS!`S zLTt5MRtDDJmJsIRJDj-`cK95=4KAKBa0dV{-;j+o)~54y*nJqw$0!h*qAi?Wat~EK z;g;KMy;`yxB@0x9X2~M6jXK5K@<3a{)ya&J1i4Cb=t#B=xegvP|Ai zO!TDUpZHsqTI2p zA1D&)wHKWTmD^LS5=jlgy_v|(!J|hrwO<%bFnMTR;Ti?wF0Qjxr<^&~LTBB+X|zae ztT5O<(%BCa3^(9YrZwUHG_j4`88_tl9h33lQhQ~dQ<47zMm*j=No1}E_lP4xqx18$ zM!OxO6JX3q4*JK7{j#sUsDE|{@hI$m=#;I-^uTHr3dx4+O9&Ys_f%Wr9TiY4TzOh% zAz<^_VkEe((EfruL3}?c!BRhHy2y0|i??YF)~YFTM+)SNgU-cI#UfI(BLjF>qp*`x&3trI!x1J%FCgtc zwe9U2oz-CVSY{maRl56k6+$z@6@8t%RIQj67x!Oa`x$bd!gN`Jcx<4skGoP$mJb)V zr1ozESCAJ)izaN4plu@MNaR+hslpo-aBDqFk%ZXd(ufp*Y7@Cu@O5?F;U3R8Ry}7+ z6Rs$uz`}F!GhO+|9Fs3!3|h9FMXZ7wT7!FPz1YJ7*q8>FY+3|)0%N_cQH{ru~9>JDEEs6 zW#rbO_W`)>HAd+Q;LrJ}-^l!lQWgcd!#4c<&tn?!0&|B+zFt$bGxp1=`<}At!wMrv zX}pY*?Nq6`=h>UeV(!pCtLmMmq_Z8Yv5e$xQA*E_upPO!Zl4|R3c1RN2kY_ErFcBr zn73oxp*;MSQNMfEP!hIa@*(&tvD8h2pU##)?@UMXGVP)dHDT!HCfvPw0Mu{6VGY+q z>}6h4$oSkF64PzVaJbwu$xkY_?~oMrQ*j2QZt-1I=DtT;L8jf{zR1ihamEbUljhyr zB(=+8Ay<^$@Vfwe4K~&x3rvcCLIdSeR@qm}S!1I1ffbhPtFx<8p>l~F$rTBsqs5F- zVqeDf>Nlg3Gh}ZT&zn-EvR$DaKE57lN*E)T>WRioXP?{x#ee5fN@1FNLk!#|x^lPm z+CEPG^%Mh6?ucUE>$(>Y63$GL%WhohND_a}H(_-Xfl;n~hrA9LUP~tK1{%sczwG_& z58aJIqgy2Hhon=-d(+B53?!FaUmp5o!uFlXg4ZfE_;s?dru6$ceICh`@k8H`_n?L| zajUGLVHLR(>5wRgoh}J5k)=l!Jm!=v?kaVAh%t;y{p@-9d1cQD@S)6MVMP@w(Ux*5 z6m^_oMBMD zJj3|!{h=XIxxrRUXJ_Zkg_Q5nNA%IGLF?&;LWA)uYGZmemh+R<3Wv~8n?MSsjX}&; z81uacZXkPCSK10W$L1|1DVI}Sx&A*H9oO}3=%dw* SE2J6?nU>m<$K|Sak^cpPV8U Date: Wed, 1 Jul 2020 13:26:55 +0200 Subject: [PATCH 61/85] =?UTF-8?q?=E2=99=BB=20GCode=20viewer:=20Extract=20i?= =?UTF-8?q?nto=20bundled=20plugin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/bundledplugins/gcodeviewer.rst | 35 + docs/bundledplugins/index.rst | 3 +- .../bundledplugins_gcodeviewer_example.png | Bin 0 -> 90788 bytes src/octoprint/plugins/gcodeviewer/__init__.py | 69 + .../gcodeviewer/static/css/gcodeviewer.css | 1 + .../gcodeviewer/static/js/gcodeviewer.js} | 11 +- .../gcodeviewer/static/js/viewer/reader.js} | 0 .../gcodeviewer/static/js/viewer}/renderer.js | 0 .../gcodeviewer/static/js/viewer}/ui.js | 0 .../gcodeviewer/static/js/viewer/worker.js} | 0 .../gcodeviewer/static/less/gcodeviewer.less | 50 + .../templates/gcodeviewer_initscript.jinja2 | 3 + .../templates/gcodeviewer_settings.jinja2} | 15 +- .../templates/gcodeviewer_tab.jinja2} | 0 src/octoprint/server/__init__.py | 8 +- src/octoprint/server/api/settings.py | 6 - src/octoprint/server/util/flask.py | 11 +- src/octoprint/server/views.py | 13 +- src/octoprint/settings.py | 23 +- src/octoprint/static/css/octoprint.css | 2 +- .../static/gcodeviewer/js/renderer3d.js | 206 - .../gcodeviewer/lib/TrackballControls.js | 406 - .../static/gcodeviewer/lib/codemirror.css | 174 - .../static/gcodeviewer/lib/codemirror.js | 3165 -- .../gcodeviewer/lib/mode_gcode/gcode_mode.js | 32 - src/octoprint/static/gcodeviewer/lib/three.js | 34517 ---------------- .../static/gcodeviewer/lib/three.min.js | 740 - .../static/js/app/viewmodels/settings.js | 5 - src/octoprint/static/less/octoprint.less | 48 - src/octoprint/templates/initscript.jinja2 | 3 - 30 files changed, 194 insertions(+), 39352 deletions(-) create mode 100644 docs/bundledplugins/gcodeviewer.rst create mode 100644 docs/images/bundledplugins_gcodeviewer_example.png create mode 100644 src/octoprint/plugins/gcodeviewer/__init__.py create mode 100644 src/octoprint/plugins/gcodeviewer/static/css/gcodeviewer.css rename src/octoprint/{static/js/app/viewmodels/gcode.js => plugins/gcodeviewer/static/js/gcodeviewer.js} (97%) rename src/octoprint/{static/gcodeviewer/js/gCodeReader.js => plugins/gcodeviewer/static/js/viewer/reader.js} (100%) rename src/octoprint/{static/gcodeviewer/js => plugins/gcodeviewer/static/js/viewer}/renderer.js (100%) rename src/octoprint/{static/gcodeviewer/js => plugins/gcodeviewer/static/js/viewer}/ui.js (100%) rename src/octoprint/{static/gcodeviewer/js/Worker.js => plugins/gcodeviewer/static/js/viewer/worker.js} (100%) create mode 100644 src/octoprint/plugins/gcodeviewer/static/less/gcodeviewer.less create mode 100644 src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_initscript.jinja2 rename src/octoprint/{templates/dialogs/settings/gcodevisualizer.jinja2 => plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2} (58%) rename src/octoprint/{templates/tabs/gcodeviewer.jinja2 => plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2} (100%) delete mode 100644 src/octoprint/static/gcodeviewer/js/renderer3d.js delete mode 100644 src/octoprint/static/gcodeviewer/lib/TrackballControls.js delete mode 100644 src/octoprint/static/gcodeviewer/lib/codemirror.css delete mode 100644 src/octoprint/static/gcodeviewer/lib/codemirror.js delete mode 100644 src/octoprint/static/gcodeviewer/lib/mode_gcode/gcode_mode.js delete mode 100644 src/octoprint/static/gcodeviewer/lib/three.js delete mode 100644 src/octoprint/static/gcodeviewer/lib/three.min.js diff --git a/docs/bundledplugins/gcodeviewer.rst b/docs/bundledplugins/gcodeviewer.rst new file mode 100644 index 000000000..2531f7533 --- /dev/null +++ b/docs/bundledplugins/gcodeviewer.rst @@ -0,0 +1,35 @@ +.. _sec-bundledplugins-gcodeviewer: + +GCode Viewer Plugin +=================== + +The GCode Viewer plugin provides a GCode viewer based on `Alex Ustyantsev's work `_. + +.. _fig-bundledplugins-gcodeviewer-example: +.. figure:: ../images/bundledplugins-gcodeviewer-example.png + :align: center + :alt: OctoPrint GCode Viewer Plugin + + An example of the GCode Viewer in action. + +The viewer has been included in OctoPrint ever since the first releases back in 2013, however as of +OctoPrint 1.4.1 it has been extracted into its own bundled plugin. + +.. _sec-bundledplugins-gcodeviewer-configuration: + +Configuring the plugin +---------------------- + +The plugin supports the following configuration keys: + + * ``mobileSizeThreshold``: Whether to also enable tracking on unreleased OctoPrint versions (anything not stable releases + or release candidates). Defaults to ``false``. + * ``sizeThreshold``: Unique instance identifier, auto generated on first activation + +.. _sec-bundledplugins-gcodeviewer-sourcecode: + +Source Code +----------- + +The source of the GCode Viewer plugin is bundled with OctoPrint and can be +found in its source repository under ``src/octoprint/plugins/gcodeviewer``. diff --git a/docs/bundledplugins/index.rst b/docs/bundledplugins/index.rst index fb838389b..bb5aaa5ca 100644 --- a/docs/bundledplugins/index.rst +++ b/docs/bundledplugins/index.rst @@ -10,13 +10,14 @@ Bundled Plugins action_command_notification.rst action_command_prompt.rst announcements.rst - tracking.rst appkeys.rst backup.rst discovery.rst errortracking.rst + gcodeviewer.rst logging.rst loginui.rst pluginmanager.rst printer_safety_check.rst softwareupdate.rst + tracking.rst diff --git a/docs/images/bundledplugins_gcodeviewer_example.png b/docs/images/bundledplugins_gcodeviewer_example.png new file mode 100644 index 0000000000000000000000000000000000000000..28f54fc73db1af945ff9ee8b608887c69236d3d0 GIT binary patch literal 90788 zcmeFZby!sG)<3QSg3_RLH!`%+-6bd?AOZpdh;%oIbTc#(gQTK@3`mFcz>uPJNQ1=C zHN}~ zaxMDG6%0?D>%cdU`-obA|E{`fE6ZIe?Wb7-e!;Ysy)S#^N_jl)nHd)F`wb@*L)R-; z2-?v9u68-T0bjXtS*WTYtLtU5(Rjn}iRE~Wq}Q&n|bZlfTwXNH&$ zb)#x>nMyfM>l)$ja`)pIaA0rXZ0{J&eV+H^$S=6dwrpxoRtI)z*9 zE5XAa^e?}@wR30fndJBpB1|_E6!ZJGj;NFmO(Eyp8}3-7GX}{FkCckFNqh$2STa57e)Db_(GEk623b zf?~W?Eey!AIj$E5eYN`c%LBL;CNK)tsJqE_K1(V3O*zv|zsJT$k8L;*%^G8Ji&HX> zBDpHfG~k4Ke3QEK&G*X-UvrF*H|iV~C7VHuIqCT80a#ROEEQz}D_i|D;3(|B{5d;> zcs)gGM^06gY>U`R<8~|Viq+52CmJZ3u~Aa^ZG5M{Zp5uNj^U0jV6(<7T-ORb9X>&? zLqyl2IoNEr*o;ESbX)98nb9?cAI$~Mc|@P%Ak3kMQL^K6gn`FxivM}s+D$SG1k=H|`hBw4p^)wlcx#hZ z8(&Nl*wWc%WY4^t>EJ6y_xurTQaFY<{*TMw-H(k&_FOE9>0^==L0`Z_eAhI1l*kVK zselz=B{XcuMSXvlo3Z9Ahca_r<*Yy;120kP|9O;MDyc4D0J-!hF`y09U0}VVyXPN$ z9_DR&f%Jn3g(;2KmATv`sD<*J7oI{z?a=a?o* zso<`rpO*Wk44Y~?J*W6Cd40M}d$^GoLb4(iJ!?&2*PP!Je^shX+@noYNQ^vet|t`1 zLGV!|cU-SC9aVD3a{0DlgE1Vn55Kz*k6H;GwCM)zwU;MB|DS9&_YCyx6(n7C?_h>WwFlBID|p zk4aA$*r8l}H6$$m3PpK+lCW*8ZmiR?9MwfeMtZccFD-T{e-zY;O?X*1aCkhom%n*l z?s+-bmL~-FJ)sY1{yeOI;m{y;Mprwz(d-v!*y|tv`tV)*J}T}y6UtCdc8WGL=X~qZ ze?J?Fs>PNP3T{@GLWzmAB}G4pq{3v^JOO21X}3$VcG zV$YscZc*q=9&G9mlai;syy$Y=ULXy~cI{gwt;b+8KY2u2jc|0rK|FLOgiz1#vl{JZAdqqj&8JTUwY~_1(q}5lD+c3u0%x zU7z@==m&mbtmK+k_TFFgRhNjkWWL@o{p!&=%rskU)a2s#F)aX@!PWA5RNfwX!sslq z*ZcibCZwV_7d3V+0ZMY_ECCUm_|mRQ5L}YE1X5#U57#2F@D5NLf~G4+5BX}l28k!C zMY^ov3)1b@Tb_O{amWN@iY5G><7l9=YdDY(Dw03^JQLJ7jv`45Q>sHF3<$Y4-aM3 z`U)Pp&pf<>c$#=yR;9{kEu|O^GJ7UHbtZ+JHM*W!_VEqY{$#j`A&n0TG}*{2EiP!V zV%^eIYk#0g??Ww$62yz*jBbl!Zi};!KM#|bMjUKKL!l@sqlf?~y&Q^c;TX^VEMLm? z=(G_*;NjQ0Q;4cHPBP}?oX5(yoF94Hdwb&MJ z-h2?=`62C7#mox8@ zL)^A?k1}%P@nUD8L*2VF&S`|>FJUuNJDQ}YaLlpCvp!Sh2z~Wk;^OkJN}@JkI%G6I z30iT)SHM;eM@hj@$efj}Bcj=^+%BH^vBd+r+7>CPwv^~MhXIoN#O)??>)}Q`T*{0) z>sWI={qa2y!ip992Cy%i{13-T6XzwW;_-64?LX48hZuS{9QMu(NG%FgIT+HM9*GTl z)3C>#c+agFwju}iWEYb9k@-(g{R40|jj|R57k3ChWRC81i#9=qC0?iBTMVG+9O?pH;l$mi4-~q}u|jsjI^GT-K7m?1o~WX*;RMBiHh^7lko%JMJ{pa25HTH7p#xc4O))WZG4P|z1FBLcjQWe*r}lZqT?HT zw*h1|H9yBswTKmox9H-Rc8r)EOxRIH>%+N}bjTt1$PVR?O>(Kd|V zhtF`MCE&Poo9`D0SqwK8j2Q~<&NI6e@dsE)2T>^n{n@+!?_E|`wS+L(b@Zrk1zzky zE39kyNxq|EPIEq>@pxtO6E&Xb-zaw^5}3tLXwT2U_Kz=L08{yO9m5=kMti^yUc~?3 z8#{$sfw$9p>c3rq2AbsfZq-UH0T3;?VgHNzZYQ-PIBlc_07L-F#j~Kkazg>f)N3vj zzB?byTi5lucJW};bf8pE^K9uJnoWS1aSVQPI{*VZ`|X5h-!zCpm&Ba zz4)R<;);t%F#c-Z-aUVMu)b6^=}_@I?l2f<>j@^5O8=DJ^4fTwtE_>9Gh(h)0Q9aS zBB|pIZ_7VJ7F(W^7gvje||kf9UVl&z|$3N{-Lw$(tY8hx6T%zC0ON zDhoWfJ=EJd>DCHhDr-D^41DHXs+DV7tlz5RLf?Ik3`~QbZ&;7(cZBbS>=o)hpxp!H z6acOfy{laK_SC>`sKY#(j?Bm{a)FyITCH7lmC8V7wBuSG9oe8ezv0*4SNRP$;=9d* z{_oPywfeu+_+LC50}&~T*X%iON>gagzwz$ikUn42GJX*MN~EX2WqC*ma!)2CbqBq4iI4@I;@O!Jm+=S%Dl%DY^i zA1U{9DS2ipQ1DcmBRs$Ns1*k{#QK}!Gp>8X^+XXYPB4aw~(|q8m_eRzISPf_? zj;1}K5(i&(&|@AW(_NXK|9bEJOrhErboT&(){3DXSA~GDZ?4=}QUBUtev8L|P-0tV zvB5k!oIYSI1w9PYUJqxj_1(#07qWP zZj7ONHozCSbn7J-c>-Efve>hD9|Din7%*Nz|G(9I8K95WWI$oL0mX>wAe)|VWTgj` zV;ejBGC}>}aUOl(*$#S0K8HsDi_#-5Y&S&JjI|)=Uwpr@h7!@Aohb>Ucd7XF>-uOIH0!p?~V|oiEIqdc-SV0oU$8DIL(@ceX&Ewh$+-`TY6w z#k^>q9v=R?kMKVLnrsYcve~!6y7nEi-xdL_GjB3QP{yXbb?NwvVmQD@uX z(r&Hkyll~Rzg;`<=`WAHz9uFh;(zKk9)Q|3PSL)F!;;YnSU0q@N81$O6Kh;`I_M7Z zO0MnGtH$KGt3G(Q21NtkxUku(xbHpvXxB8Zn52jn3$Rp#z^8ey=IyPP z>WZ!~2Yg>jbl+|H+uMgo2ZbF|GX*mYBs1GKDfd#;|5loC!qq^jT@{GJONW7RQ4IO( ziJIII<}|gKfBO{nRsXh$PrH}*z9NXpv0w(qo3NONPMY||k`@&I!-MC%T#q7>)70CR zL+l(l$-O5hVXpOaPsBDWhqGAd+y-T_vW@B|!8A5}-bf0B`% zIV%$F{O|k3@Z$1pMSAZJTXZndANv)8amwE^yVgSQbdjJKGs#0-TTt>!C{|*i<8K!h z*oQ9b%NOD>2EUUW<^8b3P0F^T*#6r}e>-7ik=!!;3j%_RD-V0w^Wok?4~oeHrPuiW zc8c*%GR<7alY++>m~P?da|5uRkpN1^z+J5a&@r=c z?ywc4D%uRr#}s)IR{^i>+J&=9=C`fn{ZG$@cRi*dkpEOjDY;tX%m<*SLX+?_P;Ihom{~Y^Q~=B zGoofcg?LxKYRP=U)ux;EW9gtDfH_JVA~TAL>^28%pxSY8f23ZN+?DxxDl`P!sz;`} zua77K7?1G^@h!Bsm~!r--TfX+s04fm#7?k)bD!Gt!%5~901|G0#&B85_B_n+7{d+k z4wOWh`WJ;FfI)ar$mYOBiJPc_v!Wt4(Ooz*%8#y}w4Xf3)6K00ln({4=&b)yH{ekK zGMOTDR*V(EeQ1va$XBM&k!qgmWXGw<>29|(lL$opXgLF!3OVAXPT%|kMB>~Wkl52e zyPtppurONGZH)6_=*6wy4oaQ3aq*fR03(yX3$MI1@tRmMMKy5E+04P57nJm4dyjI& zk-G@qw6{9NbybnVvwp74Ct2(Pk|hO(LY|a;txZyA+ihsSOBZRU|6u|-1AtC3LWs6aJLCofqo{K$k!89_ev#?p~048VS@ckhKi}Y|Jd5c7V7+e-P(^Yq^9OvMUKw=^Zj@9dQLFiX4g96 z`wVb?**D8dU{#*}WmTSD^{;7L@gh=a=k?c|_1`x7zs%vmRY~Hr4)g8Rhym`@Y{6q*d zkm|uwuShficER2K10Q6`PTuR5C&?B%(X6h;f>y{n^Y%kWK`Xf91~(^ny9WLSHr^hz zsSwF3C(F;ZpBG)p5}dy#)_jkJpjI3}{gwb{d%PF`J4tN!6GL&y>tG0; z`h8CEjgP?_0EH$QYNMVCTH_S7?oSqVU9Pb&?_;o1b9et#Sy@>l1l?y*7HBje!vN4_ z%<@=X>>ullo+^NnUtc?Q>U!K8x<}kHo{HgPa1$cP8;nCu57E2~Yu+oiUV} zM2%zkEV0Qadn-r8@;8SY8MM8mN34x*LtEtE6SZLwh1M02cRh1CHLOIe2Ibr%lrO0@lsUUbUiyUwpGGfHO*dF@J65*1Y{ zqfMq}*x|T{YYOiNUBkd~gGInezl7iQ7G3;QX0DW;9w)=-Z*nsuF5R0Fd{JpL4Bi+k zPwWQ!wDU|oN;rw2FDxnP(UZjH*K(+t3)`SOkh`Ah&ny_xUJja6pjuPi^wnXmL;8%? z7c@3bySteA-bz)(fha(o_w!aOVtbVt8Yxa~Oz2MRXt0a+Cah^kOO0*I6(N5}ej{-3 z23{e@nG6zGU36dzM6AXCV7Aa~S7OubX7wzcXrloT)7~shMtTAiSsjx1c@FO<$FDto z>ke^Q71;|$$Bql?R#ql!H59v)Bc_->bJiLJ5d7sfO|Hsxom268rw z7%lAW?KMjiSaSsNYb~j0RSgIjLA<=4dw>cpsM*_pAQh_eT+XmQ91pjMmmJ|n<w8|O~&jkzLn_lF!u-?92{tFkI_#&5QrTGkvq_LTbtDd z#^Nx;KwT@W!*JK4omZ9ybT(F(F49^*aTM%R2U*{|1)4@no*L8MX!TV7$(EhTu1LeR z(Zt`A0HDO=C!4qWI{f%06B^I~HfOh3`kWIT_sc%pTkb>SA2sjNhTR@6o-2xd0QI+4 zn6`L-%~6|&d-Y_AI_Xu>38C?wz1)6CMLDH(CRGOD3=P_Z!egapPV$wJD|3u?4 zW~M20Zp-t)4tgZ7)V&dU6l7`0Bf%|!Tujp1@;;wN2IxOFGV-k==lM$UF>ua%LwFpq z?b4KRuqb#s3dYKO^$Oe?a>Ic>IDI`13mUumkyj)CRpvmv0%|mZ1F`!mhBKvMa|fM&Na@f4|`lKZQtMdLM4Um z@-Av@i@3$K+-sw}YwjtkRCg)_4;x8rnldL*R3WWv9n2&a`Vu$fy*z9t5VwM%>pM(FD(+l~!8A;=ILvxI5?>;Nl}ijD@+>%O zukSO=ld^_k++Y}n3zmru%f+)&itc0Eqxg*aa?^ z`DK-rr2wmZob~2~rqx3(*Bfv`^H3UXW3`c9gqec}ak=bi9_ApfzHSvr?F!_5p?aE9 zCl{Ct^q_%$xRp|!5UD=Gb4E?40*d5Td0cvBS45|u@Wv0j?X7H^LK4JN8 zw~-ZyrEBONeV*|$juYmpC$4?>w)VWnsu^+)iCg(O)_+XqesL;rn=g06{Kh??9w!^iG-Zzq(M#q9QD43EHVl|!1hLpGS~iM#8TE~JPk zM+kB85q#VrV~vG-y9-P4Hn)6)v7LMMtVh3nJE+7eAjOa0pkDVjw2&UB2gfWKrpc|4 z&ImWeZ|Ik1T`Lb23aMr4_Fc51W}F>Z>rR=;$qG_d9$d+ZYgHo{P~ zyY(NJ5PvnOQ^W?83`mDwK4GGP$bS*M62`xA>xc6kx+;Aek-1?{rbB= zVwMrhF&etH@|cL-8N2va-{IkO*;-=V!(fw+h+Bl>u3sZv$Pz3c;xZz=*G8Y;3-1}#!BZd?d1MLGUA zVZj$~czDplGWGZ_P7Yz+kP~Tji3r)D=;skQ!yOloD)UfsF&GVYViLFzZet!c$ibs^ z85tb>-f66$;w?QBeI%>x&C44DLe#`mE?F3|3`Scxn9+4u%Zw8+-EMECdk7YPAMeGF zr)j`OtOMnY?HR#85Otk9Pf&^G*;MNXZ+eK~a^B z3IT?3mgxf$Fz>060WHEnA(q6W8|r)r#YjtCGX4_M_;~IHWdntlKpt?a9Xo2FB1+=u zC0syi814y|IJ~Du#SM_Le*}d-3atTL-NK~KrBc69lKp^|G!`gv9 z{?ej&*5ut0{O9QwaciW5#JLP3`?{(+32N61l;D1kNZ!gWkCir83rs3Hr4OK#ZZOlz zBq*llf21u!y_7j!G0`xL^UvF+3R1vq?1lBWy!x!Kj+jx#@ow^aUrxQxOH<16wdw5xKmN(Xk|%Xs zq=U$S^!iWAOE_1sKd;juS{?{YxR*WL3|(ib*dz4_b-P=c$$A#Ck_xw0+_eKtYe9hs z7g6Da3SnM@@0fU3cQOP+LY>L{Ws0c|x7!Fk^{T-nYeUgEFuIprwi6^w0S$+f7F5@i zZof;Dkp_xd;j}J__bN?!B5WlGI3pf<Ekk zco6DK6B8Wo*xm_|oGNn*yTR zgH7^`t&T59dKi3V$@O?ts=jO21fK9LHS(puIbFProtb#R^pmj_r-Qp)FOCkoT0O(& z1edICui>@Z^2XDchGD_R@_;%JAObw+Hv|#=La-1=nc{^Tv=45wLSM}6KnXHDkayW5 z_XaX~xdrQxD;l?X45h)>Y~*=(Cb+oqGf8(>MqgXN>{2#RoYD>ButJBeDMbTt$}TlP z1I}Q&$-F%R^H-BO{MA0M#^mnZorJUMgCuLmmA(r)o#n%#06D3+vm=GC40h=0G_FM^eW((!sH>XH5N0{@pr|M`)e%s_l(Y8N4qCDOJ%ZZZV(3JT< zB8Dtd2xMDARB~Lk>}H!1dKt}o_MJdG<*aH~TsywB?QSR=FnRaiZQ?!T6n>{-m4=Kd zaqWbFrNj69+tJk#fYg5^SbqEaEP!k#6B{vax=QOTOJu!v<1-O=a|@oJmbHD!3J7ZRBSy^)BM`t_rm# zU84pp+x#y%n%@hpDO1dC1_Y|h)Pvp68Hr_|IK7NeVDN&+VROp8fD@edGP=kLCAxQW zXs4)pK-K~%tAgAZBqo}Z07Af377jmk26f-@u~B04f5e|uN3;P6HLsWYl{aZWzS_6 zG*eaJNx&{*##4DsEuMAaShA9J$*bd2i=3aBnZznGk;iYrTUVjf2LxSe${$KFPJie z?o*%KU-PCTmOR zTNv}83cmiAjNdPyINt-1wOk=JSF`s-BJedI5fPVgH?lAh!NUf41mf)skEetUd+7`C zhZekaB(pR17Da{$l7&K4L_Nb~sZLA`giDU@EJzEsnG1Fx|iyq6`%wcY$VupaC8w)x0jSv)3^JJ9syt z)2Yb0m3U_3_F}dK`%#;>@_+p7>H#+l|b{4e)UqyH>I6=k%Mz_lTymM<|=Ku%=H9}lFUXH0=@HRFart`Dq?|1TK!f-g{EpJcUKBnvK>^J-srfro95K_ev+O75oK_aW!tx5JMvl@g8#O{*WI?} zwc*>MZTPEFq)QdbDjHJ2^uHH6Z%x&f`o9^t!(_Lgw=BLR0Oi_li0fg3X(n%kzbp2) z+qu>)lrC-6Yw-4c7NfmA@@5f|_29rUkw0k}{`Ku-J;4KzI1M^!{4c4VUr?nT;D!ww zxQ?lLLNVPi&2xV&2LU8+@PcL-(D5N;sMwAtE01%Y?PH10 zgYA1q7m@9HvL{*(6iC=(l3>ML(-#@&Nax|dB8dpM?-yl{4;=swfZ67@Azy99+Frio)0 z9;zQ`nJrgRMI*tYFv!D%LV{*xieJ!?q|4}c# zyQ$69(mO&9Tq>gIOs9JV!s&e8tbhIT<;%Q}@h~KeK+~;g+gZ%|q zC=F!FWJ!uBu(XOs=rX;!RfUjZ$ZYWZ4efuW<>v_NfIg%76hweaMrG3omFPgvD!1uL zkA7A!|9eeK%ffnBO`>66I&$vEES8qjdhO7YUhBm+`iqZl?(T{X>#uA}oe|$gM#Q=o zo!7n;mSW#U25tA{NKQ_x7CkR+V>v;U3wUl_tL_z_J<&Y6fTjznN_|UBwDHw&Md*yB zg@s)g{&+m&i=;i7dGy|H^Jk64&jO_0Jf6eZW;*9f6nae%pdVyUeza{t6`g1xN0#t`!K)FBqBj72GDgV>UtH!+w?JlNgW`xSX0V z%NxJNS3=)}=Tfb>pn{(<<=%9*$(ivpxD>%%x&m~SQ^lW?x4+If9^gHq+h}cpR6^PZ z{wfA@SqV=II;M~*8|>}{O|A&$YpUM_5Q`pncd`xq^n@0~G&6~z7m^KI$h7=>?C(6TK%|=PPND0mv!mKcS#aqtX8jQg}%}gIs%#n z?oOOi{{ahhIbAz#{q9&}!Tk!o9-U+b@gO>vaK2O7igRwNZVBy<-n+B5l-&w9*ZA6) z5sAiNLldo8-#U%sElkc!%UYHkToyi#+giFR-*og6kF~aaT;)ne*%kxiwBTW(H^!$D z5(3j$!2`I|EC)x)cLOShHpA(4r>dd*+qIeicXvdo9{Mvq{Le%RT3Hn(!$=3?aW2Bd z{o>Ht;%oOh_y%R`n;)xlpyrb}&L>3(jvBK!JK81{my|3*bk%Z7OH<_uwA9DBEE7-l z)Jg&#EwQ9NcRCC@&*zKvx1d7l-}z~y{+W*gmJhIh{8=yh4S?MPT9zKB*)vu#xPo`j zB(rQBMZ9-23rn6`i*A3ugv7;R6c$>B*{Z{9VpSIUQJWxqY+;o>%RWsK{h1o={>C3q z*gbT}@24y}CJCIw*LYAW-DmvF6_5H{U|pZ*;OrUl1w_PIm!&6(-b~C37yO!u;jD!o zb{|L$VCi^#7jd2qZQX3&7Cfh%l|2TcVJcsOJ}@$LGgNn-O(MF_TraX+zEbfKNJ zg~ejr%Q;`yuQabXc5!zJG3{Ca(Kgasns@-~9lNCCikv19K)&(jiB`EMJZa^N^hf$~ zS8@Es%%k_0D|+hCQ3O~|*oStqP9cTPH$N09sHrI*`09AR^)=M41|{~mrwAM*zAc@o zwN#2;57~`%^lP)E>L%J%iC-yirr`RZ{7H-woS9s%jCrj_Xs$h8gApm8nn*XUf$BRu z5vVR7ik&n#+!1(NQz6$AV7gq@au+ix2Cb9;4*sJW;kQel!`zn(8vr7GOQT5c2#RcV zI3|Ud!LK1k&g!y(KXSi7%x?vly=u zpQ)(qI(ADLD$c%Lu93NQIhdT>*Rq$9o$cVWq?3~9#m1PCFW>+*h~FsuZ(>|`6T5{6 zlvWy7g^tZT&M8|ZfaqbJ>$|)BiJHwisUX9(WyV002_nTJ=W4Rlqw$X3`;?Tvod&}A zZ^5+J=d3`TyVA*sILFCy_IL0zJ@vGnqTK?T1|dd$`o!c}%;8|$ShuZlPRmPvD-@F-As#SapK8=pw@fC2LK7xM?(dn%Y6e`j@SOz3Fno5VI#k z-n^IxNJB&wkx_zFSUaO{IFSpgiD5?F+qMg<{^n7D zu5`Tkvn-Z46_u4<%~9r8?zNT-s5vC3vBrNi4^!w&eH-O3<1ShC@qO7#C9<_XjVhw< zcZBWuh6>jqs=NUp_1DHs^CF(DnB!S$YAZz{cCU1@r(J~MG?Un~si{XAY4?-cQC;dk zER3}eBX5rSzB8~szO}WnasCn!vom3R3!+$(+D2b(-s2&@-lB+F}n8%6+7&xEdXM zfM4EM34?{}>jb5;Fqb8@BY1+?h9K;5ufb1-YK?kn*s2D7Ojgv5K-!YO6~FV8ipgK8oc4%l$AX0;=~!!|C|Jua`#p=Z^K-WF z=pT%^Zuq1*ppjI9rSpa=gQ8T$a!16@B@xHX>QC}-T069g6TIb1h|(D}>sp0~3p^Xw zjd!Il_oOx1)Mcl}s7xXnFujTA?{y_wHj0Gd4s*hZ)-n0NNDAP0%QnGZmV;m&eur0OEdry6G3GnT z4!h{F!T6Mmf_LxTJE$~WJZ5m(5G*^9xG*Tsl9q0~5+>Wpsbc2zbrH7(>R1gwCBOV( zZsQO8*4Rw$EG@+>2S+7Cjd{9@lLV}$DAF}KDI@S-F2rM#ylmK^p?uAtWM-zIFflPP)c`<3eO83)ma@ht z&^38%T$n?HmDuphvDKSpwZV~Pd4&M*?A{o!nD#rwid3js?QN;MwfOLzn){ovR*A*& zX8Nv(jW@HVQuL_ym8bNLe6V;GXqsB8VgW>v-pEf}KAv1oVDfHc?(l7f*!{28nFy(R z4UfQQp6t1mDGFcCoxOj&EuLcTDm~bKWb8b%i+uf<^r6}I zDnoy*1zbSFTC}P=pV#DRYneBY--vr5uz|;P&#V=blZ(rB&x`Od@_ai(sp!OxwyeAV zcA|Ss6t_vv`HBpYH}5t~<@zmRg_jxOM1t7>@t+ql<^6X58`8`WoH5lqU+TMcM<+ge zf;sB*9;vD5&?W)~fU`Baf``JDpQ61 zMu8O&3nX^C5!SyPV{lMml5dt8I2&_Bkro9R5r(@tmW`7I!#^pe7B15VTR&i2OB>=9H;`Y6-;{}}S0P=Yzy ztphDvZt;;8B-#OiwYsGr+{TSy(How+;Y{}b$wdGZQj(;Pj*}T-X_Z57{p6tryg5nr z93m6=I9VHC`3HB zDKUqz-Fz9s;r%-QBVOpzxKQXO^ zCpup<$cWjp*qAW!#M{aU-Inh=19kVyRBTUM8mCV^`nI$|2%W4}22-Z4NRD0airPy$ znmfa78@#V8O7Fh^P*X^<`fP)2^zBlA+Lqg%vAf$Nxi))c|ICj4_%GTQ4{9s@Yx)`q zyMo2I827bYID4k(<6%SJ zbHuV@RoirP-q7QAQx<1^xmPo;Id|R8g+zEf5qXMSQ>b#@xuDvUnVvvXo^ENDLd!0) zBX1(7xX1x3?Wq44^#Iz>Gp5oJ;>xb_ty^y^FHYkd_lKl!)@A*Gi8C?+EcHt}2FwVI z40hPX18wAp4PV5mN(soXEIbGY`h_jD)`D2~Q&YMaN%JbOQ;eJi*bltm*QM$Z> zx|#t0xxmFXFs4eiAjn91hpV^zt_AH=Gj#figW;4iXCQ%$@6 zJKhQ6CVLq~>fnS?ldWTrUw?nU=Fz!8tb2mOGNXIb2gWWNfK8JuBi5V=wj8JHdTG(> z1I}w3m%E8XzME?lfk}hfcAI+A?LTViei~kwv?jCO6huVMhkYl^D=B_`(P+zB{#HA2 z%{utV2Rf;oYMJS`l4j!b))&d?m@ywm56w82Ba_~R#3zFSekRraS-}dpSRmM8)|6S9 zpQtj;)Ri(^O*|();kS8px;XZ2C#^w7xY%xxnIHJyuE;1IErC6@Q6ZSqyO2owEbK^(D`iem1 zgTzX`JYHiv|K|Ocl{yI`a7Y4(Izw3CLqxvxBO2;B$bgAYdC@tWp;eJ9h}dRi#jC}JZa&ozGjBWUB-Ez7heeEO=a~Qkdh0Y}$(a-na6Z?2&(yBRs;#L3(H6V6_ zMsUrcdKSns+&wMvI7~XStB2kHG4W%{6T$yGDfLHTJP_MxkR8BEiAEmz^$8~J+X%m+q=USY0_9<8sN6_=TGhbjU6V)6hPNDp~i6!24kkBu<7!eFN{L z;yjU5Q^iR4hb>VA@q(Yb3x(-D@m)~>v@zQNv2lBm1O+d_aN;C=_6Nnapq~ zQY-T~;Z}P>RX_v_g2^Bvm0Y3ZMK_I7`6swJ518&PfilfH^1UZzSGjUbN>SO}?t*nT z)ji`I84YiJMGE?YSX?!ZtzRrCD#a}X=Q=x(7!lwo4C`O+zPjVvPpCk$lb=AWFl9i< zzhEGct-&%`{E;p(g2>1DDA;murm2U<(2{C}rtBonOW_CPQIkbG@eMFNQFE9e)zs1Q z|8r=?RfuJ@Zm~nB%vrI$mj`1C*~P<5LU4 zfo>{#bRoR&TocfMjjp;%=m7qb66>$#%-cM=nEU9Su1uh*=VyIBZd$zmhK0aMQc~fm z{dTo-4$xVV? zF!BnW*Y}_;-=|^-!EEFU5Kyuv=c5Xiq76xCUoWlizrP@{(3sJ6)atn^PU?KIW1RSU z5oKwdYBqj;G;7+~U>%d(_+?r!+j5*|x5suSaDJ3sZP!#aqxw>!T5AIv`Z~FM!aUl9 z)6(v>1ZtxK-C>6ASNNlOfUx-1Qk?jf6S~cy2dMbt`Q5sftlezN*(~0p5+L0q+|>NW zdrppbjDIxFS@N|_vC?hs>Wp`fAFy&YRWi9`zez-*Za*G*Z@9ohoFPL8R~S;yDCwY~bEA7G?HWhe!WT%7uT z4CC4B-apY~1BItoNZ!oTR7yZbEqR+(b$P;Jl^+yv{M|*%Aksi3pt}gYVf@ijy~3$s z+zweW&#NDc+s(X}j+A>#{0^sC(<>^w2L;Kr`pY9bdb{GthKkA3%O@S^Zla!4uV(Fw zk&`WsKe`&^*Ui5T`Yh_`wbyCYlE?x>f@ zLGVHn?r0V16rO%6^Y80pRuA<8dRThCcXe6;Dq6YwxwwG^dzJI|Bp-a0VJ+pr>1wVH*So81US9POMbYtjt%W2oc@>?;7V|kH!@<%{m@U!vmmpfl19keME zS<=y&QcT4om{&}hUKHICtCr!%5X*LYBT#71;>`@+l0gW4>i8P2c&#QE zRpRRSh~?0NVC>v`CcRH-Uq^cCzC%MNhiwe&jkDb(UZpBtqK3XV5OH#e8z**qs*9cT zW=NviBFrj6AN?URQwFXChvuBu>MlM}*KHKQj^WvCK~d^%`T z5H9;}jW~woi@HG)gejUXj=KwR1r&*q3kIl?ndzCz%w)+_$l}oqDacd*ff$CF-~Go% z)^$h>&I0{=>)N;b4!!z>AX2ap9LXy(U}{_s4YY=LQ9NxmRSu-N%SdM3=)!y07WQiCLgwPC4zllmOvF?ne@|o8^k6 zf8mCJK2`Ghk^IN3=lO10;)*;4+#k40Z;EO9Dh}eUW-Wko$LOORc~>f;H@IjGyjX@+ zQe5{6`$~H<_;I57pB<_sDa!PU^y5%u>l3*MI5jLoMlGc?I3s<@RAC$SK_C;Rw_nW! zJT{m-H;APRhN>|ZiACjS4APuIZQ96+mZnqcNO>x6=_cjFpr!OKx0_|&U|+k;^ZA3O z3TuRTb6UdQY+AzY*y(D!#dE_POJa@787R<;X{>h-+2*3LKu=iJwQkP$$|CyD4RF5> zCs1L<(xN9DSUIgX_XYUlLDr)e#^vvFWw~-)1ClJ~;}}hdYIA+x%3h(E4;ONDd&-cx z`Yx;1-lUu&61K|t|Iu~c;c#y2-`_h8AyJ}tqYEQOqL=8MM2LvCF^JxKOLRssqeV{` z1VIeZ%SJGx_uhN&y}r-noc%jzpL5>-xGu@8SAvq#-?Rf+8XNe)Z+a z62xLfxTuRkyGDOD^wr%5)W4^xQc!ppv98|@C^r{NckUKew}Mk0S1b%ZOjKJ;Z*MUN zVju@Q&AT5{&%R~us19DYRJ1=FQHv`wVqp<4EX*|k%@Fqx3wJXiV|R$~WO^?J(2Ui~ z4?eJ*yM-$v;RGJ&@6q{YdbMRv)x z;jH8&TVBK36qeW{6v~96N>rDsc4y+YkZ>xN}oAPOM?D?>t;e?wNOV#x$l*@ zAg!_`d_Vu~rn9_?+Lj}(dl1gp`lpzq0CRmYlrn)#GtYIU!cHs2g3batb?;aOpXs$i zj=K0OD{ISwN_q1h!>tgpy{52KM*3I^)r4x%b>#Vn^-S|e&5Su?DWE8bm;&k5-Lok=x_v7V9?|kLp}l$Oafdd_r0b;Z^!)2gal5rjV{IuJrr+sa zA{S)2j@~lT72_<;NS#TpecDHsG4z5}hPfTJqYG#3)eTo^Jc~m60FFL&!^}Lns&dd-!;@#K8pVD5r zk~|h^N1rChCvbHv4-}6{gpqef?zw{@X$n81EEU;qdmT_)vN9(Lu`ywcSh6=hgHNI# zbjX_B@ig)yvqvT>hZq|45qXS6IH)p+~XF0TEjhj4{0f|l4v;`;Z!8(B+;rilva zf98aNSA<@lsHR}sEgrCX65o2{dm)!`7XoA) zKacJwJ-YqDUzig=`pqiK#~sUK_ke?yv00mOTJ$7^HFSCfxXo42AwKPju5C^>PX!0> z4C(BEpjgiu=A_bPO*3(5L0DJ1-eSfME-e7>1OeWj0xR|S&6=HhJNn|aOKBQR<7lle zv@vv=JAS|%U5KGR>lh8v=g)on+92L#i`V}dPs{h;#nK+-$$Cs67M=)@Tsv}HHoO2Z1juHc@TgX+4u z_g^(1MkfdPEPM*8d8M{%PO|CX_Q2r(yAYh4bY|2#B4cNU;+0IAE@yAm!f3^F)FmLL z%2AsfvCILmh3NtJc&&L?P7Rxwy%jd(bv822R#lWr@!JFNv}AI|l$97D@*Puzf2Q95 zI{f;~^c7=iUQn&snbU|$dHr>l9lg_gz|ffFJ)Oe64$-oiQx}3#imGp{O7!HY#SZGU zDemv!ae9N9v<1ys&T8aGqTpxs)l|fb#4iu~6%|Ow+cn8PK83hEyoGj3rI?%UwP_># z(hPBVKj#BbK&`ARM?QKh?e8I3ct!L{EPS=b1+y2+OcDFJC1(5njo!8C${7D!cn<`W z-x@-jLpGDWBI8C$g8wr+tV+IcF!)LX1H=;+?o4Kth@P^jSkV&#aDT>E2V0`Y$KPUf zL%Z9-JWlg|7fRau@?(5IG!wMVSgxj#$QiiPR%^1vC<}%?aD*_oRAoh@9&qs`M&U_V zd$hDiy4WeB&s&tLM2LRN=e+9WR=kZMcI^hH1EFDK{M~u{VZR%xZi={ZX5`sBhx$uV zrUgSF>&~E*xAE1vDSGjM&WYF3XoyxH-wO$M4*n8Dxs4&rZD!th`DU5|3Foq!DNQK$-<@N#mc<4B!!gnm-gaC+jl6f~Wp1#5m| zof(}EcD&fJ+G{j?BSh+J>8G~?Pjz$ z>nxDr@{f#7#-VnXw{!Z-mq0~qC#;>tDauP}ks+=6U>$kcw$%SUuTeW?=WKYPMxziG z6;szx?e11MUs~9f(1`uue_>XzaiNJ3?i-qWd7y=p0{}_z>muJHaq+Fj!~LF4t9T#^ z!ZFZ_obrJ}tVB~)&@@z^^X0TPr~7=_36z`39w0ox@QNqPk9w7?H0<*}gmXNh0^mf|oL~rSR4PlIKMYoel*rubzz6L?S8~2xKPq!vmlC-JZJK7>H zfWy_l3yxChfKDzfu=r}eMerykl}^zLE^{QcWmoWa`320QezYY>|F4CBzAphdn4N&I ztEN2M_;d?f)v12ZzH;tfqBxX#KGep*w_^yhai)v9!M~`n{a)DkIfBsmo8)K1{w_=R z#{&1Y`_IaZfr6Ba^qzy6XGUBZ#c|0y!{`giD?fHhEp5mqp{7*Nn`7||=Sko!nEOe- zoi3A`IL45^CGrLO+Jfb5W(<5Pn^mIVzeUR!(1*jCGrcD>u< z;Xe>U;zVsT*(}al@(^39q{}6YrlV=FXky#e6ZQ7|j>)uT4H#bG`Bcs;wS79JQSKs&!KPTi~H zM=pQdHq4U2fEZoHn?`$iA{%!qE&_aeW@RD)x)J7i*Xb-l(#e@;qnvLfa@svvODBU= zf3pUexAwcG{SLWY5Xjvl75mnjRh9%B_8%fM>b%N3r~Hdp{3+1$G>yW}Z>m)N4xoa? z`@PDRmPz!u3n{FQeJo0Gb!=-xE6QE4XZ`201*+A5AY6RwJDvriX+Od9ZxW(RAo=AO?zKg~i(|AGq|9#5>+9UuMws0oe%??1k>s&?BBD5F#cx4#bCr;CL zd=wr|`+WB~PRwvUzzLWhq|dnf&4?V=)buS-g~~dROoh5{|M`9WVh$_9ugd#fdM8gQ zYtsC5GkzdS34s}bE_bpPwLR8t6;`g0Knv&yY*-1&v>0YWkP6mF2EqQ2H2=Ri&G zG9;LEScZi2&Kf>%?Tezy`TOjl-!!Vu*9*+9&X1g?Tt}+Xv!I|JkqvI)rN&ptqm06B z*X^B;Cnpox9%$Kn4SJUPBHI0??ug`Mx@^BbY9*VZxTwd87K!UBcF)~N8LQkM1&KYv)rsC)Kcy?dJPY;-*rlt=8IlnOK1>k6wt za4e8tB$yJ*a#+u{ka2ZdY_WF9kHbS|+J9mamCrsA-dp*gn7K}-^dprx3>sKd+N;oW z^|h?q#&zKtD6~r@Is1CuOX-S@HM{}GL@@J z;fwDcFejd$kKVL#nqNhIz~4dqw5Q45Pbj%ULFV48r+i-=P*S>j#%k&>{MyZXz;4PG z9f1Fgj*cYU6!~ql2jc1EjuYmyy_bSD+)%`a0+%Opig`@#{*Dwmq@p?*-@1CU2Z6p+dN{p6 zS;cI?RBExa39c{9uyt)t?A43!cQ6mEah3IvAA8o6_0B zlKSxaMh5P+V`Vve)~cN2`J;hS8ZfQb!9YFS22{Z*OL?{uEVW8=ViotZ05327RUucT zo{SAA`F}=4RE2cUj=bFT zb?|%K*?IuUk#WA2J6R4_<&CsSRAp&G-~CP3jEaSPG&HA^OR3v{{bPeNx=Mj%N<0Vi zTOVKWhr}whbI&v$yGBgs0ac#2;1&rx=G#w?HRTuaQ$+fy)~PHIqS6M6?+rS;4#0_* zJv)kWD^zs-p{O07db}35>8T@qO`gimi?fs=g{OY2s^m*69`y}N?LxSFr9W3Icv795 z+oN>j!OU^`to}=Kxj%^PMczHT{@jPR5J|~u z&@D*Xi7Yj|9Y8Gi*AaH?rH4T)Mb1A*+)r{>&5f)PV8SU>L+327p*;4OP#Z-%accu7 z3CF@U%3DJ}>|&N%Lb(&t+}^TjWA;!gx|$MtW8&zOZc%p&5)30#!emn+5fDxGMe+RD zur}*Uc7%Ljve%?KGtn#c`NQ>X@`;t(NeY%Fo4vItpmfEvl;fzAv52oUB2Yr9?=cZv z6fXOQl1ej_+jJ^IL}@C;X+abS9o^xaafPf{-p^m6!1ZTmNMfeg@u=zk;eZAfV=;%* ze3u1Fk8L9MamQv*iRh3V!0%YNZCB%65~hx{Yb<%PbB54w_qNWGYAA&vvu&;UwY~p^ z9=p?sp|@@HAp8R|KS{x;sNvdcq$GF+cZoAMwf}$)^3kx5!FM)GT@}ODpOu_%ResTB z?>7J-Z}yUHZ6_=HwiX8SUIBe?c9^iX&X(sLkD}wX)?Jm@jN+l|3@jg6TsQU1E;sk= zb{FJe&QVIndfTX0h1YEFGa?5aoPVtA1_$7fhR#<8W0Oaleg}j~cvN>z9 z_n!+Ek)dfoDF19-g3Rw06<(yPILKh2{>=RX&ef!J3lJugunTHxjF0Yf(TV!wb z52B1_mVz8NwN2BWIE{R+t`<4zQQfyt$~$+Bj})~^rD+X6{zzcX@T1VDeV9luLK{eh zNn(JM>#tn&sT?f~z;$Y_kNz7b)Jyp#?sF{)d4Q2I*PwuscnM6j&+Et7c^?A@yuc1z zGySnoIX2&~{u}(+eUw`(l?56g8!-dSk=j&``EaLxC3Z~JO8Q1foz#8Z<;~I_w}Cgu zShMw`ngI<-1ArW=T0uMDfqZe)X)RLmonT`x)oS@<>Po`WKd;WhAmIW4;cX5x545?I z(@oP~sNXXO3@nH$rW5vOAflJ+q*isv4~ZKqp+7@^I7I@MR@xk`&BAUa{k? zDYBY{&YIK;eUflqR;}QHrQP! zpv5@zItw6ddngvoVx`P|?L5zSwU1f{tF?eKnTTkf#7W=q0tC1ww^IqE`9@cFD}98H zOw~fQca|a5av-7l>KahdsjBL}D071OEh>3_TFq>~Qg%*c9LyZ~l+w$^L_ZHu8h78We5C2(&mvVYz!HaGhGbo(N~(S>yj z0MKCiBa!j@Ak#Y@*MUoC3(=C>BBhLemtfr2hNQY|C-6=d)C#OP*_@t=QzMX-_0EF*N-j1MXo=vtzV0hinshvO@q7j0Tx#=qL1JAI zE4$8WX`4RnYqaJIK^;zh*dfy5cv%u`oPmZoHLT$+bvfQ^)Da_)f!6iIlEpM5y%}%nrDIsV|J3)uwZ%ECo>u&KD_7DCIY>r z9Go~1qKEIR{@_`y%IeOU&4-Qf97)1f=Jfa{+FMP#ry z*kvgAl}6gS$Q>xeTjkZO6uoI2m+qd{3IS#Fk;o3VzSmuZiGc*x*hB@NsY)9iUH@sb zyrr#89N$`8r1!=rAbFOMzjy(ae)52-K)mv`d79Ycnh=TGE#$4ZOR3XGJW7_h*G$#l z*qAKtL{D6Sm`3VZnO3?ocDybIqWB)_fy(3lOV~|JBJ5ng*f}#TMKzcf|D8v&M zh~cs%bw52XdxZ_3!X?L9&$pOU#1tOthODphiX8>h|DHWQE(vnIzCsI00FDoEY18}h zp^DckEqr8%O9M@j1XpyQ0>c&NTYDAj%41d7Sec=@FAfiF}@?pdvg^6u_Idk{GCS)IEOji zY;>IlNG$8CbP-2Nd3lBKcJ{}tB^J`j02It4Ee*$2*(=(`&C+*2oCo^6!%$sB$%i#& zRHxt4Q{1E0uPJD>dCewoRP+9SruBd?27ewD$5+oZ)Pi;UJyL-9X+0`63ZsaYC`F4! z_kcpAXo)3xWA3<&EBf7B%(!RDJ6MQv%N#-Gl_pvk#7=JurkVL@KRwA`hFglEil1K; zV({5&m|T{(L^J@+$vIPT7=92`axgC03r;$Ye58VkAczfoVPy&|&Jt7nv6e+=B}-2Q zm?-;Our)kqNUeWxa1mgP76Nq=VDJ1L@wOjm!E&r$GVj_znQi7ZGmeiFs#f*G` zK81%&Px%9|22vlNrDI8`|8#{zsG-D4GTrD?ruSNB2#hJUb}yPKK;At1%2b3(A-Xu{ zVTH~iBb=1+GqZP@>EVPd$<-4Y?vriF20e-Ejp&+_FBH!@Akp900>b`0cm0rG$*Pi2 z`4C)FXDyiLm9N~o`Ly-OAxH2j#r3$awb^;mfcH2TIdcJ4_KO3Rm(2`=wJTm%`LmGJ zu(BA8i2osKO4qOT#Y^tTU~LUsO&QqHv}0ZGwaRh^)k$=(LsUmX7*95q9Niu7)AJV@ z6nIut7!>+>d7{2kcr4#yxRr4_|0s6`jc^wASdUEar|734r4e^Z0NM!-@sY{OZIL9E zpg|STgu*RPb%jI&!^xHhHO*dHGW;Au(Y3{Z`@=~&B<4e;Uh%tlP775yC%Yku}aL7js*XqtAJEVYDcPmUb?zfR-J>L!k4@7r-V~ zRH(?w1sC|a*&6dxjUd0Q^JvShk%^~{qMn>i5M4e9)iewRW*N|Cu}wb!83LkdMm#4o ze91T#Ew&%#jr2-dBMo?jS}}TbNi3hf(&QBPq-tnD;xltR^#0j5n^?2jJJ;Lx4YA{b zR#Vq|$)4OY%dQ`Lx0`kQQPh+DXq;kpo|MILuoZvmsFUihyVtHDt+FQ_kmCCn z<*Gw5PL9ysfvHq6r>i455&fMTWKnBAQ~8@L1|*Gkn%e};Q*A#;dkiy_Xhxj^jNBS^ z@J!8xx43pULD~X8tO}(V{USfXeawtP&~92VQ42$6uhvdX!Md2Sh8*11-#~>!Bfgp= zbKL=q>|l0WN%nF&wWUyL;}m;pq=~~vhhRM^@`5a25p?X0HO#$e9|bH|e=%eMtraMV z2WHB(me(l+*U+Kyt~w*J+%3`rkFG3xl~4G#l<-Q2qq0P`Xu?%3h5_c}B~SmE*CfPH zdQ+b5qfJBcfz`!%Z%cq0T;pRBa9JS6gj2jlAH98pz&o4%d2eJO-s)XGDa^A7C^yz@ zA9Y%+W@g>fZwhCUS=o)gyMll7?lcPgk-@$bT-XeZaC~-WcGh0VCVW(r3wY#n`j``+ zzlf{ASo;`Zxb(NexIuQ4w!v4=L06}+L)9DwNC%Vk906#9zgArchAS}<_FDkq>Sb$; zWH~GqMTlnT0KFfX@=V)sak$=EISFIh*(i-Mq#VN$sbma{6F+&wapUYG-D|{Qd8^}R~z^8nc6Xtuxu}y@_dEV|7K-(Cun8vi%Sz@Oc=}Qd-WC4{5be4 ziQ+{0^2TzH`kjM|c7=@VuLT0~57&sh+=;uTL0M%|$V7gML&C0PR@0m081ZdYbiaF< z@;RccO!b{3g&#y#Lu@Z-A{wh?sN|V;d}4@(N6@xPhWcY&3Nk|< z>8;|~VzI#3`yKu*v}dZuKfC*2uYB@>+=wp+RLu@OP{V;)lWDCP0&|gbVEGn)CHjaXj)KYLta7bSv2cn z5HIUe`8lvyUp{`&L9I{bI;ofS09*13MBw0t6Q_~B79Ba}NHGSW(v;h%eo|Y`divVF zvLu`Tl)0HQk%w4M85<1#=i$+B20u9nSS|=4mb#gQ{qcq*se50-^poDyCZ;f*?K5*4 z6ew%TcnLL#pm??H{KfJ@C&lN~g2C+|MsB&}Veyznx2Tc9>0bDwr4{@~{ojR|Qu4s6 zEKqgVcw|COsv>#KeQID0j**lE=da4`=r4wtW@h29Q1mMuN`aFqkB-@kS!gxMai{~0XRv6V{wPoMZ*8A9>F*sFsy-KHc3@Ne90)({_wtT3W; zn~cyI%}THHiiWGgRM%l$JKyq03G%l9>W_er_JP0nu@UOhzGDh9V&q?^M{jKAn~)um zJb_|@iRx%$rr8rPb{2`4Ju@X?GwF}qKs})Q;#d1(UN5qzz=nllHR%|gXjAU`@eE9( zM)q_ip&>(P{_EIdugVfL045vf&!}XsHtd=QO+-$49QZ+sLu1KAwI1Vb2R7IbLe8|G)Thf{Y^Ee!K^xN zDDjBEzrQ};09zocS3im!dp6**?Mnmvm&L1?Sawmz#SG&798tpcxQIY5lr^b56G~Cr zMgPCghIqMg3J?@fA5gLU0GiAJZS;l&BS8|B)GDHCD$Ejn0=^+TM{i6q{Q+w^n9t>1TfHq)Nh`P z2fJvLO`rg*R-R-GC&85JmUxeD>xmDxKw#>4brrG|Z)rz${IQ!0xFniS+ttV+giaw! zHlN7!dnxWMO=;?RmlZ%#OKd{4b~Mwjezss~5x{sa>oR@alGU{?4;npSwcWLx%m*6j z83xv;q$GOe_xv5bWfS*Bp#M0KGfgruCIDmHl`0RV7)pi;$xZjlj|Dm&(<5VMRTL;7 zAGjB?iQqEF9N(JDzEh%TJ6^|9vLi4A5{ zx~AoPV0}th04RA)G(%p^e;X=Ay1guXx-+wx@Hj~NSMVbg_kVMZ1?XdgA1+uJCCM^B zOsuC4AAg0!sm%u&?aCphaDPl^*p&K1q$=~i;+Em6+L8^AE zc6tfvsR{NsI~7x2*?(f!2$kNry>(*9W9rE&U>ty@ShK`BxJ=F7+1408J7yG;I_Lbq zwhd_Hx*4<&W-3I<#Af`V6K(AiNE-g{Eh<@wil{I#ud#z6^c^Qi9F$Nu-4jYd ztT4_23O6M6{qeM8@3OF`UYn%RXi1POJFB4C?14q+r#bMVYsCnrsaU%`zo#7ivmnLn z^@s;%(*PX1qUwecLfozfPT{#xlI=wjeO`Ue;>U?vYVB9d0o>EaP~(OnV3HlY{%t+W zf8%y?iq8}~U(K?62gg>_Y>X7UFU(=d#!QS3jo9`?(&pG6*uN@sG}9hO26_Mu%-bz< z)0QD#xb#EqeiA4^bdIiqJ?rTKnsSUp?E*54+Xm|4-QQ*R-()OZQo=|Rj>J>o>N$Nh z$vuj#Brgv;_B_s(5^I*Q`K$`t;RWFp{)u85BX%-xtxAB|N|KT*sM5l~1wEp8-4PVa zuDHF;Is7D2o5+jM#umx zu4|9zj@U`E(_An`wPn4}#l(zTG?Z+tRj1)xyJ|K7f6|2oUP4dR6l(TPM#)$rdh=1! z=-?oWfq{W$y?51M)RdZt=nVG)p&skd%orC02tXnT0jACXi`n>r?kqB z05~h@;bT(S2TWNykS%<1{jZjRlp#mBZ=obrL_meKFTiMIi&>il$NUMzKkklFxSmn8 z>3}M3N0p!;_9nyA&lCJvm0bmM;cTatAu**b{OW3wR*bM{0-;>T72d8hd0^mv6*}lw z_qu%~uI3wIhxsuY{m^1(wmb0`q}pa}6yd|gSt{|QV+zBnn-rH{&6QVNoCvg9dBwKL zCzar1r{sp2d-=|04h$|c=u8BzvfrrR0v+?V|B4hz%;3jihMkpD4ErJ9fE+2#O!r;g zLlVrsmI}znkQA<-@MQ!dGxMUQ(}gz-&8e%%g1Cv(rQn0oN7tI`{*1R}jF_;kNUPDq zC#k$rpHP`kOH_dznJ`AsAniJD*s-SK!3@KlAih&ucfft;UiGaOnvKZ>0Z(Ue@)a`= zdpSDbHo4+arj-t>np?`jck7#?0B>0eYQ6b~8L!$mVt{x4UrbN=Om2|L9j7}Vftt|4 z)fU>2>Aty{+lVk+c_~I2$}#c)#be^%>i~ecfjKeWBHYR*f$2MQu-Lh=XYD%_1F#9T zm~|vnMS`|Sbqe1urAOD9L;xj`N?b=u0F3DKe)mL^lw#CWNo@csR z(6SctkRB@cX`#HSy4UM(Hzp+kF58lwP#PzGuHu&6k1^Izg)b$ncG0WN2 zW<0{2(C1K~_If?qvW!8`YgLo;=Fk1-v*DJ?vbd+Xs~{GdPXHQ2kW2w-ncdN#UV z7n+3ouXo^WafR$;Q?Pg z->`AP6wBfHEBZw0s94;r;@3da0A#NPq^ge51if+yh?Og);oh4ip*3~X0qCqmdEN;9 z@4_=8fen1NY2bn|ZhqrJ~h9G80LEstlEz(arHqrRVxRMi*j!vGZe z6_D;W<`p{y(3lCBKcI~f@CqjVx)fx59koDF{<;w618x-P;c9TF^Uvzjv%eqGAp=&3Zn(Y3)WZi)wuXPHNh9p%!}&&Z-EMU zsXs56!L5vWU5vllMcr4wlyEA@O=>-^6#A~l8;Z+nvRY7afVZj$8tT!Hbf2&lbjNwH zJq&SO*K+@o^8mSUy0FA!p8|50c-p3IAUHk1;T)Z|k&h>u=#tD${sEYx?$a(Rgh!Dc zi7+9?B{W6Y<^hT__upc6cCOaQIn;GqTZ1`4i@8)hiUPRTrKkoP zlU3n7hF0oeQ}T)~!(>9TbjfLGXbjxoQZsFlRHZ{`lYhiW{RlY;nu=$O(Z@+Z_b`qS zW>}dOo^<%&h$G6SvQyshb zs-xDO8j`;5U&lW-!`A=y;EU({{M~>1jKr>);3eubrQuS({vdY;&B>eI|0?}-<P~`udbm7GdFFL*N*OA(#1Sc8@2m0 zVJ5msm#py!wU3-h47dxC50t15PAQYF=Em4ya?qz8AnhI~83vqC2;Lw^?=6&9ay$8q zCZ2_MC+1wGAeaB77L4(&+^j$7-d~QmKgN0bpsy@&4iy4pIQz50@|g96;itZC?b4YZ z^wN64tYt*t6?Bv}8yc zeq}}YEgq$0w*84|%*MZcTtkWLpbV*LpKyGvJN6^=@2zF1KB5$tV?3cmnSZ4B2rWNM zSqSD6`&3~egu;cAG;NUw&J@!iQ!KS@pCK+^X|`X(W8^M6h!C8R>r5>9qO~i@5(RuMJ)1Lh76bfe zY+c$4@lZ!pk=tSt$L(TLt1M@iE_zas2M7J8=7;{X^RE{dA zA~{arr}@y9_INp@{gm|vs@UtxgZWCGHZ!B6mYV@(dwY>RMmPHT-)%pM&y7mEIv>pS zoopFanP->zefyyxVmy$u-3`|2JBYRfLNzR>Bj{J?5F9Joo!PLU{OQB??KC~{Eql6E z@8{mektAKxfHeAK8=!~SeG`RnYAK~50JxQ3VvMB*D|Ayw59wT^P7_yy8(BU&->U1w zF~)2f=VBmoij!Sv@s^2HhWrdCLZCh=S+}ulYq8cb9yLpWS2fS0GzM7Zwetqa;c}?Z zjhQzYzC$V!D9RQGGh!;)`&qvlasebxI;{T42~(UGY&cV6k5DuO-&uDE>BZRr2`>Ld@?VB?YU zx~i9AbBhJsuh=l>NYRrVwUqK9pakWZ(mdj7j)8OhWWVNXUfzS_VyX3;)VQr4^$tAK z6sV!^6?q3Yu&amsv#%TWTFL=ST>vtB!MCfjf>?>1Lc67Cb$KHxG{6LtEx{`<=kcgf zxYyEB@e?Nysxv~0EgMgkn4g2Z0kHEm>`=-_AxA}dh-=5U=3Qy5dBbsKJywas!>^Mh z{p&XzfPZELpmL&y9moU8)j)LdZWGyqey8L@((AAw@#}f z?pKM%BQg?n&}oe=``Zz58+)HTgqZ|ws(~vH95}yPr})&{i#TJ?r`EGkKl;Ndsce%a zd)>&T9^d&m+O#wB@wb>R@Vya%6OSqW5v2C)Z9e!LBG?{A zkJAR_ll)ulQlzY|?6D8qF3`HhEmQHu@dx^M#gs>SpJnhnykq3RB%6Y_fFj+O@7h5t zv=oiA6`K%Ff@Ia6p8WOv?e!-1NBh@DJA%K0&IFWq2XZ}?E6?yH&(VXUZT$iuwx@F& zZNxKu^ExCDh(+v1DNrz6ri)RLQf>1F0X=n}CD{`itf!zYG5Y!z2p`e{~?`=4ZU8NKjcCZ*dGB@Xd7FaeX6W1s8af9=GbzpsBjE*k(k8Ih3!qbZo#QUmxxF^o={p}U-yE-^_nBZ|nJbHJOcGN@_7{lh=^DR`rZgUHWbr8O2VFxbt?b@au9D!~*PK zS3m;dY^jna%5la=DVq1G7<$;q<^YIXaeabMD{>@!Py^n`>^M1afIj0I-PT0RM>^4A zjOltPXI@?D@IM|eiN;+g57|0y{mNcE&(fNK2Q+TCvA$dsh0nJZ1BVTks?|h$3Lp zW+5R?Zkt9emmHjM4N^}qo38cjFaO$g6egfMX!^7zVeLdMaZv-Ij>^x^Pkq0)inEwQ z>U2Whi;&ya6`za4)AYA+_g3bWVU{AFIq39GWjWV7@C4e_0$yfJrU*8NzOE14?!xa3 zb6}WZVcg4ZPR2AIsJBped!L13qQ+oX;xn_M4a=!U(6>PdTR~7{}K3O+)$r$S4TEkf1 zp+p*^x|gjD0`<`>UJ*>NZ?QWi|L7a|k8sHK`6`f*G=pCVUmQ!}f(CqcR-e?@G2a~B z?y%+5B`_jbo1JHc)AvncK%U;3)b>E)(cqtwXYg^+5&KZhw`aEJ#M?F>zs@@IddK2U`VgDm*X>+iFFLvrhIYXI|J(*egS^mIu~>l=2^l=r5W| z>?D%puhG(Af6pqP%N~Xv@DPOrO~!~nIfEY2yZV$563hp}^gy$OiTP&}Ss_?rH5P~5 z#NblDsTmi_;P-|exZ9xt3FY!R<|$S#tGc<4pj%6?S&X;9eelmHs2UJ$VH%TNX}qV{`ZE2ObL_1&{SYo9tou z(81cdgoFfg!RHVP2XF|K%5%|m9T68dV@O{Ga9aS!7Z}j%qEmGu15{sP?Q_7wm459t z-}uPvcykOZeI?I%jXM`KOu5e(JQQAx@!M$Q0iL00l(77I;)u%Cyw{279}J#QO77(Y zgFWxhPu>YO;6tK~uJ;o!Yzt!c7Y{Vr;Wt8>BG&^v{Gd@CrNPw}WoT;xZj>NdirDu`^eBDhaq^u|MGk>6c-@9HTbi zB~Zi?f&d*7N{kiFuuU75Qk}cuJ3cF-MT`uc4Om^ner@uo@=qp&pKy9C=5+d`ex?0v zC1Yo}%OJW*VBLovYR^H$DZzCvM4YgCvDns7?{)XsUix#&lHB4Cy)C_qczgE+N6oVmo8IUEWK*DIl0mQ0bvz;;%?{4 zFRQIFPz1NEk0rS1DdQ+B`0_y=eCQ|t5cAv1c-b9oc9`u4?tA`%wJtJlYx7P1i+9E~ zrM~q?=>+n+Xpl4J@aUl}A;pq z{Sw44Whpu9uS`f=a95$vFdR-&i%seR=x`IZg>fD>dS%6qDW0)x?6w8g<0?Nrj=-f% zl3k2BfE`2}I|NTZ8h`c9MoEAryCl2s$1CWJ2Z8%EM*?^M9MpJMfzWK6LLOTi00d|M z%Fkd>l|Yq=``m6O+S^+gDnUZojlD_Y{b5L6CG?%gP~qjb_uVZ-e8?56-3hniwa7m= zP|od>L>&K+{K@p*6_1wNrxe&7Z;`>}A)~m9&&6#QG!<>CRogT-2mf+vm}4&qhXHZ%hz$MM8F?(VzHC^@piHaJxLQ(_ktAs9lG$kr?}l?b-Wpz99?>T_Of_)YFfV+g<&0mOoU{NGNc1k4iz3 z(DM+bl%g=avi$@*7JfHsU9$Z7%0QLf3%6_(s$W|zmh-%y->4mIAcoB~k(6Z5ci&es zLb$Cw3TXLbvi^Kb(7pFvF>dhBgs5f_==6t!$@(*2xp$t2wp`DkeCh&xk$;yYQQQ#P zW?hT4rRi8c3Sx0y*fn3`<#T`poxT`KW(FEvRED2t0+!;61x%`ZAaRC(j z#`wqE`RM-}N3cJ)2;rKGcK6oS*0z{*nNTzlf8lY&3q>1ao0g(%13SsQ0Qp;(AcVH; zL#pZg7rK!tY6O5m?(b%rO9#LkVsnPA8@WS>hwNekeX@V{6or02Z9G;BG*9)~UL?x- z^m`iYJc8^ovY1mN5zlQt%lzl4FmT1-VkbuU*W zZ`QnIVjsvJ6UmL!@6+s3{rr9?r>$`yrbB99cl4SaUPa3P+4%#@fy|!F>WjN-#qYog z*EQr{C}=qII=ktEs*J_&;np| z0_(Ywqi|hRXFq)bGWKU>oS4H@&Inkm|GpyQ&{lU+e_RT49^D3lRX7e)lcf@ zgT&bmEsGT|^p7bl4}ZqDI0(QuO_=_}+|U6U>V@LhaX%cw1Y6F{xiE4^K-qNJxRcUN za9oVY>TJeP>D>74&T|3dWsum37Kq}a_6@Tq#MYxAzenE(1{ zU@t*uGC)FAIkw2o9_;Fc_?W$XoI=_9cV*ImoVRL`1js&+G}}^)6zWlM`Tz_}NmY+g z+Vlge%yCh2(a+9&D<+CRXerLH4bp9hdaA+`5D3so(4tb<^c^a`vc(F90*^84$7J=WFKceT-{y_d=f3)FiWCKoY#en^4YaO#!;QTVXxofg zUa4=_q9c10Ei7_7l%1!0gMKH@VuX(qu$Ob6O_Eqn)D-5PCpo7P|MoTH_=)XTASAW{ z_51*=2LEn{OO%@?EMb03Ss&XGuVc72&aq6QEv`m%kV#2z&F6las(HsHf1XGV9HGCt zwkVBr7xhH{DLkO!W`7HSRRI52wpK~-#6>n(6$A9RojjYLsNdJP_y6d6>#(TScYoLh zr4i|FrMsj%1VIpR2x+OI85(J%heioWrAruwRC356q|2dm=&s*lpL5>#yZ1ile=e?P z)^o3W-SLT4oRjb|@^G;}0P9%5#_)z%-D$PXp;`%P&sA+M36+nTma3{dPac*3cVwmj zk(nmL^{H9qJc6xkO?MWXLeOqaSNv5nbQ@d1NB#LdQL<-Tq1ycqTij04?FdLFiX61z zC{4gZ`!De2VcaTBcqLz_sQ#hOV7gd3m$t0;*)TKMF8hh-EYy9q8VC@Z521Z~yuH`w zwMm!BP`Tt)zQOh4tA=gfZMgNnkMto7Esn%&4S=e@>T^@9pqiAcuYJlSt50OPoicavFk}>-{c!Ih z)|iqIt24c6@9?fwWSnz~A;7DiCyw4NYe00({wnZnK<~+{xOZT*kE697shJG}2Qf<;buI64H^m-7-)tg$%MnN-U4H-DF^1*CUH&d=H- zPSQ*VG73-=&4@HZejr#TDnp!vMs)KGA3Hmh%x3d)ml-}HP`A4RE)ZU5%etK9kVlYwONJYge)+Xk430YLxWfD@{< z&RGDHAy6tQiI6}7JPc*xka^k4@TZ{fftIvr$IgUoUqpIXEP?*(c9MX@QKS)hvA+R_ z;=Gfqd-tsg!hd{mhUg>Bu{<3lw{Su>)@JV31w;WRuFxX8v6FZu)Brc?NR@0*ge7Pm zzWI22siJw#kiW2Yv30#FQiEB$>#rx23Ou1_@ERIZJ)ln=c=n`9FQSBgi2@|pTsNd6 ztpV(=EHJO6W>7|hCJ4@W9jiLlc}u7Lz;5*z)ghx>F@yi8O8}huhGo?!)W(NnCfF?M zb%ud+adlhEH!X}qfCm=w0CZm!2x1RWCN)8&8+xWvN|gL z!_h&&k^F`7TY~*)4nXhS^(4?TOE}iIi$W3~LJ9!-^!-=U;5+GT_PRC7{q_Qr`4RsJ zmPqz{&Z|tZTPEl~QyRCLIJtQQjyGvei!jPlpubbj(@p z%^P84DH7Y}SRye#^#TxvW-&N&ISRG`#E#za`u8FFTr7L8cV;9T%=iAD1wX{g2SQWY z9g~M(8hIOOwbA#bi3yeEh;yenz@I)|7i#zxeY=0(St;yJCV;fFLU2M2f3I!*6+xz0 zvdek?iOE6tc?`ye=x%MC#JK9dozB2rGT8U)^~ArnEj|59dM`7EA*>y z|8U_7MnNbMJBHrO=8K7W20Cw7BqC`9!ORs@7_a>zg*QdEu(qLPV4 zR(+Mz4wYoyzGX4j;+^Ev#)SZTyL1--W0;j~s@i2j#cRFH$P#{8-6laF4U7`%F1o&H zV5Hy2jr$Xv?EfJCR7G?vS@6Bzag%j zV(9%Z=REqv1^t^2)B&c0${epnL?h(aJ>7@f)oT@hqp}08V|ZH~oCZH={7zA~qZ0F& z{~4M*(DUQhylw403>b5P);@9HARD$z1(_Lg5S{#GTLxEXzPZ|Ia1Woqm^)c&#o}^3 zz;CIs9Y5C3Tx=74fCQ{LbvWz(+=IOw;cU5dJ_&y>akiAeX+~xQOTBHOJ6a0t$w>zO zoNxhX7UwiZuV4F0VI-L>)c7Fj^sm+ii;S9 zrPQrf@o&TW8_f?idNu=e!*tJQkXzI|O zqjGt;fivlMUg8f8n-oAyP820eB%*Qa)18chBAqr%VaFw1@cycXttwR->%(3r*m6cO{eaWN(^N3V+ZjF|I3#W z00<5wFSW`^VxVn(BJa&DsR!$Q@n~3Sx*`-N(2m}{P3?4*A(`9e;p=t$>o>3BtD1Vv zH=+vBG=aC;(K{K~l>2M*X27KbCClQ}i{blIv4v~-JU;BC81dGAFO~8LM3%C?R`7@J z>{itPiUzl$N|X-&$)0!-iT!h%iC~DKO-X>i6=6m?FFU2mn4_G;4{~@pmf&ZY>RopG}kFcWnWsR z{>9H3QhQDNh9g*+<0ffS%aE1pXmSktC0)O5c0-!h*UDcF9moifbNTu=DKI+o5?rK=P#AJ;*gB;@3UVRd#)* zqKv|ogKd)MGh&}3`APm9KC>2*FuwJy1Z1>_ogtA=<HG2{Hgp(3;AY3VLHV z1ax$Nmk9(g2+*Gf%1a(`0@%IuNCH*7G=)d2%n9L)^pSR9p~oo(glE-kPXJ-nqTN8f zKb$`d5(yL@tsiest?jmkhYQO(D0#El~MuvilNP_T<+7WXTGW^VI?! z#PG{Xm*+Y{06k-QyaTSLLoJx^n2E2K!pIxZ4flW!+N_W09dv64 zS+*1@e9)O^1((a*BhX`rBZ}e?i2`uz3+>4jtm>&^(!;vn@=FT(K8}L@{)0TEY7R}w1t3Y{oT1k`+~v|f+-92>zerLRDzRBot->sP_UI58 zq6`>15?~eWcE(Umzi|Tw1z%v?0Kq8U!LIvRM?^Inqv03#`T5E&>P@*PpQa%5z8B_8 z&XZb|9XLOMDgGNvjrBq=1$=8&)r(2Th8}Jo;?Ul``|e@D%Y^)Z93uwt1I5}u!ZJl( zwA4d6uZeE7e~ZD4JG43yL3hx4Pg!9f7`eMwAw;!hUBqfCw22dh?`D+Hj}A!NIhsnl z@sk);z2@MU6@QbqTAY_F3fMILrEBNGz!ibeS*eT4vw5TSW|}P`oTxSSBMzfc1;8Z8 zcvn!CJ~gsA3DY%?k{f`t!k6pf9$0(a7QVAm2jAW%mh#Ac$9tmsWK)rzCUS&99w;M*ShYp?CQ}9?78MG$q)^1TMnLlXBPP{VG^JPdsKN4AAVR#eNQRY3VauF$clJL*xs!c zZ;}_$cf+jLl8P<#b@d4Yi8-&h5osZ{oE*L) ztS%?W)@}$uoRQGv9spbZ{}HnSmRoz1@>8^4PKV;T1f7myB$&Dy2TIKGf|1QC4HJ_c zGWY6Rlo+C<8y(3?YHI~kI#4-%{G1bD(UW*T*0|Jf00@gA2o^bF&flH0gV1s^3Q1sG zDyl6U^Tm7S_H4gf!*BQ#z5THdMaQoyJIzF3#1A@umB!P7Lx=`WnzEb~@AyTwDgtHV z82UvgxKyN;DB?EpHvWg;7I4PLRwUN`Ye@SnL%Bz7P1%K+$5i@yknO1&=kxV%Cx0&}TGg@L@m^ZHD%i>gs;cIz|b4ayx;bng07@y$JkM8C#+liZ7k_jc-yuOa3s<8rzD( z*AjZ<>rSxF{?=U+*ab{Vllp?{X#MJ1Z8_2X{rzZ}9W={TfRno2FyvdcElDhtGqM+q z#dulxN3R_4ZOrKoz@}y>Ee(5Mk@;H*ZDC9`}$7UC-*eG$Z*|pwF^ExQBc=4RM#ow{8QxptG<}mo#3vx61C!a)}@0Z@oPPRMkCx z24U2hDF{04$9qj`XC{gj^%^AEd!7XZFrwGxc=Y$EZoQh*g*Bh`?kRqMlAT&d!t_e zC^fAh_tC-t)cL1;3thGK)|FJb%A*yj9tW`B823(s6aDMn40pSWlxC}ON-{pzQ0GYC z8u&sIKHR{VbRNw(BAMiQAhE)jp~h){%y0U-(zI9p#CS;#x<@3!GU2cU0escLADE9b zkle42Ly zDcWz#T(%GKS>#mMu7P3F>4n5dcE~}9@5+qS@o85euGycP$K4@z&vTT3*~(~jO6PZP zDZKVtfLnDdmGO_X=IN&SdJV;}e1cNT`lu1yZJ(9f&x>cc}O0-_D%cn*m%)>OP_ z{R#OtW=T;ZOXxgLB+`OuyWUWc*Q`D(G!)GOr2fVCSL zGukX&l$R+9qFpZ-9Ssxev1n;#Zy3#v3B*1iZjgIjn6q$W)Z%bm@>YUT>>^}W3;fE21%MK(3vGCKq&o3;D zE^GiTh_h&(j7l=N8|~<1N$*RpX!6maeB8BLXoum2+mJBr*AvV!$?7#2Dy5Ia9d)kDnVBipyrA zd^n77F(1}dz4$m_Tkz(Y@1#Y_k&>w%xjyW5t+v#OJ=xWrISICQ{!mE(+v}n)FWR>I z*+TSq!|^`iptFdk8FVr@R>I6-Wt+Wfz~cponROxv-+RLIs3 z#PfWmP9_z`%qDxeS`5HVM`P61hnvLYlrVFtRpHmA;ryCRRPB^0&luRWn{DBFwj=7K z9<#q^7`uz|qO7SGMY(9x)U5pUD7%HVbbJ9-hgolcfq-zxQlkm%lkkRTlL(iy3}7DL ze2scaCE>s64a(p8#rxd5Ol`%-Du!Rp&XG_6W?PmxORaRsGb+9pOcx%5s5w`SaEvna_|YE`87E|~)GAs(|LzN(kt6EUa_{fO@Pi2ZcoKns&zC6Z)2bc4 zm#63f$s3<>k+w)~ogyDjQO8}f$#Lru%bqB*1{ILYH|-j2)lDNl^VZ-`S|^2~${Bk+ z$~4Ypd7YGWX?^_G_J$j^uzBO-gg$XH&w0H0)wxKQk9};@-)ypK{X%+%UjzH?rMKb? zp1=dKogW*vB511&A?<+-@cJlZMJo_C@jKgLeX5zZvHNQ*^I!e+^;ZTbKwIs-@Tc49 zC;o4M4FJqX51W0Lpo#$HCzqS}4*>3>2561>iK{&c8WQWBo{^u0(w+MS#t|niH@>&D zz;tZ`=WeFIrt(;eC(S3~o?De&O8``LU7wh4Nkr!C)^f_t<8iraXT)lo_;or?j*Zu9@(9#YZ{HdhASmm7qIO(AfdmQZMblZ8sf<;uC zMdGy8?`*Yiu^~6zbyykfKYvsP>Hac*X_+PlDf8A?!ts=LMF3YJ?gzyjPc#mv%Y>;y|tgq zE3%5WT6cBcO49sCg3Vt1YIXUb+5xp#qz`P~!N&d#QL~VeC}RPmPQhq5@uahu?ue=u zpK=6!SIV+T8Kp+%YA11wz-BdP7j&`D>8Kp*YHQlrj;tuyO!axs7!fE!^S?Fdt^wE% zo4hm;6n1-Cn`5Oece!rKpG~&#QiI!R^0nAXdibqGV2_K%NWm-4uZsN?>L_7DpS=#} znBsbddbwS8_(;0HX$*M-GZ^{?&@0CTKn7_ z>-nwqS%To)JQl-fpIS>(mDU{P*3*%-<>{eGy28Vecr_m})&{@{$xYc!g301buQ?jI z(!=7noBzib+7Xmrze0X?NEX}EF2vj;5@~sBq5krG6t8YkP65|xfv<{di{wICY<$M7 zNN1rl`HjD85yidlp5vA*u3Ic!0joY)FZXBnGcMfb0Qzi?_xy#?$xBMmsR898pwkF3 zfI5w>x*Vh*T?&SRYL_Q?wLO8R&)f9&ibz5HktfMM-1^$|1JdIkZ=Rf1sfOstZUWbk zPpTu|Ec*F{xj#BV2fkkLC0&U=syW)ME@DzwkuS?_l52{miZZtC%n;nKBX9mn40qG9 zwG*FBY^SE$yV(QQ5kHYq0&2DR9*6g!Uss-QR`R@((lbU0+AUM|y}p3&u?`HAWU~NQ z2@pz?d2v#@HDJ0z)MEH#r`x?TieADTjsVjo&CGk82d?jg#xO%fRd zmJCSCDnH8kCGn=e=>px*;QPLg)QBWOxH1HEdUh99$f-bN?a)&x>pD3e>$Ajg^=JTB zS18O3OQ+v&*S_}GNjJYr_9!ybUc44N6nI1nW|04nwENf6+GlOBbyeyRUsCkP>tzKU zejRIb&76BQBj4SRH=QA*MaH4ieoi3FwHaLSZ8y_o+OIA!yU*j2{*+5DplG(IM};NI zJfjXnfHy#jmPnf21zA|IEHW$;TGZ&H$$e8CukO#9>ZkCUGvzm^zRSgK*58hnnJ@6D zpy7o>OH;*5Ui+y&YhLe^$zgcTn|CL6Nj(pfw0K~x79*Ygy@-CXZw7+9Aq9y(UOu_} zv72*YowYBNsrK$F&(ypoY{{VgG)|~>J)6kCGrCpV&-%V)*>(Eu3*;{>FS~ zSjO{5X+MXeC6022fNk>A3e#HMU>~#Ip%kiZ^idzjrLelWv9E)L9F->HW;;*x23$>% zm~j};X0RLfdj_|nV$871aj5<-pgpJ*&T$`r9b&DjG_U^0j5L+KGpx@i{{DX1ruZV|U6~jhMZwGb8Y=M#7goV8u^xe^v{hY`X8H(WF{~sO}(incI#deNdR;KWIG4Q*>0^9 zbh4cHKc}ZB_FYEtqi0#);C*@Fg8PMGn{6uJ;$38;zljVpMvli2!EE5kqIiOquXBxg zCPJx$hAj_u{C+;BPN@e8qDw=*RkBA)Sn#DTt|}kh9j%&O*j_sBRPZcoG{}6sawXw0 zL*!EnXWkD7LTeL=d+kk1bMWc6GgCjv!L#gM7;t20z zip8+U+q7H1scOjQ?L4cQs@y#HZ|_*75qQ%%fJ#I{-yB(5!-uj9N^Kso0PH7|+C~TZ zr#|+R>>1Qls4%;#uXQuV?=2lbhnTQ7%;;i$LcjYS(|=-*7pLO0 zRMQ|%v!{=wl;p~M_kVc6gyFR?W$7>Z;{ODMV`m?m|K5pGSd^fpPnZ!R?_Q#p(&5)v z42E|3kUqbAg#g7Q9&^=-S!0{(#=aEX8DZb9p3YF>p}MJbXhJ>+Sb z2D+jAH%q*8YhJM3xRY#!Iz%x+&eWMUakMPr%l7MKaTeB_h7X$Vc=cg-Y(9@MnrV=3 zf_qcWRaG{qixL1YSo6+lOW{gctx1xq^n>HnRo>i&(uw}0VAB&#`H zARL7y*dm1Kl@TPrka8fu#N=*0eHTx zxGQ@tEXJQI1yMR9=y(frWN`74Ge|KPt+ZZgL47#%PFw+pN3s(N+?yC{a?V^^A=oQvwQJTh}6KFZ_{D7l2t^ZoL694v&oBa}58R z_xguH@@0^hydjuXH+Br^I&$rZAA95k9PZxo;Sn4^SdO-zHqp|DNie9aB+T{ShqC$l zSV~|mYHMAoVNkaiin8yeo9RWpIDry_TL0a0RC32jW)b8~MfcHX4PoUu1RO%D;9*&{9LaEZDF&!zLMNN7EZk1OOAti@p zcP%u44fy$(z+|SzWqi0S^Y~M9QK}tn8!4U7uOr5)`bnS+uUeA?)@Ze|JI-0JmIQ#V zg@@X@lIa#c_Yave(<(h-Oj>$Gg|JnITXKSUQ4TzOf5z(R+4dReeyB->VKR=csyE<` z@-c>4pEAk`66F%)raPmD3ML>}tjskNOB2{+X5sS141O4CPWokB>$!;Ig=jb6v>Bac zv$dYDI?5BPl#@ai>`;!}S`JOjo~pI5Jh_5Gv$vBSSkioXdCkhn$~MwU(vdIr!)ZM| zm!N$V2e>bHrC|OY;Brif+7b!xn&}&TjQ))`+gp-iSs2QB7@~v}Io0Ji351tf;kVsXTc)`<+JRu zr{B$5)$|aH7;!r)Dd1~Kjas@@f&3dh0MIiP$6Ujt8SR40E^_zxnxO}U5p*r8p>wEX z{}M$3!Cw04zF0zqgpLndlB&uhkk4L>1ez!jvX||cY5Kc!57miSe68b)ndSH2mgu3( z=dAkUD1V-!ZLea}^}AlWqp*HCb6gtReW%O2^5rx`b!g%q z<&bICgb@!@MCO3@mk~iH%W*X!Y=WKb>WD_kSR&EKd#PAmL5ryr7-y8trA+!tMhsca zQ)x&=2b;``<%n*j*jr`ifA~55Zo_b`3dg)tMFMUBhV75cz_0V3d^vLsMa>PR82iDe z9g#u2Q7cjN>2#k`8j3#>5Kk>Y$qq7<-LKZl#B&g|e-PMYip^qZ%|6?y z@jWHHxzMpk!00C-4XfT;fdLB0k*H(#uB0fdf+D}5Batthy~U^rn5lhttTGv*u~D)s z{Z_vzxZj{*O}UMF-rNw7u13BqmDzAvQF7Li2B3V<4 z&R?YP$k7wzIW2aHth1G~Lrmqu@WCLZq-rF46?<%>P{{frw?cC=moXasXJJ0!I8al+ zsV;b@bwRA+^hD|%)cD3Iai)aXlmslhUR|Q;*oW_!7q`7nZ8RX_Zf-k&HUP0q;graw zyH%(DPpJrCh9B!FrAP`DGY*N`axzh%em;M5ed6sGX-=d+psV3+a!97Y6`4+9mtfr} zs85-CYe~9aq@s%x#dr(-;=M6EXqaZbZb=i@$u}Y*U_lehvZOec|JgrxR<_U*9}e5n zEKN^KghmuRVaZ`v6qCz?DlTCY$mg+|lM>Wa@B=zeXmY4CtW=PqUaR4)R4WUR%lcmPOeUK< zg#lh}-5@I!i)B&ed^A+;z&C#C!ZOWo!Ig#Y2cYa#j!90&BM1EjgR+}DUtaFTQzj%9 z@)gvV&_O=ZMJim#Pu+<(luN~DmwQZi0MILfgtziOZ81+5JW1WA4+V5b1{)O^Cl&Na z4??a^sGLMkb`m%AN72=lTt4c?qkVpr*sX}>T_gBtKPBEV1BvnM7MTi>r+STKnrkG7 z=)b@8nz7$M#&Dkxa5e|2>XF`pOHM>#BUlxj8AfZ*`+3 z3mgacOuQLb!Fuw_0+Jh59z^qtDKB)3VxW{ouY6fjsZM5wqUD9XS0}XqA_ybFV_VYs zSwE*P@p`duw3gI$CF#bO{W{y!1fZ7h~nePz`D4l z1lE>bHN=>L;^iN0sLyLXUq2KN_{fo{y|Obrdi0ou*SzWU6(14y!dgh!Dxl%TM@1&` zr}cii)Y;Zdk5Fl1)uhF+Xzr+vJcB8qP}SxBoSmlKSSZ@QigN^?y(+nH(f4~qL4^db zV!@CuMKveVMJ%)e>9g91*IR9$=K>x#C_J?Z`Aze7p5c>3gHnx1V2|yW})S(U-q(Cv0VW~H! zD{Ji1FR%|7b#={(JlZp#NHMMA=%!!fh!M9f(bl1JAc1du2=3IKW{_`GsBJu@i@?+~ z^v+N_-FaN*f|J0I@origtBk?(5G_+yvK59*>6h;M^5)o@ zOXAi@MFIYUI9X}}siHjHa-;3Jpk=6RZOC`e^~1E+UKVeTzQ9Eo-jrnxD-!A_yLoU) zO60_HwDZmJ2}P17**}oL=)Ksmy}71*$`wJ`R>2zBK`j2S#phka*z9{=dZg+p#f!d@T@0$G(ri%>^| zmpJst_qZk9x&W3b@*Y5C{ZEoA?wn7wUIv72?2YzQ$2{9)sEuL(axdkVUvdQOwQIm2 z;qRY%thHOecHg8QDdNd2#iYrKMkDZLfc)Y(*=lgMm~QUND+^$XW4zJD-I;d zCZP{p8bxBy(3dAlmMMaTL@|;fJAntWt4a*>1Q!8YmBw55hr_t{>vM8A@jIyQ?}>tJ zY-1BvR+_v-qX&rz)6D&S-78Ul9^I}Djy)V8V!aiNUg3ramJwe&>8(~7(op;0umKbC zV~4&}9&!Dl3c1y{;$f8&Ibr{-+t|NuLLH>OO%XmmOnc5nd=0hU653aay>(Qp(4b{9 za|6)lJr79?Xy>oc5bxwwC_71-VsOGq_=Yf_LG3gBC0x$Mv8YYrqR>YyB1-tXAcYCU zFb|c9Yyo08dLGiKU84)PRwB>QgZ)sqffOgsRGlW3`*bvYGaj=dX=>d4o@6mYY!1*qTGHcgDNS&b zI*N8?0J|BAZ9>1f_NX^=kQR^==`$8?QH&sm*e3!E&2(00_A3YqYn8Waj>f9_euQzd zOYAs1$+h39)!lAW$vEw-*^-iU_Co&AQJetwYmNz+c)B)y(^f2!lRoy@PGQ{sm@~_l zbT-X<2rJ9avBs#0c+f1iN#z5h3$>i`dsaRQ)RT}}9zDAs|8=wfY_Ncr7xl>1FTscz zALp3N^RR7`mK5`DtI{`O#;2!Le<>cq@DDQ#^iteTjV6=*eK0Z*s6CjntZt^%H^TtzSeEeh+;PMrN{b%7PD_6^& zS*{SBj8gTcBX=E$aWIRI(d)7`6Y-rC=}mAI_%t4?EENSKa@y1nr0=BBC2|VEzmP5C zG)?mf)eaWnyddm#v?bRKs`TfUWc-=S`G5yg_i(V5heCYOrY*~LvrMcztjo}6VixY? zM$o$lw4{PYZT60>kHGtf-TLJl??q&CKO&VkcE2?}ypql!e;GC|J@M9Gf$(N?dXN>C z!8Hupdaw5*Uj=NU$Dh;l74);>0~XF~j5-cg0B*Ks*$b7^pDqt@9|sW%whvZPfmIiK z7{nU}-bT?)MFS1%uC}LxxT^mYp}t>f>~H_tk!fC2h%un1c7QLZP)O1?Uo&qu;4p*#pbu{N zS)VR{D32%?v~l=UPJhqf`Q?Ug3;A`*M^;@zo)|*v#qEf%u!&z4A5@cOS}Q)tB}v0R znhX(>*HaOPa%NdYmA~jj5uhGQ_Cycft-vwra)y6qz55W!G=s2OJ$FfR;trPg!SafX zbnI2twG&eA-BBk58%eOgM&t9}ideC-SloQ-_3%ktlzdoa5l>n4h zqo+r>4NJb2+nD&y2zG4SHwqH9Em+_g6HAoWq25x2W_e1}4#VE9UCLEU&eU~<42hoTOo^$|S~~%uEv~kick>q|#nHkurL|L&&CMmR zkttRFn4#wfp>=_JhtcK_WXbOD5!-R;f+}&qB4&-d@?=!_%PRDpkIcR~IHd&4nPRl% zaOgN=wdD}-u3_pl;YSg(H2$svW9kyTKP|MF#aCCWBZR&i!=VfA%M=%bmr!gh8%T$@ zDvQ;WPz1sO#M`?uW7NjT?MCz@m*$EUlf}+QonSt&(|Ac3kcOCL0zlqlzp@@BZga=( zPCe5#AZUFe!xT)j*ZGXgP*ERc9&#rR`1dG^j@LH&D&E&V8oJ(j#LZ1nl1N~o+Qcd8^NRuQ9_+$H)b=t zA@rA};KUH$=q!%bRHZX|_BO!@3=h9wIwW(M~DUBVakXbL35Kb75*d#`sA%#Wee*1HDX?e@&tiVax;5VfI z^+B`+Pz0!-Ugo|WZ}s`b+o!rmY+!$@=G*4}1zc~f7lV{D?c)~2j5h0v!MOp{{C02` zLxq?N_d%cLOuvCWRM|{25trK`UfUe;pdKKh1Y?WNWgp8-3>~cWt8#9JS^}EG#GD4H z2EZL)F22yT(H9D4qx36dOmUNKN@qLmQe&jJxQ5vfI>_bjO;;SaSJQFKdy@psqg^S*umSoX$tI$o`qghk72q_!zvt`p}ULY zxAy?bg4Iws^zUQ{;bVN(mR#Maqu)_A}C>kJrrStJd zwpTSXYq2rz^AbDLba{(>VWeD`X5lxLvH9$j#izm_IsH+?A!v*PzdtdjvjpJrXASlK zmj{ydu$Db{*cpuwWLmPmN$k({{TaN1tDlB`i_7T7g8`TMjQ!c&X!qbBLqaj`#oJBq zKJgK_m(NQunf7%Fmouc$b;R6tX>j3{Niwpy4ySx zBy|e-3GbkYF98H8#dVjCywBWIdzDe0w}-@HZoQz0V9&raAdYd4ra+9a!~m0_@E1Yg zyAHC`tsr@K*Ne9VVBdvViL#0JEp&ZZPesZ{EQ zS!rIqK}E9akz7elbX^BIb`br-3!p(!!6IxUZNP2*liV}7ih~`c^CK+~FIEbRUtx|7 zB1hg4&JFtBIzHa-8XqDxCCZphqa3HnvcAYQogcfTIlP1g0{H;=*@18^_vXK4L&b7z zLkVQKR8aAoy84i-@Ns-OeCi>G2Xaa>xwv9iCSQX)LXaG;B(uKI>Gi{mnVXBO8xlV( zry765{?V~g_z_ZXKHAU6weDFoo7vv#7XA$WMwy|PJ*F;&kL!KdMTl)Z-t`qZc$;G! zSMpU5($BQdJgWTiC<)!FPf`yE2Qm3r?p|Hb*I(0I-yl?JoWi)oW@gbhbfl*9e|ikD zCAvGj?I1p`65wsAGz`1MA=f)%l;?+$m#UN51c*CEd8D z-&*I&`w4QSpxQ)Dk7EXZ$1)+fSrloW35yIQWn<-XqP^z4DD#T&(54avkd>lN4fo@709F9JJ(Ju}` z@_>)$`e%Y#{0DvaD!J+U|d(F(`!l5tv46fp7RC8A*c7SIt~5xm6~Vb$!&eG zrOM7_PG2&X;V#;6fiub>-ClI0CTzR*jY!jES!#ZVT^CAl6%33{Cqt@9kL^~ z?+ZTkRtTGJJFWIU&ED$2@jKWR3&)hMdlL3B=zYkYA9I|WaLul0=iKC2NB`>nM<(!Q zi^#8Gpn6PW;R2_J+r_r!X!Q9XZrIiD&!FuN6u4cL!Jz-z%_|7wo1E+)#M{BS;)7&rpP2 z{}4N}c5rZ8FD;Z)aybyV?DwL94CgU>otx(yy8i36*~YFzv*699o3_%EeP-tc`=eaS0UE9CfWwQ114WlpS5*8ed9^^ z)lmQ+mbKhf;^gf_k;@r=|*uRX^XaahRk2_PTZGNb@2Cye-xO#c&b1uEw;<_ z#OHWmBXuVStOy$%I>?7RI^D2}%=rU0SW?)EH{K{3=}U*&Z> z46?U4eM&Ki8AfxS;_qrK-n63rvT&t&3nq)%nk07?kGUaJG3C?SKf5|FO78!nqiO4? zXBUOqTlLk)bRZRb98o6|>Cn7z5H3?Z-CsC8f|=s7()aj)Ad5$S@|5`ka8RTk>l#%H z7Mu~CKNR~?FNE~0p8hZr?M#Qe7;z3h+Tv)eqDBT_qb6qJ z7vpK518f@jB8$22M=V3%iW`U*h?a*9{pI^6oZ6|MhJR$27~cNaS?Efh`1A7FbD6b+?92J;!Ga3s8ihL0Ijmw0)45I>Nr^ELRy z7XJmo6SD}g#-dvyldkVxn*1dtQp4{e0TAuHGT2GjgpXz#^*4FLAYn8;3Qgn&no+lP zy}jK0E{PtuI>@e4zD}OYpN7ILm?s&@ZaVwIKRRD>@PF@V0xZ|+OrQA=lszrMrZOIs z(vu#%h^2zK-oVZ`P{;dS;~?bKSHZsRL-c2muNe(~EX7LbtUzC>=fG!h?_#a%&e?>w z%o^Fj7!No>T*wKOULOM5OtFQd_`(`Y@Nir}21j66PVKuo8O*DE!5QBxnj5|uzvfHb zlrZj4HftKOLo;xxM(MKPlt(VUu^FW>rpHD3Vs>Hnvzt@HV3vSjdL7tk5mfZlMk?UjxY5=J0ilDbEvwkoj>a22hSi{_73Hv zv&wBT5E{ROi&=H!8Sw|&4~ljS_NidUxuu0D^a8wHg+U8_zX15#% zLNQmLeerXS22-L?Hpjpu%AXhmd88vZ1CA*dq!%_7x8rK@e2gk@{d15{F;f%Zz4K|u zZ4(VEo8GO$q0m*qlQ{k3D4_ijuY23_t_ktxnj@=ZSP)yq`3C(pA(mg+H(elVfX@Wb zG|}FnCo)yrB_(@c-_fPQ7<&t$GocFYAl4>x#UdrP&(5BfmUX}@i$e7f-|HXSEZ;FA z2a?oH^Jnjih0hd~9;u+sw9(n{F2y<%3H%rjr#cF_PoDqFzEVMdfs>Pjo4E{$D_0@g z^^%ewmb+ft>Hd%!DAr7c$psvh>j0@KokQ2o*w~%+%_W2E$;vp(j%sUUe%5=fjDjcL zw9R}sj&W{-QJ_P2L|^(G69izxa@>^Kt%#ij@U!kF@vzoMguiFirKrS)l{=-=(VBWc zjy~;MI04@nt<8VlF&K%4gQKQVPsM`Yhy6(b{+KNq-zX(6eD&10l`hcK$BlrF%03@9 z0Tc@sv|;j;y~1Ot#~x9YzcK=!vAqrM`XJW%M6#@Whu8HHY2{-HGZp{g@gZ}*BK{NTyn&Ie5;`o7P~98jXk8VTZ6 zjzu^#k#zT**u%T$CLVP;H%Y?o5;B(Zie&i?yU)y6nt+tJQ zfZixb^S|rAG8CCZu9d8%Zym)p>ocIE#KYEtL4#h2gU-2#v|xej3aeK@^yoKhyhs;J zIr<3yWFO5Fwvx?-#u;$H*L7`uKPS-gnwT95LMj*F5&&sJf5hE`k#)Z40zz%R=-CN8 z&0Do1MOq$ia=FuTSGB#*@x4b~Z{IH8_?!t61+KF9*aBy5NMaT}=cF23vLQqK+hrvl z)*d4(Bghko{=z8+A61{aZ*Qg08*qXb9q}S3<6O2T(~7MHeb!JANUq~&!RzpiI7&9^ zslw!SXgA}4Z7l)f+iOCuTLIur+Rh5mnRgS`$@CT{8;0~JOMmuU3UCma{Pd!( zJJ?6Es<^lIxR`{HGh_!pKA0dXT~u!CgJFnO+mI^@%pwrjhCV@4zhpY#1a3y*K?Y%z zS+A{wlitBlD79#7YXs#!Uch_u_|fA&LoqcEs51Fr>-ECM#L#F`jOeyH#1t$@jO|Ot zN;)M5FGjt6cDHZtIW~6I)0$I>Y1_Qzs@Uh^!V9PM4(EszR1;Ixx1l;Ro1;UpQk0?S zUilE}DxNBdsml*8UHRNPI2e>{m0Bla`JU;oUt z$EQZ33Q<>BDRY4?j*Y)FJr=y)8>g}9gXwvnZD9rm`K>LnMwwMp`2q(7mLVe6lhm?BlO)e;N-dC z^J5a+BTjPu*+!Wcl{co6(t{Ov-(|Wixx;#!fs>uZ%OM0gQH^&1WmXX|aP_lH?fgEL z1A+Ps;mch$&b&8)o1#3!F+bJ3hwVwKPx1)@-l6!xEh-pf0m07EjuOvBemP$vuEiY;KiHj zL#cdIiVI&(sN7X$|IDJcS5>Z7*kk<-a40!9t{eu8RGXnS#{(!+yvk=w7E0~Rc3O`K z9D6A6mYJPZ)@O%?JL_n;!O3cu#;G^LSTVPL#iwGmWIVpAb@`YP@7xf|$oLXtM0S8- z(VAJk8VUCOk>Dd(Yw!x~5M3o5!Av&qa^@K`*wu4yE;v0ZlnS*C7>B&o=ULpH$b>Zp zWvj$~2IO}Y*mt!P_<;8(jEL1zE}xk$pPjlWYg@xejJg|;=0D$6bLLn1`l=c+eI949 zquBsuJ(tEP(X5lWz*q7f&H`^=qy?XzHP=ty^$!y$s7Tu&=s|R_@Ny)?19BH)05M#6 z&wwytLc81197QATLU@3`fFk#PX@-4k>LTB9;3V5tXUk{a8b(?BFSm;roxWrXbhf0{ z$eWR!i81FWVF;Y%-8WW_>?>>f#%;n`_-)MG$YyOX7}%a{>L`~@_($i+>^yP!I;iCH@EMITrEqT zZiQhPc{$4;TUB_Z=o>1XwQMeT!#E8?*|m$ecW5!J-?Td8UWC8Rd#)TsfO6Se|Ia%W{oGSG2@<(Is&Sic?g!nSjLbC}Rnby8hgkI(AWEM{Fv~3XJ{!V*HHYzx^v{R7 z6ryM6R~Q%OK1mlEhoqs_a3`v`3+f82%G}gtHnG*l#8#=*NQ{hKeshl-f2UW1vCyo8XQ-kOoNT5*CvnRG)!{uT`ly`QqyO9y?dliwD3|M zr=!&l8oAlsW*4&u%77Mxia|maN`wmc_=(;IBHazIM86%CKC8eV06#hsWLmgYqS{SHd491Daq$eZi9-WL?J46PcOIWq6wBy?kA@;Mq zt6VTV*!fl(H82(`ntcqxy*vugbuM&?)m+yJp5p_}@f19wm?sbNt-1G7-|3Cc-#9?5 zt5f}4E?c^f?pH@-LCeJxT{}P{vZs!}42o?z2fZfX4{fJ+rO6aH4*5`a*$O zX7$>u=GyjB$Fd0QWZVz7YZct|JKmo@l6r!BL~1kgOn0S2Z~{cTzb;#U_b)OtlDBpN zSsxG6{&^4N$5zRz6fOF(Q`JdabCI7~E(qfGYj_D#ujK}<_RQ5B-mA3tV$s(CP&Ppo zoe6ZB*O4FQ8IN_2_UML_hOkyML&8=wai*Jq9Q%?wBOECv)U7mOSmK(K7Hc1loqyti zUzcgN?ZMk$hJ?xVpFJ-}o>yPC(5EKc*{fQS-OIb?j>gqw?OvK$1JLa)Wn zzC*L;rg{XQq76n?SXm`+h`COMFhZ>O2k=5AeiojwWQ0Ku#IJ@P`lE<(nM0+{=7CRn zt{2nbtD2XWaL%;_W~pF85p=<8P?*5}Mmxa`u+fpynxc!ZeRAv@>|LtWai<<9(U2pf zk?`Wvr8Q4);|+zN`qLxz{PB+Y9ry1mKM3*Z$sN`23F75s70+?!WoLv@zXt^Lx$^_y zIJJ6EGoXch_`&IWV;1_*CMi)4`*?1seWB3HfXrs{bU&4Ug9at_9p}*Mq-SKOYVY>! zJN!_iLlbioTd9VOuVC~7-Lwg$?m`6MWM9s+&St>CTWX?j^nk9%c!0OXxx23l_W*1X z1Q_(h847Q%#Sl#HWs9BiPK>-$o87yI!?A>U(swTTldTgUrBHEtulNEe~`n%MulRV zGx`+zJwEX<xC`8_|~wR>02vN zDre|Ko1u*3vKtO*ka*Qg`k!xqNR4-?l&eHcvZQU;Oyovv#a;pqA9x49V)U(gVcKA| zUo)uoz{EzGH+I;}>2VGYkW-<1e<3VR`PAqj*@bw2W?T;@D3n#UnB&oS3r|ZXN~D12 z`2M!cb9+C2&yivZm1zc)!vbeg%Tj$tEd^zn(*>81_^aRNB{tev_{gstnYD*ovw1n$ z0qPD|+=Ot!?>U5vDriaxjlGyWWKE}hBJ-?rMkf2gTu&y7Ef`w=npRg0pH`raWc-;_ z13&}NSU}ADnzb<#;Ng}Qw65C4*yZzVCbs_VN?v@0N@`*hs3RHS8J+`J)(SAG7Px3q=5epJN z70zNGMI&Az(h2M?y_1cI^?kovmg|sU{&g{Z07`{_eWYg+jz{4ZsC$?*zZ2R&YO#JW zO6^(KFAUoN3B3(dM+3V0&n48}(q`wuq4?3e^eg{#K3tLHX^7#Db1XkF9aD z#q9S#1KI{(``t`k_CMh%s|+!00`J>dt+VNw*$SCqauq)@SA#^av<6Ix3p~NED*Z!6 zN#UEe1qhFIFKTXE(DJQ&szZeX60-$rFaPui%KCEc{*{ORVMLTiF5UjD_=Zj;YT!zz zVlMt5&abxk510K`H&z)CO8cNU-_jWadl<^;8b36Tjwe|?{|l*>q6Q6{=VhXG{K7`) z(66CB^8;>?X+arevV-7X$jyEGaZXL0wxCMg#+pR1wfEzIia^2OEg;(8J=13K@08Ge zyW)1`+T{W)#|4;rW4Ob}qZ3tTsH`)4{z47=Q71Qt90DPsV6k@Rycp0s{8v*OAN&-& zU=ewy{8R7g-#z)Es^J5FFv6vA7gpKduf}i1iruYJXKGiO@esk6(=;pOyyuS=!0SzK zKH+Qocv#mIcuhxe0Amr@xS0>sEpJ*V^UzDmDtN=}*#rq-*d;qM zrMQ0YY2UHtm~n38Qv3H@*aL86Os^6pE|u|O?$tjBA3^w*HWyp@cPgkLRbkj4aYt8` zhE2qgvWYJSypp1lKsoF11wq)jxD$_D#j9u47p$3>pDx@r?F(y3V^w8`p!<0}As9(@fW5675Mi6L}?Yo#_#l1#eK2$>oGK(zlH3$lLi zN7zm%2I?$T_gSDU0qv34K}mW4%wwC-KDqmPWM3jv;vsZ2(@`mVPELaUUs-Xmm)q@i zZ1eoA&~VVnJ(e#eQYjrVzqNT@A@1?&y9dOD3KBrS%#XNW5`qwapB@;Pc;Z;Y04h!a z={{sLtw8}S{bu0We=fo7Jo&RUZwt?RveHX1-%Ed`lu=ai=Rc1#B__4O|9Sv4XWu{KjR8=^NC~7%WM)(xlb`2ev&?wrIcJ)`5ODwbHQE!NjwDJKA!T39 zBd8OTxj7OdTG#&(ni-gM^%6#DHkL-6*<@5BwG z20s1AoG7FMRKKYjVA7pP3u5O_8G$A9tC0hA4hUBua{qgmMDFHcEg$|*563YFooD~u z8vOHP(o~yq1BjdWBe?$ilDSO!UEl)5^gmV<#BO%hMKQqA?F2v|pB--s)WR1k-ujd- z_^|3t@XuS-0s@^E_|5#vNNC?#GI0=tG90|!?b&s32c&>?`d!E)f~BNzpF5fTZ&VU+ zp~XN&DJTk%RT6{M!%=@gbpPJ9RoSonp*bo$An@P2O(hPW`+N5G=ZZ+XmhD>jyC7f8^*gO%040GP`1WsBqWC=qq=@!bg!Pc^|GAlTU^ zJxNRknPIEqb_r%Y&f_`Az<$Qhi9r51TL$ocoxOofp6yUo0*I*rJ7FDI&U2jheo%wI z*Jd}kqzu5q0ZQ%&_FvHjhrpswQNng+RuqZ;NW(I;9J)+rfJCe$(Rk16Kc&MgF;(|D_T0 z{sC0|d;XT<0BQc_wSU9CQ-)joPY*{i;%)5jko!OTxxXpZ%Kyex85Vw365#rN6zTq* zfcw`DAmP8^0I2>)2jFL||M}jG?^sJLfmKNVDd-y=(&7963B z21mI7C=A${Q3_!X_zOddE#9j?S1^gckbRM4}yigVDMpyUKTThbN{5fnha z3@!W7#Hj69$K^tCDd)Nq|CLLi)ZR;O-=l%E^m)0YizS&>f(PvvkSBS8=Bp^ z@wf5WpG4CA2z^}Lf7%KCx!(eyhn)O3B?G3q8S+0}OM#)Uj7r<67~}@I!H)ivdpEKayMX~gMVc&j?tg9=(s_Xx5 zv^M!?OZ?ARpCa*p0#^U0$rvSC>-;ySx?TOBHWW%`!T-OT$i)3k$xx&^@V`4%{-1ID zOM%TEpPm1ByE-lypq#+RTB73z>2arZKKzK1 z1-4Ia0BkI#DP~G3Nw_VJ6}^_Uq;PBy9ni=xa|xcqQd*+{^4qJh(^Nm+@^IB_qk-;e zeIkYV$a+M=dL&NJxb92*)3n$ zl&l^TNqH^d#=rC%l=20I`vPd&8y#frrDs68Ex1EH?X-^hWUtx%r^79U0`d4gL;de3 z`hOlsHf8=BQ^ov!PU6p}ifjIFm~!Udw5>l)Nhmpj%lxnY{$B%c4hbj|H4R?`t$Wsu zfPa~rSzhr`oz_1pATf9cFKzfQ0bd;G6&r7Q-NF9g#)qUj{F6W4hvKYSemr5)9;y)U zy|Q|7jS1$;<{WV@jgAk06xDvuiTGX8M*xoaljXWn-N|Z)qgU`^2mf^RkpmG&9Mipf zilI0D$i4lL#7+vrB6cg3_QDUUsq^kl4t7>j{o8PbX!%r0jRb+9B!QqK0ny-9 zxJa`*AbMyv7)3|IZxC9g4=F=OnidZbqjJ~p4TQy#GGnKz(DL{hnf6OcdY z9pLq0RNl`9d3?gTRFH!{-w$Pdq&jIolu1c!SqW?yVe>67TLXcKW(4=TCpN#-p@~7y zcwCk^CY?7@3VT~Rd+}9c!PFZdPCL#cP{u0aeII2=)`?3EgtY>8%DunbwV3?+ekQZ1 zweXvNrb|A9=5i(DkXXm%S*Luv4kH`?t1}CygKwblcia3`DHDEr+Y4~+CvYZecM$|j zxI;C1`+XX6F8Y|9=ORDM`Ne%XmduNp`Z>q3sSfO{JM%vP2`Q|aaJUT#yW?t8|NPXL ziw?)mS64u_9n1p4`wsL^P;Sqt4XHj(nHc1>5A+%38=u2f*;gpvC?Dilg3f25wya)I z<^ii%q%*k95dqX~a$&TwI$T3UKf6MHZP0rtD{oNT(-MNBil&wTztk97_j{_u&T6Nn z01oGzp_H&R<>oJ~kyP+qhgv#ZDw0~`WK*W zKB{|Far-Nj);9=Q{z}%THqReTClStN2M*@&^G1i5co6e#g9kelmk`WOtI6!g87<(%cxD#F`=MWOE1g>{`>T0*RNQI# zSyE~MRQ&BV{mp6~@}PuAFK6T zQE%FF80Q%epL5_Z+!y;pWUOeph;OpXd&XrBnq)D;*61ZbNOAA=VL7ce5*o`=NN*oPa ztr*(&nRSAgK-KZ56#)_QC^EtY^mkwkKHc{%#|JX7nA^^?XKiitl+zOilWDW*3QhrI zZ2;!U+e{ms4OwDQ+dOdeXoBlyf2wtG2+qOqdH!f%Lvt12cVBs2%Xr^~E3vS89jz#o z3#K|eyZL=JV2(Yjp2vCI>pJiZ<#Py?E3ry!th?#2K?a`JDy91N+&d2(!q)@9N+rPI z4r=tbxU<2S#Rpnt?%lTd>8TjM%KvmgS9n$Uglf^$VBL#(X|zYR533q91_7ri&K@p| z>>{pgk#M!3=k*bFKM;XMW@tGg21|U?H`6|DGKoIWktGl`Tf0FljKOzaj?c2LSP~3Ma(}O}b>@DXe~r3k z%uN3R5rbD7$IYrCtRmB5$%a4+94bu*CE=u&kU`n41HnHoN&In%pQ_{0ayzMEL3Ckg z%hCsrAf98uMntSi;REA-+pW!^1HFP&Ti~OYiR880K}uY#^KVn~-@@(RYA%m?Jm+Em z@$1j0`{5N+$HEX;I(~gXMEkD zGaI*qDnYSmqIuQIQw)gB{nV`N*1?_GWdwP?G@Ap|cIi4df!aGsAXRUntRpM?N;&wm zCv`&a^nR4STxZPe_F83v?vt7M5mZKeKnHW9z#~W_Nu#{#_*T%9up`!SZdt4Art9k- zm(4h&25+}#Y15LkT?1qW%s209$wx8-Q5zHJoLbw5u0tLpnFyW69OA9-vGWK?St z3?WV?Q;$pm&-_7GxAa!)cVx0D^qHp=B*LwW4Uy21g?jiLg*02VdO6yNo4pK+fwx>0 z^4_1~a&+ao%#0sDzH_nzFUwFYTuLux`*ZBIfqq2!G`06sB0@`U@Xl(!zo`R?-eW`) zHujEmi14u4 zX*Od9`Aj!j%wb+0wOqYXWrw8m%?F31MbKHXirKqpvpSItj5CYxR1lPDpNitWN_3Xg=o|VPfTBp~cJtaph zE($jsAZ+v~h_;q0ggd*|FH#{4a&2^qawMu1Pk4ByWF_Yq^L^y+^6czz&A1&CTpK)9 zTr#^PDD*XJzt@z>C_?T6>5`Lm+%w;rT6f_v^`q6H<9+U=^||%eR=7S*QubP!)j}Pz ztzs#xnXmkfuj(Mxh>C(3If@}9(COpul%G08RkF@K10?Q+(89^^9A@h$$;$8*mFcpw ziiVl4&gMbm%H!hYS1RZI#-~(AQU_o6cdjh#$DH&yAoO~+ps$fLet=v-y}4-c>6V)g z&g;{r6@$=9xa7zdt4V9a{OlB`+~UQzZ|;#qY8%MkAJu(*{V2Tc#u`Q9v#FL{G@GnL8sKKqm>)OI137BXkGO3e#6U3${iD*y)< zQosCh_xqnuzP&Ie+t0AS%VIsDFq|Q1(MfCbg`q1+7}mtUDciwkJY0Rd1j$+}5@Mn_ zDDASMV{nDjlp$>9buv!6ePN#t;#HFg_I`tv(+PzN#d62j1A}%h$GH8MExQOshg&5_ zmbC>RXw!M)?Dv$zMHCiOe6Xl;;Zx6;VQM423o`|n)^_Lec~Q(8G=JM^7aR~Y_4&v;yB9!3XX}j zIM2!n+}tl^duzw1tr@_}wuwN?Gs{+~sY$0Br#Xiurl3M#*@qfwr#6ZjF%GEU}ig9=Rxl7lWs!;#fg_L&kLumu>}Pm)`xg zN8?7$c%!13lxNF_Bo!ZR`Q0ilQ_n|L7rR{Ain9Ndwl8t3120|fp4d)aLAHjob)9e< znAFpMXG*tcas=&((6|79o)!yCbo&m6Y3kN$Des%EaGTSH9$_UPq%M}2e+};YX5orA zUiH4j(OGd*wfvg+TJeX#~}B(>4KjZ0yB*GI@UGOo&uz<|rNQETZcI z7MF)BN@gv#iS7<|yy+}ECh0KcWOTAoVx(r^%jTp*p#9YSvOzw0+{cxx`qtlSInOEx z9(Jva-ICfCk-yV_Yqo3|JA4cw!rVAwuZe7k_h}%g5PNd7 zCrkxLug4e3%C4Yh!)@jRH^eb_pECr{ZzxfHmgSS1_1unf$7igkdBBEd33{v_z0!W# zWNFFz%NL7Y+ynnw9~^O7>ltx}uYvYP)}l_)7Ga>T(Q5mAdzW)1 zntZQx+PO(;O>9lVB_W+{YN^&E35C$UpX#yULdZq5Zpf}MTCcXkuEz5>mKHS%^T;tc zxz`tv+#JYA*0ZDeV7(L<#>gJ7Ey$uux0$f^@jf9dOPQ1 zN?9{S{6-`fy`AemD7K)B?iU%_E+Wv)%~^%}dT_mtO(KPr{;GYMSE;&WXO}rb?p8Td8L;Qvs}v(CG;gdim3a6ShXHW zmB<118|Qpfh01rCKA0a9v^jTl42Sc(S6W1z>$^JlM3xifcN+U4Wh;XecSJOm|0j4j zviEBlZ)!QO&6*O%d~rgkM5nDv6glnU-Drc>H-;QEti z((vF5%f&a(LxMt`ERdD(Rr84TC$eIOo`cA~q>$mVvpv`nu7>L&s)aST^Ji5@RGp0b zT{c))C-uB9=D<7in?nUROfqR>8WySJCj=25_nf*42%uk`(oRQy~wTy@N>iKke~%LHotP)8IdCJXgB^r}emw<$$FkQt!97tG%; z8T4D9bV~8!{|Va~uE{Tl^}%qw%E71<9Y^Ieu@kHdFLmZkp&AR z1I7U$^!aM6r|(ZZO1bew^>BbO+%DhPvhW+s^CAVOXTFB5X~?Wn00%(d8L6Zn2zS60 zGFLMWFIEfCHbMa>Y0tC5PRu>PrXG--j$ky3p2sz`%Hq%|1 z1zVw+E8>dh!1(yKFiAjd#Ne~JJSQ_TmREndw6)XA^gVkXlqq4PFmGdS*3_2g{Q7+~ z*;COeUy~e=B+y_)K+Tw;t9wwR+z5n0Ic&0xGQXD>meXE=gyLDGIAc~hxfo>UJ-D>2 zvTGon5Lu%^?Dy=5cbWV(AJFnweY~5IxmMndmR9vo#mwAUX36TGD&g9+|pBm~okDAi$ub1(LBCee_ww31KiNU|LJn7;=ml+-r zw@!7`!h0d%<#;e*ro%nk?aEn~LH+`yp28aFn(mM}$ zD+pzx$R}o+cW!q}o8abDmB0`TCs$U3kG4ADxC^Gy6a9`Fj|@~}9WbH%bWo z_{LN#?t`n=0`RNwJ zDO|J6FBgH-V8)v=PMZ*V<)tPjhKKalW2wahe_>(61@2^p9Mwgy9AGPw3Qw^j!aowT zm0l+T$p(AE>?+NU>@>R)r!{X9^c^FJPk zfY=61O3Ks)f()$cs~*m+-1RHIWLjx8YoN)b+%d;vsfZfyv+s4iE1&7S723IXMg!gL z!o8B19bT`veH+P9un3*k+FlbYuli27-`$9raG7aW6tWu^Zjff=_K*-VC9Pp_-=|NF z$2t2SMOh*-u6;alPA}pYM>SGK-wFh!CTXxQLG6eRW5AAX_k{B}(;x##dfRJSKA1oq zLKdmbf0j<+f``)9`uF!O@~aQ@;Y0^Swxb}TqN!o6W)^wTXt-9UppkoEfqHeK)1&Hw zl{%t9egm5>H1RG5UxacM7Bo-goE?~JTtLNcr8+S5k9Qv=+;4oxg)U)~gD=n-oCk7d z*;#R?0vTN(j%ypCSkEaM*ieKO{*{WTt+@!Y%0I6UrY?lJcT;|;zIfgtODcRBdl#dU zTwI@<{;+hQsQx;SGZsanclolZhx3WI#CnqWRueyF6<)TKfBtegdw{&pWrm};BpJ5` zH^&ztEvV&(`POh3*4^Czt9IKYRt&%l7fT%=g$@oEj6;0mjdzvIGf#CkbAy>S;_OB& z@E^v}7%BR#9NBl1{EfL5>IC^|J|U0#SXpRfOv&`a)vTd>4+J~%i~L5N<)`uG0ArirUV6Nc&JI zCF(BZlc#d;wI{jxJTFc?EGFui5i$w-?pRjP-Cje7m)} z_5S*&aRJ%Zs@D#0Ey~E(bBW$<-PX@C({kQ`+r7B}1^j^I3~!IbsOp3j0CTN})&z}@3ILOp!`DSE=n?}(J)sxIGww8A{EN1TXbee$B zpeZ^J)-Z6qQj5>LofBxs?NH#YkVkzvkk zxPo3olepv$CWB!x+@ro0qI1P**zjiHKB%3qAtJ^EWrfBUB600(xG~ntzApBh#jwF% z=c1VTPj5*I!G-v9=+<_&!jGX04E2So+7`m`9;LE`HhFv@G1tO?16@PM=aX(9K@;54 ze8IAH$z6~YgB8)@zCD3{t>*^6ljHiF)Uw;7kXYT-kOL#h)7vKBcoRQ2o{YO?yyA>0 zqSAOhF{UX534VzkZYfaWZ*n_hv1pAd0!_#~w(RMu>4yQDxwO44N3t*w}PF2ROM z#GFa;IHss;SNE+I^e=t_+9GQ+TkBVFf5f)S2rXy$Uc{H(FL8 zl~0hFFN+leQV9+rMoHrl_qXKNKqmR1u zXVDFkx=r?A0FSS|#MM+1F^VC@Uv&0-yu2yNW^A6CXC#cHXS~%^A%Q!4j_I9wW=DJg zqQPULa4c6+l!vf&zGsY_XR(UM&v^Fn4~>>hmzL?3*Oi%d`%D*L7;HVdke}LHhzf)j zxb%kB_)J-P2AXs)#bwjPqbNP)Y+1%Qs=%}VVz%6_cu9Dkla)+MJk7=vJ?Rw>?#VEv zZN^tQo+BmFEnJAJ()7VF+X49*2%1fyA%A&h=3+>t9UJMB4?hd5V612iw*7&N`4*zD zx0Tn&e^JjNCOr1+F@>$-2Jz2TNe&$?y?u%;13{UbSXY;#c+2(d!X_SuLSG{PI!E)Y zy{=H4etekZLGr{RPkl@}6RT&#LGWUD!YQ8ug0xMp>D;wEN5a*9`*M<~|6 z#u3|c;6thR?B$gsS2(<;1~`yW$K?faX4@@tKHu#IY$c9@x@dSe#XMHN7|-xuo;kc} zGu_YJ$vMo@pG<&jyC@Egjip`FRClu6%g{yU=jQR}1$(8OsK%efiQkDREokyMVq%ra z%qpOyfi5by;ULtS_U9FdK8lt#cM-zkW818k%2Fh!oCv{?*Q+r3?)a#rq@btbJTASX zu(FkbQAynS#0+yhnN8t&selrfxt(8e+Phk_Y3NLl+RF3gx7fBKhf6h!7CN%SNPCT~ zqXpiI@%OTtWl^(Q&T?f#a>c-C2|bw(qW80&^^1S6N>W_Fw~*ZyGbT7@gpPh55oH+o z(&$@b5rvtDR&9tSGgO3F=pEISkt^TLnl(qw5XTR9X+4+5P5bgR?vTRuB5#?emxcrp zB)hiMv_w{@o&SeR`usicr;y-A5gt>~>KMzinnoOpf0z2l$!oiL@4Zyse3xHa99t%q zcsj-Pvg1HSO#7blW>T8#CV58rst;YR1zq{e)+-+rF$yE;?qbu67;?dT&!NP?X>+ZI z12^&n7fsHK=JR753YN=e_SAbvCr2^znS58Hfr+BCT-O%v&& z=4cq3e#6g1{{}vYp1NJ%MSq3$3|n;WZ0cO67su6@>Z*ZjAGn5d@!7t9VMGo zPb0~dqvx0}w&?1#{4xBTP>cQe^kjUU*X1vJjH@vl*hu--c`2zE+~Eq~cUyYrj`Y8A zn~fX)e2RrJ)_>v3tB5i-A4Oiy;GDXKtTU0c!7Qy&$k7i~o=Gj|$7M2ih2uT>(XDGQ z@IGm?_TfU;PwIS?^t-Dc;c^2xJ6Pr5R3y(9{hiCC{d?4f+XPr&?v?VoG4tXe+h)J*V+1Guf99 zfz5Uw#{oLbot~KLH0l4)OOt_1>x;Ks<@<`Wo2OD9h_)=U1$C8mLTyaKHy-jJi%7HRZaXn z(Rgs-Jn@65-V)QMGscec!!Uhbp`d{eiphH08OB}rs|&ukDVe^Scsmn=4aHV3v)mRJ zlCHW7PPY4iVl-Cx)XN3~=NaxuYd-ffu4cr=X{6w~vC*^g3f*Dcl_riP=uLW`SUl+D zo(`=L)p>D&C;E&h#;QhmhI1%ws~zpD*W?n#qg%d})O@c-c;HK!5+Wp~cgfHYsW>mz zQjU3XN>Em40o&&D)H#nXIPS6tPI0gQ7<@C+7L7QuSZdBEz1@<&X??8&{VxEb> zjFXcRBCRY@<#fh;LMy(#I5wk5O{e79nI2)t$~z2gUv{r+)F_K7?{&Wq(&e1X^YF9V z=~cOg8g@JkjdSL>DKu?en8QeP+2EeYqKB3&+bzSrv0+X#4Y#l8th*6K-wyDm6C7Um25FSC9JUtpu^JID4Ucx>x zuM4#zKcNw`q6xYnNU~QOc44iX`5tBif|KRT>;NoD7-cy>NOM~t;@DX0RfUSH0|&7q zuN|$CM{9}R4tKV}8}{o617V?Jix;>YgOmXnnhF>7X)EV)AsyGY--$^U6&WFEJ}BAw z5;WnCLXWXi!)|2xm054&G}F*Je_PFmn^IoWJ%nV9jGh=t=5-noSqp+Cp#SxXirU%s zQ!DH5T_!JY?TeagK1<%mrW}xLq`!2yKdgoP=o+^ClD3r4lTp~r?c_qLl`jn~p-~h;27yB$mqu$v`FeCwGku?GOl{}KYXi&Fndx6X)o2K5qV@exoA<74T+2XCg<0;?o_pG$8$A{ea}v|)0}tkq0cSvAOGR72YC*7 zksS2yJmsaXJ`T23r8MIF=3_?X|FgcGKW084FGGNy8w%y*nX34%AyMGbV5*L*#qT?Q z{&?m8ovGKAQw9C*goYziLU-~6JT84{Gl%%pe4P1wSB-z;vUo7AhICk1u)dR7&^o+e zdPF31nqv!}d2re88-M1#_8M6HwJkzk$jg1C@<*%j`r1;PFO5-Cfz7)e2+Y(|=~X$$ z;*1qrm$=xLN8TYioD7I5ccgixX`f{mhGXk^(u=4d{5ia37%VvGf|cGJ@X!EC0}D#ng`g^OKzT!w4r18-zX z-~TplwjHFV5ul|DnBIPA^wAWO{>4yPt5c5Z0u za`$RxJWX)zh58p!_NF9mcv|+1XT>4Jp`Kri_Ac8@#dMBmnsAT7UdS{SFB60M^{Gv7 zJ4oPS8@g3rFW1=%4R#flINJo)N4>A(?P4%?mcKG-*Pdsnn3na?X7pRzMAp%|Qw^Qw z{f^|I)eO)6M;wzJDgr`g^dFhI_{8FT0^g_$Z51jZhy97#FS5Jd(RDIBaW6&M)VJF| zNiGPc&n$34t90?2Q$06NdXS2~#4(fudvRpovAc-{e$SJ@b?G5Zc901r9KA2$*2|0K9XfnM3> z+jEtdU7h?&QBeZ2>(OnntwLg)vyIlsiFbP*=)A5cr_EbSDG1kvEd_yORUB&ZM4For z82{?KyO~UB2UF+DGL`b{*V?81Wd+|q_M9M$GxU!UhYRwuFkH<}XP-FHm`|jsL`Dgm zkn2VUl5|BeaLjW8>+z8ztGpjBVL3Yq7TeS++w~2*7Wbf|m<}@0``*&pt6zR(8Obvi zAHD09!-AZvnYn>kX3EoNODoD+x=74N{*Cnj!$K&wtcO7OVnmen?|g`lluJ#Q9#0u_ z_bv2P$1D@V9c*mc{l@HCA558+HLZ+iZAdTNahT7Dd}bp4uFCA(y3f_H`u8R;t{ROU z3y4Z1VmURYDw>#SMQ@8%`{!SE z5+KO5T-fubO9)O8dh;{H8#j}P2FU5{yOW9r26w}b(H=j1?XJ+lpk0L3VArs-V|S1< ztIeUGjcz)iqfrg(RNLkr5yb7w_)v)@qYU(WyQaK{*ST-Ab~onhL}d|JhBu^$-C2q) z`T44xRrps;sX(8!mNp(5usl~E~E&C2Rs74v+dmizL(Ykz&TPry} ziY-26&+E9fWoao-CreQH9j=uhD(As;-wTw^vipaE&=SaG|)1QP{P`I)77{iN#n zy|qa||NUwr%H6a*1-J(`{Vs^>MUOcwE@-Kx1+o+nWy1%Z9T!_aO%~mOW3K8)*lBUf z#J`=gAmm0z)#VwMo0u+Y1a#1nAy>O+->pXItGU-cr3o$yJRFx6$oE3} z#>|6-{Y&iALHP@;A%a}+*#!>ccK#(f=0ZF{5GCWk`?&6L#> zn$X{U$l}(4UAMc5uMXL)W^b$HZ+|}26n-YcSaIdcJ;=dDzBsnPqUW?6+6C_NR~_8u z?X*q%W%LM*$ReosA)ALuMM9=`f*o!ZWRg$6>13Ds^6iP}4PKhL36O)zG66u zyyunl6gKebwTU!23yXc3!z=?z96sMOvkkxcX0vBLpIYh8VyFLzRHlFt06x~f*nH=8 z+?Te#;v_TC^0Gz^BPlLGkNlfxph-XP!OfKv%u*`%SK7K*fNmyvRE`NvDasyBYs%WJ zQxy1?VcH?HHuUuxO5%~l*Gag??aAwy;?yvY(h}UpOY$QhRSrNGf2p|p#ixc${la8x zL$2D)<$<2wc9q$t%XJbntE`|m1vRm!OF(nh*~UjtnlKy+?NQ+s5H;l1m?4XkuN0f` z`$(6ntLZCx$m<~OQsX`oEXevEecAfGtY-%ldx$GO^QXH+ggVTVrmUY5Uj#dG4lm#7 zVp@JbdM+Y%c@r?C_BxAu4)7U3UXJIO8Gj6UI$Tjf4HF3>_xbVA`fz~)AqdWO zTUxDYJ0pI2WMt5^$J^)2nA3=u*Mg&d=k6QAH1DP|%e&d`bR@p#c3pBuR$XY;`zGPo z`-KTjcR0UBwDM(k`cR_CR^h`Kg)VHSiZN55-A!mJk_(A!x3PLkbHB#vst0KWE*o9P zG;+8>BMjNT7Af$y0XNknM=26m>#J6o@hoF~pT4oqs50BKGaanFUXyr=V?Rs%Xnn=; ziGqBq;N+XS4r^9DBISPS`ql=QO-(@}Nju_GARUUt%nRRCb3NMne$A~r>kNTXQ>ab1 zhvtOQGupk<;vYW4|Io+x+^+nC!s?BO-bJEuYWW#9h8I~ks@POI3B+%wuq;`FSErec zVb}|IR!{ByQoCX^6;xL$oH`R?YoQgclce746e;inwtqPW?Scf`oqKp;{fJ+U5m!d$ z-R^i9-!Lt;#SNrh*OZe~SG&(6Lu^6kM}HAxYJr~2?#fG{!EK!%oSi1@GPAHHs3ovx zaN3LPS81P!J7P%96#?D1W)yI^Y}n{le;{vm#bJ?h20Jau@@_?T z;X!XfW2*jRRbE*PW4!mReQ1@753#;*xsW^ez`5@Y`I$fTSw|u$wWl3_eVQRM%^?)~ z<@JLlpLCCVM4`V$$1gW;!6u7i?YqDD87^v06|1{!`+fX=zx}a)c7MHJ zpV#a8e(&{sK9!;|<7m!J1Sq2e+99%)T&0vGv7V#YWIg|%3-1lbcgos78By66|8E$B zxnV5hJ9iaux|NXgz5G?=dz8+Vb~Uw2jpuJtlW7}#(#zBV%&yny<`E?5DhV}^PIVwX zD4-%dOUr|c=)?LI1aI}uK3UCDnZN$Ga}_2HRs9kawBab~Urfw2>iKql`b$Ue{{Da8 z6-}K(4~1F=Xs%cM-CPXj5;X3-yFDL6O0{()XRnsUSpS7G{GS+Ic{A9MfWA91gLIc1*v_YY&yG-6)C zX&3(ir~0anKg7(4)7Qoih)JZ$gPYT3=}D)J&}z?CwUGJRJJp=~-ryj&-^*Te{xa#S zm>L2n=jM6qXV^TFt3H|L$&QA1($M!g5B8@yk-=hj;aoP+m%QdHnK|&XO-Wh4W9hJz z7iMM`-8bJfIz3@Qt(PxlCC>jYy7*evi8)TR8*FtnpFE~!|MKjexSEWrWeNuw-&o~T zM91~Mvh)^gs})&Y?tdK#EcwzJVn2B9R4VJ$w6MqwPag+& zAJ)>`5LS7c#P)WVgUoY(d~0&5!5Au3#PlnDib#lf#T|q>i2ZdXq09ct)D14azVv^e z`0rwF!G)IR-dXjc&PB~LU7y5d-c*ZgTy09a<0zj!whWE+H|*h`1pjpMdR;5Wh+f}} z?h9ot<1-w=_4i}m?{r=9D~DhB<>k)M`LBhJUi)tawpceexGW?|-)RUJ zUJU0+G*msmr{%jGZ|3#9mf&=#U*RNg-GT16kymT)wFKTFkzuf>Tkqw~9pC}(kC4M} zJUlSHgWCxI9|9fRz^n&OUeCupaPGHEs86Yv z@@_%wH#k}R5pO+_iL-uRVfxMg@zb|E-Yp&n3 zDhs2!6?>?L%A#KX6Ck81_|PbS>!lGm&DhA{`KtZIDbmtu2Rj4SiuG}o+{xaU#c6c3 z$B=hb`7_PyD%hL&4tCh0=3WPi8n9rF(bvql)kPhGKsa=K`ghV0~YIWjD_ZUT?~~dbv2{NC9+=(!-uR)b*P)JfpU)?KcRM zSiPwh+9=n%#M$|>;X&-Q7PV~sB{gKc06(#Ty|alqSF0t zDwU4~idP$5^xT364hI1G4>x;Piiee{H->BE+xnS!tFhLk_Vz#NN$OCAL=Y73K*!LHIzjt;D^(91E#6r*B-zS*Fu}ea2&i zgMT`@9&-Il$%L5L*Uo>(`uTdTH-9+$5WHTU_kL+8bz=+iPsOSbc6TTd%ch5h4nBL| zJK|jTXU2P*j{n3v{@l7qH+kxG5Ei8J$=TI^SG{ksbGeQ3rFwCuEX?SEf2Uaf0sQ9J z4a%re(_u@~2Dqt7UMvrUeF-Zk12?k}&pr^gOq|^bb{v)6r!qB=$BH_lopON!M z1A^E#`1S6D_8v<;mU$?EGpZto)%z9~zF-$U@qwJhQO)LW*UbmAc=n5>??GkD23!nlIX%hukLQOy6M7Sd#`+huO}EI;N&l52U+U_^flO5J8=F(#k@K&_FZ56g{jM8UzkW2@35Q$rXm|!f zePRq3%jjcO^xlk(@t)yAn^2E$yEPiBwuXB@`ugdufTg`RE5+l@W8jEY8Zj3Zt znr#swmhqCGD*sGh>_j}QTb93N=({M&+A2FbJP~~KDW3EqQD(Nvm33!ANqfthJ8;zOD)t6U1(Yv zFN;k*g%dc`A$=o8kCb?v)O#YcggQWfZx*Ks|$yRQ3fQ(vUhK; zgVr&$#=5sdpnv|r<>jwA=eBuKr{pf^WUc1B(l5wKc7Ij#?7V`Mp7-k)8huQ#1qo@h z`tgg69(}6ff-bO-}*WRd$%`dZFdAE&Mp>Uep6>0xa%k;fmF*oaj^W{QIX#HotNRg5wFR>)ha zs}eO5GL@V)RL9(-F_m9@!evp)cRY%G7ri~w0x5N`{l>X!{qfxu2p$C&D}v%cp5z`YSySA!adeKf9Xva|yJdZ27^-C-rSYwm|W*BK7GugTE-wz7MJ ztBTjVR33l!h1^J#Ut$<#{E6(zgYklE963X=gRi?vja^G_TyeYZZLWS#Pc+w?#ATNr zlW}*2^d#9U193HEIk9Zkny+(JtEDIxk;w!K+?2 zXFDgP)p@BzS4K~N4UCd@E8-TW#$ylq?%L;<-n{2vv9<9{b*uwR0)|fIDcn6Dsv2&5 zO)zRlj^<0l!A3{^l;eeKyqcZ_$(TkAShOoSUlC|xT#tx-rhVt;w&te~YG1Y_PHjy6 zI;(kky9rPh7(Tv%k8*Pkl7?n~siM8tb~;1hs73xU?;Fc6(w*OQIP(7dgQA zZX2U*PSP6wE8Om9cS3d&ASNmsSk=fJo7{HZGA^a*Os4~f?#doy6ojcerVHavi5zwEdv zL*#RPoZWlG-Z=WgB@#!MdSU$=8@O^O+*#(!-^aXHod)zqg>+)<2SiliNtE)oCZzxO+$){C{DoF_g zPQkNc-a)>J0Jios312duok3KG$?lte*XRb8*5LLjgFlGTxn{QUCp_>=d%a<89n{_AOL zF={MUwzIX@a{Ux8)x@dy-qX$9e1J z*!Z z^7Tq=FYo*50cW`w(SzAAd59Ge;FqY|DC+T#)H^so5zc$FkZfVC>HknbnwZ!89a)z3p8U1Movg02%xrWZv!}hQD`9e=J zIsR(`y_BF%K&!SG!%+UJn?XOiWg2%o#O8@u0%wUI5j%G?w0A&cX4koLGpI-jZ|0vG z5^q72J>aE5^oqu!IioSW0JnEKj#!X;^Mm*Nes8_R$0wuokxdwESc!Sn!u8X$oLkCV zwiSx@1!iG@QO%lC2%su)-#kEK-QL&Q@7n=zvPqhrxsNJ~euh%PzZ{1gRq1=st%^eN zK#!0B?m34e7L^8Wt#1*q4<2B|kvOI}-eFv5s``grZ&4Io-bE%jQ~geHnCQD3-vCGB zGy~7B+AFc1EfL_{P!n>i%<28=YgYM(GJy}@*_IF8dVlxdn-oh}yZPDcvwIp0s86{u z9_@%@9;=LR@fDV#1yYv5UXfJ`X#2BY7mv6l2zY_bxbSm1NQ$a;nZN69;Y_mc`4JO5 zOOwjfwV;|t>2lqu!)DzO=I+%~C|lW?*?nK1N9P6qDfhXvbiQZNX1k<~pPn6-8Rl8~=>|#JdKVRkLQp zxe6fz)y`ah>qX9~@wWu%YgA(`o~%UA?HGM_yT=4?lT~UPR&3mp=bOefd{_9Av7>vw z^W~D;$}Lx47e(ltoms%MROEqNHq`HFT|bo!{zLMv=*I4w9idZW&0Js1ZFvD!c}Uw+ zthxA;AC|jTU;jJl>IHRYK2!P^5-l3B=;K|q_ITF3)r-lwH8aVBRg@##uMJX#OZPvuN{WfGUID_Tei{y0iW5hCh zWm&`IoT~zqI;M8xTf0TBSx}_X{^iIQQX~LIwNC&UN-fSBq0(PoEu5mWDdScx3I0K*uPWac`yefcr3EMQ^KQO_sNn42@0?gUexr6 zjNz*XZn<%r_qGjxZ`AfUCYwsVdP6;qy>3H#gu!4>14&dmSK!@4%0QeEml_NeMPi}X zAaamO91jbb05w&-F9g*hCO@ayHUh`bIQ)$6>263Qw49ANcgA+UHd7;I6vP5*p7g`6 z@f880Gd_kZe=x)!RQY3fb8Z=qX4M)GV``aKtn|oF;v-SWm5Uv>pWrY17q=O-0dvxd z#AAgYrak?o;O_q}?4LC*`p8kqX(`}XmBD%(6sgk41N6bw4QZVih7I84*}fZJ^rS{; zVDpS8xvwzyfJ7DYIj&(8zxM06?t+qkpoY}F%j0jOj%aZ7L3JXOVVKR%CIQ^&hpe)N z{s-@23rR1yLi`zlw!~$R-N>pobK*Tm;J%V&dQ)111>nTYNoe_;Gd<{&n7aymMQ`y5 zqgZQ}ihaAxaL?)h>G=XumoU&?dzO`m&&bRwT!vhUGZ{9Xs{P!B_3qydAAlMnzw@25 z_v%%PfJ<@H&%$HoBzGJmw2q@i%u-nIY%}hZoL=l|vM0olaR}hW{!)+Lxjl?L2ddb>~dq~p4^6FgBaFhqEh8iiaq!3D^VoN`KT=gt zjfyXBDf<|6kI@?Z)DHRIBcj>G1i3y#I?J``Xf(n|R)3gQHj==S2s!~D;DZ|V{7qE2 zFq&leI#W3Z1{orS06+!tEIT#gA0QGEjyJ29hE|+OJ03H5e!%6k>E_jZ+CI|S9+2<| zb=IR`N)Dc-i&97f3I|gyj+xTc8xBJs-&`1atbwfA6eSUo`U&* z*F^s=G-5I=Du=3Nq344l+D&=+C#}~_<<%M&q{C1_3N9PC3U1og=iQejOG2JwCeNmI zN9DdQHf`v&>~tFz!Luq$@BrrV7-^S_f)~kkDX0%pTAAZ271ytvKgpBlB>b%C6j*5B z+XGTX21>X3+L(l^m(qf>EW)B7PIvO8KjQ9#tPttZ{7oh@>vjPy`aESH3Ae9qbg@Fb zVj2?^19&ADz*mW{wkOq*MH7Qm4^>1#PrUW3_@ zpyCL<6lwuunhS**PBnS!e9hCcawA7lJBCwmDj}6^rbNl?ZOVR&wL4HIT>Bc@WmvAX zQbWAO9!AA1aXM&nqp7qULbE&d#l&!w=c*x%Q?UT16W@>|=b3?e&x*q;_@kEsKzgX)8E4t# zyH|qmR5<5Y5Q?(Jg($YY;i)#V`#Sj$1Al?h+eI}e4({066t=xKGWD4Qn{P`Gn-E`a zP5>!y)8g}|#1JPs2-${03Z7oWro{3cE6Y}!9ZoXHxUW+yzJUvve9r4PH6hcjV2fnUSCa zlmG_6*oD+XkNlgm*=U^C4z@;sE(2Gl${`VMyzx<$sxJhp6QGagDn+N_v_=cdk4(dD zOKF_Z*MaRDr1W^@0=D!4YQ8^{QPANn=8tHTc8cxcuAkEH#VgpRc2pP&cSfzXF}p?z zK_Vy*Mod1&ZMy8=o|a#jMs0C`fhwlovBVxQ8ccBUC~LGLRMWCBNJF&4z9KtMYn4;+ z8H|7IpTuw`-9|!`TQLM4wnnhg%0R|tqyDbupbLoF%cpY z&hr3<=q`v-F2CAb)1+GQz_E(QbK_goH`X`WXA5qxu5esILhiTT%_W}2lU7R!MVEta35gx4B+Af~1PBkqEfZmHnZYhzH6TrOmee1+`83-t*w zV{+LpKU_38_{Z}P=Q$by)3~UkRmhbEr58fn6=E4Vw*1JJ*ieBNo)6OIP7>`%9Rm{U4fWE9wQ17b=F5wBD4~lphk$?5^R*pGCVN z>ed4%`={8(uF=5D^s&h7mP{?s5z1O)`_|dPVwvW#Zt$UEyBBgEA89w2(FI)6{&mq8 zYw2yrW2P?cC{c2k|C#bUuV6=`s6iqLWa#QIOqZX80wjwG($F?;- zDo}WlG^=UuC6(h?!Wc0r(>FoqoEp8;y(+YwxTbAzyWOX9;=s1k8j;v$T}o?7#u*L2 z;r1~FE20G50+e5!d*7Cryg%V0tX4$3A7u@wi3SFMgzarCTipvBrjDkrSOA$ZnK~7D z{|a&c*WHgWkV30D_bf{lNn`p^_omBMDj&+Qn5bhas=qWZdQ z(eMiZoX=cCuI>UTh%US#UGmk9Mx+u7P>6D07J`QF%3$>N`y$B}Qr4fY-j#jdjYgV&K z_+dwq&!zOZHWV4U%JQ*yLVBpgQIip>x%xsA;|Nv0-f{Y z7oMmrXxlrxmo?sKtj6NEjFF_`?0PwollzVOJ=iBwhBYRX=Cxe z<e+Nt`e@d2nDD*1$5|n7na0D0nsVh+{aKq4 z+)qGbbhFx|o#$*+W}Q1ttvZFWV+P4ha7*M)d>S@4z7<9qQ=I0p*g)jgN|3nQEd_EW z^|7++<#8QKC(}b|9g^h>S1=#V*8+*?&I&NP0w|2MYcwP`r4@ozvg>mKAa;5`SQYy) z?(v_`$Rm%YsRkMXMVn&1xl1Wni;wcM=(G2l#c&r{W&WgpQb?-v+{;Mr@x7&(=`s#F z7Kxd2J~*Ep+2$}O>n}u%W8_0_zo>UEf|w9JkX`c_TlO7+Q{42Gk5?*5;}Oe_%gh)Q z3z$ZC8Q({<+U-exBhi@OVV#1m9?w7#;(ecbRLeJ7T_m8#)Z#-@8%1D4IS#fHQ5vI$ zdF&ceK|pc7vJgnm2UKKg8GK@B+0A0qtgkiHSDe(}6|(Dv3Mvm?XNO?L zk1jI$Czn@s9bmNRTFcJ5JR>Sh-l;LfOPONKwe^g-NMWDb@uFI_*QH?MavN|m)1j1} z7*(1@EUc^@8I-l2lkaIB%GF)k=0^Qm@Rwjbw3_-gAkkATq%Nd7zs(g{06K`^X6YN+ z%O!3QQ;1TqloYC}y?b?|^m?@gfwZ{q1Jc2t6xHzD*<_tp%t?M&Ha?JY+{RlEd|4LRMi*A_P^#YJ*JUB*Xh}&~3&ed#O{QUBCq6f$jj8kLBo^*mqhG>#vP5Bb`Xqq+^s;iTRh{Xaf&3y(J8?*AdVj z(dR@x5e--IH=fIn%x1w{ud<_S*DCsNhs|DI-A-PLd?U7hB{RG^-_S6khpd$vo#LpN zK3Nhd*T;|4o3xylZBz@XmiKJBu+(aTjy7?&c!F1(1!{a}{u!(-40~E9MS|6ayrE67 z^VBUsP1T(QJk6+K^tnAWxgIoahkSo$F2taNF@wX?s2V5voc8MplkjP3ZkN8t!&>Y6 z=nfd42M>}oYs2U$IalCh>NH8Ba+uLxs~VE?`P|A%dPA_zt40wLF^P@F)URZfl|^uL ziDR*gE=C>yE)q}jr9S&|#t1`smM%wHr%5zLQ=sNAuQPYQokE?qDsPRwJI`h0zRzrlSQ*k9Xs|+S_G>|uzu$l_XaYxF=@Q>;Kly| DoK&Gd literal 0 HcmV?d00001 diff --git a/src/octoprint/plugins/gcodeviewer/__init__.py b/src/octoprint/plugins/gcodeviewer/__init__.py new file mode 100644 index 000000000..d4d9961d0 --- /dev/null +++ b/src/octoprint/plugins/gcodeviewer/__init__.py @@ -0,0 +1,69 @@ +# -*- coding: utf-8 -*- +from __future__ import absolute_import, division, print_function, unicode_literals + +__license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html' +__copyright__ = "Copyright (C) 2020 The OctoPrint Project - Released under terms of the AGPLv3 License" + +import octoprint.plugin + +from flask_babel import gettext + +class GcodeviewerPlugin(octoprint.plugin.AssetPlugin, + octoprint.plugin.TemplatePlugin, + octoprint.plugin.SettingsPlugin): + + def get_assets(self): + js = ["js/gcodeviewer.js", + "js/viewer/ui.js", + "js/viewer/reader.js", + "js/viewer/renderer.js" + ] + + return dict(js=js, + less=["less/gcodeviewer.less"], + css=["css/gcodeviewer.css"]) + + def get_template_configs(self): + return [ + dict(type="tab", + template="gcodeviewer_tab.jinja2", + div="gcode", + styles=["display: none;"], + data_bind="visible: loginState.hasAllPermissionsKo(access.permissions.GCODE_VIEWER, access.permissions.FILES_DOWNLOAD)"), + dict(type="settings", + template="gcodeviewer_settings.jinja2", + custom_bindings=True), + dict(type="generic", + template="gcodeviewer_initscript.jinja2") + ] + + def get_settings_defaults(self): + return dict(mobileSizeThreshold=2 * 1024 * 1024, # 2MB + sizeThreshold=20 * 1024 * 1024) # 20MB + + def get_settings_version(self): + return 1 + + def on_settings_migrate(self, target, current): + if current is None: + config = self._settings.global_get(["gcodeViewer"]) + if config: + self._logger.info("Migrating settings from gcodeViewer to plugins.gcodeviewer...") + if "mobileSizeThreshold" in config: + self._settings.set_int(["mobileSizeThreshold"], config["mobileSizeThreshold"]) + if "sizeThreshold" in config: + self._settings.set_int(["sizeThreshold"], config["sizeThreshold"]) + self._settings.global_remove(["gcodeViewer"]) + + +__plugin_name__ = gettext("GCode Viewer") +__plugin_author__ = "Gina Häußge" +__plugin_description__ = "Provides a GCODE viewer in OctoPrint's UI." +__plugin_disabling_discouraged__ = gettext("Without this plugin the GCode Viewer in OctoPrint will no longer be " + "available.") +__plugin_license__ = "AGPLv3" +__plugin_pythoncompat__ = ">=2.7,<4" +__plugin_implementation__ = GcodeviewerPlugin() +#__plugin_hooks__ = { +# "octoprint.access.permissions": __plugin_implementation__.get_additional_permissions +#} diff --git a/src/octoprint/plugins/gcodeviewer/static/css/gcodeviewer.css b/src/octoprint/plugins/gcodeviewer/static/css/gcodeviewer.css new file mode 100644 index 000000000..a4ed68acb --- /dev/null +++ b/src/octoprint/plugins/gcodeviewer/static/css/gcodeviewer.css @@ -0,0 +1 @@ +#gcode .progress{width:588px}#gcode .progress .bar{-webkit-transition:width 0s linear;-moz-transition:width 0s linear;-o-transition:width 0s linear;transition:width 0s linear}#gcode .canvas_container{position:relative}#gcode .canvas_container:hover,#gcode .canvas_container:active{outline:0}#gcode .layer-buttons{padding-top:5px;padding-bottom:7px}#gcode #gcode_layer_slider{position:absolute;right:0;top:0;height:568px;float:right}#gcode #gcode_layer_slider .slider-handle{width:14px;height:14px;margin-left:-3px;margin-top:-7px}#gcode #gcode_command_slider .slider-handle{width:14px;height:14px;margin-left:-7px;margin-top:-3px} \ No newline at end of file diff --git a/src/octoprint/static/js/app/viewmodels/gcode.js b/src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js similarity index 97% rename from src/octoprint/static/js/app/viewmodels/gcode.js rename to src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js index 6b5ab9bd4..364d1bcb9 100644 --- a/src/octoprint/static/js/app/viewmodels/gcode.js +++ b/src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js @@ -6,6 +6,9 @@ $(function() { self.settings = parameters[1]; self.access = parameters[2]; + self.sizeThresholdStr = undefined; + self.mobileSizeThresholdStr = undefined; + self.ui_progress_percentage = ko.observable(); self.ui_progress_type = ko.observable(); self.ui_progress_text = ko.pureComputed(function() { @@ -285,6 +288,9 @@ $(function() { self.maxLayer = undefined; self.initialize = function() { + self.sizeThresholdStr = sizeObservable(self.settings.settings.plugins.gcodeviewer.sizeThreshold); + self.mobileSizeThresholdStr = sizeObservable(self.settings.settings.plugins.gcodeviewer.mobileSizeThreshold); + var layerSliderElement = $("#gcode_slider_layers"); var commandSliderElement = $("#gcode_slider_commands"); var containerElement = $("#gcode_canvas"); @@ -478,7 +484,8 @@ $(function() { self.selectedFile.date(data.job.file.date); self.selectedFile.size(data.job.file.size); - if (data.job.file.size > CONFIG_GCODE_SIZE_THRESHOLD || (OctoPrint.coreui.browser.mobile && data.job.file.size > CONFIG_GCODE_MOBILE_SIZE_THRESHOLD)) { + if (data.job.file.size > self.settings.settings.plugins.gcodeviewer.sizeThreshold() + || (OctoPrint.coreui.browser.mobile && data.job.file.size > self.settings.settings.plugins.gcodeviewer.mobileSizeThreshold())) { self.waitForApproval(true); self.loadedFilepath = undefined; self.loadedFileDate = undefined; @@ -754,6 +761,6 @@ $(function() { OCTOPRINT_VIEWMODELS.push({ construct: GcodeViewModel, dependencies: ["loginStateViewModel", "settingsViewModel", "accessViewModel"], - elements: ["#gcode", "#gcode_link"] + elements: ["#gcode", "#gcode_link", "#settings_plugin_gcodeviewer"] }); }); diff --git a/src/octoprint/static/gcodeviewer/js/gCodeReader.js b/src/octoprint/plugins/gcodeviewer/static/js/viewer/reader.js similarity index 100% rename from src/octoprint/static/gcodeviewer/js/gCodeReader.js rename to src/octoprint/plugins/gcodeviewer/static/js/viewer/reader.js diff --git a/src/octoprint/static/gcodeviewer/js/renderer.js b/src/octoprint/plugins/gcodeviewer/static/js/viewer/renderer.js similarity index 100% rename from src/octoprint/static/gcodeviewer/js/renderer.js rename to src/octoprint/plugins/gcodeviewer/static/js/viewer/renderer.js diff --git a/src/octoprint/static/gcodeviewer/js/ui.js b/src/octoprint/plugins/gcodeviewer/static/js/viewer/ui.js similarity index 100% rename from src/octoprint/static/gcodeviewer/js/ui.js rename to src/octoprint/plugins/gcodeviewer/static/js/viewer/ui.js diff --git a/src/octoprint/static/gcodeviewer/js/Worker.js b/src/octoprint/plugins/gcodeviewer/static/js/viewer/worker.js similarity index 100% rename from src/octoprint/static/gcodeviewer/js/Worker.js rename to src/octoprint/plugins/gcodeviewer/static/js/viewer/worker.js diff --git a/src/octoprint/plugins/gcodeviewer/static/less/gcodeviewer.less b/src/octoprint/plugins/gcodeviewer/static/less/gcodeviewer.less new file mode 100644 index 000000000..044cb5cce --- /dev/null +++ b/src/octoprint/plugins/gcodeviewer/static/less/gcodeviewer.less @@ -0,0 +1,50 @@ +/** GCODE viewer */ + +#gcode { + .progress { + width: 588px; + + .bar { + -webkit-transition: width 0s linear; + -moz-transition: width 0s linear; + -o-transition: width 0s linear; + transition: width 0s linear; + } + } + + .canvas_container { + position: relative; + &:hover, &:active { + outline: 0; + } + } + + .layer-buttons { + padding-top: 5px; + padding-bottom: 7px; + } + + #gcode_layer_slider { + position: absolute; + right: 0; + top: 0; + height: 568px; + float: right; + + .slider-handle { + width: 14px; + height: 14px; + margin-left: -3px; + margin-top: -7px; + } + } + + #gcode_command_slider { + .slider-handle { + width: 14px; + height: 14px; + margin-left: -7px; + margin-top: -3px; + } + } +} diff --git a/src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_initscript.jinja2 b/src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_initscript.jinja2 new file mode 100644 index 000000000..b5b7e1bde --- /dev/null +++ b/src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_initscript.jinja2 @@ -0,0 +1,3 @@ + diff --git a/src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2 b/src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2 similarity index 58% rename from src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2 rename to src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2 index 4ae0dcebe..aea74d13a 100644 --- a/src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2 +++ b/src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2 @@ -1,22 +1,15 @@
    -
    -
    - -
    -
    -
    - +
    +
    - +
    {{ _('on desktop')}}
    - +
    {{ _('on mobile')}}
    diff --git a/src/octoprint/templates/tabs/gcodeviewer.jinja2 b/src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2 similarity index 100% rename from src/octoprint/templates/tabs/gcodeviewer.jinja2 rename to src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2 diff --git a/src/octoprint/server/__init__.py b/src/octoprint/server/__init__.py index 98ced21e0..24b97f809 100644 --- a/src/octoprint/server/__init__.py +++ b/src/octoprint/server/__init__.py @@ -1492,14 +1492,10 @@ class Server(object): dict(updater=assets.updater)) assets.updater = UpdaterType - enable_gcodeviewer = self._settings.getBoolean(["gcodeViewer", "enabled"]) preferred_stylesheet = self._settings.get(["devel", "stylesheet"]) - dynamic_core_assets = util.flask.collect_core_assets(enable_gcodeviewer=enable_gcodeviewer) - dynamic_plugin_assets = util.flask.collect_plugin_assets( - enable_gcodeviewer=enable_gcodeviewer, - preferred_stylesheet=preferred_stylesheet - ) + dynamic_core_assets = util.flask.collect_core_assets() + dynamic_plugin_assets = util.flask.collect_plugin_assets(preferred_stylesheet=preferred_stylesheet) js_libs = [ "js/lib/jquery/jquery.min.js", diff --git a/src/octoprint/server/api/settings.py b/src/octoprint/server/api/settings.py index b16b9b939..9967022ae 100644 --- a/src/octoprint/server/api/settings.py +++ b/src/octoprint/server/api/settings.py @@ -124,9 +124,6 @@ def getSettings(): "rotate90": s.getBoolean(["webcam", "rotate90"]) }, "feature": { - "gcodeViewer": s.getBoolean(["gcodeViewer", "enabled"]), - "sizeThreshold": s.getInt(["gcodeViewer", "sizeThreshold"]), - "mobileSizeThreshold": s.getInt(["gcodeViewer", "mobileSizeThreshold"]), "temperatureGraph": s.getBoolean(["feature", "temperatureGraph"]), "sdSupport": s.getBoolean(["feature", "sdSupport"]), "keyboardControl": s.getBoolean(["feature", "keyboardControl"]), @@ -426,9 +423,6 @@ def _saveSettings(data): if "rotate90" in data["webcam"]: s.setBoolean(["webcam", "rotate90"], data["webcam"]["rotate90"]) if "feature" in data: - if "gcodeViewer" in data["feature"]: s.setBoolean(["gcodeViewer", "enabled"], data["feature"]["gcodeViewer"]) - if "sizeThreshold" in data["feature"]: s.setInt(["gcodeViewer", "sizeThreshold"], data["feature"]["sizeThreshold"]) - if "mobileSizeThreshold" in data["feature"]: s.setInt(["gcodeViewer", "mobileSizeThreshold"], data["feature"]["mobileSizeThreshold"]) if "temperatureGraph" in data["feature"]: s.setBoolean(["feature", "temperatureGraph"], data["feature"]["temperatureGraph"]) if "sdSupport" in data["feature"]: s.setBoolean(["feature", "sdSupport"], data["feature"]["sdSupport"]) if "keyboardControl" in data["feature"]: s.setBoolean(["feature", "keyboardControl"], data["feature"]["keyboardControl"]) diff --git a/src/octoprint/server/util/flask.py b/src/octoprint/server/util/flask.py index 7c79c32b0..29accdc1f 100644 --- a/src/octoprint/server/util/flask.py +++ b/src/octoprint/server/util/flask.py @@ -1419,7 +1419,7 @@ class SettingsCheckUpdater(webassets.updater.BaseUpdater): ctx.cache.set(cache_key, settings().effective_hash) ##~~ core assets collector -def collect_core_assets(enable_gcodeviewer=True, preferred_stylesheet="css"): +def collect_core_assets(preferred_stylesheet="css"): assets = dict( js=[], clientjs=[], @@ -1458,13 +1458,6 @@ def collect_core_assets(enable_gcodeviewer=True, preferred_stylesheet="css"): 'js/app/viewmodels/wizard.js', 'js/app/viewmodels/about.js' ] - if enable_gcodeviewer: - assets["js"] += [ - 'js/app/viewmodels/gcode.js', - 'gcodeviewer/js/ui.js', - 'gcodeviewer/js/gCodeReader.js', - 'gcodeviewer/js/renderer.js' - ] assets["clientjs"] = [ "js/app/client/base.js", @@ -1496,7 +1489,7 @@ def collect_core_assets(enable_gcodeviewer=True, preferred_stylesheet="css"): ##~~ plugin assets collector -def collect_plugin_assets(enable_gcodeviewer=True, preferred_stylesheet="css"): +def collect_plugin_assets(preferred_stylesheet="css"): logger = logging.getLogger(__name__ + ".collect_plugin_assets") supported_stylesheets = ("css", "less") diff --git a/src/octoprint/server/views.py b/src/octoprint/server/views.py index 3883957de..974286d45 100644 --- a/src/octoprint/server/views.py +++ b/src/octoprint/server/views.py @@ -196,22 +196,18 @@ def index(): now = datetime.datetime.utcnow() enable_accesscontrol = userManager.enabled - enable_gcodeviewer = settings().getBoolean(["gcodeViewer", "enabled"]) enable_timelapse = settings().getBoolean(["webcam", "timelapseEnabled"]) enable_loading_animation = settings().getBoolean(["devel", "showLoadingAnimation"]) enable_sd_support = settings().get(["feature", "sdSupport"]) enable_webcam = settings().getBoolean(["webcam", "webcamEnabled"]) and bool(settings().get(["webcam", "stream"])) enable_temperature_graph = settings().get(["feature", "temperatureGraph"]) - gcode_mobile_threshold = settings().get(["gcodeViewer", "mobileSizeThreshold"]) - gcode_threshold = settings().get(["gcodeViewer", "sizeThreshold"]) sockjs_connect_timeout = settings().getInt(["devel", "sockJsConnectTimeout"]) def default_template_filter(template_type, template_key): if template_type == "navbar": return template_key != "login" or enable_accesscontrol elif template_type == "tab": - return (template_key != "gcodeviewer" or enable_gcodeviewer) and \ - (template_key != "timelapse" or enable_timelapse) + return (template_key != "timelapse" or enable_timelapse) elif template_type == "settings": return template_key != "accesscontrol" or enable_accesscontrol elif template_type == "usersettings": @@ -220,14 +216,11 @@ def index(): return True default_additional_etag = [enable_accesscontrol, - enable_gcodeviewer, enable_timelapse, enable_loading_animation, enable_sd_support, enable_webcam, enable_temperature_graph, - gcode_mobile_threshold, - gcode_threshold, sockjs_connect_timeout, wizard_active(_templates.get(locale))] + sorted(["{}:{}".format(to_unicode(k, errors="replace"), to_unicode(v, errors="replace")) @@ -390,8 +383,6 @@ def index(): accessControlActive=accesscontrol_active, enableLoadingAnimation=enable_loading_animation, enableSdSupport=enable_sd_support, - gcodeMobileThreshold=gcode_mobile_threshold, - gcodeThreshold=gcode_threshold, sockJsConnectTimeout=sockjs_connect_timeout * 1000, wizard=wizard, now=now, @@ -609,7 +600,6 @@ def fetch_template_data(refresh=False): templates["tab"]["entries"] = dict( temperature=(gettext("Temperature"), dict(template="tabs/temperature.jinja2", _div="temp", styles=["display: none;"], data_bind="visible: loginState.hasAnyPermissionKo(access.permissions.STATUS, access.permissions.CONTROL)() && visible()")), control=(gettext("Control"), dict(template="tabs/control.jinja2", _div="control", styles=["display: none;"], data_bind="visible: loginState.hasAnyPermissionKo(access.permissions.WEBCAM, access.permissions.CONTROL)")), - gcodeviewer=(gettext("GCode Viewer"), dict(template="tabs/gcodeviewer.jinja2", _div="gcode", styles=["display: none;"], data_bind="visible: loginState.hasAllPermissionsKo(access.permissions.GCODE_VIEWER, access.permissions.FILES_DOWNLOAD)")), terminal=(gettext("Terminal"), dict(template="tabs/terminal.jinja2", _div="term", styles=["display: none;"], data_bind="visible: loginState.hasPermissionKo(access.permissions.MONITOR_TERMINAL)")), timelapse=(gettext("Timelapse"), dict(template="tabs/timelapse.jinja2", _div="timelapse", styles=["display: none;"], data_bind="visible: loginState.hasPermissionKo(access.permissions.TIMELAPSE_LIST)")) ) @@ -629,7 +619,6 @@ def fetch_template_data(refresh=False): features=(gettext("Features"), dict(template="dialogs/settings/features.jinja2", _div="settings_features", custom_bindings=False)), webcam=(gettext("Webcam & Timelapse"), dict(template="dialogs/settings/webcam.jinja2", _div="settings_webcam", custom_bindings=False)), - gcodevisualizer=(gettext("GCODE Visualizer"), dict(template="dialogs/settings/gcodevisualizer.jinja2", _div="settings_gcodegcodevisualizer", custom_bindings=False)), api=(gettext("API"), dict(template="dialogs/settings/api.jinja2", _div="settings_api", custom_bindings=False)), section_octoprint=(gettext("OctoPrint"), None), diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index fd655f2fd..de9e7d63e 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -258,11 +258,6 @@ default_settings = { }, "cleanTmpAfterDays": 7 }, - "gcodeViewer": { - "enabled": True, - "mobileSizeThreshold": 2 * 1024 * 1024, # 2MB - "sizeThreshold": 20 * 1024 * 1024, # 20MB - }, "gcodeAnalysis": { "maxExtruders": 10, "throttle_normalprio": 0.01, @@ -325,10 +320,10 @@ default_settings = { "order": { "navbar": ["settings", "systemmenu", "plugin_announcements", "plugin_logging", "plugin_pi_support", "login"], "sidebar": ["plugin_firmware_check", "connection", "state", "files"], - "tab": ["temperature", "control", "gcodeviewer", "terminal", "timelapse"], + "tab": ["temperature", "control", "plugin_gcodeviewer", "terminal", "timelapse"], "settings": [ "section_printer", "serial", "printerprofiles", "temperatures", "terminalfilters", "gcodescripts", - "section_features", "features", "webcam", "accesscontrol", "gcodevisualizer", "api", "plugin_appkeys", + "section_features", "features", "webcam", "accesscontrol", "plugin_gcodeviewer", "api", "plugin_appkeys", "section_octoprint", "server", "folders", "appearance", "plugin_logging", "plugin_pluginmanager", "plugin_softwareupdate", "plugin_announcements", "plugin_backup", "plugin_tracking", "plugin_errortracking", "plugin_pi_support" @@ -962,7 +957,8 @@ class Settings(object): self._migrate_serial_features, self._migrate_resend_without_ok, self._migrate_string_temperature_profile_values, - self._migrate_blocked_commands + self._migrate_blocked_commands, + self._migrate_gcodeviewer_enabled ) for migrate in migrators: @@ -1336,6 +1332,17 @@ class Settings(object): return True return False + def _migrate_gcodeviewer_enabled(self, config): + if "gcodeViewer" in config and "enabled" in config["gcodeViewer"] and not config["gcodeViewer"]["enabled"]: + if not "plugins" in config: + config["plugins"] = dict() + if not "_disabled" in config["plugins"]: + config["plugins"]["_disabled"] = [] + config["plugins"]["_disabled"].append("gcodeviewer") + del config["gcodeViewer"]["enabled"] + return True + return False + def backup(self, suffix=None, path=None, ext=None, hidden=False): import shutil diff --git a/src/octoprint/static/css/octoprint.css b/src/octoprint/static/css/octoprint.css index fe1315466..efd45bbbc 100644 --- a/src/octoprint/static/css/octoprint.css +++ b/src/octoprint/static/css/octoprint.css @@ -1 +1 @@ -.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;margin-bottom:0;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.btn:hover,.btn:focus,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn:active,.btn.active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:hover,.btn:focus{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.btn-large [class^=icon-],.btn-large [class*=" icon-"]{margin-top:4px}.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-small [class^=icon-],.btn-small [class*=" icon-"]{margin-top:0}.btn-mini [class^=icon-],.btn-mini [class*=" icon-"]{margin-top:-1px}.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,.75)}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary:active,.btn-primary.active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning:active,.btn-warning.active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{color:#fff;background-color:#bd362f;*background-color:#a9302a}.btn-danger:active,.btn-danger.active{background-color:#942a25 \9}.btn-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(to bottom,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{color:#fff;background-color:#51a351;*background-color:#499249}.btn-success:active,.btn-success.active{background-color:#408140 \9}.btn-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(to bottom,#5bc0de,#2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{color:#fff;background-color:#2f96b4;*background-color:#2a85a0}.btn-info:active,.btn-info.active{background-color:#24748c \9}.btn-inverse{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#363636;background-image:-moz-linear-gradient(top,#444,#222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#444),to(#222));background-image:-webkit-linear-gradient(top,#444,#222);background-image:-o-linear-gradient(top,#444,#222);background-image:linear-gradient(to bottom,#444,#222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0);border-color:#222 #222 #000;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse:hover,.btn-inverse:focus,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{color:#fff;background-color:#222;*background-color:#151515}.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9}button.btn,input[type=submit].btn{*padding-top:3px;*padding-bottom:3px}button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type=submit].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type=submit].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type=submit].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-link,.btn-link:active,.btn-link[disabled]{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-link{border-color:transparent;cursor:pointer;color:#08c;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-link:hover,.btn-link:focus{color:#005580;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,.btn-link[disabled]:focus{color:#333;text-decoration:none}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.nowrap{white-space:nowrap}.actioncol{text-align:center;white-space:nowrap}.actioncol a{text-decoration:none;color:#000}.actioncol a.disabled{color:#ccc;cursor:default}#navbar .navbar-inner{background-color:#ebebeb;background-image:-moz-linear-gradient(top,#fff,#ccc);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#ccc));background-image:-webkit-linear-gradient(top,#fff,#ccc);background-image:-o-linear-gradient(top,#fff,#ccc);background-image:linear-gradient(to bottom,#fff,#ccc);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffcccccc', GradientType=0)}#navbar .navbar-inner .brand,#navbar .navbar-inner .nav>li>a{text-shadow:0 1px 0 #ccc;color:#333}#navbar .navbar-inner .brand .caret,#navbar .navbar-inner .nav>li>a .caret{border-bottom-color:#939393;border-top-color:#939393}#navbar .navbar-inner .brand:hover .caret,#navbar .navbar-inner .nav>li>a:hover .caret,#navbar .navbar-inner .brand:focus .caret,#navbar .navbar-inner .nav>li>a:focus .caret{border-bottom-color:#636363;border-top-color:#636363}#navbar .navbar-inner .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#e0e0e0;background-image:-moz-linear-gradient(top,#ccc,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ccc),to(#fff));background-image:-webkit-linear-gradient(top,#ccc,#fff);background-image:-o-linear-gradient(top,#ccc,#fff);background-image:linear-gradient(to bottom,#ccc,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcccccc', endColorstr='#ffffffff', GradientType=0)}#navbar .navbar-inner .nav>li>a:hover{background-color:#dedede;background-image:-moz-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#bfbfbf));background-image:-webkit-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:-o-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:linear-gradient(to bottom,#f2f2f2,#bfbfbf);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffbfbfbf', GradientType=0)}#navbar .navbar-inner.transparent{background-color:rgba(235,235,235,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.6)),to(rgba(204,204,204,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#99cccccc', GradientType=0)}#navbar .navbar-inner.transparent .brand,#navbar .navbar-inner.transparent .nav>li>a{text-shadow:0 1px 0 #ccc;color:#333}#navbar .navbar-inner.transparent .brand .caret,#navbar .navbar-inner.transparent .nav>li>a .caret{border-bottom-color:#939393;border-top-color:#939393}#navbar .navbar-inner.transparent .brand:hover .caret,#navbar .navbar-inner.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.transparent .brand:focus .caret,#navbar .navbar-inner.transparent .nav>li>a:focus .caret{border-bottom-color:#636363;border-top-color:#636363}#navbar .navbar-inner.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(224,224,224,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(204,204,204,.6)),to(rgba(255,255,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99cccccc', endColorstr='#99ffffff', GradientType=0)}#navbar .navbar-inner.transparent .nav>li>a:hover{background-color:rgba(222,222,222,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(242,242,242,.6)),to(rgba(191,191,191,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f2f2f2', endColorstr='#99bfbfbf', GradientType=0)}#navbar .navbar-inner.red{background-color:#bb645f;background-image:-moz-linear-gradient(top,#e28e8a,#802420);background-image:-webkit-gradient(linear,0 0,0 100%,from(#e28e8a),to(#802420));background-image:-webkit-linear-gradient(top,#e28e8a,#802420);background-image:-o-linear-gradient(top,#e28e8a,#802420);background-image:linear-gradient(to bottom,#e28e8a,#802420);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe28e8a', endColorstr='#ff802420', GradientType=0)}#navbar .navbar-inner.red .brand,#navbar .navbar-inner.red .nav>li>a{text-shadow:0 1px 0 #d86761;color:#f2f2f2}#navbar .navbar-inner.red .brand .caret,#navbar .navbar-inner.red .nav>li>a .caret{border-bottom-color:#d89491;border-top-color:#d89491}#navbar .navbar-inner.red .brand:hover .caret,#navbar .navbar-inner.red .nav>li>a:hover .caret,#navbar .navbar-inner.red .brand:focus .caret,#navbar .navbar-inner.red .nav>li>a:focus .caret{border-bottom-color:#e5c3c1;border-top-color:#e5c3c1}#navbar .navbar-inner.red .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.red .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.red .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.red .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.red .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#a74f4a;background-image:-moz-linear-gradient(top,#802420,#e28e8a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#802420),to(#e28e8a));background-image:-webkit-linear-gradient(top,#802420,#e28e8a);background-image:-o-linear-gradient(top,#802420,#e28e8a);background-image:linear-gradient(to bottom,#802420,#e28e8a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff802420', endColorstr='#ffe28e8a', GradientType=0)}#navbar .navbar-inner.red .nav>li>a:hover{background-color:#af5651;background-image:-moz-linear-gradient(top,#dd7a75,#6b1f1b);background-image:-webkit-gradient(linear,0 0,0 100%,from(#dd7a75),to(#6b1f1b));background-image:-webkit-linear-gradient(top,#dd7a75,#6b1f1b);background-image:-o-linear-gradient(top,#dd7a75,#6b1f1b);background-image:linear-gradient(to bottom,#dd7a75,#6b1f1b);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdd7a75', endColorstr='#ff6b1f1b', GradientType=0)}#navbar .navbar-inner.red.transparent{background-color:rgba(187,100,95,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(226,142,138,.6)),to(rgba(128,36,32,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99e28e8a', endColorstr='#99802420', GradientType=0)}#navbar .navbar-inner.red.transparent .brand,#navbar .navbar-inner.red.transparent .nav>li>a{text-shadow:0 1px 0 #d86761;color:#f2f2f2}#navbar .navbar-inner.red.transparent .brand .caret,#navbar .navbar-inner.red.transparent .nav>li>a .caret{border-bottom-color:#d89491;border-top-color:#d89491}#navbar .navbar-inner.red.transparent .brand:hover .caret,#navbar .navbar-inner.red.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.red.transparent .brand:focus .caret,#navbar .navbar-inner.red.transparent .nav>li>a:focus .caret{border-bottom-color:#e5c3c1;border-top-color:#e5c3c1}#navbar .navbar-inner.red.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.red.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.red.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.red.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.red.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(167,79,74,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(128,36,32,.6)),to(rgba(226,142,138,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99802420', endColorstr='#99e28e8a', GradientType=0)}#navbar .navbar-inner.red.transparent .nav>li>a:hover{background-color:rgba(175,86,81,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(221,122,117,.6)),to(rgba(107,31,27,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99dd7a75', endColorstr='#996b1f1b', GradientType=0)}#navbar .navbar-inner.orange{background-color:#e39665;background-image:-moz-linear-gradient(top,#f9c3a0,#c2530c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9c3a0),to(#c2530c));background-image:-webkit-linear-gradient(top,#f9c3a0,#c2530c);background-image:-o-linear-gradient(top,#f9c3a0,#c2530c);background-image:linear-gradient(to bottom,#f9c3a0,#c2530c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9c3a0', endColorstr='#ffc2530c', GradientType=0)}#navbar .navbar-inner.orange .brand,#navbar .navbar-inner.orange .nav>li>a{text-shadow:0 1px 0 #c2530c;color:#f2f2f2}#navbar .navbar-inner.orange .brand .caret,#navbar .navbar-inner.orange .nav>li>a .caret{border-bottom-color:#f2b58d;border-top-color:#f2b58d}#navbar .navbar-inner.orange .brand:hover .caret,#navbar .navbar-inner.orange .nav>li>a:hover .caret,#navbar .navbar-inner.orange .brand:focus .caret,#navbar .navbar-inner.orange .nav>li>a:focus .caret{border-bottom-color:#f2d3bf;border-top-color:#f2d3bf}#navbar .navbar-inner.orange .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.orange .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.orange .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.orange .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.orange .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#d88047;background-image:-moz-linear-gradient(top,#c2530c,#f9c3a0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c2530c),to(#f9c3a0));background-image:-webkit-linear-gradient(top,#c2530c,#f9c3a0);background-image:-o-linear-gradient(top,#c2530c,#f9c3a0);background-image:linear-gradient(to bottom,#c2530c,#f9c3a0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2530c', endColorstr='#fff9c3a0', GradientType=0)}#navbar .navbar-inner.orange .nav>li>a:hover{background-color:#d98956;background-image:-moz-linear-gradient(top,#f8b488,#aa490a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f8b488),to(#aa490a));background-image:-webkit-linear-gradient(top,#f8b488,#aa490a);background-image:-o-linear-gradient(top,#f8b488,#aa490a);background-image:linear-gradient(to bottom,#f8b488,#aa490a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8b488', endColorstr='#ffaa490a', GradientType=0)}#navbar .navbar-inner.orange.transparent{background-color:rgba(227,150,101,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(249,195,160,.6)),to(rgba(194,83,12,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f9c3a0', endColorstr='#99c2530c', GradientType=0)}#navbar .navbar-inner.orange.transparent .brand,#navbar .navbar-inner.orange.transparent .nav>li>a{text-shadow:0 1px 0 #c2530c;color:#f2f2f2}#navbar .navbar-inner.orange.transparent .brand .caret,#navbar .navbar-inner.orange.transparent .nav>li>a .caret{border-bottom-color:#f2b58d;border-top-color:#f2b58d}#navbar .navbar-inner.orange.transparent .brand:hover .caret,#navbar .navbar-inner.orange.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.orange.transparent .brand:focus .caret,#navbar .navbar-inner.orange.transparent .nav>li>a:focus .caret{border-bottom-color:#f2d3bf;border-top-color:#f2d3bf}#navbar .navbar-inner.orange.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.orange.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.orange.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.orange.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.orange.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(216,128,71,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(194,83,12,.6)),to(rgba(249,195,160,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c2530c', endColorstr='#99f9c3a0', GradientType=0)}#navbar .navbar-inner.orange.transparent .nav>li>a:hover{background-color:rgba(217,137,86,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(248,180,136,.6)),to(rgba(170,73,10,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f8b488', endColorstr='#99aa490a', GradientType=0)}#navbar .navbar-inner.yellow{background-color:#e3d765;background-image:-moz-linear-gradient(top,#f9f0a0,#c2b00c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9f0a0),to(#c2b00c));background-image:-webkit-linear-gradient(top,#f9f0a0,#c2b00c);background-image:-o-linear-gradient(top,#f9f0a0,#c2b00c);background-image:linear-gradient(to bottom,#f9f0a0,#c2b00c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f0a0', endColorstr='#ffc2b00c', GradientType=0)}#navbar .navbar-inner.yellow .brand,#navbar .navbar-inner.yellow .nav>li>a{text-shadow:0 1px 0 #c2b00c;color:#333}#navbar .navbar-inner.yellow .brand .caret,#navbar .navbar-inner.yellow .nav>li>a .caret{border-bottom-color:#93892e;border-top-color:#93892e}#navbar .navbar-inner.yellow .brand:hover .caret,#navbar .navbar-inner.yellow .nav>li>a:hover .caret,#navbar .navbar-inner.yellow .brand:focus .caret,#navbar .navbar-inner.yellow .nav>li>a:focus .caret{border-bottom-color:#635e30;border-top-color:#635e30}#navbar .navbar-inner.yellow .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.yellow .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.yellow .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.yellow .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.yellow .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#d8ca47;background-image:-moz-linear-gradient(top,#c2b00c,#f9f0a0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c2b00c),to(#f9f0a0));background-image:-webkit-linear-gradient(top,#c2b00c,#f9f0a0);background-image:-o-linear-gradient(top,#c2b00c,#f9f0a0);background-image:linear-gradient(to bottom,#c2b00c,#f9f0a0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2b00c', endColorstr='#fff9f0a0', GradientType=0)}#navbar .navbar-inner.yellow .nav>li>a:hover{background-color:#d9cc56;background-image:-moz-linear-gradient(top,#f8ed88,#aa9a0a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f8ed88),to(#aa9a0a));background-image:-webkit-linear-gradient(top,#f8ed88,#aa9a0a);background-image:-o-linear-gradient(top,#f8ed88,#aa9a0a);background-image:linear-gradient(to bottom,#f8ed88,#aa9a0a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8ed88', endColorstr='#ffaa9a0a', GradientType=0)}#navbar .navbar-inner.yellow.transparent{background-color:rgba(227,215,101,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(249,240,160,.6)),to(rgba(194,176,12,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f9f0a0', endColorstr='#99c2b00c', GradientType=0)}#navbar .navbar-inner.yellow.transparent .brand,#navbar .navbar-inner.yellow.transparent .nav>li>a{text-shadow:0 1px 0 #c2b00c;color:#333}#navbar .navbar-inner.yellow.transparent .brand .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a .caret{border-bottom-color:#93892e;border-top-color:#93892e}#navbar .navbar-inner.yellow.transparent .brand:hover .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.yellow.transparent .brand:focus .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a:focus .caret{border-bottom-color:#635e30;border-top-color:#635e30}#navbar .navbar-inner.yellow.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.yellow.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(216,202,71,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(194,176,12,.6)),to(rgba(249,240,160,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c2b00c', endColorstr='#99f9f0a0', GradientType=0)}#navbar .navbar-inner.yellow.transparent .nav>li>a:hover{background-color:rgba(217,204,86,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(248,237,136,.6)),to(rgba(170,154,10,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f8ed88', endColorstr='#99aa9a0a', GradientType=0)}#navbar .navbar-inner.green{background-color:#98f064;background-image:-moz-linear-gradient(top,#c8ffa7,#50da00);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8ffa7),to(#50da00));background-image:-webkit-linear-gradient(top,#c8ffa7,#50da00);background-image:-o-linear-gradient(top,#c8ffa7,#50da00);background-image:linear-gradient(to bottom,#c8ffa7,#50da00);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8ffa7', endColorstr='#ff50da00', GradientType=0)}#navbar .navbar-inner.green .brand,#navbar .navbar-inner.green .nav>li>a{text-shadow:0 1px 0 #50da00;color:#333}#navbar .navbar-inner.green .brand .caret,#navbar .navbar-inner.green .nav>li>a .caret{border-bottom-color:#55992e;border-top-color:#55992e}#navbar .navbar-inner.green .brand:hover .caret,#navbar .navbar-inner.green .nav>li>a:hover .caret,#navbar .navbar-inner.green .brand:focus .caret,#navbar .navbar-inner.green .nav>li>a:focus .caret{border-bottom-color:#446630;border-top-color:#446630}#navbar .navbar-inner.green .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.green .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.green .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.green .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.green .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#80e943;background-image:-moz-linear-gradient(top,#50da00,#c8ffa7);background-image:-webkit-gradient(linear,0 0,0 100%,from(#50da00),to(#c8ffa7));background-image:-webkit-linear-gradient(top,#50da00,#c8ffa7);background-image:-o-linear-gradient(top,#50da00,#c8ffa7);background-image:linear-gradient(to bottom,#50da00,#c8ffa7);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff50da00', endColorstr='#ffc8ffa7', GradientType=0)}#navbar .navbar-inner.green .nav>li>a:hover{background-color:#8ae655;background-image:-moz-linear-gradient(top,#b8ff8e,#47c100);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b8ff8e),to(#47c100));background-image:-webkit-linear-gradient(top,#b8ff8e,#47c100);background-image:-o-linear-gradient(top,#b8ff8e,#47c100);background-image:linear-gradient(to bottom,#b8ff8e,#47c100);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb8ff8e', endColorstr='#ff47c100', GradientType=0)}#navbar .navbar-inner.green.transparent{background-color:rgba(152,240,100,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,255,167,.6)),to(rgba(80,218,0,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8ffa7', endColorstr='#9950da00', GradientType=0)}#navbar .navbar-inner.green.transparent .brand,#navbar .navbar-inner.green.transparent .nav>li>a{text-shadow:0 1px 0 #50da00;color:#333}#navbar .navbar-inner.green.transparent .brand .caret,#navbar .navbar-inner.green.transparent .nav>li>a .caret{border-bottom-color:#55992e;border-top-color:#55992e}#navbar .navbar-inner.green.transparent .brand:hover .caret,#navbar .navbar-inner.green.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.green.transparent .brand:focus .caret,#navbar .navbar-inner.green.transparent .nav>li>a:focus .caret{border-bottom-color:#446630;border-top-color:#446630}#navbar .navbar-inner.green.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.green.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.green.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.green.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.green.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(128,233,67,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(80,218,0,.6)),to(rgba(200,255,167,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9950da00', endColorstr='#99c8ffa7', GradientType=0)}#navbar .navbar-inner.green.transparent .nav>li>a:hover{background-color:rgba(138,230,85,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(184,255,142,.6)),to(rgba(71,193,0,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99b8ff8e', endColorstr='#9947c100', GradientType=0)}#navbar .navbar-inner.blue{background-color:#2e63cc;background-image:-moz-linear-gradient(top,#4d88ff,#002b80);background-image:-webkit-gradient(linear,0 0,0 100%,from(#4d88ff),to(#002b80));background-image:-webkit-linear-gradient(top,#4d88ff,#002b80);background-image:-o-linear-gradient(top,#4d88ff,#002b80);background-image:linear-gradient(to bottom,#4d88ff,#002b80);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4d88ff', endColorstr='#ff002b80', GradientType=0)}#navbar .navbar-inner.blue .brand,#navbar .navbar-inner.blue .nav>li>a{text-shadow:0 1px 0 #1a66ff;color:#f2f2f2}#navbar .navbar-inner.blue .brand .caret,#navbar .navbar-inner.blue .nav>li>a .caret{border-bottom-color:#799bdf;border-top-color:#799bdf}#navbar .navbar-inner.blue .brand:hover .caret,#navbar .navbar-inner.blue .nav>li>a:hover .caret,#navbar .navbar-inner.blue .brand:focus .caret,#navbar .navbar-inner.blue .nav>li>a:focus .caret{border-bottom-color:#b6c7e9;border-top-color:#b6c7e9}#navbar .navbar-inner.blue .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.blue .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.blue .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.blue .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.blue .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#1f50b3;background-image:-moz-linear-gradient(top,#002b80,#4d88ff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#002b80),to(#4d88ff));background-image:-webkit-linear-gradient(top,#002b80,#4d88ff);background-image:-o-linear-gradient(top,#002b80,#4d88ff);background-image:linear-gradient(to bottom,#002b80,#4d88ff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff002b80', endColorstr='#ff4d88ff', GradientType=0)}#navbar .navbar-inner.blue .nav>li>a:hover{background-color:#1f55c2;background-image:-moz-linear-gradient(top,#37f,#026);background-image:-webkit-gradient(linear,0 0,0 100%,from(#37f),to(#026));background-image:-webkit-linear-gradient(top,#37f,#026);background-image:-o-linear-gradient(top,#37f,#026);background-image:linear-gradient(to bottom,#37f,#026);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3377ff', endColorstr='#ff002266', GradientType=0)}#navbar .navbar-inner.blue.transparent{background-color:rgba(46,99,204,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(77,136,255,.6)),to(rgba(0,43,128,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#994d88ff', endColorstr='#99002b80', GradientType=0)}#navbar .navbar-inner.blue.transparent .brand,#navbar .navbar-inner.blue.transparent .nav>li>a{text-shadow:0 1px 0 #1a66ff;color:#f2f2f2}#navbar .navbar-inner.blue.transparent .brand .caret,#navbar .navbar-inner.blue.transparent .nav>li>a .caret{border-bottom-color:#799bdf;border-top-color:#799bdf}#navbar .navbar-inner.blue.transparent .brand:hover .caret,#navbar .navbar-inner.blue.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.blue.transparent .brand:focus .caret,#navbar .navbar-inner.blue.transparent .nav>li>a:focus .caret{border-bottom-color:#b6c7e9;border-top-color:#b6c7e9}#navbar .navbar-inner.blue.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.blue.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.blue.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.blue.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.blue.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(31,80,179,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,43,128,.6)),to(rgba(77,136,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99002b80', endColorstr='#994d88ff', GradientType=0)}#navbar .navbar-inner.blue.transparent .nav>li>a:hover{background-color:rgba(31,85,194,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(51,119,255,.6)),to(rgba(0,34,102,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#993377ff', endColorstr='#99002266', GradientType=0)}#navbar .navbar-inner.violet{background-color:#9864f0;background-image:-moz-linear-gradient(top,#c8a7ff,#5000da);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8a7ff),to(#5000da));background-image:-webkit-linear-gradient(top,#c8a7ff,#5000da);background-image:-o-linear-gradient(top,#c8a7ff,#5000da);background-image:linear-gradient(to bottom,#c8a7ff,#5000da);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8a7ff', endColorstr='#ff5000da', GradientType=0)}#navbar .navbar-inner.violet .brand,#navbar .navbar-inner.violet .nav>li>a{text-shadow:0 1px 0 #a774ff;color:#f2f2f2}#navbar .navbar-inner.violet .brand .caret,#navbar .navbar-inner.violet .nav>li>a .caret{border-bottom-color:#b58df9;border-top-color:#b58df9}#navbar .navbar-inner.violet .brand:hover .caret,#navbar .navbar-inner.violet .nav>li>a:hover .caret,#navbar .navbar-inner.violet .brand:focus .caret,#navbar .navbar-inner.violet .nav>li>a:focus .caret{border-bottom-color:#d3bff5;border-top-color:#d3bff5}#navbar .navbar-inner.violet .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.violet .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.violet .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.violet .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.violet .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#8043e9;background-image:-moz-linear-gradient(top,#5000da,#c8a7ff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5000da),to(#c8a7ff));background-image:-webkit-linear-gradient(top,#5000da,#c8a7ff);background-image:-o-linear-gradient(top,#5000da,#c8a7ff);background-image:linear-gradient(to bottom,#5000da,#c8a7ff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5000da', endColorstr='#ffc8a7ff', GradientType=0)}#navbar .navbar-inner.violet .nav>li>a:hover{background-color:#8a55e6;background-image:-moz-linear-gradient(top,#b88eff,#4700c1);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b88eff),to(#4700c1));background-image:-webkit-linear-gradient(top,#b88eff,#4700c1);background-image:-o-linear-gradient(top,#b88eff,#4700c1);background-image:linear-gradient(to bottom,#b88eff,#4700c1);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb88eff', endColorstr='#ff4700c1', GradientType=0)}#navbar .navbar-inner.violet.transparent{background-color:rgba(152,100,240,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,167,255,.6)),to(rgba(80,0,218,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8a7ff', endColorstr='#995000da', GradientType=0)}#navbar .navbar-inner.violet.transparent .brand,#navbar .navbar-inner.violet.transparent .nav>li>a{text-shadow:0 1px 0 #a774ff;color:#f2f2f2}#navbar .navbar-inner.violet.transparent .brand .caret,#navbar .navbar-inner.violet.transparent .nav>li>a .caret{border-bottom-color:#b58df9;border-top-color:#b58df9}#navbar .navbar-inner.violet.transparent .brand:hover .caret,#navbar .navbar-inner.violet.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.violet.transparent .brand:focus .caret,#navbar .navbar-inner.violet.transparent .nav>li>a:focus .caret{border-bottom-color:#d3bff5;border-top-color:#d3bff5}#navbar .navbar-inner.violet.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.violet.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.violet.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.violet.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.violet.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(128,67,233,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(80,0,218,.6)),to(rgba(200,167,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#995000da', endColorstr='#99c8a7ff', GradientType=0)}#navbar .navbar-inner.violet.transparent .nav>li>a:hover{background-color:rgba(138,85,230,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(184,142,255,.6)),to(rgba(71,0,193,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99b88eff', endColorstr='#994700c1', GradientType=0)}#navbar .navbar-inner.black{background-color:#4f4f4f;background-image:-moz-linear-gradient(top,#787878,#121212);background-image:-webkit-gradient(linear,0 0,0 100%,from(#787878),to(#121212));background-image:-webkit-linear-gradient(top,#787878,#121212);background-image:-o-linear-gradient(top,#787878,#121212);background-image:linear-gradient(to bottom,#787878,#121212);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff787878', endColorstr='#ff121212', GradientType=0)}#navbar .navbar-inner.black .brand,#navbar .navbar-inner.black .nav>li>a{text-shadow:0 1px 0 #5e5e5e;color:#f2f2f2}#navbar .navbar-inner.black .brand .caret,#navbar .navbar-inner.black .nav>li>a .caret{border-bottom-color:#959595;border-top-color:#959595}#navbar .navbar-inner.black .brand:hover .caret,#navbar .navbar-inner.black .nav>li>a:hover .caret,#navbar .navbar-inner.black .brand:focus .caret,#navbar .navbar-inner.black .nav>li>a:focus .caret{border-bottom-color:#c4c4c4;border-top-color:#c4c4c4}#navbar .navbar-inner.black .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.black .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.black .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.black .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.black .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#3b3b3b;background-image:-moz-linear-gradient(top,#121212,#787878);background-image:-webkit-gradient(linear,0 0,0 100%,from(#121212),to(#787878));background-image:-webkit-linear-gradient(top,#121212,#787878);background-image:-o-linear-gradient(top,#121212,#787878);background-image:linear-gradient(to bottom,#121212,#787878);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff121212', endColorstr='#ff787878', GradientType=0)}#navbar .navbar-inner.black .nav>li>a:hover{background-color:#424242;background-image:-moz-linear-gradient(top,#6b6b6b,#050505);background-image:-webkit-gradient(linear,0 0,0 100%,from(#6b6b6b),to(#050505));background-image:-webkit-linear-gradient(top,#6b6b6b,#050505);background-image:-o-linear-gradient(top,#6b6b6b,#050505);background-image:linear-gradient(to bottom,#6b6b6b,#050505);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6b6b6b', endColorstr='#ff050505', GradientType=0)}#navbar .navbar-inner.black.transparent{background-color:rgba(79,79,79,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(120,120,120,.6)),to(rgba(18,18,18,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99787878', endColorstr='#99121212', GradientType=0)}#navbar .navbar-inner.black.transparent .brand,#navbar .navbar-inner.black.transparent .nav>li>a{text-shadow:0 1px 0 #5e5e5e;color:#f2f2f2}#navbar .navbar-inner.black.transparent .brand .caret,#navbar .navbar-inner.black.transparent .nav>li>a .caret{border-bottom-color:#959595;border-top-color:#959595}#navbar .navbar-inner.black.transparent .brand:hover .caret,#navbar .navbar-inner.black.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.black.transparent .brand:focus .caret,#navbar .navbar-inner.black.transparent .nav>li>a:focus .caret{border-bottom-color:#c4c4c4;border-top-color:#c4c4c4}#navbar .navbar-inner.black.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.black.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.black.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.black.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.black.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(59,59,59,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(18,18,18,.6)),to(rgba(120,120,120,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99121212', endColorstr='#99787878', GradientType=0)}#navbar .navbar-inner.black.transparent .nav>li>a:hover{background-color:rgba(66,66,66,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(107,107,107,.6)),to(rgba(5,5,5,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#996b6b6b', endColorstr='#99050505', GradientType=0)}#navbar .navbar-inner.white{background-color:#e9e9e9;background-image:-moz-linear-gradient(top,#fff,#c8c8c8);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#c8c8c8));background-image:-webkit-linear-gradient(top,#fff,#c8c8c8);background-image:-o-linear-gradient(top,#fff,#c8c8c8);background-image:linear-gradient(to bottom,#fff,#c8c8c8);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffc8c8c8', GradientType=0)}#navbar .navbar-inner.white .brand,#navbar .navbar-inner.white .nav>li>a{text-shadow:0 1px 0 #c8c8c8;color:#333}#navbar .navbar-inner.white .brand .caret,#navbar .navbar-inner.white .nav>li>a .caret{border-bottom-color:#919191;border-top-color:#919191}#navbar .navbar-inner.white .brand:hover .caret,#navbar .navbar-inner.white .nav>li>a:hover .caret,#navbar .navbar-inner.white .brand:focus .caret,#navbar .navbar-inner.white .nav>li>a:focus .caret{border-bottom-color:#626262;border-top-color:#626262}#navbar .navbar-inner.white .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.white .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.white .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.white .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.white .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#dedede;background-image:-moz-linear-gradient(top,#c8c8c8,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8c8c8),to(#fff));background-image:-webkit-linear-gradient(top,#c8c8c8,#fff);background-image:-o-linear-gradient(top,#c8c8c8,#fff);background-image:linear-gradient(to bottom,#c8c8c8,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8c8c8', endColorstr='#ffffffff', GradientType=0)}#navbar .navbar-inner.white .nav>li>a:hover{background-color:#dcdcdc;background-image:-moz-linear-gradient(top,#f2f2f2,#bbb);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#bbb));background-image:-webkit-linear-gradient(top,#f2f2f2,#bbb);background-image:-o-linear-gradient(top,#f2f2f2,#bbb);background-image:linear-gradient(to bottom,#f2f2f2,#bbb);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffbbbbbb', GradientType=0)}#navbar .navbar-inner.white.transparent{background-color:rgba(233,233,233,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.6)),to(rgba(200,200,200,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#99c8c8c8', GradientType=0)}#navbar .navbar-inner.white.transparent .brand,#navbar .navbar-inner.white.transparent .nav>li>a{text-shadow:0 1px 0 #c8c8c8;color:#333}#navbar .navbar-inner.white.transparent .brand .caret,#navbar .navbar-inner.white.transparent .nav>li>a .caret{border-bottom-color:#919191;border-top-color:#919191}#navbar .navbar-inner.white.transparent .brand:hover .caret,#navbar .navbar-inner.white.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.white.transparent .brand:focus .caret,#navbar .navbar-inner.white.transparent .nav>li>a:focus .caret{border-bottom-color:#626262;border-top-color:#626262}#navbar .navbar-inner.white.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.white.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.white.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.white.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.white.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(222,222,222,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,200,200,.6)),to(rgba(255,255,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8c8c8', endColorstr='#99ffffff', GradientType=0)}#navbar .navbar-inner.white.transparent .nav>li>a:hover{background-color:rgba(220,220,220,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(242,242,242,.6)),to(rgba(187,187,187,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f2f2f2', endColorstr='#99bbbbbb', GradientType=0)}#navbar .navbar-inner .brand{padding:10px 20px 6px}#navbar .navbar-inner .brand span{padding-left:26px;background-size:20px 20px;background-repeat:no-repeat;display:inline-block;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top;line-height:20px;height:24px}#navbar_login a.dropdown-toggle span{display:inline-block;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top}.octoprint-container{margin-top:20px}.octoprint-container .tab-content{padding:9px 15px;border-left:1px solid #DDD;border-right:1px solid #DDD;border-bottom:1px solid #DDD;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.octoprint-container .nav{margin-bottom:0}.octoprint-container .tab-content h1{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:40px;color:#333;border:0;border-bottom:1px solid #E5E5E5;font-weight:400}.octoprint-container .accordion-heading .accordion-heading-button{float:right}.octoprint-container .accordion-heading .accordion-heading-button a{display:inline-block;padding:8px 15px;font-size:14px;line-height:20px;color:#000;text-decoration:none;background:0 0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.octoprint-container .accordion-heading a.accordion-toggle{display:inline-block}.octoprint-container .accordion-heading [class^=icon-],.octoprint-container .accordion-heading [class*=" icon-"]{color:#000}.print-control .btn{padding-left:4px;padding-right:4px}.upload-buttons .btn{margin-right:0}table{table-layout:fixed}table .popover-title{text-overflow:ellipsis;word-break:break-all}table th,table td{overflow:hidden}table th.gcode_files_name,table td.gcode_files_name{text-overflow:ellipsis;text-align:left;white-space:nowrap}table th.gcode_files_action,table td.gcode_files_action{width:90px;text-align:center;white-space:nowrap}table th.gcode_files_action a,table td.gcode_files_action a{text-decoration:none;color:#000}table th.gcode_files_action a.disabled,table td.gcode_files_action a.disabled{color:#ccc;cursor:default}table th.timelapse_files_checkbox,table td.timelapse_files_checkbox,table th.timelapse_unrendered_checkbox,table td.timelapse_unrendered_checkbox{text-align:center;width:10px}table th.timelapse_files_checkbox input[type=checkbox],table td.timelapse_files_checkbox input[type=checkbox],table th.timelapse_unrendered_checkbox input[type=checkbox],table td.timelapse_unrendered_checkbox input[type=checkbox]{margin-top:0}table th.timelapse_files_name,table td.timelapse_files_name,table th.timelapse_unrendered_name,table td.timelapse_unrendered_name{text-overflow:ellipsis;text-align:left}table th.timelapse_files_size,table td.timelapse_files_size{text-align:right;width:55px}table th.timelapse_unrendered_size,table td.timelapse_unrendered_size{text-align:right;width:55px}table th.timelapse_unrendered_count,table td.timelapse_unrendered_count{text-align:right;width:45px}table th.timelapse_files_action,table td.timelapse_files_action,table th.timelapse_unrendered_action,table td.timelapse_unrendered_action{width:45px;text-align:center;white-space:nowrap}table th.timelapse_files_action a,table td.timelapse_files_action a,table th.timelapse_unrendered_action a,table td.timelapse_unrendered_action a{text-decoration:none;color:#000}table th.timelapse_files_action a.disabled,table td.timelapse_files_action a.disabled,table th.timelapse_unrendered_action a.disabled,table td.timelapse_unrendered_action a.disabled{color:#ccc;cursor:default}table th.settings_users_name,table td.settings_users_name{text-overflow:ellipsis;text-align:left;width:100px}table th.settings_users_active,table td.settings_users_active{text-align:center;width:55px}table th table.settings_users_details_table,table td table.settings_users_details_table{font-size:.8em;margin-bottom:0}table th table.settings_users_details_table .settings_users_details_key,table td table.settings_users_details_table .settings_users_details_key{width:100px}table th table.settings_users_details_table th,table td table.settings_users_details_table th,table th table.settings_users_details_table td,table td table.settings_users_details_table td{border:0;padding:0}table th.settings_groups_default,table td.settings_groups_default{text-align:center;width:20px}table th.settings_groups_name,table td.settings_groups_name{width:180px}table th table.settings_groups_details_table,table td table.settings_groups_details_table{font-size:.8em;margin-bottom:0}table th table.settings_groups_details_table .settings_groups_details_key,table td table.settings_groups_details_table .settings_groups_details_key{width:100px}table th table.settings_groups_details_table th,table td table.settings_groups_details_table th,table th table.settings_groups_details_table td,table td table.settings_groups_details_table td{border:0;padding:0}table th.settings_users_actions,table td.settings_users_actions,table th.settings_groups_actions,table td.settings_groups_actions{width:60px;text-align:center;white-space:nowrap}table th.settings_users_actions a,table td.settings_users_actions a,table th.settings_groups_actions a,table td.settings_groups_actions a{text-decoration:none;color:#000}table th.settings_users_actions a.disabled,table td.settings_users_actions a.disabled,table th.settings_groups_actions a.disabled,table td.settings_groups_actions a.disabled{color:#ccc;cursor:default}table th.settings_accesscontrol_permissions_list_checkbox,table td.settings_accesscontrol_permissions_list_checkbox{width:20px}table th.settings_accesscontrol_groups_list_checkbox,table td.settings_accesscontrol_groups_list_checkbox{width:20px}table th.settings_accesscontrol_subgroups_list_checkbox,table td.settings_accesscontrol_subgroups_list_checkbox{width:20px}table th #settings-usersDialogAddUser,table td #settings-usersDialogAddUser,table th #settings-usersDialogEditUser,table td #settings-usersDialogEditUser{position:relative;top:50%;transform:translateY(-50%);margin-top:0!important}table th.settings_printerProfiles_profiles_name,table td.settings_printerProfiles_profiles_name{text-overflow:ellipsis;text-align:left}table th.settings_printerProfiles_profiles_model,table td.settings_printerProfiles_profiles_model{text-align:left;width:250px}table th.settings_printerProfiles_profiles_action,table td.settings_printerProfiles_profiles_action{width:80px;text-align:center;white-space:nowrap}table th.settings_printerProfiles_profiles_action a,table td.settings_printerProfiles_profiles_action a{text-decoration:none;color:#000}table th.settings_printerProfiles_profiles_action a.disabled,table td.settings_printerProfiles_profiles_action a.disabled{color:#ccc;cursor:default}#temperature-graph{height:350px;width:100%;background:url(../img/graph-background.png) no-repeat center}#temperature-table{table-layout:fixed;width:100%;margin-top:20px}#temperature-table th,#temperature-table td{line-height:25px}#temperature-table th.temperature_tool,#temperature-table td.temperature_tool,#temperature-table th.temperature_actual,#temperature-table td.temperature_actual,#temperature-table th.temperature_target,#temperature-table td.temperature_target,#temperature-table th.temperature_offset,#temperature-table td.temperature_offset{vertical-align:middle;text-align:center}#temperature-table th.temperature_tool form,#temperature-table td.temperature_tool form,#temperature-table th.temperature_actual form,#temperature-table td.temperature_actual form,#temperature-table th.temperature_target form,#temperature-table td.temperature_target form,#temperature-table th.temperature_offset form,#temperature-table td.temperature_offset form{margin:0}#temperature-table th.temperature_tool .dropdown-menu,#temperature-table td.temperature_tool .dropdown-menu,#temperature-table th.temperature_actual .dropdown-menu,#temperature-table td.temperature_actual .dropdown-menu,#temperature-table th.temperature_target .dropdown-menu,#temperature-table td.temperature_target .dropdown-menu,#temperature-table th.temperature_offset .dropdown-menu,#temperature-table td.temperature_offset .dropdown-menu{text-align:left}#temperature-table th.temperature_tool,#temperature-table td.temperature_tool{width:16%;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#temperature-table th.temperature_actual,#temperature-table td.temperature_actual{width:12%}#temperature-table th.temperature_target,#temperature-table td.temperature_target{width:42%;overflow:visible}#temperature-table th.temperature_offset,#temperature-table td.temperature_offset{width:30%}.tab-content,.tab-pane{overflow:visible}#temp_newTemp,#temp_newBedTemp,#speed_innerWall,#speed_outerWall,#speed_fill,#speed_support,#webcam_timelapse_interval,#webcam_timelapse_postRoll,#webcam_timelapse_fps,#webcam_timelapse_retractionZHop{text-align:right}ul.dropdown-menu li a{cursor:pointer}#connection_ports,#connection_baudrates,#connection_printers{width:100%}#offline_overlay,#reloadui_overlay{position:fixed;top:0;left:0;width:100%;height:100%;display:none}#offline_overlay{z-index:10002}#reloadui_overlay{z-index:10001}#offline_overlay_background,#reloadui_overlay_background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#offline_overlay_wrapper,#reloadui_overlay_wrapper{position:absolute;top:0;bottom:0;left:0;right:0;padding-top:60px}#offline_overlay_wrapper .container,#reloadui_overlay_wrapper .container{margin:auto}#webcam_container{width:100%;position:relative;outline:0;background-color:#000}#webcam_container .keycontrol_overlay{position:absolute;left:10px;right:10px;bottom:10px;background:rgba(0,0,0,.5);font-size:85%;color:#fff;padding:0}#webcam_container .keycontrol_overlay kbd{border:1px solid #eee;border-radius:3px;margin-left:2px;margin-right:2px;font-size:90%;padding:2px;min-width:1em}#webcam_container .keycontrol_overlay .keycontrol_overlay_heading{position:relative;padding:10px;font-weight:700}#webcam_container .keycontrol_overlay .keycontrol_overlay_column{position:relative;width:45%;padding:10px;float:left}#webcam_container .nowebcam{position:absolute;top:0;left:0;right:0;bottom:0}#webcam_container .nowebcam .text{color:#fff;text-align:center;position:relative;margin:auto;width:80%;top:50%;transform:translateY(-50%);display:block}#webcam_container .nowebcam .text.webcam_loading{animation:pulsate 3s ease-out;animation-iteration-count:infinite}#webcam_container .webcam_rotated{position:relative;width:100%;padding-bottom:100%;pointer-events:none}#webcam_container .webcam_rotated .webcam_fixed_ratio{position:absolute;transform:rotate(-90deg);top:0;bottom:0;pointer-events:none}#webcam_container .webcam_rotated .webcam_fixed_ratio .webcam_fixed_ratio_inner{width:100%;height:100%;pointer-events:none}#webcam_container .webcam_unrotated .webcam_fixed_ratio{width:100%;pointer-events:none;padding-bottom:100%;position:relative}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio43{padding-bottom:75%}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio169{padding-bottom:56.25%}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio1610{padding-bottom:62.5%}#webcam_container .webcam_unrotated .webcam_fixed_ratio .webcam_fixed_ratio_inner{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none}#webcam_container img{width:100%;height:100%;object-fit:contain}#state_wrapper hr{margin:5px 0}#files .gcode_files .scroll-wrapper{overflow-x:hidden;overflow-y:scroll;height:306px;padding-right:2px}#files .gcode_files .entry{padding:5px;line-height:20px;border-bottom:1px solid #ddd;position:relative}#files .gcode_files .entry:hover{background-color:#f5f5f5}#files .gcode_files .entry .title{text-overflow:ellipsis;word-break:break-all}#files .gcode_files .entry .toggleAdditionalData{margin-left:5px}#files .gcode_files .entry .internal,#files .gcode_files .entry .uploaded,#files .gcode_files .entry .size,#files .gcode_files .entry .additionalInfo{font-size:85%;color:#999}#files .gcode_files .entry .uploaded [title]{cursor:help}#files .gcode_files .entry .internal{word-break:break-all}#files .gcode_files .entry .action-buttons{position:absolute;bottom:5px;right:5px}#files .gcode_files .entry .additionalInfo{padding-bottom:22px}@keyframes highlightframes{0%{background:#ff0}100%{background:0 0}}#files .gcode_files .entry.highlight{animation:highlightframes 2s}#files .gcode_files .back .back-path{white-space:nowrap}#files .gcode_files .back .back-path span{word-wrap:break-word;white-space:pre-line}#files .upload-buttons{margin-top:10px}#files .form-search{text-align:center;margin-bottom:5px!important}#control{overflow:hidden}#control .jog-panel{float:left;margin-right:19px}#control h1{text-align:left}#control .jog-panel>div{text-align:center}#control .jog-panel>div.distance{text-align:left}#control .jog-panel .slider{margin-bottom:10px}#control .box{width:30px;height:30px;margin-right:10px;margin-bottom:10px;padding-left:8px}#control .control-box{display:block;height:30px;margin-bottom:10px}#control .btn-group{margin-bottom:10px}#control .btn-group.distance>.btn{width:43px;padding:3px 0;height:30px}#control .slider-handle{width:14px;height:14px;margin-left:-7px;margin-top:-3px}#control .custom_section h1{cursor:pointer}#control .custom_section_horizontal>.custom_control{display:inline-block}#control .custom_section_vertical>.custom_control{display:block}#control .custom_control .slider{margin-left:10px;margin-right:10px;margin-bottom:2px}#control .pulsate_text_opacity{animation:pulsate_input 1s ease-out;animation-iteration-count:infinite}@keyframes pulsate_input{0%{color:#555}50%{color:rgba(85,85,85,.2)}100%{color:#555}}#gcode .progress{width:588px}#gcode .progress .bar{-webkit-transition:width 0s linear;-moz-transition:width 0s linear;-o-transition:width 0s linear;transition:width 0s linear}#gcode .canvas_container{position:relative}#gcode .canvas_container:hover,#gcode .canvas_container:active{outline:0}#gcode .layer-buttons{padding-top:5px;padding-bottom:7px}#gcode #gcode_layer_slider{position:absolute;right:0;top:0;height:568px;float:right}#gcode #gcode_layer_slider .slider-handle{width:14px;height:14px;margin-left:-3px;margin-top:-7px}#gcode #gcode_command_slider .slider-handle{width:14px;height:14px;margin-left:-7px;margin-top:-3px}#term .terminal{margin-bottom:30px}#term .terminal #terminal-output,#term .terminal #terminal-output-lowfi{min-height:340px;margin-bottom:5px}#settings_dialog .aboutlink{float:left}#settings_dialog_menu,#wizard_dialog_menu{margin-left:0}#wizard_firstrun_acl .acl_decision{margin-top:1em}#wizard_firstrun_start p,#wizard_firstrun_end p{margin-bottom:1.5em;line-height:1.5}#settings_appearance_managelanguagesdialog_list{width:auto;height:300px;overflow-x:hidden;overflow-y:scroll;padding-right:2px}#settings_appearance_managelanguagesdialog_emptylist{overflow:hidden;width:100%;height:300px;text-align:center;display:table}#settings_appearance_managelanguagesdialog_emptylist div{display:table-cell;vertical-align:middle}#about_sponsors ul{columns:3;-webkit-columns:3;-moz-columns:3}#about_authors ul{columns:3;-webkit-columns:3;-moz-columns:3}.footer ul{margin:0}.footer ul li{display:inline;margin-left:1em;font-size:85%}.footer ul li:first-child{margin-left:0}.footer ul li a{color:#555}.footer #footer_version,.footer #footer_link{max-width:50%}.ui-pnotify{position:fixed}.ui-pnotify .alert a{color:#c09853}.ui-pnotify .alert-error a,.ui-pnotify .alert-danger a{color:#b94a48}.ui-pnotify .alert-success a{color:#468847}.ui-pnotify .alert-info a{color:#3a87ad}.pnotify_additional_info .pnotify_more{font-size:85%}.text-right{text-align:right}.text-center{text-align:center}.text-block{display:block}.overflow_visible{overflow:visible!important}.clickable{cursor:pointer}.border_box{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.hidden{display:none}textarea.block{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}@keyframes pulsate{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}#drop_overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:none}#drop_overlay.in{display:block}#drop_overlay #drop_overlay_background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#drop_overlay #drop_overlay_wrapper{position:absolute;top:0;bottom:0;left:0;right:0;padding-top:60px}#drop_overlay #drop_overlay_wrapper #drop,#drop_overlay #drop_overlay_wrapper #drop_background{position:absolute;top:0;left:0;margin-left:0;width:100%}#drop_overlay #drop_overlay_wrapper #drop_locally,#drop_overlay #drop_overlay_wrapper #drop_locally_background{position:absolute;top:0;left:50%;margin-left:-50%;width:50%;border-right:2px dashed #ccc}#drop_overlay #drop_overlay_wrapper #drop_sd,#drop_overlay #drop_overlay_wrapper #drop_sd_background{position:absolute;top:0;left:50%;margin-left:0;width:50%;border-left:2px dashed #ccc}#drop_overlay #drop_overlay_wrapper .dropzone{height:100%;z-index:10001;color:#fff;font-size:30px}#drop_overlay #drop_overlay_wrapper .dropzone i{font-size:50px}#drop_overlay #drop_overlay_wrapper .dropzone .text{display:block;text-align:center;line-height:40px;position:absolute;width:100%;bottom:5%;filter:alpha(opacity=100);-moz-opacity:1;-khtml-opacity:1;opacity:1}#drop_overlay #drop_overlay_wrapper .dropzone_background{width:50%;height:100%;background-color:#000;filter:alpha(opacity=25);-moz-opacity:.25;-khtml-opacity:.25;opacity:.25}#drop_overlay #drop_overlay_wrapper .dropzone_background.hover{background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#drop_overlay #drop_overlay_wrapper .dropzone_background.fade{-webkit-transition:all .3s ease-out;-moz-transition:all .3s ease-out;-ms-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out;opacity:1}.icon-sd-black-14{background:url(../img/icon-sd-black-14.png) 0 3px no-repeat;width:11px;height:17px;display:inline-block!important}.center{float:none;margin-left:auto;margin-right:auto}.flipH{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1)}.flipV{-webkit-transform:scaleY(-1);-moz-transform:scaleY(-1);-ms-transform:scaleY(-1);transform:scaleY(-1)}.flipH.flipV{-webkit-transform:scaleX(-1) scaleY(-1);-moz-transform:scaleX(-1) scaleY(-1);-ms-transform:scaleX(-1) scaleY(-1);transform:scaleX(-1) scaleY(-1)}.rotate90{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ui-pnotify a{text-decoration:underline}.btn-mini .caret,.btn-small .caret{margin-top:8px}.dropdown-menu-right{right:0;left:auto}.slider .slider-selection{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.slider .slider-selection:hover,.slider .slider-selection:focus,.slider .slider-selection:active,.slider .slider-selection.active,.slider .slider-selection.disabled,.slider .slider-selection[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.slider .slider-selection:active,.slider .slider-selection.active{background-color:#039 \9}.slider.slider-disabled .slider-selection{background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-track{background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.slider.slider-disabled .slider-track{background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-handle{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);padding:0;margin-bottom:0;opacity:1;filter:alpha(opacity=100)}.slider .slider-handle:hover,.slider .slider-handle:focus,.slider .slider-handle:active,.slider .slider-handle.active,.slider .slider-handle.disabled,.slider .slider-handle[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.slider .slider-handle:active,.slider .slider-handle.active{background-color:#ccc \9}.slider .slider-handle:first-child{*margin-left:0}.slider .slider-handle:hover,.slider .slider-handle:focus{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.slider .slider-handle:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.slider .slider-handle.active,.slider .slider-handle:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.slider .slider-handle.disabled,.slider .slider-handle[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-handle.hide{display:none}.slider .slider-handle.round{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.modal.large{width:975px;margin-left:-487px}.full-sized-box{position:absolute;bottom:0;left:0;right:0;top:0;padding:15px}.full-sized-box .row-fluid{height:100%}@media (max-width:979px){.full-sized-box{position:static}}_::-webkit-full-page-media,_:future,:root .full-sized-box{position:static}.scrollable{height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.pre-output span{display:block}.input-append .add-on.add-on-limited,.input-prepend .add-on.add-on-limited{overflow-x:hidden;text-overflow:ellipsis;width:inherit}.input-append .btn-group:first-child .btn:first-child,.input-prepend .btn-group:first-child .btn:first-child{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-append .btn-group .btn:first-child,.input-prepend .btn-group .btn:first-child{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append.input-block-level,.input-prepend.input-block-level{display:table}.input-append.input-block-level .add-on,.input-prepend.input-block-level .add-on{display:table-cell;width:1%}.input-append.input-block-level>input,.input-prepend.input-block-level>input{box-sizing:border-box;display:table;min-height:inherit;width:100%}.input-append.input-block-level :not(:last-child),.input-prepend.input-block-level :not(:last-child){border-right:0}.control-group.error .input-prepend .fileinput-button,.control-group.error .input-append .fileinput-button{border-color:#b94a48}.control-text{padding-top:5px;cursor:default}input[type=number]{text-align:right}input[type=number].input-nospin::-webkit-outer-spin-button,input[type=number].input-nospin::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number].input-nospin{-moz-appearance:textfield}.progress-text,.progress-text-centered{position:relative}.progress-text .progress-text-front,.progress-text-centered .progress-text-front,.progress-text .progress-text-back,.progress-text-centered .progress-text-back{white-space:nowrap}.progress-text .progress-text-front,.progress-text-centered .progress-text-front{box-sizing:border-box;padding:0 10px;width:100%;display:block}.progress-text .progress-text-back,.progress-text-centered .progress-text-back{position:absolute;font-size:12px;line-height:20px;display:block;box-sizing:border-box;text-align:center;padding:0 10px}.progress-text .bar,.progress-text-centered .bar{position:absolute;overflow:hidden}.progress-text-centered .progress-text-front{position:absolute;font-size:12px;line-height:20px;display:block;text-align:center;color:#fff}.progress-text-centered .progress-text-back{width:100%}.search-query-with-clear{position:relative}.search-query-with-clear .search-clear{display:inline-block;color:#ccc;position:absolute;right:28px;height:20px;padding:4px 0;cursor:pointer;visibility:hidden}.search-query-with-clear.active-clear .search-query{padding-right:28px;width:192px}.search-query-with-clear.active-clear .search-clear{visibility:visible}.search-query-with-clear input::-ms-clear{display:none}.search-query-with-clear input[type=search]::-webkit-search-decoration,.search-query-with-clear input[type=search]::-webkit-search-cancel-button,.search-query-with-clear input[type=search]::-webkit-search-results-button,.search-query-with-clear input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}#navbar_login:not(.open) #login_dropdown_loggedout{display:block;z-index:-1;height:0;width:0;padding:0!important;overflow:hidden;border:0;box-shadow:none;left:-9999px}#navbar_login:not(.open) #login_dropdown_loggedout.hide{display:none}#loginForm{margin:0}#loginForm button{margin-top:20px}#page-container-loading{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:12301}#page-container-loading .wrapper{position:absolute;top:0;bottom:0;left:0;right:0}#page-container-loading .wrapper .outer{display:table;width:100%;height:100%}#page-container-loading .wrapper .outer .inner{display:table-cell;vertical-align:middle}#page-container-loading .wrapper .outer .inner .content{text-align:center}#page-container-noscript{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:12310}#page-container-noscript .wrapper{position:absolute;top:0;bottom:0;left:0;right:0}#page-container-noscript .wrapper .outer{display:table;width:100%;height:100%}#page-container-noscript .wrapper .outer .inner{display:table-cell;vertical-align:middle}#page-container-noscript .wrapper .outer .inner .content{text-align:center} \ No newline at end of file +.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;margin-bottom:0;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.btn:hover,.btn:focus,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn:active,.btn.active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:hover,.btn:focus{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.btn-large [class^=icon-],.btn-large [class*=" icon-"]{margin-top:4px}.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-small [class^=icon-],.btn-small [class*=" icon-"]{margin-top:0}.btn-mini [class^=icon-],.btn-mini [class*=" icon-"]{margin-top:-1px}.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,.75)}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary:active,.btn-primary.active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning:active,.btn-warning.active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{color:#fff;background-color:#bd362f;*background-color:#a9302a}.btn-danger:active,.btn-danger.active{background-color:#942a25 \9}.btn-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(to bottom,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{color:#fff;background-color:#51a351;*background-color:#499249}.btn-success:active,.btn-success.active{background-color:#408140 \9}.btn-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(to bottom,#5bc0de,#2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{color:#fff;background-color:#2f96b4;*background-color:#2a85a0}.btn-info:active,.btn-info.active{background-color:#24748c \9}.btn-inverse{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#363636;background-image:-moz-linear-gradient(top,#444,#222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#444),to(#222));background-image:-webkit-linear-gradient(top,#444,#222);background-image:-o-linear-gradient(top,#444,#222);background-image:linear-gradient(to bottom,#444,#222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0);border-color:#222 #222 #000;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse:hover,.btn-inverse:focus,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{color:#fff;background-color:#222;*background-color:#151515}.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9}button.btn,input[type=submit].btn{*padding-top:3px;*padding-bottom:3px}button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type=submit].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type=submit].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type=submit].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-link,.btn-link:active,.btn-link[disabled]{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-link{border-color:transparent;cursor:pointer;color:#08c;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-link:hover,.btn-link:focus{color:#005580;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,.btn-link[disabled]:focus{color:#333;text-decoration:none}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.nowrap{white-space:nowrap}.actioncol{text-align:center;white-space:nowrap}.actioncol a{text-decoration:none;color:#000}.actioncol a.disabled{color:#ccc;cursor:default}#navbar .navbar-inner{background-color:#ebebeb;background-image:-moz-linear-gradient(top,#fff,#ccc);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#ccc));background-image:-webkit-linear-gradient(top,#fff,#ccc);background-image:-o-linear-gradient(top,#fff,#ccc);background-image:linear-gradient(to bottom,#fff,#ccc);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffcccccc', GradientType=0)}#navbar .navbar-inner .brand,#navbar .navbar-inner .nav>li>a{text-shadow:0 1px 0 #ccc;color:#333}#navbar .navbar-inner .brand .caret,#navbar .navbar-inner .nav>li>a .caret{border-bottom-color:#939393;border-top-color:#939393}#navbar .navbar-inner .brand:hover .caret,#navbar .navbar-inner .nav>li>a:hover .caret,#navbar .navbar-inner .brand:focus .caret,#navbar .navbar-inner .nav>li>a:focus .caret{border-bottom-color:#636363;border-top-color:#636363}#navbar .navbar-inner .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#e0e0e0;background-image:-moz-linear-gradient(top,#ccc,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ccc),to(#fff));background-image:-webkit-linear-gradient(top,#ccc,#fff);background-image:-o-linear-gradient(top,#ccc,#fff);background-image:linear-gradient(to bottom,#ccc,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcccccc', endColorstr='#ffffffff', GradientType=0)}#navbar .navbar-inner .nav>li>a:hover{background-color:#dedede;background-image:-moz-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#bfbfbf));background-image:-webkit-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:-o-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:linear-gradient(to bottom,#f2f2f2,#bfbfbf);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffbfbfbf', GradientType=0)}#navbar .navbar-inner.transparent{background-color:rgba(235,235,235,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.6)),to(rgba(204,204,204,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#99cccccc', GradientType=0)}#navbar .navbar-inner.transparent .brand,#navbar .navbar-inner.transparent .nav>li>a{text-shadow:0 1px 0 #ccc;color:#333}#navbar .navbar-inner.transparent .brand .caret,#navbar .navbar-inner.transparent .nav>li>a .caret{border-bottom-color:#939393;border-top-color:#939393}#navbar .navbar-inner.transparent .brand:hover .caret,#navbar .navbar-inner.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.transparent .brand:focus .caret,#navbar .navbar-inner.transparent .nav>li>a:focus .caret{border-bottom-color:#636363;border-top-color:#636363}#navbar .navbar-inner.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(224,224,224,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(204,204,204,.6)),to(rgba(255,255,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99cccccc', endColorstr='#99ffffff', GradientType=0)}#navbar .navbar-inner.transparent .nav>li>a:hover{background-color:rgba(222,222,222,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(242,242,242,.6)),to(rgba(191,191,191,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f2f2f2', endColorstr='#99bfbfbf', GradientType=0)}#navbar .navbar-inner.red{background-color:#bb645f;background-image:-moz-linear-gradient(top,#e28e8a,#802420);background-image:-webkit-gradient(linear,0 0,0 100%,from(#e28e8a),to(#802420));background-image:-webkit-linear-gradient(top,#e28e8a,#802420);background-image:-o-linear-gradient(top,#e28e8a,#802420);background-image:linear-gradient(to bottom,#e28e8a,#802420);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe28e8a', endColorstr='#ff802420', GradientType=0)}#navbar .navbar-inner.red .brand,#navbar .navbar-inner.red .nav>li>a{text-shadow:0 1px 0 #d86761;color:#f2f2f2}#navbar .navbar-inner.red .brand .caret,#navbar .navbar-inner.red .nav>li>a .caret{border-bottom-color:#d89491;border-top-color:#d89491}#navbar .navbar-inner.red .brand:hover .caret,#navbar .navbar-inner.red .nav>li>a:hover .caret,#navbar .navbar-inner.red .brand:focus .caret,#navbar .navbar-inner.red .nav>li>a:focus .caret{border-bottom-color:#e5c3c1;border-top-color:#e5c3c1}#navbar .navbar-inner.red .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.red .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.red .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.red .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.red .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#a74f4a;background-image:-moz-linear-gradient(top,#802420,#e28e8a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#802420),to(#e28e8a));background-image:-webkit-linear-gradient(top,#802420,#e28e8a);background-image:-o-linear-gradient(top,#802420,#e28e8a);background-image:linear-gradient(to bottom,#802420,#e28e8a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff802420', endColorstr='#ffe28e8a', GradientType=0)}#navbar .navbar-inner.red .nav>li>a:hover{background-color:#af5651;background-image:-moz-linear-gradient(top,#dd7a75,#6b1f1b);background-image:-webkit-gradient(linear,0 0,0 100%,from(#dd7a75),to(#6b1f1b));background-image:-webkit-linear-gradient(top,#dd7a75,#6b1f1b);background-image:-o-linear-gradient(top,#dd7a75,#6b1f1b);background-image:linear-gradient(to bottom,#dd7a75,#6b1f1b);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdd7a75', endColorstr='#ff6b1f1b', GradientType=0)}#navbar .navbar-inner.red.transparent{background-color:rgba(187,100,95,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(226,142,138,.6)),to(rgba(128,36,32,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99e28e8a', endColorstr='#99802420', GradientType=0)}#navbar .navbar-inner.red.transparent .brand,#navbar .navbar-inner.red.transparent .nav>li>a{text-shadow:0 1px 0 #d86761;color:#f2f2f2}#navbar .navbar-inner.red.transparent .brand .caret,#navbar .navbar-inner.red.transparent .nav>li>a .caret{border-bottom-color:#d89491;border-top-color:#d89491}#navbar .navbar-inner.red.transparent .brand:hover .caret,#navbar .navbar-inner.red.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.red.transparent .brand:focus .caret,#navbar .navbar-inner.red.transparent .nav>li>a:focus .caret{border-bottom-color:#e5c3c1;border-top-color:#e5c3c1}#navbar .navbar-inner.red.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.red.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.red.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.red.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.red.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(167,79,74,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(128,36,32,.6)),to(rgba(226,142,138,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99802420', endColorstr='#99e28e8a', GradientType=0)}#navbar .navbar-inner.red.transparent .nav>li>a:hover{background-color:rgba(175,86,81,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(221,122,117,.6)),to(rgba(107,31,27,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99dd7a75', endColorstr='#996b1f1b', GradientType=0)}#navbar .navbar-inner.orange{background-color:#e39665;background-image:-moz-linear-gradient(top,#f9c3a0,#c2530c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9c3a0),to(#c2530c));background-image:-webkit-linear-gradient(top,#f9c3a0,#c2530c);background-image:-o-linear-gradient(top,#f9c3a0,#c2530c);background-image:linear-gradient(to bottom,#f9c3a0,#c2530c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9c3a0', endColorstr='#ffc2530c', GradientType=0)}#navbar .navbar-inner.orange .brand,#navbar .navbar-inner.orange .nav>li>a{text-shadow:0 1px 0 #c2530c;color:#f2f2f2}#navbar .navbar-inner.orange .brand .caret,#navbar .navbar-inner.orange .nav>li>a .caret{border-bottom-color:#f2b58d;border-top-color:#f2b58d}#navbar .navbar-inner.orange .brand:hover .caret,#navbar .navbar-inner.orange .nav>li>a:hover .caret,#navbar .navbar-inner.orange .brand:focus .caret,#navbar .navbar-inner.orange .nav>li>a:focus .caret{border-bottom-color:#f2d3bf;border-top-color:#f2d3bf}#navbar .navbar-inner.orange .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.orange .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.orange .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.orange .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.orange .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#d88047;background-image:-moz-linear-gradient(top,#c2530c,#f9c3a0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c2530c),to(#f9c3a0));background-image:-webkit-linear-gradient(top,#c2530c,#f9c3a0);background-image:-o-linear-gradient(top,#c2530c,#f9c3a0);background-image:linear-gradient(to bottom,#c2530c,#f9c3a0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2530c', endColorstr='#fff9c3a0', GradientType=0)}#navbar .navbar-inner.orange .nav>li>a:hover{background-color:#d98956;background-image:-moz-linear-gradient(top,#f8b488,#aa490a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f8b488),to(#aa490a));background-image:-webkit-linear-gradient(top,#f8b488,#aa490a);background-image:-o-linear-gradient(top,#f8b488,#aa490a);background-image:linear-gradient(to bottom,#f8b488,#aa490a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8b488', endColorstr='#ffaa490a', GradientType=0)}#navbar .navbar-inner.orange.transparent{background-color:rgba(227,150,101,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(249,195,160,.6)),to(rgba(194,83,12,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f9c3a0', endColorstr='#99c2530c', GradientType=0)}#navbar .navbar-inner.orange.transparent .brand,#navbar .navbar-inner.orange.transparent .nav>li>a{text-shadow:0 1px 0 #c2530c;color:#f2f2f2}#navbar .navbar-inner.orange.transparent .brand .caret,#navbar .navbar-inner.orange.transparent .nav>li>a .caret{border-bottom-color:#f2b58d;border-top-color:#f2b58d}#navbar .navbar-inner.orange.transparent .brand:hover .caret,#navbar .navbar-inner.orange.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.orange.transparent .brand:focus .caret,#navbar .navbar-inner.orange.transparent .nav>li>a:focus .caret{border-bottom-color:#f2d3bf;border-top-color:#f2d3bf}#navbar .navbar-inner.orange.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.orange.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.orange.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.orange.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.orange.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(216,128,71,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(194,83,12,.6)),to(rgba(249,195,160,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c2530c', endColorstr='#99f9c3a0', GradientType=0)}#navbar .navbar-inner.orange.transparent .nav>li>a:hover{background-color:rgba(217,137,86,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(248,180,136,.6)),to(rgba(170,73,10,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f8b488', endColorstr='#99aa490a', GradientType=0)}#navbar .navbar-inner.yellow{background-color:#e3d765;background-image:-moz-linear-gradient(top,#f9f0a0,#c2b00c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9f0a0),to(#c2b00c));background-image:-webkit-linear-gradient(top,#f9f0a0,#c2b00c);background-image:-o-linear-gradient(top,#f9f0a0,#c2b00c);background-image:linear-gradient(to bottom,#f9f0a0,#c2b00c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f0a0', endColorstr='#ffc2b00c', GradientType=0)}#navbar .navbar-inner.yellow .brand,#navbar .navbar-inner.yellow .nav>li>a{text-shadow:0 1px 0 #c2b00c;color:#333}#navbar .navbar-inner.yellow .brand .caret,#navbar .navbar-inner.yellow .nav>li>a .caret{border-bottom-color:#93892e;border-top-color:#93892e}#navbar .navbar-inner.yellow .brand:hover .caret,#navbar .navbar-inner.yellow .nav>li>a:hover .caret,#navbar .navbar-inner.yellow .brand:focus .caret,#navbar .navbar-inner.yellow .nav>li>a:focus .caret{border-bottom-color:#635e30;border-top-color:#635e30}#navbar .navbar-inner.yellow .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.yellow .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.yellow .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.yellow .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.yellow .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#d8ca47;background-image:-moz-linear-gradient(top,#c2b00c,#f9f0a0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c2b00c),to(#f9f0a0));background-image:-webkit-linear-gradient(top,#c2b00c,#f9f0a0);background-image:-o-linear-gradient(top,#c2b00c,#f9f0a0);background-image:linear-gradient(to bottom,#c2b00c,#f9f0a0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2b00c', endColorstr='#fff9f0a0', GradientType=0)}#navbar .navbar-inner.yellow .nav>li>a:hover{background-color:#d9cc56;background-image:-moz-linear-gradient(top,#f8ed88,#aa9a0a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f8ed88),to(#aa9a0a));background-image:-webkit-linear-gradient(top,#f8ed88,#aa9a0a);background-image:-o-linear-gradient(top,#f8ed88,#aa9a0a);background-image:linear-gradient(to bottom,#f8ed88,#aa9a0a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8ed88', endColorstr='#ffaa9a0a', GradientType=0)}#navbar .navbar-inner.yellow.transparent{background-color:rgba(227,215,101,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(249,240,160,.6)),to(rgba(194,176,12,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f9f0a0', endColorstr='#99c2b00c', GradientType=0)}#navbar .navbar-inner.yellow.transparent .brand,#navbar .navbar-inner.yellow.transparent .nav>li>a{text-shadow:0 1px 0 #c2b00c;color:#333}#navbar .navbar-inner.yellow.transparent .brand .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a .caret{border-bottom-color:#93892e;border-top-color:#93892e}#navbar .navbar-inner.yellow.transparent .brand:hover .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.yellow.transparent .brand:focus .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a:focus .caret{border-bottom-color:#635e30;border-top-color:#635e30}#navbar .navbar-inner.yellow.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.yellow.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(216,202,71,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(194,176,12,.6)),to(rgba(249,240,160,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c2b00c', endColorstr='#99f9f0a0', GradientType=0)}#navbar .navbar-inner.yellow.transparent .nav>li>a:hover{background-color:rgba(217,204,86,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(248,237,136,.6)),to(rgba(170,154,10,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f8ed88', endColorstr='#99aa9a0a', GradientType=0)}#navbar .navbar-inner.green{background-color:#98f064;background-image:-moz-linear-gradient(top,#c8ffa7,#50da00);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8ffa7),to(#50da00));background-image:-webkit-linear-gradient(top,#c8ffa7,#50da00);background-image:-o-linear-gradient(top,#c8ffa7,#50da00);background-image:linear-gradient(to bottom,#c8ffa7,#50da00);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8ffa7', endColorstr='#ff50da00', GradientType=0)}#navbar .navbar-inner.green .brand,#navbar .navbar-inner.green .nav>li>a{text-shadow:0 1px 0 #50da00;color:#333}#navbar .navbar-inner.green .brand .caret,#navbar .navbar-inner.green .nav>li>a .caret{border-bottom-color:#55992e;border-top-color:#55992e}#navbar .navbar-inner.green .brand:hover .caret,#navbar .navbar-inner.green .nav>li>a:hover .caret,#navbar .navbar-inner.green .brand:focus .caret,#navbar .navbar-inner.green .nav>li>a:focus .caret{border-bottom-color:#446630;border-top-color:#446630}#navbar .navbar-inner.green .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.green .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.green .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.green .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.green .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#80e943;background-image:-moz-linear-gradient(top,#50da00,#c8ffa7);background-image:-webkit-gradient(linear,0 0,0 100%,from(#50da00),to(#c8ffa7));background-image:-webkit-linear-gradient(top,#50da00,#c8ffa7);background-image:-o-linear-gradient(top,#50da00,#c8ffa7);background-image:linear-gradient(to bottom,#50da00,#c8ffa7);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff50da00', endColorstr='#ffc8ffa7', GradientType=0)}#navbar .navbar-inner.green .nav>li>a:hover{background-color:#8ae655;background-image:-moz-linear-gradient(top,#b8ff8e,#47c100);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b8ff8e),to(#47c100));background-image:-webkit-linear-gradient(top,#b8ff8e,#47c100);background-image:-o-linear-gradient(top,#b8ff8e,#47c100);background-image:linear-gradient(to bottom,#b8ff8e,#47c100);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb8ff8e', endColorstr='#ff47c100', GradientType=0)}#navbar .navbar-inner.green.transparent{background-color:rgba(152,240,100,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,255,167,.6)),to(rgba(80,218,0,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8ffa7', endColorstr='#9950da00', GradientType=0)}#navbar .navbar-inner.green.transparent .brand,#navbar .navbar-inner.green.transparent .nav>li>a{text-shadow:0 1px 0 #50da00;color:#333}#navbar .navbar-inner.green.transparent .brand .caret,#navbar .navbar-inner.green.transparent .nav>li>a .caret{border-bottom-color:#55992e;border-top-color:#55992e}#navbar .navbar-inner.green.transparent .brand:hover .caret,#navbar .navbar-inner.green.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.green.transparent .brand:focus .caret,#navbar .navbar-inner.green.transparent .nav>li>a:focus .caret{border-bottom-color:#446630;border-top-color:#446630}#navbar .navbar-inner.green.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.green.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.green.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.green.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.green.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(128,233,67,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(80,218,0,.6)),to(rgba(200,255,167,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9950da00', endColorstr='#99c8ffa7', GradientType=0)}#navbar .navbar-inner.green.transparent .nav>li>a:hover{background-color:rgba(138,230,85,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(184,255,142,.6)),to(rgba(71,193,0,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99b8ff8e', endColorstr='#9947c100', GradientType=0)}#navbar .navbar-inner.blue{background-color:#2e63cc;background-image:-moz-linear-gradient(top,#4d88ff,#002b80);background-image:-webkit-gradient(linear,0 0,0 100%,from(#4d88ff),to(#002b80));background-image:-webkit-linear-gradient(top,#4d88ff,#002b80);background-image:-o-linear-gradient(top,#4d88ff,#002b80);background-image:linear-gradient(to bottom,#4d88ff,#002b80);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4d88ff', endColorstr='#ff002b80', GradientType=0)}#navbar .navbar-inner.blue .brand,#navbar .navbar-inner.blue .nav>li>a{text-shadow:0 1px 0 #1a66ff;color:#f2f2f2}#navbar .navbar-inner.blue .brand .caret,#navbar .navbar-inner.blue .nav>li>a .caret{border-bottom-color:#799bdf;border-top-color:#799bdf}#navbar .navbar-inner.blue .brand:hover .caret,#navbar .navbar-inner.blue .nav>li>a:hover .caret,#navbar .navbar-inner.blue .brand:focus .caret,#navbar .navbar-inner.blue .nav>li>a:focus .caret{border-bottom-color:#b6c7e9;border-top-color:#b6c7e9}#navbar .navbar-inner.blue .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.blue .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.blue .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.blue .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.blue .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#1f50b3;background-image:-moz-linear-gradient(top,#002b80,#4d88ff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#002b80),to(#4d88ff));background-image:-webkit-linear-gradient(top,#002b80,#4d88ff);background-image:-o-linear-gradient(top,#002b80,#4d88ff);background-image:linear-gradient(to bottom,#002b80,#4d88ff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff002b80', endColorstr='#ff4d88ff', GradientType=0)}#navbar .navbar-inner.blue .nav>li>a:hover{background-color:#1f55c2;background-image:-moz-linear-gradient(top,#37f,#026);background-image:-webkit-gradient(linear,0 0,0 100%,from(#37f),to(#026));background-image:-webkit-linear-gradient(top,#37f,#026);background-image:-o-linear-gradient(top,#37f,#026);background-image:linear-gradient(to bottom,#37f,#026);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3377ff', endColorstr='#ff002266', GradientType=0)}#navbar .navbar-inner.blue.transparent{background-color:rgba(46,99,204,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(77,136,255,.6)),to(rgba(0,43,128,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#994d88ff', endColorstr='#99002b80', GradientType=0)}#navbar .navbar-inner.blue.transparent .brand,#navbar .navbar-inner.blue.transparent .nav>li>a{text-shadow:0 1px 0 #1a66ff;color:#f2f2f2}#navbar .navbar-inner.blue.transparent .brand .caret,#navbar .navbar-inner.blue.transparent .nav>li>a .caret{border-bottom-color:#799bdf;border-top-color:#799bdf}#navbar .navbar-inner.blue.transparent .brand:hover .caret,#navbar .navbar-inner.blue.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.blue.transparent .brand:focus .caret,#navbar .navbar-inner.blue.transparent .nav>li>a:focus .caret{border-bottom-color:#b6c7e9;border-top-color:#b6c7e9}#navbar .navbar-inner.blue.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.blue.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.blue.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.blue.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.blue.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(31,80,179,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,43,128,.6)),to(rgba(77,136,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99002b80', endColorstr='#994d88ff', GradientType=0)}#navbar .navbar-inner.blue.transparent .nav>li>a:hover{background-color:rgba(31,85,194,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(51,119,255,.6)),to(rgba(0,34,102,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#993377ff', endColorstr='#99002266', GradientType=0)}#navbar .navbar-inner.violet{background-color:#9864f0;background-image:-moz-linear-gradient(top,#c8a7ff,#5000da);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8a7ff),to(#5000da));background-image:-webkit-linear-gradient(top,#c8a7ff,#5000da);background-image:-o-linear-gradient(top,#c8a7ff,#5000da);background-image:linear-gradient(to bottom,#c8a7ff,#5000da);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8a7ff', endColorstr='#ff5000da', GradientType=0)}#navbar .navbar-inner.violet .brand,#navbar .navbar-inner.violet .nav>li>a{text-shadow:0 1px 0 #a774ff;color:#f2f2f2}#navbar .navbar-inner.violet .brand .caret,#navbar .navbar-inner.violet .nav>li>a .caret{border-bottom-color:#b58df9;border-top-color:#b58df9}#navbar .navbar-inner.violet .brand:hover .caret,#navbar .navbar-inner.violet .nav>li>a:hover .caret,#navbar .navbar-inner.violet .brand:focus .caret,#navbar .navbar-inner.violet .nav>li>a:focus .caret{border-bottom-color:#d3bff5;border-top-color:#d3bff5}#navbar .navbar-inner.violet .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.violet .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.violet .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.violet .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.violet .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#8043e9;background-image:-moz-linear-gradient(top,#5000da,#c8a7ff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5000da),to(#c8a7ff));background-image:-webkit-linear-gradient(top,#5000da,#c8a7ff);background-image:-o-linear-gradient(top,#5000da,#c8a7ff);background-image:linear-gradient(to bottom,#5000da,#c8a7ff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5000da', endColorstr='#ffc8a7ff', GradientType=0)}#navbar .navbar-inner.violet .nav>li>a:hover{background-color:#8a55e6;background-image:-moz-linear-gradient(top,#b88eff,#4700c1);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b88eff),to(#4700c1));background-image:-webkit-linear-gradient(top,#b88eff,#4700c1);background-image:-o-linear-gradient(top,#b88eff,#4700c1);background-image:linear-gradient(to bottom,#b88eff,#4700c1);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb88eff', endColorstr='#ff4700c1', GradientType=0)}#navbar .navbar-inner.violet.transparent{background-color:rgba(152,100,240,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,167,255,.6)),to(rgba(80,0,218,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8a7ff', endColorstr='#995000da', GradientType=0)}#navbar .navbar-inner.violet.transparent .brand,#navbar .navbar-inner.violet.transparent .nav>li>a{text-shadow:0 1px 0 #a774ff;color:#f2f2f2}#navbar .navbar-inner.violet.transparent .brand .caret,#navbar .navbar-inner.violet.transparent .nav>li>a .caret{border-bottom-color:#b58df9;border-top-color:#b58df9}#navbar .navbar-inner.violet.transparent .brand:hover .caret,#navbar .navbar-inner.violet.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.violet.transparent .brand:focus .caret,#navbar .navbar-inner.violet.transparent .nav>li>a:focus .caret{border-bottom-color:#d3bff5;border-top-color:#d3bff5}#navbar .navbar-inner.violet.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.violet.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.violet.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.violet.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.violet.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(128,67,233,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(80,0,218,.6)),to(rgba(200,167,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#995000da', endColorstr='#99c8a7ff', GradientType=0)}#navbar .navbar-inner.violet.transparent .nav>li>a:hover{background-color:rgba(138,85,230,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(184,142,255,.6)),to(rgba(71,0,193,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99b88eff', endColorstr='#994700c1', GradientType=0)}#navbar .navbar-inner.black{background-color:#4f4f4f;background-image:-moz-linear-gradient(top,#787878,#121212);background-image:-webkit-gradient(linear,0 0,0 100%,from(#787878),to(#121212));background-image:-webkit-linear-gradient(top,#787878,#121212);background-image:-o-linear-gradient(top,#787878,#121212);background-image:linear-gradient(to bottom,#787878,#121212);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff787878', endColorstr='#ff121212', GradientType=0)}#navbar .navbar-inner.black .brand,#navbar .navbar-inner.black .nav>li>a{text-shadow:0 1px 0 #5e5e5e;color:#f2f2f2}#navbar .navbar-inner.black .brand .caret,#navbar .navbar-inner.black .nav>li>a .caret{border-bottom-color:#959595;border-top-color:#959595}#navbar .navbar-inner.black .brand:hover .caret,#navbar .navbar-inner.black .nav>li>a:hover .caret,#navbar .navbar-inner.black .brand:focus .caret,#navbar .navbar-inner.black .nav>li>a:focus .caret{border-bottom-color:#c4c4c4;border-top-color:#c4c4c4}#navbar .navbar-inner.black .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.black .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.black .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.black .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.black .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#3b3b3b;background-image:-moz-linear-gradient(top,#121212,#787878);background-image:-webkit-gradient(linear,0 0,0 100%,from(#121212),to(#787878));background-image:-webkit-linear-gradient(top,#121212,#787878);background-image:-o-linear-gradient(top,#121212,#787878);background-image:linear-gradient(to bottom,#121212,#787878);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff121212', endColorstr='#ff787878', GradientType=0)}#navbar .navbar-inner.black .nav>li>a:hover{background-color:#424242;background-image:-moz-linear-gradient(top,#6b6b6b,#050505);background-image:-webkit-gradient(linear,0 0,0 100%,from(#6b6b6b),to(#050505));background-image:-webkit-linear-gradient(top,#6b6b6b,#050505);background-image:-o-linear-gradient(top,#6b6b6b,#050505);background-image:linear-gradient(to bottom,#6b6b6b,#050505);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6b6b6b', endColorstr='#ff050505', GradientType=0)}#navbar .navbar-inner.black.transparent{background-color:rgba(79,79,79,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(120,120,120,.6)),to(rgba(18,18,18,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99787878', endColorstr='#99121212', GradientType=0)}#navbar .navbar-inner.black.transparent .brand,#navbar .navbar-inner.black.transparent .nav>li>a{text-shadow:0 1px 0 #5e5e5e;color:#f2f2f2}#navbar .navbar-inner.black.transparent .brand .caret,#navbar .navbar-inner.black.transparent .nav>li>a .caret{border-bottom-color:#959595;border-top-color:#959595}#navbar .navbar-inner.black.transparent .brand:hover .caret,#navbar .navbar-inner.black.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.black.transparent .brand:focus .caret,#navbar .navbar-inner.black.transparent .nav>li>a:focus .caret{border-bottom-color:#c4c4c4;border-top-color:#c4c4c4}#navbar .navbar-inner.black.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.black.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.black.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.black.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.black.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(59,59,59,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(18,18,18,.6)),to(rgba(120,120,120,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99121212', endColorstr='#99787878', GradientType=0)}#navbar .navbar-inner.black.transparent .nav>li>a:hover{background-color:rgba(66,66,66,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(107,107,107,.6)),to(rgba(5,5,5,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#996b6b6b', endColorstr='#99050505', GradientType=0)}#navbar .navbar-inner.white{background-color:#e9e9e9;background-image:-moz-linear-gradient(top,#fff,#c8c8c8);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#c8c8c8));background-image:-webkit-linear-gradient(top,#fff,#c8c8c8);background-image:-o-linear-gradient(top,#fff,#c8c8c8);background-image:linear-gradient(to bottom,#fff,#c8c8c8);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffc8c8c8', GradientType=0)}#navbar .navbar-inner.white .brand,#navbar .navbar-inner.white .nav>li>a{text-shadow:0 1px 0 #c8c8c8;color:#333}#navbar .navbar-inner.white .brand .caret,#navbar .navbar-inner.white .nav>li>a .caret{border-bottom-color:#919191;border-top-color:#919191}#navbar .navbar-inner.white .brand:hover .caret,#navbar .navbar-inner.white .nav>li>a:hover .caret,#navbar .navbar-inner.white .brand:focus .caret,#navbar .navbar-inner.white .nav>li>a:focus .caret{border-bottom-color:#626262;border-top-color:#626262}#navbar .navbar-inner.white .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.white .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.white .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.white .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.white .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#dedede;background-image:-moz-linear-gradient(top,#c8c8c8,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8c8c8),to(#fff));background-image:-webkit-linear-gradient(top,#c8c8c8,#fff);background-image:-o-linear-gradient(top,#c8c8c8,#fff);background-image:linear-gradient(to bottom,#c8c8c8,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8c8c8', endColorstr='#ffffffff', GradientType=0)}#navbar .navbar-inner.white .nav>li>a:hover{background-color:#dcdcdc;background-image:-moz-linear-gradient(top,#f2f2f2,#bbb);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#bbb));background-image:-webkit-linear-gradient(top,#f2f2f2,#bbb);background-image:-o-linear-gradient(top,#f2f2f2,#bbb);background-image:linear-gradient(to bottom,#f2f2f2,#bbb);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffbbbbbb', GradientType=0)}#navbar .navbar-inner.white.transparent{background-color:rgba(233,233,233,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.6)),to(rgba(200,200,200,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#99c8c8c8', GradientType=0)}#navbar .navbar-inner.white.transparent .brand,#navbar .navbar-inner.white.transparent .nav>li>a{text-shadow:0 1px 0 #c8c8c8;color:#333}#navbar .navbar-inner.white.transparent .brand .caret,#navbar .navbar-inner.white.transparent .nav>li>a .caret{border-bottom-color:#919191;border-top-color:#919191}#navbar .navbar-inner.white.transparent .brand:hover .caret,#navbar .navbar-inner.white.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.white.transparent .brand:focus .caret,#navbar .navbar-inner.white.transparent .nav>li>a:focus .caret{border-bottom-color:#626262;border-top-color:#626262}#navbar .navbar-inner.white.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.white.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.white.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.white.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.white.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(222,222,222,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,200,200,.6)),to(rgba(255,255,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8c8c8', endColorstr='#99ffffff', GradientType=0)}#navbar .navbar-inner.white.transparent .nav>li>a:hover{background-color:rgba(220,220,220,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(242,242,242,.6)),to(rgba(187,187,187,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f2f2f2', endColorstr='#99bbbbbb', GradientType=0)}#navbar .navbar-inner .brand{padding:10px 20px 6px}#navbar .navbar-inner .brand span{padding-left:26px;background-size:20px 20px;background-repeat:no-repeat;display:inline-block;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top;line-height:20px;height:24px}#navbar_login a.dropdown-toggle span{display:inline-block;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top}.octoprint-container{margin-top:20px}.octoprint-container .tab-content{padding:9px 15px;border-left:1px solid #DDD;border-right:1px solid #DDD;border-bottom:1px solid #DDD;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.octoprint-container .nav{margin-bottom:0}.octoprint-container .tab-content h1{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:40px;color:#333;border:0;border-bottom:1px solid #E5E5E5;font-weight:400}.octoprint-container .accordion-heading .accordion-heading-button{float:right}.octoprint-container .accordion-heading .accordion-heading-button a{display:inline-block;padding:8px 15px;font-size:14px;line-height:20px;color:#000;text-decoration:none;background:0 0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.octoprint-container .accordion-heading a.accordion-toggle{display:inline-block}.octoprint-container .accordion-heading [class^=icon-],.octoprint-container .accordion-heading [class*=" icon-"]{color:#000}.print-control .btn{padding-left:4px;padding-right:4px}.upload-buttons .btn{margin-right:0}table{table-layout:fixed}table .popover-title{text-overflow:ellipsis;word-break:break-all}table th,table td{overflow:hidden}table th.gcode_files_name,table td.gcode_files_name{text-overflow:ellipsis;text-align:left;white-space:nowrap}table th.gcode_files_action,table td.gcode_files_action{width:90px;text-align:center;white-space:nowrap}table th.gcode_files_action a,table td.gcode_files_action a{text-decoration:none;color:#000}table th.gcode_files_action a.disabled,table td.gcode_files_action a.disabled{color:#ccc;cursor:default}table th.timelapse_files_checkbox,table td.timelapse_files_checkbox,table th.timelapse_unrendered_checkbox,table td.timelapse_unrendered_checkbox{text-align:center;width:10px}table th.timelapse_files_checkbox input[type=checkbox],table td.timelapse_files_checkbox input[type=checkbox],table th.timelapse_unrendered_checkbox input[type=checkbox],table td.timelapse_unrendered_checkbox input[type=checkbox]{margin-top:0}table th.timelapse_files_name,table td.timelapse_files_name,table th.timelapse_unrendered_name,table td.timelapse_unrendered_name{text-overflow:ellipsis;text-align:left}table th.timelapse_files_size,table td.timelapse_files_size{text-align:right;width:55px}table th.timelapse_unrendered_size,table td.timelapse_unrendered_size{text-align:right;width:55px}table th.timelapse_unrendered_count,table td.timelapse_unrendered_count{text-align:right;width:45px}table th.timelapse_files_action,table td.timelapse_files_action,table th.timelapse_unrendered_action,table td.timelapse_unrendered_action{width:45px;text-align:center;white-space:nowrap}table th.timelapse_files_action a,table td.timelapse_files_action a,table th.timelapse_unrendered_action a,table td.timelapse_unrendered_action a{text-decoration:none;color:#000}table th.timelapse_files_action a.disabled,table td.timelapse_files_action a.disabled,table th.timelapse_unrendered_action a.disabled,table td.timelapse_unrendered_action a.disabled{color:#ccc;cursor:default}table th.settings_users_name,table td.settings_users_name{text-overflow:ellipsis;text-align:left;width:100px}table th.settings_users_active,table td.settings_users_active{text-align:center;width:55px}table th table.settings_users_details_table,table td table.settings_users_details_table{font-size:.8em;margin-bottom:0}table th table.settings_users_details_table .settings_users_details_key,table td table.settings_users_details_table .settings_users_details_key{width:100px}table th table.settings_users_details_table th,table td table.settings_users_details_table th,table th table.settings_users_details_table td,table td table.settings_users_details_table td{border:0;padding:0}table th.settings_groups_default,table td.settings_groups_default{text-align:center;width:20px}table th.settings_groups_name,table td.settings_groups_name{width:180px}table th table.settings_groups_details_table,table td table.settings_groups_details_table{font-size:.8em;margin-bottom:0}table th table.settings_groups_details_table .settings_groups_details_key,table td table.settings_groups_details_table .settings_groups_details_key{width:100px}table th table.settings_groups_details_table th,table td table.settings_groups_details_table th,table th table.settings_groups_details_table td,table td table.settings_groups_details_table td{border:0;padding:0}table th.settings_users_actions,table td.settings_users_actions,table th.settings_groups_actions,table td.settings_groups_actions{width:60px;text-align:center;white-space:nowrap}table th.settings_users_actions a,table td.settings_users_actions a,table th.settings_groups_actions a,table td.settings_groups_actions a{text-decoration:none;color:#000}table th.settings_users_actions a.disabled,table td.settings_users_actions a.disabled,table th.settings_groups_actions a.disabled,table td.settings_groups_actions a.disabled{color:#ccc;cursor:default}table th.settings_accesscontrol_permissions_list_checkbox,table td.settings_accesscontrol_permissions_list_checkbox{width:20px}table th.settings_accesscontrol_groups_list_checkbox,table td.settings_accesscontrol_groups_list_checkbox{width:20px}table th.settings_accesscontrol_subgroups_list_checkbox,table td.settings_accesscontrol_subgroups_list_checkbox{width:20px}table th #settings-usersDialogAddUser,table td #settings-usersDialogAddUser,table th #settings-usersDialogEditUser,table td #settings-usersDialogEditUser{position:relative;top:50%;transform:translateY(-50%);margin-top:0!important}table th.settings_printerProfiles_profiles_name,table td.settings_printerProfiles_profiles_name{text-overflow:ellipsis;text-align:left}table th.settings_printerProfiles_profiles_model,table td.settings_printerProfiles_profiles_model{text-align:left;width:250px}table th.settings_printerProfiles_profiles_action,table td.settings_printerProfiles_profiles_action{width:80px;text-align:center;white-space:nowrap}table th.settings_printerProfiles_profiles_action a,table td.settings_printerProfiles_profiles_action a{text-decoration:none;color:#000}table th.settings_printerProfiles_profiles_action a.disabled,table td.settings_printerProfiles_profiles_action a.disabled{color:#ccc;cursor:default}#temperature-graph{height:350px;width:100%;background:url(../img/graph-background.png) no-repeat center}#temperature-table{table-layout:fixed;width:100%;margin-top:20px}#temperature-table th,#temperature-table td{line-height:25px}#temperature-table th.temperature_tool,#temperature-table td.temperature_tool,#temperature-table th.temperature_actual,#temperature-table td.temperature_actual,#temperature-table th.temperature_target,#temperature-table td.temperature_target,#temperature-table th.temperature_offset,#temperature-table td.temperature_offset{vertical-align:middle;text-align:center}#temperature-table th.temperature_tool form,#temperature-table td.temperature_tool form,#temperature-table th.temperature_actual form,#temperature-table td.temperature_actual form,#temperature-table th.temperature_target form,#temperature-table td.temperature_target form,#temperature-table th.temperature_offset form,#temperature-table td.temperature_offset form{margin:0}#temperature-table th.temperature_tool .dropdown-menu,#temperature-table td.temperature_tool .dropdown-menu,#temperature-table th.temperature_actual .dropdown-menu,#temperature-table td.temperature_actual .dropdown-menu,#temperature-table th.temperature_target .dropdown-menu,#temperature-table td.temperature_target .dropdown-menu,#temperature-table th.temperature_offset .dropdown-menu,#temperature-table td.temperature_offset .dropdown-menu{text-align:left}#temperature-table th.temperature_tool,#temperature-table td.temperature_tool{width:16%;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#temperature-table th.temperature_actual,#temperature-table td.temperature_actual{width:12%}#temperature-table th.temperature_target,#temperature-table td.temperature_target{width:42%;overflow:visible}#temperature-table th.temperature_offset,#temperature-table td.temperature_offset{width:30%}.tab-content,.tab-pane{overflow:visible}#temp_newTemp,#temp_newBedTemp,#speed_innerWall,#speed_outerWall,#speed_fill,#speed_support,#webcam_timelapse_interval,#webcam_timelapse_postRoll,#webcam_timelapse_fps,#webcam_timelapse_retractionZHop{text-align:right}ul.dropdown-menu li a{cursor:pointer}#connection_ports,#connection_baudrates,#connection_printers{width:100%}#offline_overlay,#reloadui_overlay{position:fixed;top:0;left:0;width:100%;height:100%;display:none}#offline_overlay{z-index:10002}#reloadui_overlay{z-index:10001}#offline_overlay_background,#reloadui_overlay_background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#offline_overlay_wrapper,#reloadui_overlay_wrapper{position:absolute;top:0;bottom:0;left:0;right:0;padding-top:60px}#offline_overlay_wrapper .container,#reloadui_overlay_wrapper .container{margin:auto}#webcam_container{width:100%;position:relative;outline:0;background-color:#000}#webcam_container .keycontrol_overlay{position:absolute;left:10px;right:10px;bottom:10px;background:rgba(0,0,0,.5);font-size:85%;color:#fff;padding:0}#webcam_container .keycontrol_overlay kbd{border:1px solid #eee;border-radius:3px;margin-left:2px;margin-right:2px;font-size:90%;padding:2px;min-width:1em}#webcam_container .keycontrol_overlay .keycontrol_overlay_heading{position:relative;padding:10px;font-weight:700}#webcam_container .keycontrol_overlay .keycontrol_overlay_column{position:relative;width:45%;padding:10px;float:left}#webcam_container .nowebcam{position:absolute;top:0;left:0;right:0;bottom:0}#webcam_container .nowebcam .text{color:#fff;text-align:center;position:relative;margin:auto;width:80%;top:50%;transform:translateY(-50%);display:block}#webcam_container .nowebcam .text.webcam_loading{animation:pulsate 3s ease-out;animation-iteration-count:infinite}#webcam_container .webcam_rotated{position:relative;width:100%;padding-bottom:100%;pointer-events:none}#webcam_container .webcam_rotated .webcam_fixed_ratio{position:absolute;transform:rotate(-90deg);top:0;bottom:0;pointer-events:none}#webcam_container .webcam_rotated .webcam_fixed_ratio .webcam_fixed_ratio_inner{width:100%;height:100%;pointer-events:none}#webcam_container .webcam_unrotated .webcam_fixed_ratio{width:100%;pointer-events:none;padding-bottom:100%;position:relative}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio43{padding-bottom:75%}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio169{padding-bottom:56.25%}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio1610{padding-bottom:62.5%}#webcam_container .webcam_unrotated .webcam_fixed_ratio .webcam_fixed_ratio_inner{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none}#webcam_container img{width:100%;height:100%;object-fit:contain}#state_wrapper hr{margin:5px 0}#files .gcode_files .scroll-wrapper{overflow-x:hidden;overflow-y:scroll;height:306px;padding-right:2px}#files .gcode_files .entry{padding:5px;line-height:20px;border-bottom:1px solid #ddd;position:relative}#files .gcode_files .entry:hover{background-color:#f5f5f5}#files .gcode_files .entry .title{text-overflow:ellipsis;word-break:break-all}#files .gcode_files .entry .toggleAdditionalData{margin-left:5px}#files .gcode_files .entry .internal,#files .gcode_files .entry .uploaded,#files .gcode_files .entry .size,#files .gcode_files .entry .additionalInfo{font-size:85%;color:#999}#files .gcode_files .entry .uploaded [title]{cursor:help}#files .gcode_files .entry .internal{word-break:break-all}#files .gcode_files .entry .action-buttons{position:absolute;bottom:5px;right:5px}#files .gcode_files .entry .additionalInfo{padding-bottom:22px}@keyframes highlightframes{0%{background:#ff0}100%{background:0 0}}#files .gcode_files .entry.highlight{animation:highlightframes 2s}#files .gcode_files .back .back-path{white-space:nowrap}#files .gcode_files .back .back-path span{word-wrap:break-word;white-space:pre-line}#files .upload-buttons{margin-top:10px}#files .form-search{text-align:center;margin-bottom:5px!important}#control{overflow:hidden}#control .jog-panel{float:left;margin-right:19px}#control h1{text-align:left}#control .jog-panel>div{text-align:center}#control .jog-panel>div.distance{text-align:left}#control .jog-panel .slider{margin-bottom:10px}#control .box{width:30px;height:30px;margin-right:10px;margin-bottom:10px;padding-left:8px}#control .control-box{display:block;height:30px;margin-bottom:10px}#control .btn-group{margin-bottom:10px}#control .btn-group.distance>.btn{width:43px;padding:3px 0;height:30px}#control .slider-handle{width:14px;height:14px;margin-left:-7px;margin-top:-3px}#control .custom_section h1{cursor:pointer}#control .custom_section_horizontal>.custom_control{display:inline-block}#control .custom_section_vertical>.custom_control{display:block}#control .custom_control .slider{margin-left:10px;margin-right:10px;margin-bottom:2px}#control .pulsate_text_opacity{animation:pulsate_input 1s ease-out;animation-iteration-count:infinite}@keyframes pulsate_input{0%{color:#555}50%{color:rgba(85,85,85,.2)}100%{color:#555}}#term .terminal{margin-bottom:30px}#term .terminal #terminal-output,#term .terminal #terminal-output-lowfi{min-height:340px;margin-bottom:5px}#settings_dialog .aboutlink{float:left}#settings_dialog_menu,#wizard_dialog_menu{margin-left:0}#wizard_firstrun_acl .acl_decision{margin-top:1em}#wizard_firstrun_start p,#wizard_firstrun_end p{margin-bottom:1.5em;line-height:1.5}#settings_appearance_managelanguagesdialog_list{width:auto;height:300px;overflow-x:hidden;overflow-y:scroll;padding-right:2px}#settings_appearance_managelanguagesdialog_emptylist{overflow:hidden;width:100%;height:300px;text-align:center;display:table}#settings_appearance_managelanguagesdialog_emptylist div{display:table-cell;vertical-align:middle}#about_sponsors ul{columns:3;-webkit-columns:3;-moz-columns:3}#about_authors ul{columns:3;-webkit-columns:3;-moz-columns:3}.footer ul{margin:0}.footer ul li{display:inline;margin-left:1em;font-size:85%}.footer ul li:first-child{margin-left:0}.footer ul li a{color:#555}.footer #footer_version,.footer #footer_link{max-width:50%}.ui-pnotify{position:fixed}.ui-pnotify .alert a{color:#c09853}.ui-pnotify .alert-error a,.ui-pnotify .alert-danger a{color:#b94a48}.ui-pnotify .alert-success a{color:#468847}.ui-pnotify .alert-info a{color:#3a87ad}.pnotify_additional_info .pnotify_more{font-size:85%}.text-right{text-align:right}.text-center{text-align:center}.text-block{display:block}.overflow_visible{overflow:visible!important}.clickable{cursor:pointer}.border_box{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.hidden{display:none}textarea.block{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}@keyframes pulsate{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}#drop_overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:none}#drop_overlay.in{display:block}#drop_overlay #drop_overlay_background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#drop_overlay #drop_overlay_wrapper{position:absolute;top:0;bottom:0;left:0;right:0;padding-top:60px}#drop_overlay #drop_overlay_wrapper #drop,#drop_overlay #drop_overlay_wrapper #drop_background{position:absolute;top:0;left:0;margin-left:0;width:100%}#drop_overlay #drop_overlay_wrapper #drop_locally,#drop_overlay #drop_overlay_wrapper #drop_locally_background{position:absolute;top:0;left:50%;margin-left:-50%;width:50%;border-right:2px dashed #ccc}#drop_overlay #drop_overlay_wrapper #drop_sd,#drop_overlay #drop_overlay_wrapper #drop_sd_background{position:absolute;top:0;left:50%;margin-left:0;width:50%;border-left:2px dashed #ccc}#drop_overlay #drop_overlay_wrapper .dropzone{height:100%;z-index:10001;color:#fff;font-size:30px}#drop_overlay #drop_overlay_wrapper .dropzone i{font-size:50px}#drop_overlay #drop_overlay_wrapper .dropzone .text{display:block;text-align:center;line-height:40px;position:absolute;width:100%;bottom:5%;filter:alpha(opacity=100);-moz-opacity:1;-khtml-opacity:1;opacity:1}#drop_overlay #drop_overlay_wrapper .dropzone_background{width:50%;height:100%;background-color:#000;filter:alpha(opacity=25);-moz-opacity:.25;-khtml-opacity:.25;opacity:.25}#drop_overlay #drop_overlay_wrapper .dropzone_background.hover{background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#drop_overlay #drop_overlay_wrapper .dropzone_background.fade{-webkit-transition:all .3s ease-out;-moz-transition:all .3s ease-out;-ms-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out;opacity:1}.icon-sd-black-14{background:url(../img/icon-sd-black-14.png) 0 3px no-repeat;width:11px;height:17px;display:inline-block!important}.center{float:none;margin-left:auto;margin-right:auto}.flipH{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1)}.flipV{-webkit-transform:scaleY(-1);-moz-transform:scaleY(-1);-ms-transform:scaleY(-1);transform:scaleY(-1)}.flipH.flipV{-webkit-transform:scaleX(-1) scaleY(-1);-moz-transform:scaleX(-1) scaleY(-1);-ms-transform:scaleX(-1) scaleY(-1);transform:scaleX(-1) scaleY(-1)}.rotate90{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ui-pnotify a{text-decoration:underline}.btn-mini .caret,.btn-small .caret{margin-top:8px}.dropdown-menu-right{right:0;left:auto}.slider .slider-selection{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.slider .slider-selection:hover,.slider .slider-selection:focus,.slider .slider-selection:active,.slider .slider-selection.active,.slider .slider-selection.disabled,.slider .slider-selection[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.slider .slider-selection:active,.slider .slider-selection.active{background-color:#039 \9}.slider.slider-disabled .slider-selection{background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-track{background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.slider.slider-disabled .slider-track{background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-handle{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);padding:0;margin-bottom:0;opacity:1;filter:alpha(opacity=100)}.slider .slider-handle:hover,.slider .slider-handle:focus,.slider .slider-handle:active,.slider .slider-handle.active,.slider .slider-handle.disabled,.slider .slider-handle[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.slider .slider-handle:active,.slider .slider-handle.active{background-color:#ccc \9}.slider .slider-handle:first-child{*margin-left:0}.slider .slider-handle:hover,.slider .slider-handle:focus{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.slider .slider-handle:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.slider .slider-handle.active,.slider .slider-handle:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.slider .slider-handle.disabled,.slider .slider-handle[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-handle.hide{display:none}.slider .slider-handle.round{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.modal.large{width:975px;margin-left:-487px}.full-sized-box{position:absolute;bottom:0;left:0;right:0;top:0;padding:15px}.full-sized-box .row-fluid{height:100%}@media (max-width:979px){.full-sized-box{position:static}}_::-webkit-full-page-media,_:future,:root .full-sized-box{position:static}.scrollable{height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.pre-output span{display:block}.input-append .add-on.add-on-limited,.input-prepend .add-on.add-on-limited{overflow-x:hidden;text-overflow:ellipsis;width:inherit}.input-append .btn-group:first-child .btn:first-child,.input-prepend .btn-group:first-child .btn:first-child{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-append .btn-group .btn:first-child,.input-prepend .btn-group .btn:first-child{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append.input-block-level,.input-prepend.input-block-level{display:table}.input-append.input-block-level .add-on,.input-prepend.input-block-level .add-on{display:table-cell;width:1%}.input-append.input-block-level>input,.input-prepend.input-block-level>input{box-sizing:border-box;display:table;min-height:inherit;width:100%}.input-append.input-block-level :not(:last-child),.input-prepend.input-block-level :not(:last-child){border-right:0}.control-group.error .input-prepend .fileinput-button,.control-group.error .input-append .fileinput-button{border-color:#b94a48}.control-text{padding-top:5px;cursor:default}input[type=number]{text-align:right}input[type=number].input-nospin::-webkit-outer-spin-button,input[type=number].input-nospin::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number].input-nospin{-moz-appearance:textfield}.progress-text,.progress-text-centered{position:relative}.progress-text .progress-text-front,.progress-text-centered .progress-text-front,.progress-text .progress-text-back,.progress-text-centered .progress-text-back{white-space:nowrap}.progress-text .progress-text-front,.progress-text-centered .progress-text-front{box-sizing:border-box;padding:0 10px;width:100%;display:block}.progress-text .progress-text-back,.progress-text-centered .progress-text-back{position:absolute;font-size:12px;line-height:20px;display:block;box-sizing:border-box;text-align:center;padding:0 10px}.progress-text .bar,.progress-text-centered .bar{position:absolute;overflow:hidden}.progress-text-centered .progress-text-front{position:absolute;font-size:12px;line-height:20px;display:block;text-align:center;color:#fff}.progress-text-centered .progress-text-back{width:100%}.search-query-with-clear{position:relative}.search-query-with-clear .search-clear{display:inline-block;color:#ccc;position:absolute;right:28px;height:20px;padding:4px 0;cursor:pointer;visibility:hidden}.search-query-with-clear.active-clear .search-query{padding-right:28px;width:192px}.search-query-with-clear.active-clear .search-clear{visibility:visible}.search-query-with-clear input::-ms-clear{display:none}.search-query-with-clear input[type=search]::-webkit-search-decoration,.search-query-with-clear input[type=search]::-webkit-search-cancel-button,.search-query-with-clear input[type=search]::-webkit-search-results-button,.search-query-with-clear input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}#navbar_login:not(.open) #login_dropdown_loggedout{display:block;z-index:-1;height:0;width:0;padding:0!important;overflow:hidden;border:0;box-shadow:none;left:-9999px}#navbar_login:not(.open) #login_dropdown_loggedout.hide{display:none}#loginForm{margin:0}#loginForm button{margin-top:20px}#page-container-loading{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:12301}#page-container-loading .wrapper{position:absolute;top:0;bottom:0;left:0;right:0}#page-container-loading .wrapper .outer{display:table;width:100%;height:100%}#page-container-loading .wrapper .outer .inner{display:table-cell;vertical-align:middle}#page-container-loading .wrapper .outer .inner .content{text-align:center}#page-container-noscript{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:12310}#page-container-noscript .wrapper{position:absolute;top:0;bottom:0;left:0;right:0}#page-container-noscript .wrapper .outer{display:table;width:100%;height:100%}#page-container-noscript .wrapper .outer .inner{display:table-cell;vertical-align:middle}#page-container-noscript .wrapper .outer .inner .content{text-align:center} \ No newline at end of file diff --git a/src/octoprint/static/gcodeviewer/js/renderer3d.js b/src/octoprint/static/gcodeviewer/js/renderer3d.js deleted file mode 100644 index 3e7220e07..000000000 --- a/src/octoprint/static/gcodeviewer/js/renderer3d.js +++ /dev/null @@ -1,206 +0,0 @@ -/** - * User: hudbrog (hudbrog@gmail.com) - * Date: 10/21/12 - * Time: 4:59 PM - */ -GCODE.renderer3d = (function(){ -// ***** PRIVATE ****** - var modelLoaded=false; - var model; - var prevX=0, prevY= 0, prevZ=0; - var sliderHor, sliderVer; - var object; - var geometry; - - var WIDTH = 650, HEIGHT = 630; - var VIEW_ANGLE = 70, - ASPECT = WIDTH / HEIGHT, - NEAR = 0.1, - FAR = 10000; - - var renderer; - var scene; - var camera = new THREE.PerspectiveCamera(VIEW_ANGLE, ASPECT, NEAR, FAR); - var controls; - var halfWidth = window.innerWidth / 2; - var halfHeight = window.innerHeight / 2; - var mouseX = 0, mouseY = 0; - - var renderOptions = { - showMoves: true, - colorLine: 0x000000, - colorMove: 0x00ff00, - rendererType: "webgl" - }; - - var render = function(){ - controls.update(); - renderer.render(scene, camera); - requestAnimationFrame(render); - }; - - - var buildModelIteration = function(layerNum){ - var j; - var cmds = model[layerNum]; - if(!cmds)return; - for(j=0;j 1.0 ) { - - mouseOnBall.normalize(); - - } else { - - mouseOnBall.z = Math.sqrt( 1.0 - length * length ); - - } - - _eye.copy( _this.object.position ).subSelf( _this.target ); - - var projection = _this.object.up.clone().setLength( mouseOnBall.y ); - projection.addSelf( _this.object.up.clone().crossSelf( _eye ).setLength( mouseOnBall.x ) ); - projection.addSelf( _eye.setLength( mouseOnBall.z ) ); - - return projection; - - }; - - this.rotateCamera = function () { - - var angle = Math.acos( _rotateStart.dot( _rotateEnd ) / _rotateStart.length() / _rotateEnd.length() ); - - if ( angle ) { - - var axis = ( new THREE.Vector3() ).cross( _rotateStart, _rotateEnd ).normalize(), - quaternion = new THREE.Quaternion(); - - angle *= _this.rotateSpeed; - - quaternion.setFromAxisAngle( axis, -angle ); - - quaternion.multiplyVector3( _eye ); - quaternion.multiplyVector3( _this.object.up ); - - quaternion.multiplyVector3( _rotateEnd ); - - if ( _this.staticMoving ) { - - _rotateStart.copy( _rotateEnd ); - - } else { - - quaternion.setFromAxisAngle( axis, angle * ( _this.dynamicDampingFactor - 1.0 ) ); - quaternion.multiplyVector3( _rotateStart ); - - } - - } - - }; - - this.zoomCamera = function () { - - var factor = 1.0 + ( _zoomEnd.y - _zoomStart.y ) * _this.zoomSpeed; - - if ( factor !== 1.0 && factor > 0.0 ) { - - _eye.multiplyScalar( factor ); - - if ( _this.staticMoving ) { - - _zoomStart.copy( _zoomEnd ); - - } else { - - _zoomStart.y += ( _zoomEnd.y - _zoomStart.y ) * this.dynamicDampingFactor; - - } - - } - - }; - - this.panCamera = function () { - - var mouseChange = _panEnd.clone().subSelf( _panStart ); - - if ( mouseChange.lengthSq() ) { - - mouseChange.multiplyScalar( _eye.length() * _this.panSpeed ); - - var pan = _eye.clone().crossSelf( _this.object.up ).setLength( mouseChange.x ); - pan.addSelf( _this.object.up.clone().setLength( mouseChange.y ) ); - - _this.object.position.addSelf( pan ); - _this.target.addSelf( pan ); - - if ( _this.staticMoving ) { - - _panStart = _panEnd; - - } else { - - _panStart.addSelf( mouseChange.sub( _panEnd, _panStart ).multiplyScalar( _this.dynamicDampingFactor ) ); - - } - - } - - }; - - this.checkDistances = function () { - - if ( !_this.noZoom || !_this.noPan ) { - - if ( _this.object.position.lengthSq() > _this.maxDistance * _this.maxDistance ) { - - _this.object.position.setLength( _this.maxDistance ); - - } - - if ( _eye.lengthSq() < _this.minDistance * _this.minDistance ) { - - _this.object.position.add( _this.target, _eye.setLength( _this.minDistance ) ); - - } - - } - - }; - - this.update = function () { - - _eye.copy( _this.object.position ).subSelf( _this.target ); - - if ( !_this.noRotate ) { - - _this.rotateCamera(); - - } - - if ( !_this.noZoom ) { - - _this.zoomCamera(); - - } - - if ( !_this.noPan ) { - - _this.panCamera(); - - } - - _this.object.position.add( _this.target, _eye ); - - _this.checkDistances(); - - _this.object.lookAt( _this.target ); - - if ( lastPosition.distanceToSquared( _this.object.position ) > 0 ) { - - _this.dispatchEvent( changeEvent ); - - lastPosition.copy( _this.object.position ); - - } - - }; - - // listeners - - function keydown( event ) { - - if ( ! _this.enabled ) return; - - window.removeEventListener( 'keydown', keydown ); - - _prevState = _state; - - if ( _state !== STATE.NONE ) { - - return; - - } else if ( event.keyCode === _this.keys[ STATE.ROTATE ] && !_this.noRotate ) { - - _state = STATE.ROTATE; - - } else if ( event.keyCode === _this.keys[ STATE.ZOOM ] && !_this.noZoom ) { - - _state = STATE.ZOOM; - - } else if ( event.keyCode === _this.keys[ STATE.PAN ] && !_this.noPan ) { - - _state = STATE.PAN; - - } - - } - - function keyup( event ) { - - if ( ! _this.enabled ) return; - - _state = _prevState; - - window.addEventListener( 'keydown', keydown, false ); - - } - - function mousedown( event ) { - - if ( ! _this.enabled ) return; - - event.preventDefault(); - event.stopPropagation(); - - if ( _state === STATE.NONE ) { - - _state = event.button; - - } - - if ( _state === STATE.ROTATE && !_this.noRotate ) { - - _rotateStart = _rotateEnd = _this.getMouseProjectionOnBall( event.clientX, event.clientY ); - - } else if ( _state === STATE.ZOOM && !_this.noZoom ) { - - _zoomStart = _zoomEnd = _this.getMouseOnScreen( event.clientX, event.clientY ); - - } else if ( _state === STATE.PAN && !_this.noPan ) { - - _panStart = _panEnd = _this.getMouseOnScreen( event.clientX, event.clientY ); - - } - - document.addEventListener( 'mousemove', mousemove, false ); - document.addEventListener( 'mouseup', mouseup, false ); - - } - - function mousemove( event ) { - - if ( ! _this.enabled ) return; - - if ( _state === STATE.ROTATE && !_this.noRotate ) { - - _rotateEnd = _this.getMouseProjectionOnBall( event.clientX, event.clientY ); - - } else if ( _state === STATE.ZOOM && !_this.noZoom ) { - - _zoomEnd = _this.getMouseOnScreen( event.clientX, event.clientY ); - - } else if ( _state === STATE.PAN && !_this.noPan ) { - - _panEnd = _this.getMouseOnScreen( event.clientX, event.clientY ); - - } - - } - - function mouseup( event ) { - - if ( ! _this.enabled ) return; - - event.preventDefault(); - event.stopPropagation(); - - _state = STATE.NONE; - - document.removeEventListener( 'mousemove', mousemove ); - document.removeEventListener( 'mouseup', mouseup ); - - } - - function mousewheel( event ) { - - if ( ! _this.enabled ) return; - - event.preventDefault(); - event.stopPropagation(); - - var delta = 0; - - if ( event.wheelDelta ) { // WebKit / Opera / Explorer 9 - - delta = event.wheelDelta / 40; - - } else if ( event.detail ) { // Firefox - - delta = - event.detail / 3; - - } - - _zoomStart.y += ( 1 / delta ) * 0.05; - - } - - this.domElement.addEventListener( 'contextmenu', function ( event ) { event.preventDefault(); }, false ); - - this.domElement.addEventListener( 'mousedown', mousedown, false ); - this.domElement.addEventListener( 'DOMMouseScroll', mousewheel, false ); - this.domElement.addEventListener( 'mousewheel', mousewheel, false ); - - window.addEventListener( 'keydown', keydown, false ); - window.addEventListener( 'keyup', keyup, false ); - - this.handleResize(); - -}; diff --git a/src/octoprint/static/gcodeviewer/lib/codemirror.css b/src/octoprint/static/gcodeviewer/lib/codemirror.css deleted file mode 100644 index 41b8d09e1..000000000 --- a/src/octoprint/static/gcodeviewer/lib/codemirror.css +++ /dev/null @@ -1,174 +0,0 @@ -.CodeMirror { - line-height: 1em; - font-family: monospace; - - /* Necessary so the scrollbar can be absolutely positioned within the wrapper on Lion. */ - position: relative; - /* This prevents unwanted scrollbars from showing up on the body and wrapper in IE. */ - overflow: hidden; -} - -.CodeMirror-scroll { - overflow: auto; - height: 300px; - /* This is needed to prevent an IE[67] bug where the scrolled content - is visible outside of the scrolling box. */ - position: relative; - outline: none; -} - -/* Vertical scrollbar */ -.CodeMirror-scrollbar { - position: absolute; - right: 0; top: 0; - overflow-x: hidden; - overflow-y: scroll; - z-index: 5; -} -.CodeMirror-scrollbar-inner { - /* This needs to have a nonzero width in order for the scrollbar to appear - in Firefox and IE9. */ - width: 1px; -} -.CodeMirror-scrollbar.cm-sb-overlap { - /* Ensure that the scrollbar appears in Lion, and that it overlaps the content - rather than sitting to the right of it. */ - position: absolute; - z-index: 1; - float: none; - right: 0; - min-width: 12px; -} -.CodeMirror-scrollbar.cm-sb-nonoverlap { - min-width: 12px; -} -.CodeMirror-scrollbar.cm-sb-ie7 { - min-width: 18px; -} - -.CodeMirror-gutter { - position: absolute; left: 0; top: 0; - z-index: 10; - background-color: #f7f7f7; - border-right: 1px solid #eee; - min-width: 2em; - height: 100%; -} -.CodeMirror-gutter-text { - color: #aaa; - text-align: right; - padding: .4em .2em .4em .4em; - white-space: pre !important; - cursor: default; -} -.CodeMirror-lines { - padding: .4em; - white-space: pre; - cursor: text; -} - -.CodeMirror pre { - -moz-border-radius: 0; - -webkit-border-radius: 0; - -o-border-radius: 0; - border-radius: 0; - border-width: 0; margin: 0; padding: 0; background: transparent; - font-family: inherit; - font-size: inherit; - padding: 0; margin: 0; - white-space: pre; - word-wrap: normal; - line-height: inherit; - color: inherit; - overflow: visible; -} - -.CodeMirror-wrap pre { - word-wrap: break-word; - white-space: pre-wrap; - word-break: normal; -} -.CodeMirror-wrap .CodeMirror-scroll { - overflow-x: hidden; -} - -.CodeMirror textarea { - outline: none !important; -} - -.CodeMirror pre.CodeMirror-cursor { - z-index: 10; - position: absolute; - visibility: hidden; - border-left: 1px solid black; - border-right: none; - width: 0; -} -.cm-keymap-fat-cursor pre.CodeMirror-cursor { - width: auto; - border: 0; - background: transparent; - background: rgba(0, 200, 0, .4); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6600c800, endColorstr=#4c00c800); -} -/* Kludge to turn off filter in ie9+, which also accepts rgba */ -.cm-keymap-fat-cursor pre.CodeMirror-cursor:not(#nonsense_id) { - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); -} -.CodeMirror pre.CodeMirror-cursor.CodeMirror-overwrite {} -.CodeMirror-focused pre.CodeMirror-cursor { - visibility: visible; -} - -div.CodeMirror-selected { background: #d9d9d9; } -.CodeMirror-focused div.CodeMirror-selected { background: #d7d4f0; } - -.CodeMirror-searching { - background: #ffa; - background: rgba(255, 255, 0, .4); -} - -/* Default theme */ - -.cm-s-default span.cm-keyword {color: #708;} -.cm-s-default span.cm-atom {color: #219;} -.cm-s-default span.cm-number {color: #164;} -.cm-s-default span.cm-def {color: #00f;} -.cm-s-default span.cm-variable {color: black;} -.cm-s-default span.cm-variable-2 {color: #05a;} -.cm-s-default span.cm-variable-3 {color: #085;} -.cm-s-default span.cm-property {color: black;} -.cm-s-default span.cm-operator {color: black;} -.cm-s-default span.cm-comment {color: #a50;} -.cm-s-default span.cm-string {color: #a11;} -.cm-s-default span.cm-string-2 {color: #f50;} -.cm-s-default span.cm-meta {color: #555;} -.cm-s-default span.cm-error {color: #f00;} -.cm-s-default span.cm-qualifier {color: #555;} -.cm-s-default span.cm-builtin {color: #30a;} -.cm-s-default span.cm-bracket {color: #997;} -.cm-s-default span.cm-tag {color: #170;} -.cm-s-default span.cm-attribute {color: #00c;} -.cm-s-default span.cm-header {color: blue;} -.cm-s-default span.cm-quote {color: #090;} -.cm-s-default span.cm-hr {color: #999;} -.cm-s-default span.cm-link {color: #00c;} - -span.cm-header, span.cm-strong {font-weight: bold;} -span.cm-em {font-style: italic;} -span.cm-emstrong {font-style: italic; font-weight: bold;} -span.cm-link {text-decoration: underline;} - -span.cm-invalidchar {color: #f00;} - -div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;} -div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;} - -@media print { - - /* Hide the cursor when printing */ - .CodeMirror pre.CodeMirror-cursor { - visibility: hidden; - } - -} diff --git a/src/octoprint/static/gcodeviewer/lib/codemirror.js b/src/octoprint/static/gcodeviewer/lib/codemirror.js deleted file mode 100644 index e49481b58..000000000 --- a/src/octoprint/static/gcodeviewer/lib/codemirror.js +++ /dev/null @@ -1,3165 +0,0 @@ -// CodeMirror version 2.35 -// -// All functions that need access to the editor's state live inside -// the CodeMirror function. Below that, at the bottom of the file, -// some utilities are defined. - -// CodeMirror is the only global var we claim -window.CodeMirror = (function() { - "use strict"; - // This is the function that produces an editor instance. Its - // closure is used to store the editor state. - function CodeMirror(place, givenOptions) { - // Determine effective options based on given values and defaults. - var options = {}, defaults = CodeMirror.defaults; - for (var opt in defaults) - if (defaults.hasOwnProperty(opt)) - options[opt] = (givenOptions && givenOptions.hasOwnProperty(opt) ? givenOptions : defaults)[opt]; - - var input = elt("textarea", null, null, "position: absolute; padding: 0; width: 1px; height: 1em"); - input.setAttribute("wrap", "off"); input.setAttribute("autocorrect", "off"); input.setAttribute("autocapitalize", "off"); - // Wraps and hides input textarea - var inputDiv = elt("div", [input], null, "overflow: hidden; position: relative; width: 3px; height: 0px;"); - // The empty scrollbar content, used solely for managing the scrollbar thumb. - var scrollbarInner = elt("div", null, "CodeMirror-scrollbar-inner"); - // The vertical scrollbar. Horizontal scrolling is handled by the scroller itself. - var scrollbar = elt("div", [scrollbarInner], "CodeMirror-scrollbar"); - // DIVs containing the selection and the actual code - var lineDiv = elt("div"), selectionDiv = elt("div", null, null, "position: relative; z-index: -1"); - // Blinky cursor, and element used to ensure cursor fits at the end of a line - var cursor = elt("pre", "\u00a0", "CodeMirror-cursor"), widthForcer = elt("pre", "\u00a0", "CodeMirror-cursor", "visibility: hidden"); - // Used to measure text size - var measure = elt("div", null, null, "position: absolute; width: 100%; height: 0px; overflow: hidden; visibility: hidden;"); - var lineSpace = elt("div", [measure, cursor, widthForcer, selectionDiv, lineDiv], null, "position: relative; z-index: 0"); - var gutterText = elt("div", null, "CodeMirror-gutter-text"), gutter = elt("div", [gutterText], "CodeMirror-gutter"); - // Moved around its parent to cover visible view - var mover = elt("div", [gutter, elt("div", [lineSpace], "CodeMirror-lines")], null, "position: relative"); - // Set to the height of the text, causes scrolling - var sizer = elt("div", [mover], null, "position: relative"); - // Provides scrolling - var scroller = elt("div", [sizer], "CodeMirror-scroll"); - scroller.setAttribute("tabIndex", "-1"); - // The element in which the editor lives. - var wrapper = elt("div", [inputDiv, scrollbar, scroller], "CodeMirror" + (options.lineWrapping ? " CodeMirror-wrap" : "")); - if (place.appendChild) place.appendChild(wrapper); else place(wrapper); - - themeChanged(); keyMapChanged(); - // Needed to hide big blue blinking cursor on Mobile Safari - if (ios) input.style.width = "0px"; - if (!webkit) scroller.draggable = true; - lineSpace.style.outline = "none"; - if (options.tabindex != null) input.tabIndex = options.tabindex; - if (options.autofocus) focusInput(); - if (!options.gutter && !options.lineNumbers) gutter.style.display = "none"; - // Needed to handle Tab key in KHTML - if (khtml) inputDiv.style.height = "1px", inputDiv.style.position = "absolute"; - - // Check for OS X >= 10.7. This has transparent scrollbars, so the - // overlaying of one scrollbar with another won't work. This is a - // temporary hack to simply turn off the overlay scrollbar. See - // issue #727. - if (mac_geLion) { scrollbar.style.zIndex = -2; scrollbar.style.visibility = "hidden"; } - // Need to set a minimum width to see the scrollbar on IE7 (but must not set it on IE8). - else if (ie_lt8) scrollbar.style.minWidth = "18px"; - - // Delayed object wrap timeouts, making sure only one is active. blinker holds an interval. - var poll = new Delayed(), highlight = new Delayed(), blinker; - - // mode holds a mode API object. doc is the tree of Line objects, - // frontier is the point up to which the content has been parsed, - // and history the undo history (instance of History constructor). - var mode, doc = new BranchChunk([new LeafChunk([new Line("")])]), frontier = 0, focused; - loadMode(); - // The selection. These are always maintained to point at valid - // positions. Inverted is used to remember that the user is - // selecting bottom-to-top. - var sel = {from: {line: 0, ch: 0}, to: {line: 0, ch: 0}, inverted: false}; - // Selection-related flags. shiftSelecting obviously tracks - // whether the user is holding shift. - var shiftSelecting, lastClick, lastDoubleClick, lastScrollTop = 0, draggingText, - overwrite = false, suppressEdits = false, pasteIncoming = false; - // Variables used by startOperation/endOperation to track what - // happened during the operation. - var updateInput, userSelChange, changes, textChanged, selectionChanged, - gutterDirty, callbacks; - // Current visible range (may be bigger than the view window). - var displayOffset = 0, showingFrom = 0, showingTo = 0, lastSizeC = 0; - // bracketHighlighted is used to remember that a bracket has been - // marked. - var bracketHighlighted; - // Tracks the maximum line length so that the horizontal scrollbar - // can be kept static when scrolling. - var maxLine = getLine(0), updateMaxLine = false, maxLineChanged = true; - var pollingFast = false; // Ensures slowPoll doesn't cancel fastPoll - var goalColumn = null; - - // Initialize the content. - operation(function(){setValue(options.value || ""); updateInput = false;})(); - var history = new History(); - - // Register our event handlers. - connect(scroller, "mousedown", operation(onMouseDown)); - connect(scroller, "dblclick", operation(onDoubleClick)); - connect(lineSpace, "selectstart", e_preventDefault); - // Gecko browsers fire contextmenu *after* opening the menu, at - // which point we can't mess with it anymore. Context menu is - // handled in onMouseDown for Gecko. - if (!gecko) connect(scroller, "contextmenu", onContextMenu); - connect(scroller, "scroll", onScrollMain); - connect(scrollbar, "scroll", onScrollBar); - connect(scrollbar, "mousedown", function() {if (focused) setTimeout(focusInput, 0);}); - var resizeHandler = connect(window, "resize", function() { - if (wrapper.parentNode) updateDisplay(true); - else resizeHandler(); - }, true); - connect(input, "keyup", operation(onKeyUp)); - connect(input, "input", fastPoll); - connect(input, "keydown", operation(onKeyDown)); - connect(input, "keypress", operation(onKeyPress)); - connect(input, "focus", onFocus); - connect(input, "blur", onBlur); - - function drag_(e) { - if (options.onDragEvent && options.onDragEvent(instance, addStop(e))) return; - e_stop(e); - } - if (options.dragDrop) { - connect(scroller, "dragstart", onDragStart); - connect(scroller, "dragenter", drag_); - connect(scroller, "dragover", drag_); - connect(scroller, "drop", operation(onDrop)); - } - connect(scroller, "paste", function(){focusInput(); fastPoll();}); - connect(input, "paste", function(){pasteIncoming = true; fastPoll();}); - connect(input, "cut", operation(function(){ - if (!options.readOnly) replaceSelection(""); - })); - - // Needed to handle Tab key in KHTML - if (khtml) connect(sizer, "mouseup", function() { - if (document.activeElement == input) input.blur(); - focusInput(); - }); - - // IE throws unspecified error in certain cases, when - // trying to access activeElement before onload - var hasFocus; try { hasFocus = (document.activeElement == input); } catch(e) { } - if (hasFocus || options.autofocus) setTimeout(onFocus, 20); - else onBlur(); - - function isLine(l) {return l >= 0 && l < doc.size;} - // The instance object that we'll return. Mostly calls out to - // local functions in the CodeMirror function. Some do some extra - // range checking and/or clipping. operation is used to wrap the - // call so that changes it makes are tracked, and the display is - // updated afterwards. - var instance = wrapper.CodeMirror = { - getValue: getValue, - setValue: operation(setValue), - getSelection: getSelection, - replaceSelection: operation(replaceSelection), - focus: function(){window.focus(); focusInput(); onFocus(); fastPoll();}, - setOption: function(option, value) { - var oldVal = options[option]; - options[option] = value; - if (option == "mode" || option == "indentUnit") loadMode(); - else if (option == "readOnly" && value == "nocursor") {onBlur(); input.blur();} - else if (option == "readOnly" && !value) {resetInput(true);} - else if (option == "theme") themeChanged(); - else if (option == "lineWrapping" && oldVal != value) operation(wrappingChanged)(); - else if (option == "tabSize") updateDisplay(true); - else if (option == "keyMap") keyMapChanged(); - else if (option == "tabindex") input.tabIndex = value; - if (option == "lineNumbers" || option == "gutter" || option == "firstLineNumber" || - option == "theme" || option == "lineNumberFormatter") { - gutterChanged(); - updateDisplay(true); - } - }, - getOption: function(option) {return options[option];}, - getMode: function() {return mode;}, - undo: operation(undo), - redo: operation(redo), - indentLine: operation(function(n, dir) { - if (typeof dir != "string") { - if (dir == null) dir = options.smartIndent ? "smart" : "prev"; - else dir = dir ? "add" : "subtract"; - } - if (isLine(n)) indentLine(n, dir); - }), - indentSelection: operation(indentSelected), - historySize: function() {return {undo: history.done.length, redo: history.undone.length};}, - clearHistory: function() {history = new History();}, - setHistory: function(histData) { - history = new History(); - history.done = histData.done; - history.undone = histData.undone; - }, - getHistory: function() { - function cp(arr) { - for (var i = 0, nw = [], nwelt; i < arr.length; ++i) { - nw.push(nwelt = []); - for (var j = 0, elt = arr[i]; j < elt.length; ++j) { - var old = [], cur = elt[j]; - nwelt.push({start: cur.start, added: cur.added, old: old}); - for (var k = 0; k < cur.old.length; ++k) old.push(hlText(cur.old[k])); - } - } - return nw; - } - return {done: cp(history.done), undone: cp(history.undone)}; - }, - matchBrackets: operation(function(){matchBrackets(true);}), - getTokenAt: operation(function(pos) { - pos = clipPos(pos); - return getLine(pos.line).getTokenAt(mode, getStateBefore(pos.line), options.tabSize, pos.ch); - }), - getStateAfter: function(line) { - line = clipLine(line == null ? doc.size - 1: line); - return getStateBefore(line + 1); - }, - cursorCoords: function(start, mode) { - if (start == null) start = sel.inverted; - return this.charCoords(start ? sel.from : sel.to, mode); - }, - charCoords: function(pos, mode) { - pos = clipPos(pos); - if (mode == "local") return localCoords(pos, false); - if (mode == "div") return localCoords(pos, true); - return pageCoords(pos); - }, - coordsChar: function(coords) { - var off = eltOffset(lineSpace); - return coordsChar(coords.x - off.left, coords.y - off.top); - }, - markText: operation(markText), - setBookmark: setBookmark, - findMarksAt: findMarksAt, - setMarker: operation(addGutterMarker), - clearMarker: operation(removeGutterMarker), - setLineClass: operation(setLineClass), - hideLine: operation(function(h) {return setLineHidden(h, true);}), - showLine: operation(function(h) {return setLineHidden(h, false);}), - onDeleteLine: function(line, f) { - if (typeof line == "number") { - if (!isLine(line)) return null; - line = getLine(line); - } - (line.handlers || (line.handlers = [])).push(f); - return line; - }, - lineInfo: lineInfo, - getViewport: function() { return {from: showingFrom, to: showingTo};}, - addWidget: function(pos, node, scroll, vert, horiz) { - pos = localCoords(clipPos(pos)); - var top = pos.yBot, left = pos.x; - node.style.position = "absolute"; - sizer.appendChild(node); - if (vert == "over") top = pos.y; - else if (vert == "near") { - var vspace = Math.max(scroller.offsetHeight, doc.height * textHeight()), - hspace = Math.max(sizer.clientWidth, lineSpace.clientWidth) - paddingLeft(); - if (pos.yBot + node.offsetHeight > vspace && pos.y > node.offsetHeight) - top = pos.y - node.offsetHeight; - if (left + node.offsetWidth > hspace) - left = hspace - node.offsetWidth; - } - node.style.top = (top + paddingTop()) + "px"; - node.style.left = node.style.right = ""; - if (horiz == "right") { - left = sizer.clientWidth - node.offsetWidth; - node.style.right = "0px"; - } else { - if (horiz == "left") left = 0; - else if (horiz == "middle") left = (sizer.clientWidth - node.offsetWidth) / 2; - node.style.left = (left + paddingLeft()) + "px"; - } - if (scroll) - scrollIntoView(left, top, left + node.offsetWidth, top + node.offsetHeight); - }, - - lineCount: function() {return doc.size;}, - clipPos: clipPos, - getCursor: function(start) { - if (start == null) start = sel.inverted; - return copyPos(start ? sel.from : sel.to); - }, - somethingSelected: function() {return !posEq(sel.from, sel.to);}, - setCursor: operation(function(line, ch, user) { - if (ch == null && typeof line.line == "number") setCursor(line.line, line.ch, user); - else setCursor(line, ch, user); - }), - setSelection: operation(function(from, to, user) { - (user ? setSelectionUser : setSelection)(clipPos(from), clipPos(to || from)); - }), - getLine: function(line) {if (isLine(line)) return getLine(line).text;}, - getLineHandle: function(line) {if (isLine(line)) return getLine(line);}, - setLine: operation(function(line, text) { - if (isLine(line)) replaceRange(text, {line: line, ch: 0}, {line: line, ch: getLine(line).text.length}); - }), - removeLine: operation(function(line) { - if (isLine(line)) replaceRange("", {line: line, ch: 0}, clipPos({line: line+1, ch: 0})); - }), - replaceRange: operation(replaceRange), - getRange: function(from, to, lineSep) {return getRange(clipPos(from), clipPos(to), lineSep);}, - - triggerOnKeyDown: operation(onKeyDown), - execCommand: function(cmd) {return commands[cmd](instance);}, - // Stuff used by commands, probably not much use to outside code. - moveH: operation(moveH), - deleteH: operation(deleteH), - moveV: operation(moveV), - toggleOverwrite: function() { - if(overwrite){ - overwrite = false; - cursor.className = cursor.className.replace(" CodeMirror-overwrite", ""); - } else { - overwrite = true; - cursor.className += " CodeMirror-overwrite"; - } - }, - - posFromIndex: function(off) { - var lineNo = 0, ch; - doc.iter(0, doc.size, function(line) { - var sz = line.text.length + 1; - if (sz > off) { ch = off; return true; } - off -= sz; - ++lineNo; - }); - return clipPos({line: lineNo, ch: ch}); - }, - indexFromPos: function (coords) { - if (coords.line < 0 || coords.ch < 0) return 0; - var index = coords.ch; - doc.iter(0, coords.line, function (line) { - index += line.text.length + 1; - }); - return index; - }, - scrollTo: function(x, y) { - if (x != null) scroller.scrollLeft = x; - if (y != null) scrollbar.scrollTop = scroller.scrollTop = y; - updateDisplay([]); - }, - getScrollInfo: function() { - return {x: scroller.scrollLeft, y: scrollbar.scrollTop, - height: scrollbar.scrollHeight, width: scroller.scrollWidth}; - }, - setSize: function(width, height) { - function interpret(val) { - val = String(val); - return /^\d+$/.test(val) ? val + "px" : val; - } - if (width != null) wrapper.style.width = interpret(width); - if (height != null) scroller.style.height = interpret(height); - instance.refresh(); - }, - - operation: function(f){return operation(f)();}, - compoundChange: function(f){return compoundChange(f);}, - refresh: function(){ - updateDisplay(true, null, lastScrollTop); - if (scrollbar.scrollHeight > lastScrollTop) - scrollbar.scrollTop = lastScrollTop; - }, - getInputField: function(){return input;}, - getWrapperElement: function(){return wrapper;}, - getScrollerElement: function(){return scroller;}, - getGutterElement: function(){return gutter;} - }; - - function getLine(n) { return getLineAt(doc, n); } - function updateLineHeight(line, height) { - gutterDirty = true; - var diff = height - line.height; - for (var n = line; n; n = n.parent) n.height += diff; - } - - function lineContent(line, wrapAt) { - if (!line.styles) - line.highlight(mode, line.stateAfter = getStateBefore(lineNo(line)), options.tabSize); - return line.getContent(options.tabSize, wrapAt, options.lineWrapping); - } - - function setValue(code) { - var top = {line: 0, ch: 0}; - updateLines(top, {line: doc.size - 1, ch: getLine(doc.size-1).text.length}, - splitLines(code), top, top); - updateInput = true; - } - function getValue(lineSep) { - var text = []; - doc.iter(0, doc.size, function(line) { text.push(line.text); }); - return text.join(lineSep || "\n"); - } - - function onScrollBar(e) { - if (scrollbar.scrollTop != lastScrollTop) { - lastScrollTop = scroller.scrollTop = scrollbar.scrollTop; - updateDisplay([]); - } - } - - function onScrollMain(e) { - if (options.fixedGutter && gutter.style.left != scroller.scrollLeft + "px") - gutter.style.left = scroller.scrollLeft + "px"; - if (scroller.scrollTop != lastScrollTop) { - lastScrollTop = scroller.scrollTop; - if (scrollbar.scrollTop != lastScrollTop) - scrollbar.scrollTop = lastScrollTop; - updateDisplay([]); - } - if (options.onScroll) options.onScroll(instance); - } - - function onMouseDown(e) { - setShift(e_prop(e, "shiftKey")); - // Check whether this is a click in a widget - for (var n = e_target(e); n != wrapper; n = n.parentNode) - if (n.parentNode == sizer && n != mover) return; - - // See if this is a click in the gutter - for (var n = e_target(e); n != wrapper; n = n.parentNode) - if (n.parentNode == gutterText) { - if (options.onGutterClick) - options.onGutterClick(instance, indexOf(gutterText.childNodes, n) + showingFrom, e); - return e_preventDefault(e); - } - - var start = posFromMouse(e); - - switch (e_button(e)) { - case 3: - if (gecko) onContextMenu(e); - return; - case 2: - if (start) setCursor(start.line, start.ch, true); - setTimeout(focusInput, 20); - e_preventDefault(e); - return; - } - // For button 1, if it was clicked inside the editor - // (posFromMouse returning non-null), we have to adjust the - // selection. - if (!start) {if (e_target(e) == scroller) e_preventDefault(e); return;} - - if (!focused) onFocus(); - - var now = +new Date, type = "single"; - if (lastDoubleClick && lastDoubleClick.time > now - 400 && posEq(lastDoubleClick.pos, start)) { - type = "triple"; - e_preventDefault(e); - setTimeout(focusInput, 20); - selectLine(start.line); - } else if (lastClick && lastClick.time > now - 400 && posEq(lastClick.pos, start)) { - type = "double"; - lastDoubleClick = {time: now, pos: start}; - e_preventDefault(e); - var word = findWordAt(start); - setSelectionUser(word.from, word.to); - } else { lastClick = {time: now, pos: start}; } - - function dragEnd(e2) { - if (webkit) scroller.draggable = false; - draggingText = false; - up(); drop(); - if (Math.abs(e.clientX - e2.clientX) + Math.abs(e.clientY - e2.clientY) < 10) { - e_preventDefault(e2); - setCursor(start.line, start.ch, true); - focusInput(); - } - } - var last = start, going; - if (options.dragDrop && dragAndDrop && !options.readOnly && !posEq(sel.from, sel.to) && - !posLess(start, sel.from) && !posLess(sel.to, start) && type == "single") { - // Let the drag handler handle this. - if (webkit) scroller.draggable = true; - var up = connect(document, "mouseup", operation(dragEnd), true); - var drop = connect(scroller, "drop", operation(dragEnd), true); - draggingText = true; - // IE's approach to draggable - if (scroller.dragDrop) scroller.dragDrop(); - return; - } - e_preventDefault(e); - if (type == "single") setCursor(start.line, start.ch, true); - - var startstart = sel.from, startend = sel.to; - - function doSelect(cur) { - if (type == "single") { - setSelectionUser(start, cur); - } else if (type == "double") { - var word = findWordAt(cur); - if (posLess(cur, startstart)) setSelectionUser(word.from, startend); - else setSelectionUser(startstart, word.to); - } else if (type == "triple") { - if (posLess(cur, startstart)) setSelectionUser(startend, clipPos({line: cur.line, ch: 0})); - else setSelectionUser(startstart, clipPos({line: cur.line + 1, ch: 0})); - } - } - - function extend(e) { - var cur = posFromMouse(e, true); - if (cur && !posEq(cur, last)) { - if (!focused) onFocus(); - last = cur; - doSelect(cur); - updateInput = false; - var visible = visibleLines(); - if (cur.line >= visible.to || cur.line < visible.from) - going = setTimeout(operation(function(){extend(e);}), 150); - } - } - - function done(e) { - clearTimeout(going); - var cur = posFromMouse(e); - if (cur) doSelect(cur); - e_preventDefault(e); - focusInput(); - updateInput = true; - move(); up(); - } - var move = connect(document, "mousemove", operation(function(e) { - clearTimeout(going); - e_preventDefault(e); - if (!ie && !e_button(e)) done(e); - else extend(e); - }), true); - var up = connect(document, "mouseup", operation(done), true); - } - function onDoubleClick(e) { - for (var n = e_target(e); n != wrapper; n = n.parentNode) - if (n.parentNode == gutterText) return e_preventDefault(e); - e_preventDefault(e); - } - function onDrop(e) { - if (options.onDragEvent && options.onDragEvent(instance, addStop(e))) return; - e_preventDefault(e); - var pos = posFromMouse(e, true), files = e.dataTransfer.files; - if (!pos || options.readOnly) return; - if (files && files.length && window.FileReader && window.File) { - var n = files.length, text = Array(n), read = 0; - var loadFile = function(file, i) { - var reader = new FileReader; - reader.onload = function() { - text[i] = reader.result; - if (++read == n) { - pos = clipPos(pos); - operation(function() { - var end = replaceRange(text.join(""), pos, pos); - setSelectionUser(pos, end); - })(); - } - }; - reader.readAsText(file); - }; - for (var i = 0; i < n; ++i) loadFile(files[i], i); - } else { - // Don't do a replace if the drop happened inside of the selected text. - if (draggingText && !(posLess(pos, sel.from) || posLess(sel.to, pos))) return; - try { - var text = e.dataTransfer.getData("Text"); - if (text) { - compoundChange(function() { - var curFrom = sel.from, curTo = sel.to; - setSelectionUser(pos, pos); - if (draggingText) replaceRange("", curFrom, curTo); - replaceSelection(text); - focusInput(); - }); - } - } - catch(e){} - } - } - function onDragStart(e) { - var txt = getSelection(); - e.dataTransfer.setData("Text", txt); - - // Use dummy image instead of default browsers image. - if (e.dataTransfer.setDragImage) - e.dataTransfer.setDragImage(elt('img'), 0, 0); - } - - function doHandleBinding(bound, dropShift) { - if (typeof bound == "string") { - bound = commands[bound]; - if (!bound) return false; - } - var prevShift = shiftSelecting; - try { - if (options.readOnly) suppressEdits = true; - if (dropShift) shiftSelecting = null; - bound(instance); - } catch(e) { - if (e != Pass) throw e; - return false; - } finally { - shiftSelecting = prevShift; - suppressEdits = false; - } - return true; - } - var maybeTransition; - function handleKeyBinding(e) { - // Handle auto keymap transitions - var startMap = getKeyMap(options.keyMap), next = startMap.auto; - clearTimeout(maybeTransition); - if (next && !isModifierKey(e)) maybeTransition = setTimeout(function() { - if (getKeyMap(options.keyMap) == startMap) { - options.keyMap = (next.call ? next.call(null, instance) : next); - } - }, 50); - - var name = keyNames[e_prop(e, "keyCode")], handled = false; - var flipCtrlCmd = opera && mac; - if (name == null || e.altGraphKey) return false; - if (e_prop(e, "altKey")) name = "Alt-" + name; - if (e_prop(e, flipCtrlCmd ? "metaKey" : "ctrlKey")) name = "Ctrl-" + name; - if (e_prop(e, flipCtrlCmd ? "ctrlKey" : "metaKey")) name = "Cmd-" + name; - - var stopped = false; - function stop() { stopped = true; } - - if (e_prop(e, "shiftKey")) { - handled = lookupKey("Shift-" + name, options.extraKeys, options.keyMap, - function(b) {return doHandleBinding(b, true);}, stop) - || lookupKey(name, options.extraKeys, options.keyMap, function(b) { - if (typeof b == "string" && /^go[A-Z]/.test(b)) return doHandleBinding(b); - }, stop); - } else { - handled = lookupKey(name, options.extraKeys, options.keyMap, doHandleBinding, stop); - } - if (stopped) handled = false; - if (handled) { - e_preventDefault(e); - restartBlink(); - if (ie) { e.oldKeyCode = e.keyCode; e.keyCode = 0; } - } - return handled; - } - function handleCharBinding(e, ch) { - var handled = lookupKey("'" + ch + "'", options.extraKeys, - options.keyMap, function(b) { return doHandleBinding(b, true); }); - if (handled) { - e_preventDefault(e); - restartBlink(); - } - return handled; - } - - var lastStoppedKey = null; - function onKeyDown(e) { - if (!focused) onFocus(); - if (ie && e.keyCode == 27) { e.returnValue = false; } - if (pollingFast) { if (readInput()) pollingFast = false; } - if (options.onKeyEvent && options.onKeyEvent(instance, addStop(e))) return; - var code = e_prop(e, "keyCode"); - // IE does strange things with escape. - setShift(code == 16 || e_prop(e, "shiftKey")); - // First give onKeyEvent option a chance to handle this. - var handled = handleKeyBinding(e); - if (opera) { - lastStoppedKey = handled ? code : null; - // Opera has no cut event... we try to at least catch the key combo - if (!handled && code == 88 && e_prop(e, mac ? "metaKey" : "ctrlKey")) - replaceSelection(""); - } - } - function onKeyPress(e) { - if (pollingFast) readInput(); - if (options.onKeyEvent && options.onKeyEvent(instance, addStop(e))) return; - var keyCode = e_prop(e, "keyCode"), charCode = e_prop(e, "charCode"); - if (opera && keyCode == lastStoppedKey) {lastStoppedKey = null; e_preventDefault(e); return;} - if (((opera && (!e.which || e.which < 10)) || khtml) && handleKeyBinding(e)) return; - var ch = String.fromCharCode(charCode == null ? keyCode : charCode); - if (options.electricChars && mode.electricChars && options.smartIndent && !options.readOnly) { - if (mode.electricChars.indexOf(ch) > -1) - setTimeout(operation(function() {indentLine(sel.to.line, "smart");}), 75); - } - if (handleCharBinding(e, ch)) return; - fastPoll(); - } - function onKeyUp(e) { - if (options.onKeyEvent && options.onKeyEvent(instance, addStop(e))) return; - if (e_prop(e, "keyCode") == 16) shiftSelecting = null; - } - - function onFocus() { - if (options.readOnly == "nocursor") return; - if (!focused) { - if (options.onFocus) options.onFocus(instance); - focused = true; - if (scroller.className.search(/\bCodeMirror-focused\b/) == -1) - scroller.className += " CodeMirror-focused"; - } - slowPoll(); - restartBlink(); - } - function onBlur() { - if (focused) { - if (options.onBlur) options.onBlur(instance); - focused = false; - if (bracketHighlighted) - operation(function(){ - if (bracketHighlighted) { bracketHighlighted(); bracketHighlighted = null; } - })(); - scroller.className = scroller.className.replace(" CodeMirror-focused", ""); - } - clearInterval(blinker); - setTimeout(function() {if (!focused) shiftSelecting = null;}, 150); - } - - // Replace the range from from to to by the strings in newText. - // Afterwards, set the selection to selFrom, selTo. - function updateLines(from, to, newText, selFrom, selTo) { - if (suppressEdits) return; - var old = []; - doc.iter(from.line, to.line + 1, function(line) { - old.push(newHL(line.text, line.markedSpans)); - }); - if (history) { - history.addChange(from.line, newText.length, old); - while (history.done.length > options.undoDepth) history.done.shift(); - } - var lines = updateMarkedSpans(hlSpans(old[0]), hlSpans(lst(old)), from.ch, to.ch, newText); - updateLinesNoUndo(from, to, lines, selFrom, selTo); - } - function unredoHelper(from, to) { - if (!from.length) return; - var set = from.pop(), out = []; - for (var i = set.length - 1; i >= 0; i -= 1) { - var change = set[i]; - var replaced = [], end = change.start + change.added; - doc.iter(change.start, end, function(line) { replaced.push(newHL(line.text, line.markedSpans)); }); - out.push({start: change.start, added: change.old.length, old: replaced}); - var pos = {line: change.start + change.old.length - 1, - ch: editEnd(hlText(lst(replaced)), hlText(lst(change.old)))}; - updateLinesNoUndo({line: change.start, ch: 0}, {line: end - 1, ch: getLine(end-1).text.length}, - change.old, pos, pos); - } - updateInput = true; - to.push(out); - } - function undo() {unredoHelper(history.done, history.undone);} - function redo() {unredoHelper(history.undone, history.done);} - - function updateLinesNoUndo(from, to, lines, selFrom, selTo) { - if (suppressEdits) return; - var recomputeMaxLength = false, maxLineLength = maxLine.text.length; - if (!options.lineWrapping) - doc.iter(from.line, to.line + 1, function(line) { - if (!line.hidden && line.text.length == maxLineLength) {recomputeMaxLength = true; return true;} - }); - if (from.line != to.line || lines.length > 1) gutterDirty = true; - - var nlines = to.line - from.line, firstLine = getLine(from.line), lastLine = getLine(to.line); - var lastHL = lst(lines); - - // First adjust the line structure - if (from.ch == 0 && to.ch == 0 && hlText(lastHL) == "") { - // This is a whole-line replace. Treated specially to make - // sure line objects move the way they are supposed to. - var added = [], prevLine = null; - for (var i = 0, e = lines.length - 1; i < e; ++i) - added.push(new Line(hlText(lines[i]), hlSpans(lines[i]))); - lastLine.update(lastLine.text, hlSpans(lastHL)); - if (nlines) doc.remove(from.line, nlines, callbacks); - if (added.length) doc.insert(from.line, added); - } else if (firstLine == lastLine) { - if (lines.length == 1) { - firstLine.update(firstLine.text.slice(0, from.ch) + hlText(lines[0]) + firstLine.text.slice(to.ch), hlSpans(lines[0])); - } else { - for (var added = [], i = 1, e = lines.length - 1; i < e; ++i) - added.push(new Line(hlText(lines[i]), hlSpans(lines[i]))); - added.push(new Line(hlText(lastHL) + firstLine.text.slice(to.ch), hlSpans(lastHL))); - firstLine.update(firstLine.text.slice(0, from.ch) + hlText(lines[0]), hlSpans(lines[0])); - doc.insert(from.line + 1, added); - } - } else if (lines.length == 1) { - firstLine.update(firstLine.text.slice(0, from.ch) + hlText(lines[0]) + lastLine.text.slice(to.ch), hlSpans(lines[0])); - doc.remove(from.line + 1, nlines, callbacks); - } else { - var added = []; - firstLine.update(firstLine.text.slice(0, from.ch) + hlText(lines[0]), hlSpans(lines[0])); - lastLine.update(hlText(lastHL) + lastLine.text.slice(to.ch), hlSpans(lastHL)); - for (var i = 1, e = lines.length - 1; i < e; ++i) - added.push(new Line(hlText(lines[i]), hlSpans(lines[i]))); - if (nlines > 1) doc.remove(from.line + 1, nlines - 1, callbacks); - doc.insert(from.line + 1, added); - } - if (options.lineWrapping) { - var perLine = Math.max(5, scroller.clientWidth / charWidth() - 3); - doc.iter(from.line, from.line + lines.length, function(line) { - if (line.hidden) return; - var guess = Math.ceil(line.text.length / perLine) || 1; - if (guess != line.height) updateLineHeight(line, guess); - }); - } else { - doc.iter(from.line, from.line + lines.length, function(line) { - var l = line.text; - if (!line.hidden && l.length > maxLineLength) { - maxLine = line; maxLineLength = l.length; maxLineChanged = true; - recomputeMaxLength = false; - } - }); - if (recomputeMaxLength) updateMaxLine = true; - } - - // Adjust frontier, schedule worker - frontier = Math.min(frontier, from.line); - startWorker(400); - - var lendiff = lines.length - nlines - 1; - // Remember that these lines changed, for updating the display - changes.push({from: from.line, to: to.line + 1, diff: lendiff}); - if (options.onChange) { - // Normalize lines to contain only strings, since that's what - // the change event handler expects - for (var i = 0; i < lines.length; ++i) - if (typeof lines[i] != "string") lines[i] = lines[i].text; - var changeObj = {from: from, to: to, text: lines}; - if (textChanged) { - for (var cur = textChanged; cur.next; cur = cur.next) {} - cur.next = changeObj; - } else textChanged = changeObj; - } - - // Update the selection - function updateLine(n) {return n <= Math.min(to.line, to.line + lendiff) ? n : n + lendiff;} - setSelection(clipPos(selFrom), clipPos(selTo), - updateLine(sel.from.line), updateLine(sel.to.line)); - } - - function needsScrollbar() { - var realHeight = doc.height * textHeight() + 2 * paddingTop(); - return realHeight * .99 > scroller.offsetHeight ? realHeight : false; - } - - function updateVerticalScroll(scrollTop) { - var scrollHeight = needsScrollbar(); - scrollbar.style.display = scrollHeight ? "block" : "none"; - if (scrollHeight) { - scrollbarInner.style.height = sizer.style.minHeight = scrollHeight + "px"; - scrollbar.style.height = scroller.clientHeight + "px"; - if (scrollTop != null) { - scrollbar.scrollTop = scroller.scrollTop = scrollTop; - // 'Nudge' the scrollbar to work around a Webkit bug where, - // in some situations, we'd end up with a scrollbar that - // reported its scrollTop (and looked) as expected, but - // *behaved* as if it was still in a previous state (i.e. - // couldn't scroll up, even though it appeared to be at the - // bottom). - if (webkit) setTimeout(function() { - if (scrollbar.scrollTop != scrollTop) return; - scrollbar.scrollTop = scrollTop + (scrollTop ? -1 : 1); - scrollbar.scrollTop = scrollTop; - }, 0); - } - } else { - sizer.style.minHeight = ""; - } - // Position the mover div to align with the current virtual scroll position - mover.style.top = displayOffset * textHeight() + "px"; - } - - function computeMaxLength() { - maxLine = getLine(0); maxLineChanged = true; - var maxLineLength = maxLine.text.length; - doc.iter(1, doc.size, function(line) { - var l = line.text; - if (!line.hidden && l.length > maxLineLength) { - maxLineLength = l.length; maxLine = line; - } - }); - updateMaxLine = false; - } - - function replaceRange(code, from, to) { - from = clipPos(from); - if (!to) to = from; else to = clipPos(to); - code = splitLines(code); - function adjustPos(pos) { - if (posLess(pos, from)) return pos; - if (!posLess(to, pos)) return end; - var line = pos.line + code.length - (to.line - from.line) - 1; - var ch = pos.ch; - if (pos.line == to.line) - ch += lst(code).length - (to.ch - (to.line == from.line ? from.ch : 0)); - return {line: line, ch: ch}; - } - var end; - replaceRange1(code, from, to, function(end1) { - end = end1; - return {from: adjustPos(sel.from), to: adjustPos(sel.to)}; - }); - return end; - } - function replaceSelection(code, collapse) { - replaceRange1(splitLines(code), sel.from, sel.to, function(end) { - if (collapse == "end") return {from: end, to: end}; - else if (collapse == "start") return {from: sel.from, to: sel.from}; - else return {from: sel.from, to: end}; - }); - } - function replaceRange1(code, from, to, computeSel) { - var endch = code.length == 1 ? code[0].length + from.ch : lst(code).length; - var newSel = computeSel({line: from.line + code.length - 1, ch: endch}); - updateLines(from, to, code, newSel.from, newSel.to); - } - - function getRange(from, to, lineSep) { - var l1 = from.line, l2 = to.line; - if (l1 == l2) return getLine(l1).text.slice(from.ch, to.ch); - var code = [getLine(l1).text.slice(from.ch)]; - doc.iter(l1 + 1, l2, function(line) { code.push(line.text); }); - code.push(getLine(l2).text.slice(0, to.ch)); - return code.join(lineSep || "\n"); - } - function getSelection(lineSep) { - return getRange(sel.from, sel.to, lineSep); - } - - function slowPoll() { - if (pollingFast) return; - poll.set(options.pollInterval, function() { - readInput(); - if (focused) slowPoll(); - }); - } - function fastPoll() { - var missed = false; - pollingFast = true; - function p() { - var changed = readInput(); - if (!changed && !missed) {missed = true; poll.set(60, p);} - else {pollingFast = false; slowPoll();} - } - poll.set(20, p); - } - - // Previnput is a hack to work with IME. If we reset the textarea - // on every change, that breaks IME. So we look for changes - // compared to the previous content instead. (Modern browsers have - // events that indicate IME taking place, but these are not widely - // supported or compatible enough yet to rely on.) - var prevInput = ""; - function readInput() { - if (!focused || hasSelection(input) || options.readOnly) return false; - var text = input.value; - if (text == prevInput) return false; - if (!nestedOperation) startOperation(); - shiftSelecting = null; - var same = 0, l = Math.min(prevInput.length, text.length); - while (same < l && prevInput[same] == text[same]) ++same; - if (same < prevInput.length) - sel.from = {line: sel.from.line, ch: sel.from.ch - (prevInput.length - same)}; - else if (overwrite && posEq(sel.from, sel.to) && !pasteIncoming) - sel.to = {line: sel.to.line, ch: Math.min(getLine(sel.to.line).text.length, sel.to.ch + (text.length - same))}; - replaceSelection(text.slice(same), "end"); - if (text.length > 1000) { input.value = prevInput = ""; } - else prevInput = text; - if (!nestedOperation) endOperation(); - pasteIncoming = false; - return true; - } - function resetInput(user) { - if (!posEq(sel.from, sel.to)) { - prevInput = ""; - input.value = getSelection(); - if (focused) selectInput(input); - } else if (user) prevInput = input.value = ""; - } - - function focusInput() { - if (options.readOnly != "nocursor") input.focus(); - } - - function scrollCursorIntoView() { - var coords = calculateCursorCoords(); - scrollIntoView(coords.x, coords.y, coords.x, coords.yBot); - if (!focused) return; - var box = sizer.getBoundingClientRect(), doScroll = null; - if (coords.y + box.top < 0) doScroll = true; - else if (coords.y + box.top + textHeight() > (window.innerHeight || document.documentElement.clientHeight)) doScroll = false; - if (doScroll != null) { - var hidden = cursor.style.display == "none"; - if (hidden) { - cursor.style.display = ""; - cursor.style.left = coords.x + "px"; - cursor.style.top = (coords.y - displayOffset) + "px"; - } - cursor.scrollIntoView(doScroll); - if (hidden) cursor.style.display = "none"; - } - } - function calculateCursorCoords() { - var cursor = localCoords(sel.inverted ? sel.from : sel.to); - var x = options.lineWrapping ? Math.min(cursor.x, lineSpace.offsetWidth) : cursor.x; - return {x: x, y: cursor.y, yBot: cursor.yBot}; - } - function scrollIntoView(x1, y1, x2, y2) { - var scrollPos = calculateScrollPos(x1, y1, x2, y2); - if (scrollPos.scrollLeft != null) {scroller.scrollLeft = scrollPos.scrollLeft;} - if (scrollPos.scrollTop != null) {scrollbar.scrollTop = scroller.scrollTop = scrollPos.scrollTop;} - } - function calculateScrollPos(x1, y1, x2, y2) { - var pl = paddingLeft(), pt = paddingTop(); - y1 += pt; y2 += pt; x1 += pl; x2 += pl; - var screen = scroller.clientHeight, screentop = scrollbar.scrollTop, result = {}; - var docBottom = needsScrollbar() || Infinity; - var atTop = y1 < pt + 10, atBottom = y2 + pt > docBottom - 10; - if (y1 < screentop) result.scrollTop = atTop ? 0 : Math.max(0, y1); - else if (y2 > screentop + screen) result.scrollTop = (atBottom ? docBottom : y2) - screen; - - var screenw = scroller.clientWidth, screenleft = scroller.scrollLeft; - var gutterw = options.fixedGutter ? gutter.clientWidth : 0; - var atLeft = x1 < gutterw + pl + 10; - if (x1 < screenleft + gutterw || atLeft) { - if (atLeft) x1 = 0; - result.scrollLeft = Math.max(0, x1 - 10 - gutterw); - } else if (x2 > screenw + screenleft - 3) { - result.scrollLeft = x2 + 10 - screenw; - } - return result; - } - - function visibleLines(scrollTop) { - var lh = textHeight(), top = (scrollTop != null ? scrollTop : scrollbar.scrollTop) - paddingTop(); - var fromHeight = Math.max(0, Math.floor(top / lh)); - var toHeight = Math.ceil((top + scroller.clientHeight) / lh); - return {from: lineAtHeight(doc, fromHeight), - to: lineAtHeight(doc, toHeight)}; - } - // Uses a set of changes plus the current scroll position to - // determine which DOM updates have to be made, and makes the - // updates. - function updateDisplay(changes, suppressCallback, scrollTop) { - if (!scroller.clientWidth) { - showingFrom = showingTo = displayOffset = 0; - return; - } - // Compute the new visible window - // If scrollTop is specified, use that to determine which lines - // to render instead of the current scrollbar position. - var visible = visibleLines(scrollTop); - // Bail out if the visible area is already rendered and nothing changed. - if (changes !== true && changes.length == 0 && visible.from > showingFrom && visible.to < showingTo) { - updateVerticalScroll(scrollTop); - return; - } - var from = Math.max(visible.from - 100, 0), to = Math.min(doc.size, visible.to + 100); - if (showingFrom < from && from - showingFrom < 20) from = showingFrom; - if (showingTo > to && showingTo - to < 20) to = Math.min(doc.size, showingTo); - - // Create a range of theoretically intact lines, and punch holes - // in that using the change info. - var intact = changes === true ? [] : - computeIntact([{from: showingFrom, to: showingTo, domStart: 0}], changes); - // Clip off the parts that won't be visible - var intactLines = 0; - for (var i = 0; i < intact.length; ++i) { - var range = intact[i]; - if (range.from < from) {range.domStart += (from - range.from); range.from = from;} - if (range.to > to) range.to = to; - if (range.from >= range.to) intact.splice(i--, 1); - else intactLines += range.to - range.from; - } - if (intactLines == to - from && from == showingFrom && to == showingTo) { - updateVerticalScroll(scrollTop); - return; - } - intact.sort(function(a, b) {return a.domStart - b.domStart;}); - - var th = textHeight(), gutterDisplay = gutter.style.display; - lineDiv.style.display = "none"; - patchDisplay(from, to, intact); - lineDiv.style.display = gutter.style.display = ""; - - var different = from != showingFrom || to != showingTo || lastSizeC != scroller.clientHeight + th; - // This is just a bogus formula that detects when the editor is - // resized or the font size changes. - if (different) lastSizeC = scroller.clientHeight + th; - if (from != showingFrom || to != showingTo && options.onViewportChange) - setTimeout(function(){ - if (options.onViewportChange) options.onViewportChange(instance, from, to); - }); - showingFrom = from; showingTo = to; - displayOffset = heightAtLine(doc, from); - startWorker(100); - - // Since this is all rather error prone, it is honoured with the - // only assertion in the whole file. - if (lineDiv.childNodes.length != showingTo - showingFrom) - throw new Error("BAD PATCH! " + JSON.stringify(intact) + " size=" + (showingTo - showingFrom) + - " nodes=" + lineDiv.childNodes.length); - - function checkHeights() { - var curNode = lineDiv.firstChild, heightChanged = false; - doc.iter(showingFrom, showingTo, function(line) { - // Work around bizarro IE7 bug where, sometimes, our curNode - // is magically replaced with a new node in the DOM, leaving - // us with a reference to an orphan (nextSibling-less) node. - if (!curNode) return; - if (!line.hidden) { - var height = Math.round(curNode.offsetHeight / th) || 1; - if (line.height != height) { - updateLineHeight(line, height); - gutterDirty = heightChanged = true; - } - } - curNode = curNode.nextSibling; - }); - return heightChanged; - } - - if (options.lineWrapping) checkHeights(); - - gutter.style.display = gutterDisplay; - if (different || gutterDirty) { - // If the gutter grew in size, re-check heights. If those changed, re-draw gutter. - updateGutter() && options.lineWrapping && checkHeights() && updateGutter(); - } - updateVerticalScroll(scrollTop); - updateSelection(); - if (!suppressCallback && options.onUpdate) options.onUpdate(instance); - return true; - } - - function computeIntact(intact, changes) { - for (var i = 0, l = changes.length || 0; i < l; ++i) { - var change = changes[i], intact2 = [], diff = change.diff || 0; - for (var j = 0, l2 = intact.length; j < l2; ++j) { - var range = intact[j]; - if (change.to <= range.from && change.diff) - intact2.push({from: range.from + diff, to: range.to + diff, - domStart: range.domStart}); - else if (change.to <= range.from || change.from >= range.to) - intact2.push(range); - else { - if (change.from > range.from) - intact2.push({from: range.from, to: change.from, domStart: range.domStart}); - if (change.to < range.to) - intact2.push({from: change.to + diff, to: range.to + diff, - domStart: range.domStart + (change.to - range.from)}); - } - } - intact = intact2; - } - return intact; - } - - function patchDisplay(from, to, intact) { - function killNode(node) { - var tmp = node.nextSibling; - node.parentNode.removeChild(node); - return tmp; - } - // The first pass removes the DOM nodes that aren't intact. - if (!intact.length) removeChildren(lineDiv); - else { - var domPos = 0, curNode = lineDiv.firstChild, n; - for (var i = 0; i < intact.length; ++i) { - var cur = intact[i]; - while (cur.domStart > domPos) {curNode = killNode(curNode); domPos++;} - for (var j = 0, e = cur.to - cur.from; j < e; ++j) {curNode = curNode.nextSibling; domPos++;} - } - while (curNode) curNode = killNode(curNode); - } - // This pass fills in the lines that actually changed. - var nextIntact = intact.shift(), curNode = lineDiv.firstChild, j = from; - doc.iter(from, to, function(line) { - if (nextIntact && nextIntact.to == j) nextIntact = intact.shift(); - if (!nextIntact || nextIntact.from > j) { - if (line.hidden) var lineElement = elt("pre"); - else { - var lineElement = lineContent(line); - if (line.className) lineElement.className = line.className; - // Kludge to make sure the styled element lies behind the selection (by z-index) - if (line.bgClassName) { - var pre = elt("pre", "\u00a0", line.bgClassName, "position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: -2"); - lineElement = elt("div", [pre, lineElement], null, "position: relative"); - } - } - lineDiv.insertBefore(lineElement, curNode); - } else { - curNode = curNode.nextSibling; - } - ++j; - }); - } - - function updateGutter() { - if (!options.gutter && !options.lineNumbers) return; - var hText = mover.offsetHeight, hEditor = scroller.clientHeight; - gutter.style.height = (hText - hEditor < 2 ? hEditor : hText) + "px"; - var fragment = document.createDocumentFragment(), i = showingFrom, normalNode; - doc.iter(showingFrom, Math.max(showingTo, showingFrom + 1), function(line) { - if (line.hidden) { - fragment.appendChild(elt("pre")); - } else { - var marker = line.gutterMarker; - var text = options.lineNumbers ? options.lineNumberFormatter(i + options.firstLineNumber) : null; - if (marker && marker.text) - text = marker.text.replace("%N%", text != null ? text : ""); - else if (text == null) - text = "\u00a0"; - var markerElement = fragment.appendChild(elt("pre", null, marker && marker.style)); - markerElement.innerHTML = text; - for (var j = 1; j < line.height; ++j) { - markerElement.appendChild(elt("br")); - markerElement.appendChild(document.createTextNode("\u00a0")); - } - if (!marker) normalNode = i; - } - ++i; - }); - gutter.style.display = "none"; - removeChildrenAndAdd(gutterText, fragment); - // Make sure scrolling doesn't cause number gutter size to pop - if (normalNode != null && options.lineNumbers) { - var node = gutterText.childNodes[normalNode - showingFrom]; - var minwidth = String(doc.size).length, val = eltText(node.firstChild), pad = ""; - while (val.length + pad.length < minwidth) pad += "\u00a0"; - if (pad) node.insertBefore(document.createTextNode(pad), node.firstChild); - } - gutter.style.display = ""; - var resized = Math.abs((parseInt(lineSpace.style.marginLeft) || 0) - gutter.offsetWidth) > 2; - lineSpace.style.marginLeft = gutter.offsetWidth + "px"; - gutterDirty = false; - return resized; - } - function updateSelection() { - var collapsed = posEq(sel.from, sel.to); - var fromPos = localCoords(sel.from, true); - var toPos = collapsed ? fromPos : localCoords(sel.to, true); - var headPos = sel.inverted ? fromPos : toPos, th = textHeight(); - var wrapOff = eltOffset(wrapper), lineOff = eltOffset(lineDiv); - inputDiv.style.top = Math.max(0, Math.min(scroller.offsetHeight, headPos.y + lineOff.top - wrapOff.top)) + "px"; - inputDiv.style.left = Math.max(0, Math.min(scroller.offsetWidth, headPos.x + lineOff.left - wrapOff.left)) + "px"; - if (collapsed) { - cursor.style.top = headPos.y + "px"; - cursor.style.left = (options.lineWrapping ? Math.min(headPos.x, lineSpace.offsetWidth) : headPos.x) + "px"; - cursor.style.display = ""; - selectionDiv.style.display = "none"; - } else { - var sameLine = fromPos.y == toPos.y, fragment = document.createDocumentFragment(); - var clientWidth = lineSpace.clientWidth || lineSpace.offsetWidth; - var clientHeight = lineSpace.clientHeight || lineSpace.offsetHeight; - var add = function(left, top, right, height) { - var rstyle = quirksMode ? "width: " + (!right ? clientWidth : clientWidth - right - left) + "px" - : "right: " + right + "px"; - fragment.appendChild(elt("div", null, "CodeMirror-selected", "position: absolute; left: " + left + - "px; top: " + top + "px; " + rstyle + "; height: " + height + "px")); - }; - if (sel.from.ch && fromPos.y >= 0) { - var right = sameLine ? clientWidth - toPos.x : 0; - add(fromPos.x, fromPos.y, right, th); - } - var middleStart = Math.max(0, fromPos.y + (sel.from.ch ? th : 0)); - var middleHeight = Math.min(toPos.y, clientHeight) - middleStart; - if (middleHeight > 0.2 * th) - add(0, middleStart, 0, middleHeight); - if ((!sameLine || !sel.from.ch) && toPos.y < clientHeight - .5 * th) - add(0, toPos.y, clientWidth - toPos.x, th); - removeChildrenAndAdd(selectionDiv, fragment); - cursor.style.display = "none"; - selectionDiv.style.display = ""; - } - } - - function setShift(val) { - if (val) shiftSelecting = shiftSelecting || (sel.inverted ? sel.to : sel.from); - else shiftSelecting = null; - } - function setSelectionUser(from, to) { - var sh = shiftSelecting && clipPos(shiftSelecting); - if (sh) { - if (posLess(sh, from)) from = sh; - else if (posLess(to, sh)) to = sh; - } - setSelection(from, to); - userSelChange = true; - } - // Update the selection. Last two args are only used by - // updateLines, since they have to be expressed in the line - // numbers before the update. - function setSelection(from, to, oldFrom, oldTo) { - goalColumn = null; - if (oldFrom == null) {oldFrom = sel.from.line; oldTo = sel.to.line;} - if (posEq(sel.from, from) && posEq(sel.to, to)) return; - if (posLess(to, from)) {var tmp = to; to = from; from = tmp;} - - // Skip over hidden lines. - if (from.line != oldFrom) { - var from1 = skipHidden(from, oldFrom, sel.from.ch); - // If there is no non-hidden line left, force visibility on current line - if (!from1) setLineHidden(from.line, false); - else from = from1; - } - if (to.line != oldTo) to = skipHidden(to, oldTo, sel.to.ch); - - if (posEq(from, to)) sel.inverted = false; - else if (posEq(from, sel.to)) sel.inverted = false; - else if (posEq(to, sel.from)) sel.inverted = true; - - if (options.autoClearEmptyLines && posEq(sel.from, sel.to)) { - var head = sel.inverted ? from : to; - if (head.line != sel.from.line && sel.from.line < doc.size) { - var oldLine = getLine(sel.from.line); - if (/^\s+$/.test(oldLine.text)) - setTimeout(operation(function() { - if (oldLine.parent && /^\s+$/.test(oldLine.text)) { - var no = lineNo(oldLine); - replaceRange("", {line: no, ch: 0}, {line: no, ch: oldLine.text.length}); - } - }, 10)); - } - } - - sel.from = from; sel.to = to; - selectionChanged = true; - } - function skipHidden(pos, oldLine, oldCh) { - function getNonHidden(dir) { - var lNo = pos.line + dir, end = dir == 1 ? doc.size : -1; - while (lNo != end) { - var line = getLine(lNo); - if (!line.hidden) { - var ch = pos.ch; - if (toEnd || ch > oldCh || ch > line.text.length) ch = line.text.length; - return {line: lNo, ch: ch}; - } - lNo += dir; - } - } - var line = getLine(pos.line); - var toEnd = pos.ch == line.text.length && pos.ch != oldCh; - if (!line.hidden) return pos; - if (pos.line >= oldLine) return getNonHidden(1) || getNonHidden(-1); - else return getNonHidden(-1) || getNonHidden(1); - } - function setCursor(line, ch, user) { - var pos = clipPos({line: line, ch: ch || 0}); - (user ? setSelectionUser : setSelection)(pos, pos); - } - - function clipLine(n) {return Math.max(0, Math.min(n, doc.size-1));} - function clipPos(pos) { - if (pos.line < 0) return {line: 0, ch: 0}; - if (pos.line >= doc.size) return {line: doc.size-1, ch: getLine(doc.size-1).text.length}; - var ch = pos.ch, linelen = getLine(pos.line).text.length; - if (ch == null || ch > linelen) return {line: pos.line, ch: linelen}; - else if (ch < 0) return {line: pos.line, ch: 0}; - else return pos; - } - - function findPosH(dir, unit) { - var end = sel.inverted ? sel.from : sel.to, line = end.line, ch = end.ch; - var lineObj = getLine(line); - function findNextLine() { - for (var l = line + dir, e = dir < 0 ? -1 : doc.size; l != e; l += dir) { - var lo = getLine(l); - if (!lo.hidden) { line = l; lineObj = lo; return true; } - } - } - function moveOnce(boundToLine) { - if (ch == (dir < 0 ? 0 : lineObj.text.length)) { - if (!boundToLine && findNextLine()) ch = dir < 0 ? lineObj.text.length : 0; - else return false; - } else ch += dir; - return true; - } - if (unit == "char") moveOnce(); - else if (unit == "column") moveOnce(true); - else if (unit == "word") { - var sawWord = false; - for (;;) { - if (dir < 0) if (!moveOnce()) break; - if (isWordChar(lineObj.text.charAt(ch))) sawWord = true; - else if (sawWord) {if (dir < 0) {dir = 1; moveOnce();} break;} - if (dir > 0) if (!moveOnce()) break; - } - } - return {line: line, ch: ch}; - } - function moveH(dir, unit) { - var pos = dir < 0 ? sel.from : sel.to; - if (shiftSelecting || posEq(sel.from, sel.to)) pos = findPosH(dir, unit); - setCursor(pos.line, pos.ch, true); - } - function deleteH(dir, unit) { - if (!posEq(sel.from, sel.to)) replaceRange("", sel.from, sel.to); - else if (dir < 0) replaceRange("", findPosH(dir, unit), sel.to); - else replaceRange("", sel.from, findPosH(dir, unit)); - userSelChange = true; - } - function moveV(dir, unit) { - var dist = 0, pos = localCoords(sel.inverted ? sel.from : sel.to, true); - if (goalColumn != null) pos.x = goalColumn; - if (unit == "page") { - var screen = Math.min(scroller.clientHeight, window.innerHeight || document.documentElement.clientHeight); - var target = coordsChar(pos.x, pos.y + screen * dir); - } else if (unit == "line") { - var th = textHeight(); - var target = coordsChar(pos.x, pos.y + .5 * th + dir * th); - } - if (unit == "page") scrollbar.scrollTop += localCoords(target, true).y - pos.y; - setCursor(target.line, target.ch, true); - goalColumn = pos.x; - } - - function findWordAt(pos) { - var line = getLine(pos.line).text; - var start = pos.ch, end = pos.ch; - if (line) { - if (pos.after === false || end == line.length) --start; else ++end; - var startChar = line.charAt(start); - var check = isWordChar(startChar) ? isWordChar : - /\s/.test(startChar) ? function(ch) {return /\s/.test(ch);} : - function(ch) {return !/\s/.test(ch) && isWordChar(ch);}; - while (start > 0 && check(line.charAt(start - 1))) --start; - while (end < line.length && check(line.charAt(end))) ++end; - } - return {from: {line: pos.line, ch: start}, to: {line: pos.line, ch: end}}; - } - function selectLine(line) { - setSelectionUser({line: line, ch: 0}, clipPos({line: line + 1, ch: 0})); - } - function indentSelected(mode) { - if (posEq(sel.from, sel.to)) return indentLine(sel.from.line, mode); - var e = sel.to.line - (sel.to.ch ? 0 : 1); - for (var i = sel.from.line; i <= e; ++i) indentLine(i, mode); - } - - function indentLine(n, how) { - if (!how) how = "add"; - if (how == "smart") { - if (!mode.indent) how = "prev"; - else var state = getStateBefore(n); - } - - var line = getLine(n), curSpace = line.indentation(options.tabSize), - curSpaceString = line.text.match(/^\s*/)[0], indentation; - if (how == "smart") { - indentation = mode.indent(state, line.text.slice(curSpaceString.length), line.text); - if (indentation == Pass) how = "prev"; - } - if (how == "prev") { - if (n) indentation = getLine(n-1).indentation(options.tabSize); - else indentation = 0; - } - else if (how == "add") indentation = curSpace + options.indentUnit; - else if (how == "subtract") indentation = curSpace - options.indentUnit; - indentation = Math.max(0, indentation); - var diff = indentation - curSpace; - - var indentString = "", pos = 0; - if (options.indentWithTabs) - for (var i = Math.floor(indentation / options.tabSize); i; --i) {pos += options.tabSize; indentString += "\t";} - if (pos < indentation) indentString += spaceStr(indentation - pos); - - if (indentString != curSpaceString) - replaceRange(indentString, {line: n, ch: 0}, {line: n, ch: curSpaceString.length}); - line.stateAfter = null; - } - - function loadMode() { - mode = CodeMirror.getMode(options, options.mode); - doc.iter(0, doc.size, function(line) { line.stateAfter = null; }); - frontier = 0; - startWorker(100); - } - function gutterChanged() { - var visible = options.gutter || options.lineNumbers; - gutter.style.display = visible ? "" : "none"; - if (visible) gutterDirty = true; - else lineDiv.parentNode.style.marginLeft = 0; - } - function wrappingChanged(from, to) { - if (options.lineWrapping) { - wrapper.className += " CodeMirror-wrap"; - var perLine = scroller.clientWidth / charWidth() - 3; - doc.iter(0, doc.size, function(line) { - if (line.hidden) return; - var guess = Math.ceil(line.text.length / perLine) || 1; - if (guess != 1) updateLineHeight(line, guess); - }); - lineSpace.style.minWidth = widthForcer.style.left = ""; - } else { - wrapper.className = wrapper.className.replace(" CodeMirror-wrap", ""); - computeMaxLength(); - doc.iter(0, doc.size, function(line) { - if (line.height != 1 && !line.hidden) updateLineHeight(line, 1); - }); - } - changes.push({from: 0, to: doc.size}); - } - function themeChanged() { - scroller.className = scroller.className.replace(/\s*cm-s-\S+/g, "") + - options.theme.replace(/(^|\s)\s*/g, " cm-s-"); - } - function keyMapChanged() { - var style = keyMap[options.keyMap].style; - wrapper.className = wrapper.className.replace(/\s*cm-keymap-\S+/g, "") + - (style ? " cm-keymap-" + style : ""); - } - - function TextMarker(type, style) { this.lines = []; this.type = type; if (style) this.style = style; } - TextMarker.prototype.clear = operation(function() { - var min, max; - for (var i = 0; i < this.lines.length; ++i) { - var line = this.lines[i]; - var span = getMarkedSpanFor(line.markedSpans, this); - if (span.from != null) min = lineNo(line); - if (span.to != null) max = lineNo(line); - line.markedSpans = removeMarkedSpan(line.markedSpans, span); - } - if (min != null) changes.push({from: min, to: max + 1}); - this.lines.length = 0; - this.explicitlyCleared = true; - }); - TextMarker.prototype.find = function() { - var from, to; - for (var i = 0; i < this.lines.length; ++i) { - var line = this.lines[i]; - var span = getMarkedSpanFor(line.markedSpans, this); - if (span.from != null || span.to != null) { - var found = lineNo(line); - if (span.from != null) from = {line: found, ch: span.from}; - if (span.to != null) to = {line: found, ch: span.to}; - } - } - if (this.type == "bookmark") return from; - return from && {from: from, to: to}; - }; - - function markText(from, to, className, options) { - from = clipPos(from); to = clipPos(to); - var marker = new TextMarker("range", className); - if (options) for (var opt in options) if (options.hasOwnProperty(opt)) - marker[opt] = options[opt]; - var curLine = from.line; - doc.iter(curLine, to.line + 1, function(line) { - var span = {from: curLine == from.line ? from.ch : null, - to: curLine == to.line ? to.ch : null, - marker: marker}; - line.markedSpans = (line.markedSpans || []).concat([span]); - marker.lines.push(line); - ++curLine; - }); - changes.push({from: from.line, to: to.line + 1}); - return marker; - } - - function setBookmark(pos) { - pos = clipPos(pos); - var marker = new TextMarker("bookmark"), line = getLine(pos.line); - history.addChange(pos.line, 1, [newHL(line.text, line.markedSpans)], true); - var span = {from: pos.ch, to: pos.ch, marker: marker}; - line.markedSpans = (line.markedSpans || []).concat([span]); - marker.lines.push(line); - return marker; - } - - function findMarksAt(pos) { - pos = clipPos(pos); - var markers = [], spans = getLine(pos.line).markedSpans; - if (spans) for (var i = 0; i < spans.length; ++i) { - var span = spans[i]; - if ((span.from == null || span.from <= pos.ch) && - (span.to == null || span.to >= pos.ch)) - markers.push(span.marker); - } - return markers; - } - - function addGutterMarker(line, text, className) { - if (typeof line == "number") line = getLine(clipLine(line)); - line.gutterMarker = {text: text, style: className}; - gutterDirty = true; - return line; - } - function removeGutterMarker(line) { - if (typeof line == "number") line = getLine(clipLine(line)); - line.gutterMarker = null; - gutterDirty = true; - } - - function changeLine(handle, op) { - var no = handle, line = handle; - if (typeof handle == "number") line = getLine(clipLine(handle)); - else no = lineNo(handle); - if (no == null) return null; - if (op(line, no)) changes.push({from: no, to: no + 1}); - else return null; - return line; - } - function setLineClass(handle, className, bgClassName) { - return changeLine(handle, function(line) { - if (line.className != className || line.bgClassName != bgClassName) { - line.className = className; - line.bgClassName = bgClassName; - return true; - } - }); - } - function setLineHidden(handle, hidden) { - return changeLine(handle, function(line, no) { - if (line.hidden != hidden) { - line.hidden = hidden; - if (!options.lineWrapping) { - if (hidden && line.text.length == maxLine.text.length) { - updateMaxLine = true; - } else if (!hidden && line.text.length > maxLine.text.length) { - maxLine = line; updateMaxLine = false; - } - } - updateLineHeight(line, hidden ? 0 : 1); - var fline = sel.from.line, tline = sel.to.line; - if (hidden && (fline == no || tline == no)) { - var from = fline == no ? skipHidden({line: fline, ch: 0}, fline, 0) : sel.from; - var to = tline == no ? skipHidden({line: tline, ch: 0}, tline, 0) : sel.to; - // Can't hide the last visible line, we'd have no place to put the cursor - if (!to) return; - setSelection(from, to); - } - return (gutterDirty = true); - } - }); - } - - function lineInfo(line) { - if (typeof line == "number") { - if (!isLine(line)) return null; - var n = line; - line = getLine(line); - if (!line) return null; - } else { - var n = lineNo(line); - if (n == null) return null; - } - var marker = line.gutterMarker; - return {line: n, handle: line, text: line.text, markerText: marker && marker.text, - markerClass: marker && marker.style, lineClass: line.className, bgClass: line.bgClassName}; - } - - function measureLine(line, ch) { - if (ch == 0) return {top: 0, left: 0}; - var pre = lineContent(line, ch); - removeChildrenAndAdd(measure, pre); - var anchor = pre.anchor; - var top = anchor.offsetTop, left = anchor.offsetLeft; - // Older IEs report zero offsets for spans directly after a wrap - if (ie && top == 0 && left == 0) { - var backup = elt("span", "x"); - anchor.parentNode.insertBefore(backup, anchor.nextSibling); - top = backup.offsetTop; - } - return {top: top, left: left}; - } - function localCoords(pos, inLineWrap) { - var x, lh = textHeight(), y = lh * (heightAtLine(doc, pos.line) - (inLineWrap ? displayOffset : 0)); - if (pos.ch == 0) x = 0; - else { - var sp = measureLine(getLine(pos.line), pos.ch); - x = sp.left; - if (options.lineWrapping) y += Math.max(0, sp.top); - } - return {x: x, y: y, yBot: y + lh}; - } - // Coords must be lineSpace-local - function coordsChar(x, y) { - var th = textHeight(), cw = charWidth(), heightPos = displayOffset + Math.floor(y / th); - if (heightPos < 0) return {line: 0, ch: 0}; - var lineNo = lineAtHeight(doc, heightPos); - if (lineNo >= doc.size) return {line: doc.size - 1, ch: getLine(doc.size - 1).text.length}; - var lineObj = getLine(lineNo), text = lineObj.text; - var tw = options.lineWrapping, innerOff = tw ? heightPos - heightAtLine(doc, lineNo) : 0; - if (x <= 0 && innerOff == 0) return {line: lineNo, ch: 0}; - var wrongLine = false; - function getX(len) { - var sp = measureLine(lineObj, len); - if (tw) { - var off = Math.round(sp.top / th); - wrongLine = off != innerOff; - return Math.max(0, sp.left + (off - innerOff) * scroller.clientWidth); - } - return sp.left; - } - var from = 0, fromX = 0, to = text.length, toX; - // Guess a suitable upper bound for our search. - var estimated = Math.min(to, Math.ceil((x + innerOff * scroller.clientWidth * .9) / cw)); - for (;;) { - var estX = getX(estimated); - if (estX <= x && estimated < to) estimated = Math.min(to, Math.ceil(estimated * 1.2)); - else {toX = estX; to = estimated; break;} - } - if (x > toX) return {line: lineNo, ch: to}; - // Try to guess a suitable lower bound as well. - estimated = Math.floor(to * 0.8); estX = getX(estimated); - if (estX < x) {from = estimated; fromX = estX;} - // Do a binary search between these bounds. - for (;;) { - if (to - from <= 1) { - var after = x - fromX < toX - x; - return {line: lineNo, ch: after ? from : to, after: after}; - } - var middle = Math.ceil((from + to) / 2), middleX = getX(middle); - if (middleX > x) {to = middle; toX = middleX; if (wrongLine) toX += 1000; } - else {from = middle; fromX = middleX;} - } - } - function pageCoords(pos) { - var local = localCoords(pos, true), off = eltOffset(lineSpace); - return {x: off.left + local.x, y: off.top + local.y, yBot: off.top + local.yBot}; - } - - var cachedHeight, cachedHeightFor, measurePre; - function textHeight() { - if (measurePre == null) { - measurePre = elt("pre"); - for (var i = 0; i < 49; ++i) { - measurePre.appendChild(document.createTextNode("x")); - measurePre.appendChild(elt("br")); - } - measurePre.appendChild(document.createTextNode("x")); - } - var offsetHeight = lineDiv.clientHeight; - if (offsetHeight == cachedHeightFor) return cachedHeight; - cachedHeightFor = offsetHeight; - removeChildrenAndAdd(measure, measurePre.cloneNode(true)); - cachedHeight = measure.firstChild.offsetHeight / 50 || 1; - removeChildren(measure); - return cachedHeight; - } - var cachedWidth, cachedWidthFor = 0; - function charWidth() { - if (scroller.clientWidth == cachedWidthFor) return cachedWidth; - cachedWidthFor = scroller.clientWidth; - var anchor = elt("span", "x"); - var pre = elt("pre", [anchor]); - removeChildrenAndAdd(measure, pre); - return (cachedWidth = anchor.offsetWidth || 10); - } - function paddingTop() {return lineSpace.offsetTop;} - function paddingLeft() {return lineSpace.offsetLeft;} - - function posFromMouse(e, liberal) { - var offW = eltOffset(scroller, true), x, y; - // Fails unpredictably on IE[67] when mouse is dragged around quickly. - try { x = e.clientX; y = e.clientY; } catch (e) { return null; } - // This is a mess of a heuristic to try and determine whether a - // scroll-bar was clicked or not, and to return null if one was - // (and !liberal). - if (!liberal && (x - offW.left > scroller.clientWidth || y - offW.top > scroller.clientHeight)) - return null; - var offL = eltOffset(lineSpace, true); - return coordsChar(x - offL.left, y - offL.top); - } - var detectingSelectAll; - function onContextMenu(e) { - var pos = posFromMouse(e), scrollPos = scrollbar.scrollTop; - if (!pos || opera) return; // Opera is difficult. - if (posEq(sel.from, sel.to) || posLess(pos, sel.from) || !posLess(pos, sel.to)) - operation(setCursor)(pos.line, pos.ch); - - var oldCSS = input.style.cssText; - inputDiv.style.position = "absolute"; - input.style.cssText = "position: fixed; width: 30px; height: 30px; top: " + (e.clientY - 5) + - "px; left: " + (e.clientX - 5) + "px; z-index: 1000; background: white; " + - "border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);"; - focusInput(); - resetInput(true); - // Adds "Select all" to context menu in FF - if (posEq(sel.from, sel.to)) input.value = prevInput = " "; - - function rehide() { - inputDiv.style.position = "relative"; - input.style.cssText = oldCSS; - if (ie_lt9) scrollbar.scrollTop = scrollPos; - slowPoll(); - - // Try to detect the user choosing select-all - if (input.selectionStart != null) { - clearTimeout(detectingSelectAll); - var extval = input.value = " " + (posEq(sel.from, sel.to) ? "" : input.value), i = 0; - prevInput = " "; - input.selectionStart = 1; input.selectionEnd = extval.length; - detectingSelectAll = setTimeout(function poll(){ - if (prevInput == " " && input.selectionStart == 0) - operation(commands.selectAll)(instance); - else if (i++ < 10) detectingSelectAll = setTimeout(poll, 500); - else resetInput(); - }, 200); - } - } - - if (gecko) { - e_stop(e); - var mouseup = connect(window, "mouseup", function() { - mouseup(); - setTimeout(rehide, 20); - }, true); - } else { - setTimeout(rehide, 50); - } - } - - // Cursor-blinking - function restartBlink() { - clearInterval(blinker); - var on = true; - cursor.style.visibility = ""; - blinker = setInterval(function() { - cursor.style.visibility = (on = !on) ? "" : "hidden"; - }, options.cursorBlinkRate); - } - - var matching = {"(": ")>", ")": "(<", "[": "]>", "]": "[<", "{": "}>", "}": "{<"}; - function matchBrackets(autoclear) { - var head = sel.inverted ? sel.from : sel.to, line = getLine(head.line), pos = head.ch - 1; - var match = (pos >= 0 && matching[line.text.charAt(pos)]) || matching[line.text.charAt(++pos)]; - if (!match) return; - var ch = match.charAt(0), forward = match.charAt(1) == ">", d = forward ? 1 : -1, st = line.styles; - for (var off = pos + 1, i = 0, e = st.length; i < e; i+=2) - if ((off -= st[i].length) <= 0) {var style = st[i+1]; break;} - - var stack = [line.text.charAt(pos)], re = /[(){}[\]]/; - function scan(line, from, to) { - if (!line.text) return; - var st = line.styles, pos = forward ? 0 : line.text.length - 1, cur; - for (var i = forward ? 0 : st.length - 2, e = forward ? st.length : -2; i != e; i += 2*d) { - var text = st[i]; - if (st[i+1] != style) {pos += d * text.length; continue;} - for (var j = forward ? 0 : text.length - 1, te = forward ? text.length : -1; j != te; j += d, pos+=d) { - if (pos >= from && pos < to && re.test(cur = text.charAt(j))) { - var match = matching[cur]; - if (match.charAt(1) == ">" == forward) stack.push(cur); - else if (stack.pop() != match.charAt(0)) return {pos: pos, match: false}; - else if (!stack.length) return {pos: pos, match: true}; - } - } - } - } - for (var i = head.line, e = forward ? Math.min(i + 100, doc.size) : Math.max(-1, i - 100); i != e; i+=d) { - var line = getLine(i), first = i == head.line; - var found = scan(line, first && forward ? pos + 1 : 0, first && !forward ? pos : line.text.length); - if (found) break; - } - if (!found) found = {pos: null, match: false}; - var style = found.match ? "CodeMirror-matchingbracket" : "CodeMirror-nonmatchingbracket"; - var one = markText({line: head.line, ch: pos}, {line: head.line, ch: pos+1}, style), - two = found.pos != null && markText({line: i, ch: found.pos}, {line: i, ch: found.pos + 1}, style); - var clear = operation(function(){one.clear(); two && two.clear();}); - if (autoclear) setTimeout(clear, 800); - else bracketHighlighted = clear; - } - - // Finds the line to start with when starting a parse. Tries to - // find a line with a stateAfter, so that it can start with a - // valid state. If that fails, it returns the line with the - // smallest indentation, which tends to need the least context to - // parse correctly. - function findStartLine(n) { - var minindent, minline; - for (var search = n, lim = n - 40; search > lim; --search) { - if (search == 0) return 0; - var line = getLine(search-1); - if (line.stateAfter) return search; - var indented = line.indentation(options.tabSize); - if (minline == null || minindent > indented) { - minline = search - 1; - minindent = indented; - } - } - return minline; - } - function getStateBefore(n) { - var pos = findStartLine(n), state = pos && getLine(pos-1).stateAfter; - if (!state) state = startState(mode); - else state = copyState(mode, state); - doc.iter(pos, n, function(line) { - line.process(mode, state, options.tabSize); - line.stateAfter = (pos == n - 1 || pos % 5 == 0) ? copyState(mode, state) : null; - }); - return state; - } - function highlightWorker() { - if (frontier >= showingTo) return; - var end = +new Date + options.workTime, state = copyState(mode, getStateBefore(frontier)); - var startFrontier = frontier; - doc.iter(frontier, showingTo, function(line) { - if (frontier >= showingFrom) { // Visible - line.highlight(mode, state, options.tabSize); - line.stateAfter = copyState(mode, state); - } else { - line.process(mode, state, options.tabSize); - line.stateAfter = frontier % 5 == 0 ? copyState(mode, state) : null; - } - ++frontier; - if (+new Date > end) { - startWorker(options.workDelay); - return true; - } - }); - if (showingTo > startFrontier && frontier >= showingFrom) - operation(function() {changes.push({from: startFrontier, to: frontier});})(); - } - function startWorker(time) { - if (frontier < showingTo) - highlight.set(time, highlightWorker); - } - - // Operations are used to wrap changes in such a way that each - // change won't have to update the cursor and display (which would - // be awkward, slow, and error-prone), but instead updates are - // batched and then all combined and executed at once. - function startOperation() { - updateInput = userSelChange = textChanged = null; - changes = []; selectionChanged = false; callbacks = []; - } - function endOperation() { - if (updateMaxLine) computeMaxLength(); - if (maxLineChanged && !options.lineWrapping) { - var cursorWidth = widthForcer.offsetWidth, left = measureLine(maxLine, maxLine.text.length).left; - if (!ie_lt8) { - widthForcer.style.left = left + "px"; - lineSpace.style.minWidth = (left + cursorWidth) + "px"; - } - maxLineChanged = false; - } - var newScrollPos, updated; - if (selectionChanged) { - var coords = calculateCursorCoords(); - newScrollPos = calculateScrollPos(coords.x, coords.y, coords.x, coords.yBot); - } - if (changes.length || newScrollPos && newScrollPos.scrollTop != null) - updated = updateDisplay(changes, true, newScrollPos && newScrollPos.scrollTop); - if (!updated) { - if (selectionChanged) updateSelection(); - if (gutterDirty) updateGutter(); - } - if (newScrollPos) scrollCursorIntoView(); - if (selectionChanged) restartBlink(); - - if (focused && (updateInput === true || (updateInput !== false && selectionChanged))) - resetInput(userSelChange); - - if (selectionChanged && options.matchBrackets) - setTimeout(operation(function() { - if (bracketHighlighted) {bracketHighlighted(); bracketHighlighted = null;} - if (posEq(sel.from, sel.to)) matchBrackets(false); - }), 20); - var sc = selectionChanged, cbs = callbacks; // these can be reset by callbacks - if (textChanged && options.onChange && instance) - options.onChange(instance, textChanged); - if (sc && options.onCursorActivity) - options.onCursorActivity(instance); - for (var i = 0; i < cbs.length; ++i) cbs[i](instance); - if (updated && options.onUpdate) options.onUpdate(instance); - } - var nestedOperation = 0; - function operation(f) { - return function() { - if (!nestedOperation++) startOperation(); - try {var result = f.apply(this, arguments);} - finally {if (!--nestedOperation) endOperation();} - return result; - }; - } - - function compoundChange(f) { - history.startCompound(); - try { return f(); } finally { history.endCompound(); } - } - - for (var ext in extensions) - if (extensions.propertyIsEnumerable(ext) && - !instance.propertyIsEnumerable(ext)) - instance[ext] = extensions[ext]; - for (var i = 0; i < initHooks.length; ++i) initHooks[i](instance); - return instance; - } // (end of function CodeMirror) - - // The default configuration options. - CodeMirror.defaults = { - value: "", - mode: null, - theme: "default", - indentUnit: 2, - indentWithTabs: false, - smartIndent: true, - tabSize: 4, - keyMap: "default", - extraKeys: null, - electricChars: true, - autoClearEmptyLines: false, - onKeyEvent: null, - onDragEvent: null, - lineWrapping: false, - lineNumbers: false, - gutter: false, - fixedGutter: false, - firstLineNumber: 1, - readOnly: false, - dragDrop: true, - onChange: null, - onCursorActivity: null, - onViewportChange: null, - onGutterClick: null, - onUpdate: null, - onFocus: null, onBlur: null, onScroll: null, - matchBrackets: false, - cursorBlinkRate: 530, - workTime: 100, - workDelay: 200, - pollInterval: 100, - undoDepth: 40, - tabindex: null, - autofocus: null, - lineNumberFormatter: function(integer) { return integer; } - }; - - var ios = /AppleWebKit/.test(navigator.userAgent) && /Mobile\/\w+/.test(navigator.userAgent); - var mac = ios || /Mac/.test(navigator.platform); - var win = /Win/.test(navigator.platform); - - // Known modes, by name and by MIME - var modes = CodeMirror.modes = {}, mimeModes = CodeMirror.mimeModes = {}; - CodeMirror.defineMode = function(name, mode) { - if (!CodeMirror.defaults.mode && name != "null") CodeMirror.defaults.mode = name; - if (arguments.length > 2) { - mode.dependencies = []; - for (var i = 2; i < arguments.length; ++i) mode.dependencies.push(arguments[i]); - } - modes[name] = mode; - }; - CodeMirror.defineMIME = function(mime, spec) { - mimeModes[mime] = spec; - }; - CodeMirror.resolveMode = function(spec) { - if (typeof spec == "string" && mimeModes.hasOwnProperty(spec)) - spec = mimeModes[spec]; - else if (typeof spec == "string" && /^[\w\-]+\/[\w\-]+\+xml$/.test(spec)) - return CodeMirror.resolveMode("application/xml"); - if (typeof spec == "string") return {name: spec}; - else return spec || {name: "null"}; - }; - CodeMirror.getMode = function(options, spec) { - var spec = CodeMirror.resolveMode(spec); - var mfactory = modes[spec.name]; - if (!mfactory) return CodeMirror.getMode(options, "text/plain"); - var modeObj = mfactory(options, spec); - if (modeExtensions.hasOwnProperty(spec.name)) { - var exts = modeExtensions[spec.name]; - for (var prop in exts) if (exts.hasOwnProperty(prop)) modeObj[prop] = exts[prop]; - } - modeObj.name = spec.name; - return modeObj; - }; - CodeMirror.listModes = function() { - var list = []; - for (var m in modes) - if (modes.propertyIsEnumerable(m)) list.push(m); - return list; - }; - CodeMirror.listMIMEs = function() { - var list = []; - for (var m in mimeModes) - if (mimeModes.propertyIsEnumerable(m)) list.push({mime: m, mode: mimeModes[m]}); - return list; - }; - - var extensions = CodeMirror.extensions = {}; - CodeMirror.defineExtension = function(name, func) { - extensions[name] = func; - }; - - var initHooks = []; - CodeMirror.defineInitHook = function(f) {initHooks.push(f);}; - - var modeExtensions = CodeMirror.modeExtensions = {}; - CodeMirror.extendMode = function(mode, properties) { - var exts = modeExtensions.hasOwnProperty(mode) ? modeExtensions[mode] : (modeExtensions[mode] = {}); - for (var prop in properties) if (properties.hasOwnProperty(prop)) - exts[prop] = properties[prop]; - }; - - var commands = CodeMirror.commands = { - selectAll: function(cm) {cm.setSelection({line: 0, ch: 0}, {line: cm.lineCount() - 1});}, - killLine: function(cm) { - var from = cm.getCursor(true), to = cm.getCursor(false), sel = !posEq(from, to); - if (!sel && cm.getLine(from.line).length == from.ch) cm.replaceRange("", from, {line: from.line + 1, ch: 0}); - else cm.replaceRange("", from, sel ? to : {line: from.line}); - }, - deleteLine: function(cm) {var l = cm.getCursor().line; cm.replaceRange("", {line: l, ch: 0}, {line: l});}, - undo: function(cm) {cm.undo();}, - redo: function(cm) {cm.redo();}, - goDocStart: function(cm) {cm.setCursor(0, 0, true);}, - goDocEnd: function(cm) {cm.setSelection({line: cm.lineCount() - 1}, null, true);}, - goLineStart: function(cm) {cm.setCursor(cm.getCursor().line, 0, true);}, - goLineStartSmart: function(cm) { - var cur = cm.getCursor(); - var text = cm.getLine(cur.line), firstNonWS = Math.max(0, text.search(/\S/)); - cm.setCursor(cur.line, cur.ch <= firstNonWS && cur.ch ? 0 : firstNonWS, true); - }, - goLineEnd: function(cm) {cm.setSelection({line: cm.getCursor().line}, null, true);}, - goLineUp: function(cm) {cm.moveV(-1, "line");}, - goLineDown: function(cm) {cm.moveV(1, "line");}, - goPageUp: function(cm) {cm.moveV(-1, "page");}, - goPageDown: function(cm) {cm.moveV(1, "page");}, - goCharLeft: function(cm) {cm.moveH(-1, "char");}, - goCharRight: function(cm) {cm.moveH(1, "char");}, - goColumnLeft: function(cm) {cm.moveH(-1, "column");}, - goColumnRight: function(cm) {cm.moveH(1, "column");}, - goWordLeft: function(cm) {cm.moveH(-1, "word");}, - goWordRight: function(cm) {cm.moveH(1, "word");}, - delCharLeft: function(cm) {cm.deleteH(-1, "char");}, - delCharRight: function(cm) {cm.deleteH(1, "char");}, - delWordLeft: function(cm) {cm.deleteH(-1, "word");}, - delWordRight: function(cm) {cm.deleteH(1, "word");}, - indentAuto: function(cm) {cm.indentSelection("smart");}, - indentMore: function(cm) {cm.indentSelection("add");}, - indentLess: function(cm) {cm.indentSelection("subtract");}, - insertTab: function(cm) {cm.replaceSelection("\t", "end");}, - defaultTab: function(cm) { - if (cm.somethingSelected()) cm.indentSelection("add"); - else cm.replaceSelection("\t", "end"); - }, - transposeChars: function(cm) { - var cur = cm.getCursor(), line = cm.getLine(cur.line); - if (cur.ch > 0 && cur.ch < line.length - 1) - cm.replaceRange(line.charAt(cur.ch) + line.charAt(cur.ch - 1), - {line: cur.line, ch: cur.ch - 1}, {line: cur.line, ch: cur.ch + 1}); - }, - newlineAndIndent: function(cm) { - cm.replaceSelection("\n", "end"); - cm.indentLine(cm.getCursor().line); - }, - toggleOverwrite: function(cm) {cm.toggleOverwrite();} - }; - - var keyMap = CodeMirror.keyMap = {}; - keyMap.basic = { - "Left": "goCharLeft", "Right": "goCharRight", "Up": "goLineUp", "Down": "goLineDown", - "End": "goLineEnd", "Home": "goLineStartSmart", "PageUp": "goPageUp", "PageDown": "goPageDown", - "Delete": "delCharRight", "Backspace": "delCharLeft", "Tab": "defaultTab", "Shift-Tab": "indentAuto", - "Enter": "newlineAndIndent", "Insert": "toggleOverwrite" - }; - // Note that the save and find-related commands aren't defined by - // default. Unknown commands are simply ignored. - keyMap.pcDefault = { - "Ctrl-A": "selectAll", "Ctrl-D": "deleteLine", "Ctrl-Z": "undo", "Shift-Ctrl-Z": "redo", "Ctrl-Y": "redo", - "Ctrl-Home": "goDocStart", "Alt-Up": "goDocStart", "Ctrl-End": "goDocEnd", "Ctrl-Down": "goDocEnd", - "Ctrl-Left": "goWordLeft", "Ctrl-Right": "goWordRight", "Alt-Left": "goLineStart", "Alt-Right": "goLineEnd", - "Ctrl-Backspace": "delWordLeft", "Ctrl-Delete": "delWordRight", "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", - fallthrough: "basic" - }; - keyMap.macDefault = { - "Cmd-A": "selectAll", "Cmd-D": "deleteLine", "Cmd-Z": "undo", "Shift-Cmd-Z": "redo", "Cmd-Y": "redo", - "Cmd-Up": "goDocStart", "Cmd-End": "goDocEnd", "Cmd-Down": "goDocEnd", "Alt-Left": "goWordLeft", - "Alt-Right": "goWordRight", "Cmd-Left": "goLineStart", "Cmd-Right": "goLineEnd", "Alt-Backspace": "delWordLeft", - "Ctrl-Alt-Backspace": "delWordRight", "Alt-Delete": "delWordRight", "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", - fallthrough: ["basic", "emacsy"] - }; - keyMap["default"] = mac ? keyMap.macDefault : keyMap.pcDefault; - keyMap.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": "goPageUp", "Shift-Ctrl-V": "goPageDown", "Ctrl-D": "delCharRight", "Ctrl-H": "delCharLeft", - "Alt-D": "delWordRight", "Alt-Backspace": "delWordLeft", "Ctrl-K": "killLine", "Ctrl-T": "transposeChars" - }; - - function getKeyMap(val) { - if (typeof val == "string") return keyMap[val]; - else return val; - } - function lookupKey(name, extraMap, map, handle, stop) { - function lookup(map) { - map = getKeyMap(map); - var found = map[name]; - if (found === false) { - if (stop) stop(); - return true; - } - if (found != null && handle(found)) return true; - if (map.nofallthrough) { - if (stop) stop(); - return true; - } - var fallthrough = map.fallthrough; - if (fallthrough == null) return false; - if (Object.prototype.toString.call(fallthrough) != "[object Array]") - return lookup(fallthrough); - for (var i = 0, e = fallthrough.length; i < e; ++i) { - if (lookup(fallthrough[i])) return true; - } - return false; - } - if (extraMap && lookup(extraMap)) return true; - return lookup(map); - } - function isModifierKey(event) { - var name = keyNames[e_prop(event, "keyCode")]; - return name == "Ctrl" || name == "Alt" || name == "Shift" || name == "Mod"; - } - CodeMirror.isModifierKey = isModifierKey; - - CodeMirror.fromTextArea = function(textarea, options) { - if (!options) options = {}; - options.value = textarea.value; - if (!options.tabindex && textarea.tabindex) - options.tabindex = textarea.tabindex; - // Set autofocus to true if this textarea is focused, or if it has - // autofocus and no other element is focused. - if (options.autofocus == null) { - var hasFocus = document.body; - // doc.activeElement occasionally throws on IE - try { hasFocus = document.activeElement; } catch(e) {} - options.autofocus = hasFocus == textarea || - textarea.getAttribute("autofocus") != null && hasFocus == document.body; - } - - function save() {textarea.value = instance.getValue();} - if (textarea.form) { - // Deplorable hack to make the submit method do the right thing. - var rmSubmit = connect(textarea.form, "submit", save, true); - if (typeof textarea.form.submit == "function") { - var realSubmit = textarea.form.submit; - textarea.form.submit = function wrappedSubmit() { - save(); - textarea.form.submit = realSubmit; - textarea.form.submit(); - textarea.form.submit = wrappedSubmit; - }; - } - } - - textarea.style.display = "none"; - var instance = CodeMirror(function(node) { - textarea.parentNode.insertBefore(node, textarea.nextSibling); - }, options); - instance.save = save; - instance.getTextArea = function() { return textarea; }; - instance.toTextArea = function() { - save(); - textarea.parentNode.removeChild(instance.getWrapperElement()); - textarea.style.display = ""; - if (textarea.form) { - rmSubmit(); - if (typeof textarea.form.submit == "function") - textarea.form.submit = realSubmit; - } - }; - return instance; - }; - - var gecko = /gecko\/\d{7}/i.test(navigator.userAgent); - var ie = /MSIE \d/.test(navigator.userAgent); - var ie_lt8 = /MSIE [1-7]\b/.test(navigator.userAgent); - var ie_lt9 = /MSIE [1-8]\b/.test(navigator.userAgent); - var quirksMode = ie && document.documentMode == 5; - var webkit = /WebKit\//.test(navigator.userAgent); - var chrome = /Chrome\//.test(navigator.userAgent); - var opera = /Opera\//.test(navigator.userAgent); - var safari = /Apple Computer/.test(navigator.vendor); - var khtml = /KHTML\//.test(navigator.userAgent); - var mac_geLion = /Mac OS X 10\D([7-9]|\d\d)\D/.test(navigator.userAgent); - - // Utility functions for working with state. Exported because modes - // sometimes need to do this. - function copyState(mode, state) { - if (state === true) return state; - if (mode.copyState) return mode.copyState(state); - var nstate = {}; - for (var n in state) { - var val = state[n]; - if (val instanceof Array) val = val.concat([]); - nstate[n] = val; - } - return nstate; - } - CodeMirror.copyState = copyState; - function startState(mode, a1, a2) { - return mode.startState ? mode.startState(a1, a2) : true; - } - CodeMirror.startState = startState; - CodeMirror.innerMode = function(mode, state) { - while (mode.innerMode) { - var info = mode.innerMode(state); - state = info.state; - mode = info.mode; - } - return info || {mode: mode, state: state}; - }; - - // The character stream used by a mode's parser. - function StringStream(string, tabSize) { - this.pos = this.start = 0; - this.string = string; - this.tabSize = tabSize || 8; - } - StringStream.prototype = { - eol: function() {return this.pos >= this.string.length;}, - sol: function() {return this.pos == 0;}, - peek: function() {return this.string.charAt(this.pos) || undefined;}, - next: function() { - if (this.pos < this.string.length) - return this.string.charAt(this.pos++); - }, - eat: function(match) { - var ch = this.string.charAt(this.pos); - if (typeof match == "string") var ok = ch == match; - else var ok = ch && (match.test ? match.test(ch) : match(ch)); - if (ok) {++this.pos; return ch;} - }, - eatWhile: function(match) { - var start = this.pos; - while (this.eat(match)){} - return this.pos > start; - }, - eatSpace: function() { - var start = this.pos; - while (/[\s\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos; - return this.pos > start; - }, - skipToEnd: function() {this.pos = this.string.length;}, - skipTo: function(ch) { - var found = this.string.indexOf(ch, this.pos); - if (found > -1) {this.pos = found; return true;} - }, - backUp: function(n) {this.pos -= n;}, - column: function() {return countColumn(this.string, this.start, this.tabSize);}, - indentation: function() {return countColumn(this.string, null, this.tabSize);}, - match: function(pattern, consume, caseInsensitive) { - if (typeof pattern == "string") { - var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;}; - if (cased(this.string).indexOf(cased(pattern), this.pos) == this.pos) { - if (consume !== false) this.pos += pattern.length; - return true; - } - } else { - var match = this.string.slice(this.pos).match(pattern); - if (match && match.index > 0) return null; - if (match && consume !== false) this.pos += match[0].length; - return match; - } - }, - current: function(){return this.string.slice(this.start, this.pos);} - }; - CodeMirror.StringStream = StringStream; - - function MarkedSpan(from, to, marker) { - this.from = from; this.to = to; this.marker = marker; - } - - function getMarkedSpanFor(spans, marker) { - if (spans) for (var i = 0; i < spans.length; ++i) { - var span = spans[i]; - if (span.marker == marker) return span; - } - } - - function removeMarkedSpan(spans, span) { - var r; - for (var i = 0; i < spans.length; ++i) - if (spans[i] != span) (r || (r = [])).push(spans[i]); - return r; - } - - function markedSpansBefore(old, startCh, endCh) { - if (old) for (var i = 0, nw; i < old.length; ++i) { - var span = old[i], marker = span.marker; - var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= startCh : span.from < startCh); - if (startsBefore || marker.type == "bookmark" && span.from == startCh && span.from != endCh) { - var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= startCh : span.to > startCh); - (nw || (nw = [])).push({from: span.from, - to: endsAfter ? null : span.to, - marker: marker}); - } - } - return nw; - } - - function markedSpansAfter(old, endCh) { - if (old) for (var i = 0, nw; i < old.length; ++i) { - var span = old[i], marker = span.marker; - var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= endCh : span.to > endCh); - if (endsAfter || marker.type == "bookmark" && span.from == endCh) { - var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= endCh : span.from < endCh); - (nw || (nw = [])).push({from: startsBefore ? null : span.from - endCh, - to: span.to == null ? null : span.to - endCh, - marker: marker}); - } - } - return nw; - } - - function updateMarkedSpans(oldFirst, oldLast, startCh, endCh, newText) { - if (!oldFirst && !oldLast) return newText; - // Get the spans that 'stick out' on both sides - var first = markedSpansBefore(oldFirst, startCh); - var last = markedSpansAfter(oldLast, endCh); - - // Next, merge those two ends - var sameLine = newText.length == 1, offset = lst(newText).length + (sameLine ? startCh : 0); - if (first) { - // Fix up .to properties of first - for (var i = 0; i < first.length; ++i) { - var span = first[i]; - if (span.to == null) { - var found = getMarkedSpanFor(last, span.marker); - if (!found) span.to = startCh; - else if (sameLine) span.to = found.to == null ? null : found.to + offset; - } - } - } - if (last) { - // Fix up .from in last (or move them into first in case of sameLine) - for (var i = 0; i < last.length; ++i) { - var span = last[i]; - if (span.to != null) span.to += offset; - if (span.from == null) { - var found = getMarkedSpanFor(first, span.marker); - if (!found) { - span.from = offset; - if (sameLine) (first || (first = [])).push(span); - } - } else { - span.from += offset; - if (sameLine) (first || (first = [])).push(span); - } - } - } - - var newMarkers = [newHL(newText[0], first)]; - if (!sameLine) { - // Fill gap with whole-line-spans - var gap = newText.length - 2, gapMarkers; - if (gap > 0 && first) - for (var i = 0; i < first.length; ++i) - if (first[i].to == null) - (gapMarkers || (gapMarkers = [])).push({from: null, to: null, marker: first[i].marker}); - for (var i = 0; i < gap; ++i) - newMarkers.push(newHL(newText[i+1], gapMarkers)); - newMarkers.push(newHL(lst(newText), last)); - } - return newMarkers; - } - - // hl stands for history-line, a data structure that can be either a - // string (line without markers) or a {text, markedSpans} object. - function hlText(val) { return typeof val == "string" ? val : val.text; } - function hlSpans(val) { - if (typeof val == "string") return null; - var spans = val.markedSpans, out = null; - for (var i = 0; i < spans.length; ++i) { - if (spans[i].marker.explicitlyCleared) { if (!out) out = spans.slice(0, i); } - else if (out) out.push(spans[i]); - } - return !out ? spans : out.length ? out : null; - } - function newHL(text, spans) { return spans ? {text: text, markedSpans: spans} : text; } - - function detachMarkedSpans(line) { - var spans = line.markedSpans; - if (!spans) return; - for (var i = 0; i < spans.length; ++i) { - var lines = spans[i].marker.lines; - var ix = indexOf(lines, line); - lines.splice(ix, 1); - } - line.markedSpans = null; - } - - function attachMarkedSpans(line, spans) { - if (!spans) return; - for (var i = 0; i < spans.length; ++i) - var marker = spans[i].marker.lines.push(line); - line.markedSpans = spans; - } - - // When measuring the position of the end of a line, different - // browsers require different approaches. If an empty span is added, - // many browsers report bogus offsets. Of those, some (Webkit, - // recent IE) will accept a space without moving the whole span to - // the next line when wrapping it, others work with a zero-width - // space. - var eolSpanContent = " "; - if (gecko || (ie && !ie_lt8)) eolSpanContent = "\u200b"; - else if (opera) eolSpanContent = ""; - - // Line objects. These hold state related to a line, including - // highlighting info (the styles array). - function Line(text, markedSpans) { - this.text = text; - this.height = 1; - attachMarkedSpans(this, markedSpans); - } - Line.prototype = { - update: function(text, markedSpans) { - this.text = text; - this.stateAfter = this.styles = null; - detachMarkedSpans(this); - attachMarkedSpans(this, markedSpans); - }, - // Run the given mode's parser over a line, update the styles - // array, which contains alternating fragments of text and CSS - // classes. - highlight: function(mode, state, tabSize) { - var stream = new StringStream(this.text, tabSize), st = this.styles || (this.styles = []); - var pos = st.length = 0; - if (this.text == "" && mode.blankLine) mode.blankLine(state); - while (!stream.eol()) { - var style = mode.token(stream, state), substr = stream.current(); - stream.start = stream.pos; - if (pos && st[pos-1] == style) { - st[pos-2] += substr; - } else if (substr) { - st[pos++] = substr; st[pos++] = style; - } - // Give up when line is ridiculously long - if (stream.pos > 5000) { - st[pos++] = this.text.slice(stream.pos); st[pos++] = null; - break; - } - } - }, - process: function(mode, state, tabSize) { - var stream = new StringStream(this.text, tabSize); - if (this.text == "" && mode.blankLine) mode.blankLine(state); - while (!stream.eol() && stream.pos <= 5000) { - mode.token(stream, state); - stream.start = stream.pos; - } - }, - // Fetch the parser token for a given character. Useful for hacks - // that want to inspect the mode state (say, for completion). - getTokenAt: function(mode, state, tabSize, ch) { - var txt = this.text, stream = new StringStream(txt, tabSize); - while (stream.pos < ch && !stream.eol()) { - stream.start = stream.pos; - var style = mode.token(stream, state); - } - return {start: stream.start, - end: stream.pos, - string: stream.current(), - className: style || null, - state: state}; - }, - indentation: function(tabSize) {return countColumn(this.text, null, tabSize);}, - // Produces an HTML fragment for the line, taking selection, - // marking, and highlighting into account. - getContent: function(tabSize, wrapAt, compensateForWrapping) { - var first = true, col = 0, specials = /[\t\u0000-\u0019\u200b\u2028\u2029\uFEFF]/g; - var pre = elt("pre"); - function span_(html, text, style) { - if (!text) return; - // Work around a bug where, in some compat modes, IE ignores leading spaces - if (first && ie && text.charAt(0) == " ") text = "\u00a0" + text.slice(1); - first = false; - if (!specials.test(text)) { - col += text.length; - var content = document.createTextNode(text); - } else { - var content = document.createDocumentFragment(), pos = 0; - while (true) { - specials.lastIndex = pos; - var m = specials.exec(text); - var skipped = m ? m.index - pos : text.length - pos; - if (skipped) { - content.appendChild(document.createTextNode(text.slice(pos, pos + skipped))); - col += skipped; - } - if (!m) break; - pos += skipped + 1; - if (m[0] == "\t") { - var tabWidth = tabSize - col % tabSize; - content.appendChild(elt("span", spaceStr(tabWidth), "cm-tab")); - col += tabWidth; - } else { - var token = elt("span", "\u2022", "cm-invalidchar"); - token.title = "\\u" + m[0].charCodeAt(0).toString(16); - content.appendChild(token); - col += 1; - } - } - } - if (style) html.appendChild(elt("span", [content], style)); - else html.appendChild(content); - } - var span = span_; - if (wrapAt != null) { - var outPos = 0, anchor = pre.anchor = elt("span"); - span = function(html, text, style) { - var l = text.length; - if (wrapAt >= outPos && wrapAt < outPos + l) { - var cut = wrapAt - outPos; - if (cut) { - span_(html, text.slice(0, cut), style); - // See comment at the definition of spanAffectsWrapping - if (compensateForWrapping) { - var view = text.slice(cut - 1, cut + 1); - if (spanAffectsWrapping.test(view)) html.appendChild(elt("wbr")); - else if (!ie_lt8 && /\w\w/.test(view)) html.appendChild(document.createTextNode("\u200d")); - } - } - html.appendChild(anchor); - span_(anchor, opera ? text.slice(cut, cut + 1) : text.slice(cut), style); - if (opera) span_(html, text.slice(cut + 1), style); - wrapAt--; - outPos += l; - } else { - outPos += l; - span_(html, text, style); - if (outPos == wrapAt && outPos == len) { - setTextContent(anchor, eolSpanContent); - html.appendChild(anchor); - } - // Stop outputting HTML when gone sufficiently far beyond measure - else if (outPos > wrapAt + 10 && /\s/.test(text)) span = function(){}; - } - }; - } - - var st = this.styles, allText = this.text, marked = this.markedSpans; - var len = allText.length; - function styleToClass(style) { - if (!style) return null; - return "cm-" + style.replace(/ +/g, " cm-"); - } - if (!allText && wrapAt == null) { - span(pre, " "); - } else if (!marked || !marked.length) { - for (var i = 0, ch = 0; ch < len; i+=2) { - var str = st[i], style = st[i+1], l = str.length; - if (ch + l > len) str = str.slice(0, len - ch); - ch += l; - span(pre, str, styleToClass(style)); - } - } else { - marked.sort(function(a, b) { return a.from - b.from; }); - var pos = 0, i = 0, text = "", style, sg = 0; - var nextChange = marked[0].from || 0, marks = [], markpos = 0; - var advanceMarks = function() { - var m; - while (markpos < marked.length && - ((m = marked[markpos]).from == pos || m.from == null)) { - if (m.marker.type == "range") marks.push(m); - ++markpos; - } - nextChange = markpos < marked.length ? marked[markpos].from : Infinity; - for (var i = 0; i < marks.length; ++i) { - var to = marks[i].to; - if (to == null) to = Infinity; - if (to == pos) marks.splice(i--, 1); - else nextChange = Math.min(to, nextChange); - } - }; - var m = 0; - while (pos < len) { - if (nextChange == pos) advanceMarks(); - var upto = Math.min(len, nextChange); - while (true) { - if (text) { - var end = pos + text.length; - var appliedStyle = style; - for (var j = 0; j < marks.length; ++j) { - var mark = marks[j]; - appliedStyle = (appliedStyle ? appliedStyle + " " : "") + mark.marker.style; - if (mark.marker.endStyle && mark.to === Math.min(end, upto)) appliedStyle += " " + mark.marker.endStyle; - if (mark.marker.startStyle && mark.from === pos) appliedStyle += " " + mark.marker.startStyle; - } - span(pre, end > upto ? text.slice(0, upto - pos) : text, appliedStyle); - if (end >= upto) {text = text.slice(upto - pos); pos = upto; break;} - pos = end; - } - text = st[i++]; style = styleToClass(st[i++]); - } - } - } - return pre; - }, - cleanUp: function() { - this.parent = null; - detachMarkedSpans(this); - } - }; - - // Data structure that holds the sequence of lines. - function LeafChunk(lines) { - this.lines = lines; - this.parent = null; - for (var i = 0, e = lines.length, height = 0; i < e; ++i) { - lines[i].parent = this; - height += lines[i].height; - } - this.height = height; - } - LeafChunk.prototype = { - chunkSize: function() { return this.lines.length; }, - remove: function(at, n, callbacks) { - for (var i = at, e = at + n; i < e; ++i) { - var line = this.lines[i]; - this.height -= line.height; - line.cleanUp(); - if (line.handlers) - for (var j = 0; j < line.handlers.length; ++j) callbacks.push(line.handlers[j]); - } - this.lines.splice(at, n); - }, - collapse: function(lines) { - lines.splice.apply(lines, [lines.length, 0].concat(this.lines)); - }, - insertHeight: function(at, lines, height) { - this.height += height; - this.lines = this.lines.slice(0, at).concat(lines).concat(this.lines.slice(at)); - for (var i = 0, e = lines.length; i < e; ++i) lines[i].parent = this; - }, - iterN: function(at, n, op) { - for (var e = at + n; at < e; ++at) - if (op(this.lines[at])) return true; - } - }; - function BranchChunk(children) { - this.children = children; - var size = 0, height = 0; - for (var i = 0, e = children.length; i < e; ++i) { - var ch = children[i]; - size += ch.chunkSize(); height += ch.height; - ch.parent = this; - } - this.size = size; - this.height = height; - this.parent = null; - } - BranchChunk.prototype = { - chunkSize: function() { return this.size; }, - remove: function(at, n, callbacks) { - this.size -= n; - for (var i = 0; i < this.children.length; ++i) { - var child = this.children[i], sz = child.chunkSize(); - if (at < sz) { - var rm = Math.min(n, sz - at), oldHeight = child.height; - child.remove(at, rm, callbacks); - this.height -= oldHeight - child.height; - if (sz == rm) { this.children.splice(i--, 1); child.parent = null; } - if ((n -= rm) == 0) break; - at = 0; - } else at -= sz; - } - if (this.size - n < 25) { - var lines = []; - this.collapse(lines); - this.children = [new LeafChunk(lines)]; - this.children[0].parent = this; - } - }, - collapse: function(lines) { - for (var i = 0, e = this.children.length; i < e; ++i) this.children[i].collapse(lines); - }, - insert: function(at, lines) { - var height = 0; - for (var i = 0, e = lines.length; i < e; ++i) height += lines[i].height; - this.insertHeight(at, lines, height); - }, - insertHeight: function(at, lines, height) { - this.size += lines.length; - this.height += height; - for (var i = 0, e = this.children.length; i < e; ++i) { - var child = this.children[i], sz = child.chunkSize(); - if (at <= sz) { - child.insertHeight(at, lines, height); - if (child.lines && child.lines.length > 50) { - while (child.lines.length > 50) { - var spilled = child.lines.splice(child.lines.length - 25, 25); - var newleaf = new LeafChunk(spilled); - child.height -= newleaf.height; - this.children.splice(i + 1, 0, newleaf); - newleaf.parent = this; - } - this.maybeSpill(); - } - break; - } - at -= sz; - } - }, - maybeSpill: function() { - if (this.children.length <= 10) return; - var me = this; - do { - var spilled = me.children.splice(me.children.length - 5, 5); - var sibling = new BranchChunk(spilled); - if (!me.parent) { // Become the parent node - var copy = new BranchChunk(me.children); - copy.parent = me; - me.children = [copy, sibling]; - me = copy; - } else { - me.size -= sibling.size; - me.height -= sibling.height; - var myIndex = indexOf(me.parent.children, me); - me.parent.children.splice(myIndex + 1, 0, sibling); - } - sibling.parent = me.parent; - } while (me.children.length > 10); - me.parent.maybeSpill(); - }, - iter: function(from, to, op) { this.iterN(from, to - from, op); }, - iterN: function(at, n, op) { - for (var i = 0, e = this.children.length; i < e; ++i) { - var child = this.children[i], sz = child.chunkSize(); - if (at < sz) { - var used = Math.min(n, sz - at); - if (child.iterN(at, used, op)) return true; - if ((n -= used) == 0) break; - at = 0; - } else at -= sz; - } - } - }; - - function getLineAt(chunk, n) { - while (!chunk.lines) { - for (var i = 0;; ++i) { - var child = chunk.children[i], sz = child.chunkSize(); - if (n < sz) { chunk = child; break; } - n -= sz; - } - } - return chunk.lines[n]; - } - function lineNo(line) { - if (line.parent == null) return null; - var cur = line.parent, no = indexOf(cur.lines, line); - for (var chunk = cur.parent; chunk; cur = chunk, chunk = chunk.parent) { - for (var i = 0, e = chunk.children.length; ; ++i) { - if (chunk.children[i] == cur) break; - no += chunk.children[i].chunkSize(); - } - } - return no; - } - function lineAtHeight(chunk, h) { - var n = 0; - outer: do { - for (var i = 0, e = chunk.children.length; i < e; ++i) { - var child = chunk.children[i], ch = child.height; - if (h < ch) { chunk = child; continue outer; } - h -= ch; - n += child.chunkSize(); - } - return n; - } while (!chunk.lines); - for (var i = 0, e = chunk.lines.length; i < e; ++i) { - var line = chunk.lines[i], lh = line.height; - if (h < lh) break; - h -= lh; - } - return n + i; - } - function heightAtLine(chunk, n) { - var h = 0; - outer: do { - for (var i = 0, e = chunk.children.length; i < e; ++i) { - var child = chunk.children[i], sz = child.chunkSize(); - if (n < sz) { chunk = child; continue outer; } - n -= sz; - h += child.height; - } - return h; - } while (!chunk.lines); - for (var i = 0; i < n; ++i) h += chunk.lines[i].height; - return h; - } - - // The history object 'chunks' changes that are made close together - // and at almost the same time into bigger undoable units. - function History() { - this.time = 0; - this.done = []; this.undone = []; - this.compound = 0; - this.closed = false; - } - History.prototype = { - addChange: function(start, added, old) { - this.undone.length = 0; - var time = +new Date, cur = lst(this.done), last = cur && lst(cur); - var dtime = time - this.time; - - if (cur && !this.closed && this.compound) { - cur.push({start: start, added: added, old: old}); - } else if (dtime > 400 || !last || this.closed || - last.start > start + old.length || last.start + last.added < start) { - this.done.push([{start: start, added: added, old: old}]); - this.closed = false; - } else { - var startBefore = Math.max(0, last.start - start), - endAfter = Math.max(0, (start + old.length) - (last.start + last.added)); - for (var i = startBefore; i > 0; --i) last.old.unshift(old[i - 1]); - for (var i = endAfter; i > 0; --i) last.old.push(old[old.length - i]); - if (startBefore) last.start = start; - last.added += added - (old.length - startBefore - endAfter); - } - this.time = time; - }, - startCompound: function() { - if (!this.compound++) this.closed = true; - }, - endCompound: function() { - if (!--this.compound) this.closed = true; - } - }; - - function stopMethod() {e_stop(this);} - // Ensure an event has a stop method. - function addStop(event) { - if (!event.stop) event.stop = stopMethod; - return event; - } - - function e_preventDefault(e) { - if (e.preventDefault) e.preventDefault(); - else e.returnValue = false; - } - function e_stopPropagation(e) { - if (e.stopPropagation) e.stopPropagation(); - else e.cancelBubble = true; - } - function e_stop(e) {e_preventDefault(e); e_stopPropagation(e);} - CodeMirror.e_stop = e_stop; - CodeMirror.e_preventDefault = e_preventDefault; - CodeMirror.e_stopPropagation = e_stopPropagation; - - function e_target(e) {return e.target || e.srcElement;} - function e_button(e) { - var b = e.which; - if (b == null) { - if (e.button & 1) b = 1; - else if (e.button & 2) b = 3; - else if (e.button & 4) b = 2; - } - if (mac && e.ctrlKey && b == 1) b = 3; - return b; - } - - // Allow 3rd-party code to override event properties by adding an override - // object to an event object. - function e_prop(e, prop) { - var overridden = e.override && e.override.hasOwnProperty(prop); - return overridden ? e.override[prop] : e[prop]; - } - - // Event handler registration. If disconnect is true, it'll return a - // function that unregisters the handler. - function connect(node, type, handler, disconnect) { - if (typeof node.addEventListener == "function") { - node.addEventListener(type, handler, false); - if (disconnect) return function() {node.removeEventListener(type, handler, false);}; - } else { - var wrapHandler = function(event) {handler(event || window.event);}; - node.attachEvent("on" + type, wrapHandler); - if (disconnect) return function() {node.detachEvent("on" + type, wrapHandler);}; - } - } - CodeMirror.connect = connect; - - function Delayed() {this.id = null;} - Delayed.prototype = {set: function(ms, f) {clearTimeout(this.id); this.id = setTimeout(f, ms);}}; - - var Pass = CodeMirror.Pass = {toString: function(){return "CodeMirror.Pass";}}; - - // Detect drag-and-drop - var dragAndDrop = function() { - // There is *some* kind of drag-and-drop support in IE6-8, but I - // couldn't get it to work yet. - if (ie_lt9) return false; - var div = elt('div'); - return "draggable" in div || "dragDrop" in div; - }(); - - // Feature-detect whether newlines in textareas are converted to \r\n - var lineSep = function () { - var te = elt("textarea"); - te.value = "foo\nbar"; - if (te.value.indexOf("\r") > -1) return "\r\n"; - return "\n"; - }(); - - // For a reason I have yet to figure out, some browsers disallow - // word wrapping between certain characters *only* if a new inline - // element is started between them. This makes it hard to reliably - // measure the position of things, since that requires inserting an - // extra span. This terribly fragile set of regexps matches the - // character combinations that suffer from this phenomenon on the - // various browsers. - var spanAffectsWrapping = /^$/; // Won't match any two-character string - if (gecko) spanAffectsWrapping = /$'/; - else if (safari) spanAffectsWrapping = /\-[^ \-?]|\?[^ !'\"\),.\-\/:;\?\]\}]/; - else if (chrome) spanAffectsWrapping = /\-[^ \-\.?]|\?[^ \-\.?\]\}:;!'\"\),\/]|[\.!\"#&%\)*+,:;=>\]|\}~][\(\{\[<]|\$'/; - - // Counts the column offset in a string, taking tabs into account. - // Used mostly to find indentation. - function countColumn(string, end, tabSize) { - if (end == null) { - end = string.search(/[^\s\u00a0]/); - if (end == -1) end = string.length; - } - for (var i = 0, n = 0; i < end; ++i) { - if (string.charAt(i) == "\t") n += tabSize - (n % tabSize); - else ++n; - } - return n; - } - - function eltOffset(node, screen) { - // Take the parts of bounding client rect that we are interested in so we are able to edit if need be, - // since the returned value cannot be changed externally (they are kept in sync as the element moves within the page) - try { var box = node.getBoundingClientRect(); box = { top: box.top, left: box.left }; } - catch(e) { box = {top: 0, left: 0}; } - if (!screen) { - // Get the toplevel scroll, working around browser differences. - if (window.pageYOffset == null) { - var t = document.documentElement || document.body.parentNode; - if (t.scrollTop == null) t = document.body; - box.top += t.scrollTop; box.left += t.scrollLeft; - } else { - box.top += window.pageYOffset; box.left += window.pageXOffset; - } - } - return box; - } - - function eltText(node) { - return node.textContent || node.innerText || node.nodeValue || ""; - } - - var spaceStrs = [""]; - function spaceStr(n) { - while (spaceStrs.length <= n) - spaceStrs.push(lst(spaceStrs) + " "); - return spaceStrs[n]; - } - - function lst(arr) { return arr[arr.length-1]; } - - function selectInput(node) { - if (ios) { // Mobile Safari apparently has a bug where select() is broken. - node.selectionStart = 0; - node.selectionEnd = node.value.length; - } else node.select(); - } - - // Operations on {line, ch} objects. - function posEq(a, b) {return a.line == b.line && a.ch == b.ch;} - function posLess(a, b) {return a.line < b.line || (a.line == b.line && a.ch < b.ch);} - function copyPos(x) {return {line: x.line, ch: x.ch};} - - function elt(tag, content, className, style) { - var e = document.createElement(tag); - if (className) e.className = className; - if (style) e.style.cssText = style; - if (typeof content == "string") setTextContent(e, content); - else if (content) for (var i = 0; i < content.length; ++i) e.appendChild(content[i]); - return e; - } - function removeChildren(e) { - e.innerHTML = ""; - return e; - } - function removeChildrenAndAdd(parent, e) { - removeChildren(parent).appendChild(e); - } - function setTextContent(e, str) { - if (ie_lt9) { - e.innerHTML = ""; - e.appendChild(document.createTextNode(str)); - } else e.textContent = str; - } - - // Used to position the cursor after an undo/redo by finding the - // last edited character. - function editEnd(from, to) { - if (!to) return 0; - if (!from) return to.length; - for (var i = from.length, j = to.length; i >= 0 && j >= 0; --i, --j) - if (from.charAt(i) != to.charAt(j)) break; - return j + 1; - } - - function indexOf(collection, elt) { - if (collection.indexOf) return collection.indexOf(elt); - for (var i = 0, e = collection.length; i < e; ++i) - if (collection[i] == elt) return i; - return -1; - } - function isWordChar(ch) { - return /\w/.test(ch) || ch.toUpperCase() != ch.toLowerCase() || /[\u4E00-\u9FA5]/.test(ch); - } - - // See if "".split is the broken IE version, if so, provide an - // alternative way to split lines. - var splitLines = "\n\nb".split(/\n/).length != 3 ? function(string) { - var pos = 0, result = [], l = string.length; - while (pos <= l) { - var nl = string.indexOf("\n", pos); - if (nl == -1) nl = string.length; - var line = string.slice(pos, string.charAt(nl - 1) == "\r" ? nl - 1 : nl); - var rt = line.indexOf("\r"); - if (rt != -1) { - result.push(line.slice(0, rt)); - pos += rt + 1; - } else { - result.push(line); - pos = nl + 1; - } - } - return result; - } : function(string){return string.split(/\r\n?|\n/);}; - CodeMirror.splitLines = splitLines; - - var hasSelection = window.getSelection ? function(te) { - try { return te.selectionStart != te.selectionEnd; } - catch(e) { return false; } - } : function(te) { - try {var range = te.ownerDocument.selection.createRange();} - catch(e) {} - if (!range || range.parentElement() != te) return false; - return range.compareEndPoints("StartToEnd", range) != 0; - }; - - CodeMirror.defineMode("null", function() { - return {token: function(stream) {stream.skipToEnd();}}; - }); - CodeMirror.defineMIME("text/plain", "null"); - - var keyNames = {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: ";", 91: "Mod", 92: "Mod", 93: "Mod", 109: "-", 107: "=", 127: "Delete", - 186: ";", 187: "=", 188: ",", 189: "-", 190: ".", 191: "/", 192: "`", 219: "[", 220: "\\", - 221: "]", 222: "'", 63276: "PageUp", 63277: "PageDown", 63275: "End", 63273: "Home", - 63234: "Left", 63232: "Up", 63235: "Right", 63233: "Down", 63302: "Insert", 63272: "Delete"}; - CodeMirror.keyNames = keyNames; - (function() { - // Number keys - for (var i = 0; i < 10; i++) keyNames[i + 48] = String(i); - // Alphabetic keys - for (var i = 65; i <= 90; i++) keyNames[i] = String.fromCharCode(i); - // Function keys - for (var i = 1; i <= 12; i++) keyNames[i + 111] = keyNames[i + 63235] = "F" + i; - })(); - - CodeMirror.version = "2.35"; - - return CodeMirror; -})(); diff --git a/src/octoprint/static/gcodeviewer/lib/mode_gcode/gcode_mode.js b/src/octoprint/static/gcodeviewer/lib/mode_gcode/gcode_mode.js deleted file mode 100644 index b172da7b9..000000000 --- a/src/octoprint/static/gcodeviewer/lib/mode_gcode/gcode_mode.js +++ /dev/null @@ -1,32 +0,0 @@ -CodeMirror.defineMode("diff", function() { - - var TOKEN_NAMES = { - 'G': 'tag', - 'M': 'string', - ';': 'meta' - }; - - return { - token: function(stream) { - var tw_pos = stream.string.search(/[\t ]+?$/); - - if (!stream.sol() || tw_pos === 0) { - stream.skipToEnd(); - return ("error " + ( - TOKEN_NAMES[stream.string.charAt(0)] || '')).replace(/ $/, ''); - } - - var token_name = TOKEN_NAMES[stream.peek()] || stream.skipToEnd(); - - if (tw_pos === -1) { - stream.skipToEnd(); - } else { - stream.pos = tw_pos; - } - - return token_name; - } - }; -}); - -CodeMirror.defineMIME("text/x-diff", "diff"); diff --git a/src/octoprint/static/gcodeviewer/lib/three.js b/src/octoprint/static/gcodeviewer/lib/three.js deleted file mode 100644 index 4e60a1e66..000000000 --- a/src/octoprint/static/gcodeviewer/lib/three.js +++ /dev/null @@ -1,34517 +0,0 @@ -/** - * @author mrdoob / http://mrdoob.com/ - * @author Larry Battle / http://bateru.com/news - */ - -var THREE = THREE || { REVISION: '52' }; - -self.console = self.console || { - - info: function () {}, - log: function () {}, - debug: function () {}, - warn: function () {}, - error: function () {} - -}; - -self.Int32Array = self.Int32Array || Array; -self.Float32Array = self.Float32Array || Array; - -// Shims for "startsWith", "endsWith", and "trim" for browsers where this is not yet implemented -// not sure we should have this, or at least not have it here - -// http://stackoverflow.com/questions/646628/javascript-startswith -// http://stackoverflow.com/questions/498970/how-do-i-trim-a-string-in-javascript -// http://wiki.ecmascript.org/doku.php?id=harmony%3astring_extras - -String.prototype.startsWith = String.prototype.startsWith || function ( str ) { - - return this.slice( 0, str.length ) === str; - -}; - -String.prototype.endsWith = String.prototype.endsWith || function ( str ) { - - var t = String( str ); - var index = this.lastIndexOf( t ); - return ( -1 < index && index ) === (this.length - t.length); - -}; - -String.prototype.trim = String.prototype.trim || function () { - - return this.replace( /^\s+|\s+$/g, '' ); - -}; - - -// http://paulirish.com/2011/requestanimationframe-for-smart-animating/ -// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating - -// requestAnimationFrame polyfill by Erik Möller -// fixes from Paul Irish and Tino Zijdel - -( function () { - - var lastTime = 0; - var vendors = [ 'ms', 'moz', 'webkit', 'o' ]; - - for ( var x = 0; x < vendors.length && !window.requestAnimationFrame; ++ x ) { - - window.requestAnimationFrame = window[ vendors[ x ] + 'RequestAnimationFrame' ]; - window.cancelAnimationFrame = window[ vendors[ x ] + 'CancelAnimationFrame' ] || window[ vendors[ x ] + 'CancelRequestAnimationFrame' ]; - - } - - if ( window.requestAnimationFrame === undefined ) { - - window.requestAnimationFrame = function ( callback, element ) { - - var currTime = Date.now(), timeToCall = Math.max( 0, 16 - ( currTime - lastTime ) ); - var id = window.setTimeout( function() { callback( currTime + timeToCall ); }, timeToCall ); - lastTime = currTime + timeToCall; - return id; - - }; - - } - - window.cancelAnimationFrame = window.cancelAnimationFrame || function ( id ) { window.clearTimeout( id ) }; - -}() ); - - -// MATERIAL CONSTANTS - -// side - -THREE.FrontSide = 0; -THREE.BackSide = 1; -THREE.DoubleSide = 2; - -// shading - -THREE.NoShading = 0; -THREE.FlatShading = 1; -THREE.SmoothShading = 2; - -// colors - -THREE.NoColors = 0; -THREE.FaceColors = 1; -THREE.VertexColors = 2; - -// blending modes - -THREE.NoBlending = 0; -THREE.NormalBlending = 1; -THREE.AdditiveBlending = 2; -THREE.SubtractiveBlending = 3; -THREE.MultiplyBlending = 4; -THREE.CustomBlending = 5; - -// custom blending equations -// (numbers start from 100 not to clash with other -// mappings to OpenGL constants defined in Texture.js) - -THREE.AddEquation = 100; -THREE.SubtractEquation = 101; -THREE.ReverseSubtractEquation = 102; - -// custom blending destination factors - -THREE.ZeroFactor = 200; -THREE.OneFactor = 201; -THREE.SrcColorFactor = 202; -THREE.OneMinusSrcColorFactor = 203; -THREE.SrcAlphaFactor = 204; -THREE.OneMinusSrcAlphaFactor = 205; -THREE.DstAlphaFactor = 206; -THREE.OneMinusDstAlphaFactor = 207; - -// custom blending source factors - -//THREE.ZeroFactor = 200; -//THREE.OneFactor = 201; -//THREE.SrcAlphaFactor = 204; -//THREE.OneMinusSrcAlphaFactor = 205; -//THREE.DstAlphaFactor = 206; -//THREE.OneMinusDstAlphaFactor = 207; -THREE.DstColorFactor = 208; -THREE.OneMinusDstColorFactor = 209; -THREE.SrcAlphaSaturateFactor = 210; - - -// TEXTURE CONSTANTS - -THREE.MultiplyOperation = 0; -THREE.MixOperation = 1; - -// Mapping modes - -THREE.UVMapping = function () {}; - -THREE.CubeReflectionMapping = function () {}; -THREE.CubeRefractionMapping = function () {}; - -THREE.SphericalReflectionMapping = function () {}; -THREE.SphericalRefractionMapping = function () {}; - -// Wrapping modes - -THREE.RepeatWrapping = 1000; -THREE.ClampToEdgeWrapping = 1001; -THREE.MirroredRepeatWrapping = 1002; - -// Filters - -THREE.NearestFilter = 1003; -THREE.NearestMipMapNearestFilter = 1004; -THREE.NearestMipMapLinearFilter = 1005; -THREE.LinearFilter = 1006; -THREE.LinearMipMapNearestFilter = 1007; -THREE.LinearMipMapLinearFilter = 1008; - -// Data types - -THREE.UnsignedByteType = 1009; -THREE.ByteType = 1010; -THREE.ShortType = 1011; -THREE.UnsignedShortType = 1012; -THREE.IntType = 1013; -THREE.UnsignedIntType = 1014; -THREE.FloatType = 1015; - -// Pixel types - -//THREE.UnsignedByteType = 1009; -THREE.UnsignedShort4444Type = 1016; -THREE.UnsignedShort5551Type = 1017; -THREE.UnsignedShort565Type = 1018; - -// Pixel formats - -THREE.AlphaFormat = 1019; -THREE.RGBFormat = 1020; -THREE.RGBAFormat = 1021; -THREE.LuminanceFormat = 1022; -THREE.LuminanceAlphaFormat = 1023; - -// Compressed texture formats - -THREE.RGB_S3TC_DXT1_Format = 2001; -THREE.RGBA_S3TC_DXT1_Format = 2002; -THREE.RGBA_S3TC_DXT3_Format = 2003; -THREE.RGBA_S3TC_DXT5_Format = 2004; - -/* -// Potential future PVRTC compressed texture formats -THREE.RGB_PVRTC_4BPPV1_Format = 2100; -THREE.RGB_PVRTC_2BPPV1_Format = 2101; -THREE.RGBA_PVRTC_4BPPV1_Format = 2102; -THREE.RGBA_PVRTC_2BPPV1_Format = 2103; -*/ -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.Clock = function ( autoStart ) { - - this.autoStart = ( autoStart !== undefined ) ? autoStart : true; - - this.startTime = 0; - this.oldTime = 0; - this.elapsedTime = 0; - - this.running = false; - -}; - -THREE.Clock.prototype.start = function () { - - this.startTime = Date.now(); - this.oldTime = this.startTime; - - this.running = true; - -}; - -THREE.Clock.prototype.stop = function () { - - this.getElapsedTime(); - - this.running = false; - -}; - -THREE.Clock.prototype.getElapsedTime = function () { - - this.elapsedTime += this.getDelta(); - - return this.elapsedTime; - -}; - - -THREE.Clock.prototype.getDelta = function () { - - var diff = 0; - - if ( this.autoStart && ! this.running ) { - - this.start(); - - } - - if ( this.running ) { - - var newTime = Date.now(); - diff = 0.001 * ( newTime - this.oldTime ); - this.oldTime = newTime; - - this.elapsedTime += diff; - - } - - return diff; - -};/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.Color = function ( hex ) { - - if ( hex !== undefined ) this.setHex( hex ); - - return this; - -}; - -THREE.Color.prototype = { - - constructor: THREE.Color, - - r: 1, g: 1, b: 1, - - copy: function ( color ) { - - this.r = color.r; - this.g = color.g; - this.b = color.b; - - return this; - - }, - - copyGammaToLinear: function ( color ) { - - this.r = color.r * color.r; - this.g = color.g * color.g; - this.b = color.b * color.b; - - return this; - - }, - - copyLinearToGamma: function ( color ) { - - this.r = Math.sqrt( color.r ); - this.g = Math.sqrt( color.g ); - this.b = Math.sqrt( color.b ); - - return this; - - }, - - convertGammaToLinear: function () { - - var r = this.r, g = this.g, b = this.b; - - this.r = r * r; - this.g = g * g; - this.b = b * b; - - return this; - - }, - - convertLinearToGamma: function () { - - this.r = Math.sqrt( this.r ); - this.g = Math.sqrt( this.g ); - this.b = Math.sqrt( this.b ); - - return this; - - }, - - setRGB: function ( r, g, b ) { - - this.r = r; - this.g = g; - this.b = b; - - return this; - - }, - - setHSV: function ( h, s, v ) { - - // based on MochiKit implementation by Bob Ippolito - // h,s,v ranges are < 0.0 - 1.0 > - - var i, f, p, q, t; - - if ( v === 0 ) { - - this.r = this.g = this.b = 0; - - } else { - - i = Math.floor( h * 6 ); - f = ( h * 6 ) - i; - p = v * ( 1 - s ); - q = v * ( 1 - ( s * f ) ); - t = v * ( 1 - ( s * ( 1 - f ) ) ); - - if ( i === 0 ) { - - this.r = v; - this.g = t; - this.b = p; - - } else if ( i === 1 ) { - - this.r = q; - this.g = v; - this.b = p; - - } else if ( i === 2 ) { - - this.r = p; - this.g = v; - this.b = t; - - } else if ( i === 3 ) { - - this.r = p; - this.g = q; - this.b = v; - - } else if ( i === 4 ) { - - this.r = t; - this.g = p; - this.b = v; - - } else if ( i === 5 ) { - - this.r = v; - this.g = p; - this.b = q; - - } - - } - - return this; - - }, - - setHex: function ( hex ) { - - hex = Math.floor( hex ); - - this.r = ( hex >> 16 & 255 ) / 255; - this.g = ( hex >> 8 & 255 ) / 255; - this.b = ( hex & 255 ) / 255; - - return this; - - }, - - lerpSelf: function ( color, alpha ) { - - this.r += ( color.r - this.r ) * alpha; - this.g += ( color.g - this.g ) * alpha; - this.b += ( color.b - this.b ) * alpha; - - return this; - - }, - - getHex: function () { - - return ( this.r * 255 ) << 16 ^ ( this.g * 255 ) << 8 ^ ( this.b * 255 ) << 0; - - }, - - getContextStyle: function () { - - return 'rgb(' + ( ( this.r * 255 ) | 0 ) + ',' + ( ( this.g * 255 ) | 0 ) + ',' + ( ( this.b * 255 ) | 0 ) + ')'; - - }, - - clone: function () { - - return new THREE.Color().setRGB( this.r, this.g, this.b ); - - } - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author philogb / http://blog.thejit.org/ - * @author egraether / http://egraether.com/ - * @author zz85 / http://www.lab4games.net/zz85/blog - */ - -THREE.Vector2 = function ( x, y ) { - - this.x = x || 0; - this.y = y || 0; - -}; - -THREE.Vector2.prototype = { - - constructor: THREE.Vector2, - - set: function ( x, y ) { - - this.x = x; - this.y = y; - - return this; - - }, - - copy: function ( v ) { - - this.x = v.x; - this.y = v.y; - - return this; - - }, - - add: function ( a, b ) { - - this.x = a.x + b.x; - this.y = a.y + b.y; - - return this; - - }, - - addSelf: function ( v ) { - - this.x += v.x; - this.y += v.y; - - return this; - - }, - - sub: function ( a, b ) { - - this.x = a.x - b.x; - this.y = a.y - b.y; - - return this; - - }, - - subSelf: function ( v ) { - - this.x -= v.x; - this.y -= v.y; - - return this; - - }, - - multiplyScalar: function ( s ) { - - this.x *= s; - this.y *= s; - - return this; - - }, - - divideScalar: function ( s ) { - - if ( s ) { - - this.x /= s; - this.y /= s; - - } else { - - this.set( 0, 0 ); - - } - - return this; - - }, - - negate: function() { - - return this.multiplyScalar( - 1 ); - - }, - - dot: function ( v ) { - - return this.x * v.x + this.y * v.y; - - }, - - lengthSq: function () { - - return this.x * this.x + this.y * this.y; - - }, - - length: function () { - - return Math.sqrt( this.lengthSq() ); - - }, - - normalize: function () { - - return this.divideScalar( this.length() ); - - }, - - distanceTo: function ( v ) { - - return Math.sqrt( this.distanceToSquared( v ) ); - - }, - - distanceToSquared: function ( v ) { - - var dx = this.x - v.x, dy = this.y - v.y; - return dx * dx + dy * dy; - - }, - - setLength: function ( l ) { - - return this.normalize().multiplyScalar( l ); - - }, - - lerpSelf: function ( v, alpha ) { - - this.x += ( v.x - this.x ) * alpha; - this.y += ( v.y - this.y ) * alpha; - - return this; - - }, - - equals: function( v ) { - - return ( ( v.x === this.x ) && ( v.y === this.y ) ); - - }, - - isZero: function ( v ) { - - return this.lengthSq() < ( v !== undefined ? v : 0.0001 ); - - }, - - clone: function () { - - return new THREE.Vector2( this.x, this.y ); - - } - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author kile / http://kile.stravaganza.org/ - * @author philogb / http://blog.thejit.org/ - * @author mikael emtinger / http://gomo.se/ - * @author egraether / http://egraether.com/ - * @author WestLangley / http://github.com/WestLangley - */ - -THREE.Vector3 = function ( x, y, z ) { - - this.x = x || 0; - this.y = y || 0; - this.z = z || 0; - -}; - - -THREE.Vector3.prototype = { - - constructor: THREE.Vector3, - - set: function ( x, y, z ) { - - this.x = x; - this.y = y; - this.z = z; - - return this; - - }, - - setX: function ( x ) { - - this.x = x; - - return this; - - }, - - setY: function ( y ) { - - this.y = y; - - return this; - - }, - - setZ: function ( z ) { - - this.z = z; - - return this; - - }, - - copy: function ( v ) { - - this.x = v.x; - this.y = v.y; - this.z = v.z; - - return this; - - }, - - add: function ( a, b ) { - - this.x = parseFloat(a.x) + parseFloat(b.x); - this.y = parseFloat(a.y) + parseFloat(b.y); - this.z = parseFloat(a.z) + parseFloat(b.z); - - return this; - - }, - - addSelf: function ( v ) { - - this.x += v.x; - this.y += v.y; - this.z += v.z; - - return this; - - }, - - addScalar: function ( s ) { - - this.x += s; - this.y += s; - this.z += s; - - return this; - - }, - - sub: function ( a, b ) { - - this.x = a.x - b.x; - this.y = a.y - b.y; - this.z = a.z - b.z; - - return this; - - }, - - subSelf: function ( v ) { - - this.x -= v.x; - this.y -= v.y; - this.z -= v.z; - - return this; - - }, - - multiply: function ( a, b ) { - - this.x = a.x * b.x; - this.y = a.y * b.y; - this.z = a.z * b.z; - - return this; - - }, - - multiplySelf: function ( v ) { - - this.x *= v.x; - this.y *= v.y; - this.z *= v.z; - - return this; - - }, - - multiplyScalar: function ( s ) { - - this.x *= s; - this.y *= s; - this.z *= s; - - return this; - - }, - - divideSelf: function ( v ) { - - this.x /= v.x; - this.y /= v.y; - this.z /= v.z; - - return this; - - }, - - divideScalar: function ( s ) { - - if ( s ) { - - this.x /= s; - this.y /= s; - this.z /= s; - - } else { - - this.x = 0; - this.y = 0; - this.z = 0; - - } - - return this; - - }, - - - negate: function() { - - return this.multiplyScalar( - 1 ); - - }, - - dot: function ( v ) { - - return this.x * v.x + this.y * v.y + this.z * v.z; - - }, - - lengthSq: function () { - - return this.x * this.x + this.y * this.y + this.z * this.z; - - }, - - length: function () { - - return Math.sqrt( this.lengthSq() ); - - }, - - lengthManhattan: function () { - - return Math.abs( this.x ) + Math.abs( this.y ) + Math.abs( this.z ); - - }, - - normalize: function () { - - return this.divideScalar( this.length() ); - - }, - - setLength: function ( l ) { - - return this.normalize().multiplyScalar( l ); - - }, - - lerpSelf: function ( v, alpha ) { - - this.x += ( v.x - this.x ) * alpha; - this.y += ( v.y - this.y ) * alpha; - this.z += ( v.z - this.z ) * alpha; - - return this; - - }, - - cross: function ( a, b ) { - - this.x = a.y * b.z - a.z * b.y; - this.y = a.z * b.x - a.x * b.z; - this.z = a.x * b.y - a.y * b.x; - - return this; - - }, - - crossSelf: function ( v ) { - - var x = this.x, y = this.y, z = this.z; - - this.x = y * v.z - z * v.y; - this.y = z * v.x - x * v.z; - this.z = x * v.y - y * v.x; - - return this; - - }, - - angleTo: function ( v ) { - - return Math.acos( this.dot( v ) / this.length() / v.length() ); - - }, - - distanceTo: function ( v ) { - - return Math.sqrt( this.distanceToSquared( v ) ); - - }, - - distanceToSquared: function ( v ) { - - return new THREE.Vector3().sub( this, v ).lengthSq(); - - }, - - getPositionFromMatrix: function ( m ) { - - this.x = m.elements[12]; - this.y = m.elements[13]; - this.z = m.elements[14]; - - return this; - - }, - - setEulerFromRotationMatrix: function ( m, order ) { - - // assumes the upper 3x3 of m is a pure rotation matrix (i.e, unscaled) - - // clamp, to handle numerical problems - - function clamp( x ) { - - return Math.min( Math.max( x, -1 ), 1 ); - - } - - var te = m.elements; - var m11 = te[0], m12 = te[4], m13 = te[8]; - var m21 = te[1], m22 = te[5], m23 = te[9]; - var m31 = te[2], m32 = te[6], m33 = te[10]; - - if ( order === undefined || order === 'XYZ' ) { - - this.y = Math.asin( clamp( m13 ) ); - - if ( Math.abs( m13 ) < 0.99999 ) { - - this.x = Math.atan2( - m23, m33 ); - this.z = Math.atan2( - m12, m11 ); - - } else { - - this.x = Math.atan2( m32, m22 ); - this.z = 0; - - } - - } else if ( order === 'YXZ' ) { - - this.x = Math.asin( - clamp( m23 ) ); - - if ( Math.abs( m23 ) < 0.99999 ) { - - this.y = Math.atan2( m13, m33 ); - this.z = Math.atan2( m21, m22 ); - - } else { - - this.y = Math.atan2( - m31, m11 ); - this.z = 0; - - } - - } else if ( order === 'ZXY' ) { - - this.x = Math.asin( clamp( m32 ) ); - - if ( Math.abs( m32 ) < 0.99999 ) { - - this.y = Math.atan2( - m31, m33 ); - this.z = Math.atan2( - m12, m22 ); - - } else { - - this.y = 0; - this.z = Math.atan2( m21, m11 ); - - } - - } else if ( order === 'ZYX' ) { - - this.y = Math.asin( - clamp( m31 ) ); - - if ( Math.abs( m31 ) < 0.99999 ) { - - this.x = Math.atan2( m32, m33 ); - this.z = Math.atan2( m21, m11 ); - - } else { - - this.x = 0; - this.z = Math.atan2( - m12, m22 ); - - } - - } else if ( order === 'YZX' ) { - - this.z = Math.asin( clamp( m21 ) ); - - if ( Math.abs( m21 ) < 0.99999 ) { - - this.x = Math.atan2( - m23, m22 ); - this.y = Math.atan2( - m31, m11 ); - - } else { - - this.x = 0; - this.y = Math.atan2( m13, m33 ); - - } - - } else if ( order === 'XZY' ) { - - this.z = Math.asin( - clamp( m12 ) ); - - if ( Math.abs( m12 ) < 0.99999 ) { - - this.x = Math.atan2( m32, m22 ); - this.y = Math.atan2( m13, m11 ); - - } else { - - this.x = Math.atan2( - m23, m33 ); - this.y = 0; - - } - - } - - return this; - - }, - - setEulerFromQuaternion: function ( q, order ) { - - // q is assumed to be normalized - - // clamp, to handle numerical problems - - function clamp( x ) { - - return Math.min( Math.max( x, -1 ), 1 ); - - } - - // http://www.mathworks.com/matlabcentral/fileexchange/20696-function-to-convert-between-dcm-euler-angles-quaternions-and-euler-vectors/content/SpinCalc.m - - var sqx = q.x * q.x; - var sqy = q.y * q.y; - var sqz = q.z * q.z; - var sqw = q.w * q.w; - - if ( order === undefined || order === 'XYZ' ) { - - this.x = Math.atan2( 2 * ( q.x * q.w - q.y * q.z ), ( sqw - sqx - sqy + sqz ) ); - this.y = Math.asin( clamp( 2 * ( q.x * q.z + q.y * q.w ) ) ); - this.z = Math.atan2( 2 * ( q.z * q.w - q.x * q.y ), ( sqw + sqx - sqy - sqz ) ); - - } else if ( order === 'YXZ' ) { - - this.x = Math.asin( clamp( 2 * ( q.x * q.w - q.y * q.z ) ) ); - this.y = Math.atan2( 2 * ( q.x * q.z + q.y * q.w ), ( sqw - sqx - sqy + sqz ) ); - this.z = Math.atan2( 2 * ( q.x * q.y + q.z * q.w ), ( sqw - sqx + sqy - sqz ) ); - - } else if ( order === 'ZXY' ) { - - this.x = Math.asin( clamp( 2 * ( q.x * q.w + q.y * q.z ) ) ); - this.y = Math.atan2( 2 * ( q.y * q.w - q.z * q.x ), ( sqw - sqx - sqy + sqz ) ); - this.z = Math.atan2( 2 * ( q.z * q.w - q.x * q.y ), ( sqw - sqx + sqy - sqz ) ); - - } else if ( order === 'ZYX' ) { - - this.x = Math.atan2( 2 * ( q.x * q.w + q.z * q.y ), ( sqw - sqx - sqy + sqz ) ); - this.y = Math.asin( clamp( 2 * ( q.y * q.w - q.x * q.z ) ) ); - this.z = Math.atan2( 2 * ( q.x * q.y + q.z * q.w ), ( sqw + sqx - sqy - sqz ) ); - - } else if ( order === 'YZX' ) { - - this.x = Math.atan2( 2 * ( q.x * q.w - q.z * q.y ), ( sqw - sqx + sqy - sqz ) ); - this.y = Math.atan2( 2 * ( q.y * q.w - q.x * q.z ), ( sqw + sqx - sqy - sqz ) ); - this.z = Math.asin( clamp( 2 * ( q.x * q.y + q.z * q.w ) ) ); - - } else if ( order === 'XZY' ) { - - this.x = Math.atan2( 2 * ( q.x * q.w + q.y * q.z ), ( sqw - sqx + sqy - sqz ) ); - this.y = Math.atan2( 2 * ( q.x * q.z + q.y * q.w ), ( sqw + sqx - sqy - sqz ) ); - this.z = Math.asin( clamp( 2 * ( q.z * q.w - q.x * q.y ) ) ); - - } - - return this; - - }, - - getScaleFromMatrix: function ( m ) { - - var sx = this.set( m.elements[0], m.elements[1], m.elements[2] ).length(); - var sy = this.set( m.elements[4], m.elements[5], m.elements[6] ).length(); - var sz = this.set( m.elements[8], m.elements[9], m.elements[10] ).length(); - - this.x = sx; - this.y = sy; - this.z = sz; - - return this; - }, - - equals: function ( v ) { - - return ( ( v.x === this.x ) && ( v.y === this.y ) && ( v.z === this.z ) ); - - }, - - isZero: function ( v ) { - - return this.lengthSq() < ( v !== undefined ? v : 0.0001 ); - - }, - - clone: function () { - - return new THREE.Vector3( this.x, this.y, this.z ); - - } - -}; -/** - * @author supereggbert / http://www.paulbrunt.co.uk/ - * @author philogb / http://blog.thejit.org/ - * @author mikael emtinger / http://gomo.se/ - * @author egraether / http://egraether.com/ - * @author WestLangley / http://github.com/WestLangley - */ - -THREE.Vector4 = function ( x, y, z, w ) { - - this.x = x || 0; - this.y = y || 0; - this.z = z || 0; - this.w = ( w !== undefined ) ? w : 1; - -}; - -THREE.Vector4.prototype = { - - constructor: THREE.Vector4, - - set: function ( x, y, z, w ) { - - this.x = x; - this.y = y; - this.z = z; - this.w = w; - - return this; - - }, - - copy: function ( v ) { - - this.x = v.x; - this.y = v.y; - this.z = v.z; - this.w = ( v.w !== undefined ) ? v.w : 1; - - return this; - - }, - - add: function ( a, b ) { - - this.x = a.x + b.x; - this.y = a.y + b.y; - this.z = a.z + b.z; - this.w = a.w + b.w; - - return this; - - }, - - addSelf: function ( v ) { - - this.x += v.x; - this.y += v.y; - this.z += v.z; - this.w += v.w; - - return this; - - }, - - sub: function ( a, b ) { - - this.x = a.x - b.x; - this.y = a.y - b.y; - this.z = a.z - b.z; - this.w = a.w - b.w; - - return this; - - }, - - subSelf: function ( v ) { - - this.x -= v.x; - this.y -= v.y; - this.z -= v.z; - this.w -= v.w; - - return this; - - }, - - multiplyScalar: function ( s ) { - - this.x *= s; - this.y *= s; - this.z *= s; - this.w *= s; - - return this; - - }, - - divideScalar: function ( s ) { - - if ( s ) { - - this.x /= s; - this.y /= s; - this.z /= s; - this.w /= s; - - } else { - - this.x = 0; - this.y = 0; - this.z = 0; - this.w = 1; - - } - - return this; - - }, - - - negate: function() { - - return this.multiplyScalar( -1 ); - - }, - - dot: function ( v ) { - - return this.x * v.x + this.y * v.y + this.z * v.z + this.w * v.w; - - }, - - lengthSq: function () { - - return this.dot( this ); - - }, - - length: function () { - - return Math.sqrt( this.lengthSq() ); - - }, - - lengthManhattan: function () { - - return Math.abs( this.x ) + Math.abs( this.y ) + Math.abs( this.z ) + Math.abs( this.w ); - - }, - - normalize: function () { - - return this.divideScalar( this.length() ); - - }, - - setLength: function ( l ) { - - return this.normalize().multiplyScalar( l ); - - }, - - lerpSelf: function ( v, alpha ) { - - this.x += ( v.x - this.x ) * alpha; - this.y += ( v.y - this.y ) * alpha; - this.z += ( v.z - this.z ) * alpha; - this.w += ( v.w - this.w ) * alpha; - - return this; - - }, - - clone: function () { - - return new THREE.Vector4( this.x, this.y, this.z, this.w ); - - }, - - setAxisAngleFromQuaternion: function ( q ) { - - // http://www.euclideanspace.com/maths/geometry/rotations/conversions/quaternionToAngle/index.htm - - // q is assumed to be normalized - - this.w = 2 * Math.acos( q.w ); - - var s = Math.sqrt( 1 - q.w * q.w ); - - if ( s < 0.0001 ) { - - this.x = 1; - this.y = 0; - this.z = 0; - - } else { - - this.x = q.x / s; - this.y = q.y / s; - this.z = q.z / s; - - } - - return this; - - }, - - setAxisAngleFromRotationMatrix: function ( m ) { - - // http://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToAngle/index.htm - - // assumes the upper 3x3 of m is a pure rotation matrix (i.e, unscaled) - - var angle, x, y, z, // variables for result - epsilon = 0.01, // margin to allow for rounding errors - epsilon2 = 0.1, // margin to distinguish between 0 and 180 degrees - - te = m.elements, - - m11 = te[0], m12 = te[4], m13 = te[8], - m21 = te[1], m22 = te[5], m23 = te[9], - m31 = te[2], m32 = te[6], m33 = te[10]; - - if ( ( Math.abs( m12 - m21 ) < epsilon ) - && ( Math.abs( m13 - m31 ) < epsilon ) - && ( Math.abs( m23 - m32 ) < epsilon ) ) { - - // singularity found - // first check for identity matrix which must have +1 for all terms - // in leading diagonal and zero in other terms - - if ( ( Math.abs( m12 + m21 ) < epsilon2 ) - && ( Math.abs( m13 + m31 ) < epsilon2 ) - && ( Math.abs( m23 + m32 ) < epsilon2 ) - && ( Math.abs( m11 + m22 + m33 - 3 ) < epsilon2 ) ) { - - // this singularity is identity matrix so angle = 0 - - this.set( 1, 0, 0, 0 ); - - return this; // zero angle, arbitrary axis - - } - - // otherwise this singularity is angle = 180 - - angle = Math.PI; - - var xx = ( m11 + 1 ) / 2; - var yy = ( m22 + 1 ) / 2; - var zz = ( m33 + 1 ) / 2; - var xy = ( m12 + m21 ) / 4; - var xz = ( m13 + m31 ) / 4; - var yz = ( m23 + m32 ) / 4; - - if ( ( xx > yy ) && ( xx > zz ) ) { // m11 is the largest diagonal term - - if ( xx < epsilon ) { - - x = 0; - y = 0.707106781; - z = 0.707106781; - - } else { - - x = Math.sqrt( xx ); - y = xy / x; - z = xz / x; - - } - - } else if ( yy > zz ) { // m22 is the largest diagonal term - - if ( yy < epsilon ) { - - x = 0.707106781; - y = 0; - z = 0.707106781; - - } else { - - y = Math.sqrt( yy ); - x = xy / y; - z = yz / y; - - } - - } else { // m33 is the largest diagonal term so base result on this - - if ( zz < epsilon ) { - - x = 0.707106781; - y = 0.707106781; - z = 0; - - } else { - - z = Math.sqrt( zz ); - x = xz / z; - y = yz / z; - - } - - } - - this.set( x, y, z, angle ); - - return this; // return 180 deg rotation - - } - - // as we have reached here there are no singularities so we can handle normally - - var s = Math.sqrt( ( m32 - m23 ) * ( m32 - m23 ) - + ( m13 - m31 ) * ( m13 - m31 ) - + ( m21 - m12 ) * ( m21 - m12 ) ); // used to normalize - - if ( Math.abs( s ) < 0.001 ) s = 1; - - // prevent divide by zero, should not happen if matrix is orthogonal and should be - // caught by singularity test above, but I've left it in just in case - - this.x = ( m32 - m23 ) / s; - this.y = ( m13 - m31 ) / s; - this.z = ( m21 - m12 ) / s; - this.w = Math.acos( ( m11 + m22 + m33 - 1 ) / 2 ); - - return this; - - } - -}; -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.Matrix3 = function () { - - this.elements = new Float32Array(9); - -}; - -THREE.Matrix3.prototype = { - - constructor: THREE.Matrix3, - - getInverse: function ( matrix ) { - - // input: THREE.Matrix4 - // ( based on http://code.google.com/p/webgl-mjs/ ) - - var me = matrix.elements; - - var a11 = me[10] * me[5] - me[6] * me[9]; - var a21 = - me[10] * me[1] + me[2] * me[9]; - var a31 = me[6] * me[1] - me[2] * me[5]; - var a12 = - me[10] * me[4] + me[6] * me[8]; - var a22 = me[10] * me[0] - me[2] * me[8]; - var a32 = - me[6] * me[0] + me[2] * me[4]; - var a13 = me[9] * me[4] - me[5] * me[8]; - var a23 = - me[9] * me[0] + me[1] * me[8]; - var a33 = me[5] * me[0] - me[1] * me[4]; - - var det = me[0] * a11 + me[1] * a12 + me[2] * a13; - - // no inverse - - if ( det === 0 ) { - - console.warn( "Matrix3.getInverse(): determinant == 0" ); - - } - - var idet = 1.0 / det; - - var m = this.elements; - - m[ 0 ] = idet * a11; m[ 1 ] = idet * a21; m[ 2 ] = idet * a31; - m[ 3 ] = idet * a12; m[ 4 ] = idet * a22; m[ 5 ] = idet * a32; - m[ 6 ] = idet * a13; m[ 7 ] = idet * a23; m[ 8 ] = idet * a33; - - return this; - - }, - - - transpose: function () { - - var tmp, m = this.elements; - - tmp = m[1]; m[1] = m[3]; m[3] = tmp; - tmp = m[2]; m[2] = m[6]; m[6] = tmp; - tmp = m[5]; m[5] = m[7]; m[7] = tmp; - - return this; - - }, - - - transposeIntoArray: function ( r ) { - - var m = this.m; - - r[ 0 ] = m[ 0 ]; - r[ 1 ] = m[ 3 ]; - r[ 2 ] = m[ 6 ]; - r[ 3 ] = m[ 1 ]; - r[ 4 ] = m[ 4 ]; - r[ 5 ] = m[ 7 ]; - r[ 6 ] = m[ 2 ]; - r[ 7 ] = m[ 5 ]; - r[ 8 ] = m[ 8 ]; - - return this; - - } - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author supereggbert / http://www.paulbrunt.co.uk/ - * @author philogb / http://blog.thejit.org/ - * @author jordi_ros / http://plattsoft.com - * @author D1plo1d / http://github.com/D1plo1d - * @author alteredq / http://alteredqualia.com/ - * @author mikael emtinger / http://gomo.se/ - * @author timknip / http://www.floorplanner.com/ - */ - - -THREE.Matrix4 = function ( n11, n12, n13, n14, n21, n22, n23, n24, n31, n32, n33, n34, n41, n42, n43, n44 ) { - - this.elements = new Float32Array( 16 ); - - this.set( - - ( n11 !== undefined ) ? n11 : 1, n12 || 0, n13 || 0, n14 || 0, - n21 || 0, ( n22 !== undefined ) ? n22 : 1, n23 || 0, n24 || 0, - n31 || 0, n32 || 0, ( n33 !== undefined ) ? n33 : 1, n34 || 0, - n41 || 0, n42 || 0, n43 || 0, ( n44 !== undefined ) ? n44 : 1 - - ); - -}; - -THREE.Matrix4.prototype = { - - constructor: THREE.Matrix4, - - set: function ( n11, n12, n13, n14, n21, n22, n23, n24, n31, n32, n33, n34, n41, n42, n43, n44 ) { - - var te = this.elements; - - te[0] = n11; te[4] = n12; te[8] = n13; te[12] = n14; - te[1] = n21; te[5] = n22; te[9] = n23; te[13] = n24; - te[2] = n31; te[6] = n32; te[10] = n33; te[14] = n34; - te[3] = n41; te[7] = n42; te[11] = n43; te[15] = n44; - - return this; - - }, - - identity: function () { - - this.set( - - 1, 0, 0, 0, - 0, 1, 0, 0, - 0, 0, 1, 0, - 0, 0, 0, 1 - - ); - - return this; - - }, - - copy: function ( m ) { - - var me = m.elements; - - this.set( - - me[0], me[4], me[8], me[12], - me[1], me[5], me[9], me[13], - me[2], me[6], me[10], me[14], - me[3], me[7], me[11], me[15] - - ); - - return this; - - }, - - lookAt: function ( eye, target, up ) { - - var te = this.elements; - - var x = THREE.Matrix4.__v1; - var y = THREE.Matrix4.__v2; - var z = THREE.Matrix4.__v3; - - z.sub( eye, target ).normalize(); - - if ( z.length() === 0 ) { - - z.z = 1; - - } - - x.cross( up, z ).normalize(); - - if ( x.length() === 0 ) { - - z.x += 0.0001; - x.cross( up, z ).normalize(); - - } - - y.cross( z, x ); - - - te[0] = x.x; te[4] = y.x; te[8] = z.x; - te[1] = x.y; te[5] = y.y; te[9] = z.y; - te[2] = x.z; te[6] = y.z; te[10] = z.z; - - return this; - - }, - - multiply: function ( a, b ) { - - var ae = a.elements; - var be = b.elements; - var te = this.elements; - - var a11 = ae[0], a12 = ae[4], a13 = ae[8], a14 = ae[12]; - var a21 = ae[1], a22 = ae[5], a23 = ae[9], a24 = ae[13]; - var a31 = ae[2], a32 = ae[6], a33 = ae[10], a34 = ae[14]; - var a41 = ae[3], a42 = ae[7], a43 = ae[11], a44 = ae[15]; - - var b11 = be[0], b12 = be[4], b13 = be[8], b14 = be[12]; - var b21 = be[1], b22 = be[5], b23 = be[9], b24 = be[13]; - var b31 = be[2], b32 = be[6], b33 = be[10], b34 = be[14]; - var b41 = be[3], b42 = be[7], b43 = be[11], b44 = be[15]; - - te[0] = a11 * b11 + a12 * b21 + a13 * b31 + a14 * b41; - te[4] = a11 * b12 + a12 * b22 + a13 * b32 + a14 * b42; - te[8] = a11 * b13 + a12 * b23 + a13 * b33 + a14 * b43; - te[12] = a11 * b14 + a12 * b24 + a13 * b34 + a14 * b44; - - te[1] = a21 * b11 + a22 * b21 + a23 * b31 + a24 * b41; - te[5] = a21 * b12 + a22 * b22 + a23 * b32 + a24 * b42; - te[9] = a21 * b13 + a22 * b23 + a23 * b33 + a24 * b43; - te[13] = a21 * b14 + a22 * b24 + a23 * b34 + a24 * b44; - - te[2] = a31 * b11 + a32 * b21 + a33 * b31 + a34 * b41; - te[6] = a31 * b12 + a32 * b22 + a33 * b32 + a34 * b42; - te[10] = a31 * b13 + a32 * b23 + a33 * b33 + a34 * b43; - te[14] = a31 * b14 + a32 * b24 + a33 * b34 + a34 * b44; - - te[3] = a41 * b11 + a42 * b21 + a43 * b31 + a44 * b41; - te[7] = a41 * b12 + a42 * b22 + a43 * b32 + a44 * b42; - te[11] = a41 * b13 + a42 * b23 + a43 * b33 + a44 * b43; - te[15] = a41 * b14 + a42 * b24 + a43 * b34 + a44 * b44; - - return this; - - }, - - multiplySelf: function ( m ) { - - return this.multiply( this, m ); - - }, - - multiplyToArray: function ( a, b, r ) { - - var te = this.elements; - - this.multiply( a, b ); - - r[ 0 ] = te[0]; r[ 1 ] = te[1]; r[ 2 ] = te[2]; r[ 3 ] = te[3]; - r[ 4 ] = te[4]; r[ 5 ] = te[5]; r[ 6 ] = te[6]; r[ 7 ] = te[7]; - r[ 8 ] = te[8]; r[ 9 ] = te[9]; r[ 10 ] = te[10]; r[ 11 ] = te[11]; - r[ 12 ] = te[12]; r[ 13 ] = te[13]; r[ 14 ] = te[14]; r[ 15 ] = te[15]; - - return this; - - }, - - multiplyScalar: function ( s ) { - - var te = this.elements; - - te[0] *= s; te[4] *= s; te[8] *= s; te[12] *= s; - te[1] *= s; te[5] *= s; te[9] *= s; te[13] *= s; - te[2] *= s; te[6] *= s; te[10] *= s; te[14] *= s; - te[3] *= s; te[7] *= s; te[11] *= s; te[15] *= s; - - return this; - - }, - - multiplyVector3: function ( v ) { - - var te = this.elements; - - var vx = v.x, vy = v.y, vz = v.z; - var d = 1 / ( te[3] * vx + te[7] * vy + te[11] * vz + te[15] ); - - v.x = ( te[0] * vx + te[4] * vy + te[8] * vz + te[12] ) * d; - v.y = ( te[1] * vx + te[5] * vy + te[9] * vz + te[13] ) * d; - v.z = ( te[2] * vx + te[6] * vy + te[10] * vz + te[14] ) * d; - - return v; - - }, - - multiplyVector4: function ( v ) { - - var te = this.elements; - var vx = v.x, vy = v.y, vz = v.z, vw = v.w; - - v.x = te[0] * vx + te[4] * vy + te[8] * vz + te[12] * vw; - v.y = te[1] * vx + te[5] * vy + te[9] * vz + te[13] * vw; - v.z = te[2] * vx + te[6] * vy + te[10] * vz + te[14] * vw; - v.w = te[3] * vx + te[7] * vy + te[11] * vz + te[15] * vw; - - return v; - - }, - - multiplyVector3Array: function ( a ) { - - var tmp = THREE.Matrix4.__v1; - - for ( var i = 0, il = a.length; i < il; i += 3 ) { - - tmp.x = a[ i ]; - tmp.y = a[ i + 1 ]; - tmp.z = a[ i + 2 ]; - - this.multiplyVector3( tmp ); - - a[ i ] = tmp.x; - a[ i + 1 ] = tmp.y; - a[ i + 2 ] = tmp.z; - - } - - return a; - - }, - - rotateAxis: function ( v ) { - - var te = this.elements; - var vx = v.x, vy = v.y, vz = v.z; - - v.x = vx * te[0] + vy * te[4] + vz * te[8]; - v.y = vx * te[1] + vy * te[5] + vz * te[9]; - v.z = vx * te[2] + vy * te[6] + vz * te[10]; - - v.normalize(); - - return v; - - }, - - crossVector: function ( a ) { - - var te = this.elements; - var v = new THREE.Vector4(); - - v.x = te[0] * a.x + te[4] * a.y + te[8] * a.z + te[12] * a.w; - v.y = te[1] * a.x + te[5] * a.y + te[9] * a.z + te[13] * a.w; - v.z = te[2] * a.x + te[6] * a.y + te[10] * a.z + te[14] * a.w; - - v.w = ( a.w ) ? te[3] * a.x + te[7] * a.y + te[11] * a.z + te[15] * a.w : 1; - - return v; - - }, - - determinant: function () { - - var te = this.elements; - - var n11 = te[0], n12 = te[4], n13 = te[8], n14 = te[12]; - var n21 = te[1], n22 = te[5], n23 = te[9], n24 = te[13]; - var n31 = te[2], n32 = te[6], n33 = te[10], n34 = te[14]; - var n41 = te[3], n42 = te[7], n43 = te[11], n44 = te[15]; - - //TODO: make this more efficient - //( based on http://www.euclideanspace.com/maths/algebra/matrix/functions/inverse/fourD/index.htm ) - - return ( - n14 * n23 * n32 * n41- - n13 * n24 * n32 * n41- - n14 * n22 * n33 * n41+ - n12 * n24 * n33 * n41+ - - n13 * n22 * n34 * n41- - n12 * n23 * n34 * n41- - n14 * n23 * n31 * n42+ - n13 * n24 * n31 * n42+ - - n14 * n21 * n33 * n42- - n11 * n24 * n33 * n42- - n13 * n21 * n34 * n42+ - n11 * n23 * n34 * n42+ - - n14 * n22 * n31 * n43- - n12 * n24 * n31 * n43- - n14 * n21 * n32 * n43+ - n11 * n24 * n32 * n43+ - - n12 * n21 * n34 * n43- - n11 * n22 * n34 * n43- - n13 * n22 * n31 * n44+ - n12 * n23 * n31 * n44+ - - n13 * n21 * n32 * n44- - n11 * n23 * n32 * n44- - n12 * n21 * n33 * n44+ - n11 * n22 * n33 * n44 - ); - - }, - - transpose: function () { - - var te = this.elements; - var tmp; - - tmp = te[1]; te[1] = te[4]; te[4] = tmp; - tmp = te[2]; te[2] = te[8]; te[8] = tmp; - tmp = te[6]; te[6] = te[9]; te[9] = tmp; - - tmp = te[3]; te[3] = te[12]; te[12] = tmp; - tmp = te[7]; te[7] = te[13]; te[13] = tmp; - tmp = te[11]; te[11] = te[14]; te[14] = tmp; - - return this; - - }, - - flattenToArray: function ( flat ) { - - var te = this.elements; - flat[ 0 ] = te[0]; flat[ 1 ] = te[1]; flat[ 2 ] = te[2]; flat[ 3 ] = te[3]; - flat[ 4 ] = te[4]; flat[ 5 ] = te[5]; flat[ 6 ] = te[6]; flat[ 7 ] = te[7]; - flat[ 8 ] = te[8]; flat[ 9 ] = te[9]; flat[ 10 ] = te[10]; flat[ 11 ] = te[11]; - flat[ 12 ] = te[12]; flat[ 13 ] = te[13]; flat[ 14 ] = te[14]; flat[ 15 ] = te[15]; - - return flat; - - }, - - flattenToArrayOffset: function( flat, offset ) { - - var te = this.elements; - flat[ offset ] = te[0]; - flat[ offset + 1 ] = te[1]; - flat[ offset + 2 ] = te[2]; - flat[ offset + 3 ] = te[3]; - - flat[ offset + 4 ] = te[4]; - flat[ offset + 5 ] = te[5]; - flat[ offset + 6 ] = te[6]; - flat[ offset + 7 ] = te[7]; - - flat[ offset + 8 ] = te[8]; - flat[ offset + 9 ] = te[9]; - flat[ offset + 10 ] = te[10]; - flat[ offset + 11 ] = te[11]; - - flat[ offset + 12 ] = te[12]; - flat[ offset + 13 ] = te[13]; - flat[ offset + 14 ] = te[14]; - flat[ offset + 15 ] = te[15]; - - return flat; - - }, - - getPosition: function () { - - var te = this.elements; - return THREE.Matrix4.__v1.set( te[12], te[13], te[14] ); - - }, - - setPosition: function ( v ) { - - var te = this.elements; - - te[12] = v.x; - te[13] = v.y; - te[14] = v.z; - - return this; - - }, - - getColumnX: function () { - - var te = this.elements; - return THREE.Matrix4.__v1.set( te[0], te[1], te[2] ); - - }, - - getColumnY: function () { - - var te = this.elements; - return THREE.Matrix4.__v1.set( te[4], te[5], te[6] ); - - }, - - getColumnZ: function() { - - var te = this.elements; - return THREE.Matrix4.__v1.set( te[8], te[9], te[10] ); - - }, - - getInverse: function ( m ) { - - // based on http://www.euclideanspace.com/maths/algebra/matrix/functions/inverse/fourD/index.htm - var te = this.elements; - var me = m.elements; - - var n11 = me[0], n12 = me[4], n13 = me[8], n14 = me[12]; - var n21 = me[1], n22 = me[5], n23 = me[9], n24 = me[13]; - var n31 = me[2], n32 = me[6], n33 = me[10], n34 = me[14]; - var n41 = me[3], n42 = me[7], n43 = me[11], n44 = me[15]; - - te[0] = n23*n34*n42 - n24*n33*n42 + n24*n32*n43 - n22*n34*n43 - n23*n32*n44 + n22*n33*n44; - te[4] = n14*n33*n42 - n13*n34*n42 - n14*n32*n43 + n12*n34*n43 + n13*n32*n44 - n12*n33*n44; - te[8] = n13*n24*n42 - n14*n23*n42 + n14*n22*n43 - n12*n24*n43 - n13*n22*n44 + n12*n23*n44; - te[12] = n14*n23*n32 - n13*n24*n32 - n14*n22*n33 + n12*n24*n33 + n13*n22*n34 - n12*n23*n34; - te[1] = n24*n33*n41 - n23*n34*n41 - n24*n31*n43 + n21*n34*n43 + n23*n31*n44 - n21*n33*n44; - te[5] = n13*n34*n41 - n14*n33*n41 + n14*n31*n43 - n11*n34*n43 - n13*n31*n44 + n11*n33*n44; - te[9] = n14*n23*n41 - n13*n24*n41 - n14*n21*n43 + n11*n24*n43 + n13*n21*n44 - n11*n23*n44; - te[13] = n13*n24*n31 - n14*n23*n31 + n14*n21*n33 - n11*n24*n33 - n13*n21*n34 + n11*n23*n34; - te[2] = n22*n34*n41 - n24*n32*n41 + n24*n31*n42 - n21*n34*n42 - n22*n31*n44 + n21*n32*n44; - te[6] = n14*n32*n41 - n12*n34*n41 - n14*n31*n42 + n11*n34*n42 + n12*n31*n44 - n11*n32*n44; - te[10] = n12*n24*n41 - n14*n22*n41 + n14*n21*n42 - n11*n24*n42 - n12*n21*n44 + n11*n22*n44; - te[14] = n14*n22*n31 - n12*n24*n31 - n14*n21*n32 + n11*n24*n32 + n12*n21*n34 - n11*n22*n34; - te[3] = n23*n32*n41 - n22*n33*n41 - n23*n31*n42 + n21*n33*n42 + n22*n31*n43 - n21*n32*n43; - te[7] = n12*n33*n41 - n13*n32*n41 + n13*n31*n42 - n11*n33*n42 - n12*n31*n43 + n11*n32*n43; - te[11] = n13*n22*n41 - n12*n23*n41 - n13*n21*n42 + n11*n23*n42 + n12*n21*n43 - n11*n22*n43; - te[15] = n12*n23*n31 - n13*n22*n31 + n13*n21*n32 - n11*n23*n32 - n12*n21*n33 + n11*n22*n33; - this.multiplyScalar( 1 / m.determinant() ); - - return this; - - }, - - setRotationFromEuler: function ( v, order ) { - - var te = this.elements; - - var x = v.x, y = v.y, z = v.z; - var a = Math.cos( x ), b = Math.sin( x ); - var c = Math.cos( y ), d = Math.sin( y ); - var e = Math.cos( z ), f = Math.sin( z ); - - if ( order === undefined || order === 'XYZ' ) { - - var ae = a * e, af = a * f, be = b * e, bf = b * f; - - te[0] = c * e; - te[4] = - c * f; - te[8] = d; - - te[1] = af + be * d; - te[5] = ae - bf * d; - te[9] = - b * c; - - te[2] = bf - ae * d; - te[6] = be + af * d; - te[10] = a * c; - - } else if ( order === 'YXZ' ) { - - var ce = c * e, cf = c * f, de = d * e, df = d * f; - - te[0] = ce + df * b; - te[4] = de * b - cf; - te[8] = a * d; - - te[1] = a * f; - te[5] = a * e; - te[9] = - b; - - te[2] = cf * b - de; - te[6] = df + ce * b; - te[10] = a * c; - - } else if ( order === 'ZXY' ) { - - var ce = c * e, cf = c * f, de = d * e, df = d * f; - - te[0] = ce - df * b; - te[4] = - a * f; - te[8] = de + cf * b; - - te[1] = cf + de * b; - te[5] = a * e; - te[9] = df - ce * b; - - te[2] = - a * d; - te[6] = b; - te[10] = a * c; - - } else if ( order === 'ZYX' ) { - - var ae = a * e, af = a * f, be = b * e, bf = b * f; - - te[0] = c * e; - te[4] = be * d - af; - te[8] = ae * d + bf; - - te[1] = c * f; - te[5] = bf * d + ae; - te[9] = af * d - be; - - te[2] = - d; - te[6] = b * c; - te[10] = a * c; - - } else if ( order === 'YZX' ) { - - var ac = a * c, ad = a * d, bc = b * c, bd = b * d; - - te[0] = c * e; - te[4] = bd - ac * f; - te[8] = bc * f + ad; - - te[1] = f; - te[5] = a * e; - te[9] = - b * e; - - te[2] = - d * e; - te[6] = ad * f + bc; - te[10] = ac - bd * f; - - } else if ( order === 'XZY' ) { - - var ac = a * c, ad = a * d, bc = b * c, bd = b * d; - - te[0] = c * e; - te[4] = - f; - te[8] = d * e; - - te[1] = ac * f + bd; - te[5] = a * e; - te[9] = ad * f - bc; - - te[2] = bc * f - ad; - te[6] = b * e; - te[10] = bd * f + ac; - - } - - return this; - - }, - - - setRotationFromQuaternion: function ( q ) { - - var te = this.elements; - - var x = q.x, y = q.y, z = q.z, w = q.w; - var x2 = x + x, y2 = y + y, z2 = z + z; - var xx = x * x2, xy = x * y2, xz = x * z2; - var yy = y * y2, yz = y * z2, zz = z * z2; - var wx = w * x2, wy = w * y2, wz = w * z2; - - te[0] = 1 - ( yy + zz ); - te[4] = xy - wz; - te[8] = xz + wy; - - te[1] = xy + wz; - te[5] = 1 - ( xx + zz ); - te[9] = yz - wx; - - te[2] = xz - wy; - te[6] = yz + wx; - te[10] = 1 - ( xx + yy ); - - return this; - - }, - - compose: function ( translation, rotation, scale ) { - - var te = this.elements; - var mRotation = THREE.Matrix4.__m1; - var mScale = THREE.Matrix4.__m2; - - mRotation.identity(); - mRotation.setRotationFromQuaternion( rotation ); - - mScale.makeScale( scale.x, scale.y, scale.z ); - - this.multiply( mRotation, mScale ); - - te[12] = translation.x; - te[13] = translation.y; - te[14] = translation.z; - - return this; - - }, - - decompose: function ( translation, rotation, scale ) { - - var te = this.elements; - - // grab the axis vectors - var x = THREE.Matrix4.__v1; - var y = THREE.Matrix4.__v2; - var z = THREE.Matrix4.__v3; - - x.set( te[0], te[1], te[2] ); - y.set( te[4], te[5], te[6] ); - z.set( te[8], te[9], te[10] ); - - translation = ( translation instanceof THREE.Vector3 ) ? translation : new THREE.Vector3(); - rotation = ( rotation instanceof THREE.Quaternion ) ? rotation : new THREE.Quaternion(); - scale = ( scale instanceof THREE.Vector3 ) ? scale : new THREE.Vector3(); - - scale.x = x.length(); - scale.y = y.length(); - scale.z = z.length(); - - translation.x = te[12]; - translation.y = te[13]; - translation.z = te[14]; - - // scale the rotation part - - var matrix = THREE.Matrix4.__m1; - - matrix.copy( this ); - - matrix.elements[0] /= scale.x; - matrix.elements[1] /= scale.x; - matrix.elements[2] /= scale.x; - - matrix.elements[4] /= scale.y; - matrix.elements[5] /= scale.y; - matrix.elements[6] /= scale.y; - - matrix.elements[8] /= scale.z; - matrix.elements[9] /= scale.z; - matrix.elements[10] /= scale.z; - - rotation.setFromRotationMatrix( matrix ); - - return [ translation, rotation, scale ]; - - }, - - extractPosition: function ( m ) { - - var te = this.elements; - var me = m.elements; - - te[12] = me[12]; - te[13] = me[13]; - te[14] = me[14]; - - return this; - - }, - - extractRotation: function ( m ) { - - var te = this.elements; - var me = m.elements; - - var vector = THREE.Matrix4.__v1; - - var scaleX = 1 / vector.set( me[0], me[1], me[2] ).length(); - var scaleY = 1 / vector.set( me[4], me[5], me[6] ).length(); - var scaleZ = 1 / vector.set( me[8], me[9], me[10] ).length(); - - te[0] = me[0] * scaleX; - te[1] = me[1] * scaleX; - te[2] = me[2] * scaleX; - - te[4] = me[4] * scaleY; - te[5] = me[5] * scaleY; - te[6] = me[6] * scaleY; - - te[8] = me[8] * scaleZ; - te[9] = me[9] * scaleZ; - te[10] = me[10] * scaleZ; - - return this; - - }, - - // - - translate: function ( v ) { - - var te = this.elements; - var x = v.x, y = v.y, z = v.z; - - te[12] = te[0] * x + te[4] * y + te[8] * z + te[12]; - te[13] = te[1] * x + te[5] * y + te[9] * z + te[13]; - te[14] = te[2] * x + te[6] * y + te[10] * z + te[14]; - te[15] = te[3] * x + te[7] * y + te[11] * z + te[15]; - - return this; - - }, - - rotateX: function ( angle ) { - - var te = this.elements; - var m12 = te[4]; - var m22 = te[5]; - var m32 = te[6]; - var m42 = te[7]; - var m13 = te[8]; - var m23 = te[9]; - var m33 = te[10]; - var m43 = te[11]; - var c = Math.cos( angle ); - var s = Math.sin( angle ); - - te[4] = c * m12 + s * m13; - te[5] = c * m22 + s * m23; - te[6] = c * m32 + s * m33; - te[7] = c * m42 + s * m43; - - te[8] = c * m13 - s * m12; - te[9] = c * m23 - s * m22; - te[10] = c * m33 - s * m32; - te[11] = c * m43 - s * m42; - - return this; - - }, - - rotateY: function ( angle ) { - - var te = this.elements; - var m11 = te[0]; - var m21 = te[1]; - var m31 = te[2]; - var m41 = te[3]; - var m13 = te[8]; - var m23 = te[9]; - var m33 = te[10]; - var m43 = te[11]; - var c = Math.cos( angle ); - var s = Math.sin( angle ); - - te[0] = c * m11 - s * m13; - te[1] = c * m21 - s * m23; - te[2] = c * m31 - s * m33; - te[3] = c * m41 - s * m43; - - te[8] = c * m13 + s * m11; - te[9] = c * m23 + s * m21; - te[10] = c * m33 + s * m31; - te[11] = c * m43 + s * m41; - - return this; - - }, - - rotateZ: function ( angle ) { - - var te = this.elements; - var m11 = te[0]; - var m21 = te[1]; - var m31 = te[2]; - var m41 = te[3]; - var m12 = te[4]; - var m22 = te[5]; - var m32 = te[6]; - var m42 = te[7]; - var c = Math.cos( angle ); - var s = Math.sin( angle ); - - te[0] = c * m11 + s * m12; - te[1] = c * m21 + s * m22; - te[2] = c * m31 + s * m32; - te[3] = c * m41 + s * m42; - - te[4] = c * m12 - s * m11; - te[5] = c * m22 - s * m21; - te[6] = c * m32 - s * m31; - te[7] = c * m42 - s * m41; - - return this; - - }, - - rotateByAxis: function ( axis, angle ) { - - var te = this.elements; - - // optimize by checking axis - - if ( axis.x === 1 && axis.y === 0 && axis.z === 0 ) { - - return this.rotateX( angle ); - - } else if ( axis.x === 0 && axis.y === 1 && axis.z === 0 ) { - - return this.rotateY( angle ); - - } else if ( axis.x === 0 && axis.y === 0 && axis.z === 1 ) { - - return this.rotateZ( angle ); - - } - - var x = axis.x, y = axis.y, z = axis.z; - var n = Math.sqrt(x * x + y * y + z * z); - - x /= n; - y /= n; - z /= n; - - var xx = x * x, yy = y * y, zz = z * z; - var c = Math.cos( angle ); - var s = Math.sin( angle ); - var oneMinusCosine = 1 - c; - var xy = x * y * oneMinusCosine; - var xz = x * z * oneMinusCosine; - var yz = y * z * oneMinusCosine; - var xs = x * s; - var ys = y * s; - var zs = z * s; - - var r11 = xx + (1 - xx) * c; - var r21 = xy + zs; - var r31 = xz - ys; - var r12 = xy - zs; - var r22 = yy + (1 - yy) * c; - var r32 = yz + xs; - var r13 = xz + ys; - var r23 = yz - xs; - var r33 = zz + (1 - zz) * c; - - var m11 = te[0], m21 = te[1], m31 = te[2], m41 = te[3]; - var m12 = te[4], m22 = te[5], m32 = te[6], m42 = te[7]; - var m13 = te[8], m23 = te[9], m33 = te[10], m43 = te[11]; - var m14 = te[12], m24 = te[13], m34 = te[14], m44 = te[15]; - - te[0] = r11 * m11 + r21 * m12 + r31 * m13; - te[1] = r11 * m21 + r21 * m22 + r31 * m23; - te[2] = r11 * m31 + r21 * m32 + r31 * m33; - te[3] = r11 * m41 + r21 * m42 + r31 * m43; - - te[4] = r12 * m11 + r22 * m12 + r32 * m13; - te[5] = r12 * m21 + r22 * m22 + r32 * m23; - te[6] = r12 * m31 + r22 * m32 + r32 * m33; - te[7] = r12 * m41 + r22 * m42 + r32 * m43; - - te[8] = r13 * m11 + r23 * m12 + r33 * m13; - te[9] = r13 * m21 + r23 * m22 + r33 * m23; - te[10] = r13 * m31 + r23 * m32 + r33 * m33; - te[11] = r13 * m41 + r23 * m42 + r33 * m43; - - return this; - - }, - - scale: function ( v ) { - - var te = this.elements; - var x = v.x, y = v.y, z = v.z; - - te[0] *= x; te[4] *= y; te[8] *= z; - te[1] *= x; te[5] *= y; te[9] *= z; - te[2] *= x; te[6] *= y; te[10] *= z; - te[3] *= x; te[7] *= y; te[11] *= z; - - return this; - - }, - - getMaxScaleOnAxis: function () { - - var te = this.elements; - - var scaleXSq = te[0] * te[0] + te[1] * te[1] + te[2] * te[2]; - var scaleYSq = te[4] * te[4] + te[5] * te[5] + te[6] * te[6]; - var scaleZSq = te[8] * te[8] + te[9] * te[9] + te[10] * te[10]; - - return Math.sqrt( Math.max( scaleXSq, Math.max( scaleYSq, scaleZSq ) ) ); - - }, - - // - - makeTranslation: function ( x, y, z ) { - - this.set( - - 1, 0, 0, x, - 0, 1, 0, y, - 0, 0, 1, z, - 0, 0, 0, 1 - - ); - - return this; - - }, - - makeRotationX: function ( theta ) { - - var c = Math.cos( theta ), s = Math.sin( theta ); - - this.set( - - 1, 0, 0, 0, - 0, c, -s, 0, - 0, s, c, 0, - 0, 0, 0, 1 - - ); - - return this; - - }, - - makeRotationY: function ( theta ) { - - var c = Math.cos( theta ), s = Math.sin( theta ); - - this.set( - - c, 0, s, 0, - 0, 1, 0, 0, - -s, 0, c, 0, - 0, 0, 0, 1 - - ); - - return this; - - }, - - makeRotationZ: function ( theta ) { - - var c = Math.cos( theta ), s = Math.sin( theta ); - - this.set( - - c, -s, 0, 0, - s, c, 0, 0, - 0, 0, 1, 0, - 0, 0, 0, 1 - - ); - - return this; - - }, - - makeRotationAxis: function ( axis, angle ) { - - // Based on http://www.gamedev.net/reference/articles/article1199.asp - - var c = Math.cos( angle ); - var s = Math.sin( angle ); - var t = 1 - c; - var x = axis.x, y = axis.y, z = axis.z; - var tx = t * x, ty = t * y; - - this.set( - - tx * x + c, tx * y - s * z, tx * z + s * y, 0, - tx * y + s * z, ty * y + c, ty * z - s * x, 0, - tx * z - s * y, ty * z + s * x, t * z * z + c, 0, - 0, 0, 0, 1 - - ); - - return this; - - }, - - makeScale: function ( x, y, z ) { - - this.set( - - x, 0, 0, 0, - 0, y, 0, 0, - 0, 0, z, 0, - 0, 0, 0, 1 - - ); - - return this; - - }, - - makeFrustum: function ( left, right, bottom, top, near, far ) { - - var te = this.elements; - var x = 2 * near / ( right - left ); - var y = 2 * near / ( top - bottom ); - - var a = ( right + left ) / ( right - left ); - var b = ( top + bottom ) / ( top - bottom ); - var c = - ( far + near ) / ( far - near ); - var d = - 2 * far * near / ( far - near ); - - te[0] = x; te[4] = 0; te[8] = a; te[12] = 0; - te[1] = 0; te[5] = y; te[9] = b; te[13] = 0; - te[2] = 0; te[6] = 0; te[10] = c; te[14] = d; - te[3] = 0; te[7] = 0; te[11] = - 1; te[15] = 0; - - return this; - - }, - - makePerspective: function ( fov, aspect, near, far ) { - - var ymax = near * Math.tan( fov * Math.PI / 360 ); - var ymin = - ymax; - var xmin = ymin * aspect; - var xmax = ymax * aspect; - - return this.makeFrustum( xmin, xmax, ymin, ymax, near, far ); - - }, - - makeOrthographic: function ( left, right, top, bottom, near, far ) { - - var te = this.elements; - var w = right - left; - var h = top - bottom; - var p = far - near; - - var x = ( right + left ) / w; - var y = ( top + bottom ) / h; - var z = ( far + near ) / p; - - te[0] = 2 / w; te[4] = 0; te[8] = 0; te[12] = -x; - te[1] = 0; te[5] = 2 / h; te[9] = 0; te[13] = -y; - te[2] = 0; te[6] = 0; te[10] = -2 / p; te[14] = -z; - te[3] = 0; te[7] = 0; te[11] = 0; te[15] = 1; - - return this; - - }, - - - clone: function () { - - var te = this.elements; - - return new THREE.Matrix4( - - te[0], te[4], te[8], te[12], - te[1], te[5], te[9], te[13], - te[2], te[6], te[10], te[14], - te[3], te[7], te[11], te[15] - - ); - - } - -}; - -THREE.Matrix4.__v1 = new THREE.Vector3(); -THREE.Matrix4.__v2 = new THREE.Vector3(); -THREE.Matrix4.__v3 = new THREE.Vector3(); - -THREE.Matrix4.__m1 = new THREE.Matrix4(); -THREE.Matrix4.__m2 = new THREE.Matrix4(); -/** - * https://github.com/mrdoob/eventtarget.js/ - */ - -THREE.EventTarget = function () { - - var listeners = {}; - - this.addEventListener = function ( type, listener ) { - - if ( listeners[ type ] === undefined ) { - - listeners[ type ] = []; - - } - - if ( listeners[ type ].indexOf( listener ) === - 1 ) { - - listeners[ type ].push( listener ); - - } - - }; - - this.dispatchEvent = function ( event ) { - - for ( var listener in listeners[ event.type ] ) { - - listeners[ event.type ][ listener ]( event ); - - } - - }; - - this.removeEventListener = function ( type, listener ) { - - var index = listeners[ type ].indexOf( listener ); - - if ( index !== - 1 ) { - - listeners[ type ].splice( index, 1 ); - - } - - }; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.Frustum = function ( ) { - - this.planes = [ - - new THREE.Vector4(), - new THREE.Vector4(), - new THREE.Vector4(), - new THREE.Vector4(), - new THREE.Vector4(), - new THREE.Vector4() - - ]; - -}; - -THREE.Frustum.prototype.setFromMatrix = function ( m ) { - - var plane; - var planes = this.planes; - - var me = m.elements; - var me0 = me[0], me1 = me[1], me2 = me[2], me3 = me[3]; - var me4 = me[4], me5 = me[5], me6 = me[6], me7 = me[7]; - var me8 = me[8], me9 = me[9], me10 = me[10], me11 = me[11]; - var me12 = me[12], me13 = me[13], me14 = me[14], me15 = me[15]; - - planes[ 0 ].set( me3 - me0, me7 - me4, me11 - me8, me15 - me12 ); - planes[ 1 ].set( me3 + me0, me7 + me4, me11 + me8, me15 + me12 ); - planes[ 2 ].set( me3 + me1, me7 + me5, me11 + me9, me15 + me13 ); - planes[ 3 ].set( me3 - me1, me7 - me5, me11 - me9, me15 - me13 ); - planes[ 4 ].set( me3 - me2, me7 - me6, me11 - me10, me15 - me14 ); - planes[ 5 ].set( me3 + me2, me7 + me6, me11 + me10, me15 + me14 ); - - for ( var i = 0; i < 6; i ++ ) { - - plane = planes[ i ]; - plane.divideScalar( Math.sqrt( plane.x * plane.x + plane.y * plane.y + plane.z * plane.z ) ); - - } - -}; - -THREE.Frustum.prototype.contains = function ( object ) { - - var distance = 0.0; - var planes = this.planes; - var matrix = object.matrixWorld; - var me = matrix.elements; - var radius = - object.geometry.boundingSphere.radius * matrix.getMaxScaleOnAxis(); - - for ( var i = 0; i < 6; i ++ ) { - - distance = planes[ i ].x * me[12] + planes[ i ].y * me[13] + planes[ i ].z * me[14] + planes[ i ].w; - if ( distance <= radius ) return false; - - } - - return true; - -}; - -THREE.Frustum.__v1 = new THREE.Vector3(); -/** - * @author mrdoob / http://mrdoob.com/ - */ - -( function ( THREE ) { - - THREE.Ray = function ( origin, direction, near, far ) { - - this.origin = origin || new THREE.Vector3(); - this.direction = direction || new THREE.Vector3(); - this.near = near || 0; - this.far = far || Infinity; - - }; - - var originCopy = new THREE.Vector3(); - - var localOriginCopy = new THREE.Vector3(); - var localDirectionCopy = new THREE.Vector3(); - - var vector = new THREE.Vector3(); - var normal = new THREE.Vector3(); - var intersectPoint = new THREE.Vector3(); - - var inverseMatrix = new THREE.Matrix4(); - - var descSort = function ( a, b ) { - - return a.distance - b.distance; - - }; - - var v0 = new THREE.Vector3(), v1 = new THREE.Vector3(), v2 = new THREE.Vector3(); - - var distanceFromIntersection = function ( origin, direction, position ) { - - v0.sub( position, origin ); - - var dot = v0.dot( direction ); - - var intersect = v1.add( origin, v2.copy( direction ).multiplyScalar( dot ) ); - var distance = position.distanceTo( intersect ); - - return distance; - - }; - - // http://www.blackpawn.com/texts/pointinpoly/default.html - - var pointInFace3 = function ( p, a, b, c ) { - - v0.sub( c, a ); - v1.sub( b, a ); - v2.sub( p, a ); - - var dot00 = v0.dot( v0 ); - var dot01 = v0.dot( v1 ); - var dot02 = v0.dot( v2 ); - var dot11 = v1.dot( v1 ); - var dot12 = v1.dot( v2 ); - - var invDenom = 1 / ( dot00 * dot11 - dot01 * dot01 ); - var u = ( dot11 * dot02 - dot01 * dot12 ) * invDenom; - var v = ( dot00 * dot12 - dot01 * dot02 ) * invDenom; - - return ( u >= 0 ) && ( v >= 0 ) && ( u + v < 1 ); - - }; - - var intersectObject = function ( object, ray, intersects ) { - - var distance,intersect; - - if ( object instanceof THREE.Particle ) { - - distance = distanceFromIntersection( ray.origin, ray.direction, object.matrixWorld.getPosition() ); - - if ( distance > object.scale.x ) { - - return intersects; - - } - - intersect = { - - distance: distance, - point: object.position, - face: null, - object: object - - }; - - intersects.push( intersect ); - - } else if ( object instanceof THREE.Mesh ) { - - // Checking boundingSphere - - var scaledRadius = object.geometry.boundingSphere.radius * object.matrixWorld.getMaxScaleOnAxis(); - - // Checking distance to ray - - distance = distanceFromIntersection( ray.origin, ray.direction, object.matrixWorld.getPosition() ); - - if ( distance > scaledRadius) { - - return intersects; - - } - - // Checking faces - - var f, fl, face, dot, scalar, - geometry = object.geometry, - vertices = geometry.vertices, - objMatrix, geometryMaterials, - isFaceMaterial, material, side, point; - - geometryMaterials = object.geometry.materials; - isFaceMaterial = object.material instanceof THREE.MeshFaceMaterial; - side = object.material.side; - - var a, b, c, d; - var precision = ray.precision; - - object.matrixRotationWorld.extractRotation( object.matrixWorld ); - - originCopy.copy( ray.origin ); - - objMatrix = object.matrixWorld; - inverseMatrix.getInverse( objMatrix ); - - localOriginCopy.copy( originCopy ); - inverseMatrix.multiplyVector3( localOriginCopy ); - - localDirectionCopy.copy( ray.direction ); - inverseMatrix.rotateAxis( localDirectionCopy ).normalize(); - - for ( f = 0, fl = geometry.faces.length; f < fl; f ++ ) { - - face = geometry.faces[ f ]; - - material = isFaceMaterial === true ? geometryMaterials[ face.materialIndex ] : object.material; - if ( material === undefined ) continue; - side = material.side; - - vector.sub( face.centroid, localOriginCopy ); - normal = face.normal; - dot = localDirectionCopy.dot( normal ); - - // bail if ray and plane are parallel - - if ( Math.abs( dot ) < precision ) continue; - - // calc distance to plane - - scalar = normal.dot( vector ) / dot; - - // if negative distance, then plane is behind ray - - if ( scalar < 0 ) continue; - - if ( side === THREE.DoubleSide || ( side === THREE.FrontSide ? dot < 0 : dot > 0 ) ) { - - intersectPoint.add( localOriginCopy, localDirectionCopy.multiplyScalar( scalar ) ); - - if ( face instanceof THREE.Face3 ) { - - a = vertices[ face.a ]; - b = vertices[ face.b ]; - c = vertices[ face.c ]; - - if ( pointInFace3( intersectPoint, a, b, c ) ) { - - point = object.matrixWorld.multiplyVector3( intersectPoint.clone() ); - distance = originCopy.distanceTo( point ); - - if ( distance < ray.near || distance > ray.far ) continue; - - intersect = { - - distance: distance, - point: point, - face: face, - faceIndex: f, - object: object - - }; - - intersects.push( intersect ); - - } - - } else if ( face instanceof THREE.Face4 ) { - - a = vertices[ face.a ]; - b = vertices[ face.b ]; - c = vertices[ face.c ]; - d = vertices[ face.d ]; - - if ( pointInFace3( intersectPoint, a, b, d ) || pointInFace3( intersectPoint, b, c, d ) ) { - - point = object.matrixWorld.multiplyVector3( intersectPoint.clone() ); - distance = originCopy.distanceTo( point ); - - if ( distance < ray.near || distance > ray.far ) continue; - - intersect = { - - distance: distance, - point: point, - face: face, - faceIndex: f, - object: object - - }; - - intersects.push( intersect ); - - } - - } - - } - - } - - } - - }; - - var intersectDescendants = function ( object, ray, intersects ) { - - var descendants = object.getDescendants(); - - for ( var i = 0, l = descendants.length; i < l; i ++ ) { - - intersectObject( descendants[ i ], ray, intersects ); - - } - }; - - // - - THREE.Ray.prototype.precision = 0.0001; - - THREE.Ray.prototype.set = function ( origin, direction ) { - - this.origin = origin; - this.direction = direction; - - }; - - THREE.Ray.prototype.intersectObject = function ( object, recursive ) { - - var intersects = []; - - if ( recursive === true ) { - - intersectDescendants( object, this, intersects ); - - } - - intersectObject( object, this, intersects ); - - intersects.sort( descSort ); - - return intersects; - - }; - - THREE.Ray.prototype.intersectObjects = function ( objects, recursive ) { - - var intersects = []; - - for ( var i = 0, l = objects.length; i < l; i ++ ) { - - intersectObject( objects[ i ], this, intersects ); - - if ( recursive === true ) { - - intersectDescendants( objects[ i ], this, intersects ); - - } - } - - intersects.sort( descSort ); - - return intersects; - - }; - -}( THREE ) ); -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.Rectangle = function () { - - var _left = 0; - var _top = 0; - var _right = 0; - var _bottom = 0; - var _width = 0; - var _height = 0; - var _isEmpty = true; - - function resize() { - - _width = _right - _left; - _height = _bottom - _top; - - } - - this.getX = function () { - - return _left; - - }; - - this.getY = function () { - - return _top; - - }; - - this.getWidth = function () { - - return _width; - - }; - - this.getHeight = function () { - - return _height; - - }; - - this.getLeft = function() { - - return _left; - - }; - - this.getTop = function() { - - return _top; - - }; - - this.getRight = function() { - - return _right; - - }; - - this.getBottom = function() { - - return _bottom; - - }; - - this.set = function ( left, top, right, bottom ) { - - _isEmpty = false; - - _left = left; _top = top; - _right = right; _bottom = bottom; - - resize(); - - }; - - this.addPoint = function ( x, y ) { - - if ( _isEmpty === true ) { - - _isEmpty = false; - _left = x; _top = y; - _right = x; _bottom = y; - - resize(); - - } else { - - _left = _left < x ? _left : x; // Math.min( _left, x ); - _top = _top < y ? _top : y; // Math.min( _top, y ); - _right = _right > x ? _right : x; // Math.max( _right, x ); - _bottom = _bottom > y ? _bottom : y; // Math.max( _bottom, y ); - - resize(); - } - - }; - - this.add3Points = function ( x1, y1, x2, y2, x3, y3 ) { - - if ( _isEmpty === true ) { - - _isEmpty = false; - _left = x1 < x2 ? ( x1 < x3 ? x1 : x3 ) : ( x2 < x3 ? x2 : x3 ); - _top = y1 < y2 ? ( y1 < y3 ? y1 : y3 ) : ( y2 < y3 ? y2 : y3 ); - _right = x1 > x2 ? ( x1 > x3 ? x1 : x3 ) : ( x2 > x3 ? x2 : x3 ); - _bottom = y1 > y2 ? ( y1 > y3 ? y1 : y3 ) : ( y2 > y3 ? y2 : y3 ); - - resize(); - - } else { - - _left = x1 < x2 ? ( x1 < x3 ? ( x1 < _left ? x1 : _left ) : ( x3 < _left ? x3 : _left ) ) : ( x2 < x3 ? ( x2 < _left ? x2 : _left ) : ( x3 < _left ? x3 : _left ) ); - _top = y1 < y2 ? ( y1 < y3 ? ( y1 < _top ? y1 : _top ) : ( y3 < _top ? y3 : _top ) ) : ( y2 < y3 ? ( y2 < _top ? y2 : _top ) : ( y3 < _top ? y3 : _top ) ); - _right = x1 > x2 ? ( x1 > x3 ? ( x1 > _right ? x1 : _right ) : ( x3 > _right ? x3 : _right ) ) : ( x2 > x3 ? ( x2 > _right ? x2 : _right ) : ( x3 > _right ? x3 : _right ) ); - _bottom = y1 > y2 ? ( y1 > y3 ? ( y1 > _bottom ? y1 : _bottom ) : ( y3 > _bottom ? y3 : _bottom ) ) : ( y2 > y3 ? ( y2 > _bottom ? y2 : _bottom ) : ( y3 > _bottom ? y3 : _bottom ) ); - - resize(); - - }; - - }; - - this.addRectangle = function ( r ) { - - if ( _isEmpty === true ) { - - _isEmpty = false; - _left = r.getLeft(); _top = r.getTop(); - _right = r.getRight(); _bottom = r.getBottom(); - - resize(); - - } else { - - _left = _left < r.getLeft() ? _left : r.getLeft(); // Math.min(_left, r.getLeft() ); - _top = _top < r.getTop() ? _top : r.getTop(); // Math.min(_top, r.getTop() ); - _right = _right > r.getRight() ? _right : r.getRight(); // Math.max(_right, r.getRight() ); - _bottom = _bottom > r.getBottom() ? _bottom : r.getBottom(); // Math.max(_bottom, r.getBottom() ); - - resize(); - - } - - }; - - this.inflate = function ( v ) { - - _left -= v; _top -= v; - _right += v; _bottom += v; - - resize(); - - }; - - this.minSelf = function ( r ) { - - _left = _left > r.getLeft() ? _left : r.getLeft(); // Math.max( _left, r.getLeft() ); - _top = _top > r.getTop() ? _top : r.getTop(); // Math.max( _top, r.getTop() ); - _right = _right < r.getRight() ? _right : r.getRight(); // Math.min( _right, r.getRight() ); - _bottom = _bottom < r.getBottom() ? _bottom : r.getBottom(); // Math.min( _bottom, r.getBottom() ); - - resize(); - - }; - - this.intersects = function ( r ) { - - // http://gamemath.com/2011/09/detecting-whether-two-boxes-overlap/ - - if ( _right < r.getLeft() ) return false; - if ( _left > r.getRight() ) return false; - if ( _bottom < r.getTop() ) return false; - if ( _top > r.getBottom() ) return false; - - return true; - - }; - - this.empty = function () { - - _isEmpty = true; - - _left = 0; _top = 0; - _right = 0; _bottom = 0; - - resize(); - - }; - - this.isEmpty = function () { - - return _isEmpty; - - }; - -}; -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.Math = { - - // Clamp value to range - - clamp: function ( x, a, b ) { - - return ( x < a ) ? a : ( ( x > b ) ? b : x ); - - }, - - // Clamp value to range to range - - mapLinear: function ( x, a1, a2, b1, b2 ) { - - return b1 + ( x - a1 ) * ( b2 - b1 ) / ( a2 - a1 ); - - }, - - // Random float from <0, 1> with 16 bits of randomness - // (standard Math.random() creates repetitive patterns when applied over larger space) - - random16: function () { - - return ( 65280 * Math.random() + 255 * Math.random() ) / 65535; - - }, - - // Random integer from interval - - randInt: function ( low, high ) { - - return low + Math.floor( Math.random() * ( high - low + 1 ) ); - - }, - - // Random float from interval - - randFloat: function ( low, high ) { - - return low + Math.random() * ( high - low ); - - }, - - // Random float from <-range/2, range/2> interval - - randFloatSpread: function ( range ) { - - return range * ( 0.5 - Math.random() ); - - }, - - sign: function ( x ) { - - return ( x < 0 ) ? -1 : ( ( x > 0 ) ? 1 : 0 ); - - } - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author mikael emtinger / http://gomo.se/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.Object3D = function () { - - THREE.Object3DLibrary.push( this ); - - this.id = THREE.Object3DIdCount ++; - - this.name = ''; - this.properties = {}; - - this.parent = undefined; - this.children = []; - - this.up = new THREE.Vector3( 0, 1, 0 ); - - this.position = new THREE.Vector3(); - this.rotation = new THREE.Vector3(); - this.eulerOrder = THREE.Object3D.defaultEulerOrder; - this.scale = new THREE.Vector3( 1, 1, 1 ); - - this.renderDepth = null; - - this.rotationAutoUpdate = true; - - this.matrix = new THREE.Matrix4(); - this.matrixWorld = new THREE.Matrix4(); - this.matrixRotationWorld = new THREE.Matrix4(); - - this.matrixAutoUpdate = true; - this.matrixWorldNeedsUpdate = true; - - this.quaternion = new THREE.Quaternion(); - this.useQuaternion = false; - - this.boundRadius = 0.0; - this.boundRadiusScale = 1.0; - - this.visible = true; - - this.castShadow = false; - this.receiveShadow = false; - - this.frustumCulled = true; - - this._vector = new THREE.Vector3(); - -}; - - -THREE.Object3D.prototype = { - - constructor: THREE.Object3D, - - applyMatrix: function ( matrix ) { - - this.matrix.multiply( matrix, this.matrix ); - - this.scale.getScaleFromMatrix( this.matrix ); - - var mat = new THREE.Matrix4().extractRotation( this.matrix ); - this.rotation.setEulerFromRotationMatrix( mat, this.eulerOrder ); - - this.position.getPositionFromMatrix( this.matrix ); - - }, - - translate: function ( distance, axis ) { - - this.matrix.rotateAxis( axis ); - this.position.addSelf( axis.multiplyScalar( distance ) ); - - }, - - translateX: function ( distance ) { - - this.translate( distance, this._vector.set( 1, 0, 0 ) ); - - }, - - translateY: function ( distance ) { - - this.translate( distance, this._vector.set( 0, 1, 0 ) ); - - }, - - translateZ: function ( distance ) { - - this.translate( distance, this._vector.set( 0, 0, 1 ) ); - - }, - - localToWorld: function ( vector ) { - - return this.matrixWorld.multiplyVector3( vector ); - - }, - - worldToLocal: function ( vector ) { - - return THREE.Object3D.__m1.getInverse( this.matrixWorld ).multiplyVector3( vector ); - - }, - - lookAt: function ( vector ) { - - // TODO: Add hierarchy support. - - this.matrix.lookAt( vector, this.position, this.up ); - - if ( this.rotationAutoUpdate ) { - - this.rotation.setEulerFromRotationMatrix( this.matrix, this.eulerOrder ); - - } - - }, - - add: function ( object ) { - - if ( object === this ) { - - console.warn( 'THREE.Object3D.add: An object can\'t be added as a child of itself.' ); - return; - - } - - if ( object instanceof THREE.Object3D ) { - - if ( object.parent !== undefined ) { - - object.parent.remove( object ); - - } - - object.parent = this; - this.children.push( object ); - - // add to scene - - var scene = this; - - while ( scene.parent !== undefined ) { - - scene = scene.parent; - - } - - if ( scene !== undefined && scene instanceof THREE.Scene ) { - - scene.__addObject( object ); - - } - - } - - }, - - remove: function ( object ) { - - var index = this.children.indexOf( object ); - - if ( index !== - 1 ) { - - object.parent = undefined; - this.children.splice( index, 1 ); - - // remove from scene - - var scene = this; - - while ( scene.parent !== undefined ) { - - scene = scene.parent; - - } - - if ( scene !== undefined && scene instanceof THREE.Scene ) { - - scene.__removeObject( object ); - - } - - } - - }, - - traverse: function ( callback ) { - - callback( this ); - - for ( var i = 0, l = this.children.length; i < l; i ++ ) { - - this.children[ i ].traverse( callback ); - - } - - }, - - getChildByName: function ( name, recursive ) { - - for ( var i = 0, l = this.children.length; i < l; i ++ ) { - - var child = this.children[ i ]; - - if ( child.name === name ) { - - return child; - - } - - if ( recursive === true ) { - - child = child.getChildByName( name, recursive ); - - if ( child !== undefined ) { - - return child; - - } - - } - - } - - return undefined; - - }, - - getDescendants: function ( array ) { - - if ( array === undefined ) array = []; - - Array.prototype.push.apply( array, this.children ); - - for ( var i = 0, l = this.children.length; i < l; i ++ ) { - - this.children[ i ].getDescendants( array ); - - } - - return array; - - }, - - updateMatrix: function () { - - this.matrix.setPosition( this.position ); - - if ( this.useQuaternion === false ) { - - this.matrix.setRotationFromEuler( this.rotation, this.eulerOrder ); - - } else { - - this.matrix.setRotationFromQuaternion( this.quaternion ); - - } - - if ( this.scale.x !== 1 || this.scale.y !== 1 || this.scale.z !== 1 ) { - - this.matrix.scale( this.scale ); - this.boundRadiusScale = Math.max( this.scale.x, Math.max( this.scale.y, this.scale.z ) ); - - } - - this.matrixWorldNeedsUpdate = true; - - }, - - updateMatrixWorld: function ( force ) { - - if ( this.matrixAutoUpdate === true ) this.updateMatrix(); - - if ( this.matrixWorldNeedsUpdate === true || force === true ) { - - if ( this.parent === undefined ) { - - this.matrixWorld.copy( this.matrix ); - - } else { - - this.matrixWorld.multiply( this.parent.matrixWorld, this.matrix ); - - } - - this.matrixWorldNeedsUpdate = false; - - force = true; - - } - - // update children - - for ( var i = 0, l = this.children.length; i < l; i ++ ) { - - this.children[ i ].updateMatrixWorld( force ); - - } - - }, - - clone: function ( object ) { - - if ( object === undefined ) object = new THREE.Object3D(); - - object.name = this.name; - - object.up.copy( this.up ); - - object.position.copy( this.position ); - if ( object.rotation instanceof THREE.Vector3 ) object.rotation.copy( this.rotation ); // because of Sprite madness - object.eulerOrder = this.eulerOrder; - object.scale.copy( this.scale ); - - object.renderDepth = this.renderDepth; - - object.rotationAutoUpdate = this.rotationAutoUpdate; - - object.matrix.copy( this.matrix ); - object.matrixWorld.copy( this.matrixWorld ); - object.matrixRotationWorld.copy( this.matrixRotationWorld ); - - object.matrixAutoUpdate = this.matrixAutoUpdate; - object.matrixWorldNeedsUpdate = this.matrixWorldNeedsUpdate; - - object.quaternion.copy( this.quaternion ); - object.useQuaternion = this.useQuaternion; - - object.boundRadius = this.boundRadius; - object.boundRadiusScale = this.boundRadiusScale; - - object.visible = this.visible; - - object.castShadow = this.castShadow; - object.receiveShadow = this.receiveShadow; - - object.frustumCulled = this.frustumCulled; - - return object; - - }, - - deallocate: function () { - - var index = THREE.Object3DLibrary.indexOf( this ); - if ( index !== -1 ) THREE.Object3DLibrary.splice( index, 1 ); - - } - -}; - -THREE.Object3D.__m1 = new THREE.Matrix4(); -THREE.Object3D.defaultEulerOrder = 'XYZ', - -THREE.Object3DIdCount = 0; -THREE.Object3DLibrary = []; -/** - * @author mrdoob / http://mrdoob.com/ - * @author supereggbert / http://www.paulbrunt.co.uk/ - * @author julianwa / https://github.com/julianwa - */ - -THREE.Projector = function() { - - var _object, _objectCount, _objectPool = [], _objectPoolLength = 0, - _vertex, _vertexCount, _vertexPool = [], _vertexPoolLength = 0, - _face, _face3Count, _face3Pool = [], _face3PoolLength = 0, - _face4Count, _face4Pool = [], _face4PoolLength = 0, - _line, _lineCount, _linePool = [], _linePoolLength = 0, - _particle, _particleCount, _particlePool = [], _particlePoolLength = 0, - - _renderData = { objects: [], sprites: [], lights: [], elements: [] }, - - _vector3 = new THREE.Vector3(), - _vector4 = new THREE.Vector4(), - - _viewProjectionMatrix = new THREE.Matrix4(), - _modelViewProjectionMatrix = new THREE.Matrix4(), - - _frustum = new THREE.Frustum(), - - _clippedVertex1PositionScreen = new THREE.Vector4(), - _clippedVertex2PositionScreen = new THREE.Vector4(), - - _face3VertexNormals; - - this.projectVector = function ( vector, camera ) { - - camera.matrixWorldInverse.getInverse( camera.matrixWorld ); - - _viewProjectionMatrix.multiply( camera.projectionMatrix, camera.matrixWorldInverse ); - _viewProjectionMatrix.multiplyVector3( vector ); - - return vector; - - }; - - this.unprojectVector = function ( vector, camera ) { - - camera.projectionMatrixInverse.getInverse( camera.projectionMatrix ); - - _viewProjectionMatrix.multiply( camera.matrixWorld, camera.projectionMatrixInverse ); - _viewProjectionMatrix.multiplyVector3( vector ); - - return vector; - - }; - - this.pickingRay = function ( vector, camera ) { - - var end, ray, t; - - // set two vectors with opposing z values - vector.z = -1.0; - end = new THREE.Vector3( vector.x, vector.y, 1.0 ); - - this.unprojectVector( vector, camera ); - this.unprojectVector( end, camera ); - - // find direction from vector to end - end.subSelf( vector ).normalize(); - - return new THREE.Ray( vector, end ); - - }; - - var projectGraph = function ( root, sortObjects ) { - - _objectCount = 0; - - _renderData.objects.length = 0; - _renderData.sprites.length = 0; - _renderData.lights.length = 0; - - var projectObject = function ( parent ) { - - for ( var c = 0, cl = parent.children.length; c < cl; c ++ ) { - - var object = parent.children[ c ]; - - if ( object.visible === false ) continue; - - if ( object instanceof THREE.Light ) { - - _renderData.lights.push( object ); - - } else if ( object instanceof THREE.Mesh || object instanceof THREE.Line ) { - - if ( object.frustumCulled === false || _frustum.contains( object ) === true ) { - - _object = getNextObjectInPool(); - _object.object = object; - - if ( object.renderDepth !== null ) { - - _object.z = object.renderDepth; - - } else { - - _vector3.copy( object.matrixWorld.getPosition() ); - _viewProjectionMatrix.multiplyVector3( _vector3 ); - _object.z = _vector3.z; - - } - - _renderData.objects.push( _object ); - - } - - } else if ( object instanceof THREE.Sprite || object instanceof THREE.Particle ) { - - _object = getNextObjectInPool(); - _object.object = object; - - // TODO: Find an elegant and performant solution and remove this dupe code. - - if ( object.renderDepth !== null ) { - - _object.z = object.renderDepth; - - } else { - - _vector3.copy( object.matrixWorld.getPosition() ); - _viewProjectionMatrix.multiplyVector3( _vector3 ); - _object.z = _vector3.z; - - } - - _renderData.sprites.push( _object ); - - } else { - - _object = getNextObjectInPool(); - _object.object = object; - - if ( object.renderDepth !== null ) { - - _object.z = object.renderDepth; - - } else { - - _vector3.copy( object.matrixWorld.getPosition() ); - _viewProjectionMatrix.multiplyVector3( _vector3 ); - _object.z = _vector3.z; - - } - - _renderData.objects.push( _object ); - - } - - projectObject( object ); - - } - - }; - - projectObject( root ); - - if ( sortObjects === true ) _renderData.objects.sort( painterSort ); - - return _renderData; - - }; - - this.projectScene = function ( scene, camera, sortObjects, sortElements ) { - - var near = camera.near, far = camera.far, visible = false, - o, ol, v, vl, f, fl, n, nl, c, cl, u, ul, object, - modelMatrix, rotationMatrix, - geometry, geometryMaterials, vertices, vertex, vertexPositionScreen, - faces, face, faceVertexNormals, normal, faceVertexUvs, uvs, - v1, v2, v3, v4, isFaceMaterial, material, side; - - _face3Count = 0; - _face4Count = 0; - _lineCount = 0; - _particleCount = 0; - - _renderData.elements.length = 0; - - scene.updateMatrixWorld(); - - if ( camera.parent === undefined ) camera.updateMatrixWorld(); - - camera.matrixWorldInverse.getInverse( camera.matrixWorld ); - - _viewProjectionMatrix.multiply( camera.projectionMatrix, camera.matrixWorldInverse ); - - _frustum.setFromMatrix( _viewProjectionMatrix ); - - _renderData = projectGraph( scene, sortObjects ); - - for ( o = 0, ol = _renderData.objects.length; o < ol; o++ ) { - - object = _renderData.objects[ o ].object; - - modelMatrix = object.matrixWorld; - - _vertexCount = 0; - - if ( object instanceof THREE.Mesh ) { - - geometry = object.geometry; - geometryMaterials = object.geometry.materials; - vertices = geometry.vertices; - faces = geometry.faces; - faceVertexUvs = geometry.faceVertexUvs; - - rotationMatrix = object.matrixRotationWorld.extractRotation( modelMatrix ); - - isFaceMaterial = object.material instanceof THREE.MeshFaceMaterial; - side = object.material.side; - - for ( v = 0, vl = vertices.length; v < vl; v ++ ) { - - _vertex = getNextVertexInPool(); - _vertex.positionWorld.copy( vertices[ v ] ); - - modelMatrix.multiplyVector3( _vertex.positionWorld ); - - _vertex.positionScreen.copy( _vertex.positionWorld ); - _viewProjectionMatrix.multiplyVector4( _vertex.positionScreen ); - - _vertex.positionScreen.x /= _vertex.positionScreen.w; - _vertex.positionScreen.y /= _vertex.positionScreen.w; - - _vertex.visible = _vertex.positionScreen.z > near && _vertex.positionScreen.z < far; - - } - - for ( f = 0, fl = faces.length; f < fl; f ++ ) { - - face = faces[ f ]; - - material = isFaceMaterial === true ? geometryMaterials[ face.materialIndex ] : object.material; - - if ( material === undefined ) continue; - - side = material.side; - - if ( face instanceof THREE.Face3 ) { - - v1 = _vertexPool[ face.a ]; - v2 = _vertexPool[ face.b ]; - v3 = _vertexPool[ face.c ]; - - if ( v1.visible === true && v2.visible === true && v3.visible === true ) { - - visible = ( ( v3.positionScreen.x - v1.positionScreen.x ) * ( v2.positionScreen.y - v1.positionScreen.y ) - - ( v3.positionScreen.y - v1.positionScreen.y ) * ( v2.positionScreen.x - v1.positionScreen.x ) ) < 0; - - if ( side === THREE.DoubleSide || visible === ( side === THREE.FrontSide ) ) { - - _face = getNextFace3InPool(); - - _face.v1.copy( v1 ); - _face.v2.copy( v2 ); - _face.v3.copy( v3 ); - - } else { - - continue; - - } - - } else { - - continue; - - } - - } else if ( face instanceof THREE.Face4 ) { - - v1 = _vertexPool[ face.a ]; - v2 = _vertexPool[ face.b ]; - v3 = _vertexPool[ face.c ]; - v4 = _vertexPool[ face.d ]; - - if ( v1.visible === true && v2.visible === true && v3.visible === true && v4.visible === true ) { - - visible = ( v4.positionScreen.x - v1.positionScreen.x ) * ( v2.positionScreen.y - v1.positionScreen.y ) - - ( v4.positionScreen.y - v1.positionScreen.y ) * ( v2.positionScreen.x - v1.positionScreen.x ) < 0 || - ( v2.positionScreen.x - v3.positionScreen.x ) * ( v4.positionScreen.y - v3.positionScreen.y ) - - ( v2.positionScreen.y - v3.positionScreen.y ) * ( v4.positionScreen.x - v3.positionScreen.x ) < 0; - - - if ( side === THREE.DoubleSide || visible === ( side === THREE.FrontSide ) ) { - - _face = getNextFace4InPool(); - - _face.v1.copy( v1 ); - _face.v2.copy( v2 ); - _face.v3.copy( v3 ); - _face.v4.copy( v4 ); - - } else { - - continue; - - } - - } else { - - continue; - - } - - } - - _face.normalWorld.copy( face.normal ); - - if ( visible === false && ( side === THREE.BackSide || side === THREE.DoubleSide ) ) _face.normalWorld.negate(); - rotationMatrix.multiplyVector3( _face.normalWorld ); - - _face.centroidWorld.copy( face.centroid ); - modelMatrix.multiplyVector3( _face.centroidWorld ); - - _face.centroidScreen.copy( _face.centroidWorld ); - _viewProjectionMatrix.multiplyVector3( _face.centroidScreen ); - - faceVertexNormals = face.vertexNormals; - - for ( n = 0, nl = faceVertexNormals.length; n < nl; n ++ ) { - - normal = _face.vertexNormalsWorld[ n ]; - normal.copy( faceVertexNormals[ n ] ); - - if ( visible === false && ( side === THREE.BackSide || side === THREE.DoubleSide ) ) normal.negate(); - - rotationMatrix.multiplyVector3( normal ); - - } - - _face.vertexNormalsLength = faceVertexNormals.length; - - for ( c = 0, cl = faceVertexUvs.length; c < cl; c ++ ) { - - uvs = faceVertexUvs[ c ][ f ]; - - if ( uvs === undefined ) continue; - - for ( u = 0, ul = uvs.length; u < ul; u ++ ) { - - _face.uvs[ c ][ u ] = uvs[ u ]; - - } - - } - - _face.color = face.color; - _face.material = material; - - _face.z = _face.centroidScreen.z; - - _renderData.elements.push( _face ); - - } - - } else if ( object instanceof THREE.Line ) { - - _modelViewProjectionMatrix.multiply( _viewProjectionMatrix, modelMatrix ); - - vertices = object.geometry.vertices; - - v1 = getNextVertexInPool(); - v1.positionScreen.copy( vertices[ 0 ] ); - _modelViewProjectionMatrix.multiplyVector4( v1.positionScreen ); - - // Handle LineStrip and LinePieces - var step = object.type === THREE.LinePieces ? 2 : 1; - - for ( v = 1, vl = vertices.length; v < vl; v ++ ) { - - v1 = getNextVertexInPool(); - v1.positionScreen.copy( vertices[ v ] ); - _modelViewProjectionMatrix.multiplyVector4( v1.positionScreen ); - - if ( ( v + 1 ) % step > 0 ) continue; - - v2 = _vertexPool[ _vertexCount - 2 ]; - - _clippedVertex1PositionScreen.copy( v1.positionScreen ); - _clippedVertex2PositionScreen.copy( v2.positionScreen ); - - if ( clipLine( _clippedVertex1PositionScreen, _clippedVertex2PositionScreen ) === true ) { - - // Perform the perspective divide - _clippedVertex1PositionScreen.multiplyScalar( 1 / _clippedVertex1PositionScreen.w ); - _clippedVertex2PositionScreen.multiplyScalar( 1 / _clippedVertex2PositionScreen.w ); - - _line = getNextLineInPool(); - _line.v1.positionScreen.copy( _clippedVertex1PositionScreen ); - _line.v2.positionScreen.copy( _clippedVertex2PositionScreen ); - - _line.z = Math.max( _clippedVertex1PositionScreen.z, _clippedVertex2PositionScreen.z ); - - _line.material = object.material; - - _renderData.elements.push( _line ); - - } - - } - - } - - } - - for ( o = 0, ol = _renderData.sprites.length; o < ol; o++ ) { - - object = _renderData.sprites[ o ].object; - - modelMatrix = object.matrixWorld; - - if ( object instanceof THREE.Particle ) { - - _vector4.set( modelMatrix.elements[12], modelMatrix.elements[13], modelMatrix.elements[14], 1 ); - _viewProjectionMatrix.multiplyVector4( _vector4 ); - - _vector4.z /= _vector4.w; - - if ( _vector4.z > 0 && _vector4.z < 1 ) { - - _particle = getNextParticleInPool(); - _particle.object = object; - _particle.x = _vector4.x / _vector4.w; - _particle.y = _vector4.y / _vector4.w; - _particle.z = _vector4.z; - - _particle.rotation = object.rotation.z; - - _particle.scale.x = object.scale.x * Math.abs( _particle.x - ( _vector4.x + camera.projectionMatrix.elements[0] ) / ( _vector4.w + camera.projectionMatrix.elements[12] ) ); - _particle.scale.y = object.scale.y * Math.abs( _particle.y - ( _vector4.y + camera.projectionMatrix.elements[5] ) / ( _vector4.w + camera.projectionMatrix.elements[13] ) ); - - _particle.material = object.material; - - _renderData.elements.push( _particle ); - - } - - } - - } - - if ( sortElements === true ) _renderData.elements.sort( painterSort ); - - return _renderData; - - }; - - // Pools - - function getNextObjectInPool() { - - if ( _objectCount === _objectPoolLength ) { - - var object = new THREE.RenderableObject(); - _objectPool.push( object ); - _objectPoolLength ++; - _objectCount ++; - return object; - - } - - return _objectPool[ _objectCount ++ ]; - - } - - function getNextVertexInPool() { - - if ( _vertexCount === _vertexPoolLength ) { - - var vertex = new THREE.RenderableVertex(); - _vertexPool.push( vertex ); - _vertexPoolLength ++; - _vertexCount ++; - return vertex; - - } - - return _vertexPool[ _vertexCount ++ ]; - - } - - function getNextFace3InPool() { - - if ( _face3Count === _face3PoolLength ) { - - var face = new THREE.RenderableFace3(); - _face3Pool.push( face ); - _face3PoolLength ++; - _face3Count ++; - return face; - - } - - return _face3Pool[ _face3Count ++ ]; - - - } - - function getNextFace4InPool() { - - if ( _face4Count === _face4PoolLength ) { - - var face = new THREE.RenderableFace4(); - _face4Pool.push( face ); - _face4PoolLength ++; - _face4Count ++; - return face; - - } - - return _face4Pool[ _face4Count ++ ]; - - } - - function getNextLineInPool() { - - if ( _lineCount === _linePoolLength ) { - - var line = new THREE.RenderableLine(); - _linePool.push( line ); - _linePoolLength ++; - _lineCount ++ - return line; - - } - - return _linePool[ _lineCount ++ ]; - - } - - function getNextParticleInPool() { - - if ( _particleCount === _particlePoolLength ) { - - var particle = new THREE.RenderableParticle(); - _particlePool.push( particle ); - _particlePoolLength ++; - _particleCount ++ - return particle; - - } - - return _particlePool[ _particleCount ++ ]; - - } - - // - - function painterSort( a, b ) { - - return b.z - a.z; - - } - - function clipLine( s1, s2 ) { - - var alpha1 = 0, alpha2 = 1, - - // Calculate the boundary coordinate of each vertex for the near and far clip planes, - // Z = -1 and Z = +1, respectively. - bc1near = s1.z + s1.w, - bc2near = s2.z + s2.w, - bc1far = - s1.z + s1.w, - bc2far = - s2.z + s2.w; - - if ( bc1near >= 0 && bc2near >= 0 && bc1far >= 0 && bc2far >= 0 ) { - - // Both vertices lie entirely within all clip planes. - return true; - - } else if ( ( bc1near < 0 && bc2near < 0) || (bc1far < 0 && bc2far < 0 ) ) { - - // Both vertices lie entirely outside one of the clip planes. - return false; - - } else { - - // The line segment spans at least one clip plane. - - if ( bc1near < 0 ) { - - // v1 lies outside the near plane, v2 inside - alpha1 = Math.max( alpha1, bc1near / ( bc1near - bc2near ) ); - - } else if ( bc2near < 0 ) { - - // v2 lies outside the near plane, v1 inside - alpha2 = Math.min( alpha2, bc1near / ( bc1near - bc2near ) ); - - } - - if ( bc1far < 0 ) { - - // v1 lies outside the far plane, v2 inside - alpha1 = Math.max( alpha1, bc1far / ( bc1far - bc2far ) ); - - } else if ( bc2far < 0 ) { - - // v2 lies outside the far plane, v2 inside - alpha2 = Math.min( alpha2, bc1far / ( bc1far - bc2far ) ); - - } - - if ( alpha2 < alpha1 ) { - - // The line segment spans two boundaries, but is outside both of them. - // (This can't happen when we're only clipping against just near/far but good - // to leave the check here for future usage if other clip planes are added.) - return false; - - } else { - - // Update the s1 and s2 vertices to match the clipped line segment. - s1.lerpSelf( s2, alpha1 ); - s2.lerpSelf( s1, 1 - alpha2 ); - - return true; - - } - - } - - } - -}; -/** - * @author mikael emtinger / http://gomo.se/ - * @author alteredq / http://alteredqualia.com/ - * @author WestLangley / http://github.com/WestLangley - */ - -THREE.Quaternion = function( x, y, z, w ) { - - this.x = x || 0; - this.y = y || 0; - this.z = z || 0; - this.w = ( w !== undefined ) ? w : 1; - -}; - -THREE.Quaternion.prototype = { - - constructor: THREE.Quaternion, - - set: function ( x, y, z, w ) { - - this.x = x; - this.y = y; - this.z = z; - this.w = w; - - return this; - - }, - - copy: function ( q ) { - - this.x = q.x; - this.y = q.y; - this.z = q.z; - this.w = q.w; - - return this; - - }, - - setFromEuler: function ( v, order ) { - - // http://www.mathworks.com/matlabcentral/fileexchange/ - // 20696-function-to-convert-between-dcm-euler-angles-quaternions-and-euler-vectors/ - // content/SpinCalc.m - - var c1 = Math.cos( v.x / 2 ); - var c2 = Math.cos( v.y / 2 ); - var c3 = Math.cos( v.z / 2 ); - var s1 = Math.sin( v.x / 2 ); - var s2 = Math.sin( v.y / 2 ); - var s3 = Math.sin( v.z / 2 ); - - if ( order === undefined || order === 'XYZ' ) { - - this.x = s1 * c2 * c3 + c1 * s2 * s3; - this.y = c1 * s2 * c3 - s1 * c2 * s3; - this.z = c1 * c2 * s3 + s1 * s2 * c3; - this.w = c1 * c2 * c3 - s1 * s2 * s3; - - } else if ( order === 'YXZ' ) { - - this.x = s1 * c2 * c3 + c1 * s2 * s3; - this.y = c1 * s2 * c3 - s1 * c2 * s3; - this.z = c1 * c2 * s3 - s1 * s2 * c3; - this.w = c1 * c2 * c3 + s1 * s2 * s3; - - } else if ( order === 'ZXY' ) { - - this.x = s1 * c2 * c3 - c1 * s2 * s3; - this.y = c1 * s2 * c3 + s1 * c2 * s3; - this.z = c1 * c2 * s3 + s1 * s2 * c3; - this.w = c1 * c2 * c3 - s1 * s2 * s3; - - } else if ( order === 'ZYX' ) { - - this.x = s1 * c2 * c3 - c1 * s2 * s3; - this.y = c1 * s2 * c3 + s1 * c2 * s3; - this.z = c1 * c2 * s3 - s1 * s2 * c3; - this.w = c1 * c2 * c3 + s1 * s2 * s3; - - } else if ( order === 'YZX' ) { - - this.x = s1 * c2 * c3 + c1 * s2 * s3; - this.y = c1 * s2 * c3 + s1 * c2 * s3; - this.z = c1 * c2 * s3 - s1 * s2 * c3; - this.w = c1 * c2 * c3 - s1 * s2 * s3; - - } else if ( order === 'XZY' ) { - - this.x = s1 * c2 * c3 - c1 * s2 * s3; - this.y = c1 * s2 * c3 - s1 * c2 * s3; - this.z = c1 * c2 * s3 + s1 * s2 * c3; - this.w = c1 * c2 * c3 + s1 * s2 * s3; - - } - - return this; - - }, - - setFromAxisAngle: function ( axis, angle ) { - - // from http://www.euclideanspace.com/maths/geometry/rotations/conversions/angleToQuaternion/index.htm - // axis have to be normalized - - var halfAngle = angle / 2, - s = Math.sin( halfAngle ); - - this.x = axis.x * s; - this.y = axis.y * s; - this.z = axis.z * s; - this.w = Math.cos( halfAngle ); - - return this; - - }, - - setFromRotationMatrix: function ( m ) { - - // http://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToQuaternion/index.htm - - // assumes the upper 3x3 of m is a pure rotation matrix (i.e, unscaled) - - var te = m.elements, - - m11 = te[0], m12 = te[4], m13 = te[8], - m21 = te[1], m22 = te[5], m23 = te[9], - m31 = te[2], m32 = te[6], m33 = te[10], - - trace = m11 + m22 + m33, - s; - - if( trace > 0 ) { - - s = 0.5 / Math.sqrt( trace + 1.0 ); - - this.w = 0.25 / s; - this.x = ( m32 - m23 ) * s; - this.y = ( m13 - m31 ) * s; - this.z = ( m21 - m12 ) * s; - - } else if ( m11 > m22 && m11 > m33 ) { - - s = 2.0 * Math.sqrt( 1.0 + m11 - m22 - m33 ); - - this.w = (m32 - m23 ) / s; - this.x = 0.25 * s; - this.y = (m12 + m21 ) / s; - this.z = (m13 + m31 ) / s; - - } else if (m22 > m33) { - - s = 2.0 * Math.sqrt( 1.0 + m22 - m11 - m33 ); - - this.w = (m13 - m31 ) / s; - this.x = (m12 + m21 ) / s; - this.y = 0.25 * s; - this.z = (m23 + m32 ) / s; - - } else { - - s = 2.0 * Math.sqrt( 1.0 + m33 - m11 - m22 ); - - this.w = ( m21 - m12 ) / s; - this.x = ( m13 + m31 ) / s; - this.y = ( m23 + m32 ) / s; - this.z = 0.25 * s; - - } - - return this; - - }, - - calculateW : function () { - - this.w = - Math.sqrt( Math.abs( 1.0 - this.x * this.x - this.y * this.y - this.z * this.z ) ); - - return this; - - }, - - inverse: function () { - - this.x *= -1; - this.y *= -1; - this.z *= -1; - - return this; - - }, - - length: function () { - - return Math.sqrt( this.x * this.x + this.y * this.y + this.z * this.z + this.w * this.w ); - - }, - - normalize: function () { - - var l = Math.sqrt( this.x * this.x + this.y * this.y + this.z * this.z + this.w * this.w ); - - if ( l === 0 ) { - - this.x = 0; - this.y = 0; - this.z = 0; - this.w = 0; - - } else { - - l = 1 / l; - - this.x = this.x * l; - this.y = this.y * l; - this.z = this.z * l; - this.w = this.w * l; - - } - - return this; - - }, - - multiply: function ( a, b ) { - - // from http://www.euclideanspace.com/maths/algebra/realNormedAlgebra/quaternions/code/index.htm - var qax = a.x, qay = a.y, qaz = a.z, qaw = a.w, - qbx = b.x, qby = b.y, qbz = b.z, qbw = b.w; - - this.x = qax * qbw + qay * qbz - qaz * qby + qaw * qbx; - this.y = -qax * qbz + qay * qbw + qaz * qbx + qaw * qby; - this.z = qax * qby - qay * qbx + qaz * qbw + qaw * qbz; - this.w = -qax * qbx - qay * qby - qaz * qbz + qaw * qbw; - - return this; - - }, - - multiplySelf: function ( b ) { - - var qax = this.x, qay = this.y, qaz = this.z, qaw = this.w, - qbx = b.x, qby = b.y, qbz = b.z, qbw = b.w; - - this.x = qax * qbw + qaw * qbx + qay * qbz - qaz * qby; - this.y = qay * qbw + qaw * qby + qaz * qbx - qax * qbz; - this.z = qaz * qbw + qaw * qbz + qax * qby - qay * qbx; - this.w = qaw * qbw - qax * qbx - qay * qby - qaz * qbz; - - return this; - - }, - - multiplyVector3: function ( vector, dest ) { - - if ( !dest ) { dest = vector; } - - var x = vector.x, y = vector.y, z = vector.z, - qx = this.x, qy = this.y, qz = this.z, qw = this.w; - - // calculate quat * vector - - var ix = qw * x + qy * z - qz * y, - iy = qw * y + qz * x - qx * z, - iz = qw * z + qx * y - qy * x, - iw = -qx * x - qy * y - qz * z; - - // calculate result * inverse quat - - dest.x = ix * qw + iw * -qx + iy * -qz - iz * -qy; - dest.y = iy * qw + iw * -qy + iz * -qx - ix * -qz; - dest.z = iz * qw + iw * -qz + ix * -qy - iy * -qx; - - return dest; - - }, - - slerpSelf: function ( qb, t ) { - - var x = this.x, y = this.y, z = this.z, w = this.w; - - // http://www.euclideanspace.com/maths/algebra/realNormedAlgebra/quaternions/slerp/ - - var cosHalfTheta = w * qb.w + x * qb.x + y * qb.y + z * qb.z; - - if ( cosHalfTheta < 0 ) { - - this.w = -qb.w; - this.x = -qb.x; - this.y = -qb.y; - this.z = -qb.z; - - cosHalfTheta = -cosHalfTheta; - - } else { - - this.copy( qb ); - - } - - if ( cosHalfTheta >= 1.0 ) { - - this.w = w; - this.x = x; - this.y = y; - this.z = z; - - return this; - - } - - var halfTheta = Math.acos( cosHalfTheta ); - var sinHalfTheta = Math.sqrt( 1.0 - cosHalfTheta * cosHalfTheta ); - - if ( Math.abs( sinHalfTheta ) < 0.001 ) { - - this.w = 0.5 * ( w + this.w ); - this.x = 0.5 * ( x + this.x ); - this.y = 0.5 * ( y + this.y ); - this.z = 0.5 * ( z + this.z ); - - return this; - - } - - var ratioA = Math.sin( ( 1 - t ) * halfTheta ) / sinHalfTheta, - ratioB = Math.sin( t * halfTheta ) / sinHalfTheta; - - this.w = ( w * ratioA + this.w * ratioB ); - this.x = ( x * ratioA + this.x * ratioB ); - this.y = ( y * ratioA + this.y * ratioB ); - this.z = ( z * ratioA + this.z * ratioB ); - - return this; - - }, - - clone: function () { - - return new THREE.Quaternion( this.x, this.y, this.z, this.w ); - - } - -} - -THREE.Quaternion.slerp = function ( qa, qb, qm, t ) { - - // http://www.euclideanspace.com/maths/algebra/realNormedAlgebra/quaternions/slerp/ - - var cosHalfTheta = qa.w * qb.w + qa.x * qb.x + qa.y * qb.y + qa.z * qb.z; - - if ( cosHalfTheta < 0 ) { - - qm.w = -qb.w; - qm.x = -qb.x; - qm.y = -qb.y; - qm.z = -qb.z; - - cosHalfTheta = -cosHalfTheta; - - } else { - - qm.copy( qb ); - - } - - if ( Math.abs( cosHalfTheta ) >= 1.0 ) { - - qm.w = qa.w; - qm.x = qa.x; - qm.y = qa.y; - qm.z = qa.z; - - return qm; - - } - - var halfTheta = Math.acos( cosHalfTheta ); - var sinHalfTheta = Math.sqrt( 1.0 - cosHalfTheta * cosHalfTheta ); - - if ( Math.abs( sinHalfTheta ) < 0.001 ) { - - qm.w = 0.5 * ( qa.w + qm.w ); - qm.x = 0.5 * ( qa.x + qm.x ); - qm.y = 0.5 * ( qa.y + qm.y ); - qm.z = 0.5 * ( qa.z + qm.z ); - - return qm; - - } - - var ratioA = Math.sin( ( 1 - t ) * halfTheta ) / sinHalfTheta; - var ratioB = Math.sin( t * halfTheta ) / sinHalfTheta; - - qm.w = ( qa.w * ratioA + qm.w * ratioB ); - qm.x = ( qa.x * ratioA + qm.x * ratioB ); - qm.y = ( qa.y * ratioA + qm.y * ratioB ); - qm.z = ( qa.z * ratioA + qm.z * ratioB ); - - return qm; - -} -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.Vertex = function ( v ) { - - console.warn( 'THREE.Vertex has been DEPRECATED. Use THREE.Vector3 instead.') - return v; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.Face3 = function ( a, b, c, normal, color, materialIndex ) { - - this.a = a; - this.b = b; - this.c = c; - - this.normal = normal instanceof THREE.Vector3 ? normal : new THREE.Vector3(); - this.vertexNormals = normal instanceof Array ? normal : [ ]; - - this.color = color instanceof THREE.Color ? color : new THREE.Color(); - this.vertexColors = color instanceof Array ? color : []; - - this.vertexTangents = []; - - this.materialIndex = materialIndex; - - this.centroid = new THREE.Vector3(); - -}; - -THREE.Face3.prototype = { - - constructor: THREE.Face3, - - clone: function () { - - var face = new THREE.Face3( this.a, this.b, this.c ); - - face.normal.copy( this.normal ); - face.color.copy( this.color ); - face.centroid.copy( this.centroid ); - - face.materialIndex = this.materialIndex; - - var i, il; - for ( i = 0, il = this.vertexNormals.length; i < il; i ++ ) face.vertexNormals[ i ] = this.vertexNormals[ i ].clone(); - for ( i = 0, il = this.vertexColors.length; i < il; i ++ ) face.vertexColors[ i ] = this.vertexColors[ i ].clone(); - for ( i = 0, il = this.vertexTangents.length; i < il; i ++ ) face.vertexTangents[ i ] = this.vertexTangents[ i ].clone(); - - return face; - - } - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.Face4 = function ( a, b, c, d, normal, color, materialIndex ) { - - this.a = a; - this.b = b; - this.c = c; - this.d = d; - - this.normal = normal instanceof THREE.Vector3 ? normal : new THREE.Vector3(); - this.vertexNormals = normal instanceof Array ? normal : [ ]; - - this.color = color instanceof THREE.Color ? color : new THREE.Color(); - this.vertexColors = color instanceof Array ? color : []; - - this.vertexTangents = []; - - this.materialIndex = materialIndex; - - this.centroid = new THREE.Vector3(); - -}; - -THREE.Face4.prototype = { - - constructor: THREE.Face4, - - clone: function () { - - var face = new THREE.Face4( this.a, this.b, this.c, this.d ); - - face.normal.copy( this.normal ); - face.color.copy( this.color ); - face.centroid.copy( this.centroid ); - - face.materialIndex = this.materialIndex; - - var i, il; - for ( i = 0, il = this.vertexNormals.length; i < il; i ++ ) face.vertexNormals[ i ] = this.vertexNormals[ i ].clone(); - for ( i = 0, il = this.vertexColors.length; i < il; i ++ ) face.vertexColors[ i ] = this.vertexColors[ i ].clone(); - for ( i = 0, il = this.vertexTangents.length; i < il; i ++ ) face.vertexTangents[ i ] = this.vertexTangents[ i ].clone(); - - return face; - - } - -}; -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.UV = function ( u, v ) { - - this.u = u || 0; - this.v = v || 0; - -}; - -THREE.UV.prototype = { - - constructor: THREE.UV, - - set: function ( u, v ) { - - this.u = u; - this.v = v; - - return this; - - }, - - copy: function ( uv ) { - - this.u = uv.u; - this.v = uv.v; - - return this; - - }, - - lerpSelf: function ( uv, alpha ) { - - this.u += ( uv.u - this.u ) * alpha; - this.v += ( uv.v - this.v ) * alpha; - - return this; - - }, - - clone: function () { - - return new THREE.UV( this.u, this.v ); - - } - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author kile / http://kile.stravaganza.org/ - * @author alteredq / http://alteredqualia.com/ - * @author mikael emtinger / http://gomo.se/ - * @author zz85 / http://www.lab4games.net/zz85/blog - */ - -THREE.Geometry = function () { - - THREE.GeometryLibrary.push( this ); - - this.id = THREE.GeometryIdCount ++; - - this.name = ''; - - this.vertices = []; - this.colors = []; // one-to-one vertex colors, used in ParticleSystem, Line and Ribbon - - this.materials = []; - - this.faces = []; - - this.faceUvs = [[]]; - this.faceVertexUvs = [[]]; - - this.morphTargets = []; - this.morphColors = []; - this.morphNormals = []; - - this.skinWeights = []; - this.skinIndices = []; - - this.boundingBox = null; - this.boundingSphere = null; - - this.hasTangents = false; - - this.dynamic = true; // the intermediate typearrays will be deleted when set to false - - // update flags - - this.verticesNeedUpdate = false; - this.elementsNeedUpdate = false; - this.uvsNeedUpdate = false; - this.normalsNeedUpdate = false; - this.tangentsNeedUpdate = false; - this.colorsNeedUpdate = false; - -}; - -THREE.Geometry.prototype = { - - constructor : THREE.Geometry, - - applyMatrix: function ( matrix ) { - - var matrixRotation = new THREE.Matrix4(); - matrixRotation.extractRotation( matrix ); - - for ( var i = 0, il = this.vertices.length; i < il; i ++ ) { - - var vertex = this.vertices[ i ]; - - matrix.multiplyVector3( vertex ); - - } - - for ( var i = 0, il = this.faces.length; i < il; i ++ ) { - - var face = this.faces[ i ]; - - matrixRotation.multiplyVector3( face.normal ); - - for ( var j = 0, jl = face.vertexNormals.length; j < jl; j ++ ) { - - matrixRotation.multiplyVector3( face.vertexNormals[ j ] ); - - } - - matrix.multiplyVector3( face.centroid ); - - } - - }, - - computeCentroids: function () { - - var f, fl, face; - - for ( f = 0, fl = this.faces.length; f < fl; f ++ ) { - - face = this.faces[ f ]; - face.centroid.set( 0, 0, 0 ); - - if ( face instanceof THREE.Face3 ) { - - face.centroid.addSelf( this.vertices[ face.a ] ); - face.centroid.addSelf( this.vertices[ face.b ] ); - face.centroid.addSelf( this.vertices[ face.c ] ); - face.centroid.divideScalar( 3 ); - - } else if ( face instanceof THREE.Face4 ) { - - face.centroid.addSelf( this.vertices[ face.a ] ); - face.centroid.addSelf( this.vertices[ face.b ] ); - face.centroid.addSelf( this.vertices[ face.c ] ); - face.centroid.addSelf( this.vertices[ face.d ] ); - face.centroid.divideScalar( 4 ); - - } - - } - - }, - - computeFaceNormals: function () { - - var n, nl, v, vl, vertex, f, fl, face, vA, vB, vC, - cb = new THREE.Vector3(), ab = new THREE.Vector3(); - - for ( f = 0, fl = this.faces.length; f < fl; f ++ ) { - - face = this.faces[ f ]; - - vA = this.vertices[ face.a ]; - vB = this.vertices[ face.b ]; - vC = this.vertices[ face.c ]; - - cb.sub( vC, vB ); - ab.sub( vA, vB ); - cb.crossSelf( ab ); - - if ( !cb.isZero() ) { - - cb.normalize(); - - } - - face.normal.copy( cb ); - - } - - }, - - computeVertexNormals: function () { - - var v, vl, f, fl, face, vertices; - - // create internal buffers for reuse when calling this method repeatedly - // (otherwise memory allocation / deallocation every frame is big resource hog) - - if ( this.__tmpVertices === undefined ) { - - this.__tmpVertices = new Array( this.vertices.length ); - vertices = this.__tmpVertices; - - for ( v = 0, vl = this.vertices.length; v < vl; v ++ ) { - - vertices[ v ] = new THREE.Vector3(); - - } - - for ( f = 0, fl = this.faces.length; f < fl; f ++ ) { - - face = this.faces[ f ]; - - if ( face instanceof THREE.Face3 ) { - - face.vertexNormals = [ new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3() ]; - - } else if ( face instanceof THREE.Face4 ) { - - face.vertexNormals = [ new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3() ]; - - } - - } - - } else { - - vertices = this.__tmpVertices; - - for ( v = 0, vl = this.vertices.length; v < vl; v ++ ) { - - vertices[ v ].set( 0, 0, 0 ); - - } - - } - - for ( f = 0, fl = this.faces.length; f < fl; f ++ ) { - - face = this.faces[ f ]; - - if ( face instanceof THREE.Face3 ) { - - vertices[ face.a ].addSelf( face.normal ); - vertices[ face.b ].addSelf( face.normal ); - vertices[ face.c ].addSelf( face.normal ); - - } else if ( face instanceof THREE.Face4 ) { - - vertices[ face.a ].addSelf( face.normal ); - vertices[ face.b ].addSelf( face.normal ); - vertices[ face.c ].addSelf( face.normal ); - vertices[ face.d ].addSelf( face.normal ); - - } - - } - - for ( v = 0, vl = this.vertices.length; v < vl; v ++ ) { - - vertices[ v ].normalize(); - - } - - for ( f = 0, fl = this.faces.length; f < fl; f ++ ) { - - face = this.faces[ f ]; - - if ( face instanceof THREE.Face3 ) { - - face.vertexNormals[ 0 ].copy( vertices[ face.a ] ); - face.vertexNormals[ 1 ].copy( vertices[ face.b ] ); - face.vertexNormals[ 2 ].copy( vertices[ face.c ] ); - - } else if ( face instanceof THREE.Face4 ) { - - face.vertexNormals[ 0 ].copy( vertices[ face.a ] ); - face.vertexNormals[ 1 ].copy( vertices[ face.b ] ); - face.vertexNormals[ 2 ].copy( vertices[ face.c ] ); - face.vertexNormals[ 3 ].copy( vertices[ face.d ] ); - - } - - } - - }, - - computeMorphNormals: function () { - - var i, il, f, fl, face; - - // save original normals - // - create temp variables on first access - // otherwise just copy (for faster repeated calls) - - for ( f = 0, fl = this.faces.length; f < fl; f ++ ) { - - face = this.faces[ f ]; - - if ( ! face.__originalFaceNormal ) { - - face.__originalFaceNormal = face.normal.clone(); - - } else { - - face.__originalFaceNormal.copy( face.normal ); - - } - - if ( ! face.__originalVertexNormals ) face.__originalVertexNormals = []; - - for ( i = 0, il = face.vertexNormals.length; i < il; i ++ ) { - - if ( ! face.__originalVertexNormals[ i ] ) { - - face.__originalVertexNormals[ i ] = face.vertexNormals[ i ].clone(); - - } else { - - face.__originalVertexNormals[ i ].copy( face.vertexNormals[ i ] ); - - } - - } - - } - - // use temp geometry to compute face and vertex normals for each morph - - var tmpGeo = new THREE.Geometry(); - tmpGeo.faces = this.faces; - - for ( i = 0, il = this.morphTargets.length; i < il; i ++ ) { - - // create on first access - - if ( ! this.morphNormals[ i ] ) { - - this.morphNormals[ i ] = {}; - this.morphNormals[ i ].faceNormals = []; - this.morphNormals[ i ].vertexNormals = []; - - var dstNormalsFace = this.morphNormals[ i ].faceNormals; - var dstNormalsVertex = this.morphNormals[ i ].vertexNormals; - - var faceNormal, vertexNormals; - - for ( f = 0, fl = this.faces.length; f < fl; f ++ ) { - - face = this.faces[ f ]; - - faceNormal = new THREE.Vector3(); - - if ( face instanceof THREE.Face3 ) { - - vertexNormals = { a: new THREE.Vector3(), b: new THREE.Vector3(), c: new THREE.Vector3() }; - - } else { - - vertexNormals = { a: new THREE.Vector3(), b: new THREE.Vector3(), c: new THREE.Vector3(), d: new THREE.Vector3() }; - - } - - dstNormalsFace.push( faceNormal ); - dstNormalsVertex.push( vertexNormals ); - - } - - } - - var morphNormals = this.morphNormals[ i ]; - - // set vertices to morph target - - tmpGeo.vertices = this.morphTargets[ i ].vertices; - - // compute morph normals - - tmpGeo.computeFaceNormals(); - tmpGeo.computeVertexNormals(); - - // store morph normals - - var faceNormal, vertexNormals; - - for ( f = 0, fl = this.faces.length; f < fl; f ++ ) { - - face = this.faces[ f ]; - - faceNormal = morphNormals.faceNormals[ f ]; - vertexNormals = morphNormals.vertexNormals[ f ]; - - faceNormal.copy( face.normal ); - - if ( face instanceof THREE.Face3 ) { - - vertexNormals.a.copy( face.vertexNormals[ 0 ] ); - vertexNormals.b.copy( face.vertexNormals[ 1 ] ); - vertexNormals.c.copy( face.vertexNormals[ 2 ] ); - - } else { - - vertexNormals.a.copy( face.vertexNormals[ 0 ] ); - vertexNormals.b.copy( face.vertexNormals[ 1 ] ); - vertexNormals.c.copy( face.vertexNormals[ 2 ] ); - vertexNormals.d.copy( face.vertexNormals[ 3 ] ); - - } - - } - - } - - // restore original normals - - for ( f = 0, fl = this.faces.length; f < fl; f ++ ) { - - face = this.faces[ f ]; - - face.normal = face.__originalFaceNormal; - face.vertexNormals = face.__originalVertexNormals; - - } - - }, - - computeTangents: function () { - - // based on http://www.terathon.com/code/tangent.html - // tangents go to vertices - - var f, fl, v, vl, i, il, vertexIndex, - face, uv, vA, vB, vC, uvA, uvB, uvC, - x1, x2, y1, y2, z1, z2, - s1, s2, t1, t2, r, t, test, - tan1 = [], tan2 = [], - sdir = new THREE.Vector3(), tdir = new THREE.Vector3(), - tmp = new THREE.Vector3(), tmp2 = new THREE.Vector3(), - n = new THREE.Vector3(), w; - - for ( v = 0, vl = this.vertices.length; v < vl; v ++ ) { - - tan1[ v ] = new THREE.Vector3(); - tan2[ v ] = new THREE.Vector3(); - - } - - function handleTriangle( context, a, b, c, ua, ub, uc ) { - - vA = context.vertices[ a ]; - vB = context.vertices[ b ]; - vC = context.vertices[ c ]; - - uvA = uv[ ua ]; - uvB = uv[ ub ]; - uvC = uv[ uc ]; - - x1 = vB.x - vA.x; - x2 = vC.x - vA.x; - y1 = vB.y - vA.y; - y2 = vC.y - vA.y; - z1 = vB.z - vA.z; - z2 = vC.z - vA.z; - - s1 = uvB.u - uvA.u; - s2 = uvC.u - uvA.u; - t1 = uvB.v - uvA.v; - t2 = uvC.v - uvA.v; - - r = 1.0 / ( s1 * t2 - s2 * t1 ); - sdir.set( ( t2 * x1 - t1 * x2 ) * r, - ( t2 * y1 - t1 * y2 ) * r, - ( t2 * z1 - t1 * z2 ) * r ); - tdir.set( ( s1 * x2 - s2 * x1 ) * r, - ( s1 * y2 - s2 * y1 ) * r, - ( s1 * z2 - s2 * z1 ) * r ); - - tan1[ a ].addSelf( sdir ); - tan1[ b ].addSelf( sdir ); - tan1[ c ].addSelf( sdir ); - - tan2[ a ].addSelf( tdir ); - tan2[ b ].addSelf( tdir ); - tan2[ c ].addSelf( tdir ); - - } - - for ( f = 0, fl = this.faces.length; f < fl; f ++ ) { - - face = this.faces[ f ]; - uv = this.faceVertexUvs[ 0 ][ f ]; // use UV layer 0 for tangents - - if ( face instanceof THREE.Face3 ) { - - handleTriangle( this, face.a, face.b, face.c, 0, 1, 2 ); - - } else if ( face instanceof THREE.Face4 ) { - - handleTriangle( this, face.a, face.b, face.d, 0, 1, 3 ); - handleTriangle( this, face.b, face.c, face.d, 1, 2, 3 ); - - } - - } - - var faceIndex = [ 'a', 'b', 'c', 'd' ]; - - for ( f = 0, fl = this.faces.length; f < fl; f ++ ) { - - face = this.faces[ f ]; - - for ( i = 0; i < face.vertexNormals.length; i++ ) { - - n.copy( face.vertexNormals[ i ] ); - - vertexIndex = face[ faceIndex[ i ] ]; - - t = tan1[ vertexIndex ]; - - // Gram-Schmidt orthogonalize - - tmp.copy( t ); - tmp.subSelf( n.multiplyScalar( n.dot( t ) ) ).normalize(); - - // Calculate handedness - - tmp2.cross( face.vertexNormals[ i ], t ); - test = tmp2.dot( tan2[ vertexIndex ] ); - w = (test < 0.0) ? -1.0 : 1.0; - - face.vertexTangents[ i ] = new THREE.Vector4( tmp.x, tmp.y, tmp.z, w ); - - } - - } - - this.hasTangents = true; - - }, - - computeBoundingBox: function () { - - if ( ! this.boundingBox ) { - - this.boundingBox = { min: new THREE.Vector3(), max: new THREE.Vector3() }; - - } - - if ( this.vertices.length > 0 ) { - - var position, firstPosition = this.vertices[ 0 ]; - - this.boundingBox.min.copy( firstPosition ); - this.boundingBox.max.copy( firstPosition ); - - var min = this.boundingBox.min, - max = this.boundingBox.max; - - for ( var v = 1, vl = this.vertices.length; v < vl; v ++ ) { - - position = this.vertices[ v ]; - - if ( position.x < min.x ) { - - min.x = position.x; - - } else if ( position.x > max.x ) { - - max.x = position.x; - - } - - if ( position.y < min.y ) { - - min.y = position.y; - - } else if ( position.y > max.y ) { - - max.y = position.y; - - } - - if ( position.z < min.z ) { - - min.z = position.z; - - } else if ( position.z > max.z ) { - - max.z = position.z; - - } - - } - - } else { - - this.boundingBox.min.set( 0, 0, 0 ); - this.boundingBox.max.set( 0, 0, 0 ); - - } - - }, - - computeBoundingSphere: function () { - - var maxRadiusSq = 0; - - if ( this.boundingSphere === null ) this.boundingSphere = { radius: 0 }; - - for ( var i = 0, l = this.vertices.length; i < l; i ++ ) { - - var radiusSq = this.vertices[ i ].lengthSq(); - if ( radiusSq > maxRadiusSq ) maxRadiusSq = radiusSq; - - } - - this.boundingSphere.radius = Math.sqrt( maxRadiusSq ); - - }, - - /* - * Checks for duplicate vertices with hashmap. - * Duplicated vertices are removed - * and faces' vertices are updated. - */ - - mergeVertices: function () { - - var verticesMap = {}; // Hashmap for looking up vertice by position coordinates (and making sure they are unique) - var unique = [], changes = []; - - var v, key; - var precisionPoints = 4; // number of decimal points, eg. 4 for epsilon of 0.0001 - var precision = Math.pow( 10, precisionPoints ); - var i,il, face; - var abcd = 'abcd', o, k, j, jl, u; - - for ( i = 0, il = this.vertices.length; i < il; i ++ ) { - - v = this.vertices[ i ]; - key = [ Math.round( v.x * precision ), Math.round( v.y * precision ), Math.round( v.z * precision ) ].join( '_' ); - - if ( verticesMap[ key ] === undefined ) { - - verticesMap[ key ] = i; - unique.push( this.vertices[ i ] ); - changes[ i ] = unique.length - 1; - - } else { - - //console.log('Duplicate vertex found. ', i, ' could be using ', verticesMap[key]); - changes[ i ] = changes[ verticesMap[ key ] ]; - - } - - }; - - - // Start to patch face indices - - for( i = 0, il = this.faces.length; i < il; i ++ ) { - - face = this.faces[ i ]; - - if ( face instanceof THREE.Face3 ) { - - face.a = changes[ face.a ]; - face.b = changes[ face.b ]; - face.c = changes[ face.c ]; - - } else if ( face instanceof THREE.Face4 ) { - - face.a = changes[ face.a ]; - face.b = changes[ face.b ]; - face.c = changes[ face.c ]; - face.d = changes[ face.d ]; - - // check dups in (a, b, c, d) and convert to -> face3 - - o = [ face.a, face.b, face.c, face.d ]; - - for ( k = 3; k > 0; k -- ) { - - if ( o.indexOf( face[ abcd[ k ] ] ) !== k ) { - - // console.log('faces', face.a, face.b, face.c, face.d, 'dup at', k); - - o.splice( k, 1 ); - - this.faces[ i ] = new THREE.Face3( o[0], o[1], o[2], face.normal, face.color, face.materialIndex ); - - for ( j = 0, jl = this.faceVertexUvs.length; j < jl; j ++ ) { - - u = this.faceVertexUvs[ j ][ i ]; - if ( u ) u.splice( k, 1 ); - - } - - this.faces[ i ].vertexColors = face.vertexColors; - - break; - } - - } - - } - - } - - // Use unique set of vertices - - var diff = this.vertices.length - unique.length; - this.vertices = unique; - return diff; - - }, - - clone: function () { - - // TODO - - }, - - deallocate: function () { - - var index = THREE.GeometryLibrary.indexOf( this ); - if ( index !== -1 ) THREE.GeometryLibrary.splice( index, 1 ); - - } - -}; - -THREE.GeometryIdCount = 0; -THREE.GeometryLibrary = []; -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.BufferGeometry = function () { - - this.id = THREE.GeometryCount ++; - - // attributes - - this.attributes = {}; - - // attributes typed arrays are kept only if dynamic flag is set - - this.dynamic = false; - - // boundings - - this.boundingBox = null; - this.boundingSphere = null; - - this.hasTangents = false; - - // for compatibility - - this.morphTargets = []; - -}; - -THREE.BufferGeometry.prototype = { - - constructor : THREE.BufferGeometry, - - applyMatrix: function ( matrix ) { - - var positionArray; - var normalArray; - - if ( this.attributes[ "position" ] ) positionArray = this.attributes[ "position" ].array; - if ( this.attributes[ "normal" ] ) normalArray = this.attributes[ "normal" ].array; - - if ( positionArray !== undefined ) { - - matrix.multiplyVector3Array( positionArray ); - this.verticesNeedUpdate = true; - - } - - if ( normalArray !== undefined ) { - - var matrixRotation = new THREE.Matrix4(); - matrixRotation.extractRotation( matrix ); - - matrixRotation.multiplyVector3Array( normalArray ); - this.normalsNeedUpdate = true; - - } - - }, - - computeBoundingBox: function () { - - if ( ! this.boundingBox ) { - - this.boundingBox = { - - min: new THREE.Vector3( Infinity, Infinity, Infinity ), - max: new THREE.Vector3( -Infinity, -Infinity, -Infinity ) - - }; - - } - - var positions = this.attributes[ "position" ].array; - - if ( positions ) { - - var bb = this.boundingBox; - var x, y, z; - - for ( var i = 0, il = positions.length; i < il; i += 3 ) { - - x = positions[ i ]; - y = positions[ i + 1 ]; - z = positions[ i + 2 ]; - - // bounding box - - if ( x < bb.min.x ) { - - bb.min.x = x; - - } else if ( x > bb.max.x ) { - - bb.max.x = x; - - } - - if ( y < bb.min.y ) { - - bb.min.y = y; - - } else if ( y > bb.max.y ) { - - bb.max.y = y; - - } - - if ( z < bb.min.z ) { - - bb.min.z = z; - - } else if ( z > bb.max.z ) { - - bb.max.z = z; - - } - - } - - } - - if ( positions === undefined || positions.length === 0 ) { - - this.boundingBox.min.set( 0, 0, 0 ); - this.boundingBox.max.set( 0, 0, 0 ); - - } - - }, - - computeBoundingSphere: function () { - - if ( ! this.boundingSphere ) this.boundingSphere = { radius: 0 }; - - var positions = this.attributes[ "position" ].array; - - if ( positions ) { - - var radiusSq, maxRadiusSq = 0; - var x, y, z; - - for ( var i = 0, il = positions.length; i < il; i += 3 ) { - - x = positions[ i ]; - y = positions[ i + 1 ]; - z = positions[ i + 2 ]; - - radiusSq = x * x + y * y + z * z; - if ( radiusSq > maxRadiusSq ) maxRadiusSq = radiusSq; - - } - - this.boundingSphere.radius = Math.sqrt( maxRadiusSq ); - - } - - }, - - computeVertexNormals: function () { - - if ( this.attributes[ "position" ] && this.attributes[ "index" ] ) { - - var i, il; - var j, jl; - - var nVertexElements = this.attributes[ "position" ].array.length; - - if ( this.attributes[ "normal" ] === undefined ) { - - this.attributes[ "normal" ] = { - - itemSize: 3, - array: new Float32Array( nVertexElements ), - numItems: nVertexElements - - }; - - } else { - - // reset existing normals to zero - - for ( i = 0, il = this.attributes[ "normal" ].array.length; i < il; i ++ ) { - - this.attributes[ "normal" ].array[ i ] = 0; - - } - - } - - var offsets = this.offsets; - - var indices = this.attributes[ "index" ].array; - var positions = this.attributes[ "position" ].array; - var normals = this.attributes[ "normal" ].array; - - var vA, vB, vC, x, y, z, - - pA = new THREE.Vector3(), - pB = new THREE.Vector3(), - pC = new THREE.Vector3(), - - cb = new THREE.Vector3(), - ab = new THREE.Vector3(); - - for ( j = 0, jl = offsets.length; j < jl; ++ j ) { - - var start = offsets[ j ].start; - var count = offsets[ j ].count; - var index = offsets[ j ].index; - - for ( i = start, il = start + count; i < il; i += 3 ) { - - vA = index + indices[ i ]; - vB = index + indices[ i + 1 ]; - vC = index + indices[ i + 2 ]; - - x = positions[ vA * 3 ]; - y = positions[ vA * 3 + 1 ]; - z = positions[ vA * 3 + 2 ]; - pA.set( x, y, z ); - - x = positions[ vB * 3 ]; - y = positions[ vB * 3 + 1 ]; - z = positions[ vB * 3 + 2 ]; - pB.set( x, y, z ); - - x = positions[ vC * 3 ]; - y = positions[ vC * 3 + 1 ]; - z = positions[ vC * 3 + 2 ]; - pC.set( x, y, z ); - - cb.sub( pC, pB ); - ab.sub( pA, pB ); - cb.crossSelf( ab ); - - normals[ vA * 3 ] += cb.x; - normals[ vA * 3 + 1 ] += cb.y; - normals[ vA * 3 + 2 ] += cb.z; - - normals[ vB * 3 ] += cb.x; - normals[ vB * 3 + 1 ] += cb.y; - normals[ vB * 3 + 2 ] += cb.z; - - normals[ vC * 3 ] += cb.x; - normals[ vC * 3 + 1 ] += cb.y; - normals[ vC * 3 + 2 ] += cb.z; - - } - - } - - // normalize normals - - for ( i = 0, il = normals.length; i < il; i += 3 ) { - - x = normals[ i ]; - y = normals[ i + 1 ]; - z = normals[ i + 2 ]; - - var n = 1.0 / Math.sqrt( x * x + y * y + z * z ); - - normals[ i ] *= n; - normals[ i + 1 ] *= n; - normals[ i + 2 ] *= n; - - } - - this.normalsNeedUpdate = true; - - } - - }, - - computeTangents: function () { - - // based on http://www.terathon.com/code/tangent.html - // (per vertex tangents) - - if ( this.attributes[ "index" ] === undefined || - this.attributes[ "position" ] === undefined || - this.attributes[ "normal" ] === undefined || - this.attributes[ "uv" ] === undefined ) { - - console.warn( "Missing required attributes (index, position, normal or uv) in BufferGeometry.computeTangents()" ); - return; - - } - - var indices = this.attributes[ "index" ].array; - var positions = this.attributes[ "position" ].array; - var normals = this.attributes[ "normal" ].array; - var uvs = this.attributes[ "uv" ].array; - - var nVertices = positions.length / 3; - - if ( this.attributes[ "tangent" ] === undefined ) { - - var nTangentElements = 4 * nVertices; - - this.attributes[ "tangent" ] = { - - itemSize: 4, - array: new Float32Array( nTangentElements ), - numItems: nTangentElements - - }; - - } - - var tangents = this.attributes[ "tangent" ].array; - - var tan1 = [], tan2 = []; - - for ( var k = 0; k < nVertices; k ++ ) { - - tan1[ k ] = new THREE.Vector3(); - tan2[ k ] = new THREE.Vector3(); - - } - - var xA, yA, zA, - xB, yB, zB, - xC, yC, zC, - - uA, vA, - uB, vB, - uC, vC, - - x1, x2, y1, y2, z1, z2, - s1, s2, t1, t2, r; - - var sdir = new THREE.Vector3(), tdir = new THREE.Vector3(); - - function handleTriangle( a, b, c ) { - - xA = positions[ a * 3 ]; - yA = positions[ a * 3 + 1 ]; - zA = positions[ a * 3 + 2 ]; - - xB = positions[ b * 3 ]; - yB = positions[ b * 3 + 1 ]; - zB = positions[ b * 3 + 2 ]; - - xC = positions[ c * 3 ]; - yC = positions[ c * 3 + 1 ]; - zC = positions[ c * 3 + 2 ]; - - uA = uvs[ a * 2 ]; - vA = uvs[ a * 2 + 1 ]; - - uB = uvs[ b * 2 ]; - vB = uvs[ b * 2 + 1 ]; - - uC = uvs[ c * 2 ]; - vC = uvs[ c * 2 + 1 ]; - - x1 = xB - xA; - x2 = xC - xA; - - y1 = yB - yA; - y2 = yC - yA; - - z1 = zB - zA; - z2 = zC - zA; - - s1 = uB - uA; - s2 = uC - uA; - - t1 = vB - vA; - t2 = vC - vA; - - r = 1.0 / ( s1 * t2 - s2 * t1 ); - - sdir.set( - ( t2 * x1 - t1 * x2 ) * r, - ( t2 * y1 - t1 * y2 ) * r, - ( t2 * z1 - t1 * z2 ) * r - ); - - tdir.set( - ( s1 * x2 - s2 * x1 ) * r, - ( s1 * y2 - s2 * y1 ) * r, - ( s1 * z2 - s2 * z1 ) * r - ); - - tan1[ a ].addSelf( sdir ); - tan1[ b ].addSelf( sdir ); - tan1[ c ].addSelf( sdir ); - - tan2[ a ].addSelf( tdir ); - tan2[ b ].addSelf( tdir ); - tan2[ c ].addSelf( tdir ); - - } - - var i, il; - var j, jl; - var iA, iB, iC; - - var offsets = this.offsets; - - for ( j = 0, jl = offsets.length; j < jl; ++ j ) { - - var start = offsets[ j ].start; - var count = offsets[ j ].count; - var index = offsets[ j ].index; - - for ( i = start, il = start + count; i < il; i += 3 ) { - - iA = index + indices[ i ]; - iB = index + indices[ i + 1 ]; - iC = index + indices[ i + 2 ]; - - handleTriangle( iA, iB, iC ); - - } - - } - - var tmp = new THREE.Vector3(), tmp2 = new THREE.Vector3(); - var n = new THREE.Vector3(), n2 = new THREE.Vector3(); - var w, t, test; - var nx, ny, nz; - - function handleVertex( v ) { - - n.x = normals[ v * 3 ]; - n.y = normals[ v * 3 + 1 ]; - n.z = normals[ v * 3 + 2 ]; - - n2.copy( n ); - - t = tan1[ v ]; - - // Gram-Schmidt orthogonalize - - tmp.copy( t ); - tmp.subSelf( n.multiplyScalar( n.dot( t ) ) ).normalize(); - - // Calculate handedness - - tmp2.cross( n2, t ); - test = tmp2.dot( tan2[ v ] ); - w = ( test < 0.0 ) ? -1.0 : 1.0; - - tangents[ v * 4 ] = tmp.x; - tangents[ v * 4 + 1 ] = tmp.y; - tangents[ v * 4 + 2 ] = tmp.z; - tangents[ v * 4 + 3 ] = w; - - } - - for ( j = 0, jl = offsets.length; j < jl; ++ j ) { - - var start = offsets[ j ].start; - var count = offsets[ j ].count; - var index = offsets[ j ].index; - - for ( i = start, il = start + count; i < il; i += 3 ) { - - iA = index + indices[ i ]; - iB = index + indices[ i + 1 ]; - iC = index + indices[ i + 2 ]; - - handleVertex( iA ); - handleVertex( iB ); - handleVertex( iC ); - - } - - } - - this.hasTangents = true; - this.tangentsNeedUpdate = true; - - } - -}; - -/** - * Spline from Tween.js, slightly optimized (and trashed) - * http://sole.github.com/tween.js/examples/05_spline.html - * - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.Spline = function ( points ) { - - this.points = points; - - var c = [], v3 = { x: 0, y: 0, z: 0 }, - point, intPoint, weight, w2, w3, - pa, pb, pc, pd; - - this.initFromArray = function( a ) { - - this.points = []; - - for ( var i = 0; i < a.length; i++ ) { - - this.points[ i ] = { x: a[ i ][ 0 ], y: a[ i ][ 1 ], z: a[ i ][ 2 ] }; - - } - - }; - - this.getPoint = function ( k ) { - - point = ( this.points.length - 1 ) * k; - intPoint = Math.floor( point ); - weight = point - intPoint; - - c[ 0 ] = intPoint === 0 ? intPoint : intPoint - 1; - c[ 1 ] = intPoint; - c[ 2 ] = intPoint > this.points.length - 2 ? this.points.length - 1 : intPoint + 1; - c[ 3 ] = intPoint > this.points.length - 3 ? this.points.length - 1 : intPoint + 2; - - pa = this.points[ c[ 0 ] ]; - pb = this.points[ c[ 1 ] ]; - pc = this.points[ c[ 2 ] ]; - pd = this.points[ c[ 3 ] ]; - - w2 = weight * weight; - w3 = weight * w2; - - v3.x = interpolate( pa.x, pb.x, pc.x, pd.x, weight, w2, w3 ); - v3.y = interpolate( pa.y, pb.y, pc.y, pd.y, weight, w2, w3 ); - v3.z = interpolate( pa.z, pb.z, pc.z, pd.z, weight, w2, w3 ); - - return v3; - - }; - - this.getControlPointsArray = function () { - - var i, p, l = this.points.length, - coords = []; - - for ( i = 0; i < l; i ++ ) { - - p = this.points[ i ]; - coords[ i ] = [ p.x, p.y, p.z ]; - - } - - return coords; - - }; - - // approximate length by summing linear segments - - this.getLength = function ( nSubDivisions ) { - - var i, index, nSamples, position, - point = 0, intPoint = 0, oldIntPoint = 0, - oldPosition = new THREE.Vector3(), - tmpVec = new THREE.Vector3(), - chunkLengths = [], - totalLength = 0; - - // first point has 0 length - - chunkLengths[ 0 ] = 0; - - if ( !nSubDivisions ) nSubDivisions = 100; - - nSamples = this.points.length * nSubDivisions; - - oldPosition.copy( this.points[ 0 ] ); - - for ( i = 1; i < nSamples; i ++ ) { - - index = i / nSamples; - - position = this.getPoint( index ); - tmpVec.copy( position ); - - totalLength += tmpVec.distanceTo( oldPosition ); - - oldPosition.copy( position ); - - point = ( this.points.length - 1 ) * index; - intPoint = Math.floor( point ); - - if ( intPoint != oldIntPoint ) { - - chunkLengths[ intPoint ] = totalLength; - oldIntPoint = intPoint; - - } - - } - - // last point ends with total length - - chunkLengths[ chunkLengths.length ] = totalLength; - - return { chunks: chunkLengths, total: totalLength }; - - }; - - this.reparametrizeByArcLength = function ( samplingCoef ) { - - var i, j, - index, indexCurrent, indexNext, - linearDistance, realDistance, - sampling, position, - newpoints = [], - tmpVec = new THREE.Vector3(), - sl = this.getLength(); - - newpoints.push( tmpVec.copy( this.points[ 0 ] ).clone() ); - - for ( i = 1; i < this.points.length; i++ ) { - - //tmpVec.copy( this.points[ i - 1 ] ); - //linearDistance = tmpVec.distanceTo( this.points[ i ] ); - - realDistance = sl.chunks[ i ] - sl.chunks[ i - 1 ]; - - sampling = Math.ceil( samplingCoef * realDistance / sl.total ); - - indexCurrent = ( i - 1 ) / ( this.points.length - 1 ); - indexNext = i / ( this.points.length - 1 ); - - for ( j = 1; j < sampling - 1; j++ ) { - - index = indexCurrent + j * ( 1 / sampling ) * ( indexNext - indexCurrent ); - - position = this.getPoint( index ); - newpoints.push( tmpVec.copy( position ).clone() ); - - } - - newpoints.push( tmpVec.copy( this.points[ i ] ).clone() ); - - } - - this.points = newpoints; - - }; - - // Catmull-Rom - - function interpolate( p0, p1, p2, p3, t, t2, t3 ) { - - var v0 = ( p2 - p0 ) * 0.5, - v1 = ( p3 - p1 ) * 0.5; - - return ( 2 * ( p1 - p2 ) + v0 + v1 ) * t3 + ( - 3 * ( p1 - p2 ) - 2 * v0 - v1 ) * t2 + v0 * t + p1; - - }; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author mikael emtinger / http://gomo.se/ - */ - -THREE.Camera = function () { - - THREE.Object3D.call( this ); - - this.matrixWorldInverse = new THREE.Matrix4(); - - this.projectionMatrix = new THREE.Matrix4(); - this.projectionMatrixInverse = new THREE.Matrix4(); - -}; - -THREE.Camera.prototype = Object.create( THREE.Object3D.prototype ); - -THREE.Camera.prototype.lookAt = function ( vector ) { - - // TODO: Add hierarchy support. - - this.matrix.lookAt( this.position, vector, this.up ); - - if ( this.rotationAutoUpdate === true ) { - - this.rotation.setEulerFromRotationMatrix( this.matrix, this.eulerOrder ); - - } - -}; -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.OrthographicCamera = function ( left, right, top, bottom, near, far ) { - - THREE.Camera.call( this ); - - this.left = left; - this.right = right; - this.top = top; - this.bottom = bottom; - - this.near = ( near !== undefined ) ? near : 0.1; - this.far = ( far !== undefined ) ? far : 2000; - - this.updateProjectionMatrix(); - -}; - -THREE.OrthographicCamera.prototype = Object.create( THREE.Camera.prototype ); - -THREE.OrthographicCamera.prototype.updateProjectionMatrix = function () { - - this.projectionMatrix.makeOrthographic( this.left, this.right, this.top, this.bottom, this.near, this.far ); - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author greggman / http://games.greggman.com/ - * @author zz85 / http://www.lab4games.net/zz85/blog - */ - -THREE.PerspectiveCamera = function ( fov, aspect, near, far ) { - - THREE.Camera.call( this ); - - this.fov = fov !== undefined ? fov : 50; - this.aspect = aspect !== undefined ? aspect : 1; - this.near = near !== undefined ? near : 0.1; - this.far = far !== undefined ? far : 2000; - - this.updateProjectionMatrix(); - -}; - -THREE.PerspectiveCamera.prototype = Object.create( THREE.Camera.prototype ); - - -/** - * Uses Focal Length (in mm) to estimate and set FOV - * 35mm (fullframe) camera is used if frame size is not specified; - * Formula based on http://www.bobatkins.com/photography/technical/field_of_view.html - */ - -THREE.PerspectiveCamera.prototype.setLens = function ( focalLength, frameHeight ) { - - if ( frameHeight === undefined ) frameHeight = 24; - - this.fov = 2 * Math.atan( frameHeight / ( focalLength * 2 ) ) * ( 180 / Math.PI ); - this.updateProjectionMatrix(); - -} - - -/** - * Sets an offset in a larger frustum. This is useful for multi-window or - * multi-monitor/multi-machine setups. - * - * For example, if you have 3x2 monitors and each monitor is 1920x1080 and - * the monitors are in grid like this - * - * +---+---+---+ - * | A | B | C | - * +---+---+---+ - * | D | E | F | - * +---+---+---+ - * - * then for each monitor you would call it like this - * - * var w = 1920; - * var h = 1080; - * var fullWidth = w * 3; - * var fullHeight = h * 2; - * - * --A-- - * camera.setOffset( fullWidth, fullHeight, w * 0, h * 0, w, h ); - * --B-- - * camera.setOffset( fullWidth, fullHeight, w * 1, h * 0, w, h ); - * --C-- - * camera.setOffset( fullWidth, fullHeight, w * 2, h * 0, w, h ); - * --D-- - * camera.setOffset( fullWidth, fullHeight, w * 0, h * 1, w, h ); - * --E-- - * camera.setOffset( fullWidth, fullHeight, w * 1, h * 1, w, h ); - * --F-- - * camera.setOffset( fullWidth, fullHeight, w * 2, h * 1, w, h ); - * - * Note there is no reason monitors have to be the same size or in a grid. - */ - -THREE.PerspectiveCamera.prototype.setViewOffset = function ( fullWidth, fullHeight, x, y, width, height ) { - - this.fullWidth = fullWidth; - this.fullHeight = fullHeight; - this.x = x; - this.y = y; - this.width = width; - this.height = height; - - this.updateProjectionMatrix(); - -}; - - -THREE.PerspectiveCamera.prototype.updateProjectionMatrix = function () { - - if ( this.fullWidth ) { - - var aspect = this.fullWidth / this.fullHeight; - var top = Math.tan( this.fov * Math.PI / 360 ) * this.near; - var bottom = -top; - var left = aspect * bottom; - var right = aspect * top; - var width = Math.abs( right - left ); - var height = Math.abs( top - bottom ); - - this.projectionMatrix.makeFrustum( - left + this.x * width / this.fullWidth, - left + ( this.x + this.width ) * width / this.fullWidth, - top - ( this.y + this.height ) * height / this.fullHeight, - top - this.y * height / this.fullHeight, - this.near, - this.far - ); - - } else { - - this.projectionMatrix.makePerspective( this.fov, this.aspect, this.near, this.far ); - - } - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.Light = function ( hex ) { - - THREE.Object3D.call( this ); - - this.color = new THREE.Color( hex ); - -}; - -THREE.Light.prototype = Object.create( THREE.Object3D.prototype ); -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.AmbientLight = function ( hex ) { - - THREE.Light.call( this, hex ); - -}; - -THREE.AmbientLight.prototype = Object.create( THREE.Light.prototype ); -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.DirectionalLight = function ( hex, intensity, distance ) { - - THREE.Light.call( this, hex ); - - this.position = new THREE.Vector3( 0, 1, 0 ); - this.target = new THREE.Object3D(); - - this.intensity = ( intensity !== undefined ) ? intensity : 1; - this.distance = ( distance !== undefined ) ? distance : 0; - - this.castShadow = false; - this.onlyShadow = false; - - // - - this.shadowCameraNear = 50; - this.shadowCameraFar = 5000; - - this.shadowCameraLeft = -500; - this.shadowCameraRight = 500; - this.shadowCameraTop = 500; - this.shadowCameraBottom = -500; - - this.shadowCameraVisible = false; - - this.shadowBias = 0; - this.shadowDarkness = 0.5; - - this.shadowMapWidth = 512; - this.shadowMapHeight = 512; - - // - - this.shadowCascade = false; - - this.shadowCascadeOffset = new THREE.Vector3( 0, 0, -1000 ); - this.shadowCascadeCount = 2; - - this.shadowCascadeBias = [ 0, 0, 0 ]; - this.shadowCascadeWidth = [ 512, 512, 512 ]; - this.shadowCascadeHeight = [ 512, 512, 512 ]; - - this.shadowCascadeNearZ = [ -1.000, 0.990, 0.998 ]; - this.shadowCascadeFarZ = [ 0.990, 0.998, 1.000 ]; - - this.shadowCascadeArray = []; - - // - - this.shadowMap = null; - this.shadowMapSize = null; - this.shadowCamera = null; - this.shadowMatrix = null; - -}; - -THREE.DirectionalLight.prototype = Object.create( THREE.Light.prototype ); -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.HemisphereLight = function ( skyColorHex, groundColorHex, intensity ) { - - THREE.Light.call( this, skyColorHex ); - - this.groundColor = new THREE.Color( groundColorHex ); - - this.position = new THREE.Vector3( 0, 100, 0 ); - - this.intensity = ( intensity !== undefined ) ? intensity : 1; - -}; - -THREE.HemisphereLight.prototype = Object.create( THREE.Light.prototype ); -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.PointLight = function ( hex, intensity, distance ) { - - THREE.Light.call( this, hex ); - - this.position = new THREE.Vector3( 0, 0, 0 ); - this.intensity = ( intensity !== undefined ) ? intensity : 1; - this.distance = ( distance !== undefined ) ? distance : 0; - -}; - -THREE.PointLight.prototype = Object.create( THREE.Light.prototype ); -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.SpotLight = function ( hex, intensity, distance, angle, exponent ) { - - THREE.Light.call( this, hex ); - - this.position = new THREE.Vector3( 0, 1, 0 ); - this.target = new THREE.Object3D(); - - this.intensity = ( intensity !== undefined ) ? intensity : 1; - this.distance = ( distance !== undefined ) ? distance : 0; - this.angle = ( angle !== undefined ) ? angle : Math.PI / 2; - this.exponent = ( exponent !== undefined ) ? exponent : 10; - - this.castShadow = false; - this.onlyShadow = false; - - // - - this.shadowCameraNear = 50; - this.shadowCameraFar = 5000; - this.shadowCameraFov = 50; - - this.shadowCameraVisible = false; - - this.shadowBias = 0; - this.shadowDarkness = 0.5; - - this.shadowMapWidth = 512; - this.shadowMapHeight = 512; - - // - - this.shadowMap = null; - this.shadowMapSize = null; - this.shadowCamera = null; - this.shadowMatrix = null; - -}; - -THREE.SpotLight.prototype = Object.create( THREE.Light.prototype ); -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.Loader = function ( showStatus ) { - - this.showStatus = showStatus; - this.statusDomElement = showStatus ? THREE.Loader.prototype.addStatusElement() : null; - - this.onLoadStart = function () {}; - this.onLoadProgress = function () {}; - this.onLoadComplete = function () {}; - -}; - -THREE.Loader.prototype = { - - constructor: THREE.Loader, - - crossOrigin: 'anonymous', - - addStatusElement: function () { - - var e = document.createElement( "div" ); - - e.style.position = "absolute"; - e.style.right = "0px"; - e.style.top = "0px"; - e.style.fontSize = "0.8em"; - e.style.textAlign = "left"; - e.style.background = "rgba(0,0,0,0.25)"; - e.style.color = "#fff"; - e.style.width = "120px"; - e.style.padding = "0.5em 0.5em 0.5em 0.5em"; - e.style.zIndex = 1000; - - e.innerHTML = "Loading ..."; - - return e; - - }, - - updateProgress: function ( progress ) { - - var message = "Loaded "; - - if ( progress.total ) { - - message += ( 100 * progress.loaded / progress.total ).toFixed(0) + "%"; - - - } else { - - message += ( progress.loaded / 1000 ).toFixed(2) + " KB"; - - } - - this.statusDomElement.innerHTML = message; - - }, - - extractUrlBase: function ( url ) { - - var parts = url.split( '/' ); - parts.pop(); - return ( parts.length < 1 ? '.' : parts.join( '/' ) ) + '/'; - - }, - - initMaterials: function ( scope, materials, texturePath ) { - - scope.materials = []; - - for ( var i = 0; i < materials.length; ++ i ) { - - scope.materials[ i ] = THREE.Loader.prototype.createMaterial( materials[ i ], texturePath ); - - } - - }, - - hasNormals: function ( scope ) { - - var m, i, il = scope.materials.length; - - for( i = 0; i < il; i ++ ) { - - m = scope.materials[ i ]; - - if ( m instanceof THREE.ShaderMaterial ) return true; - - } - - return false; - - }, - - createMaterial: function ( m, texturePath ) { - - var _this = this; - - function is_pow2( n ) { - - var l = Math.log( n ) / Math.LN2; - return Math.floor( l ) == l; - - } - - function nearest_pow2( n ) { - - var l = Math.log( n ) / Math.LN2; - return Math.pow( 2, Math.round( l ) ); - - } - - function load_image( where, url ) { - - var image = new Image(); - - image.onload = function () { - - if ( !is_pow2( this.width ) || !is_pow2( this.height ) ) { - - var width = nearest_pow2( this.width ); - var height = nearest_pow2( this.height ); - - where.image.width = width; - where.image.height = height; - where.image.getContext( '2d' ).drawImage( this, 0, 0, width, height ); - - } else { - - where.image = this; - - } - - where.needsUpdate = true; - - }; - - image.crossOrigin = _this.crossOrigin; - image.src = url; - - } - - function create_texture( where, name, sourceFile, repeat, offset, wrap, anisotropy ) { - - var isCompressed = sourceFile.toLowerCase().endsWith( ".dds" ); - var fullPath = texturePath + "/" + sourceFile; - - if ( isCompressed ) { - - var texture = THREE.ImageUtils.loadCompressedTexture( fullPath ); - - where[ name ] = texture; - - } else { - - var texture = document.createElement( 'canvas' ); - - where[ name ] = new THREE.Texture( texture ); - - } - - where[ name ].sourceFile = sourceFile; - - if( repeat ) { - - where[ name ].repeat.set( repeat[ 0 ], repeat[ 1 ] ); - - if ( repeat[ 0 ] !== 1 ) where[ name ].wrapS = THREE.RepeatWrapping; - if ( repeat[ 1 ] !== 1 ) where[ name ].wrapT = THREE.RepeatWrapping; - - } - - if ( offset ) { - - where[ name ].offset.set( offset[ 0 ], offset[ 1 ] ); - - } - - if ( wrap ) { - - var wrapMap = { - "repeat": THREE.RepeatWrapping, - "mirror": THREE.MirroredRepeatWrapping - } - - if ( wrapMap[ wrap[ 0 ] ] !== undefined ) where[ name ].wrapS = wrapMap[ wrap[ 0 ] ]; - if ( wrapMap[ wrap[ 1 ] ] !== undefined ) where[ name ].wrapT = wrapMap[ wrap[ 1 ] ]; - - } - - if ( anisotropy ) { - - where[ name ].anisotropy = anisotropy; - - } - - if ( ! isCompressed ) { - - load_image( where[ name ], fullPath ); - - } - - } - - function rgb2hex( rgb ) { - - return ( rgb[ 0 ] * 255 << 16 ) + ( rgb[ 1 ] * 255 << 8 ) + rgb[ 2 ] * 255; - - } - - // defaults - - var mtype = "MeshLambertMaterial"; - var mpars = { color: 0xeeeeee, opacity: 1.0, map: null, lightMap: null, normalMap: null, bumpMap: null, wireframe: false }; - - // parameters from model file - - if ( m.shading ) { - - var shading = m.shading.toLowerCase(); - - if ( shading === "phong" ) mtype = "MeshPhongMaterial"; - else if ( shading === "basic" ) mtype = "MeshBasicMaterial"; - - } - - if ( m.blending !== undefined && THREE[ m.blending ] !== undefined ) { - - mpars.blending = THREE[ m.blending ]; - - } - - if ( m.transparent !== undefined || m.opacity < 1.0 ) { - - mpars.transparent = m.transparent; - - } - - if ( m.depthTest !== undefined ) { - - mpars.depthTest = m.depthTest; - - } - - if ( m.depthWrite !== undefined ) { - - mpars.depthWrite = m.depthWrite; - - } - - if ( m.visible !== undefined ) { - - mpars.visible = m.visible; - - } - - if ( m.flipSided !== undefined ) { - - mpars.side = THREE.BackSide; - - } - - if ( m.doubleSided !== undefined ) { - - mpars.side = THREE.DoubleSide; - - } - - if ( m.wireframe !== undefined ) { - - mpars.wireframe = m.wireframe; - - } - - if ( m.vertexColors !== undefined ) { - - if ( m.vertexColors === "face" ) { - - mpars.vertexColors = THREE.FaceColors; - - } else if ( m.vertexColors ) { - - mpars.vertexColors = THREE.VertexColors; - - } - - } - - // colors - - if ( m.colorDiffuse ) { - - mpars.color = rgb2hex( m.colorDiffuse ); - - } else if ( m.DbgColor ) { - - mpars.color = m.DbgColor; - - } - - if ( m.colorSpecular ) { - - mpars.specular = rgb2hex( m.colorSpecular ); - - } - - if ( m.colorAmbient ) { - - mpars.ambient = rgb2hex( m.colorAmbient ); - - } - - // modifiers - - if ( m.transparency ) { - - mpars.opacity = m.transparency; - - } - - if ( m.specularCoef ) { - - mpars.shininess = m.specularCoef; - - } - - // textures - - if ( m.mapDiffuse && texturePath ) { - - create_texture( mpars, "map", m.mapDiffuse, m.mapDiffuseRepeat, m.mapDiffuseOffset, m.mapDiffuseWrap, m.mapDiffuseAnisotropy ); - - } - - if ( m.mapLight && texturePath ) { - - create_texture( mpars, "lightMap", m.mapLight, m.mapLightRepeat, m.mapLightOffset, m.mapLightWrap, m.mapLightAnisotropy ); - - } - - if ( m.mapBump && texturePath ) { - - create_texture( mpars, "bumpMap", m.mapBump, m.mapBumpRepeat, m.mapBumpOffset, m.mapBumpWrap, m.mapBumpAnisotropy ); - - } - - if ( m.mapNormal && texturePath ) { - - create_texture( mpars, "normalMap", m.mapNormal, m.mapNormalRepeat, m.mapNormalOffset, m.mapNormalWrap, m.mapNormalAnisotropy ); - - } - - if ( m.mapSpecular && texturePath ) { - - create_texture( mpars, "specularMap", m.mapSpecular, m.mapSpecularRepeat, m.mapSpecularOffset, m.mapSpecularWrap, m.mapSpecularAnisotropy ); - - } - - // - - if ( m.mapBumpScale ) { - - mpars.bumpScale = m.mapBumpScale; - - } - - // special case for normal mapped material - - if ( m.mapNormal ) { - - var shader = THREE.ShaderUtils.lib[ "normal" ]; - var uniforms = THREE.UniformsUtils.clone( shader.uniforms ); - - uniforms[ "tNormal" ].value = mpars.normalMap; - - if ( m.mapNormalFactor ) { - - uniforms[ "uNormalScale" ].value.set( m.mapNormalFactor, m.mapNormalFactor ); - - } - - if ( mpars.map ) { - - uniforms[ "tDiffuse" ].value = mpars.map; - uniforms[ "enableDiffuse" ].value = true; - - } - - if ( mpars.specularMap ) { - - uniforms[ "tSpecular" ].value = mpars.specularMap; - uniforms[ "enableSpecular" ].value = true; - - } - - if ( mpars.lightMap ) { - - uniforms[ "tAO" ].value = mpars.lightMap; - uniforms[ "enableAO" ].value = true; - - } - - // for the moment don't handle displacement texture - - uniforms[ "uDiffuseColor" ].value.setHex( mpars.color ); - uniforms[ "uSpecularColor" ].value.setHex( mpars.specular ); - uniforms[ "uAmbientColor" ].value.setHex( mpars.ambient ); - - uniforms[ "uShininess" ].value = mpars.shininess; - - if ( mpars.opacity !== undefined ) { - - uniforms[ "uOpacity" ].value = mpars.opacity; - - } - - var parameters = { fragmentShader: shader.fragmentShader, vertexShader: shader.vertexShader, uniforms: uniforms, lights: true, fog: true }; - var material = new THREE.ShaderMaterial( parameters ); - - } else { - - var material = new THREE[ mtype ]( mpars ); - - } - - if ( m.DbgName !== undefined ) material.name = m.DbgName; - - return material; - - } - -}; -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.BinaryLoader = function ( showStatus ) { - - THREE.Loader.call( this, showStatus ); - -}; - -THREE.BinaryLoader.prototype = Object.create( THREE.Loader.prototype ); - -// Load models generated by slim OBJ converter with BINARY option (converter_obj_three_slim.py -t binary) -// - binary models consist of two files: JS and BIN -// - parameters -// - url (required) -// - callback (required) -// - texturePath (optional: if not specified, textures will be assumed to be in the same folder as JS model file) -// - binaryPath (optional: if not specified, binary file will be assumed to be in the same folder as JS model file) - -THREE.BinaryLoader.prototype.load = function( url, callback, texturePath, binaryPath ) { - - texturePath = texturePath ? texturePath : this.extractUrlBase( url ); - binaryPath = binaryPath ? binaryPath : this.extractUrlBase( url ); - - var callbackProgress = this.showProgress ? THREE.Loader.prototype.updateProgress : null; - - this.onLoadStart(); - - // #1 load JS part via web worker - - this.loadAjaxJSON( this, url, callback, texturePath, binaryPath, callbackProgress ); - -}; - -THREE.BinaryLoader.prototype.loadAjaxJSON = function ( context, url, callback, texturePath, binaryPath, callbackProgress ) { - - var xhr = new XMLHttpRequest(); - - xhr.onreadystatechange = function () { - - if ( xhr.readyState == 4 ) { - - if ( xhr.status == 200 || xhr.status == 0 ) { - - var json = JSON.parse( xhr.responseText ); - context.loadAjaxBuffers( json, callback, binaryPath, texturePath, callbackProgress ); - - } else { - - console.error( "THREE.BinaryLoader: Couldn't load [" + url + "] [" + xhr.status + "]" ); - - } - - } - - }; - - xhr.open( "GET", url, true ); - xhr.send( null ); - -}; - -THREE.BinaryLoader.prototype.loadAjaxBuffers = function ( json, callback, binaryPath, texturePath, callbackProgress ) { - - var xhr = new XMLHttpRequest(), - url = binaryPath + "/" + json.buffers; - - var length = 0; - - xhr.onreadystatechange = function () { - - if ( xhr.readyState == 4 ) { - - if ( xhr.status == 200 || xhr.status == 0 ) { - - var buffer = xhr.response; - if ( buffer === undefined ) buffer = ( new Uint8Array( xhr.responseBody ) ).buffer; // IEWEBGL needs this - THREE.BinaryLoader.prototype.createBinModel( buffer, callback, texturePath, json.materials ); - - } else { - - console.error( "THREE.BinaryLoader: Couldn't load [" + url + "] [" + xhr.status + "]" ); - - } - - } else if ( xhr.readyState == 3 ) { - - if ( callbackProgress ) { - - if ( length == 0 ) { - - length = xhr.getResponseHeader( "Content-Length" ); - - } - - callbackProgress( { total: length, loaded: xhr.responseText.length } ); - - } - - } else if ( xhr.readyState == 2 ) { - - length = xhr.getResponseHeader( "Content-Length" ); - - } - - }; - - xhr.open( "GET", url, true ); - xhr.responseType = "arraybuffer"; - xhr.send( null ); - -}; - -// Binary AJAX parser - -THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texturePath, materials ) { - - var Model = function ( texturePath ) { - - var scope = this, - currentOffset = 0, - md, - normals = [], - uvs = [], - start_tri_flat, start_tri_smooth, start_tri_flat_uv, start_tri_smooth_uv, - start_quad_flat, start_quad_smooth, start_quad_flat_uv, start_quad_smooth_uv, - tri_size, quad_size, - len_tri_flat, len_tri_smooth, len_tri_flat_uv, len_tri_smooth_uv, - len_quad_flat, len_quad_smooth, len_quad_flat_uv, len_quad_smooth_uv; - - - THREE.Geometry.call( this ); - - THREE.Loader.prototype.initMaterials( scope, materials, texturePath ); - - md = parseMetaData( data, currentOffset ); - - currentOffset += md.header_bytes; -/* - md.vertex_index_bytes = Uint32Array.BYTES_PER_ELEMENT; - md.material_index_bytes = Uint16Array.BYTES_PER_ELEMENT; - md.normal_index_bytes = Uint32Array.BYTES_PER_ELEMENT; - md.uv_index_bytes = Uint32Array.BYTES_PER_ELEMENT; -*/ - // buffers sizes - - tri_size = md.vertex_index_bytes * 3 + md.material_index_bytes; - quad_size = md.vertex_index_bytes * 4 + md.material_index_bytes; - - len_tri_flat = md.ntri_flat * ( tri_size ); - len_tri_smooth = md.ntri_smooth * ( tri_size + md.normal_index_bytes * 3 ); - len_tri_flat_uv = md.ntri_flat_uv * ( tri_size + md.uv_index_bytes * 3 ); - len_tri_smooth_uv = md.ntri_smooth_uv * ( tri_size + md.normal_index_bytes * 3 + md.uv_index_bytes * 3 ); - - len_quad_flat = md.nquad_flat * ( quad_size ); - len_quad_smooth = md.nquad_smooth * ( quad_size + md.normal_index_bytes * 4 ); - len_quad_flat_uv = md.nquad_flat_uv * ( quad_size + md.uv_index_bytes * 4 ); - len_quad_smooth_uv = md.nquad_smooth_uv * ( quad_size + md.normal_index_bytes * 4 + md.uv_index_bytes * 4 ); - - // read buffers - - currentOffset += init_vertices( currentOffset ); - - currentOffset += init_normals( currentOffset ); - currentOffset += handlePadding( md.nnormals * 3 ); - - currentOffset += init_uvs( currentOffset ); - - start_tri_flat = currentOffset; - start_tri_smooth = start_tri_flat + len_tri_flat + handlePadding( md.ntri_flat * 2 ); - start_tri_flat_uv = start_tri_smooth + len_tri_smooth + handlePadding( md.ntri_smooth * 2 ); - start_tri_smooth_uv = start_tri_flat_uv + len_tri_flat_uv + handlePadding( md.ntri_flat_uv * 2 ); - - start_quad_flat = start_tri_smooth_uv + len_tri_smooth_uv + handlePadding( md.ntri_smooth_uv * 2 ); - start_quad_smooth = start_quad_flat + len_quad_flat + handlePadding( md.nquad_flat * 2 ); - start_quad_flat_uv = start_quad_smooth + len_quad_smooth + handlePadding( md.nquad_smooth * 2 ); - start_quad_smooth_uv= start_quad_flat_uv + len_quad_flat_uv + handlePadding( md.nquad_flat_uv * 2 ); - - // have to first process faces with uvs - // so that face and uv indices match - - init_triangles_flat_uv( start_tri_flat_uv ); - init_triangles_smooth_uv( start_tri_smooth_uv ); - - init_quads_flat_uv( start_quad_flat_uv ); - init_quads_smooth_uv( start_quad_smooth_uv ); - - // now we can process untextured faces - - init_triangles_flat( start_tri_flat ); - init_triangles_smooth( start_tri_smooth ); - - init_quads_flat( start_quad_flat ); - init_quads_smooth( start_quad_smooth ); - - this.computeCentroids(); - this.computeFaceNormals(); - - if ( THREE.Loader.prototype.hasNormals( this ) ) this.computeTangents(); - - function handlePadding( n ) { - - return ( n % 4 ) ? ( 4 - n % 4 ) : 0; - - }; - - function parseMetaData( data, offset ) { - - var metaData = { - - 'signature' :parseString( data, offset, 12 ), - 'header_bytes' :parseUChar8( data, offset + 12 ), - - 'vertex_coordinate_bytes' :parseUChar8( data, offset + 13 ), - 'normal_coordinate_bytes' :parseUChar8( data, offset + 14 ), - 'uv_coordinate_bytes' :parseUChar8( data, offset + 15 ), - - 'vertex_index_bytes' :parseUChar8( data, offset + 16 ), - 'normal_index_bytes' :parseUChar8( data, offset + 17 ), - 'uv_index_bytes' :parseUChar8( data, offset + 18 ), - 'material_index_bytes' :parseUChar8( data, offset + 19 ), - - 'nvertices' :parseUInt32( data, offset + 20 ), - 'nnormals' :parseUInt32( data, offset + 20 + 4*1 ), - 'nuvs' :parseUInt32( data, offset + 20 + 4*2 ), - - 'ntri_flat' :parseUInt32( data, offset + 20 + 4*3 ), - 'ntri_smooth' :parseUInt32( data, offset + 20 + 4*4 ), - 'ntri_flat_uv' :parseUInt32( data, offset + 20 + 4*5 ), - 'ntri_smooth_uv' :parseUInt32( data, offset + 20 + 4*6 ), - - 'nquad_flat' :parseUInt32( data, offset + 20 + 4*7 ), - 'nquad_smooth' :parseUInt32( data, offset + 20 + 4*8 ), - 'nquad_flat_uv' :parseUInt32( data, offset + 20 + 4*9 ), - 'nquad_smooth_uv' :parseUInt32( data, offset + 20 + 4*10 ) - - }; -/* - console.log( "signature: " + metaData.signature ); - - console.log( "header_bytes: " + metaData.header_bytes ); - console.log( "vertex_coordinate_bytes: " + metaData.vertex_coordinate_bytes ); - console.log( "normal_coordinate_bytes: " + metaData.normal_coordinate_bytes ); - console.log( "uv_coordinate_bytes: " + metaData.uv_coordinate_bytes ); - - console.log( "vertex_index_bytes: " + metaData.vertex_index_bytes ); - console.log( "normal_index_bytes: " + metaData.normal_index_bytes ); - console.log( "uv_index_bytes: " + metaData.uv_index_bytes ); - console.log( "material_index_bytes: " + metaData.material_index_bytes ); - - console.log( "nvertices: " + metaData.nvertices ); - console.log( "nnormals: " + metaData.nnormals ); - console.log( "nuvs: " + metaData.nuvs ); - - console.log( "ntri_flat: " + metaData.ntri_flat ); - console.log( "ntri_smooth: " + metaData.ntri_smooth ); - console.log( "ntri_flat_uv: " + metaData.ntri_flat_uv ); - console.log( "ntri_smooth_uv: " + metaData.ntri_smooth_uv ); - - console.log( "nquad_flat: " + metaData.nquad_flat ); - console.log( "nquad_smooth: " + metaData.nquad_smooth ); - console.log( "nquad_flat_uv: " + metaData.nquad_flat_uv ); - console.log( "nquad_smooth_uv: " + metaData.nquad_smooth_uv ); - - var total = metaData.header_bytes - + metaData.nvertices * metaData.vertex_coordinate_bytes * 3 - + metaData.nnormals * metaData.normal_coordinate_bytes * 3 - + metaData.nuvs * metaData.uv_coordinate_bytes * 2 - + metaData.ntri_flat * ( metaData.vertex_index_bytes*3 + metaData.material_index_bytes ) - + metaData.ntri_smooth * ( metaData.vertex_index_bytes*3 + metaData.material_index_bytes + metaData.normal_index_bytes*3 ) - + metaData.ntri_flat_uv * ( metaData.vertex_index_bytes*3 + metaData.material_index_bytes + metaData.uv_index_bytes*3 ) - + metaData.ntri_smooth_uv * ( metaData.vertex_index_bytes*3 + metaData.material_index_bytes + metaData.normal_index_bytes*3 + metaData.uv_index_bytes*3 ) - + metaData.nquad_flat * ( metaData.vertex_index_bytes*4 + metaData.material_index_bytes ) - + metaData.nquad_smooth * ( metaData.vertex_index_bytes*4 + metaData.material_index_bytes + metaData.normal_index_bytes*4 ) - + metaData.nquad_flat_uv * ( metaData.vertex_index_bytes*4 + metaData.material_index_bytes + metaData.uv_index_bytes*4 ) - + metaData.nquad_smooth_uv * ( metaData.vertex_index_bytes*4 + metaData.material_index_bytes + metaData.normal_index_bytes*4 + metaData.uv_index_bytes*4 ); - console.log( "total bytes: " + total ); -*/ - - return metaData; - - }; - - function parseString( data, offset, length ) { - - var charArray = new Uint8Array( data, offset, length ); - - var text = ""; - - for ( var i = 0; i < length; i ++ ) { - - text += String.fromCharCode( charArray[ offset + i ] ); - - } - - return text; - - }; - - function parseUChar8( data, offset ) { - - var charArray = new Uint8Array( data, offset, 1 ); - - return charArray[ 0 ]; - - }; - - function parseUInt32( data, offset ) { - - var intArray = new Uint32Array( data, offset, 1 ); - - return intArray[ 0 ]; - - }; - - function init_vertices( start ) { - - var nElements = md.nvertices; - - var coordArray = new Float32Array( data, start, nElements * 3 ); - - var i, x, y, z; - - for( i = 0; i < nElements; i ++ ) { - - x = coordArray[ i * 3 ]; - y = coordArray[ i * 3 + 1 ]; - z = coordArray[ i * 3 + 2 ]; - - vertex( scope, x, y, z ); - - } - - return nElements * 3 * Float32Array.BYTES_PER_ELEMENT; - - }; - - function init_normals( start ) { - - var nElements = md.nnormals; - - if ( nElements ) { - - var normalArray = new Int8Array( data, start, nElements * 3 ); - - var i, x, y, z; - - for( i = 0; i < nElements; i ++ ) { - - x = normalArray[ i * 3 ]; - y = normalArray[ i * 3 + 1 ]; - z = normalArray[ i * 3 + 2 ]; - - normals.push( x/127, y/127, z/127 ); - - } - - } - - return nElements * 3 * Int8Array.BYTES_PER_ELEMENT; - - }; - - function init_uvs( start ) { - - var nElements = md.nuvs; - - if ( nElements ) { - - var uvArray = new Float32Array( data, start, nElements * 2 ); - - var i, u, v; - - for( i = 0; i < nElements; i ++ ) { - - u = uvArray[ i * 2 ]; - v = uvArray[ i * 2 + 1 ]; - - uvs.push( u, v ); - - } - - } - - return nElements * 2 * Float32Array.BYTES_PER_ELEMENT; - - }; - - function init_uvs3( nElements, offset ) { - - var i, uva, uvb, uvc, u1, u2, u3, v1, v2, v3; - - var uvIndexBuffer = new Uint32Array( data, offset, 3 * nElements ); - - for( i = 0; i < nElements; i ++ ) { - - uva = uvIndexBuffer[ i * 3 ]; - uvb = uvIndexBuffer[ i * 3 + 1 ]; - uvc = uvIndexBuffer[ i * 3 + 2 ]; - - u1 = uvs[ uva*2 ]; - v1 = uvs[ uva*2 + 1 ]; - - u2 = uvs[ uvb*2 ]; - v2 = uvs[ uvb*2 + 1 ]; - - u3 = uvs[ uvc*2 ]; - v3 = uvs[ uvc*2 + 1 ]; - - uv3( scope.faceVertexUvs[ 0 ], u1, v1, u2, v2, u3, v3 ); - - } - - }; - - function init_uvs4( nElements, offset ) { - - var i, uva, uvb, uvc, uvd, u1, u2, u3, u4, v1, v2, v3, v4; - - var uvIndexBuffer = new Uint32Array( data, offset, 4 * nElements ); - - for( i = 0; i < nElements; i ++ ) { - - uva = uvIndexBuffer[ i * 4 ]; - uvb = uvIndexBuffer[ i * 4 + 1 ]; - uvc = uvIndexBuffer[ i * 4 + 2 ]; - uvd = uvIndexBuffer[ i * 4 + 3 ]; - - u1 = uvs[ uva*2 ]; - v1 = uvs[ uva*2 + 1 ]; - - u2 = uvs[ uvb*2 ]; - v2 = uvs[ uvb*2 + 1 ]; - - u3 = uvs[ uvc*2 ]; - v3 = uvs[ uvc*2 + 1 ]; - - u4 = uvs[ uvd*2 ]; - v4 = uvs[ uvd*2 + 1 ]; - - uv4( scope.faceVertexUvs[ 0 ], u1, v1, u2, v2, u3, v3, u4, v4 ); - - } - - }; - - function init_faces3_flat( nElements, offsetVertices, offsetMaterials ) { - - var i, a, b, c, m; - - var vertexIndexBuffer = new Uint32Array( data, offsetVertices, 3 * nElements ); - var materialIndexBuffer = new Uint16Array( data, offsetMaterials, nElements ); - - for( i = 0; i < nElements; i ++ ) { - - a = vertexIndexBuffer[ i * 3 ]; - b = vertexIndexBuffer[ i * 3 + 1 ]; - c = vertexIndexBuffer[ i * 3 + 2 ]; - - m = materialIndexBuffer[ i ]; - - f3( scope, a, b, c, m ); - - } - - }; - - function init_faces4_flat( nElements, offsetVertices, offsetMaterials ) { - - var i, a, b, c, d, m; - - var vertexIndexBuffer = new Uint32Array( data, offsetVertices, 4 * nElements ); - var materialIndexBuffer = new Uint16Array( data, offsetMaterials, nElements ); - - for( i = 0; i < nElements; i ++ ) { - - a = vertexIndexBuffer[ i * 4 ]; - b = vertexIndexBuffer[ i * 4 + 1 ]; - c = vertexIndexBuffer[ i * 4 + 2 ]; - d = vertexIndexBuffer[ i * 4 + 3 ]; - - m = materialIndexBuffer[ i ]; - - f4( scope, a, b, c, d, m ); - - } - - }; - - function init_faces3_smooth( nElements, offsetVertices, offsetNormals, offsetMaterials ) { - - var i, a, b, c, m; - var na, nb, nc; - - var vertexIndexBuffer = new Uint32Array( data, offsetVertices, 3 * nElements ); - var normalIndexBuffer = new Uint32Array( data, offsetNormals, 3 * nElements ); - var materialIndexBuffer = new Uint16Array( data, offsetMaterials, nElements ); - - for( i = 0; i < nElements; i ++ ) { - - a = vertexIndexBuffer[ i * 3 ]; - b = vertexIndexBuffer[ i * 3 + 1 ]; - c = vertexIndexBuffer[ i * 3 + 2 ]; - - na = normalIndexBuffer[ i * 3 ]; - nb = normalIndexBuffer[ i * 3 + 1 ]; - nc = normalIndexBuffer[ i * 3 + 2 ]; - - m = materialIndexBuffer[ i ]; - - f3n( scope, normals, a, b, c, m, na, nb, nc ); - - } - - }; - - function init_faces4_smooth( nElements, offsetVertices, offsetNormals, offsetMaterials ) { - - var i, a, b, c, d, m; - var na, nb, nc, nd; - - var vertexIndexBuffer = new Uint32Array( data, offsetVertices, 4 * nElements ); - var normalIndexBuffer = new Uint32Array( data, offsetNormals, 4 * nElements ); - var materialIndexBuffer = new Uint16Array( data, offsetMaterials, nElements ); - - for( i = 0; i < nElements; i ++ ) { - - a = vertexIndexBuffer[ i * 4 ]; - b = vertexIndexBuffer[ i * 4 + 1 ]; - c = vertexIndexBuffer[ i * 4 + 2 ]; - d = vertexIndexBuffer[ i * 4 + 3 ]; - - na = normalIndexBuffer[ i * 4 ]; - nb = normalIndexBuffer[ i * 4 + 1 ]; - nc = normalIndexBuffer[ i * 4 + 2 ]; - nd = normalIndexBuffer[ i * 4 + 3 ]; - - m = materialIndexBuffer[ i ]; - - f4n( scope, normals, a, b, c, d, m, na, nb, nc, nd ); - - } - - }; - - function init_triangles_flat( start ) { - - var nElements = md.ntri_flat; - - if ( nElements ) { - - var offsetMaterials = start + nElements * Uint32Array.BYTES_PER_ELEMENT * 3; - init_faces3_flat( nElements, start, offsetMaterials ); - - } - - }; - - function init_triangles_flat_uv( start ) { - - var nElements = md.ntri_flat_uv; - - if ( nElements ) { - - var offsetUvs = start + nElements * Uint32Array.BYTES_PER_ELEMENT * 3; - var offsetMaterials = offsetUvs + nElements * Uint32Array.BYTES_PER_ELEMENT * 3; - - init_faces3_flat( nElements, start, offsetMaterials ); - init_uvs3( nElements, offsetUvs ); - - } - - }; - - function init_triangles_smooth( start ) { - - var nElements = md.ntri_smooth; - - if ( nElements ) { - - var offsetNormals = start + nElements * Uint32Array.BYTES_PER_ELEMENT * 3; - var offsetMaterials = offsetNormals + nElements * Uint32Array.BYTES_PER_ELEMENT * 3; - - init_faces3_smooth( nElements, start, offsetNormals, offsetMaterials ); - - } - - }; - - function init_triangles_smooth_uv( start ) { - - var nElements = md.ntri_smooth_uv; - - if ( nElements ) { - - var offsetNormals = start + nElements * Uint32Array.BYTES_PER_ELEMENT * 3; - var offsetUvs = offsetNormals + nElements * Uint32Array.BYTES_PER_ELEMENT * 3; - var offsetMaterials = offsetUvs + nElements * Uint32Array.BYTES_PER_ELEMENT * 3; - - init_faces3_smooth( nElements, start, offsetNormals, offsetMaterials ); - init_uvs3( nElements, offsetUvs ); - - } - - }; - - function init_quads_flat( start ) { - - var nElements = md.nquad_flat; - - if ( nElements ) { - - var offsetMaterials = start + nElements * Uint32Array.BYTES_PER_ELEMENT * 4; - init_faces4_flat( nElements, start, offsetMaterials ); - - } - - }; - - function init_quads_flat_uv( start ) { - - var nElements = md.nquad_flat_uv; - - if ( nElements ) { - - var offsetUvs = start + nElements * Uint32Array.BYTES_PER_ELEMENT * 4; - var offsetMaterials = offsetUvs + nElements * Uint32Array.BYTES_PER_ELEMENT * 4; - - init_faces4_flat( nElements, start, offsetMaterials ); - init_uvs4( nElements, offsetUvs ); - - } - - }; - - function init_quads_smooth( start ) { - - var nElements = md.nquad_smooth; - - if ( nElements ) { - - var offsetNormals = start + nElements * Uint32Array.BYTES_PER_ELEMENT * 4; - var offsetMaterials = offsetNormals + nElements * Uint32Array.BYTES_PER_ELEMENT * 4; - - init_faces4_smooth( nElements, start, offsetNormals, offsetMaterials ); - - } - - }; - - function init_quads_smooth_uv( start ) { - - var nElements = md.nquad_smooth_uv; - - if ( nElements ) { - - var offsetNormals = start + nElements * Uint32Array.BYTES_PER_ELEMENT * 4; - var offsetUvs = offsetNormals + nElements * Uint32Array.BYTES_PER_ELEMENT * 4; - var offsetMaterials = offsetUvs + nElements * Uint32Array.BYTES_PER_ELEMENT * 4; - - init_faces4_smooth( nElements, start, offsetNormals, offsetMaterials ); - init_uvs4( nElements, offsetUvs ); - - } - - }; - - }; - - function vertex ( scope, x, y, z ) { - - scope.vertices.push( new THREE.Vector3( x, y, z ) ); - - }; - - function f3 ( scope, a, b, c, mi ) { - - scope.faces.push( new THREE.Face3( a, b, c, null, null, mi ) ); - - }; - - function f4 ( scope, a, b, c, d, mi ) { - - scope.faces.push( new THREE.Face4( a, b, c, d, null, null, mi ) ); - - }; - - function f3n ( scope, normals, a, b, c, mi, na, nb, nc ) { - - var nax = normals[ na*3 ], - nay = normals[ na*3 + 1 ], - naz = normals[ na*3 + 2 ], - - nbx = normals[ nb*3 ], - nby = normals[ nb*3 + 1 ], - nbz = normals[ nb*3 + 2 ], - - ncx = normals[ nc*3 ], - ncy = normals[ nc*3 + 1 ], - ncz = normals[ nc*3 + 2 ]; - - scope.faces.push( new THREE.Face3( a, b, c, - [new THREE.Vector3( nax, nay, naz ), - new THREE.Vector3( nbx, nby, nbz ), - new THREE.Vector3( ncx, ncy, ncz )], - null, - mi ) ); - - }; - - function f4n ( scope, normals, a, b, c, d, mi, na, nb, nc, nd ) { - - var nax = normals[ na*3 ], - nay = normals[ na*3 + 1 ], - naz = normals[ na*3 + 2 ], - - nbx = normals[ nb*3 ], - nby = normals[ nb*3 + 1 ], - nbz = normals[ nb*3 + 2 ], - - ncx = normals[ nc*3 ], - ncy = normals[ nc*3 + 1 ], - ncz = normals[ nc*3 + 2 ], - - ndx = normals[ nd*3 ], - ndy = normals[ nd*3 + 1 ], - ndz = normals[ nd*3 + 2 ]; - - scope.faces.push( new THREE.Face4( a, b, c, d, - [new THREE.Vector3( nax, nay, naz ), - new THREE.Vector3( nbx, nby, nbz ), - new THREE.Vector3( ncx, ncy, ncz ), - new THREE.Vector3( ndx, ndy, ndz )], - null, - mi ) ); - - }; - - function uv3 ( where, u1, v1, u2, v2, u3, v3 ) { - - var uv = []; - uv.push( new THREE.UV( u1, v1 ) ); - uv.push( new THREE.UV( u2, v2 ) ); - uv.push( new THREE.UV( u3, v3 ) ); - where.push( uv ); - - }; - - function uv4 ( where, u1, v1, u2, v2, u3, v3, u4, v4 ) { - - var uv = []; - uv.push( new THREE.UV( u1, v1 ) ); - uv.push( new THREE.UV( u2, v2 ) ); - uv.push( new THREE.UV( u3, v3 ) ); - uv.push( new THREE.UV( u4, v4 ) ); - where.push( uv ); - - }; - - Model.prototype = Object.create( THREE.Geometry.prototype ); - - callback( new Model( texturePath ) ); - -}; -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.ImageLoader = function () { - - THREE.EventTarget.call( this ); - - this.crossOrigin = null; - -}; - -THREE.ImageLoader.prototype = { - - constructor: THREE.ImageLoader, - - load: function ( url, image ) { - - var scope = this; - - if ( image === undefined ) image = new Image(); - - image.addEventListener( 'load', function () { - - scope.dispatchEvent( { type: 'load', content: image } ); - - }, false ); - - image.addEventListener( 'error', function () { - - scope.dispatchEvent( { type: 'error', message: 'Couldn\'t load URL [' + url + ']' } ); - - }, false ); - - if ( scope.crossOrigin ) image.crossOrigin = scope.crossOrigin; - - image.src = url; - - } - -} -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.JSONLoader = function ( showStatus ) { - - THREE.Loader.call( this, showStatus ); - -}; - -THREE.JSONLoader.prototype = Object.create( THREE.Loader.prototype ); - -THREE.JSONLoader.prototype.load = function ( url, callback, texturePath ) { - - var scope = this; - - texturePath = texturePath ? texturePath : this.extractUrlBase( url ); - - this.onLoadStart(); - this.loadAjaxJSON( this, url, callback, texturePath ); - -}; - -THREE.JSONLoader.prototype.loadAjaxJSON = function ( context, url, callback, texturePath, callbackProgress ) { - - var xhr = new XMLHttpRequest(); - - var length = 0; - - xhr.onreadystatechange = function () { - - if ( xhr.readyState === xhr.DONE ) { - - if ( xhr.status === 200 || xhr.status === 0 ) { - - if ( xhr.responseText ) { - - var json = JSON.parse( xhr.responseText ); - context.createModel( json, callback, texturePath ); - - } else { - - console.warn( "THREE.JSONLoader: [" + url + "] seems to be unreachable or file there is empty" ); - - } - - // in context of more complex asset initialization - // do not block on single failed file - // maybe should go even one more level up - - context.onLoadComplete(); - - } else { - - console.error( "THREE.JSONLoader: Couldn't load [" + url + "] [" + xhr.status + "]" ); - - } - - } else if ( xhr.readyState === xhr.LOADING ) { - - if ( callbackProgress ) { - - if ( length === 0 ) { - - length = xhr.getResponseHeader( "Content-Length" ); - - } - - callbackProgress( { total: length, loaded: xhr.responseText.length } ); - - } - - } else if ( xhr.readyState === xhr.HEADERS_RECEIVED ) { - - length = xhr.getResponseHeader( "Content-Length" ); - - } - - }; - - xhr.open( "GET", url, true ); - xhr.send( null ); - -}; - -THREE.JSONLoader.prototype.createModel = function ( json, callback, texturePath ) { - - var scope = this, - geometry = new THREE.Geometry(), - scale = ( json.scale !== undefined ) ? 1.0 / json.scale : 1.0; - - this.initMaterials( geometry, json.materials, texturePath ); - - parseModel( scale ); - - parseSkin(); - parseMorphing( scale ); - - geometry.computeCentroids(); - geometry.computeFaceNormals(); - - if ( this.hasNormals( geometry ) ) geometry.computeTangents(); - - - function parseModel( scale ) { - - function isBitSet( value, position ) { - - return value & ( 1 << position ); - - } - - var i, j, fi, - - offset, zLength, nVertices, - - colorIndex, normalIndex, uvIndex, materialIndex, - - type, - isQuad, - hasMaterial, - hasFaceUv, hasFaceVertexUv, - hasFaceNormal, hasFaceVertexNormal, - hasFaceColor, hasFaceVertexColor, - - vertex, face, color, normal, - - uvLayer, uvs, u, v, - - faces = json.faces, - vertices = json.vertices, - normals = json.normals, - colors = json.colors, - - nUvLayers = 0; - - // disregard empty arrays - - for ( i = 0; i < json.uvs.length; i++ ) { - - if ( json.uvs[ i ].length ) nUvLayers ++; - - } - - for ( i = 0; i < nUvLayers; i++ ) { - - geometry.faceUvs[ i ] = []; - geometry.faceVertexUvs[ i ] = []; - - } - - offset = 0; - zLength = vertices.length; - - while ( offset < zLength ) { - - vertex = new THREE.Vector3(); - - vertex.x = vertices[ offset ++ ] * scale; - vertex.y = vertices[ offset ++ ] * scale; - vertex.z = vertices[ offset ++ ] * scale; - - geometry.vertices.push( vertex ); - - } - - offset = 0; - zLength = faces.length; - - while ( offset < zLength ) { - - type = faces[ offset ++ ]; - - - isQuad = isBitSet( type, 0 ); - hasMaterial = isBitSet( type, 1 ); - hasFaceUv = isBitSet( type, 2 ); - hasFaceVertexUv = isBitSet( type, 3 ); - hasFaceNormal = isBitSet( type, 4 ); - hasFaceVertexNormal = isBitSet( type, 5 ); - hasFaceColor = isBitSet( type, 6 ); - hasFaceVertexColor = isBitSet( type, 7 ); - - //console.log("type", type, "bits", isQuad, hasMaterial, hasFaceUv, hasFaceVertexUv, hasFaceNormal, hasFaceVertexNormal, hasFaceColor, hasFaceVertexColor); - - if ( isQuad ) { - - face = new THREE.Face4(); - - face.a = faces[ offset ++ ]; - face.b = faces[ offset ++ ]; - face.c = faces[ offset ++ ]; - face.d = faces[ offset ++ ]; - - nVertices = 4; - - } else { - - face = new THREE.Face3(); - - face.a = faces[ offset ++ ]; - face.b = faces[ offset ++ ]; - face.c = faces[ offset ++ ]; - - nVertices = 3; - - } - - if ( hasMaterial ) { - - materialIndex = faces[ offset ++ ]; - face.materialIndex = materialIndex; - - } - - // to get face <=> uv index correspondence - - fi = geometry.faces.length; - - if ( hasFaceUv ) { - - for ( i = 0; i < nUvLayers; i++ ) { - - uvLayer = json.uvs[ i ]; - - uvIndex = faces[ offset ++ ]; - - u = uvLayer[ uvIndex * 2 ]; - v = uvLayer[ uvIndex * 2 + 1 ]; - - geometry.faceUvs[ i ][ fi ] = new THREE.UV( u, v ); - - } - - } - - if ( hasFaceVertexUv ) { - - for ( i = 0; i < nUvLayers; i++ ) { - - uvLayer = json.uvs[ i ]; - - uvs = []; - - for ( j = 0; j < nVertices; j ++ ) { - - uvIndex = faces[ offset ++ ]; - - u = uvLayer[ uvIndex * 2 ]; - v = uvLayer[ uvIndex * 2 + 1 ]; - - uvs[ j ] = new THREE.UV( u, v ); - - } - - geometry.faceVertexUvs[ i ][ fi ] = uvs; - - } - - } - - if ( hasFaceNormal ) { - - normalIndex = faces[ offset ++ ] * 3; - - normal = new THREE.Vector3(); - - normal.x = normals[ normalIndex ++ ]; - normal.y = normals[ normalIndex ++ ]; - normal.z = normals[ normalIndex ]; - - face.normal = normal; - - } - - if ( hasFaceVertexNormal ) { - - for ( i = 0; i < nVertices; i++ ) { - - normalIndex = faces[ offset ++ ] * 3; - - normal = new THREE.Vector3(); - - normal.x = normals[ normalIndex ++ ]; - normal.y = normals[ normalIndex ++ ]; - normal.z = normals[ normalIndex ]; - - face.vertexNormals.push( normal ); - - } - - } - - - if ( hasFaceColor ) { - - colorIndex = faces[ offset ++ ]; - - color = new THREE.Color( colors[ colorIndex ] ); - face.color = color; - - } - - - if ( hasFaceVertexColor ) { - - for ( i = 0; i < nVertices; i++ ) { - - colorIndex = faces[ offset ++ ]; - - color = new THREE.Color( colors[ colorIndex ] ); - face.vertexColors.push( color ); - - } - - } - - geometry.faces.push( face ); - - } - - }; - - function parseSkin() { - - var i, l, x, y, z, w, a, b, c, d; - - if ( json.skinWeights ) { - - for ( i = 0, l = json.skinWeights.length; i < l; i += 2 ) { - - x = json.skinWeights[ i ]; - y = json.skinWeights[ i + 1 ]; - z = 0; - w = 0; - - geometry.skinWeights.push( new THREE.Vector4( x, y, z, w ) ); - - } - - } - - if ( json.skinIndices ) { - - for ( i = 0, l = json.skinIndices.length; i < l; i += 2 ) { - - a = json.skinIndices[ i ]; - b = json.skinIndices[ i + 1 ]; - c = 0; - d = 0; - - geometry.skinIndices.push( new THREE.Vector4( a, b, c, d ) ); - - } - - } - - geometry.bones = json.bones; - geometry.animation = json.animation; - - }; - - function parseMorphing( scale ) { - - if ( json.morphTargets !== undefined ) { - - var i, l, v, vl, dstVertices, srcVertices; - - for ( i = 0, l = json.morphTargets.length; i < l; i ++ ) { - - geometry.morphTargets[ i ] = {}; - geometry.morphTargets[ i ].name = json.morphTargets[ i ].name; - geometry.morphTargets[ i ].vertices = []; - - dstVertices = geometry.morphTargets[ i ].vertices; - srcVertices = json.morphTargets [ i ].vertices; - - for( v = 0, vl = srcVertices.length; v < vl; v += 3 ) { - - var vertex = new THREE.Vector3(); - vertex.x = srcVertices[ v ] * scale; - vertex.y = srcVertices[ v + 1 ] * scale; - vertex.z = srcVertices[ v + 2 ] * scale; - - dstVertices.push( vertex ); - - } - - } - - } - - if ( json.morphColors !== undefined ) { - - var i, l, c, cl, dstColors, srcColors, color; - - for ( i = 0, l = json.morphColors.length; i < l; i++ ) { - - geometry.morphColors[ i ] = {}; - geometry.morphColors[ i ].name = json.morphColors[ i ].name; - geometry.morphColors[ i ].colors = []; - - dstColors = geometry.morphColors[ i ].colors; - srcColors = json.morphColors [ i ].colors; - - for ( c = 0, cl = srcColors.length; c < cl; c += 3 ) { - - color = new THREE.Color( 0xffaa00 ); - color.setRGB( srcColors[ c ], srcColors[ c + 1 ], srcColors[ c + 2 ] ); - dstColors.push( color ); - - } - - } - - } - - }; - - callback( geometry ); - -}; -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.LoadingMonitor = function () { - - THREE.EventTarget.call( this ); - - var scope = this; - - var loaded = 0; - var total = 0; - - var onLoad = function ( event ) { - - loaded ++; - - scope.dispatchEvent( { type: 'progress', loaded: loaded, total: total } ); - - if ( loaded === total ) { - - scope.dispatchEvent( { type: 'load' } ); - - } - - }; - - this.add = function ( loader ) { - - total ++; - - loader.addEventListener( 'load', onLoad, false ); - - }; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.GeometryLoader = function () { - - THREE.EventTarget.call( this ); - - this.crossOrigin = null; - this.path = null; - - -}; - -THREE.GeometryLoader.prototype = { - - constructor: THREE.GeometryLoader, - - load: function ( url ) { - - var scope = this; - var geometry = null; - - if ( scope.path === null ) { - - var parts = url.split( '/' ); parts.pop(); - scope.path = ( parts.length < 1 ? '.' : parts.join( '/' ) ); - - } - - // - - var xhr = new XMLHttpRequest(); - - xhr.addEventListener( 'load', function ( event ) { - - if ( event.target.responseText ) { - - geometry = scope.parse( JSON.parse( event.target.responseText ), monitor ); - - } else { - - scope.dispatchEvent( { type: 'error', message: 'Invalid file [' + url + ']' } ); - - } - - }, false ); - - xhr.addEventListener( 'error', function () { - - scope.dispatchEvent( { type: 'error', message: 'Couldn\'t load URL [' + url + ']' } ); - - }, false ); - - xhr.open( 'GET', url, true ); - xhr.send( null ); - - // - - var monitor = new THREE.LoadingMonitor(); - - monitor.addEventListener( 'load', function ( event ) { - - scope.dispatchEvent( { type: 'load', content: geometry } ); - - } ); - - monitor.add( xhr ); - - }, - - parse: function ( data, monitor ) { - - var scope = this; - var geometry = new THREE.Geometry(); - - var scale = ( data.scale !== undefined ) ? 1 / data.scale : 1; - - // materials - - if ( data.materials ) { - - geometry.materials = []; - - for ( var i = 0; i < data.materials.length; ++ i ) { - - var m = data.materials[ i ]; - - function isPow2( n ) { - - var l = Math.log( n ) / Math.LN2; - return Math.floor( l ) == l; - - } - - function nearestPow2( n ) { - - var l = Math.log( n ) / Math.LN2; - return Math.pow( 2, Math.round( l ) ); - - } - - function createTexture( where, name, sourceFile, repeat, offset, wrap ) { - - where[ name ] = new THREE.Texture(); - where[ name ].sourceFile = sourceFile; - - if ( repeat ) { - - where[ name ].repeat.set( repeat[ 0 ], repeat[ 1 ] ); - - if ( repeat[ 0 ] !== 1 ) where[ name ].wrapS = THREE.RepeatWrapping; - if ( repeat[ 1 ] !== 1 ) where[ name ].wrapT = THREE.RepeatWrapping; - - } - - if ( offset ) { - - where[ name ].offset.set( offset[ 0 ], offset[ 1 ] ); - - } - - if ( wrap ) { - - var wrapMap = { - - "repeat": THREE.RepeatWrapping, - "mirror": THREE.MirroredRepeatWrapping - - } - - if ( wrapMap[ wrap[ 0 ] ] !== undefined ) where[ name ].wrapS = wrapMap[ wrap[ 0 ] ]; - if ( wrapMap[ wrap[ 1 ] ] !== undefined ) where[ name ].wrapT = wrapMap[ wrap[ 1 ] ]; - - } - - // load image - - var texture = where[ name ]; - - var loader = new THREE.ImageLoader(); - loader.addEventListener( 'load', function ( event ) { - - var image = event.content; - - if ( !isPow2( image.width ) || !isPow2( image.height ) ) { - - var width = nearestPow2( image.width ); - var height = nearestPow2( image.height ); - - texture.image = document.createElement( 'canvas' ); - texture.image.width = width; - texture.image.height = height; - texture.image.getContext( '2d' ).drawImage( image, 0, 0, width, height ); - - } else { - - texture.image = image; - - } - - texture.needsUpdate = true; - - } ); - loader.crossOrigin = scope.crossOrigin; - loader.load( scope.path + '/' + sourceFile ); - - if ( monitor ) monitor.add( loader ); - - } - - function rgb2hex( rgb ) { - - return ( rgb[ 0 ] * 255 << 16 ) + ( rgb[ 1 ] * 255 << 8 ) + rgb[ 2 ] * 255; - - } - - // defaults - - var mtype = "MeshLambertMaterial"; - var mpars = { color: 0xeeeeee, opacity: 1.0, map: null, lightMap: null, normalMap: null, bumpMap: null, wireframe: false }; - - // parameters from model file - - if ( m.shading ) { - - var shading = m.shading.toLowerCase(); - - if ( shading === "phong" ) mtype = "MeshPhongMaterial"; - else if ( shading === "basic" ) mtype = "MeshBasicMaterial"; - - } - - if ( m.blending !== undefined && THREE[ m.blending ] !== undefined ) { - - mpars.blending = THREE[ m.blending ]; - - } - - if ( m.transparent !== undefined || m.opacity < 1.0 ) { - - mpars.transparent = m.transparent; - - } - - if ( m.depthTest !== undefined ) { - - mpars.depthTest = m.depthTest; - - } - - if ( m.depthWrite !== undefined ) { - - mpars.depthWrite = m.depthWrite; - - } - - if ( m.vertexColors !== undefined ) { - - if ( m.vertexColors == "face" ) { - - mpars.vertexColors = THREE.FaceColors; - - } else if ( m.vertexColors ) { - - mpars.vertexColors = THREE.VertexColors; - - } - - } - - // colors - - if ( m.colorDiffuse ) { - - mpars.color = rgb2hex( m.colorDiffuse ); - - } else if ( m.DbgColor ) { - - mpars.color = m.DbgColor; - - } - - if ( m.colorSpecular ) { - - mpars.specular = rgb2hex( m.colorSpecular ); - - } - - if ( m.colorAmbient ) { - - mpars.ambient = rgb2hex( m.colorAmbient ); - - } - - // modifiers - - if ( m.transparency ) { - - mpars.opacity = m.transparency; - - } - - if ( m.specularCoef ) { - - mpars.shininess = m.specularCoef; - - } - - if ( m.visible !== undefined ) { - - mpars.visible = m.visible; - - } - - if ( m.flipSided !== undefined ) { - - mpars.side = THREE.BackSide; - - } - - if ( m.doubleSided !== undefined ) { - - mpars.side = THREE.DoubleSide; - - } - - if ( m.wireframe !== undefined ) { - - mpars.wireframe = m.wireframe; - - } - - // textures - - if ( m.mapDiffuse ) { - - createTexture( mpars, "map", m.mapDiffuse, m.mapDiffuseRepeat, m.mapDiffuseOffset, m.mapDiffuseWrap ); - - } - - if ( m.mapLight ) { - - createTexture( mpars, "lightMap", m.mapLight, m.mapLightRepeat, m.mapLightOffset, m.mapLightWrap ); - - } - - if ( m.mapBump ) { - - createTexture( mpars, "bumpMap", m.mapBump, m.mapBumpRepeat, m.mapBumpOffset, m.mapBumpWrap ); - - } - - if ( m.mapNormal ) { - - createTexture( mpars, "normalMap", m.mapNormal, m.mapNormalRepeat, m.mapNormalOffset, m.mapNormalWrap ); - - } - - if ( m.mapSpecular ) { - - createTexture( mpars, "specularMap", m.mapSpecular, m.mapSpecularRepeat, m.mapSpecularOffset, m.mapSpecularWrap ); - - } - - // special case for normal mapped material - - if ( m.mapNormal ) { - - var shader = THREE.ShaderUtils.lib[ "normal" ]; - var uniforms = THREE.UniformsUtils.clone( shader.uniforms ); - - uniforms[ "tNormal" ].value = mpars.normalMap; - - if ( m.mapNormalFactor ) { - - uniforms[ "uNormalScale" ].value.set( m.mapNormalFactor, m.mapNormalFactor ); - - } - - if ( mpars.map ) { - - uniforms[ "tDiffuse" ].value = mpars.map; - uniforms[ "enableDiffuse" ].value = true; - - } - - if ( mpars.specularMap ) { - - uniforms[ "tSpecular" ].value = mpars.specularMap; - uniforms[ "enableSpecular" ].value = true; - - } - - if ( mpars.lightMap ) { - - uniforms[ "tAO" ].value = mpars.lightMap; - uniforms[ "enableAO" ].value = true; - - } - - // for the moment don't handle displacement texture - - uniforms[ "uDiffuseColor" ].value.setHex( mpars.color ); - uniforms[ "uSpecularColor" ].value.setHex( mpars.specular ); - uniforms[ "uAmbientColor" ].value.setHex( mpars.ambient ); - - uniforms[ "uShininess" ].value = mpars.shininess; - - if ( mpars.opacity !== undefined ) { - - uniforms[ "uOpacity" ].value = mpars.opacity; - - } - - var parameters = { fragmentShader: shader.fragmentShader, vertexShader: shader.vertexShader, uniforms: uniforms, lights: true, fog: true }; - var material = new THREE.ShaderMaterial( parameters ); - - } else { - - var material = new THREE[ mtype ]( mpars ); - - } - - if ( m.DbgName !== undefined ) material.name = m.DbgName; - - geometry.materials[ i ] = material; - - } - - } - - // geometry - - function isBitSet( value, position ) { - - return value & ( 1 << position ); - - } - - var faces = data.faces; - var vertices = data.vertices; - var normals = data.normals; - var colors = data.colors; - var nUvLayers = 0; - - // disregard empty arrays - - if ( data.uvs ) { - - for ( var i = 0; i < data.uvs.length; i ++ ) { - - if ( data.uvs[ i ].length ) nUvLayers ++; - - } - - } - - for ( var i = 0; i < nUvLayers; i ++ ) { - - geometry.faceUvs[ i ] = []; - geometry.faceVertexUvs[ i ] = []; - - } - - var offset = 0; - var zLength = vertices.length; - - while ( offset < zLength ) { - - var vertex = new THREE.Vector3(); - - vertex.x = vertices[ offset ++ ] * scale; - vertex.y = vertices[ offset ++ ] * scale; - vertex.z = vertices[ offset ++ ] * scale; - - geometry.vertices.push( vertex ); - - } - - offset = 0; - zLength = faces.length; - - while ( offset < zLength ) { - - var type = faces[ offset ++ ]; - - var isQuad = isBitSet( type, 0 ); - - var hasMaterial = isBitSet( type, 1 ); - var hasFaceUv = isBitSet( type, 2 ); - var hasFaceVertexUv = isBitSet( type, 3 ); - var hasFaceNormal = isBitSet( type, 4 ); - var hasFaceVertexNormal = isBitSet( type, 5 ); - var hasFaceColor = isBitSet( type, 6 ); - var hasFaceVertexColor = isBitSet( type, 7 ); - - // console.log("type", type, "bits", isQuad, hasMaterial, hasFaceUv, hasFaceVertexUv, hasFaceNormal, hasFaceVertexNormal, hasFaceColor, hasFaceVertexColor); - - if ( isQuad ) { - - var face = new THREE.Face4(); - - face.a = faces[ offset ++ ]; - face.b = faces[ offset ++ ]; - face.c = faces[ offset ++ ]; - face.d = faces[ offset ++ ]; - - var nVertices = 4; - - } else { - - var face = new THREE.Face3(); - - face.a = faces[ offset ++ ]; - face.b = faces[ offset ++ ]; - face.c = faces[ offset ++ ]; - - var nVertices = 3; - - } - - if ( hasMaterial ) { - - var materialIndex = faces[ offset ++ ]; - face.materialIndex = materialIndex; - - } - - // to get face <=> uv index correspondence - - var fi = geometry.faces.length; - - if ( hasFaceUv ) { - - for ( var i = 0; i < nUvLayers; i ++ ) { - - var uvLayer = data.uvs[ i ]; - - var uvIndex = faces[ offset ++ ]; - - var u = uvLayer[ uvIndex * 2 ]; - var v = uvLayer[ uvIndex * 2 + 1 ]; - - geometry.faceUvs[ i ][ fi ] = new THREE.UV( u, v ); - - } - - } - - if ( hasFaceVertexUv ) { - - for ( var i = 0; i < nUvLayers; i ++ ) { - - var uvLayer = data.uvs[ i ]; - - var uvs = []; - - for ( var j = 0; j < nVertices; j ++ ) { - - var uvIndex = faces[ offset ++ ]; - - var u = uvLayer[ uvIndex * 2 ]; - var v = uvLayer[ uvIndex * 2 + 1 ]; - - uvs[ j ] = new THREE.UV( u, v ); - - } - - geometry.faceVertexUvs[ i ][ fi ] = uvs; - - } - - } - - if ( hasFaceNormal ) { - - var normalIndex = faces[ offset ++ ] * 3; - - var normal = new THREE.Vector3(); - - normal.x = normals[ normalIndex ++ ]; - normal.y = normals[ normalIndex ++ ]; - normal.z = normals[ normalIndex ]; - - face.normal = normal; - - } - - if ( hasFaceVertexNormal ) { - - for ( i = 0; i < nVertices; i ++ ) { - - var normalIndex = faces[ offset ++ ] * 3; - - var normal = new THREE.Vector3(); - - normal.x = normals[ normalIndex ++ ]; - normal.y = normals[ normalIndex ++ ]; - normal.z = normals[ normalIndex ]; - - face.vertexNormals.push( normal ); - - } - - } - - - if ( hasFaceColor ) { - - var colorIndex = faces[ offset ++ ]; - - face.color = new THREE.Color( colors[ colorIndex ] ); - - } - - - if ( hasFaceVertexColor ) { - - for ( var i = 0; i < nVertices; i ++ ) { - - var colorIndex = faces[ offset ++ ]; - - face.vertexColors.push( new THREE.Color( colors[ colorIndex ] ) ); - - } - - } - - geometry.faces.push( face ); - - } - - - // skin - - if ( data.skinWeights ) { - - for ( var i = 0, l = data.skinWeights.length; i < l; i += 2 ) { - - var x = data.skinWeights[ i ]; - var y = data.skinWeights[ i + 1 ]; - var z = 0; - var w = 0; - - geometry.skinWeights.push( new THREE.Vector4( x, y, z, w ) ); - - } - - } - - if ( data.skinIndices ) { - - for ( var i = 0, l = data.skinIndices.length; i < l; i += 2 ) { - - var a = data.skinIndices[ i ]; - var b = data.skinIndices[ i + 1 ]; - var c = 0; - var d = 0; - - geometry.skinIndices.push( new THREE.Vector4( a, b, c, d ) ); - - } - - } - - geometry.bones = data.bones; - geometry.animation = data.animation; - - - // morphing - - if ( data.morphTargets ) { - - for ( var i = 0, l = data.morphTargets.length; i < l; i ++ ) { - - geometry.morphTargets[ i ] = {}; - geometry.morphTargets[ i ].name = data.morphTargets[ i ].name; - geometry.morphTargets[ i ].vertices = []; - - var dstVertices = geometry.morphTargets[ i ].vertices; - var srcVertices = data.morphTargets [ i ].vertices; - - for( var v = 0, vl = srcVertices.length; v < vl; v += 3 ) { - - var vertex = new THREE.Vector3(); - vertex.x = srcVertices[ v ] * scale; - vertex.y = srcVertices[ v + 1 ] * scale; - vertex.z = srcVertices[ v + 2 ] * scale; - - dstVertices.push( vertex ); - - } - - } - - } - - if ( data.morphColors ) { - - for ( var i = 0, l = data.morphColors.length; i < l; i++ ) { - - geometry.morphColors[ i ] = {}; - geometry.morphColors[ i ].name = data.morphColors[ i ].name; - geometry.morphColors[ i ].colors = []; - - var dstColors = geometry.morphColors[ i ].colors; - var srcColors = data.morphColors [ i ].colors; - - for ( var c = 0, cl = srcColors.length; c < cl; c += 3 ) { - - var color = new THREE.Color( 0xffaa00 ); - color.setRGB( srcColors[ c ], srcColors[ c + 1 ], srcColors[ c + 2 ] ); - - dstColors.push( color ); - - } - - } - - } - - geometry.computeCentroids(); - geometry.computeFaceNormals(); - - return geometry; - - } - -}; -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.SceneLoader = function () { - - this.onLoadStart = function () {}; - this.onLoadProgress = function() {}; - this.onLoadComplete = function () {}; - - this.callbackSync = function () {}; - this.callbackProgress = function () {}; - - this.geometryHandlerMap = {}; - - this.addGeometryHandler( "ascii", THREE.JSONLoader ); - this.addGeometryHandler( "binary", THREE.BinaryLoader ); - -}; - -THREE.SceneLoader.prototype.constructor = THREE.SceneLoader; - -THREE.SceneLoader.prototype.load = function ( url, callbackFinished ) { - - var scope = this; - - var xhr = new XMLHttpRequest(); - - xhr.onreadystatechange = function () { - - if ( xhr.readyState === 4 ) { - - if ( xhr.status === 200 || xhr.status === 0 ) { - - var json = JSON.parse( xhr.responseText ); - scope.parse( json, callbackFinished, url ); - - } else { - - console.error( "THREE.SceneLoader: Couldn't load [" + url + "] [" + xhr.status + "]" ); - - } - - } - - }; - - xhr.open( "GET", url, true ); - xhr.send( null ); - -}; - -THREE.SceneLoader.prototype.addGeometryHandler = function ( typeID, loaderClass ) { - - this.geometryHandlerMap[ typeID ] = { "loaderClass": loaderClass }; - -}; - -THREE.SceneLoader.prototype.parse = function ( json, callbackFinished, url ) { - - var scope = this; - - var urlBase = THREE.Loader.prototype.extractUrlBase( url ); - - var dg, dm, dl, dc, df, dt, - g, m, l, d, p, r, q, s, c, t, f, tt, pp, u, - geometry, material, camera, fog, - texture, images, - light, - counter_models, counter_textures, - total_models, total_textures, - result; - - var data = json; - - // async geometry loaders - - for ( var typeID in this.geometryHandlerMap ) { - - var loaderClass = this.geometryHandlerMap[ typeID ][ "loaderClass" ]; - this.geometryHandlerMap[ typeID ][ "loaderObject" ] = new loaderClass(); - - } - - counter_models = 0; - counter_textures = 0; - - result = { - - scene: new THREE.Scene(), - geometries: {}, - materials: {}, - textures: {}, - objects: {}, - cameras: {}, - lights: {}, - fogs: {}, - empties: {} - - }; - - if ( data.transform ) { - - var position = data.transform.position, - rotation = data.transform.rotation, - scale = data.transform.scale; - - if ( position ) - result.scene.position.set( position[ 0 ], position[ 1 ], position [ 2 ] ); - - if ( rotation ) - result.scene.rotation.set( rotation[ 0 ], rotation[ 1 ], rotation [ 2 ] ); - - if ( scale ) - result.scene.scale.set( scale[ 0 ], scale[ 1 ], scale [ 2 ] ); - - if ( position || rotation || scale ) { - - result.scene.updateMatrix(); - result.scene.updateMatrixWorld(); - - } - - } - - function get_url( source_url, url_type ) { - - if ( url_type == "relativeToHTML" ) { - - return source_url; - - } else { - - return urlBase + "/" + source_url; - - } - - }; - - // toplevel loader function, delegates to handle_children - - function handle_objects() { - - handle_children( result.scene, data.objects ); - - } - - // handle all the children from the loaded json and attach them to given parent - - function handle_children( parent, children ) { - - for ( var dd in children ) { - - // check by id if child has already been handled, - // if not, create new object - - if ( result.objects[ dd ] === undefined ) { - - var o = children[ dd ]; - - var object = null; - - if ( o.geometry !== undefined ) { - - geometry = result.geometries[ o.geometry ]; - - // geometry already loaded - - if ( geometry ) { - - var hasNormals = false; - - // not anymore support for multiple materials - // shouldn't really be array - - material = result.materials[ o.materials[ 0 ] ]; - hasNormals = material instanceof THREE.ShaderMaterial; - - if ( hasNormals ) { - - geometry.computeTangents(); - - } - - p = o.position; - r = o.rotation; - q = o.quaternion; - s = o.scale; - m = o.matrix; - - // turn off quaternions, for the moment - - q = 0; - - if ( o.materials.length === 0 ) { - - material = new THREE.MeshFaceMaterial(); - - } - - // dirty hack to handle meshes with multiple materials - // just use face materials defined in model - - if ( o.materials.length > 1 ) { - - material = new THREE.MeshFaceMaterial(); - - } - - if ( o.morph ) { - - object = new THREE.MorphAnimMesh( geometry, material ); - - if ( o.duration !== undefined ) { - - object.duration = o.duration; - - } - - if ( o.time !== undefined ) { - - object.time = o.time; - - } - - if ( o.mirroredLoop !== undefined ) { - - object.mirroredLoop = o.mirroredLoop; - - } - - if ( material.morphNormals ) { - - geometry.computeMorphNormals(); - - } - - } else { - - object = new THREE.Mesh( geometry, material ); - - } - - object.name = dd; - - if ( m ) { - - object.matrixAutoUpdate = false; - object.matrix.set( - m[0], m[1], m[2], m[3], - m[4], m[5], m[6], m[7], - m[8], m[9], m[10], m[11], - m[12], m[13], m[14], m[15] - ); - - } else { - - object.position.set( p[0], p[1], p[2] ); - - if ( q ) { - - object.quaternion.set( q[0], q[1], q[2], q[3] ); - object.useQuaternion = true; - - } else { - - object.rotation.set( r[0], r[1], r[2] ); - - } - - object.scale.set( s[0], s[1], s[2] ); - - } - - object.visible = o.visible; - object.castShadow = o.castShadow; - object.receiveShadow = o.receiveShadow; - - parent.add( object ); - - result.objects[ dd ] = object; - - } - - // pure Object3D - - } else { - - p = o.position; - r = o.rotation; - q = o.quaternion; - s = o.scale; - - // turn off quaternions, for the moment - - q = 0; - - object = new THREE.Object3D(); - object.name = dd; - object.position.set( p[0], p[1], p[2] ); - - if ( q ) { - - object.quaternion.set( q[0], q[1], q[2], q[3] ); - object.useQuaternion = true; - - } else { - - object.rotation.set( r[0], r[1], r[2] ); - - } - - object.scale.set( s[0], s[1], s[2] ); - object.visible = ( o.visible !== undefined ) ? o.visible : false; - - parent.add( object ); - - result.objects[ dd ] = object; - result.empties[ dd ] = object; - - } - - if ( object ) { - - if ( o.properties !== undefined ) { - - for ( var key in o.properties ) { - - var value = o.properties[ key ]; - object.properties[ key ] = value; - - } - - } - - if ( o.children !== undefined ) { - - handle_children( object, o.children ); - - } - - } - - } - - } - - }; - - function handle_mesh( geo, id ) { - - result.geometries[ id ] = geo; - handle_objects(); - - }; - - function create_callback( id ) { - - return function( geo ) { - - handle_mesh( geo, id ); - - counter_models -= 1; - - scope.onLoadComplete(); - - async_callback_gate(); - - } - - }; - - function create_callback_embed( id ) { - - return function( geo ) { - - result.geometries[ id ] = geo; - - } - - }; - - function async_callback_gate() { - - var progress = { - - totalModels : total_models, - totalTextures : total_textures, - loadedModels : total_models - counter_models, - loadedTextures : total_textures - counter_textures - - }; - - scope.callbackProgress( progress, result ); - - scope.onLoadProgress(); - - if ( counter_models === 0 && counter_textures === 0 ) { - - callbackFinished( result ); - - } - - }; - - var callbackTexture = function ( count ) { - - counter_textures -= count; - async_callback_gate(); - - scope.onLoadComplete(); - - }; - - // must use this instead of just directly calling callbackTexture - // because of closure in the calling context loop - - var generateTextureCallback = function ( count ) { - - return function() { - - callbackTexture( count ); - - }; - - }; - - // first go synchronous elements - - // cameras - - for( dc in data.cameras ) { - - c = data.cameras[ dc ]; - - if ( c.type === "perspective" ) { - - camera = new THREE.PerspectiveCamera( c.fov, c.aspect, c.near, c.far ); - - } else if ( c.type === "ortho" ) { - - camera = new THREE.OrthographicCamera( c.left, c.right, c.top, c.bottom, c.near, c.far ); - - } - - p = c.position; - t = c.target; - u = c.up; - - camera.position.set( p[0], p[1], p[2] ); - camera.target = new THREE.Vector3( t[0], t[1], t[2] ); - if ( u ) camera.up.set( u[0], u[1], u[2] ); - - result.cameras[ dc ] = camera; - - } - - // lights - - var hex, intensity; - - for ( dl in data.lights ) { - - l = data.lights[ dl ]; - - hex = ( l.color !== undefined ) ? l.color : 0xffffff; - intensity = ( l.intensity !== undefined ) ? l.intensity : 1; - - if ( l.type === "directional" ) { - - p = l.direction; - - light = new THREE.DirectionalLight( hex, intensity ); - light.position.set( p[0], p[1], p[2] ); - light.position.normalize(); - - } else if ( l.type === "point" ) { - - p = l.position; - d = l.distance; - - light = new THREE.PointLight( hex, intensity, d ); - light.position.set( p[0], p[1], p[2] ); - - } else if ( l.type === "ambient" ) { - - light = new THREE.AmbientLight( hex ); - - } - - result.scene.add( light ); - - result.lights[ dl ] = light; - - } - - // fogs - - for( df in data.fogs ) { - - f = data.fogs[ df ]; - - if ( f.type === "linear" ) { - - fog = new THREE.Fog( 0x000000, f.near, f.far ); - - } else if ( f.type === "exp2" ) { - - fog = new THREE.FogExp2( 0x000000, f.density ); - - } - - c = f.color; - fog.color.setRGB( c[0], c[1], c[2] ); - - result.fogs[ df ] = fog; - - } - - // defaults - - if ( result.cameras && data.defaults.camera ) { - - result.currentCamera = result.cameras[ data.defaults.camera ]; - - } - - if ( result.fogs && data.defaults.fog ) { - - result.scene.fog = result.fogs[ data.defaults.fog ]; - - } - - c = data.defaults.bgcolor; - result.bgColor = new THREE.Color(); - result.bgColor.setRGB( c[0], c[1], c[2] ); - - result.bgColorAlpha = data.defaults.bgalpha; - - // now come potentially asynchronous elements - - // geometries - - // count how many models will be loaded asynchronously - - for( dg in data.geometries ) { - - g = data.geometries[ dg ]; - - if ( g.type in this.geometryHandlerMap ) { - - counter_models += 1; - - scope.onLoadStart(); - - } - - } - - total_models = counter_models; - - for ( dg in data.geometries ) { - - g = data.geometries[ dg ]; - - if ( g.type === "cube" ) { - - geometry = new THREE.CubeGeometry( g.width, g.height, g.depth, g.segmentsWidth, g.segmentsHeight, g.segmentsDepth, null, g.flipped, g.sides ); - result.geometries[ dg ] = geometry; - - } else if ( g.type === "plane" ) { - - geometry = new THREE.PlaneGeometry( g.width, g.height, g.segmentsWidth, g.segmentsHeight ); - result.geometries[ dg ] = geometry; - - } else if ( g.type === "sphere" ) { - - geometry = new THREE.SphereGeometry( g.radius, g.segmentsWidth, g.segmentsHeight ); - result.geometries[ dg ] = geometry; - - } else if ( g.type === "cylinder" ) { - - geometry = new THREE.CylinderGeometry( g.topRad, g.botRad, g.height, g.radSegs, g.heightSegs ); - result.geometries[ dg ] = geometry; - - } else if ( g.type === "torus" ) { - - geometry = new THREE.TorusGeometry( g.radius, g.tube, g.segmentsR, g.segmentsT ); - result.geometries[ dg ] = geometry; - - } else if ( g.type === "icosahedron" ) { - - geometry = new THREE.IcosahedronGeometry( g.radius, g.subdivisions ); - result.geometries[ dg ] = geometry; - - } else if ( g.type in this.geometryHandlerMap ) { - - var loaderParameters = {}; - for ( var parType in g ) { - - if ( parType !== "type" && parType !== "url" ) { - - loaderParameters[ parType ] = g[ parType ]; - - } - - } - - var loader = this.geometryHandlerMap[ g.type ][ "loaderObject" ]; - loader.load( get_url( g.url, data.urlBaseType ), create_callback( dg ), loaderParameters ); - - } else if ( g.type === "embedded" ) { - - var modelJson = data.embeds[ g.id ], - texture_path = ""; - - // pass metadata along to jsonLoader so it knows the format version - - modelJson.metadata = data.metadata; - - if ( modelJson ) { - - var jsonLoader = this.geometryHandlerMap[ "ascii" ][ "loaderObject" ]; - jsonLoader.createModel( modelJson, create_callback_embed( dg ), texture_path ); - - } - - } - - } - - // textures - - // count how many textures will be loaded asynchronously - - for( dt in data.textures ) { - - tt = data.textures[ dt ]; - - if( tt.url instanceof Array ) { - - counter_textures += tt.url.length; - - for( var n = 0; n < tt.url.length; n ++ ) { - - scope.onLoadStart(); - - } - - } else { - - counter_textures += 1; - - scope.onLoadStart(); - - } - - } - - total_textures = counter_textures; - - for ( dt in data.textures ) { - - tt = data.textures[ dt ]; - - if ( tt.mapping !== undefined && THREE[ tt.mapping ] !== undefined ) { - - tt.mapping = new THREE[ tt.mapping ](); - - } - - if ( tt.url instanceof Array ) { - - var count = tt.url.length; - var url_array = []; - - for( var i = 0; i < count; i ++ ) { - - url_array[ i ] = get_url( tt.url[ i ], data.urlBaseType ); - - } - - var isCompressed = url_array[ 0 ].endsWith( ".dds" ); - - if ( isCompressed ) { - - texture = THREE.ImageUtils.loadCompressedTextureCube( url_array, tt.mapping, generateTextureCallback( count ) ); - - } else { - - texture = THREE.ImageUtils.loadTextureCube( url_array, tt.mapping, generateTextureCallback( count ) ); - - } - - } else { - - var isCompressed = tt.url.toLowerCase().endsWith( ".dds" ); - var fullUrl = get_url( tt.url, data.urlBaseType ); - var textureCallback = generateTextureCallback( 1 ); - - if ( isCompressed ) { - - texture = THREE.ImageUtils.loadCompressedTexture( fullUrl, tt.mapping, textureCallback ); - - } else { - - texture = THREE.ImageUtils.loadTexture( fullUrl, tt.mapping, textureCallback ); - - } - - if ( THREE[ tt.minFilter ] !== undefined ) - texture.minFilter = THREE[ tt.minFilter ]; - - if ( THREE[ tt.magFilter ] !== undefined ) - texture.magFilter = THREE[ tt.magFilter ]; - - if ( tt.anisotropy ) texture.anisotropy = tt.anisotropy; - - if ( tt.repeat ) { - - texture.repeat.set( tt.repeat[ 0 ], tt.repeat[ 1 ] ); - - if ( tt.repeat[ 0 ] !== 1 ) texture.wrapS = THREE.RepeatWrapping; - if ( tt.repeat[ 1 ] !== 1 ) texture.wrapT = THREE.RepeatWrapping; - - } - - if ( tt.offset ) { - - texture.offset.set( tt.offset[ 0 ], tt.offset[ 1 ] ); - - } - - // handle wrap after repeat so that default repeat can be overriden - - if ( tt.wrap ) { - - var wrapMap = { - "repeat" : THREE.RepeatWrapping, - "mirror" : THREE.MirroredRepeatWrapping - } - - if ( wrapMap[ tt.wrap[ 0 ] ] !== undefined ) texture.wrapS = wrapMap[ tt.wrap[ 0 ] ]; - if ( wrapMap[ tt.wrap[ 1 ] ] !== undefined ) texture.wrapT = wrapMap[ tt.wrap[ 1 ] ]; - - } - - } - - result.textures[ dt ] = texture; - - } - - // materials - - for ( dm in data.materials ) { - - m = data.materials[ dm ]; - - for ( pp in m.parameters ) { - - if ( pp === "envMap" || pp === "map" || pp === "lightMap" || pp === "bumpMap" ) { - - m.parameters[ pp ] = result.textures[ m.parameters[ pp ] ]; - - } else if ( pp === "shading" ) { - - m.parameters[ pp ] = ( m.parameters[ pp ] === "flat" ) ? THREE.FlatShading : THREE.SmoothShading; - - } else if ( pp === "side" ) { - - if ( m.parameters[ pp ] == "double" ) { - - m.parameters[ pp ] = THREE.DoubleSide; - - } else if ( m.parameters[ pp ] == "back" ) { - - m.parameters[ pp ] = THREE.BackSide; - - } else { - - m.parameters[ pp ] = THREE.FrontSide; - - } - - } else if ( pp === "blending" ) { - - m.parameters[ pp ] = m.parameters[ pp ] in THREE ? THREE[ m.parameters[ pp ] ] : THREE.NormalBlending; - - } else if ( pp === "combine" ) { - - m.parameters[ pp ] = ( m.parameters[ pp ] == "MixOperation" ) ? THREE.MixOperation : THREE.MultiplyOperation; - - } else if ( pp === "vertexColors" ) { - - if ( m.parameters[ pp ] == "face" ) { - - m.parameters[ pp ] = THREE.FaceColors; - - // default to vertex colors if "vertexColors" is anything else face colors or 0 / null / false - - } else if ( m.parameters[ pp ] ) { - - m.parameters[ pp ] = THREE.VertexColors; - - } - - } else if ( pp === "wrapRGB" ) { - - var v3 = m.parameters[ pp ]; - m.parameters[ pp ] = new THREE.Vector3( v3[ 0 ], v3[ 1 ], v3[ 2 ] ); - - } - - } - - if ( m.parameters.opacity !== undefined && m.parameters.opacity < 1.0 ) { - - m.parameters.transparent = true; - - } - - if ( m.parameters.normalMap ) { - - var shader = THREE.ShaderUtils.lib[ "normal" ]; - var uniforms = THREE.UniformsUtils.clone( shader.uniforms ); - - var diffuse = m.parameters.color; - var specular = m.parameters.specular; - var ambient = m.parameters.ambient; - var shininess = m.parameters.shininess; - - uniforms[ "tNormal" ].value = result.textures[ m.parameters.normalMap ]; - - if ( m.parameters.normalScale ) { - - uniforms[ "uNormalScale" ].value.set( m.parameters.normalScale[ 0 ], m.parameters.normalScale[ 1 ] ); - - } - - if ( m.parameters.map ) { - - uniforms[ "tDiffuse" ].value = m.parameters.map; - uniforms[ "enableDiffuse" ].value = true; - - } - - if ( m.parameters.envMap ) { - - uniforms[ "tCube" ].value = m.parameters.envMap; - uniforms[ "enableReflection" ].value = true; - uniforms[ "uReflectivity" ].value = m.parameters.reflectivity; - - } - - if ( m.parameters.lightMap ) { - - uniforms[ "tAO" ].value = m.parameters.lightMap; - uniforms[ "enableAO" ].value = true; - - } - - if ( m.parameters.specularMap ) { - - uniforms[ "tSpecular" ].value = result.textures[ m.parameters.specularMap ]; - uniforms[ "enableSpecular" ].value = true; - - } - - if ( m.parameters.displacementMap ) { - - uniforms[ "tDisplacement" ].value = result.textures[ m.parameters.displacementMap ]; - uniforms[ "enableDisplacement" ].value = true; - - uniforms[ "uDisplacementBias" ].value = m.parameters.displacementBias; - uniforms[ "uDisplacementScale" ].value = m.parameters.displacementScale; - - } - - uniforms[ "uDiffuseColor" ].value.setHex( diffuse ); - uniforms[ "uSpecularColor" ].value.setHex( specular ); - uniforms[ "uAmbientColor" ].value.setHex( ambient ); - - uniforms[ "uShininess" ].value = shininess; - - if ( m.parameters.opacity ) { - - uniforms[ "uOpacity" ].value = m.parameters.opacity; - - } - - var parameters = { fragmentShader: shader.fragmentShader, vertexShader: shader.vertexShader, uniforms: uniforms, lights: true, fog: true }; - - material = new THREE.ShaderMaterial( parameters ); - - } else { - - material = new THREE[ m.type ]( m.parameters ); - - } - - result.materials[ dm ] = material; - - } - - // objects ( synchronous init of procedural primitives ) - - handle_objects(); - - // synchronous callback - - scope.callbackSync( result ); - - // just in case there are no async elements - - async_callback_gate(); - -}; -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.TextureLoader = function () { - - THREE.EventTarget.call( this ); - - this.crossOrigin = null; - -}; - -THREE.TextureLoader.prototype = { - - constructor: THREE.TextureLoader, - - load: function ( url ) { - - var scope = this; - - var image = new Image(); - - image.addEventListener( 'load', function () { - - var texture = new THREE.Texture( image ); - texture.needsUpdate = true; - - scope.dispatchEvent( { type: 'load', content: texture } ); - - }, false ); - - image.addEventListener( 'error', function () { - - scope.dispatchEvent( { type: 'error', message: 'Couldn\'t load URL [' + url + ']' } ); - - }, false ); - - if ( scope.crossOrigin ) image.crossOrigin = scope.crossOrigin; - - image.src = url; - - } - -} -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.Material = function () { - - THREE.MaterialLibrary.push( this ); - - this.id = THREE.MaterialIdCount ++; - - this.name = ''; - - this.side = THREE.FrontSide; - - this.opacity = 1; - this.transparent = false; - - this.blending = THREE.NormalBlending; - - this.blendSrc = THREE.SrcAlphaFactor; - this.blendDst = THREE.OneMinusSrcAlphaFactor; - this.blendEquation = THREE.AddEquation; - - this.depthTest = true; - this.depthWrite = true; - - this.polygonOffset = false; - this.polygonOffsetFactor = 0; - this.polygonOffsetUnits = 0; - - this.alphaTest = 0; - - this.overdraw = false; // Boolean for fixing antialiasing gaps in CanvasRenderer - - this.visible = true; - - this.needsUpdate = true; - -}; - -THREE.Material.prototype.setValues = function ( values ) { - - if ( values === undefined ) return; - - for ( var key in values ) { - - var newValue = values[ key ]; - - if ( newValue === undefined ) { - - console.warn( 'THREE.Material: \'' + key + '\' parameter is undefined.' ); - continue; - - } - - if ( key in this ) { - - var currentValue = this[ key ]; - - if ( currentValue instanceof THREE.Color && newValue instanceof THREE.Color ) { - - currentValue.copy( newValue ); - - } else if ( currentValue instanceof THREE.Color && typeof( newValue ) === "number" ) { - - currentValue.setHex( newValue ); - - } else if ( currentValue instanceof THREE.Vector3 && newValue instanceof THREE.Vector3 ) { - - currentValue.copy( newValue ); - - } else { - - this[ key ] = newValue; - - } - - } - - } - -}; - -THREE.Material.prototype.clone = function ( material ) { - - if ( material === undefined ) material = new THREE.Material(); - - material.name = this.name; - - material.side = this.side; - - material.opacity = this.opacity; - material.transparent = this.transparent; - - material.blending = this.blending; - - material.blendSrc = this.blendSrc; - material.blendDst = this.blendDst; - material.blendEquation = this.blendEquation; - - material.depthTest = this.depthTest; - material.depthWrite = this.depthWrite; - - material.polygonOffset = this.polygonOffset; - material.polygonOffsetFactor = this.polygonOffsetFactor; - material.polygonOffsetUnits = this.polygonOffsetUnits; - - material.alphaTest = this.alphaTest; - - material.overdraw = this.overdraw; - - material.visible = this.visible; - - return material; - -}; - -THREE.Material.prototype.deallocate = function () { - - var index = THREE.MaterialLibrary.indexOf( this ); - if ( index !== -1 ) THREE.MaterialLibrary.splice( index, 1 ); - -}; - -THREE.MaterialIdCount = 0; -THREE.MaterialLibrary = []; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * - * parameters = { - * color: , - * opacity: , - * - * blending: THREE.NormalBlending, - * depthTest: , - * - * linewidth: , - * linecap: "round", - * linejoin: "round", - * - * vertexColors: - * - * fog: - * } - */ - -THREE.LineBasicMaterial = function ( parameters ) { - - THREE.Material.call( this ); - - this.color = new THREE.Color( 0xffffff ); - - this.linewidth = 1; - this.linecap = 'round'; - this.linejoin = 'round'; - - this.vertexColors = false; - - this.fog = true; - - this.setValues( parameters ); - -}; - -THREE.LineBasicMaterial.prototype = Object.create( THREE.Material.prototype ); - -THREE.LineBasicMaterial.prototype.clone = function () { - - var material = new THREE.LineBasicMaterial(); - - THREE.Material.prototype.clone.call( this, material ); - - material.color.copy( this.color ); - - material.linewidth = this.linewidth; - material.linecap = this.linecap; - material.linejoin = this.linejoin; - - material.vertexColors = this.vertexColors; - - material.fog = this.fog; - - return material; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * - * parameters = { - * color: , - * opacity: , - * map: new THREE.Texture( ), - * - * lightMap: new THREE.Texture( ), - * - * specularMap: new THREE.Texture( ), - * - * envMap: new THREE.TextureCube( [posx, negx, posy, negy, posz, negz] ), - * combine: THREE.Multiply, - * reflectivity: , - * refractionRatio: , - * - * shading: THREE.SmoothShading, - * blending: THREE.NormalBlending, - * depthTest: , - * - * wireframe: , - * wireframeLinewidth: , - * - * vertexColors: THREE.NoColors / THREE.VertexColors / THREE.FaceColors, - * - * skinning: , - * morphTargets: , - * - * fog: - * } - */ - -THREE.MeshBasicMaterial = function ( parameters ) { - - THREE.Material.call( this ); - - this.color = new THREE.Color( 0xffffff ); // emissive - - this.map = null; - - this.lightMap = null; - - this.specularMap = null; - - this.envMap = null; - this.combine = THREE.MultiplyOperation; - this.reflectivity = 1; - this.refractionRatio = 0.98; - - this.fog = true; - - this.shading = THREE.SmoothShading; - - this.wireframe = false; - this.wireframeLinewidth = 1; - this.wireframeLinecap = 'round'; - this.wireframeLinejoin = 'round'; - - this.vertexColors = THREE.NoColors; - - this.skinning = false; - this.morphTargets = false; - - this.setValues( parameters ); - -}; - -THREE.MeshBasicMaterial.prototype = Object.create( THREE.Material.prototype ); - -THREE.MeshBasicMaterial.prototype.clone = function () { - - var material = new THREE.MeshBasicMaterial(); - - THREE.Material.prototype.clone.call( this, material ); - - material.color.copy( this.color ); - - material.map = this.map; - - material.lightMap = this.lightMap; - - material.specularMap = this.specularMap; - - material.envMap = this.envMap; - material.combine = this.combine; - material.reflectivity = this.reflectivity; - material.refractionRatio = this.refractionRatio; - - material.fog = this.fog; - - material.shading = this.shading; - - material.wireframe = this.wireframe; - material.wireframeLinewidth = this.wireframeLinewidth; - material.wireframeLinecap = this.wireframeLinecap; - material.wireframeLinejoin = this.wireframeLinejoin; - - material.vertexColors = this.vertexColors; - - material.skinning = this.skinning; - material.morphTargets = this.morphTargets; - - return material; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * - * parameters = { - * color: , - * ambient: , - * emissive: , - * opacity: , - * - * map: new THREE.Texture( ), - * - * lightMap: new THREE.Texture( ), - * - * specularMap: new THREE.Texture( ), - * - * envMap: new THREE.TextureCube( [posx, negx, posy, negy, posz, negz] ), - * combine: THREE.Multiply, - * reflectivity: , - * refractionRatio: , - * - * shading: THREE.SmoothShading, - * blending: THREE.NormalBlending, - * depthTest: , - * - * wireframe: , - * wireframeLinewidth: , - * - * vertexColors: THREE.NoColors / THREE.VertexColors / THREE.FaceColors, - * - * skinning: , - * morphTargets: , - * morphNormals: , - * - * fog: - * } - */ - -THREE.MeshLambertMaterial = function ( parameters ) { - - THREE.Material.call( this ); - - this.color = new THREE.Color( 0xffffff ); // diffuse - this.ambient = new THREE.Color( 0xffffff ); - this.emissive = new THREE.Color( 0x000000 ); - - this.wrapAround = false; - this.wrapRGB = new THREE.Vector3( 1, 1, 1 ); - - this.map = null; - - this.lightMap = null; - - this.specularMap = null; - - this.envMap = null; - this.combine = THREE.MultiplyOperation; - this.reflectivity = 1; - this.refractionRatio = 0.98; - - this.fog = true; - - this.shading = THREE.SmoothShading; - - this.wireframe = false; - this.wireframeLinewidth = 1; - this.wireframeLinecap = 'round'; - this.wireframeLinejoin = 'round'; - - this.vertexColors = THREE.NoColors; - - this.skinning = false; - this.morphTargets = false; - this.morphNormals = false; - - this.setValues( parameters ); - -}; - -THREE.MeshLambertMaterial.prototype = Object.create( THREE.Material.prototype ); - -THREE.MeshLambertMaterial.prototype.clone = function () { - - var material = new THREE.MeshLambertMaterial(); - - THREE.Material.prototype.clone.call( this, material ); - - material.color.copy( this.color ); - material.ambient.copy( this.ambient ); - material.emissive.copy( this.emissive ); - - material.wrapAround = this.wrapAround; - material.wrapRGB.copy( this.wrapRGB ); - - material.map = this.map; - - material.lightMap = this.lightMap; - - material.specularMap = this.specularMap; - - material.envMap = this.envMap; - material.combine = this.combine; - material.reflectivity = this.reflectivity; - material.refractionRatio = this.refractionRatio; - - material.fog = this.fog; - - material.shading = this.shading; - - material.wireframe = this.wireframe; - material.wireframeLinewidth = this.wireframeLinewidth; - material.wireframeLinecap = this.wireframeLinecap; - material.wireframeLinejoin = this.wireframeLinejoin; - - material.vertexColors = this.vertexColors; - - material.skinning = this.skinning; - material.morphTargets = this.morphTargets; - material.morphNormals = this.morphNormals; - - return material; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * - * parameters = { - * color: , - * ambient: , - * emissive: , - * specular: , - * shininess: , - * opacity: , - * - * map: new THREE.Texture( ), - * - * lightMap: new THREE.Texture( ), - * - * bumpMap: new THREE.Texture( ), - * bumpScale: , - * - * normalMap: new THREE.Texture( ), - * normalScale: , - * - * specularMap: new THREE.Texture( ), - * - * envMap: new THREE.TextureCube( [posx, negx, posy, negy, posz, negz] ), - * combine: THREE.Multiply, - * reflectivity: , - * refractionRatio: , - * - * shading: THREE.SmoothShading, - * blending: THREE.NormalBlending, - * depthTest: , - * - * wireframe: , - * wireframeLinewidth: , - * - * vertexColors: THREE.NoColors / THREE.VertexColors / THREE.FaceColors, - * - * skinning: , - * morphTargets: , - * morphNormals: , - * - * fog: - * } - */ - -THREE.MeshPhongMaterial = function ( parameters ) { - - THREE.Material.call( this ); - - this.color = new THREE.Color( 0xffffff ); // diffuse - this.ambient = new THREE.Color( 0xffffff ); - this.emissive = new THREE.Color( 0x000000 ); - this.specular = new THREE.Color( 0x111111 ); - this.shininess = 30; - - this.metal = false; - this.perPixel = false; - - this.wrapAround = false; - this.wrapRGB = new THREE.Vector3( 1, 1, 1 ); - - this.map = null; - - this.lightMap = null; - - this.bumpMap = null; - this.bumpScale = 1; - - this.normalMap = null; - this.normalScale = new THREE.Vector2( 1, 1 ); - - this.specularMap = null; - - this.envMap = null; - this.combine = THREE.MultiplyOperation; - this.reflectivity = 1; - this.refractionRatio = 0.98; - - this.fog = true; - - this.shading = THREE.SmoothShading; - - this.wireframe = false; - this.wireframeLinewidth = 1; - this.wireframeLinecap = 'round'; - this.wireframeLinejoin = 'round'; - - this.vertexColors = THREE.NoColors; - - this.skinning = false; - this.morphTargets = false; - this.morphNormals = false; - - this.setValues( parameters ); - -}; - -THREE.MeshPhongMaterial.prototype = Object.create( THREE.Material.prototype ); - -THREE.MeshPhongMaterial.prototype.clone = function () { - - var material = new THREE.MeshPhongMaterial(); - - THREE.Material.prototype.clone.call( this, material ); - - material.color.copy( this.color ); - material.ambient.copy( this.ambient ); - material.emissive.copy( this.emissive ); - material.specular.copy( this.specular ); - material.shininess = this.shininess; - - material.metal = this.metal; - material.perPixel = this.perPixel; - - material.wrapAround = this.wrapAround; - material.wrapRGB.copy( this.wrapRGB ); - - material.map = this.map; - - material.lightMap = this.lightMap; - - material.bumpMap = this.bumpMap; - material.bumpScale = this.bumpScale; - - material.normalMap = this.normalMap; - material.normalScale.copy( this.normalScale ); - - material.specularMap = this.specularMap; - - material.envMap = this.envMap; - material.combine = this.combine; - material.reflectivity = this.reflectivity; - material.refractionRatio = this.refractionRatio; - - material.fog = this.fog; - - material.shading = this.shading; - - material.wireframe = this.wireframe; - material.wireframeLinewidth = this.wireframeLinewidth; - material.wireframeLinecap = this.wireframeLinecap; - material.wireframeLinejoin = this.wireframeLinejoin; - - material.vertexColors = this.vertexColors; - - material.skinning = this.skinning; - material.morphTargets = this.morphTargets; - material.morphNormals = this.morphNormals; - - return material; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * - * parameters = { - * opacity: , - - * blending: THREE.NormalBlending, - * depthTest: , - - * wireframe: , - * wireframeLinewidth: - * } - */ - -THREE.MeshDepthMaterial = function ( parameters ) { - - THREE.Material.call( this ); - - this.wireframe = false; - this.wireframeLinewidth = 1; - - this.setValues( parameters ); - -}; - -THREE.MeshDepthMaterial.prototype = Object.create( THREE.Material.prototype ); - -THREE.MeshDepthMaterial.prototype.clone = function () { - - var material = new THREE.LineBasicMaterial(); - - THREE.Material.prototype.clone.call( this, material ); - - material.wireframe = this.wireframe; - material.wireframeLinewidth = this.wireframeLinewidth; - - return material; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * - * parameters = { - * opacity: , - - * shading: THREE.FlatShading, - * blending: THREE.NormalBlending, - * depthTest: , - - * wireframe: , - * wireframeLinewidth: - * } - */ - -THREE.MeshNormalMaterial = function ( parameters ) { - - THREE.Material.call( this, parameters ); - - this.shading = THREE.FlatShading; - - this.wireframe = false; - this.wireframeLinewidth = 1; - - this.setValues( parameters ); - -}; - -THREE.MeshNormalMaterial.prototype = Object.create( THREE.Material.prototype ); - -THREE.MeshNormalMaterial.prototype.clone = function () { - - var material = new THREE.MeshNormalMaterial(); - - THREE.Material.prototype.clone.call( this, material ); - - material.shading = this.shading; - - material.wireframe = this.wireframe; - material.wireframeLinewidth = this.wireframeLinewidth; - - return material; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.MeshFaceMaterial = function () {}; - -THREE.MeshFaceMaterial.prototype.clone = function () { - - return new THREE.MeshFaceMaterial(); - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * - * parameters = { - * color: , - * opacity: , - * map: new THREE.Texture( ), - * - * size: , - * - * blending: THREE.NormalBlending, - * depthTest: , - * - * vertexColors: , - * - * fog: - * } - */ - -THREE.ParticleBasicMaterial = function ( parameters ) { - - THREE.Material.call( this ); - - this.color = new THREE.Color( 0xffffff ); - - this.map = null; - - this.size = 1; - this.sizeAttenuation = true; - - this.vertexColors = false; - - this.fog = true; - - this.setValues( parameters ); - -}; - -THREE.ParticleBasicMaterial.prototype = Object.create( THREE.Material.prototype ); - -THREE.ParticleBasicMaterial.prototype.clone = function () { - - var material = new THREE.ParticleBasicMaterial(); - - THREE.Material.prototype.clone.call( this, material ); - - material.color.copy( this.color ); - - material.map = this.map; - - material.size = this.size; - material.sizeAttenuation = this.sizeAttenuation; - - material.vertexColors = this.vertexColors; - - material.fog = this.fog; - - return material; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * - * parameters = { - * color: , - * program: , - * opacity: , - * blending: THREE.NormalBlending - * } - */ - -THREE.ParticleCanvasMaterial = function ( parameters ) { - - THREE.Material.call( this ); - - this.color = new THREE.Color( 0xffffff ); - this.program = function ( context, color ) {}; - - this.setValues( parameters ); - -}; - -THREE.ParticleCanvasMaterial.prototype = Object.create( THREE.Material.prototype ); - -THREE.ParticleCanvasMaterial.prototype.clone = function () { - - var material = new THREE.ParticleCanvasMaterial(); - - THREE.Material.prototype.clone.call( this, material ); - - material.color.copy( this.color ); - material.program = this.program; - - return material; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.ParticleDOMMaterial = function ( element ) { - - this.element = element; - -}; - -THREE.ParticleDOMMaterial.prototype.clone = function(){ - - return new THREE.ParticleDOMMaterial( this.element ); - -}; -/** - * @author alteredq / http://alteredqualia.com/ - * - * parameters = { - * fragmentShader: , - * vertexShader: , - * - * uniforms: { "parameter1": { type: "f", value: 1.0 }, "parameter2": { type: "i" value2: 2 } }, - * - * defines: { "label" : "value" }, - * - * shading: THREE.SmoothShading, - * blending: THREE.NormalBlending, - * depthTest: , - * - * wireframe: , - * wireframeLinewidth: , - * - * lights: , - * - * vertexColors: THREE.NoColors / THREE.VertexColors / THREE.FaceColors, - * - * skinning: , - * morphTargets: , - * morphNormals: , - * - * fog: - * } - */ - -THREE.ShaderMaterial = function ( parameters ) { - - THREE.Material.call( this ); - - this.fragmentShader = "void main() {}"; - this.vertexShader = "void main() {}"; - this.uniforms = {}; - this.defines = {}; - this.attributes = null; - - this.shading = THREE.SmoothShading; - - this.wireframe = false; - this.wireframeLinewidth = 1; - - this.fog = false; // set to use scene fog - - this.lights = false; // set to use scene lights - - this.vertexColors = THREE.NoColors; // set to use "color" attribute stream - - this.skinning = false; // set to use skinning attribute streams - - this.morphTargets = false; // set to use morph targets - this.morphNormals = false; // set to use morph normals - - this.setValues( parameters ); - -}; - -THREE.ShaderMaterial.prototype = Object.create( THREE.Material.prototype ); - -THREE.ShaderMaterial.prototype.clone = function () { - - var material = new THREE.ShaderMaterial(); - - THREE.Material.prototype.clone.call( this, material ); - - material.fragmentShader = this.fragmentShader; - material.vertexShader = this.vertexShader; - material.uniforms = this.uniforms; - material.attributes = this.attributes; - material.defines = this.defines; - - material.shading = this.shading; - - material.wireframe = this.wireframe; - material.wireframeLinewidth = this.wireframeLinewidth; - - material.fog = this.fog; - - material.lights = this.lights; - - material.vertexColors = this.vertexColors; - - material.skinning = this.skinning; - - material.morphTargets = this.morphTargets; - material.morphNormals = this.morphNormals; - - return material; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * @author szimek / https://github.com/szimek/ - */ - -THREE.Texture = function ( image, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy ) { - - THREE.TextureLibrary.push( this ); - - this.id = THREE.TextureIdCount ++; - - this.image = image; - - this.mapping = mapping !== undefined ? mapping : new THREE.UVMapping(); - - this.wrapS = wrapS !== undefined ? wrapS : THREE.ClampToEdgeWrapping; - this.wrapT = wrapT !== undefined ? wrapT : THREE.ClampToEdgeWrapping; - - this.magFilter = magFilter !== undefined ? magFilter : THREE.LinearFilter; - this.minFilter = minFilter !== undefined ? minFilter : THREE.LinearMipMapLinearFilter; - - this.anisotropy = anisotropy !== undefined ? anisotropy : 1; - - this.format = format !== undefined ? format : THREE.RGBAFormat; - this.type = type !== undefined ? type : THREE.UnsignedByteType; - - this.offset = new THREE.Vector2( 0, 0 ); - this.repeat = new THREE.Vector2( 1, 1 ); - - this.generateMipmaps = true; - this.premultiplyAlpha = false; - this.flipY = true; - - this.needsUpdate = false; - this.onUpdate = null; - -}; - -THREE.Texture.prototype = { - - constructor: THREE.Texture, - - clone: function () { - - var texture = new THREE.Texture(); - - texture.image = this.image; - - texture.mapping = this.mapping; - - texture.wrapS = this.wrapS; - texture.wrapT = this.wrapT; - - texture.magFilter = this.magFilter; - texture.minFilter = this.minFilter; - - texture.anisotropy = this.anisotropy; - - texture.format = this.format; - texture.type = this.type; - - texture.offset.copy( this.offset ); - texture.repeat.copy( this.repeat ); - - texture.generateMipmaps = this.generateMipmaps; - texture.premultiplyAlpha = this.premultiplyAlpha; - texture.flipY = this.flipY; - - return texture; - - }, - - deallocate: function () { - - var index = THREE.TextureLibrary.indexOf( this ); - if ( index !== -1 ) THREE.TextureLibrary.splice( index, 1 ); - - } - -}; - -THREE.TextureIdCount = 0; -THREE.TextureLibrary = []; -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.CompressedTexture = function ( mipmaps, width, height, format, type, mapping, wrapS, wrapT, magFilter, minFilter ) { - - THREE.Texture.call( this, null, mapping, wrapS, wrapT, magFilter, minFilter, format, type ); - - this.image = { width: width, height: height }; - this.mipmaps = mipmaps; - -}; - -THREE.CompressedTexture.prototype = Object.create( THREE.Texture.prototype ); - -THREE.CompressedTexture.prototype.clone = function () { - - var texture = new THREE.CompressedTexture(); - - texture.image = this.image; - texture.mipmaps = this.mipmaps; - - texture.format = this.format; - texture.type = this.type; - - texture.mapping = this.mapping; - - texture.wrapS = this.wrapS; - texture.wrapT = this.wrapT; - - texture.magFilter = this.magFilter; - texture.minFilter = this.minFilter; - - texture.anisotropy = this.anisotropy; - - texture.offset.copy( this.offset ); - texture.repeat.copy( this.repeat ); - - return texture; - -}; -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.DataTexture = function ( data, width, height, format, type, mapping, wrapS, wrapT, magFilter, minFilter ) { - - THREE.Texture.call( this, null, mapping, wrapS, wrapT, magFilter, minFilter, format, type ); - - this.image = { data: data, width: width, height: height }; - -}; - -THREE.DataTexture.prototype = Object.create( THREE.Texture.prototype ); - -THREE.DataTexture.prototype.clone = function () { - - var clonedTexture = new THREE.DataTexture( this.image.data, this.image.width, this.image.height, this.format, this.type, this.mapping, this.wrapS, this.wrapT, this.magFilter, this.minFilter ); - - clonedTexture.offset.copy( this.offset ); - clonedTexture.repeat.copy( this.repeat ); - - return clonedTexture; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.Particle = function ( material ) { - - THREE.Object3D.call( this ); - - this.material = material; - -}; - -THREE.Particle.prototype = Object.create( THREE.Object3D.prototype ); - -THREE.Particle.prototype.clone = function ( object ) { - - if ( object === undefined ) object = new THREE.Particle( this.material ); - - THREE.Object3D.prototype.clone.call( this, object ); - - return object; - -}; -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.ParticleSystem = function ( geometry, material ) { - - THREE.Object3D.call( this ); - - this.geometry = geometry; - this.material = ( material !== undefined ) ? material : new THREE.ParticleBasicMaterial( { color: Math.random() * 0xffffff } ); - - this.sortParticles = false; - - if ( this.geometry ) { - - // calc bound radius - - if( this.geometry.boundingSphere === null ) { - - this.geometry.computeBoundingSphere(); - - } - - this.boundRadius = geometry.boundingSphere.radius; - - } - - this.frustumCulled = false; - -}; - -THREE.ParticleSystem.prototype = Object.create( THREE.Object3D.prototype ); - -THREE.ParticleSystem.prototype.clone = function ( object ) { - - if ( object === undefined ) object = new THREE.ParticleSystem( this.geometry, this.material ); - object.sortParticles = this.sortParticles; - - THREE.Object3D.prototype.clone.call( this, object ); - - return object; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.Line = function ( geometry, material, type ) { - - THREE.Object3D.call( this ); - - this.geometry = geometry; - this.material = ( material !== undefined ) ? material : new THREE.LineBasicMaterial( { color: Math.random() * 0xffffff } ); - this.type = ( type !== undefined ) ? type : THREE.LineStrip; - - if ( this.geometry ) { - - if ( ! this.geometry.boundingSphere ) { - - this.geometry.computeBoundingSphere(); - - } - - } - -}; - -THREE.LineStrip = 0; -THREE.LinePieces = 1; - -THREE.Line.prototype = Object.create( THREE.Object3D.prototype ); - -THREE.Line.prototype.clone = function ( object ) { - - if ( object === undefined ) object = new THREE.Line( this.geometry, this.material, this.type ); - - THREE.Object3D.prototype.clone.call( this, object ); - - return object; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * @author mikael emtinger / http://gomo.se/ - */ - -THREE.Mesh = function ( geometry, material ) { - - THREE.Object3D.call( this ); - - this.geometry = geometry; - this.material = ( material !== undefined ) ? material : new THREE.MeshBasicMaterial( { color: Math.random() * 0xffffff, wireframe: true } ); - - if ( this.geometry ) { - - // calc bound radius - - if ( this.geometry.boundingSphere === null ) { - - this.geometry.computeBoundingSphere(); - - } - - this.boundRadius = geometry.boundingSphere.radius; - - - // setup morph targets - - if ( this.geometry.morphTargets.length ) { - - this.morphTargetBase = -1; - this.morphTargetForcedOrder = []; - this.morphTargetInfluences = []; - this.morphTargetDictionary = {}; - - for( var m = 0; m < this.geometry.morphTargets.length; m ++ ) { - - this.morphTargetInfluences.push( 0 ); - this.morphTargetDictionary[ this.geometry.morphTargets[ m ].name ] = m; - - } - - } - - } - -} - -THREE.Mesh.prototype = Object.create( THREE.Object3D.prototype ); - -THREE.Mesh.prototype.getMorphTargetIndexByName = function ( name ) { - - if ( this.morphTargetDictionary[ name ] !== undefined ) { - - return this.morphTargetDictionary[ name ]; - - } - - console.log( "THREE.Mesh.getMorphTargetIndexByName: morph target " + name + " does not exist. Returning 0." ); - - return 0; - -}; - -THREE.Mesh.prototype.clone = function ( object ) { - - if ( object === undefined ) object = new THREE.Mesh( this.geometry, this.material ); - - THREE.Object3D.prototype.clone.call( this, object ); - - return object; - -}; -/** - * @author mikael emtinger / http://gomo.se/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.Bone = function( belongsToSkin ) { - - THREE.Object3D.call( this ); - - this.skin = belongsToSkin; - this.skinMatrix = new THREE.Matrix4(); - -}; - -THREE.Bone.prototype = Object.create( THREE.Object3D.prototype ); - -THREE.Bone.prototype.update = function( parentSkinMatrix, forceUpdate ) { - - // update local - - if ( this.matrixAutoUpdate ) { - - forceUpdate |= this.updateMatrix(); - - } - - // update skin matrix - - if ( forceUpdate || this.matrixWorldNeedsUpdate ) { - - if( parentSkinMatrix ) { - - this.skinMatrix.multiply( parentSkinMatrix, this.matrix ); - - } else { - - this.skinMatrix.copy( this.matrix ); - - } - - this.matrixWorldNeedsUpdate = false; - forceUpdate = true; - - } - - // update children - - var child, i, l = this.children.length; - - for ( i = 0; i < l; i ++ ) { - - this.children[ i ].update( this.skinMatrix, forceUpdate ); - - } - -}; - -/** - * @author mikael emtinger / http://gomo.se/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.SkinnedMesh = function ( geometry, material, useVertexTexture ) { - - THREE.Mesh.call( this, geometry, material ); - - // - - this.useVertexTexture = useVertexTexture !== undefined ? useVertexTexture : true; - - // init bones - - this.identityMatrix = new THREE.Matrix4(); - - this.bones = []; - this.boneMatrices = []; - - var b, bone, gbone, p, q, s; - - if ( this.geometry.bones !== undefined ) { - - for ( b = 0; b < this.geometry.bones.length; b ++ ) { - - gbone = this.geometry.bones[ b ]; - - p = gbone.pos; - q = gbone.rotq; - s = gbone.scl; - - bone = this.addBone(); - - bone.name = gbone.name; - bone.position.set( p[0], p[1], p[2] ); - bone.quaternion.set( q[0], q[1], q[2], q[3] ); - bone.useQuaternion = true; - - if ( s !== undefined ) { - - bone.scale.set( s[0], s[1], s[2] ); - - } else { - - bone.scale.set( 1, 1, 1 ); - - } - - } - - for ( b = 0; b < this.bones.length; b ++ ) { - - gbone = this.geometry.bones[ b ]; - bone = this.bones[ b ]; - - if ( gbone.parent === -1 ) { - - this.add( bone ); - - } else { - - this.bones[ gbone.parent ].add( bone ); - - } - - } - - // - - var nBones = this.bones.length; - - if ( this.useVertexTexture ) { - - // layout (1 matrix = 4 pixels) - // RGBA RGBA RGBA RGBA (=> column1, column2, column3, column4) - // with 8x8 pixel texture max 16 bones (8 * 8 / 4) - // 16x16 pixel texture max 64 bones (16 * 16 / 4) - // 32x32 pixel texture max 256 bones (32 * 32 / 4) - // 64x64 pixel texture max 1024 bones (64 * 64 / 4) - - var size; - - if ( nBones > 256 ) - size = 64; - else if ( nBones > 64 ) - size = 32; - else if ( nBones > 16 ) - size = 16; - else - size = 8; - - this.boneTextureWidth = size; - this.boneTextureHeight = size; - - this.boneMatrices = new Float32Array( this.boneTextureWidth * this.boneTextureHeight * 4 ); // 4 floats per RGBA pixel - this.boneTexture = new THREE.DataTexture( this.boneMatrices, this.boneTextureWidth, this.boneTextureHeight, THREE.RGBAFormat, THREE.FloatType ); - this.boneTexture.minFilter = THREE.NearestFilter; - this.boneTexture.magFilter = THREE.NearestFilter; - this.boneTexture.generateMipmaps = false; - this.boneTexture.flipY = false; - - } else { - - this.boneMatrices = new Float32Array( 16 * nBones ); - - } - - this.pose(); - - } - -}; - -THREE.SkinnedMesh.prototype = Object.create( THREE.Mesh.prototype ); - -THREE.SkinnedMesh.prototype.addBone = function( bone ) { - - if ( bone === undefined ) { - - bone = new THREE.Bone( this ); - - } - - this.bones.push( bone ); - - return bone; - -}; - -THREE.SkinnedMesh.prototype.updateMatrixWorld = function ( force ) { - - this.matrixAutoUpdate && this.updateMatrix(); - - // update matrixWorld - - if ( this.matrixWorldNeedsUpdate || force ) { - - if ( this.parent ) { - - this.matrixWorld.multiply( this.parent.matrixWorld, this.matrix ); - - } else { - - this.matrixWorld.copy( this.matrix ); - - } - - this.matrixWorldNeedsUpdate = false; - - force = true; - - } - - // update children - - for ( var i = 0, l = this.children.length; i < l; i ++ ) { - - var child = this.children[ i ]; - - if ( child instanceof THREE.Bone ) { - - child.update( this.identityMatrix, false ); - - } else { - - child.updateMatrixWorld( true ); - - } - - } - - // make a snapshot of the bones' rest position - - if ( this.boneInverses == undefined ) { - - this.boneInverses = []; - - for ( var b = 0, bl = this.bones.length; b < bl; b ++ ) { - - var inverse = new THREE.Matrix4(); - - inverse.getInverse( this.bones[ b ].skinMatrix ); - - this.boneInverses.push( inverse ); - - } - - } - - // flatten bone matrices to array - - for ( var b = 0, bl = this.bones.length; b < bl; b ++ ) { - - // compute the offset between the current and the original transform; - - //TODO: we could get rid of this multiplication step if the skinMatrix - // was already representing the offset; however, this requires some - // major changes to the animation system - - THREE.SkinnedMesh.offsetMatrix.multiply( this.bones[ b ].skinMatrix, this.boneInverses[ b ] ); - - THREE.SkinnedMesh.offsetMatrix.flattenToArrayOffset( this.boneMatrices, b * 16 ); - - } - - if ( this.useVertexTexture ) { - - this.boneTexture.needsUpdate = true; - - } - -}; - -THREE.SkinnedMesh.prototype.pose = function() { - - this.updateMatrixWorld( true ); - - for ( var i = 0; i < this.geometry.skinIndices.length; i ++ ) { - - // normalize weights - - var sw = this.geometry.skinWeights[ i ]; - - var scale = 1.0 / sw.lengthManhattan(); - - if ( scale !== Infinity ) { - - sw.multiplyScalar( scale ); - - } else { - - sw.set( 1 ); // this will be normalized by the shader anyway - - } - - } - -}; - -THREE.SkinnedMesh.prototype.clone = function ( object ) { - - if ( object === undefined ) object = new THREE.SkinnedMesh( this.geometry, this.material, this.useVertexTexture ); - - THREE.Mesh.prototype.clone.call( this, object ); - - return object; - -}; - -THREE.SkinnedMesh.offsetMatrix = new THREE.Matrix4(); -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.MorphAnimMesh = function ( geometry, material ) { - - THREE.Mesh.call( this, geometry, material ); - - // API - - this.duration = 1000; // milliseconds - this.mirroredLoop = false; - this.time = 0; - - // internals - - this.lastKeyframe = 0; - this.currentKeyframe = 0; - - this.direction = 1; - this.directionBackwards = false; - - this.setFrameRange( 0, this.geometry.morphTargets.length - 1 ); - -}; - -THREE.MorphAnimMesh.prototype = Object.create( THREE.Mesh.prototype ); - -THREE.MorphAnimMesh.prototype.setFrameRange = function ( start, end ) { - - this.startKeyframe = start; - this.endKeyframe = end; - - this.length = this.endKeyframe - this.startKeyframe + 1; - -}; - -THREE.MorphAnimMesh.prototype.setDirectionForward = function () { - - this.direction = 1; - this.directionBackwards = false; - -}; - -THREE.MorphAnimMesh.prototype.setDirectionBackward = function () { - - this.direction = -1; - this.directionBackwards = true; - -}; - -THREE.MorphAnimMesh.prototype.parseAnimations = function () { - - var geometry = this.geometry; - - if ( ! geometry.animations ) geometry.animations = {}; - - var firstAnimation, animations = geometry.animations; - - var pattern = /([a-z]+)(\d+)/; - - for ( var i = 0, il = geometry.morphTargets.length; i < il; i ++ ) { - - var morph = geometry.morphTargets[ i ]; - var parts = morph.name.match( pattern ); - - if ( parts && parts.length > 1 ) { - - var label = parts[ 1 ]; - var num = parts[ 2 ]; - - if ( ! animations[ label ] ) animations[ label ] = { start: Infinity, end: -Infinity }; - - var animation = animations[ label ]; - - if ( i < animation.start ) animation.start = i; - if ( i > animation.end ) animation.end = i; - - if ( ! firstAnimation ) firstAnimation = label; - - } - - } - - geometry.firstAnimation = firstAnimation; - -}; - -THREE.MorphAnimMesh.prototype.setAnimationLabel = function ( label, start, end ) { - - if ( ! this.geometry.animations ) this.geometry.animations = {}; - - this.geometry.animations[ label ] = { start: start, end: end }; - -}; - -THREE.MorphAnimMesh.prototype.playAnimation = function ( label, fps ) { - - var animation = this.geometry.animations[ label ]; - - if ( animation ) { - - this.setFrameRange( animation.start, animation.end ); - this.duration = 1000 * ( ( animation.end - animation.start ) / fps ); - this.time = 0; - - } else { - - console.warn( "animation[" + label + "] undefined" ); - - } - -}; - -THREE.MorphAnimMesh.prototype.updateAnimation = function ( delta ) { - - var frameTime = this.duration / this.length; - - this.time += this.direction * delta; - - if ( this.mirroredLoop ) { - - if ( this.time > this.duration || this.time < 0 ) { - - this.direction *= -1; - - if ( this.time > this.duration ) { - - this.time = this.duration; - this.directionBackwards = true; - - } - - if ( this.time < 0 ) { - - this.time = 0; - this.directionBackwards = false; - - } - - } - - } else { - - this.time = this.time % this.duration; - - if ( this.time < 0 ) this.time += this.duration; - - } - - var keyframe = this.startKeyframe + THREE.Math.clamp( Math.floor( this.time / frameTime ), 0, this.length - 1 ); - - if ( keyframe !== this.currentKeyframe ) { - - this.morphTargetInfluences[ this.lastKeyframe ] = 0; - this.morphTargetInfluences[ this.currentKeyframe ] = 1; - - this.morphTargetInfluences[ keyframe ] = 0; - - this.lastKeyframe = this.currentKeyframe; - this.currentKeyframe = keyframe; - - } - - var mix = ( this.time % frameTime ) / frameTime; - - if ( this.directionBackwards ) { - - mix = 1 - mix; - - } - - this.morphTargetInfluences[ this.currentKeyframe ] = mix; - this.morphTargetInfluences[ this.lastKeyframe ] = 1 - mix; - -}; - -THREE.MorphAnimMesh.prototype.clone = function ( object ) { - - if ( object === undefined ) object = new THREE.MorphAnimMesh( this.geometry, this.material ); - - object.duration = this.duration; - object.mirroredLoop = this.mirroredLoop; - object.time = this.time; - - object.lastKeyframe = this.lastKeyframe; - object.currentKeyframe = this.currentKeyframe; - - object.direction = this.direction; - object.directionBackwards = this.directionBackwards; - - THREE.Mesh.prototype.clone.call( this, object ); - - return object; - -}; -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.Ribbon = function ( geometry, material ) { - - THREE.Object3D.call( this ); - - this.geometry = geometry; - this.material = material; - -}; - -THREE.Ribbon.prototype = Object.create( THREE.Object3D.prototype ); - -THREE.Ribbon.prototype.clone = function ( object ) { - - if ( object === undefined ) object = new THREE.Ribbon( this.geometry, this.material ); - - THREE.Object3D.prototype.clone.call( this, object ); - - return object; - -}; -/** - * @author mikael emtinger / http://gomo.se/ - * @author alteredq / http://alteredqualia.com/ - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.LOD = function () { - - THREE.Object3D.call( this ); - - this.LODs = []; - -}; - - -THREE.LOD.prototype = Object.create( THREE.Object3D.prototype ); - -THREE.LOD.prototype.addLevel = function ( object3D, visibleAtDistance ) { - - if ( visibleAtDistance === undefined ) { - - visibleAtDistance = 0; - - } - - visibleAtDistance = Math.abs( visibleAtDistance ); - - for ( var l = 0; l < this.LODs.length; l ++ ) { - - if ( visibleAtDistance < this.LODs[ l ].visibleAtDistance ) { - - break; - - } - - } - - this.LODs.splice( l, 0, { visibleAtDistance: visibleAtDistance, object3D: object3D } ); - this.add( object3D ); - -}; - -THREE.LOD.prototype.update = function ( camera ) { - - if ( this.LODs.length > 1 ) { - - camera.matrixWorldInverse.getInverse( camera.matrixWorld ); - - var inverse = camera.matrixWorldInverse; - var distance = -( inverse.elements[2] * this.matrixWorld.elements[12] + inverse.elements[6] * this.matrixWorld.elements[13] + inverse.elements[10] * this.matrixWorld.elements[14] + inverse.elements[14] ); - - this.LODs[ 0 ].object3D.visible = true; - - for ( var l = 1; l < this.LODs.length; l ++ ) { - - if( distance >= this.LODs[ l ].visibleAtDistance ) { - - this.LODs[ l - 1 ].object3D.visible = false; - this.LODs[ l ].object3D.visible = true; - - } else { - - break; - - } - - } - - for( ; l < this.LODs.length; l ++ ) { - - this.LODs[ l ].object3D.visible = false; - - } - - } - -}; - -THREE.LOD.prototype.clone = function () { - - // TODO - -}; -/** - * @author mikael emtinger / http://gomo.se/ - */ - -THREE.Sprite = function ( parameters ) { - - THREE.Object3D.call( this ); - - this.color = ( parameters.color !== undefined ) ? new THREE.Color( parameters.color ) : new THREE.Color( 0xffffff ); - this.map = ( parameters.map !== undefined ) ? parameters.map : new THREE.Texture(); - - this.blending = ( parameters.blending !== undefined ) ? parameters.blending : THREE.NormalBlending; - - this.blendSrc = parameters.blendSrc !== undefined ? parameters.blendSrc : THREE.SrcAlphaFactor; - this.blendDst = parameters.blendDst !== undefined ? parameters.blendDst : THREE.OneMinusSrcAlphaFactor; - this.blendEquation = parameters.blendEquation !== undefined ? parameters.blendEquation : THREE.AddEquation; - - this.useScreenCoordinates = ( parameters.useScreenCoordinates !== undefined ) ? parameters.useScreenCoordinates : true; - this.mergeWith3D = ( parameters.mergeWith3D !== undefined ) ? parameters.mergeWith3D : !this.useScreenCoordinates; - this.affectedByDistance = ( parameters.affectedByDistance !== undefined ) ? parameters.affectedByDistance : !this.useScreenCoordinates; - this.scaleByViewport = ( parameters.scaleByViewport !== undefined ) ? parameters.scaleByViewport : !this.affectedByDistance; - this.alignment = ( parameters.alignment instanceof THREE.Vector2 ) ? parameters.alignment : THREE.SpriteAlignment.center; - - this.rotation3d = this.rotation; - this.rotation = 0; - this.opacity = 1; - - this.uvOffset = new THREE.Vector2( 0, 0 ); - this.uvScale = new THREE.Vector2( 1, 1 ); - -}; - -THREE.Sprite.prototype = Object.create( THREE.Object3D.prototype ); - -/* - * Custom update matrix - */ - -THREE.Sprite.prototype.updateMatrix = function () { - - this.matrix.setPosition( this.position ); - - this.rotation3d.set( 0, 0, this.rotation ); - this.matrix.setRotationFromEuler( this.rotation3d ); - - if ( this.scale.x !== 1 || this.scale.y !== 1 ) { - - this.matrix.scale( this.scale ); - this.boundRadiusScale = Math.max( this.scale.x, this.scale.y ); - - } - - this.matrixWorldNeedsUpdate = true; - -}; - -THREE.Sprite.prototype.clone = function ( object ) { - - if ( object === undefined ) object = new THREE.Sprite( {} ); - - object.color.copy( this.color ); - object.map = this.map; - object.blending = this.blending; - - object.useScreenCoordinates = this.useScreenCoordinates; - object.mergeWith3D = this.mergeWith3D; - object.affectedByDistance = this.affectedByDistance; - object.scaleByViewport = this.scaleByViewport; - object.alignment = this.alignment; - - object.rotation3d.copy( this.rotation3d ); - object.rotation = this.rotation; - object.opacity = this.opacity; - - object.uvOffset.copy( this.uvOffset ); - object.uvScale.copy( this.uvScale); - - THREE.Object3D.prototype.clone.call( this, object ); - - return object; - -}; - -/* - * Alignment - */ - -THREE.SpriteAlignment = {}; -THREE.SpriteAlignment.topLeft = new THREE.Vector2( 1, -1 ); -THREE.SpriteAlignment.topCenter = new THREE.Vector2( 0, -1 ); -THREE.SpriteAlignment.topRight = new THREE.Vector2( -1, -1 ); -THREE.SpriteAlignment.centerLeft = new THREE.Vector2( 1, 0 ); -THREE.SpriteAlignment.center = new THREE.Vector2( 0, 0 ); -THREE.SpriteAlignment.centerRight = new THREE.Vector2( -1, 0 ); -THREE.SpriteAlignment.bottomLeft = new THREE.Vector2( 1, 1 ); -THREE.SpriteAlignment.bottomCenter = new THREE.Vector2( 0, 1 ); -THREE.SpriteAlignment.bottomRight = new THREE.Vector2( -1, 1 ); -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.Scene = function () { - - THREE.Object3D.call( this ); - - this.fog = null; - this.overrideMaterial = null; - - this.matrixAutoUpdate = false; - - this.__objects = []; - this.__lights = []; - - this.__objectsAdded = []; - this.__objectsRemoved = []; - -}; - -THREE.Scene.prototype = Object.create( THREE.Object3D.prototype ); - -THREE.Scene.prototype.__addObject = function ( object ) { - - if ( object instanceof THREE.Light ) { - - if ( this.__lights.indexOf( object ) === - 1 ) { - - this.__lights.push( object ); - - } - - if ( object.target && object.target.parent === undefined ) { - - this.add( object.target ); - - } - - } else if ( !( object instanceof THREE.Camera || object instanceof THREE.Bone ) ) { - - if ( this.__objects.indexOf( object ) === - 1 ) { - - this.__objects.push( object ); - this.__objectsAdded.push( object ); - - // check if previously removed - - var i = this.__objectsRemoved.indexOf( object ); - - if ( i !== -1 ) { - - this.__objectsRemoved.splice( i, 1 ); - - } - - } - - } - - for ( var c = 0; c < object.children.length; c ++ ) { - - this.__addObject( object.children[ c ] ); - - } - -}; - -THREE.Scene.prototype.__removeObject = function ( object ) { - - if ( object instanceof THREE.Light ) { - - var i = this.__lights.indexOf( object ); - - if ( i !== -1 ) { - - this.__lights.splice( i, 1 ); - - } - - } else if ( !( object instanceof THREE.Camera ) ) { - - var i = this.__objects.indexOf( object ); - - if( i !== -1 ) { - - this.__objects.splice( i, 1 ); - this.__objectsRemoved.push( object ); - - // check if previously added - - var ai = this.__objectsAdded.indexOf( object ); - - if ( ai !== -1 ) { - - this.__objectsAdded.splice( ai, 1 ); - - } - - } - - } - - for ( var c = 0; c < object.children.length; c ++ ) { - - this.__removeObject( object.children[ c ] ); - - } - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.Fog = function ( hex, near, far ) { - - this.color = new THREE.Color( hex ); - - this.near = ( near !== undefined ) ? near : 1; - this.far = ( far !== undefined ) ? far : 1000; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.FogExp2 = function ( hex, density ) { - - this.color = new THREE.Color( hex ); - this.density = ( density !== undefined ) ? density : 0.00025; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.CanvasRenderer = function ( parameters ) { - - console.log( 'THREE.CanvasRenderer', THREE.REVISION ); - - parameters = parameters || {}; - - var _this = this, - _renderData, _elements, _lights, - _projector = new THREE.Projector(), - - _canvas = parameters.canvas !== undefined ? parameters.canvas : document.createElement( 'canvas' ), - - _canvasWidth, _canvasHeight, _canvasWidthHalf, _canvasHeightHalf, - _context = _canvas.getContext( '2d' ), - - _clearColor = new THREE.Color( 0x000000 ), - _clearOpacity = 0, - - _contextGlobalAlpha = 1, - _contextGlobalCompositeOperation = 0, - _contextStrokeStyle = null, - _contextFillStyle = null, - _contextLineWidth = null, - _contextLineCap = null, - _contextLineJoin = null, - - _v1, _v2, _v3, _v4, - _v5 = new THREE.RenderableVertex(), - _v6 = new THREE.RenderableVertex(), - - _v1x, _v1y, _v2x, _v2y, _v3x, _v3y, - _v4x, _v4y, _v5x, _v5y, _v6x, _v6y, - - _color = new THREE.Color(), - _color1 = new THREE.Color(), - _color2 = new THREE.Color(), - _color3 = new THREE.Color(), - _color4 = new THREE.Color(), - - _diffuseColor = new THREE.Color(), - _emissiveColor = new THREE.Color(), - - _patterns = {}, _imagedatas = {}, - - _near, _far, - - _image, _uvs, - _uv1x, _uv1y, _uv2x, _uv2y, _uv3x, _uv3y, - - _clipRect = new THREE.Rectangle(), - _clearRect = new THREE.Rectangle(), - _bboxRect = new THREE.Rectangle(), - - _enableLighting = false, - _ambientLight = new THREE.Color(), - _directionalLights = new THREE.Color(), - _pointLights = new THREE.Color(), - - _pi2 = Math.PI * 2, - _vector3 = new THREE.Vector3(), // Needed for PointLight - - _pixelMap, _pixelMapContext, _pixelMapImage, _pixelMapData, - _gradientMap, _gradientMapContext, _gradientMapQuality = 16; - - _pixelMap = document.createElement( 'canvas' ); - _pixelMap.width = _pixelMap.height = 2; - - _pixelMapContext = _pixelMap.getContext( '2d' ); - _pixelMapContext.fillStyle = 'rgba(0,0,0,1)'; - _pixelMapContext.fillRect( 0, 0, 2, 2 ); - - _pixelMapImage = _pixelMapContext.getImageData( 0, 0, 2, 2 ); - _pixelMapData = _pixelMapImage.data; - - _gradientMap = document.createElement( 'canvas' ); - _gradientMap.width = _gradientMap.height = _gradientMapQuality; - - _gradientMapContext = _gradientMap.getContext( '2d' ); - _gradientMapContext.translate( - _gradientMapQuality / 2, - _gradientMapQuality / 2 ); - _gradientMapContext.scale( _gradientMapQuality, _gradientMapQuality ); - - _gradientMapQuality --; // Fix UVs - - this.domElement = _canvas; - - this.autoClear = true; - this.sortObjects = true; - this.sortElements = true; - - this.info = { - - render: { - - vertices: 0, - faces: 0 - - } - - } - - this.setSize = function ( width, height ) { - - _canvasWidth = width; - _canvasHeight = height; - _canvasWidthHalf = Math.floor( _canvasWidth / 2 ); - _canvasHeightHalf = Math.floor( _canvasHeight / 2 ); - - _canvas.width = _canvasWidth; - _canvas.height = _canvasHeight; - - _clipRect.set( - _canvasWidthHalf, - _canvasHeightHalf, _canvasWidthHalf, _canvasHeightHalf ); - _clearRect.set( - _canvasWidthHalf, - _canvasHeightHalf, _canvasWidthHalf, _canvasHeightHalf ); - - _contextGlobalAlpha = 1; - _contextGlobalCompositeOperation = 0; - _contextStrokeStyle = null; - _contextFillStyle = null; - _contextLineWidth = null; - _contextLineCap = null; - _contextLineJoin = null; - - }; - - this.setClearColor = function ( color, opacity ) { - - _clearColor.copy( color ); - _clearOpacity = opacity !== undefined ? opacity : 1; - - _clearRect.set( - _canvasWidthHalf, - _canvasHeightHalf, _canvasWidthHalf, _canvasHeightHalf ); - - }; - - this.setClearColorHex = function ( hex, opacity ) { - - _clearColor.setHex( hex ); - _clearOpacity = opacity !== undefined ? opacity : 1; - - _clearRect.set( - _canvasWidthHalf, - _canvasHeightHalf, _canvasWidthHalf, _canvasHeightHalf ); - - }; - - this.getMaxAnisotropy = function () { - - return 0; - - }; - - this.clear = function () { - - _context.setTransform( 1, 0, 0, - 1, _canvasWidthHalf, _canvasHeightHalf ); - - if ( _clearRect.isEmpty() === false ) { - - _clearRect.minSelf( _clipRect ); - _clearRect.inflate( 2 ); - - if ( _clearOpacity < 1 ) { - - _context.clearRect( Math.floor( _clearRect.getX() ), Math.floor( _clearRect.getY() ), Math.floor( _clearRect.getWidth() ), Math.floor( _clearRect.getHeight() ) ); - - } - - if ( _clearOpacity > 0 ) { - - setBlending( THREE.NormalBlending ); - setOpacity( 1 ); - - setFillStyle( 'rgba(' + Math.floor( _clearColor.r * 255 ) + ',' + Math.floor( _clearColor.g * 255 ) + ',' + Math.floor( _clearColor.b * 255 ) + ',' + _clearOpacity + ')' ); - - _context.fillRect( Math.floor( _clearRect.getX() ), Math.floor( _clearRect.getY() ), Math.floor( _clearRect.getWidth() ), Math.floor( _clearRect.getHeight() ) ); - - } - - _clearRect.empty(); - - } - - - }; - - this.render = function ( scene, camera ) { - - if ( camera instanceof THREE.Camera === false ) { - - console.error( 'THREE.CanvasRenderer.render: camera is not an instance of THREE.Camera.' ); - return; - - } - - var e, el, element, material; - - this.autoClear === true - ? this.clear() - : _context.setTransform( 1, 0, 0, - 1, _canvasWidthHalf, _canvasHeightHalf ); - - _this.info.render.vertices = 0; - _this.info.render.faces = 0; - - _renderData = _projector.projectScene( scene, camera, this.sortObjects, this.sortElements ); - _elements = _renderData.elements; - _lights = _renderData.lights; - - /* DEBUG - _context.fillStyle = 'rgba( 0, 255, 255, 0.5 )'; - _context.fillRect( _clipRect.getX(), _clipRect.getY(), _clipRect.getWidth(), _clipRect.getHeight() ); - */ - - _enableLighting = _lights.length > 0; - - if ( _enableLighting === true ) { - - calculateLights(); - - } - - for ( e = 0, el = _elements.length; e < el; e++ ) { - - element = _elements[ e ]; - - material = element.material; - - if ( material === undefined || material.visible === false ) continue; - - _bboxRect.empty(); - - if ( element instanceof THREE.RenderableParticle ) { - - _v1 = element; - _v1.x *= _canvasWidthHalf; _v1.y *= _canvasHeightHalf; - - renderParticle( _v1, element, material, scene ); - - } else if ( element instanceof THREE.RenderableLine ) { - - _v1 = element.v1; _v2 = element.v2; - - _v1.positionScreen.x *= _canvasWidthHalf; _v1.positionScreen.y *= _canvasHeightHalf; - _v2.positionScreen.x *= _canvasWidthHalf; _v2.positionScreen.y *= _canvasHeightHalf; - - _bboxRect.addPoint( _v1.positionScreen.x, _v1.positionScreen.y ); - _bboxRect.addPoint( _v2.positionScreen.x, _v2.positionScreen.y ); - - if ( _clipRect.intersects( _bboxRect ) === true ) { - - renderLine( _v1, _v2, element, material, scene ); - - } - - - } else if ( element instanceof THREE.RenderableFace3 ) { - - _v1 = element.v1; _v2 = element.v2; _v3 = element.v3; - - _v1.positionScreen.x *= _canvasWidthHalf; _v1.positionScreen.y *= _canvasHeightHalf; - _v2.positionScreen.x *= _canvasWidthHalf; _v2.positionScreen.y *= _canvasHeightHalf; - _v3.positionScreen.x *= _canvasWidthHalf; _v3.positionScreen.y *= _canvasHeightHalf; - - if ( material.overdraw === true ) { - - expand( _v1.positionScreen, _v2.positionScreen ); - expand( _v2.positionScreen, _v3.positionScreen ); - expand( _v3.positionScreen, _v1.positionScreen ); - - } - - _bboxRect.add3Points( _v1.positionScreen.x, _v1.positionScreen.y, - _v2.positionScreen.x, _v2.positionScreen.y, - _v3.positionScreen.x, _v3.positionScreen.y ); - - if ( _clipRect.intersects( _bboxRect ) === true ) { - - renderFace3( _v1, _v2, _v3, 0, 1, 2, element, material, scene ); - - } - - } else if ( element instanceof THREE.RenderableFace4 ) { - - _v1 = element.v1; _v2 = element.v2; _v3 = element.v3; _v4 = element.v4; - - _v1.positionScreen.x *= _canvasWidthHalf; _v1.positionScreen.y *= _canvasHeightHalf; - _v2.positionScreen.x *= _canvasWidthHalf; _v2.positionScreen.y *= _canvasHeightHalf; - _v3.positionScreen.x *= _canvasWidthHalf; _v3.positionScreen.y *= _canvasHeightHalf; - _v4.positionScreen.x *= _canvasWidthHalf; _v4.positionScreen.y *= _canvasHeightHalf; - - _v5.positionScreen.copy( _v2.positionScreen ); - _v6.positionScreen.copy( _v4.positionScreen ); - - if ( material.overdraw === true ) { - - expand( _v1.positionScreen, _v2.positionScreen ); - expand( _v2.positionScreen, _v4.positionScreen ); - expand( _v4.positionScreen, _v1.positionScreen ); - - expand( _v3.positionScreen, _v5.positionScreen ); - expand( _v3.positionScreen, _v6.positionScreen ); - - } - - _bboxRect.addPoint( _v1.positionScreen.x, _v1.positionScreen.y ); - _bboxRect.addPoint( _v2.positionScreen.x, _v2.positionScreen.y ); - _bboxRect.addPoint( _v3.positionScreen.x, _v3.positionScreen.y ); - _bboxRect.addPoint( _v4.positionScreen.x, _v4.positionScreen.y ); - - if ( _clipRect.intersects( _bboxRect ) === true ) { - - renderFace4( _v1, _v2, _v3, _v4, _v5, _v6, element, material, scene ); - - } - - } - - /* DEBUG - _context.lineWidth = 1; - _context.strokeStyle = 'rgba( 0, 255, 0, 0.5 )'; - _context.strokeRect( _bboxRect.getX(), _bboxRect.getY(), _bboxRect.getWidth(), _bboxRect.getHeight() ); - */ - - _clearRect.addRectangle( _bboxRect ); - - - } - - /* DEBUG - _context.lineWidth = 1; - _context.strokeStyle = 'rgba( 255, 0, 0, 0.5 )'; - _context.strokeRect( _clearRect.getX(), _clearRect.getY(), _clearRect.getWidth(), _clearRect.getHeight() ); - */ - - _context.setTransform( 1, 0, 0, 1, 0, 0 ); - - // - - function calculateLights() { - - _ambientLight.setRGB( 0, 0, 0 ); - _directionalLights.setRGB( 0, 0, 0 ); - _pointLights.setRGB( 0, 0, 0 ); - - for ( var l = 0, ll = _lights.length; l < ll; l ++ ) { - - var light = _lights[ l ]; - var lightColor = light.color; - - if ( light instanceof THREE.AmbientLight ) { - - _ambientLight.r += lightColor.r; - _ambientLight.g += lightColor.g; - _ambientLight.b += lightColor.b; - - } else if ( light instanceof THREE.DirectionalLight ) { - - // for particles - - _directionalLights.r += lightColor.r; - _directionalLights.g += lightColor.g; - _directionalLights.b += lightColor.b; - - } else if ( light instanceof THREE.PointLight ) { - - // for particles - - _pointLights.r += lightColor.r; - _pointLights.g += lightColor.g; - _pointLights.b += lightColor.b; - - } - - } - - } - - function calculateLight( position, normal, color ) { - - for ( var l = 0, ll = _lights.length; l < ll; l ++ ) { - - var light = _lights[ l ]; - var lightColor = light.color; - - if ( light instanceof THREE.DirectionalLight ) { - - var lightPosition = light.matrixWorld.getPosition().normalize(); - - var amount = normal.dot( lightPosition ); - - if ( amount <= 0 ) continue; - - amount *= light.intensity; - - color.r += lightColor.r * amount; - color.g += lightColor.g * amount; - color.b += lightColor.b * amount; - - } else if ( light instanceof THREE.PointLight ) { - - var lightPosition = light.matrixWorld.getPosition(); - - var amount = normal.dot( _vector3.sub( lightPosition, position ).normalize() ); - - if ( amount <= 0 ) continue; - - amount *= light.distance == 0 ? 1 : 1 - Math.min( position.distanceTo( lightPosition ) / light.distance, 1 ); - - if ( amount == 0 ) continue; - - amount *= light.intensity; - - color.r += lightColor.r * amount; - color.g += lightColor.g * amount; - color.b += lightColor.b * amount; - - } - - } - - } - - function renderParticle( v1, element, material, scene ) { - - setOpacity( material.opacity ); - setBlending( material.blending ); - - var width, height, scaleX, scaleY, - bitmap, bitmapWidth, bitmapHeight; - - if ( material instanceof THREE.ParticleBasicMaterial ) { - - if ( material.map === null ) { - - scaleX = element.object.scale.x; - scaleY = element.object.scale.y; - - // TODO: Be able to disable this - - scaleX *= element.scale.x * _canvasWidthHalf; - scaleY *= element.scale.y * _canvasHeightHalf; - - _bboxRect.set( v1.x - scaleX, v1.y - scaleY, v1.x + scaleX, v1.y + scaleY ); - - if ( _clipRect.intersects( _bboxRect ) === false ) { - - return; - - } - - setFillStyle( material.color.getContextStyle() ); - - _context.save(); - _context.translate( v1.x, v1.y ); - _context.rotate( - element.rotation ); - _context.scale( scaleX, scaleY ); - _context.fillRect( -1, -1, 2, 2 ); - _context.restore(); - - } else { - - bitmap = material.map.image; - bitmapWidth = bitmap.width >> 1; - bitmapHeight = bitmap.height >> 1; - - scaleX = element.scale.x * _canvasWidthHalf; - scaleY = element.scale.y * _canvasHeightHalf; - - width = scaleX * bitmapWidth; - height = scaleY * bitmapHeight; - - // TODO: Rotations break this... - - _bboxRect.set( v1.x - width, v1.y - height, v1.x + width, v1.y + height ); - - if ( _clipRect.intersects( _bboxRect ) === false ) { - - return; - - } - - _context.save(); - _context.translate( v1.x, v1.y ); - _context.rotate( - element.rotation ); - _context.scale( scaleX, - scaleY ); - - _context.translate( - bitmapWidth, - bitmapHeight ); - _context.drawImage( bitmap, 0, 0 ); - _context.restore(); - - } - - /* DEBUG - setStrokeStyle( 'rgb(255,255,0)' ); - _context.beginPath(); - _context.moveTo( v1.x - 10, v1.y ); - _context.lineTo( v1.x + 10, v1.y ); - _context.moveTo( v1.x, v1.y - 10 ); - _context.lineTo( v1.x, v1.y + 10 ); - _context.stroke(); - */ - - } else if ( material instanceof THREE.ParticleCanvasMaterial ) { - - width = element.scale.x * _canvasWidthHalf; - height = element.scale.y * _canvasHeightHalf; - - _bboxRect.set( v1.x - width, v1.y - height, v1.x + width, v1.y + height ); - - if ( _clipRect.intersects( _bboxRect ) === false ) { - - return; - - } - - setStrokeStyle( material.color.getContextStyle() ); - setFillStyle( material.color.getContextStyle() ); - - _context.save(); - _context.translate( v1.x, v1.y ); - _context.rotate( - element.rotation ); - _context.scale( width, height ); - - material.program( _context ); - - _context.restore(); - - } - - } - - function renderLine( v1, v2, element, material, scene ) { - - setOpacity( material.opacity ); - setBlending( material.blending ); - - _context.beginPath(); - _context.moveTo( v1.positionScreen.x, v1.positionScreen.y ); - _context.lineTo( v2.positionScreen.x, v2.positionScreen.y ); - - if ( material instanceof THREE.LineBasicMaterial ) { - - setLineWidth( material.linewidth ); - setLineCap( material.linecap ); - setLineJoin( material.linejoin ); - setStrokeStyle( material.color.getContextStyle() ); - - _context.stroke(); - _bboxRect.inflate( material.linewidth * 2 ); - - } - - } - - function renderFace3( v1, v2, v3, uv1, uv2, uv3, element, material, scene ) { - - _this.info.render.vertices += 3; - _this.info.render.faces ++; - - setOpacity( material.opacity ); - setBlending( material.blending ); - - _v1x = v1.positionScreen.x; _v1y = v1.positionScreen.y; - _v2x = v2.positionScreen.x; _v2y = v2.positionScreen.y; - _v3x = v3.positionScreen.x; _v3y = v3.positionScreen.y; - - drawTriangle( _v1x, _v1y, _v2x, _v2y, _v3x, _v3y ); - - if ( ( material instanceof THREE.MeshLambertMaterial || material instanceof THREE.MeshPhongMaterial ) && material.map === null && material.map === null ) { - - _diffuseColor.copy( material.color ); - _emissiveColor.copy( material.emissive ); - - if ( material.vertexColors === THREE.FaceColors ) { - - _diffuseColor.r *= element.color.r; - _diffuseColor.g *= element.color.g; - _diffuseColor.b *= element.color.b; - - } - - if ( _enableLighting === true ) { - - if ( material.wireframe === false && material.shading == THREE.SmoothShading && element.vertexNormalsLength == 3 ) { - - _color1.r = _color2.r = _color3.r = _ambientLight.r; - _color1.g = _color2.g = _color3.g = _ambientLight.g; - _color1.b = _color2.b = _color3.b = _ambientLight.b; - - calculateLight( element.v1.positionWorld, element.vertexNormalsWorld[ 0 ], _color1 ); - calculateLight( element.v2.positionWorld, element.vertexNormalsWorld[ 1 ], _color2 ); - calculateLight( element.v3.positionWorld, element.vertexNormalsWorld[ 2 ], _color3 ); - - _color1.r = _color1.r * _diffuseColor.r + _emissiveColor.r; - _color1.g = _color1.g * _diffuseColor.g + _emissiveColor.g; - _color1.b = _color1.b * _diffuseColor.b + _emissiveColor.b; - - _color2.r = _color2.r * _diffuseColor.r + _emissiveColor.r; - _color2.g = _color2.g * _diffuseColor.g + _emissiveColor.g; - _color2.b = _color2.b * _diffuseColor.b + _emissiveColor.b; - - _color3.r = _color3.r * _diffuseColor.r + _emissiveColor.r; - _color3.g = _color3.g * _diffuseColor.g + _emissiveColor.g; - _color3.b = _color3.b * _diffuseColor.b + _emissiveColor.b; - - _color4.r = ( _color2.r + _color3.r ) * 0.5; - _color4.g = ( _color2.g + _color3.g ) * 0.5; - _color4.b = ( _color2.b + _color3.b ) * 0.5; - - _image = getGradientTexture( _color1, _color2, _color3, _color4 ); - - clipImage( _v1x, _v1y, _v2x, _v2y, _v3x, _v3y, 0, 0, 1, 0, 0, 1, _image ); - - } else { - - _color.r = _ambientLight.r; - _color.g = _ambientLight.g; - _color.b = _ambientLight.b; - - calculateLight( element.centroidWorld, element.normalWorld, _color ); - - _color.r = _color.r * _diffuseColor.r + _emissiveColor.r; - _color.g = _color.g * _diffuseColor.g + _emissiveColor.g; - _color.b = _color.b * _diffuseColor.b + _emissiveColor.b; - - material.wireframe === true - ? strokePath( _color, material.wireframeLinewidth, material.wireframeLinecap, material.wireframeLinejoin ) - : fillPath( _color ); - - } - - } else { - - material.wireframe === true - ? strokePath( material.color, material.wireframeLinewidth, material.wireframeLinecap, material.wireframeLinejoin ) - : fillPath( material.color ); - - } - - } else if ( material instanceof THREE.MeshBasicMaterial || material instanceof THREE.MeshLambertMaterial || material instanceof THREE.MeshPhongMaterial ) { - - if ( material.map !== null ) { - - if ( material.map.mapping instanceof THREE.UVMapping ) { - - _uvs = element.uvs[ 0 ]; - patternPath( _v1x, _v1y, _v2x, _v2y, _v3x, _v3y, _uvs[ uv1 ].u, _uvs[ uv1 ].v, _uvs[ uv2 ].u, _uvs[ uv2 ].v, _uvs[ uv3 ].u, _uvs[ uv3 ].v, material.map ); - - } - - - } else if ( material.envMap !== null ) { - - if ( material.envMap.mapping instanceof THREE.SphericalReflectionMapping ) { - - var cameraMatrix = camera.matrixWorldInverse; - - _vector3.copy( element.vertexNormalsWorld[ uv1 ] ); - _uv1x = ( _vector3.x * cameraMatrix.elements[0] + _vector3.y * cameraMatrix.elements[4] + _vector3.z * cameraMatrix.elements[8] ) * 0.5 + 0.5; - _uv1y = ( _vector3.x * cameraMatrix.elements[1] + _vector3.y * cameraMatrix.elements[5] + _vector3.z * cameraMatrix.elements[9] ) * 0.5 + 0.5; - - _vector3.copy( element.vertexNormalsWorld[ uv2 ] ); - _uv2x = ( _vector3.x * cameraMatrix.elements[0] + _vector3.y * cameraMatrix.elements[4] + _vector3.z * cameraMatrix.elements[8] ) * 0.5 + 0.5; - _uv2y = ( _vector3.x * cameraMatrix.elements[1] + _vector3.y * cameraMatrix.elements[5] + _vector3.z * cameraMatrix.elements[9] ) * 0.5 + 0.5; - - _vector3.copy( element.vertexNormalsWorld[ uv3 ] ); - _uv3x = ( _vector3.x * cameraMatrix.elements[0] + _vector3.y * cameraMatrix.elements[4] + _vector3.z * cameraMatrix.elements[8] ) * 0.5 + 0.5; - _uv3y = ( _vector3.x * cameraMatrix.elements[1] + _vector3.y * cameraMatrix.elements[5] + _vector3.z * cameraMatrix.elements[9] ) * 0.5 + 0.5; - - patternPath( _v1x, _v1y, _v2x, _v2y, _v3x, _v3y, _uv1x, _uv1y, _uv2x, _uv2y, _uv3x, _uv3y, material.envMap ); - - }/* else if ( material.envMap.mapping == THREE.SphericalRefractionMapping ) { - - - - }*/ - - - } else { - - _color.copy( material.color ); - - if ( material.vertexColors === THREE.FaceColors ) { - - _color.r *= element.color.r; - _color.g *= element.color.g; - _color.b *= element.color.b; - - } - - material.wireframe === true - ? strokePath( _color, material.wireframeLinewidth, material.wireframeLinecap, material.wireframeLinejoin ) - : fillPath( _color ); - - } - - } else if ( material instanceof THREE.MeshDepthMaterial ) { - - _near = camera.near; - _far = camera.far; - - _color1.r = _color1.g = _color1.b = 1 - smoothstep( v1.positionScreen.z, _near, _far ); - _color2.r = _color2.g = _color2.b = 1 - smoothstep( v2.positionScreen.z, _near, _far ); - _color3.r = _color3.g = _color3.b = 1 - smoothstep( v3.positionScreen.z, _near, _far ); - - _color4.r = ( _color2.r + _color3.r ) * 0.5; - _color4.g = ( _color2.g + _color3.g ) * 0.5; - _color4.b = ( _color2.b + _color3.b ) * 0.5; - - _image = getGradientTexture( _color1, _color2, _color3, _color4 ); - - clipImage( _v1x, _v1y, _v2x, _v2y, _v3x, _v3y, 0, 0, 1, 0, 0, 1, _image ); - - } else if ( material instanceof THREE.MeshNormalMaterial ) { - - _color.r = normalToComponent( element.normalWorld.x ); - _color.g = normalToComponent( element.normalWorld.y ); - _color.b = normalToComponent( element.normalWorld.z ); - - material.wireframe === true - ? strokePath( _color, material.wireframeLinewidth, material.wireframeLinecap, material.wireframeLinejoin ) - : fillPath( _color ); - - } - - } - - function renderFace4( v1, v2, v3, v4, v5, v6, element, material, scene ) { - - _this.info.render.vertices += 4; - _this.info.render.faces ++; - - setOpacity( material.opacity ); - setBlending( material.blending ); - - if ( ( material.map !== undefined && material.map !== null ) || ( material.envMap !== undefined && material.envMap !== null ) ) { - - // Let renderFace3() handle this - - renderFace3( v1, v2, v4, 0, 1, 3, element, material, scene ); - renderFace3( v5, v3, v6, 1, 2, 3, element, material, scene ); - - return; - - } - - _v1x = v1.positionScreen.x; _v1y = v1.positionScreen.y; - _v2x = v2.positionScreen.x; _v2y = v2.positionScreen.y; - _v3x = v3.positionScreen.x; _v3y = v3.positionScreen.y; - _v4x = v4.positionScreen.x; _v4y = v4.positionScreen.y; - _v5x = v5.positionScreen.x; _v5y = v5.positionScreen.y; - _v6x = v6.positionScreen.x; _v6y = v6.positionScreen.y; - - if ( material instanceof THREE.MeshLambertMaterial || material instanceof THREE.MeshPhongMaterial ) { - - _diffuseColor.copy( material.color ); - _emissiveColor.copy( material.emissive ); - - if ( material.vertexColors === THREE.FaceColors ) { - - _diffuseColor.r *= element.color.r; - _diffuseColor.g *= element.color.g; - _diffuseColor.b *= element.color.b; - - } - - if ( _enableLighting === true ) { - - if ( material.wireframe === false && material.shading == THREE.SmoothShading && element.vertexNormalsLength == 4 ) { - - _color1.r = _color2.r = _color3.r = _color4.r = _ambientLight.r; - _color1.g = _color2.g = _color3.g = _color4.g = _ambientLight.g; - _color1.b = _color2.b = _color3.b = _color4.b = _ambientLight.b; - - calculateLight( element.v1.positionWorld, element.vertexNormalsWorld[ 0 ], _color1 ); - calculateLight( element.v2.positionWorld, element.vertexNormalsWorld[ 1 ], _color2 ); - calculateLight( element.v4.positionWorld, element.vertexNormalsWorld[ 3 ], _color3 ); - calculateLight( element.v3.positionWorld, element.vertexNormalsWorld[ 2 ], _color4 ); - - _color1.r = _color1.r * _diffuseColor.r + _emissiveColor.r; - _color1.g = _color1.g * _diffuseColor.g + _emissiveColor.g; - _color1.b = _color1.b * _diffuseColor.b + _emissiveColor.b; - - _color2.r = _color2.r * _diffuseColor.r + _emissiveColor.r; - _color2.g = _color2.g * _diffuseColor.g + _emissiveColor.g; - _color2.b = _color2.b * _diffuseColor.b + _emissiveColor.b; - - _color3.r = _color3.r * _diffuseColor.r + _emissiveColor.r; - _color3.g = _color3.g * _diffuseColor.g + _emissiveColor.g; - _color3.b = _color3.b * _diffuseColor.b + _emissiveColor.b; - - _color4.r = _color4.r * _diffuseColor.r + _emissiveColor.r; - _color4.g = _color4.g * _diffuseColor.g + _emissiveColor.g; - _color4.b = _color4.b * _diffuseColor.b + _emissiveColor.b; - - _image = getGradientTexture( _color1, _color2, _color3, _color4 ); - - // TODO: UVs are incorrect, v4->v3? - - drawTriangle( _v1x, _v1y, _v2x, _v2y, _v4x, _v4y ); - clipImage( _v1x, _v1y, _v2x, _v2y, _v4x, _v4y, 0, 0, 1, 0, 0, 1, _image ); - - drawTriangle( _v5x, _v5y, _v3x, _v3y, _v6x, _v6y ); - clipImage( _v5x, _v5y, _v3x, _v3y, _v6x, _v6y, 1, 0, 1, 1, 0, 1, _image ); - - } else { - - _color.r = _ambientLight.r; - _color.g = _ambientLight.g; - _color.b = _ambientLight.b; - - calculateLight( element.centroidWorld, element.normalWorld, _color ); - - _color.r = _color.r * _diffuseColor.r + _emissiveColor.r; - _color.g = _color.g * _diffuseColor.g + _emissiveColor.g; - _color.b = _color.b * _diffuseColor.b + _emissiveColor.b; - - drawQuad( _v1x, _v1y, _v2x, _v2y, _v3x, _v3y, _v4x, _v4y ); - - material.wireframe === true - ? strokePath( _color, material.wireframeLinewidth, material.wireframeLinecap, material.wireframeLinejoin ) - : fillPath( _color ); - - } - - } else { - - _color.r = _diffuseColor.r + _emissiveColor.r; - _color.g = _diffuseColor.g + _emissiveColor.g; - _color.b = _diffuseColor.b + _emissiveColor.b; - - drawQuad( _v1x, _v1y, _v2x, _v2y, _v3x, _v3y, _v4x, _v4y ); - - material.wireframe === true - ? strokePath( _color, material.wireframeLinewidth, material.wireframeLinecap, material.wireframeLinejoin ) - : fillPath( _color ); - - } - - } else if ( material instanceof THREE.MeshBasicMaterial ) { - - _color.copy( material.color ); - - if ( material.vertexColors === THREE.FaceColors ) { - - _color.r *= element.color.r; - _color.g *= element.color.g; - _color.b *= element.color.b; - - } - - drawQuad( _v1x, _v1y, _v2x, _v2y, _v3x, _v3y, _v4x, _v4y ); - - material.wireframe === true - ? strokePath( _color, material.wireframeLinewidth, material.wireframeLinecap, material.wireframeLinejoin ) - : fillPath( _color ); - - } else if ( material instanceof THREE.MeshNormalMaterial ) { - - _color.r = normalToComponent( element.normalWorld.x ); - _color.g = normalToComponent( element.normalWorld.y ); - _color.b = normalToComponent( element.normalWorld.z ); - - drawQuad( _v1x, _v1y, _v2x, _v2y, _v3x, _v3y, _v4x, _v4y ); - - material.wireframe === true - ? strokePath( _color, material.wireframeLinewidth, material.wireframeLinecap, material.wireframeLinejoin ) - : fillPath( _color ); - - } else if ( material instanceof THREE.MeshDepthMaterial ) { - - _near = camera.near; - _far = camera.far; - - _color1.r = _color1.g = _color1.b = 1 - smoothstep( v1.positionScreen.z, _near, _far ); - _color2.r = _color2.g = _color2.b = 1 - smoothstep( v2.positionScreen.z, _near, _far ); - _color3.r = _color3.g = _color3.b = 1 - smoothstep( v4.positionScreen.z, _near, _far ); - _color4.r = _color4.g = _color4.b = 1 - smoothstep( v3.positionScreen.z, _near, _far ); - - _image = getGradientTexture( _color1, _color2, _color3, _color4 ); - - // TODO: UVs are incorrect, v4->v3? - - drawTriangle( _v1x, _v1y, _v2x, _v2y, _v4x, _v4y ); - clipImage( _v1x, _v1y, _v2x, _v2y, _v4x, _v4y, 0, 0, 1, 0, 0, 1, _image ); - - drawTriangle( _v5x, _v5y, _v3x, _v3y, _v6x, _v6y ); - clipImage( _v5x, _v5y, _v3x, _v3y, _v6x, _v6y, 1, 0, 1, 1, 0, 1, _image ); - - } - - } - - // - - function drawTriangle( x0, y0, x1, y1, x2, y2 ) { - - _context.beginPath(); - _context.moveTo( x0, y0 ); - _context.lineTo( x1, y1 ); - _context.lineTo( x2, y2 ); - _context.closePath(); - - } - - function drawQuad( x0, y0, x1, y1, x2, y2, x3, y3 ) { - - _context.beginPath(); - _context.moveTo( x0, y0 ); - _context.lineTo( x1, y1 ); - _context.lineTo( x2, y2 ); - _context.lineTo( x3, y3 ); - _context.closePath(); - - } - - function strokePath( color, linewidth, linecap, linejoin ) { - - setLineWidth( linewidth ); - setLineCap( linecap ); - setLineJoin( linejoin ); - setStrokeStyle( color.getContextStyle() ); - - _context.stroke(); - - _bboxRect.inflate( linewidth * 2 ); - - } - - function fillPath( color ) { - - setFillStyle( color.getContextStyle() ); - _context.fill(); - - } - - function patternPath( x0, y0, x1, y1, x2, y2, u0, v0, u1, v1, u2, v2, texture ) { - - if ( texture instanceof THREE.DataTexture || texture.image === undefined || texture.image.width == 0 ) return; - - if ( texture.needsUpdate === true ) { - - var repeatX = texture.wrapS == THREE.RepeatWrapping; - var repeatY = texture.wrapT == THREE.RepeatWrapping; - - _patterns[ texture.id ] = _context.createPattern( - texture.image, repeatX === true && repeatY === true - ? 'repeat' - : repeatX === true && repeatY === false - ? 'repeat-x' - : repeatX === false && repeatY === true - ? 'repeat-y' - : 'no-repeat' - ); - - texture.needsUpdate = false; - - } - - _patterns[ texture.id ] === undefined - ? setFillStyle( 'rgba(0,0,0,1)' ) - : setFillStyle( _patterns[ texture.id ] ); - - // http://extremelysatisfactorytotalitarianism.com/blog/?p=2120 - - var a, b, c, d, e, f, det, idet, - offsetX = texture.offset.x / texture.repeat.x, - offsetY = texture.offset.y / texture.repeat.y, - width = texture.image.width * texture.repeat.x, - height = texture.image.height * texture.repeat.y; - - u0 = ( u0 + offsetX ) * width; - v0 = ( 1.0 - v0 + offsetY ) * height; - - u1 = ( u1 + offsetX ) * width; - v1 = ( 1.0 - v1 + offsetY ) * height; - - u2 = ( u2 + offsetX ) * width; - v2 = ( 1.0 - v2 + offsetY ) * height; - - x1 -= x0; y1 -= y0; - x2 -= x0; y2 -= y0; - - u1 -= u0; v1 -= v0; - u2 -= u0; v2 -= v0; - - det = u1 * v2 - u2 * v1; - - if ( det === 0 ) { - - if ( _imagedatas[ texture.id ] === undefined ) { - - var canvas = document.createElement( 'canvas' ) - canvas.width = texture.image.width; - canvas.height = texture.image.height; - - var context = canvas.getContext( '2d' ); - context.drawImage( texture.image, 0, 0 ); - - _imagedatas[ texture.id ] = context.getImageData( 0, 0, texture.image.width, texture.image.height ).data; - - } - - var data = _imagedatas[ texture.id ]; - var index = ( Math.floor( u0 ) + Math.floor( v0 ) * texture.image.width ) * 4; - - _color.setRGB( data[ index ] / 255, data[ index + 1 ] / 255, data[ index + 2 ] / 255 ); - fillPath( _color ); - - return; - - } - - idet = 1 / det; - - a = ( v2 * x1 - v1 * x2 ) * idet; - b = ( v2 * y1 - v1 * y2 ) * idet; - c = ( u1 * x2 - u2 * x1 ) * idet; - d = ( u1 * y2 - u2 * y1 ) * idet; - - e = x0 - a * u0 - c * v0; - f = y0 - b * u0 - d * v0; - - _context.save(); - _context.transform( a, b, c, d, e, f ); - _context.fill(); - _context.restore(); - - } - - function clipImage( x0, y0, x1, y1, x2, y2, u0, v0, u1, v1, u2, v2, image ) { - - // http://extremelysatisfactorytotalitarianism.com/blog/?p=2120 - - var a, b, c, d, e, f, det, idet, - width = image.width - 1, - height = image.height - 1; - - u0 *= width; v0 *= height; - u1 *= width; v1 *= height; - u2 *= width; v2 *= height; - - x1 -= x0; y1 -= y0; - x2 -= x0; y2 -= y0; - - u1 -= u0; v1 -= v0; - u2 -= u0; v2 -= v0; - - det = u1 * v2 - u2 * v1; - - idet = 1 / det; - - a = ( v2 * x1 - v1 * x2 ) * idet; - b = ( v2 * y1 - v1 * y2 ) * idet; - c = ( u1 * x2 - u2 * x1 ) * idet; - d = ( u1 * y2 - u2 * y1 ) * idet; - - e = x0 - a * u0 - c * v0; - f = y0 - b * u0 - d * v0; - - _context.save(); - _context.transform( a, b, c, d, e, f ); - _context.clip(); - _context.drawImage( image, 0, 0 ); - _context.restore(); - - } - - function getGradientTexture( color1, color2, color3, color4 ) { - - // http://mrdoob.com/blog/post/710 - - _pixelMapData[ 0 ] = ( color1.r * 255 ) | 0; - _pixelMapData[ 1 ] = ( color1.g * 255 ) | 0; - _pixelMapData[ 2 ] = ( color1.b * 255 ) | 0; - - _pixelMapData[ 4 ] = ( color2.r * 255 ) | 0; - _pixelMapData[ 5 ] = ( color2.g * 255 ) | 0; - _pixelMapData[ 6 ] = ( color2.b * 255 ) | 0; - - _pixelMapData[ 8 ] = ( color3.r * 255 ) | 0; - _pixelMapData[ 9 ] = ( color3.g * 255 ) | 0; - _pixelMapData[ 10 ] = ( color3.b * 255 ) | 0; - - _pixelMapData[ 12 ] = ( color4.r * 255 ) | 0; - _pixelMapData[ 13 ] = ( color4.g * 255 ) | 0; - _pixelMapData[ 14 ] = ( color4.b * 255 ) | 0; - - _pixelMapContext.putImageData( _pixelMapImage, 0, 0 ); - _gradientMapContext.drawImage( _pixelMap, 0, 0 ); - - return _gradientMap; - - } - - function smoothstep( value, min, max ) { - - var x = ( value - min ) / ( max - min ); - return x * x * ( 3 - 2 * x ); - - } - - function normalToComponent( normal ) { - - var component = ( normal + 1 ) * 0.5; - return component < 0 ? 0 : ( component > 1 ? 1 : component ); - - } - - // Hide anti-alias gaps - - function expand( v1, v2 ) { - - var x = v2.x - v1.x, y = v2.y - v1.y, - det = x * x + y * y, idet; - - if ( det === 0 ) return; - - idet = 1 / Math.sqrt( det ); - - x *= idet; y *= idet; - - v2.x += x; v2.y += y; - v1.x -= x; v1.y -= y; - - } - }; - - // Context cached methods. - - function setOpacity( value ) { - - if ( _contextGlobalAlpha !== value ) { - - _context.globalAlpha = value; - _contextGlobalAlpha = value; - - } - - } - - function setBlending( value ) { - - if ( _contextGlobalCompositeOperation !== value ) { - - if ( value === THREE.NormalBlending ) { - - _context.globalCompositeOperation = 'source-over'; - - } else if ( value === THREE.AdditiveBlending ) { - - _context.globalCompositeOperation = 'lighter'; - - } else if ( value === THREE.SubtractiveBlending ) { - - _context.globalCompositeOperation = 'darker'; - - } - - _contextGlobalCompositeOperation = value; - - } - - } - - function setLineWidth( value ) { - - if ( _contextLineWidth !== value ) { - - _context.lineWidth = value; - _contextLineWidth = value; - - } - - } - - function setLineCap( value ) { - - // "butt", "round", "square" - - if ( _contextLineCap !== value ) { - - _context.lineCap = value; - _contextLineCap = value; - - } - - } - - function setLineJoin( value ) { - - // "round", "bevel", "miter" - - if ( _contextLineJoin !== value ) { - - _context.lineJoin = value; - _contextLineJoin = value; - - } - - } - - function setStrokeStyle( value ) { - - if ( _contextStrokeStyle !== value ) { - - _context.strokeStyle = value; - _contextStrokeStyle = value; - - } - - } - - function setFillStyle( value ) { - - if ( _contextFillStyle !== value ) { - - _context.fillStyle = value; - _contextFillStyle = value; - - } - - } - -}; -/** - * @author alteredq / http://alteredqualia.com/ - * @author mrdoob / http://mrdoob.com/ - * @author mikael emtinger / http://gomo.se/ - */ - -THREE.ShaderChunk = { - - // FOG - - fog_pars_fragment: [ - - "#ifdef USE_FOG", - - "uniform vec3 fogColor;", - - "#ifdef FOG_EXP2", - - "uniform float fogDensity;", - - "#else", - - "uniform float fogNear;", - "uniform float fogFar;", - - "#endif", - - "#endif" - - ].join("\n"), - - fog_fragment: [ - - "#ifdef USE_FOG", - - "float depth = gl_FragCoord.z / gl_FragCoord.w;", - - "#ifdef FOG_EXP2", - - "const float LOG2 = 1.442695;", - "float fogFactor = exp2( - fogDensity * fogDensity * depth * depth * LOG2 );", - "fogFactor = 1.0 - clamp( fogFactor, 0.0, 1.0 );", - - "#else", - - "float fogFactor = smoothstep( fogNear, fogFar, depth );", - - "#endif", - - "gl_FragColor = mix( gl_FragColor, vec4( fogColor, gl_FragColor.w ), fogFactor );", - - "#endif" - - ].join("\n"), - - // ENVIRONMENT MAP - - envmap_pars_fragment: [ - - "#ifdef USE_ENVMAP", - - "uniform float reflectivity;", - "uniform samplerCube envMap;", - "uniform float flipEnvMap;", - "uniform int combine;", - - "#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP )", - - "uniform bool useRefract;", - "uniform float refractionRatio;", - - "#else", - - "varying vec3 vReflect;", - - "#endif", - - "#endif" - - ].join("\n"), - - envmap_fragment: [ - - "#ifdef USE_ENVMAP", - - "vec3 reflectVec;", - - "#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP )", - - "vec3 cameraToVertex = normalize( vWorldPosition - cameraPosition );", - - "if ( useRefract ) {", - - "reflectVec = refract( cameraToVertex, normal, refractionRatio );", - - "} else { ", - - "reflectVec = reflect( cameraToVertex, normal );", - - "}", - - "#else", - - "reflectVec = vReflect;", - - "#endif", - - "#ifdef DOUBLE_SIDED", - - "float flipNormal = ( -1.0 + 2.0 * float( gl_FrontFacing ) );", - "vec4 cubeColor = textureCube( envMap, flipNormal * vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );", - - "#else", - - "vec4 cubeColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );", - - "#endif", - - "#ifdef GAMMA_INPUT", - - "cubeColor.xyz *= cubeColor.xyz;", - - "#endif", - - "if ( combine == 1 ) {", - - "gl_FragColor.xyz = mix( gl_FragColor.xyz, cubeColor.xyz, specularStrength * reflectivity );", - - "} else {", - - "gl_FragColor.xyz = mix( gl_FragColor.xyz, gl_FragColor.xyz * cubeColor.xyz, specularStrength * reflectivity );", - - "}", - - "#endif" - - ].join("\n"), - - envmap_pars_vertex: [ - - "#if defined( USE_ENVMAP ) && ! defined( USE_BUMPMAP ) && ! defined( USE_NORMALMAP )", - - "varying vec3 vReflect;", - - "uniform float refractionRatio;", - "uniform bool useRefract;", - - "#endif" - - ].join("\n"), - - worldpos_vertex : [ - - "#if defined( USE_ENVMAP ) || defined( PHONG ) || defined( LAMBERT ) || defined ( USE_SHADOWMAP )", - - "#ifdef USE_SKINNING", - - "vec4 mPosition = modelMatrix * skinned;", - - "#endif", - - "#if defined( USE_MORPHTARGETS ) && ! defined( USE_SKINNING )", - - "vec4 mPosition = modelMatrix * vec4( morphed, 1.0 );", - - "#endif", - - "#if ! defined( USE_MORPHTARGETS ) && ! defined( USE_SKINNING )", - - "vec4 mPosition = modelMatrix * vec4( position, 1.0 );", - - "#endif", - - "#endif" - - ].join("\n"), - - envmap_vertex : [ - - "#if defined( USE_ENVMAP ) && ! defined( USE_BUMPMAP ) && ! defined( USE_NORMALMAP )", - - "vec3 nWorld = mat3( modelMatrix[ 0 ].xyz, modelMatrix[ 1 ].xyz, modelMatrix[ 2 ].xyz ) * objectNormal;", - - "if ( useRefract ) {", - - "vReflect = refract( normalize( mPosition.xyz - cameraPosition ), normalize( nWorld.xyz ), refractionRatio );", - - "} else {", - - "vReflect = reflect( normalize( mPosition.xyz - cameraPosition ), normalize( nWorld.xyz ) );", - - "}", - - "#endif" - - ].join("\n"), - - // COLOR MAP (particles) - - map_particle_pars_fragment: [ - - "#ifdef USE_MAP", - - "uniform sampler2D map;", - - "#endif" - - ].join("\n"), - - - map_particle_fragment: [ - - "#ifdef USE_MAP", - - "gl_FragColor = gl_FragColor * texture2D( map, vec2( gl_PointCoord.x, 1.0 - gl_PointCoord.y ) );", - - "#endif" - - ].join("\n"), - - // COLOR MAP (triangles) - - map_pars_vertex: [ - - "#if defined( USE_MAP ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( USE_SPECULARMAP )", - - "varying vec2 vUv;", - "uniform vec4 offsetRepeat;", - - "#endif" - - ].join("\n"), - - map_pars_fragment: [ - - "#if defined( USE_MAP ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( USE_SPECULARMAP )", - - "varying vec2 vUv;", - - "#endif", - - "#ifdef USE_MAP", - - "uniform sampler2D map;", - - "#endif", - - ].join("\n"), - - map_vertex: [ - - "#if defined( USE_MAP ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( USE_SPECULARMAP )", - - "vUv = uv * offsetRepeat.zw + offsetRepeat.xy;", - - "#endif" - - ].join("\n"), - - map_fragment: [ - - "#ifdef USE_MAP", - - "#ifdef GAMMA_INPUT", - - "vec4 texelColor = texture2D( map, vUv );", - "texelColor.xyz *= texelColor.xyz;", - - "gl_FragColor = gl_FragColor * texelColor;", - - "#else", - - "gl_FragColor = gl_FragColor * texture2D( map, vUv );", - - "#endif", - - "#endif" - - ].join("\n"), - - // LIGHT MAP - - lightmap_pars_fragment: [ - - "#ifdef USE_LIGHTMAP", - - "varying vec2 vUv2;", - "uniform sampler2D lightMap;", - - "#endif" - - ].join("\n"), - - lightmap_pars_vertex: [ - - "#ifdef USE_LIGHTMAP", - - "varying vec2 vUv2;", - - "#endif" - - ].join("\n"), - - lightmap_fragment: [ - - "#ifdef USE_LIGHTMAP", - - "gl_FragColor = gl_FragColor * texture2D( lightMap, vUv2 );", - - "#endif" - - ].join("\n"), - - lightmap_vertex: [ - - "#ifdef USE_LIGHTMAP", - - "vUv2 = uv2;", - - "#endif" - - ].join("\n"), - - // BUMP MAP - - bumpmap_pars_fragment: [ - - "#ifdef USE_BUMPMAP", - - "uniform sampler2D bumpMap;", - "uniform float bumpScale;", - - // Derivative maps - bump mapping unparametrized surfaces by Morten Mikkelsen - // http://mmikkelsen3d.blogspot.sk/2011/07/derivative-maps.html - - // Evaluate the derivative of the height w.r.t. screen-space using forward differencing (listing 2) - - "vec2 dHdxy_fwd() {", - - "vec2 dSTdx = dFdx( vUv );", - "vec2 dSTdy = dFdy( vUv );", - - "float Hll = bumpScale * texture2D( bumpMap, vUv ).x;", - "float dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll;", - "float dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll;", - - "return vec2( dBx, dBy );", - - "}", - - "vec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy ) {", - - "vec3 vSigmaX = dFdx( surf_pos );", - "vec3 vSigmaY = dFdy( surf_pos );", - "vec3 vN = surf_norm;", // normalized - - "vec3 R1 = cross( vSigmaY, vN );", - "vec3 R2 = cross( vN, vSigmaX );", - - "float fDet = dot( vSigmaX, R1 );", - - "vec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );", - "return normalize( abs( fDet ) * surf_norm - vGrad );", - - "}", - - "#endif" - - ].join("\n"), - - // NORMAL MAP - - normalmap_pars_fragment: [ - - "#ifdef USE_NORMALMAP", - - "uniform sampler2D normalMap;", - "uniform vec2 normalScale;", - - // Per-Pixel Tangent Space Normal Mapping - // http://hacksoflife.blogspot.ch/2009/11/per-pixel-tangent-space-normal-mapping.html - - "vec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm ) {", - - "vec3 q0 = dFdx( eye_pos.xyz );", - "vec3 q1 = dFdy( eye_pos.xyz );", - "vec2 st0 = dFdx( vUv.st );", - "vec2 st1 = dFdy( vUv.st );", - - "vec3 S = normalize( q0 * st1.t - q1 * st0.t );", - "vec3 T = normalize( -q0 * st1.s + q1 * st0.s );", - "vec3 N = normalize( surf_norm );", - - "vec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;", - "mapN.xy = normalScale * mapN.xy;", - "mat3 tsn = mat3( S, T, N );", - "return normalize( tsn * mapN );", - - "}", - - "#endif" - - ].join("\n"), - - // SPECULAR MAP - - specularmap_pars_fragment: [ - - "#ifdef USE_SPECULARMAP", - - "uniform sampler2D specularMap;", - - "#endif" - - ].join("\n"), - - specularmap_fragment: [ - - "float specularStrength;", - - "#ifdef USE_SPECULARMAP", - - "vec4 texelSpecular = texture2D( specularMap, vUv );", - "specularStrength = texelSpecular.r;", - - "#else", - - "specularStrength = 1.0;", - - "#endif" - - ].join("\n"), - - // LIGHTS LAMBERT - - lights_lambert_pars_vertex: [ - - "uniform vec3 ambient;", - "uniform vec3 diffuse;", - "uniform vec3 emissive;", - - "uniform vec3 ambientLightColor;", - - "#if MAX_DIR_LIGHTS > 0", - - "uniform vec3 directionalLightColor[ MAX_DIR_LIGHTS ];", - "uniform vec3 directionalLightDirection[ MAX_DIR_LIGHTS ];", - - "#endif", - - "#if MAX_HEMI_LIGHTS > 0", - - "uniform vec3 hemisphereLightSkyColor[ MAX_HEMI_LIGHTS ];", - "uniform vec3 hemisphereLightGroundColor[ MAX_HEMI_LIGHTS ];", - "uniform vec3 hemisphereLightPosition[ MAX_HEMI_LIGHTS ];", - - "#endif", - - "#if MAX_POINT_LIGHTS > 0", - - "uniform vec3 pointLightColor[ MAX_POINT_LIGHTS ];", - "uniform vec3 pointLightPosition[ MAX_POINT_LIGHTS ];", - "uniform float pointLightDistance[ MAX_POINT_LIGHTS ];", - - "#endif", - - "#if MAX_SPOT_LIGHTS > 0", - - "uniform vec3 spotLightColor[ MAX_SPOT_LIGHTS ];", - "uniform vec3 spotLightPosition[ MAX_SPOT_LIGHTS ];", - "uniform vec3 spotLightDirection[ MAX_SPOT_LIGHTS ];", - "uniform float spotLightDistance[ MAX_SPOT_LIGHTS ];", - "uniform float spotLightAngle[ MAX_SPOT_LIGHTS ];", - "uniform float spotLightExponent[ MAX_SPOT_LIGHTS ];", - - "#endif", - - "#ifdef WRAP_AROUND", - - "uniform vec3 wrapRGB;", - - "#endif" - - ].join("\n"), - - lights_lambert_vertex: [ - - "vLightFront = vec3( 0.0 );", - - "#ifdef DOUBLE_SIDED", - - "vLightBack = vec3( 0.0 );", - - "#endif", - - "transformedNormal = normalize( transformedNormal );", - - "#if MAX_DIR_LIGHTS > 0", - - "for( int i = 0; i < MAX_DIR_LIGHTS; i ++ ) {", - - "vec4 lDirection = viewMatrix * vec4( directionalLightDirection[ i ], 0.0 );", - "vec3 dirVector = normalize( lDirection.xyz );", - - "float dotProduct = dot( transformedNormal, dirVector );", - "vec3 directionalLightWeighting = vec3( max( dotProduct, 0.0 ) );", - - "#ifdef DOUBLE_SIDED", - - "vec3 directionalLightWeightingBack = vec3( max( -dotProduct, 0.0 ) );", - - "#ifdef WRAP_AROUND", - - "vec3 directionalLightWeightingHalfBack = vec3( max( -0.5 * dotProduct + 0.5, 0.0 ) );", - - "#endif", - - "#endif", - - "#ifdef WRAP_AROUND", - - "vec3 directionalLightWeightingHalf = vec3( max( 0.5 * dotProduct + 0.5, 0.0 ) );", - "directionalLightWeighting = mix( directionalLightWeighting, directionalLightWeightingHalf, wrapRGB );", - - "#ifdef DOUBLE_SIDED", - - "directionalLightWeightingBack = mix( directionalLightWeightingBack, directionalLightWeightingHalfBack, wrapRGB );", - - "#endif", - - "#endif", - - "vLightFront += directionalLightColor[ i ] * directionalLightWeighting;", - - "#ifdef DOUBLE_SIDED", - - "vLightBack += directionalLightColor[ i ] * directionalLightWeightingBack;", - - "#endif", - - "}", - - "#endif", - - "#if MAX_POINT_LIGHTS > 0", - - "for( int i = 0; i < MAX_POINT_LIGHTS; i ++ ) {", - - "vec4 lPosition = viewMatrix * vec4( pointLightPosition[ i ], 1.0 );", - "vec3 lVector = lPosition.xyz - mvPosition.xyz;", - - "float lDistance = 1.0;", - "if ( pointLightDistance[ i ] > 0.0 )", - "lDistance = 1.0 - min( ( length( lVector ) / pointLightDistance[ i ] ), 1.0 );", - - "lVector = normalize( lVector );", - "float dotProduct = dot( transformedNormal, lVector );", - - "vec3 pointLightWeighting = vec3( max( dotProduct, 0.0 ) );", - - "#ifdef DOUBLE_SIDED", - - "vec3 pointLightWeightingBack = vec3( max( -dotProduct, 0.0 ) );", - - "#ifdef WRAP_AROUND", - - "vec3 pointLightWeightingHalfBack = vec3( max( -0.5 * dotProduct + 0.5, 0.0 ) );", - - "#endif", - - "#endif", - - "#ifdef WRAP_AROUND", - - "vec3 pointLightWeightingHalf = vec3( max( 0.5 * dotProduct + 0.5, 0.0 ) );", - "pointLightWeighting = mix( pointLightWeighting, pointLightWeightingHalf, wrapRGB );", - - "#ifdef DOUBLE_SIDED", - - "pointLightWeightingBack = mix( pointLightWeightingBack, pointLightWeightingHalfBack, wrapRGB );", - - "#endif", - - "#endif", - - "vLightFront += pointLightColor[ i ] * pointLightWeighting * lDistance;", - - "#ifdef DOUBLE_SIDED", - - "vLightBack += pointLightColor[ i ] * pointLightWeightingBack * lDistance;", - - "#endif", - - "}", - - "#endif", - - "#if MAX_SPOT_LIGHTS > 0", - - "for( int i = 0; i < MAX_SPOT_LIGHTS; i ++ ) {", - - "vec4 lPosition = viewMatrix * vec4( spotLightPosition[ i ], 1.0 );", - "vec3 lVector = lPosition.xyz - mvPosition.xyz;", - - "lVector = normalize( lVector );", - - "float spotEffect = dot( spotLightDirection[ i ], normalize( spotLightPosition[ i ] - mPosition.xyz ) );", - - "if ( spotEffect > spotLightAngle[ i ] ) {", - - "spotEffect = pow( spotEffect, spotLightExponent[ i ] );", - - "float lDistance = 1.0;", - "if ( spotLightDistance[ i ] > 0.0 )", - "lDistance = 1.0 - min( ( length( lVector ) / spotLightDistance[ i ] ), 1.0 );", - - "float dotProduct = dot( transformedNormal, lVector );", - "vec3 spotLightWeighting = vec3( max( dotProduct, 0.0 ) );", - - "#ifdef DOUBLE_SIDED", - - "vec3 spotLightWeightingBack = vec3( max( -dotProduct, 0.0 ) );", - - "#ifdef WRAP_AROUND", - - "vec3 spotLightWeightingHalfBack = vec3( max( -0.5 * dotProduct + 0.5, 0.0 ) );", - - "#endif", - - "#endif", - - "#ifdef WRAP_AROUND", - - "vec3 spotLightWeightingHalf = vec3( max( 0.5 * dotProduct + 0.5, 0.0 ) );", - "spotLightWeighting = mix( spotLightWeighting, spotLightWeightingHalf, wrapRGB );", - - "#ifdef DOUBLE_SIDED", - - "spotLightWeightingBack = mix( spotLightWeightingBack, spotLightWeightingHalfBack, wrapRGB );", - - "#endif", - - "#endif", - - "vLightFront += spotLightColor[ i ] * spotLightWeighting * lDistance * spotEffect;", - - "#ifdef DOUBLE_SIDED", - - "vLightBack += spotLightColor[ i ] * spotLightWeightingBack * lDistance * spotEffect;", - - "#endif", - - "}", - - "}", - - "#endif", - - "#if MAX_HEMI_LIGHTS > 0", - - "for( int i = 0; i < MAX_HEMI_LIGHTS; i ++ ) {", - - "vec4 lPosition = viewMatrix * vec4( hemisphereLightPosition[ i ], 1.0 );", - "vec3 lVector = lPosition.xyz - mvPosition.xyz;", - - "lVector = normalize( lVector );", - - "float dotProduct = dot( transformedNormal, lVector );", - - "float hemiDiffuseWeight = 0.5 * dotProduct + 0.5;", - "float hemiDiffuseWeightBack = -0.5 * dotProduct + 0.5;", - - "vLightFront += mix( hemisphereLightGroundColor[ i ], hemisphereLightSkyColor[ i ], hemiDiffuseWeight );", - - "#ifdef DOUBLE_SIDED", - - "vLightBack += mix( hemisphereLightGroundColor[ i ], hemisphereLightSkyColor[ i ], hemiDiffuseWeightBack );", - - "#endif", - - "}", - - "#endif", - - "vLightFront = vLightFront * diffuse + ambient * ambientLightColor + emissive;", - - "#ifdef DOUBLE_SIDED", - - "vLightBack = vLightBack * diffuse + ambient * ambientLightColor + emissive;", - - "#endif" - - ].join("\n"), - - // LIGHTS PHONG - - lights_phong_pars_vertex: [ - - "#ifndef PHONG_PER_PIXEL", - - "#if MAX_POINT_LIGHTS > 0", - - "uniform vec3 pointLightPosition[ MAX_POINT_LIGHTS ];", - "uniform float pointLightDistance[ MAX_POINT_LIGHTS ];", - - "varying vec4 vPointLight[ MAX_POINT_LIGHTS ];", - - "#endif", - - "#if MAX_SPOT_LIGHTS > 0", - - "uniform vec3 spotLightPosition[ MAX_SPOT_LIGHTS ];", - "uniform float spotLightDistance[ MAX_SPOT_LIGHTS ];", - - "varying vec4 vSpotLight[ MAX_SPOT_LIGHTS ];", - - "#endif", - - "#endif", - - "#if MAX_SPOT_LIGHTS > 0 || defined( USE_BUMPMAP )", - - "varying vec3 vWorldPosition;", - - "#endif" - - ].join("\n"), - - - lights_phong_vertex: [ - - "#ifndef PHONG_PER_PIXEL", - - "#if MAX_POINT_LIGHTS > 0", - - "for( int i = 0; i < MAX_POINT_LIGHTS; i ++ ) {", - - "vec4 lPosition = viewMatrix * vec4( pointLightPosition[ i ], 1.0 );", - "vec3 lVector = lPosition.xyz - mvPosition.xyz;", - - "float lDistance = 1.0;", - "if ( pointLightDistance[ i ] > 0.0 )", - "lDistance = 1.0 - min( ( length( lVector ) / pointLightDistance[ i ] ), 1.0 );", - - "vPointLight[ i ] = vec4( lVector, lDistance );", - - "}", - - "#endif", - - "#if MAX_SPOT_LIGHTS > 0", - - "for( int i = 0; i < MAX_SPOT_LIGHTS; i ++ ) {", - - "vec4 lPosition = viewMatrix * vec4( spotLightPosition[ i ], 1.0 );", - "vec3 lVector = lPosition.xyz - mvPosition.xyz;", - - "float lDistance = 1.0;", - "if ( spotLightDistance[ i ] > 0.0 )", - "lDistance = 1.0 - min( ( length( lVector ) / spotLightDistance[ i ] ), 1.0 );", - - "vSpotLight[ i ] = vec4( lVector, lDistance );", - - "}", - - "#endif", - - "#endif", - - "#if MAX_SPOT_LIGHTS > 0 || defined( USE_BUMPMAP )", - - "vWorldPosition = mPosition.xyz;", - - "#endif" - - ].join("\n"), - - lights_phong_pars_fragment: [ - - "uniform vec3 ambientLightColor;", - - "#if MAX_DIR_LIGHTS > 0", - - "uniform vec3 directionalLightColor[ MAX_DIR_LIGHTS ];", - "uniform vec3 directionalLightDirection[ MAX_DIR_LIGHTS ];", - - "#endif", - - "#if MAX_HEMI_LIGHTS > 0", - - "uniform vec3 hemisphereLightSkyColor[ MAX_HEMI_LIGHTS ];", - "uniform vec3 hemisphereLightGroundColor[ MAX_HEMI_LIGHTS ];", - "uniform vec3 hemisphereLightPosition[ MAX_HEMI_LIGHTS ];", - - "#endif", - - "#if MAX_POINT_LIGHTS > 0", - - "uniform vec3 pointLightColor[ MAX_POINT_LIGHTS ];", - - "#ifdef PHONG_PER_PIXEL", - - "uniform vec3 pointLightPosition[ MAX_POINT_LIGHTS ];", - "uniform float pointLightDistance[ MAX_POINT_LIGHTS ];", - - "#else", - - "varying vec4 vPointLight[ MAX_POINT_LIGHTS ];", - - "#endif", - - "#endif", - - "#if MAX_SPOT_LIGHTS > 0", - - "uniform vec3 spotLightColor[ MAX_SPOT_LIGHTS ];", - "uniform vec3 spotLightPosition[ MAX_SPOT_LIGHTS ];", - "uniform vec3 spotLightDirection[ MAX_SPOT_LIGHTS ];", - "uniform float spotLightAngle[ MAX_SPOT_LIGHTS ];", - "uniform float spotLightExponent[ MAX_SPOT_LIGHTS ];", - - "#ifdef PHONG_PER_PIXEL", - - "uniform float spotLightDistance[ MAX_SPOT_LIGHTS ];", - - "#else", - - "varying vec4 vSpotLight[ MAX_SPOT_LIGHTS ];", - - "#endif", - - "#endif", - - "#if MAX_SPOT_LIGHTS > 0 || defined( USE_BUMPMAP )", - - "varying vec3 vWorldPosition;", - - "#endif", - - "#ifdef WRAP_AROUND", - - "uniform vec3 wrapRGB;", - - "#endif", - - "varying vec3 vViewPosition;", - "varying vec3 vNormal;" - - ].join("\n"), - - lights_phong_fragment: [ - - "vec3 normal = normalize( vNormal );", - "vec3 viewPosition = normalize( vViewPosition );", - - "#ifdef DOUBLE_SIDED", - - "normal = normal * ( -1.0 + 2.0 * float( gl_FrontFacing ) );", - - "#endif", - - "#ifdef USE_NORMALMAP", - - "normal = perturbNormal2Arb( -viewPosition, normal );", - - "#elif defined( USE_BUMPMAP )", - - "normal = perturbNormalArb( -vViewPosition, normal, dHdxy_fwd() );", - - "#endif", - - "#if MAX_POINT_LIGHTS > 0", - - "vec3 pointDiffuse = vec3( 0.0 );", - "vec3 pointSpecular = vec3( 0.0 );", - - "for ( int i = 0; i < MAX_POINT_LIGHTS; i ++ ) {", - - "#ifdef PHONG_PER_PIXEL", - - "vec4 lPosition = viewMatrix * vec4( pointLightPosition[ i ], 1.0 );", - "vec3 lVector = lPosition.xyz + vViewPosition.xyz;", - - "float lDistance = 1.0;", - "if ( pointLightDistance[ i ] > 0.0 )", - "lDistance = 1.0 - min( ( length( lVector ) / pointLightDistance[ i ] ), 1.0 );", - - "lVector = normalize( lVector );", - - "#else", - - "vec3 lVector = normalize( vPointLight[ i ].xyz );", - "float lDistance = vPointLight[ i ].w;", - - "#endif", - - // diffuse - - "float dotProduct = dot( normal, lVector );", - - "#ifdef WRAP_AROUND", - - "float pointDiffuseWeightFull = max( dotProduct, 0.0 );", - "float pointDiffuseWeightHalf = max( 0.5 * dotProduct + 0.5, 0.0 );", - - "vec3 pointDiffuseWeight = mix( vec3 ( pointDiffuseWeightFull ), vec3( pointDiffuseWeightHalf ), wrapRGB );", - - "#else", - - "float pointDiffuseWeight = max( dotProduct, 0.0 );", - - "#endif", - - "pointDiffuse += diffuse * pointLightColor[ i ] * pointDiffuseWeight * lDistance;", - - // specular - - "vec3 pointHalfVector = normalize( lVector + viewPosition );", - "float pointDotNormalHalf = max( dot( normal, pointHalfVector ), 0.0 );", - "float pointSpecularWeight = specularStrength * max( pow( pointDotNormalHalf, shininess ), 0.0 );", - - "#ifdef PHYSICALLY_BASED_SHADING", - - // 2.0 => 2.0001 is hack to work around ANGLE bug - - "float specularNormalization = ( shininess + 2.0001 ) / 8.0;", - - "vec3 schlick = specular + vec3( 1.0 - specular ) * pow( 1.0 - dot( lVector, pointHalfVector ), 5.0 );", - "pointSpecular += schlick * pointLightColor[ i ] * pointSpecularWeight * pointDiffuseWeight * lDistance * specularNormalization;", - - "#else", - - "pointSpecular += specular * pointLightColor[ i ] * pointSpecularWeight * pointDiffuseWeight * lDistance;", - - "#endif", - - "}", - - "#endif", - - "#if MAX_SPOT_LIGHTS > 0", - - "vec3 spotDiffuse = vec3( 0.0 );", - "vec3 spotSpecular = vec3( 0.0 );", - - "for ( int i = 0; i < MAX_SPOT_LIGHTS; i ++ ) {", - - "#ifdef PHONG_PER_PIXEL", - - "vec4 lPosition = viewMatrix * vec4( spotLightPosition[ i ], 1.0 );", - "vec3 lVector = lPosition.xyz + vViewPosition.xyz;", - - "float lDistance = 1.0;", - "if ( spotLightDistance[ i ] > 0.0 )", - "lDistance = 1.0 - min( ( length( lVector ) / spotLightDistance[ i ] ), 1.0 );", - - "lVector = normalize( lVector );", - - "#else", - - "vec3 lVector = normalize( vSpotLight[ i ].xyz );", - "float lDistance = vSpotLight[ i ].w;", - - "#endif", - - "float spotEffect = dot( spotLightDirection[ i ], normalize( spotLightPosition[ i ] - vWorldPosition ) );", - - "if ( spotEffect > spotLightAngle[ i ] ) {", - - "spotEffect = pow( spotEffect, spotLightExponent[ i ] );", - - // diffuse - - "float dotProduct = dot( normal, lVector );", - - "#ifdef WRAP_AROUND", - - "float spotDiffuseWeightFull = max( dotProduct, 0.0 );", - "float spotDiffuseWeightHalf = max( 0.5 * dotProduct + 0.5, 0.0 );", - - "vec3 spotDiffuseWeight = mix( vec3 ( spotDiffuseWeightFull ), vec3( spotDiffuseWeightHalf ), wrapRGB );", - - "#else", - - "float spotDiffuseWeight = max( dotProduct, 0.0 );", - - "#endif", - - "spotDiffuse += diffuse * spotLightColor[ i ] * spotDiffuseWeight * lDistance * spotEffect;", - - // specular - - "vec3 spotHalfVector = normalize( lVector + viewPosition );", - "float spotDotNormalHalf = max( dot( normal, spotHalfVector ), 0.0 );", - "float spotSpecularWeight = specularStrength * max( pow( spotDotNormalHalf, shininess ), 0.0 );", - - "#ifdef PHYSICALLY_BASED_SHADING", - - // 2.0 => 2.0001 is hack to work around ANGLE bug - - "float specularNormalization = ( shininess + 2.0001 ) / 8.0;", - - "vec3 schlick = specular + vec3( 1.0 - specular ) * pow( 1.0 - dot( lVector, spotHalfVector ), 5.0 );", - "spotSpecular += schlick * spotLightColor[ i ] * spotSpecularWeight * spotDiffuseWeight * lDistance * specularNormalization * spotEffect;", - - "#else", - - "spotSpecular += specular * spotLightColor[ i ] * spotSpecularWeight * spotDiffuseWeight * lDistance * spotEffect;", - - "#endif", - - "}", - - "}", - - "#endif", - - "#if MAX_DIR_LIGHTS > 0", - - "vec3 dirDiffuse = vec3( 0.0 );", - "vec3 dirSpecular = vec3( 0.0 );" , - - "for( int i = 0; i < MAX_DIR_LIGHTS; i ++ ) {", - - "vec4 lDirection = viewMatrix * vec4( directionalLightDirection[ i ], 0.0 );", - "vec3 dirVector = normalize( lDirection.xyz );", - - // diffuse - - "float dotProduct = dot( normal, dirVector );", - - "#ifdef WRAP_AROUND", - - "float dirDiffuseWeightFull = max( dotProduct, 0.0 );", - "float dirDiffuseWeightHalf = max( 0.5 * dotProduct + 0.5, 0.0 );", - - "vec3 dirDiffuseWeight = mix( vec3( dirDiffuseWeightFull ), vec3( dirDiffuseWeightHalf ), wrapRGB );", - - "#else", - - "float dirDiffuseWeight = max( dotProduct, 0.0 );", - - "#endif", - - "dirDiffuse += diffuse * directionalLightColor[ i ] * dirDiffuseWeight;", - - // specular - - "vec3 dirHalfVector = normalize( dirVector + viewPosition );", - "float dirDotNormalHalf = max( dot( normal, dirHalfVector ), 0.0 );", - "float dirSpecularWeight = specularStrength * max( pow( dirDotNormalHalf, shininess ), 0.0 );", - - "#ifdef PHYSICALLY_BASED_SHADING", - - /* - // fresnel term from skin shader - "const float F0 = 0.128;", - - "float base = 1.0 - dot( viewPosition, dirHalfVector );", - "float exponential = pow( base, 5.0 );", - - "float fresnel = exponential + F0 * ( 1.0 - exponential );", - */ - - /* - // fresnel term from fresnel shader - "const float mFresnelBias = 0.08;", - "const float mFresnelScale = 0.3;", - "const float mFresnelPower = 5.0;", - - "float fresnel = mFresnelBias + mFresnelScale * pow( 1.0 + dot( normalize( -viewPosition ), normal ), mFresnelPower );", - */ - - // 2.0 => 2.0001 is hack to work around ANGLE bug - - "float specularNormalization = ( shininess + 2.0001 ) / 8.0;", - - //"dirSpecular += specular * directionalLightColor[ i ] * dirSpecularWeight * dirDiffuseWeight * specularNormalization * fresnel;", - - "vec3 schlick = specular + vec3( 1.0 - specular ) * pow( 1.0 - dot( dirVector, dirHalfVector ), 5.0 );", - "dirSpecular += schlick * directionalLightColor[ i ] * dirSpecularWeight * dirDiffuseWeight * specularNormalization;", - - "#else", - - "dirSpecular += specular * directionalLightColor[ i ] * dirSpecularWeight * dirDiffuseWeight;", - - "#endif", - - "}", - - "#endif", - - "#if MAX_HEMI_LIGHTS > 0", - - "vec3 hemiDiffuse = vec3( 0.0 );", - "vec3 hemiSpecular = vec3( 0.0 );" , - - "for( int i = 0; i < MAX_HEMI_LIGHTS; i ++ ) {", - - "vec4 lPosition = viewMatrix * vec4( hemisphereLightPosition[ i ], 1.0 );", - "vec3 lVector = normalize( lPosition.xyz + vViewPosition.xyz );", - - // diffuse - - "float dotProduct = dot( normal, lVector );", - "float hemiDiffuseWeight = 0.5 * dotProduct + 0.5;", - - "vec3 hemiColor = mix( hemisphereLightGroundColor[ i ], hemisphereLightSkyColor[ i ], hemiDiffuseWeight );", - - "hemiDiffuse += diffuse * hemiColor;", - - // specular (sky light) - - "vec3 hemiHalfVectorSky = normalize( lVector + viewPosition );", - "float hemiDotNormalHalfSky = 0.5 * dot( normal, hemiHalfVectorSky ) + 0.5;", - "float hemiSpecularWeightSky = specularStrength * max( pow( hemiDotNormalHalfSky, shininess ), 0.0 );", - - // specular (ground light) - - "vec3 lVectorGround = normalize( -lPosition.xyz + vViewPosition.xyz );", - - "vec3 hemiHalfVectorGround = normalize( lVectorGround + viewPosition );", - "float hemiDotNormalHalfGround = 0.5 * dot( normal, hemiHalfVectorGround ) + 0.5;", - "float hemiSpecularWeightGround = specularStrength * max( pow( hemiDotNormalHalfGround, shininess ), 0.0 );", - - "#ifdef PHYSICALLY_BASED_SHADING", - - "float dotProductGround = dot( normal, lVectorGround );", - - // 2.0 => 2.0001 is hack to work around ANGLE bug - - "float specularNormalization = ( shininess + 2.0001 ) / 8.0;", - - "vec3 schlickSky = specular + vec3( 1.0 - specular ) * pow( 1.0 - dot( lVector, hemiHalfVectorSky ), 5.0 );", - "vec3 schlickGround = specular + vec3( 1.0 - specular ) * pow( 1.0 - dot( lVectorGround, hemiHalfVectorGround ), 5.0 );", - "hemiSpecular += hemiColor * specularNormalization * ( schlickSky * hemiSpecularWeightSky * max( dotProduct, 0.0 ) + schlickGround * hemiSpecularWeightGround * max( dotProductGround, 0.0 ) );", - - "#else", - - "hemiSpecular += specular * hemiColor * ( hemiSpecularWeightSky + hemiSpecularWeightGround ) * hemiDiffuseWeight;", - - "#endif", - - "}", - - "#endif", - - "vec3 totalDiffuse = vec3( 0.0 );", - "vec3 totalSpecular = vec3( 0.0 );", - - "#if MAX_DIR_LIGHTS > 0", - - "totalDiffuse += dirDiffuse;", - "totalSpecular += dirSpecular;", - - "#endif", - - "#if MAX_HEMI_LIGHTS > 0", - - "totalDiffuse += hemiDiffuse;", - "totalSpecular += hemiSpecular;", - - "#endif", - - "#if MAX_POINT_LIGHTS > 0", - - "totalDiffuse += pointDiffuse;", - "totalSpecular += pointSpecular;", - - "#endif", - - "#if MAX_SPOT_LIGHTS > 0", - - "totalDiffuse += spotDiffuse;", - "totalSpecular += spotSpecular;", - - "#endif", - - "#ifdef METAL", - - "gl_FragColor.xyz = gl_FragColor.xyz * ( emissive + totalDiffuse + ambientLightColor * ambient + totalSpecular );", - - "#else", - - "gl_FragColor.xyz = gl_FragColor.xyz * ( emissive + totalDiffuse + ambientLightColor * ambient ) + totalSpecular;", - - "#endif" - - ].join("\n"), - - // VERTEX COLORS - - color_pars_fragment: [ - - "#ifdef USE_COLOR", - - "varying vec3 vColor;", - - "#endif" - - ].join("\n"), - - - color_fragment: [ - - "#ifdef USE_COLOR", - - "gl_FragColor = gl_FragColor * vec4( vColor, opacity );", - - "#endif" - - ].join("\n"), - - color_pars_vertex: [ - - "#ifdef USE_COLOR", - - "varying vec3 vColor;", - - "#endif" - - ].join("\n"), - - - color_vertex: [ - - "#ifdef USE_COLOR", - - "#ifdef GAMMA_INPUT", - - "vColor = color * color;", - - "#else", - - "vColor = color;", - - "#endif", - - "#endif" - - ].join("\n"), - - // SKINNING - - skinning_pars_vertex: [ - - "#ifdef USE_SKINNING", - - "#ifdef BONE_TEXTURE", - - "uniform sampler2D boneTexture;", - - "mat4 getBoneMatrix( const in float i ) {", - - "float j = i * 4.0;", - "float x = mod( j, N_BONE_PIXEL_X );", - "float y = floor( j / N_BONE_PIXEL_X );", - - "const float dx = 1.0 / N_BONE_PIXEL_X;", - "const float dy = 1.0 / N_BONE_PIXEL_Y;", - - "y = dy * ( y + 0.5 );", - - "vec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );", - "vec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );", - "vec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );", - "vec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );", - - "mat4 bone = mat4( v1, v2, v3, v4 );", - - "return bone;", - - "}", - - "#else", - - "uniform mat4 boneGlobalMatrices[ MAX_BONES ];", - - "mat4 getBoneMatrix( const in float i ) {", - - "mat4 bone = boneGlobalMatrices[ int(i) ];", - "return bone;", - - "}", - - "#endif", - - "#endif" - - ].join("\n"), - - skinbase_vertex: [ - - "#ifdef USE_SKINNING", - - "mat4 boneMatX = getBoneMatrix( skinIndex.x );", - "mat4 boneMatY = getBoneMatrix( skinIndex.y );", - - "#endif" - - ].join("\n"), - - skinning_vertex: [ - - "#ifdef USE_SKINNING", - - "#ifdef USE_MORPHTARGETS", - - "vec4 skinVertex = vec4( morphed, 1.0 );", - - "#else", - - "vec4 skinVertex = vec4( position, 1.0 );", - - "#endif", - - "vec4 skinned = boneMatX * skinVertex * skinWeight.x;", - "skinned += boneMatY * skinVertex * skinWeight.y;", - - "#endif" - - ].join("\n"), - - // MORPHING - - morphtarget_pars_vertex: [ - - "#ifdef USE_MORPHTARGETS", - - "#ifndef USE_MORPHNORMALS", - - "uniform float morphTargetInfluences[ 8 ];", - - "#else", - - "uniform float morphTargetInfluences[ 4 ];", - - "#endif", - - "#endif" - - ].join("\n"), - - morphtarget_vertex: [ - - "#ifdef USE_MORPHTARGETS", - - "vec3 morphed = vec3( 0.0 );", - "morphed += ( morphTarget0 - position ) * morphTargetInfluences[ 0 ];", - "morphed += ( morphTarget1 - position ) * morphTargetInfluences[ 1 ];", - "morphed += ( morphTarget2 - position ) * morphTargetInfluences[ 2 ];", - "morphed += ( morphTarget3 - position ) * morphTargetInfluences[ 3 ];", - - "#ifndef USE_MORPHNORMALS", - - "morphed += ( morphTarget4 - position ) * morphTargetInfluences[ 4 ];", - "morphed += ( morphTarget5 - position ) * morphTargetInfluences[ 5 ];", - "morphed += ( morphTarget6 - position ) * morphTargetInfluences[ 6 ];", - "morphed += ( morphTarget7 - position ) * morphTargetInfluences[ 7 ];", - - "#endif", - - "morphed += position;", - - "#endif" - - ].join("\n"), - - default_vertex : [ - - "vec4 mvPosition;", - - "#ifdef USE_SKINNING", - - "mvPosition = modelViewMatrix * skinned;", - - "#endif", - - "#if !defined( USE_SKINNING ) && defined( USE_MORPHTARGETS )", - - "mvPosition = modelViewMatrix * vec4( morphed, 1.0 );", - - "#endif", - - "#if !defined( USE_SKINNING ) && ! defined( USE_MORPHTARGETS )", - - "mvPosition = modelViewMatrix * vec4( position, 1.0 );", - - "#endif", - - "gl_Position = projectionMatrix * mvPosition;", - - ].join("\n"), - - morphnormal_vertex: [ - - "#ifdef USE_MORPHNORMALS", - - "vec3 morphedNormal = vec3( 0.0 );", - - "morphedNormal += ( morphNormal0 - normal ) * morphTargetInfluences[ 0 ];", - "morphedNormal += ( morphNormal1 - normal ) * morphTargetInfluences[ 1 ];", - "morphedNormal += ( morphNormal2 - normal ) * morphTargetInfluences[ 2 ];", - "morphedNormal += ( morphNormal3 - normal ) * morphTargetInfluences[ 3 ];", - - "morphedNormal += normal;", - - "#endif" - - ].join("\n"), - - skinnormal_vertex: [ - - "#ifdef USE_SKINNING", - - "mat4 skinMatrix = skinWeight.x * boneMatX;", - "skinMatrix += skinWeight.y * boneMatY;", - - "#ifdef USE_MORPHNORMALS", - - "vec4 skinnedNormal = skinMatrix * vec4( morphedNormal, 0.0 );", - - "#else", - - "vec4 skinnedNormal = skinMatrix * vec4( normal, 0.0 );", - - "#endif", - - "#endif" - - ].join("\n"), - - defaultnormal_vertex: [ - - "vec3 objectNormal;", - - "#ifdef USE_SKINNING", - - "objectNormal = skinnedNormal.xyz;", - - "#endif", - - "#if !defined( USE_SKINNING ) && defined( USE_MORPHNORMALS )", - - "objectNormal = morphedNormal;", - - "#endif", - - "#if !defined( USE_SKINNING ) && ! defined( USE_MORPHNORMALS )", - - "objectNormal = normal;", - - "#endif", - - "#ifdef FLIP_SIDED", - - "objectNormal = -objectNormal;", - - "#endif", - - "vec3 transformedNormal = normalMatrix * objectNormal;", - - ].join("\n"), - - // SHADOW MAP - - // based on SpiderGL shadow map and Fabien Sanglard's GLSL shadow mapping examples - // http://spidergl.org/example.php?id=6 - // http://fabiensanglard.net/shadowmapping - - shadowmap_pars_fragment: [ - - "#ifdef USE_SHADOWMAP", - - "uniform sampler2D shadowMap[ MAX_SHADOWS ];", - "uniform vec2 shadowMapSize[ MAX_SHADOWS ];", - - "uniform float shadowDarkness[ MAX_SHADOWS ];", - "uniform float shadowBias[ MAX_SHADOWS ];", - - "varying vec4 vShadowCoord[ MAX_SHADOWS ];", - - "float unpackDepth( const in vec4 rgba_depth ) {", - - "const vec4 bit_shift = vec4( 1.0 / ( 256.0 * 256.0 * 256.0 ), 1.0 / ( 256.0 * 256.0 ), 1.0 / 256.0, 1.0 );", - "float depth = dot( rgba_depth, bit_shift );", - "return depth;", - - "}", - - "#endif" - - ].join("\n"), - - shadowmap_fragment: [ - - "#ifdef USE_SHADOWMAP", - - "#ifdef SHADOWMAP_DEBUG", - - "vec3 frustumColors[3];", - "frustumColors[0] = vec3( 1.0, 0.5, 0.0 );", - "frustumColors[1] = vec3( 0.0, 1.0, 0.8 );", - "frustumColors[2] = vec3( 0.0, 0.5, 1.0 );", - - "#endif", - - "#ifdef SHADOWMAP_CASCADE", - - "int inFrustumCount = 0;", - - "#endif", - - "float fDepth;", - "vec3 shadowColor = vec3( 1.0 );", - - "for( int i = 0; i < MAX_SHADOWS; i ++ ) {", - - "vec3 shadowCoord = vShadowCoord[ i ].xyz / vShadowCoord[ i ].w;", - - // "if ( something && something )" breaks ATI OpenGL shader compiler - // "if ( all( something, something ) )" using this instead - - "bvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 );", - "bool inFrustum = all( inFrustumVec );", - - // don't shadow pixels outside of light frustum - // use just first frustum (for cascades) - // don't shadow pixels behind far plane of light frustum - - "#ifdef SHADOWMAP_CASCADE", - - "inFrustumCount += int( inFrustum );", - "bvec3 frustumTestVec = bvec3( inFrustum, inFrustumCount == 1, shadowCoord.z <= 1.0 );", - - "#else", - - "bvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 );", - - "#endif", - - "bool frustumTest = all( frustumTestVec );", - - "if ( frustumTest ) {", - - "shadowCoord.z += shadowBias[ i ];", - - "#ifdef SHADOWMAP_SOFT", - - // Percentage-close filtering - // (9 pixel kernel) - // http://fabiensanglard.net/shadowmappingPCF/ - - "float shadow = 0.0;", - - /* - // nested loops breaks shader compiler / validator on some ATI cards when using OpenGL - // must enroll loop manually - - "for ( float y = -1.25; y <= 1.25; y += 1.25 )", - "for ( float x = -1.25; x <= 1.25; x += 1.25 ) {", - - "vec4 rgbaDepth = texture2D( shadowMap[ i ], vec2( x * xPixelOffset, y * yPixelOffset ) + shadowCoord.xy );", - - // doesn't seem to produce any noticeable visual difference compared to simple "texture2D" lookup - //"vec4 rgbaDepth = texture2DProj( shadowMap[ i ], vec4( vShadowCoord[ i ].w * ( vec2( x * xPixelOffset, y * yPixelOffset ) + shadowCoord.xy ), 0.05, vShadowCoord[ i ].w ) );", - - "float fDepth = unpackDepth( rgbaDepth );", - - "if ( fDepth < shadowCoord.z )", - "shadow += 1.0;", - - "}", - - "shadow /= 9.0;", - - */ - - "const float shadowDelta = 1.0 / 9.0;", - - "float xPixelOffset = 1.0 / shadowMapSize[ i ].x;", - "float yPixelOffset = 1.0 / shadowMapSize[ i ].y;", - - "float dx0 = -1.25 * xPixelOffset;", - "float dy0 = -1.25 * yPixelOffset;", - "float dx1 = 1.25 * xPixelOffset;", - "float dy1 = 1.25 * yPixelOffset;", - - "fDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx0, dy0 ) ) );", - "if ( fDepth < shadowCoord.z ) shadow += shadowDelta;", - - "fDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( 0.0, dy0 ) ) );", - "if ( fDepth < shadowCoord.z ) shadow += shadowDelta;", - - "fDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx1, dy0 ) ) );", - "if ( fDepth < shadowCoord.z ) shadow += shadowDelta;", - - "fDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx0, 0.0 ) ) );", - "if ( fDepth < shadowCoord.z ) shadow += shadowDelta;", - - "fDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy ) );", - "if ( fDepth < shadowCoord.z ) shadow += shadowDelta;", - - "fDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx1, 0.0 ) ) );", - "if ( fDepth < shadowCoord.z ) shadow += shadowDelta;", - - "fDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx0, dy1 ) ) );", - "if ( fDepth < shadowCoord.z ) shadow += shadowDelta;", - - "fDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( 0.0, dy1 ) ) );", - "if ( fDepth < shadowCoord.z ) shadow += shadowDelta;", - - "fDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx1, dy1 ) ) );", - "if ( fDepth < shadowCoord.z ) shadow += shadowDelta;", - - "shadowColor = shadowColor * vec3( ( 1.0 - shadowDarkness[ i ] * shadow ) );", - - "#else", - - "vec4 rgbaDepth = texture2D( shadowMap[ i ], shadowCoord.xy );", - "float fDepth = unpackDepth( rgbaDepth );", - - "if ( fDepth < shadowCoord.z )", - - // spot with multiple shadows is darker - - "shadowColor = shadowColor * vec3( 1.0 - shadowDarkness[ i ] );", - - // spot with multiple shadows has the same color as single shadow spot - - //"shadowColor = min( shadowColor, vec3( shadowDarkness[ i ] ) );", - - "#endif", - - "}", - - - "#ifdef SHADOWMAP_DEBUG", - - "#ifdef SHADOWMAP_CASCADE", - - "if ( inFrustum && inFrustumCount == 1 ) gl_FragColor.xyz *= frustumColors[ i ];", - - "#else", - - "if ( inFrustum ) gl_FragColor.xyz *= frustumColors[ i ];", - - "#endif", - - "#endif", - - "}", - - "#ifdef GAMMA_OUTPUT", - - "shadowColor *= shadowColor;", - - "#endif", - - "gl_FragColor.xyz = gl_FragColor.xyz * shadowColor;", - - "#endif" - - ].join("\n"), - - shadowmap_pars_vertex: [ - - "#ifdef USE_SHADOWMAP", - - "varying vec4 vShadowCoord[ MAX_SHADOWS ];", - "uniform mat4 shadowMatrix[ MAX_SHADOWS ];", - - "#endif" - - ].join("\n"), - - shadowmap_vertex: [ - - "#ifdef USE_SHADOWMAP", - - "for( int i = 0; i < MAX_SHADOWS; i ++ ) {", - - "vShadowCoord[ i ] = shadowMatrix[ i ] * mPosition;", - - "}", - - "#endif" - - ].join("\n"), - - // ALPHATEST - - alphatest_fragment: [ - - "#ifdef ALPHATEST", - - "if ( gl_FragColor.a < ALPHATEST ) discard;", - - "#endif" - - ].join("\n"), - - // LINEAR SPACE - - linear_to_gamma_fragment: [ - - "#ifdef GAMMA_OUTPUT", - - "gl_FragColor.xyz = sqrt( gl_FragColor.xyz );", - - "#endif" - - ].join("\n"), - - -}; - -THREE.UniformsUtils = { - - merge: function ( uniforms ) { - - var u, p, tmp, merged = {}; - - for ( u = 0; u < uniforms.length; u ++ ) { - - tmp = this.clone( uniforms[ u ] ); - - for ( p in tmp ) { - - merged[ p ] = tmp[ p ]; - - } - - } - - return merged; - - }, - - clone: function ( uniforms_src ) { - - var u, p, parameter, parameter_src, uniforms_dst = {}; - - for ( u in uniforms_src ) { - - uniforms_dst[ u ] = {}; - - for ( p in uniforms_src[ u ] ) { - - parameter_src = uniforms_src[ u ][ p ]; - - if ( parameter_src instanceof THREE.Color || - parameter_src instanceof THREE.Vector2 || - parameter_src instanceof THREE.Vector3 || - parameter_src instanceof THREE.Vector4 || - parameter_src instanceof THREE.Matrix4 || - parameter_src instanceof THREE.Texture ) { - - uniforms_dst[ u ][ p ] = parameter_src.clone(); - - } else if ( parameter_src instanceof Array ) { - - uniforms_dst[ u ][ p ] = parameter_src.slice(); - - } else { - - uniforms_dst[ u ][ p ] = parameter_src; - - } - - } - - } - - return uniforms_dst; - - } - -}; - -THREE.UniformsLib = { - - common: { - - "diffuse" : { type: "c", value: new THREE.Color( 0xeeeeee ) }, - "opacity" : { type: "f", value: 1.0 }, - - "map" : { type: "t", value: null }, - "offsetRepeat" : { type: "v4", value: new THREE.Vector4( 0, 0, 1, 1 ) }, - - "lightMap" : { type: "t", value: null }, - "specularMap" : { type: "t", value: null }, - - "envMap" : { type: "t", value: null }, - "flipEnvMap" : { type: "f", value: -1 }, - "useRefract" : { type: "i", value: 0 }, - "reflectivity" : { type: "f", value: 1.0 }, - "refractionRatio" : { type: "f", value: 0.98 }, - "combine" : { type: "i", value: 0 }, - - "morphTargetInfluences" : { type: "f", value: 0 } - - }, - - bump: { - - "bumpMap" : { type: "t", value: null }, - "bumpScale" : { type: "f", value: 1 } - - }, - - normalmap: { - - "normalMap" : { type: "t", value: null }, - "normalScale" : { type: "v2", value: new THREE.Vector2( 1, 1 ) } - }, - - fog : { - - "fogDensity" : { type: "f", value: 0.00025 }, - "fogNear" : { type: "f", value: 1 }, - "fogFar" : { type: "f", value: 2000 }, - "fogColor" : { type: "c", value: new THREE.Color( 0xffffff ) } - - }, - - lights: { - - "ambientLightColor" : { type: "fv", value: [] }, - - "directionalLightDirection" : { type: "fv", value: [] }, - "directionalLightColor" : { type: "fv", value: [] }, - - "hemisphereLightPosition" : { type: "fv", value: [] }, - "hemisphereLightSkyColor" : { type: "fv", value: [] }, - "hemisphereLightGroundColor" : { type: "fv", value: [] }, - - "pointLightColor" : { type: "fv", value: [] }, - "pointLightPosition" : { type: "fv", value: [] }, - "pointLightDistance" : { type: "fv1", value: [] }, - - "spotLightColor" : { type: "fv", value: [] }, - "spotLightPosition" : { type: "fv", value: [] }, - "spotLightDirection" : { type: "fv", value: [] }, - "spotLightDistance" : { type: "fv1", value: [] }, - "spotLightAngle" : { type: "fv1", value: [] }, - "spotLightExponent" : { type: "fv1", value: [] } - - }, - - particle: { - - "psColor" : { type: "c", value: new THREE.Color( 0xeeeeee ) }, - "opacity" : { type: "f", value: 1.0 }, - "size" : { type: "f", value: 1.0 }, - "scale" : { type: "f", value: 1.0 }, - "map" : { type: "t", value: null }, - - "fogDensity" : { type: "f", value: 0.00025 }, - "fogNear" : { type: "f", value: 1 }, - "fogFar" : { type: "f", value: 2000 }, - "fogColor" : { type: "c", value: new THREE.Color( 0xffffff ) } - - }, - - shadowmap: { - - "shadowMap": { type: "tv", value: [] }, - "shadowMapSize": { type: "v2v", value: [] }, - - "shadowBias" : { type: "fv1", value: [] }, - "shadowDarkness": { type: "fv1", value: [] }, - - "shadowMatrix" : { type: "m4v", value: [] }, - - } - -}; - -THREE.ShaderLib = { - - 'depth': { - - uniforms: { - - "mNear": { type: "f", value: 1.0 }, - "mFar" : { type: "f", value: 2000.0 }, - "opacity" : { type: "f", value: 1.0 } - - }, - - vertexShader: [ - - "void main() {", - - "gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );", - - "}" - - ].join("\n"), - - fragmentShader: [ - - "uniform float mNear;", - "uniform float mFar;", - "uniform float opacity;", - - "void main() {", - - "float depth = gl_FragCoord.z / gl_FragCoord.w;", - "float color = 1.0 - smoothstep( mNear, mFar, depth );", - "gl_FragColor = vec4( vec3( color ), opacity );", - - "}" - - ].join("\n") - - }, - - 'normal': { - - uniforms: { - - "opacity" : { type: "f", value: 1.0 } - - }, - - vertexShader: [ - - "varying vec3 vNormal;", - - "void main() {", - - "vec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );", - "vNormal = normalMatrix * normal;", - - "gl_Position = projectionMatrix * mvPosition;", - - "}" - - ].join("\n"), - - fragmentShader: [ - - "uniform float opacity;", - "varying vec3 vNormal;", - - "void main() {", - - "gl_FragColor = vec4( 0.5 * normalize( vNormal ) + 0.5, opacity );", - - "}" - - ].join("\n") - - }, - - 'basic': { - - uniforms: THREE.UniformsUtils.merge( [ - - THREE.UniformsLib[ "common" ], - THREE.UniformsLib[ "fog" ], - THREE.UniformsLib[ "shadowmap" ] - - ] ), - - vertexShader: [ - - THREE.ShaderChunk[ "map_pars_vertex" ], - THREE.ShaderChunk[ "lightmap_pars_vertex" ], - THREE.ShaderChunk[ "envmap_pars_vertex" ], - THREE.ShaderChunk[ "color_pars_vertex" ], - THREE.ShaderChunk[ "morphtarget_pars_vertex" ], - THREE.ShaderChunk[ "skinning_pars_vertex" ], - THREE.ShaderChunk[ "shadowmap_pars_vertex" ], - - "void main() {", - - THREE.ShaderChunk[ "map_vertex" ], - THREE.ShaderChunk[ "lightmap_vertex" ], - THREE.ShaderChunk[ "color_vertex" ], - - "#ifdef USE_ENVMAP", - - THREE.ShaderChunk[ "morphnormal_vertex" ], - THREE.ShaderChunk[ "skinbase_vertex" ], - THREE.ShaderChunk[ "skinnormal_vertex" ], - THREE.ShaderChunk[ "defaultnormal_vertex" ], - - "#endif", - - THREE.ShaderChunk[ "morphtarget_vertex" ], - THREE.ShaderChunk[ "skinning_vertex" ], - THREE.ShaderChunk[ "default_vertex" ], - - THREE.ShaderChunk[ "worldpos_vertex" ], - THREE.ShaderChunk[ "envmap_vertex" ], - THREE.ShaderChunk[ "shadowmap_vertex" ], - - "}" - - ].join("\n"), - - fragmentShader: [ - - "uniform vec3 diffuse;", - "uniform float opacity;", - - THREE.ShaderChunk[ "color_pars_fragment" ], - THREE.ShaderChunk[ "map_pars_fragment" ], - THREE.ShaderChunk[ "lightmap_pars_fragment" ], - THREE.ShaderChunk[ "envmap_pars_fragment" ], - THREE.ShaderChunk[ "fog_pars_fragment" ], - THREE.ShaderChunk[ "shadowmap_pars_fragment" ], - THREE.ShaderChunk[ "specularmap_pars_fragment" ], - - "void main() {", - - "gl_FragColor = vec4( diffuse, opacity );", - - THREE.ShaderChunk[ "map_fragment" ], - THREE.ShaderChunk[ "alphatest_fragment" ], - THREE.ShaderChunk[ "specularmap_fragment" ], - THREE.ShaderChunk[ "lightmap_fragment" ], - THREE.ShaderChunk[ "color_fragment" ], - THREE.ShaderChunk[ "envmap_fragment" ], - THREE.ShaderChunk[ "shadowmap_fragment" ], - - THREE.ShaderChunk[ "linear_to_gamma_fragment" ], - - THREE.ShaderChunk[ "fog_fragment" ], - - "}" - - ].join("\n") - - }, - - 'lambert': { - - uniforms: THREE.UniformsUtils.merge( [ - - THREE.UniformsLib[ "common" ], - THREE.UniformsLib[ "fog" ], - THREE.UniformsLib[ "lights" ], - THREE.UniformsLib[ "shadowmap" ], - - { - "ambient" : { type: "c", value: new THREE.Color( 0xffffff ) }, - "emissive" : { type: "c", value: new THREE.Color( 0x000000 ) }, - "wrapRGB" : { type: "v3", value: new THREE.Vector3( 1, 1, 1 ) } - } - - ] ), - - vertexShader: [ - - "#define LAMBERT", - - "varying vec3 vLightFront;", - - "#ifdef DOUBLE_SIDED", - - "varying vec3 vLightBack;", - - "#endif", - - THREE.ShaderChunk[ "map_pars_vertex" ], - THREE.ShaderChunk[ "lightmap_pars_vertex" ], - THREE.ShaderChunk[ "envmap_pars_vertex" ], - THREE.ShaderChunk[ "lights_lambert_pars_vertex" ], - THREE.ShaderChunk[ "color_pars_vertex" ], - THREE.ShaderChunk[ "morphtarget_pars_vertex" ], - THREE.ShaderChunk[ "skinning_pars_vertex" ], - THREE.ShaderChunk[ "shadowmap_pars_vertex" ], - - "void main() {", - - THREE.ShaderChunk[ "map_vertex" ], - THREE.ShaderChunk[ "lightmap_vertex" ], - THREE.ShaderChunk[ "color_vertex" ], - - THREE.ShaderChunk[ "morphnormal_vertex" ], - THREE.ShaderChunk[ "skinbase_vertex" ], - THREE.ShaderChunk[ "skinnormal_vertex" ], - THREE.ShaderChunk[ "defaultnormal_vertex" ], - - THREE.ShaderChunk[ "morphtarget_vertex" ], - THREE.ShaderChunk[ "skinning_vertex" ], - THREE.ShaderChunk[ "default_vertex" ], - - THREE.ShaderChunk[ "worldpos_vertex" ], - THREE.ShaderChunk[ "envmap_vertex" ], - THREE.ShaderChunk[ "lights_lambert_vertex" ], - THREE.ShaderChunk[ "shadowmap_vertex" ], - - "}" - - ].join("\n"), - - fragmentShader: [ - - "uniform float opacity;", - - "varying vec3 vLightFront;", - - "#ifdef DOUBLE_SIDED", - - "varying vec3 vLightBack;", - - "#endif", - - THREE.ShaderChunk[ "color_pars_fragment" ], - THREE.ShaderChunk[ "map_pars_fragment" ], - THREE.ShaderChunk[ "lightmap_pars_fragment" ], - THREE.ShaderChunk[ "envmap_pars_fragment" ], - THREE.ShaderChunk[ "fog_pars_fragment" ], - THREE.ShaderChunk[ "shadowmap_pars_fragment" ], - THREE.ShaderChunk[ "specularmap_pars_fragment" ], - - "void main() {", - - "gl_FragColor = vec4( vec3 ( 1.0 ), opacity );", - - THREE.ShaderChunk[ "map_fragment" ], - THREE.ShaderChunk[ "alphatest_fragment" ], - THREE.ShaderChunk[ "specularmap_fragment" ], - - "#ifdef DOUBLE_SIDED", - - //"float isFront = float( gl_FrontFacing );", - //"gl_FragColor.xyz *= isFront * vLightFront + ( 1.0 - isFront ) * vLightBack;", - - "if ( gl_FrontFacing )", - "gl_FragColor.xyz *= vLightFront;", - "else", - "gl_FragColor.xyz *= vLightBack;", - - "#else", - - "gl_FragColor.xyz *= vLightFront;", - - "#endif", - - THREE.ShaderChunk[ "lightmap_fragment" ], - THREE.ShaderChunk[ "color_fragment" ], - THREE.ShaderChunk[ "envmap_fragment" ], - THREE.ShaderChunk[ "shadowmap_fragment" ], - - THREE.ShaderChunk[ "linear_to_gamma_fragment" ], - - THREE.ShaderChunk[ "fog_fragment" ], - - "}" - - ].join("\n") - - }, - - 'phong': { - - uniforms: THREE.UniformsUtils.merge( [ - - THREE.UniformsLib[ "common" ], - THREE.UniformsLib[ "bump" ], - THREE.UniformsLib[ "normalmap" ], - THREE.UniformsLib[ "fog" ], - THREE.UniformsLib[ "lights" ], - THREE.UniformsLib[ "shadowmap" ], - - { - "ambient" : { type: "c", value: new THREE.Color( 0xffffff ) }, - "emissive" : { type: "c", value: new THREE.Color( 0x000000 ) }, - "specular" : { type: "c", value: new THREE.Color( 0x111111 ) }, - "shininess": { type: "f", value: 30 }, - "wrapRGB" : { type: "v3", value: new THREE.Vector3( 1, 1, 1 ) } - } - - ] ), - - vertexShader: [ - - "#define PHONG", - - "varying vec3 vViewPosition;", - "varying vec3 vNormal;", - - THREE.ShaderChunk[ "map_pars_vertex" ], - THREE.ShaderChunk[ "lightmap_pars_vertex" ], - THREE.ShaderChunk[ "envmap_pars_vertex" ], - THREE.ShaderChunk[ "lights_phong_pars_vertex" ], - THREE.ShaderChunk[ "color_pars_vertex" ], - THREE.ShaderChunk[ "morphtarget_pars_vertex" ], - THREE.ShaderChunk[ "skinning_pars_vertex" ], - THREE.ShaderChunk[ "shadowmap_pars_vertex" ], - - "void main() {", - - THREE.ShaderChunk[ "map_vertex" ], - THREE.ShaderChunk[ "lightmap_vertex" ], - THREE.ShaderChunk[ "color_vertex" ], - - THREE.ShaderChunk[ "morphnormal_vertex" ], - THREE.ShaderChunk[ "skinbase_vertex" ], - THREE.ShaderChunk[ "skinnormal_vertex" ], - THREE.ShaderChunk[ "defaultnormal_vertex" ], - - "vNormal = transformedNormal;", - - THREE.ShaderChunk[ "morphtarget_vertex" ], - THREE.ShaderChunk[ "skinning_vertex" ], - THREE.ShaderChunk[ "default_vertex" ], - - "vViewPosition = -mvPosition.xyz;", - - THREE.ShaderChunk[ "worldpos_vertex" ], - THREE.ShaderChunk[ "envmap_vertex" ], - THREE.ShaderChunk[ "lights_phong_vertex" ], - THREE.ShaderChunk[ "shadowmap_vertex" ], - - "}" - - ].join("\n"), - - fragmentShader: [ - - "uniform vec3 diffuse;", - "uniform float opacity;", - - "uniform vec3 ambient;", - "uniform vec3 emissive;", - "uniform vec3 specular;", - "uniform float shininess;", - - THREE.ShaderChunk[ "color_pars_fragment" ], - THREE.ShaderChunk[ "map_pars_fragment" ], - THREE.ShaderChunk[ "lightmap_pars_fragment" ], - THREE.ShaderChunk[ "envmap_pars_fragment" ], - THREE.ShaderChunk[ "fog_pars_fragment" ], - THREE.ShaderChunk[ "lights_phong_pars_fragment" ], - THREE.ShaderChunk[ "shadowmap_pars_fragment" ], - THREE.ShaderChunk[ "bumpmap_pars_fragment" ], - THREE.ShaderChunk[ "normalmap_pars_fragment" ], - THREE.ShaderChunk[ "specularmap_pars_fragment" ], - - "void main() {", - - "gl_FragColor = vec4( vec3 ( 1.0 ), opacity );", - - THREE.ShaderChunk[ "map_fragment" ], - THREE.ShaderChunk[ "alphatest_fragment" ], - THREE.ShaderChunk[ "specularmap_fragment" ], - - THREE.ShaderChunk[ "lights_phong_fragment" ], - - THREE.ShaderChunk[ "lightmap_fragment" ], - THREE.ShaderChunk[ "color_fragment" ], - THREE.ShaderChunk[ "envmap_fragment" ], - THREE.ShaderChunk[ "shadowmap_fragment" ], - - THREE.ShaderChunk[ "linear_to_gamma_fragment" ], - - THREE.ShaderChunk[ "fog_fragment" ], - - "}" - - ].join("\n") - - }, - - 'particle_basic': { - - uniforms: THREE.UniformsUtils.merge( [ - - THREE.UniformsLib[ "particle" ], - THREE.UniformsLib[ "shadowmap" ] - - ] ), - - vertexShader: [ - - "uniform float size;", - "uniform float scale;", - - THREE.ShaderChunk[ "color_pars_vertex" ], - THREE.ShaderChunk[ "shadowmap_pars_vertex" ], - - "void main() {", - - THREE.ShaderChunk[ "color_vertex" ], - - "vec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );", - - "#ifdef USE_SIZEATTENUATION", - "gl_PointSize = size * ( scale / length( mvPosition.xyz ) );", - "#else", - "gl_PointSize = size;", - "#endif", - - "gl_Position = projectionMatrix * mvPosition;", - - THREE.ShaderChunk[ "worldpos_vertex" ], - THREE.ShaderChunk[ "shadowmap_vertex" ], - - "}" - - ].join("\n"), - - fragmentShader: [ - - "uniform vec3 psColor;", - "uniform float opacity;", - - THREE.ShaderChunk[ "color_pars_fragment" ], - THREE.ShaderChunk[ "map_particle_pars_fragment" ], - THREE.ShaderChunk[ "fog_pars_fragment" ], - THREE.ShaderChunk[ "shadowmap_pars_fragment" ], - - "void main() {", - - "gl_FragColor = vec4( psColor, opacity );", - - THREE.ShaderChunk[ "map_particle_fragment" ], - THREE.ShaderChunk[ "alphatest_fragment" ], - THREE.ShaderChunk[ "color_fragment" ], - THREE.ShaderChunk[ "shadowmap_fragment" ], - THREE.ShaderChunk[ "fog_fragment" ], - - "}" - - ].join("\n") - - }, - - // Depth encoding into RGBA texture - // based on SpiderGL shadow map example - // http://spidergl.org/example.php?id=6 - // originally from - // http://www.gamedev.net/topic/442138-packing-a-float-into-a-a8r8g8b8-texture-shader/page__whichpage__1%25EF%25BF%25BD - // see also here: - // http://aras-p.info/blog/2009/07/30/encoding-floats-to-rgba-the-final/ - - 'depthRGBA': { - - uniforms: {}, - - vertexShader: [ - - THREE.ShaderChunk[ "morphtarget_pars_vertex" ], - THREE.ShaderChunk[ "skinning_pars_vertex" ], - - "void main() {", - - THREE.ShaderChunk[ "skinbase_vertex" ], - THREE.ShaderChunk[ "morphtarget_vertex" ], - THREE.ShaderChunk[ "skinning_vertex" ], - THREE.ShaderChunk[ "default_vertex" ], - - "}" - - ].join("\n"), - - fragmentShader: [ - - "vec4 pack_depth( const in float depth ) {", - - "const vec4 bit_shift = vec4( 256.0 * 256.0 * 256.0, 256.0 * 256.0, 256.0, 1.0 );", - "const vec4 bit_mask = vec4( 0.0, 1.0 / 256.0, 1.0 / 256.0, 1.0 / 256.0 );", - "vec4 res = fract( depth * bit_shift );", - "res -= res.xxyz * bit_mask;", - "return res;", - - "}", - - "void main() {", - - "gl_FragData[ 0 ] = pack_depth( gl_FragCoord.z );", - - //"gl_FragData[ 0 ] = pack_depth( gl_FragCoord.z / gl_FragCoord.w );", - //"float z = ( ( gl_FragCoord.z / gl_FragCoord.w ) - 3.0 ) / ( 4000.0 - 3.0 );", - //"gl_FragData[ 0 ] = pack_depth( z );", - //"gl_FragData[ 0 ] = vec4( z, z, z, 1.0 );", - - "}" - - ].join("\n") - - } - -}; -/** - * @author supereggbert / http://www.paulbrunt.co.uk/ - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * @author szimek / https://github.com/szimek/ - */ - -THREE.WebGLRenderer = function ( parameters ) { - - console.log( 'THREE.WebGLRenderer', THREE.REVISION ); - - parameters = parameters || {}; - - var _canvas = parameters.canvas !== undefined ? parameters.canvas : document.createElement( 'canvas' ), - - _precision = parameters.precision !== undefined ? parameters.precision : 'highp', - - _alpha = parameters.alpha !== undefined ? parameters.alpha : true, - _premultipliedAlpha = parameters.premultipliedAlpha !== undefined ? parameters.premultipliedAlpha : true, - _antialias = parameters.antialias !== undefined ? parameters.antialias : false, - _stencil = parameters.stencil !== undefined ? parameters.stencil : true, - _preserveDrawingBuffer = parameters.preserveDrawingBuffer !== undefined ? parameters.preserveDrawingBuffer : false, - - _clearColor = parameters.clearColor !== undefined ? new THREE.Color( parameters.clearColor ) : new THREE.Color( 0x000000 ), - _clearAlpha = parameters.clearAlpha !== undefined ? parameters.clearAlpha : 0, - - _maxLights = parameters.maxLights !== undefined ? parameters.maxLights : 4; - - // public properties - - this.domElement = _canvas; - this.context = null; - - // clearing - - this.autoClear = true; - this.autoClearColor = true; - this.autoClearDepth = true; - this.autoClearStencil = true; - - // scene graph - - this.sortObjects = true; - - this.autoUpdateObjects = true; - this.autoUpdateScene = true; - - // physically based shading - - this.gammaInput = false; - this.gammaOutput = false; - this.physicallyBasedShading = false; - - // shadow map - - this.shadowMapEnabled = false; - this.shadowMapAutoUpdate = true; - this.shadowMapSoft = true; - this.shadowMapCullFrontFaces = true; - this.shadowMapDebug = false; - this.shadowMapCascade = false; - - // morphs - - this.maxMorphTargets = 8; - this.maxMorphNormals = 4; - - // flags - - this.autoScaleCubemaps = true; - - // custom render plugins - - this.renderPluginsPre = []; - this.renderPluginsPost = []; - - // info - - this.info = { - - memory: { - - programs: 0, - geometries: 0, - textures: 0 - - }, - - render: { - - calls: 0, - vertices: 0, - faces: 0, - points: 0 - - } - - }; - - // internal properties - - var _this = this, - - _programs = [], - _programs_counter = 0, - - // internal state cache - - _currentProgram = null, - _currentFramebuffer = null, - _currentMaterialId = -1, - _currentGeometryGroupHash = null, - _currentCamera = null, - _geometryGroupCounter = 0, - - _usedTextureUnits = 0, - - // GL state cache - - _oldDoubleSided = -1, - _oldFlipSided = -1, - - _oldBlending = -1, - - _oldBlendEquation = -1, - _oldBlendSrc = -1, - _oldBlendDst = -1, - - _oldDepthTest = -1, - _oldDepthWrite = -1, - - _oldPolygonOffset = null, - _oldPolygonOffsetFactor = null, - _oldPolygonOffsetUnits = null, - - _oldLineWidth = null, - - _viewportX = 0, - _viewportY = 0, - _viewportWidth = 0, - _viewportHeight = 0, - _currentWidth = 0, - _currentHeight = 0, - - // frustum - - _frustum = new THREE.Frustum(), - - // camera matrices cache - - _projScreenMatrix = new THREE.Matrix4(), - _projScreenMatrixPS = new THREE.Matrix4(), - - _vector3 = new THREE.Vector4(), - - // light arrays cache - - _direction = new THREE.Vector3(), - - _lightsNeedUpdate = true, - - _lights = { - - ambient: [ 0, 0, 0 ], - directional: { length: 0, colors: new Array(), positions: new Array() }, - point: { length: 0, colors: new Array(), positions: new Array(), distances: new Array() }, - spot: { length: 0, colors: new Array(), positions: new Array(), distances: new Array(), directions: new Array(), angles: new Array(), exponents: new Array() }, - hemi: { length: 0, skyColors: new Array(), groundColors: new Array(), positions: new Array() } - - }; - - // initialize - - var _gl; - - var _glExtensionTextureFloat; - var _glExtensionStandardDerivatives; - var _glExtensionTextureFilterAnisotropic; - var _glExtensionCompressedTextureS3TC; - - initGL(); - - setDefaultGLState(); - - this.context = _gl; - - // GPU capabilities - - var _maxTextures = _gl.getParameter( _gl.MAX_TEXTURE_IMAGE_UNITS ); - var _maxVertexTextures = _gl.getParameter( _gl.MAX_VERTEX_TEXTURE_IMAGE_UNITS ); - var _maxTextureSize = _gl.getParameter( _gl.MAX_TEXTURE_SIZE ); - var _maxCubemapSize = _gl.getParameter( _gl.MAX_CUBE_MAP_TEXTURE_SIZE ); - - var _maxAnisotropy = _glExtensionTextureFilterAnisotropic ? _gl.getParameter( _glExtensionTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT ) : 0; - - var _supportsVertexTextures = ( _maxVertexTextures > 0 ); - var _supportsBoneTextures = _supportsVertexTextures && _glExtensionTextureFloat; - - var _compressedTextureFormats = _glExtensionCompressedTextureS3TC ? _gl.getParameter( _gl.COMPRESSED_TEXTURE_FORMATS ) : []; - - // API - - this.getContext = function () { - - return _gl; - - }; - - this.supportsVertexTextures = function () { - - return _supportsVertexTextures; - - }; - - this.getMaxAnisotropy = function () { - - return _maxAnisotropy; - - }; - - this.setSize = function ( width, height ) { - - _canvas.width = width; - _canvas.height = height; - - this.setViewport( 0, 0, _canvas.width, _canvas.height ); - - }; - - this.setViewport = function ( x, y, width, height ) { - - _viewportX = x !== undefined ? x : 0; - _viewportY = y !== undefined ? y : 0; - - _viewportWidth = width !== undefined ? width : _canvas.width; - _viewportHeight = height !== undefined ? height : _canvas.height; - - _gl.viewport( _viewportX, _viewportY, _viewportWidth, _viewportHeight ); - - }; - - this.setScissor = function ( x, y, width, height ) { - - _gl.scissor( x, y, width, height ); - - }; - - this.enableScissorTest = function ( enable ) { - - enable ? _gl.enable( _gl.SCISSOR_TEST ) : _gl.disable( _gl.SCISSOR_TEST ); - - }; - - // Clearing - - this.setClearColorHex = function ( hex, alpha ) { - - _clearColor.setHex( hex ); - _clearAlpha = alpha; - - _gl.clearColor( _clearColor.r, _clearColor.g, _clearColor.b, _clearAlpha ); - - }; - - this.setClearColor = function ( color, alpha ) { - - _clearColor.copy( color ); - _clearAlpha = alpha; - - _gl.clearColor( _clearColor.r, _clearColor.g, _clearColor.b, _clearAlpha ); - - }; - - this.getClearColor = function () { - - return _clearColor; - - }; - - this.getClearAlpha = function () { - - return _clearAlpha; - - }; - - this.clear = function ( color, depth, stencil ) { - - var bits = 0; - - if ( color === undefined || color ) bits |= _gl.COLOR_BUFFER_BIT; - if ( depth === undefined || depth ) bits |= _gl.DEPTH_BUFFER_BIT; - if ( stencil === undefined || stencil ) bits |= _gl.STENCIL_BUFFER_BIT; - - _gl.clear( bits ); - - }; - - this.clearTarget = function ( renderTarget, color, depth, stencil ) { - - this.setRenderTarget( renderTarget ); - this.clear( color, depth, stencil ); - - }; - - // Plugins - - this.addPostPlugin = function ( plugin ) { - - plugin.init( this ); - this.renderPluginsPost.push( plugin ); - - }; - - this.addPrePlugin = function ( plugin ) { - - plugin.init( this ); - this.renderPluginsPre.push( plugin ); - - }; - - // Deallocation - - this.deallocateObject = function ( object ) { - - if ( ! object.__webglInit ) return; - - object.__webglInit = false; - - delete object._modelViewMatrix; - delete object._normalMatrix; - - delete object._normalMatrixArray; - delete object._modelViewMatrixArray; - delete object._modelMatrixArray; - - if ( object instanceof THREE.Mesh ) { - - for ( var g in object.geometry.geometryGroups ) { - - deleteMeshBuffers( object.geometry.geometryGroups[ g ] ); - - } - - } else if ( object instanceof THREE.Ribbon ) { - - deleteRibbonBuffers( object.geometry ); - - } else if ( object instanceof THREE.Line ) { - - deleteLineBuffers( object.geometry ); - - } else if ( object instanceof THREE.ParticleSystem ) { - - deleteParticleBuffers( object.geometry ); - - } - - }; - - this.deallocateTexture = function ( texture ) { - - if ( ! texture.__webglInit ) return; - - texture.__webglInit = false; - _gl.deleteTexture( texture.__webglTexture ); - - _this.info.memory.textures --; - - }; - - this.deallocateRenderTarget = function ( renderTarget ) { - - if ( !renderTarget || ! renderTarget.__webglTexture ) return; - - _gl.deleteTexture( renderTarget.__webglTexture ); - - if ( renderTarget instanceof THREE.WebGLRenderTargetCube ) { - - for ( var i = 0; i < 6; i ++ ) { - - _gl.deleteFramebuffer( renderTarget.__webglFramebuffer[ i ] ); - _gl.deleteRenderbuffer( renderTarget.__webglRenderbuffer[ i ] ); - - } - - } else { - - _gl.deleteFramebuffer( renderTarget.__webglFramebuffer ); - _gl.deleteRenderbuffer( renderTarget.__webglRenderbuffer ); - - } - - }; - - this.deallocateMaterial = function ( material ) { - - var program = material.program; - - if ( ! program ) return; - - material.program = undefined; - - // only deallocate GL program if this was the last use of shared program - // assumed there is only single copy of any program in the _programs list - // (that's how it's constructed) - - var i, il, programInfo; - var deleteProgram = false; - - for ( i = 0, il = _programs.length; i < il; i ++ ) { - - programInfo = _programs[ i ]; - - if ( programInfo.program === program ) { - - programInfo.usedTimes --; - - if ( programInfo.usedTimes === 0 ) { - - deleteProgram = true; - - } - - break; - - } - - } - - if ( deleteProgram ) { - - // avoid using array.splice, this is costlier than creating new array from scratch - - var newPrograms = []; - - for ( i = 0, il = _programs.length; i < il; i ++ ) { - - programInfo = _programs[ i ]; - - if ( programInfo.program !== program ) { - - newPrograms.push( programInfo ); - - } - - } - - _programs = newPrograms; - - _gl.deleteProgram( program ); - - _this.info.memory.programs --; - - } - - }; - - // Rendering - - this.updateShadowMap = function ( scene, camera ) { - - _currentProgram = null; - _oldBlending = -1; - _oldDepthTest = -1; - _oldDepthWrite = -1; - _currentGeometryGroupHash = -1; - _currentMaterialId = -1; - _lightsNeedUpdate = true; - _oldDoubleSided = -1; - _oldFlipSided = -1; - - this.shadowMapPlugin.update( scene, camera ); - - }; - - // Internal functions - - // Buffer allocation - - function createParticleBuffers ( geometry ) { - - geometry.__webglVertexBuffer = _gl.createBuffer(); - geometry.__webglColorBuffer = _gl.createBuffer(); - - _this.info.memory.geometries ++; - - }; - - function createLineBuffers ( geometry ) { - - geometry.__webglVertexBuffer = _gl.createBuffer(); - geometry.__webglColorBuffer = _gl.createBuffer(); - - _this.info.memory.geometries ++; - - }; - - function createRibbonBuffers ( geometry ) { - - geometry.__webglVertexBuffer = _gl.createBuffer(); - geometry.__webglColorBuffer = _gl.createBuffer(); - - _this.info.memory.geometries ++; - - }; - - function createMeshBuffers ( geometryGroup ) { - - geometryGroup.__webglVertexBuffer = _gl.createBuffer(); - geometryGroup.__webglNormalBuffer = _gl.createBuffer(); - geometryGroup.__webglTangentBuffer = _gl.createBuffer(); - geometryGroup.__webglColorBuffer = _gl.createBuffer(); - geometryGroup.__webglUVBuffer = _gl.createBuffer(); - geometryGroup.__webglUV2Buffer = _gl.createBuffer(); - - geometryGroup.__webglSkinIndicesBuffer = _gl.createBuffer(); - geometryGroup.__webglSkinWeightsBuffer = _gl.createBuffer(); - - geometryGroup.__webglFaceBuffer = _gl.createBuffer(); - geometryGroup.__webglLineBuffer = _gl.createBuffer(); - - var m, ml; - - if ( geometryGroup.numMorphTargets ) { - - geometryGroup.__webglMorphTargetsBuffers = []; - - for ( m = 0, ml = geometryGroup.numMorphTargets; m < ml; m ++ ) { - - geometryGroup.__webglMorphTargetsBuffers.push( _gl.createBuffer() ); - - } - - } - - if ( geometryGroup.numMorphNormals ) { - - geometryGroup.__webglMorphNormalsBuffers = []; - - for ( m = 0, ml = geometryGroup.numMorphNormals; m < ml; m ++ ) { - - geometryGroup.__webglMorphNormalsBuffers.push( _gl.createBuffer() ); - - } - - } - - _this.info.memory.geometries ++; - - }; - - // Buffer deallocation - - function deleteParticleBuffers ( geometry ) { - - _gl.deleteBuffer( geometry.__webglVertexBuffer ); - _gl.deleteBuffer( geometry.__webglColorBuffer ); - - _this.info.memory.geometries --; - - }; - - function deleteLineBuffers ( geometry ) { - - _gl.deleteBuffer( geometry.__webglVertexBuffer ); - _gl.deleteBuffer( geometry.__webglColorBuffer ); - - _this.info.memory.geometries --; - - }; - - function deleteRibbonBuffers ( geometry ) { - - _gl.deleteBuffer( geometry.__webglVertexBuffer ); - _gl.deleteBuffer( geometry.__webglColorBuffer ); - - _this.info.memory.geometries --; - - }; - - function deleteMeshBuffers ( geometryGroup ) { - - _gl.deleteBuffer( geometryGroup.__webglVertexBuffer ); - _gl.deleteBuffer( geometryGroup.__webglNormalBuffer ); - _gl.deleteBuffer( geometryGroup.__webglTangentBuffer ); - _gl.deleteBuffer( geometryGroup.__webglColorBuffer ); - _gl.deleteBuffer( geometryGroup.__webglUVBuffer ); - _gl.deleteBuffer( geometryGroup.__webglUV2Buffer ); - - _gl.deleteBuffer( geometryGroup.__webglSkinIndicesBuffer ); - _gl.deleteBuffer( geometryGroup.__webglSkinWeightsBuffer ); - - _gl.deleteBuffer( geometryGroup.__webglFaceBuffer ); - _gl.deleteBuffer( geometryGroup.__webglLineBuffer ); - - var m, ml; - - if ( geometryGroup.numMorphTargets ) { - - for ( m = 0, ml = geometryGroup.numMorphTargets; m < ml; m ++ ) { - - _gl.deleteBuffer( geometryGroup.__webglMorphTargetsBuffers[ m ] ); - - } - - } - - if ( geometryGroup.numMorphNormals ) { - - for ( m = 0, ml = geometryGroup.numMorphNormals; m < ml; m ++ ) { - - _gl.deleteBuffer( geometryGroup.__webglMorphNormalsBuffers[ m ] ); - - } - - } - - - if ( geometryGroup.__webglCustomAttributesList ) { - - for ( var id in geometryGroup.__webglCustomAttributesList ) { - - _gl.deleteBuffer( geometryGroup.__webglCustomAttributesList[ id ].buffer ); - - } - - } - - _this.info.memory.geometries --; - - }; - - // Buffer initialization - - function initCustomAttributes ( geometry, object ) { - - var nvertices = geometry.vertices.length; - - var material = object.material; - - if ( material.attributes ) { - - if ( geometry.__webglCustomAttributesList === undefined ) { - - geometry.__webglCustomAttributesList = []; - - } - - for ( var a in material.attributes ) { - - var attribute = material.attributes[ a ]; - - if( !attribute.__webglInitialized || attribute.createUniqueBuffers ) { - - attribute.__webglInitialized = true; - - var size = 1; // "f" and "i" - - if ( attribute.type === "v2" ) size = 2; - else if ( attribute.type === "v3" ) size = 3; - else if ( attribute.type === "v4" ) size = 4; - else if ( attribute.type === "c" ) size = 3; - - attribute.size = size; - - attribute.array = new Float32Array( nvertices * size ); - - attribute.buffer = _gl.createBuffer(); - attribute.buffer.belongsToAttribute = a; - - attribute.needsUpdate = true; - - } - - geometry.__webglCustomAttributesList.push( attribute ); - - } - - } - - }; - - function initParticleBuffers ( geometry, object ) { - - var nvertices = geometry.vertices.length; - - geometry.__vertexArray = new Float32Array( nvertices * 3 ); - geometry.__colorArray = new Float32Array( nvertices * 3 ); - - geometry.__sortArray = []; - - geometry.__webglParticleCount = nvertices; - - initCustomAttributes ( geometry, object ); - - }; - - function initLineBuffers ( geometry, object ) { - - var nvertices = geometry.vertices.length; - - geometry.__vertexArray = new Float32Array( nvertices * 3 ); - geometry.__colorArray = new Float32Array( nvertices * 3 ); - - geometry.__webglLineCount = nvertices; - - initCustomAttributes ( geometry, object ); - - }; - - function initRibbonBuffers ( geometry ) { - - var nvertices = geometry.vertices.length; - - geometry.__vertexArray = new Float32Array( nvertices * 3 ); - geometry.__colorArray = new Float32Array( nvertices * 3 ); - - geometry.__webglVertexCount = nvertices; - - }; - - function initMeshBuffers ( geometryGroup, object ) { - - var geometry = object.geometry, - faces3 = geometryGroup.faces3, - faces4 = geometryGroup.faces4, - - nvertices = faces3.length * 3 + faces4.length * 4, - ntris = faces3.length * 1 + faces4.length * 2, - nlines = faces3.length * 3 + faces4.length * 4, - - material = getBufferMaterial( object, geometryGroup ), - - uvType = bufferGuessUVType( material ), - normalType = bufferGuessNormalType( material ), - vertexColorType = bufferGuessVertexColorType( material ); - - //console.log( "uvType", uvType, "normalType", normalType, "vertexColorType", vertexColorType, object, geometryGroup, material ); - - geometryGroup.__vertexArray = new Float32Array( nvertices * 3 ); - - if ( normalType ) { - - geometryGroup.__normalArray = new Float32Array( nvertices * 3 ); - - } - - if ( geometry.hasTangents ) { - - geometryGroup.__tangentArray = new Float32Array( nvertices * 4 ); - - } - - if ( vertexColorType ) { - - geometryGroup.__colorArray = new Float32Array( nvertices * 3 ); - - } - - if ( uvType ) { - - if ( geometry.faceUvs.length > 0 || geometry.faceVertexUvs.length > 0 ) { - - geometryGroup.__uvArray = new Float32Array( nvertices * 2 ); - - } - - if ( geometry.faceUvs.length > 1 || geometry.faceVertexUvs.length > 1 ) { - - geometryGroup.__uv2Array = new Float32Array( nvertices * 2 ); - - } - - } - - if ( object.geometry.skinWeights.length && object.geometry.skinIndices.length ) { - - geometryGroup.__skinIndexArray = new Float32Array( nvertices * 4 ); - geometryGroup.__skinWeightArray = new Float32Array( nvertices * 4 ); - - } - - geometryGroup.__faceArray = new Uint16Array( ntris * 3 ); - geometryGroup.__lineArray = new Uint16Array( nlines * 2 ); - - var m, ml; - - if ( geometryGroup.numMorphTargets ) { - - geometryGroup.__morphTargetsArrays = []; - - for ( m = 0, ml = geometryGroup.numMorphTargets; m < ml; m ++ ) { - - geometryGroup.__morphTargetsArrays.push( new Float32Array( nvertices * 3 ) ); - - } - - } - - if ( geometryGroup.numMorphNormals ) { - - geometryGroup.__morphNormalsArrays = []; - - for ( m = 0, ml = geometryGroup.numMorphNormals; m < ml; m ++ ) { - - geometryGroup.__morphNormalsArrays.push( new Float32Array( nvertices * 3 ) ); - - } - - } - - geometryGroup.__webglFaceCount = ntris * 3; - geometryGroup.__webglLineCount = nlines * 2; - - - // custom attributes - - if ( material.attributes ) { - - if ( geometryGroup.__webglCustomAttributesList === undefined ) { - - geometryGroup.__webglCustomAttributesList = []; - - } - - for ( var a in material.attributes ) { - - // Do a shallow copy of the attribute object so different geometryGroup chunks use different - // attribute buffers which are correctly indexed in the setMeshBuffers function - - var originalAttribute = material.attributes[ a ]; - - var attribute = {}; - - for ( var property in originalAttribute ) { - - attribute[ property ] = originalAttribute[ property ]; - - } - - if( !attribute.__webglInitialized || attribute.createUniqueBuffers ) { - - attribute.__webglInitialized = true; - - var size = 1; // "f" and "i" - - if( attribute.type === "v2" ) size = 2; - else if( attribute.type === "v3" ) size = 3; - else if( attribute.type === "v4" ) size = 4; - else if( attribute.type === "c" ) size = 3; - - attribute.size = size; - - attribute.array = new Float32Array( nvertices * size ); - - attribute.buffer = _gl.createBuffer(); - attribute.buffer.belongsToAttribute = a; - - originalAttribute.needsUpdate = true; - attribute.__original = originalAttribute; - - } - - geometryGroup.__webglCustomAttributesList.push( attribute ); - - } - - } - - geometryGroup.__inittedArrays = true; - - }; - - function getBufferMaterial( object, geometryGroup ) { - - if ( object.material && ! ( object.material instanceof THREE.MeshFaceMaterial ) ) { - - return object.material; - - } else if ( geometryGroup.materialIndex >= 0 ) { - - return object.geometry.materials[ geometryGroup.materialIndex ]; - - } - - }; - - function materialNeedsSmoothNormals ( material ) { - - return material && material.shading !== undefined && material.shading === THREE.SmoothShading; - - }; - - function bufferGuessNormalType ( material ) { - - // only MeshBasicMaterial and MeshDepthMaterial don't need normals - - if ( ( material instanceof THREE.MeshBasicMaterial && !material.envMap ) || material instanceof THREE.MeshDepthMaterial ) { - - return false; - - } - - if ( materialNeedsSmoothNormals( material ) ) { - - return THREE.SmoothShading; - - } else { - - return THREE.FlatShading; - - } - - }; - - function bufferGuessVertexColorType ( material ) { - - if ( material.vertexColors ) { - - return material.vertexColors; - - } - - return false; - - }; - - function bufferGuessUVType ( material ) { - - // material must use some texture to require uvs - - if ( material.map || material.lightMap || material.bumpMap || material.normalMap || material.specularMap || material instanceof THREE.ShaderMaterial ) { - - return true; - - } - - return false; - - }; - - // - - function initDirectBuffers( geometry ) { - - var a, attribute, type; - - for ( a in geometry.attributes ) { - - if ( a === "index" ) { - - type = _gl.ELEMENT_ARRAY_BUFFER; - - } else { - - type = _gl.ARRAY_BUFFER; - - } - - attribute = geometry.attributes[ a ]; - - attribute.buffer = _gl.createBuffer(); - - _gl.bindBuffer( type, attribute.buffer ); - _gl.bufferData( type, attribute.array, _gl.STATIC_DRAW ); - - } - - }; - - // Buffer setting - - function setParticleBuffers ( geometry, hint, object ) { - - var v, c, vertex, offset, index, color, - - vertices = geometry.vertices, - vl = vertices.length, - - colors = geometry.colors, - cl = colors.length, - - vertexArray = geometry.__vertexArray, - colorArray = geometry.__colorArray, - - sortArray = geometry.__sortArray, - - dirtyVertices = geometry.verticesNeedUpdate, - dirtyElements = geometry.elementsNeedUpdate, - dirtyColors = geometry.colorsNeedUpdate, - - customAttributes = geometry.__webglCustomAttributesList, - i, il, - a, ca, cal, value, - customAttribute; - - if ( object.sortParticles ) { - - _projScreenMatrixPS.copy( _projScreenMatrix ); - _projScreenMatrixPS.multiplySelf( object.matrixWorld ); - - for ( v = 0; v < vl; v ++ ) { - - vertex = vertices[ v ]; - - _vector3.copy( vertex ); - _projScreenMatrixPS.multiplyVector3( _vector3 ); - - sortArray[ v ] = [ _vector3.z, v ]; - - } - - sortArray.sort( function( a, b ) { return b[ 0 ] - a[ 0 ]; } ); - - for ( v = 0; v < vl; v ++ ) { - - vertex = vertices[ sortArray[v][1] ]; - - offset = v * 3; - - vertexArray[ offset ] = vertex.x; - vertexArray[ offset + 1 ] = vertex.y; - vertexArray[ offset + 2 ] = vertex.z; - - } - - for ( c = 0; c < cl; c ++ ) { - - offset = c * 3; - - color = colors[ sortArray[c][1] ]; - - colorArray[ offset ] = color.r; - colorArray[ offset + 1 ] = color.g; - colorArray[ offset + 2 ] = color.b; - - } - - if ( customAttributes ) { - - for ( i = 0, il = customAttributes.length; i < il; i ++ ) { - - customAttribute = customAttributes[ i ]; - - if ( ! ( customAttribute.boundTo === undefined || customAttribute.boundTo === "vertices" ) ) continue; - - offset = 0; - - cal = customAttribute.value.length; - - if ( customAttribute.size === 1 ) { - - for ( ca = 0; ca < cal; ca ++ ) { - - index = sortArray[ ca ][ 1 ]; - - customAttribute.array[ ca ] = customAttribute.value[ index ]; - - } - - } else if ( customAttribute.size === 2 ) { - - for ( ca = 0; ca < cal; ca ++ ) { - - index = sortArray[ ca ][ 1 ]; - - value = customAttribute.value[ index ]; - - customAttribute.array[ offset ] = value.x; - customAttribute.array[ offset + 1 ] = value.y; - - offset += 2; - - } - - } else if ( customAttribute.size === 3 ) { - - if ( customAttribute.type === "c" ) { - - for ( ca = 0; ca < cal; ca ++ ) { - - index = sortArray[ ca ][ 1 ]; - - value = customAttribute.value[ index ]; - - customAttribute.array[ offset ] = value.r; - customAttribute.array[ offset + 1 ] = value.g; - customAttribute.array[ offset + 2 ] = value.b; - - offset += 3; - - } - - } else { - - for ( ca = 0; ca < cal; ca ++ ) { - - index = sortArray[ ca ][ 1 ]; - - value = customAttribute.value[ index ]; - - customAttribute.array[ offset ] = value.x; - customAttribute.array[ offset + 1 ] = value.y; - customAttribute.array[ offset + 2 ] = value.z; - - offset += 3; - - } - - } - - } else if ( customAttribute.size === 4 ) { - - for ( ca = 0; ca < cal; ca ++ ) { - - index = sortArray[ ca ][ 1 ]; - - value = customAttribute.value[ index ]; - - customAttribute.array[ offset ] = value.x; - customAttribute.array[ offset + 1 ] = value.y; - customAttribute.array[ offset + 2 ] = value.z; - customAttribute.array[ offset + 3 ] = value.w; - - offset += 4; - - } - - } - - } - - } - - } else { - - if ( dirtyVertices ) { - - for ( v = 0; v < vl; v ++ ) { - - vertex = vertices[ v ]; - - offset = v * 3; - - vertexArray[ offset ] = vertex.x; - vertexArray[ offset + 1 ] = vertex.y; - vertexArray[ offset + 2 ] = vertex.z; - - } - - } - - if ( dirtyColors ) { - - for ( c = 0; c < cl; c ++ ) { - - color = colors[ c ]; - - offset = c * 3; - - colorArray[ offset ] = color.r; - colorArray[ offset + 1 ] = color.g; - colorArray[ offset + 2 ] = color.b; - - } - - } - - if ( customAttributes ) { - - for ( i = 0, il = customAttributes.length; i < il; i ++ ) { - - customAttribute = customAttributes[ i ]; - - if ( customAttribute.needsUpdate && - ( customAttribute.boundTo === undefined || - customAttribute.boundTo === "vertices") ) { - - cal = customAttribute.value.length; - - offset = 0; - - if ( customAttribute.size === 1 ) { - - for ( ca = 0; ca < cal; ca ++ ) { - - customAttribute.array[ ca ] = customAttribute.value[ ca ]; - - } - - } else if ( customAttribute.size === 2 ) { - - for ( ca = 0; ca < cal; ca ++ ) { - - value = customAttribute.value[ ca ]; - - customAttribute.array[ offset ] = value.x; - customAttribute.array[ offset + 1 ] = value.y; - - offset += 2; - - } - - } else if ( customAttribute.size === 3 ) { - - if ( customAttribute.type === "c" ) { - - for ( ca = 0; ca < cal; ca ++ ) { - - value = customAttribute.value[ ca ]; - - customAttribute.array[ offset ] = value.r; - customAttribute.array[ offset + 1 ] = value.g; - customAttribute.array[ offset + 2 ] = value.b; - - offset += 3; - - } - - } else { - - for ( ca = 0; ca < cal; ca ++ ) { - - value = customAttribute.value[ ca ]; - - customAttribute.array[ offset ] = value.x; - customAttribute.array[ offset + 1 ] = value.y; - customAttribute.array[ offset + 2 ] = value.z; - - offset += 3; - - } - - } - - } else if ( customAttribute.size === 4 ) { - - for ( ca = 0; ca < cal; ca ++ ) { - - value = customAttribute.value[ ca ]; - - customAttribute.array[ offset ] = value.x; - customAttribute.array[ offset + 1 ] = value.y; - customAttribute.array[ offset + 2 ] = value.z; - customAttribute.array[ offset + 3 ] = value.w; - - offset += 4; - - } - - } - - } - - } - - } - - } - - if ( dirtyVertices || object.sortParticles ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometry.__webglVertexBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, vertexArray, hint ); - - } - - if ( dirtyColors || object.sortParticles ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometry.__webglColorBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, colorArray, hint ); - - } - - if ( customAttributes ) { - - for ( i = 0, il = customAttributes.length; i < il; i ++ ) { - - customAttribute = customAttributes[ i ]; - - if ( customAttribute.needsUpdate || object.sortParticles ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, customAttribute.buffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, customAttribute.array, hint ); - - } - - } - - } - - - }; - - function setLineBuffers ( geometry, hint ) { - - var v, c, vertex, offset, color, - - vertices = geometry.vertices, - colors = geometry.colors, - vl = vertices.length, - cl = colors.length, - - vertexArray = geometry.__vertexArray, - colorArray = geometry.__colorArray, - - dirtyVertices = geometry.verticesNeedUpdate, - dirtyColors = geometry.colorsNeedUpdate, - - customAttributes = geometry.__webglCustomAttributesList, - - i, il, - a, ca, cal, value, - customAttribute; - - if ( dirtyVertices ) { - - for ( v = 0; v < vl; v ++ ) { - - vertex = vertices[ v ]; - - offset = v * 3; - - vertexArray[ offset ] = vertex.x; - vertexArray[ offset + 1 ] = vertex.y; - vertexArray[ offset + 2 ] = vertex.z; - - } - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometry.__webglVertexBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, vertexArray, hint ); - - } - - if ( dirtyColors ) { - - for ( c = 0; c < cl; c ++ ) { - - color = colors[ c ]; - - offset = c * 3; - - colorArray[ offset ] = color.r; - colorArray[ offset + 1 ] = color.g; - colorArray[ offset + 2 ] = color.b; - - } - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometry.__webglColorBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, colorArray, hint ); - - } - - if ( customAttributes ) { - - for ( i = 0, il = customAttributes.length; i < il; i ++ ) { - - customAttribute = customAttributes[ i ]; - - if ( customAttribute.needsUpdate && - ( customAttribute.boundTo === undefined || - customAttribute.boundTo === "vertices" ) ) { - - offset = 0; - - cal = customAttribute.value.length; - - if ( customAttribute.size === 1 ) { - - for ( ca = 0; ca < cal; ca ++ ) { - - customAttribute.array[ ca ] = customAttribute.value[ ca ]; - - } - - } else if ( customAttribute.size === 2 ) { - - for ( ca = 0; ca < cal; ca ++ ) { - - value = customAttribute.value[ ca ]; - - customAttribute.array[ offset ] = value.x; - customAttribute.array[ offset + 1 ] = value.y; - - offset += 2; - - } - - } else if ( customAttribute.size === 3 ) { - - if ( customAttribute.type === "c" ) { - - for ( ca = 0; ca < cal; ca ++ ) { - - value = customAttribute.value[ ca ]; - - customAttribute.array[ offset ] = value.r; - customAttribute.array[ offset + 1 ] = value.g; - customAttribute.array[ offset + 2 ] = value.b; - - offset += 3; - - } - - } else { - - for ( ca = 0; ca < cal; ca ++ ) { - - value = customAttribute.value[ ca ]; - - customAttribute.array[ offset ] = value.x; - customAttribute.array[ offset + 1 ] = value.y; - customAttribute.array[ offset + 2 ] = value.z; - - offset += 3; - - } - - } - - } else if ( customAttribute.size === 4 ) { - - for ( ca = 0; ca < cal; ca ++ ) { - - value = customAttribute.value[ ca ]; - - customAttribute.array[ offset ] = value.x; - customAttribute.array[ offset + 1 ] = value.y; - customAttribute.array[ offset + 2 ] = value.z; - customAttribute.array[ offset + 3 ] = value.w; - - offset += 4; - - } - - } - - _gl.bindBuffer( _gl.ARRAY_BUFFER, customAttribute.buffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, customAttribute.array, hint ); - - } - - } - - } - - }; - - function setRibbonBuffers ( geometry, hint ) { - - var v, c, vertex, offset, color, - - vertices = geometry.vertices, - colors = geometry.colors, - vl = vertices.length, - cl = colors.length, - - vertexArray = geometry.__vertexArray, - colorArray = geometry.__colorArray, - - dirtyVertices = geometry.verticesNeedUpdate, - dirtyColors = geometry.colorsNeedUpdate; - - if ( dirtyVertices ) { - - for ( v = 0; v < vl; v ++ ) { - - vertex = vertices[ v ]; - - offset = v * 3; - - vertexArray[ offset ] = vertex.x; - vertexArray[ offset + 1 ] = vertex.y; - vertexArray[ offset + 2 ] = vertex.z; - - } - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometry.__webglVertexBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, vertexArray, hint ); - - } - - if ( dirtyColors ) { - - for ( c = 0; c < cl; c ++ ) { - - color = colors[ c ]; - - offset = c * 3; - - colorArray[ offset ] = color.r; - colorArray[ offset + 1 ] = color.g; - colorArray[ offset + 2 ] = color.b; - - } - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometry.__webglColorBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, colorArray, hint ); - - } - - }; - - function setMeshBuffers( geometryGroup, object, hint, dispose, material ) { - - if ( ! geometryGroup.__inittedArrays ) { - - // console.log( object ); - return; - - } - - var normalType = bufferGuessNormalType( material ), - vertexColorType = bufferGuessVertexColorType( material ), - uvType = bufferGuessUVType( material ), - - needsSmoothNormals = ( normalType === THREE.SmoothShading ); - - var f, fl, fi, face, - vertexNormals, faceNormal, normal, - vertexColors, faceColor, - vertexTangents, - uv, uv2, v1, v2, v3, v4, t1, t2, t3, t4, n1, n2, n3, n4, - c1, c2, c3, c4, - sw1, sw2, sw3, sw4, - si1, si2, si3, si4, - sa1, sa2, sa3, sa4, - sb1, sb2, sb3, sb4, - m, ml, i, il, - vn, uvi, uv2i, - vk, vkl, vka, - nka, chf, faceVertexNormals, - a, - - vertexIndex = 0, - - offset = 0, - offset_uv = 0, - offset_uv2 = 0, - offset_face = 0, - offset_normal = 0, - offset_tangent = 0, - offset_line = 0, - offset_color = 0, - offset_skin = 0, - offset_morphTarget = 0, - offset_custom = 0, - offset_customSrc = 0, - - value, - - vertexArray = geometryGroup.__vertexArray, - uvArray = geometryGroup.__uvArray, - uv2Array = geometryGroup.__uv2Array, - normalArray = geometryGroup.__normalArray, - tangentArray = geometryGroup.__tangentArray, - colorArray = geometryGroup.__colorArray, - - skinIndexArray = geometryGroup.__skinIndexArray, - skinWeightArray = geometryGroup.__skinWeightArray, - - morphTargetsArrays = geometryGroup.__morphTargetsArrays, - morphNormalsArrays = geometryGroup.__morphNormalsArrays, - - customAttributes = geometryGroup.__webglCustomAttributesList, - customAttribute, - - faceArray = geometryGroup.__faceArray, - lineArray = geometryGroup.__lineArray, - - geometry = object.geometry, // this is shared for all chunks - - dirtyVertices = geometry.verticesNeedUpdate, - dirtyElements = geometry.elementsNeedUpdate, - dirtyUvs = geometry.uvsNeedUpdate, - dirtyNormals = geometry.normalsNeedUpdate, - dirtyTangents = geometry.tangentsNeedUpdate, - dirtyColors = geometry.colorsNeedUpdate, - dirtyMorphTargets = geometry.morphTargetsNeedUpdate, - - vertices = geometry.vertices, - chunk_faces3 = geometryGroup.faces3, - chunk_faces4 = geometryGroup.faces4, - obj_faces = geometry.faces, - - obj_uvs = geometry.faceVertexUvs[ 0 ], - obj_uvs2 = geometry.faceVertexUvs[ 1 ], - - obj_colors = geometry.colors, - - obj_skinIndices = geometry.skinIndices, - obj_skinWeights = geometry.skinWeights, - - morphTargets = geometry.morphTargets, - morphNormals = geometry.morphNormals; - - if ( dirtyVertices ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces3[ f ] ]; - - v1 = vertices[ face.a ]; - v2 = vertices[ face.b ]; - v3 = vertices[ face.c ]; - - vertexArray[ offset ] = v1.x; - vertexArray[ offset + 1 ] = v1.y; - vertexArray[ offset + 2 ] = v1.z; - - vertexArray[ offset + 3 ] = v2.x; - vertexArray[ offset + 4 ] = v2.y; - vertexArray[ offset + 5 ] = v2.z; - - vertexArray[ offset + 6 ] = v3.x; - vertexArray[ offset + 7 ] = v3.y; - vertexArray[ offset + 8 ] = v3.z; - - offset += 9; - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces4[ f ] ]; - - v1 = vertices[ face.a ]; - v2 = vertices[ face.b ]; - v3 = vertices[ face.c ]; - v4 = vertices[ face.d ]; - - vertexArray[ offset ] = v1.x; - vertexArray[ offset + 1 ] = v1.y; - vertexArray[ offset + 2 ] = v1.z; - - vertexArray[ offset + 3 ] = v2.x; - vertexArray[ offset + 4 ] = v2.y; - vertexArray[ offset + 5 ] = v2.z; - - vertexArray[ offset + 6 ] = v3.x; - vertexArray[ offset + 7 ] = v3.y; - vertexArray[ offset + 8 ] = v3.z; - - vertexArray[ offset + 9 ] = v4.x; - vertexArray[ offset + 10 ] = v4.y; - vertexArray[ offset + 11 ] = v4.z; - - offset += 12; - - } - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglVertexBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, vertexArray, hint ); - - } - - if ( dirtyMorphTargets ) { - - for ( vk = 0, vkl = morphTargets.length; vk < vkl; vk ++ ) { - - offset_morphTarget = 0; - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - chf = chunk_faces3[ f ]; - face = obj_faces[ chf ]; - - // morph positions - - v1 = morphTargets[ vk ].vertices[ face.a ]; - v2 = morphTargets[ vk ].vertices[ face.b ]; - v3 = morphTargets[ vk ].vertices[ face.c ]; - - vka = morphTargetsArrays[ vk ]; - - vka[ offset_morphTarget ] = v1.x; - vka[ offset_morphTarget + 1 ] = v1.y; - vka[ offset_morphTarget + 2 ] = v1.z; - - vka[ offset_morphTarget + 3 ] = v2.x; - vka[ offset_morphTarget + 4 ] = v2.y; - vka[ offset_morphTarget + 5 ] = v2.z; - - vka[ offset_morphTarget + 6 ] = v3.x; - vka[ offset_morphTarget + 7 ] = v3.y; - vka[ offset_morphTarget + 8 ] = v3.z; - - // morph normals - - if ( material.morphNormals ) { - - if ( needsSmoothNormals ) { - - faceVertexNormals = morphNormals[ vk ].vertexNormals[ chf ]; - - n1 = faceVertexNormals.a; - n2 = faceVertexNormals.b; - n3 = faceVertexNormals.c; - - } else { - - n1 = morphNormals[ vk ].faceNormals[ chf ]; - n2 = n1; - n3 = n1; - - } - - nka = morphNormalsArrays[ vk ]; - - nka[ offset_morphTarget ] = n1.x; - nka[ offset_morphTarget + 1 ] = n1.y; - nka[ offset_morphTarget + 2 ] = n1.z; - - nka[ offset_morphTarget + 3 ] = n2.x; - nka[ offset_morphTarget + 4 ] = n2.y; - nka[ offset_morphTarget + 5 ] = n2.z; - - nka[ offset_morphTarget + 6 ] = n3.x; - nka[ offset_morphTarget + 7 ] = n3.y; - nka[ offset_morphTarget + 8 ] = n3.z; - - } - - // - - offset_morphTarget += 9; - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - chf = chunk_faces4[ f ]; - face = obj_faces[ chf ]; - - // morph positions - - v1 = morphTargets[ vk ].vertices[ face.a ]; - v2 = morphTargets[ vk ].vertices[ face.b ]; - v3 = morphTargets[ vk ].vertices[ face.c ]; - v4 = morphTargets[ vk ].vertices[ face.d ]; - - vka = morphTargetsArrays[ vk ]; - - vka[ offset_morphTarget ] = v1.x; - vka[ offset_morphTarget + 1 ] = v1.y; - vka[ offset_morphTarget + 2 ] = v1.z; - - vka[ offset_morphTarget + 3 ] = v2.x; - vka[ offset_morphTarget + 4 ] = v2.y; - vka[ offset_morphTarget + 5 ] = v2.z; - - vka[ offset_morphTarget + 6 ] = v3.x; - vka[ offset_morphTarget + 7 ] = v3.y; - vka[ offset_morphTarget + 8 ] = v3.z; - - vka[ offset_morphTarget + 9 ] = v4.x; - vka[ offset_morphTarget + 10 ] = v4.y; - vka[ offset_morphTarget + 11 ] = v4.z; - - // morph normals - - if ( material.morphNormals ) { - - if ( needsSmoothNormals ) { - - faceVertexNormals = morphNormals[ vk ].vertexNormals[ chf ]; - - n1 = faceVertexNormals.a; - n2 = faceVertexNormals.b; - n3 = faceVertexNormals.c; - n4 = faceVertexNormals.d; - - } else { - - n1 = morphNormals[ vk ].faceNormals[ chf ]; - n2 = n1; - n3 = n1; - n4 = n1; - - } - - nka = morphNormalsArrays[ vk ]; - - nka[ offset_morphTarget ] = n1.x; - nka[ offset_morphTarget + 1 ] = n1.y; - nka[ offset_morphTarget + 2 ] = n1.z; - - nka[ offset_morphTarget + 3 ] = n2.x; - nka[ offset_morphTarget + 4 ] = n2.y; - nka[ offset_morphTarget + 5 ] = n2.z; - - nka[ offset_morphTarget + 6 ] = n3.x; - nka[ offset_morphTarget + 7 ] = n3.y; - nka[ offset_morphTarget + 8 ] = n3.z; - - nka[ offset_morphTarget + 9 ] = n4.x; - nka[ offset_morphTarget + 10 ] = n4.y; - nka[ offset_morphTarget + 11 ] = n4.z; - - } - - // - - offset_morphTarget += 12; - - } - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglMorphTargetsBuffers[ vk ] ); - _gl.bufferData( _gl.ARRAY_BUFFER, morphTargetsArrays[ vk ], hint ); - - if ( material.morphNormals ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglMorphNormalsBuffers[ vk ] ); - _gl.bufferData( _gl.ARRAY_BUFFER, morphNormalsArrays[ vk ], hint ); - - } - - } - - } - - if ( obj_skinWeights.length ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces3[ f ] ]; - - // weights - - sw1 = obj_skinWeights[ face.a ]; - sw2 = obj_skinWeights[ face.b ]; - sw3 = obj_skinWeights[ face.c ]; - - skinWeightArray[ offset_skin ] = sw1.x; - skinWeightArray[ offset_skin + 1 ] = sw1.y; - skinWeightArray[ offset_skin + 2 ] = sw1.z; - skinWeightArray[ offset_skin + 3 ] = sw1.w; - - skinWeightArray[ offset_skin + 4 ] = sw2.x; - skinWeightArray[ offset_skin + 5 ] = sw2.y; - skinWeightArray[ offset_skin + 6 ] = sw2.z; - skinWeightArray[ offset_skin + 7 ] = sw2.w; - - skinWeightArray[ offset_skin + 8 ] = sw3.x; - skinWeightArray[ offset_skin + 9 ] = sw3.y; - skinWeightArray[ offset_skin + 10 ] = sw3.z; - skinWeightArray[ offset_skin + 11 ] = sw3.w; - - // indices - - si1 = obj_skinIndices[ face.a ]; - si2 = obj_skinIndices[ face.b ]; - si3 = obj_skinIndices[ face.c ]; - - skinIndexArray[ offset_skin ] = si1.x; - skinIndexArray[ offset_skin + 1 ] = si1.y; - skinIndexArray[ offset_skin + 2 ] = si1.z; - skinIndexArray[ offset_skin + 3 ] = si1.w; - - skinIndexArray[ offset_skin + 4 ] = si2.x; - skinIndexArray[ offset_skin + 5 ] = si2.y; - skinIndexArray[ offset_skin + 6 ] = si2.z; - skinIndexArray[ offset_skin + 7 ] = si2.w; - - skinIndexArray[ offset_skin + 8 ] = si3.x; - skinIndexArray[ offset_skin + 9 ] = si3.y; - skinIndexArray[ offset_skin + 10 ] = si3.z; - skinIndexArray[ offset_skin + 11 ] = si3.w; - - offset_skin += 12; - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces4[ f ] ]; - - // weights - - sw1 = obj_skinWeights[ face.a ]; - sw2 = obj_skinWeights[ face.b ]; - sw3 = obj_skinWeights[ face.c ]; - sw4 = obj_skinWeights[ face.d ]; - - skinWeightArray[ offset_skin ] = sw1.x; - skinWeightArray[ offset_skin + 1 ] = sw1.y; - skinWeightArray[ offset_skin + 2 ] = sw1.z; - skinWeightArray[ offset_skin + 3 ] = sw1.w; - - skinWeightArray[ offset_skin + 4 ] = sw2.x; - skinWeightArray[ offset_skin + 5 ] = sw2.y; - skinWeightArray[ offset_skin + 6 ] = sw2.z; - skinWeightArray[ offset_skin + 7 ] = sw2.w; - - skinWeightArray[ offset_skin + 8 ] = sw3.x; - skinWeightArray[ offset_skin + 9 ] = sw3.y; - skinWeightArray[ offset_skin + 10 ] = sw3.z; - skinWeightArray[ offset_skin + 11 ] = sw3.w; - - skinWeightArray[ offset_skin + 12 ] = sw4.x; - skinWeightArray[ offset_skin + 13 ] = sw4.y; - skinWeightArray[ offset_skin + 14 ] = sw4.z; - skinWeightArray[ offset_skin + 15 ] = sw4.w; - - // indices - - si1 = obj_skinIndices[ face.a ]; - si2 = obj_skinIndices[ face.b ]; - si3 = obj_skinIndices[ face.c ]; - si4 = obj_skinIndices[ face.d ]; - - skinIndexArray[ offset_skin ] = si1.x; - skinIndexArray[ offset_skin + 1 ] = si1.y; - skinIndexArray[ offset_skin + 2 ] = si1.z; - skinIndexArray[ offset_skin + 3 ] = si1.w; - - skinIndexArray[ offset_skin + 4 ] = si2.x; - skinIndexArray[ offset_skin + 5 ] = si2.y; - skinIndexArray[ offset_skin + 6 ] = si2.z; - skinIndexArray[ offset_skin + 7 ] = si2.w; - - skinIndexArray[ offset_skin + 8 ] = si3.x; - skinIndexArray[ offset_skin + 9 ] = si3.y; - skinIndexArray[ offset_skin + 10 ] = si3.z; - skinIndexArray[ offset_skin + 11 ] = si3.w; - - skinIndexArray[ offset_skin + 12 ] = si4.x; - skinIndexArray[ offset_skin + 13 ] = si4.y; - skinIndexArray[ offset_skin + 14 ] = si4.z; - skinIndexArray[ offset_skin + 15 ] = si4.w; - - offset_skin += 16; - - } - - if ( offset_skin > 0 ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglSkinIndicesBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, skinIndexArray, hint ); - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglSkinWeightsBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, skinWeightArray, hint ); - - } - - } - - if ( dirtyColors && vertexColorType ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces3[ f ] ]; - - vertexColors = face.vertexColors; - faceColor = face.color; - - if ( vertexColors.length === 3 && vertexColorType === THREE.VertexColors ) { - - c1 = vertexColors[ 0 ]; - c2 = vertexColors[ 1 ]; - c3 = vertexColors[ 2 ]; - - } else { - - c1 = faceColor; - c2 = faceColor; - c3 = faceColor; - - } - - colorArray[ offset_color ] = c1.r; - colorArray[ offset_color + 1 ] = c1.g; - colorArray[ offset_color + 2 ] = c1.b; - - colorArray[ offset_color + 3 ] = c2.r; - colorArray[ offset_color + 4 ] = c2.g; - colorArray[ offset_color + 5 ] = c2.b; - - colorArray[ offset_color + 6 ] = c3.r; - colorArray[ offset_color + 7 ] = c3.g; - colorArray[ offset_color + 8 ] = c3.b; - - offset_color += 9; - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces4[ f ] ]; - - vertexColors = face.vertexColors; - faceColor = face.color; - - if ( vertexColors.length === 4 && vertexColorType === THREE.VertexColors ) { - - c1 = vertexColors[ 0 ]; - c2 = vertexColors[ 1 ]; - c3 = vertexColors[ 2 ]; - c4 = vertexColors[ 3 ]; - - } else { - - c1 = faceColor; - c2 = faceColor; - c3 = faceColor; - c4 = faceColor; - - } - - colorArray[ offset_color ] = c1.r; - colorArray[ offset_color + 1 ] = c1.g; - colorArray[ offset_color + 2 ] = c1.b; - - colorArray[ offset_color + 3 ] = c2.r; - colorArray[ offset_color + 4 ] = c2.g; - colorArray[ offset_color + 5 ] = c2.b; - - colorArray[ offset_color + 6 ] = c3.r; - colorArray[ offset_color + 7 ] = c3.g; - colorArray[ offset_color + 8 ] = c3.b; - - colorArray[ offset_color + 9 ] = c4.r; - colorArray[ offset_color + 10 ] = c4.g; - colorArray[ offset_color + 11 ] = c4.b; - - offset_color += 12; - - } - - if ( offset_color > 0 ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglColorBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, colorArray, hint ); - - } - - } - - if ( dirtyTangents && geometry.hasTangents ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces3[ f ] ]; - - vertexTangents = face.vertexTangents; - - t1 = vertexTangents[ 0 ]; - t2 = vertexTangents[ 1 ]; - t3 = vertexTangents[ 2 ]; - - tangentArray[ offset_tangent ] = t1.x; - tangentArray[ offset_tangent + 1 ] = t1.y; - tangentArray[ offset_tangent + 2 ] = t1.z; - tangentArray[ offset_tangent + 3 ] = t1.w; - - tangentArray[ offset_tangent + 4 ] = t2.x; - tangentArray[ offset_tangent + 5 ] = t2.y; - tangentArray[ offset_tangent + 6 ] = t2.z; - tangentArray[ offset_tangent + 7 ] = t2.w; - - tangentArray[ offset_tangent + 8 ] = t3.x; - tangentArray[ offset_tangent + 9 ] = t3.y; - tangentArray[ offset_tangent + 10 ] = t3.z; - tangentArray[ offset_tangent + 11 ] = t3.w; - - offset_tangent += 12; - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces4[ f ] ]; - - vertexTangents = face.vertexTangents; - - t1 = vertexTangents[ 0 ]; - t2 = vertexTangents[ 1 ]; - t3 = vertexTangents[ 2 ]; - t4 = vertexTangents[ 3 ]; - - tangentArray[ offset_tangent ] = t1.x; - tangentArray[ offset_tangent + 1 ] = t1.y; - tangentArray[ offset_tangent + 2 ] = t1.z; - tangentArray[ offset_tangent + 3 ] = t1.w; - - tangentArray[ offset_tangent + 4 ] = t2.x; - tangentArray[ offset_tangent + 5 ] = t2.y; - tangentArray[ offset_tangent + 6 ] = t2.z; - tangentArray[ offset_tangent + 7 ] = t2.w; - - tangentArray[ offset_tangent + 8 ] = t3.x; - tangentArray[ offset_tangent + 9 ] = t3.y; - tangentArray[ offset_tangent + 10 ] = t3.z; - tangentArray[ offset_tangent + 11 ] = t3.w; - - tangentArray[ offset_tangent + 12 ] = t4.x; - tangentArray[ offset_tangent + 13 ] = t4.y; - tangentArray[ offset_tangent + 14 ] = t4.z; - tangentArray[ offset_tangent + 15 ] = t4.w; - - offset_tangent += 16; - - } - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglTangentBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, tangentArray, hint ); - - } - - if ( dirtyNormals && normalType ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces3[ f ] ]; - - vertexNormals = face.vertexNormals; - faceNormal = face.normal; - - if ( vertexNormals.length === 3 && needsSmoothNormals ) { - - for ( i = 0; i < 3; i ++ ) { - - vn = vertexNormals[ i ]; - - normalArray[ offset_normal ] = vn.x; - normalArray[ offset_normal + 1 ] = vn.y; - normalArray[ offset_normal + 2 ] = vn.z; - - offset_normal += 3; - - } - - } else { - - for ( i = 0; i < 3; i ++ ) { - - normalArray[ offset_normal ] = faceNormal.x; - normalArray[ offset_normal + 1 ] = faceNormal.y; - normalArray[ offset_normal + 2 ] = faceNormal.z; - - offset_normal += 3; - - } - - } - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces4[ f ] ]; - - vertexNormals = face.vertexNormals; - faceNormal = face.normal; - - if ( vertexNormals.length === 4 && needsSmoothNormals ) { - - for ( i = 0; i < 4; i ++ ) { - - vn = vertexNormals[ i ]; - - normalArray[ offset_normal ] = vn.x; - normalArray[ offset_normal + 1 ] = vn.y; - normalArray[ offset_normal + 2 ] = vn.z; - - offset_normal += 3; - - } - - } else { - - for ( i = 0; i < 4; i ++ ) { - - normalArray[ offset_normal ] = faceNormal.x; - normalArray[ offset_normal + 1 ] = faceNormal.y; - normalArray[ offset_normal + 2 ] = faceNormal.z; - - offset_normal += 3; - - } - - } - - } - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglNormalBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, normalArray, hint ); - - } - - if ( dirtyUvs && obj_uvs && uvType ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - fi = chunk_faces3[ f ]; - - uv = obj_uvs[ fi ]; - - if ( uv === undefined ) continue; - - for ( i = 0; i < 3; i ++ ) { - - uvi = uv[ i ]; - - uvArray[ offset_uv ] = uvi.u; - uvArray[ offset_uv + 1 ] = uvi.v; - - offset_uv += 2; - - } - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - fi = chunk_faces4[ f ]; - - uv = obj_uvs[ fi ]; - - if ( uv === undefined ) continue; - - for ( i = 0; i < 4; i ++ ) { - - uvi = uv[ i ]; - - uvArray[ offset_uv ] = uvi.u; - uvArray[ offset_uv + 1 ] = uvi.v; - - offset_uv += 2; - - } - - } - - if ( offset_uv > 0 ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglUVBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, uvArray, hint ); - - } - - } - - if ( dirtyUvs && obj_uvs2 && uvType ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - fi = chunk_faces3[ f ]; - - uv2 = obj_uvs2[ fi ]; - - if ( uv2 === undefined ) continue; - - for ( i = 0; i < 3; i ++ ) { - - uv2i = uv2[ i ]; - - uv2Array[ offset_uv2 ] = uv2i.u; - uv2Array[ offset_uv2 + 1 ] = uv2i.v; - - offset_uv2 += 2; - - } - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - fi = chunk_faces4[ f ]; - - uv2 = obj_uvs2[ fi ]; - - if ( uv2 === undefined ) continue; - - for ( i = 0; i < 4; i ++ ) { - - uv2i = uv2[ i ]; - - uv2Array[ offset_uv2 ] = uv2i.u; - uv2Array[ offset_uv2 + 1 ] = uv2i.v; - - offset_uv2 += 2; - - } - - } - - if ( offset_uv2 > 0 ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglUV2Buffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, uv2Array, hint ); - - } - - } - - if ( dirtyElements ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - faceArray[ offset_face ] = vertexIndex; - faceArray[ offset_face + 1 ] = vertexIndex + 1; - faceArray[ offset_face + 2 ] = vertexIndex + 2; - - offset_face += 3; - - lineArray[ offset_line ] = vertexIndex; - lineArray[ offset_line + 1 ] = vertexIndex + 1; - - lineArray[ offset_line + 2 ] = vertexIndex; - lineArray[ offset_line + 3 ] = vertexIndex + 2; - - lineArray[ offset_line + 4 ] = vertexIndex + 1; - lineArray[ offset_line + 5 ] = vertexIndex + 2; - - offset_line += 6; - - vertexIndex += 3; - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - faceArray[ offset_face ] = vertexIndex; - faceArray[ offset_face + 1 ] = vertexIndex + 1; - faceArray[ offset_face + 2 ] = vertexIndex + 3; - - faceArray[ offset_face + 3 ] = vertexIndex + 1; - faceArray[ offset_face + 4 ] = vertexIndex + 2; - faceArray[ offset_face + 5 ] = vertexIndex + 3; - - offset_face += 6; - - lineArray[ offset_line ] = vertexIndex; - lineArray[ offset_line + 1 ] = vertexIndex + 1; - - lineArray[ offset_line + 2 ] = vertexIndex; - lineArray[ offset_line + 3 ] = vertexIndex + 3; - - lineArray[ offset_line + 4 ] = vertexIndex + 1; - lineArray[ offset_line + 5 ] = vertexIndex + 2; - - lineArray[ offset_line + 6 ] = vertexIndex + 2; - lineArray[ offset_line + 7 ] = vertexIndex + 3; - - offset_line += 8; - - vertexIndex += 4; - - } - - _gl.bindBuffer( _gl.ELEMENT_ARRAY_BUFFER, geometryGroup.__webglFaceBuffer ); - _gl.bufferData( _gl.ELEMENT_ARRAY_BUFFER, faceArray, hint ); - - _gl.bindBuffer( _gl.ELEMENT_ARRAY_BUFFER, geometryGroup.__webglLineBuffer ); - _gl.bufferData( _gl.ELEMENT_ARRAY_BUFFER, lineArray, hint ); - - } - - if ( customAttributes ) { - - for ( i = 0, il = customAttributes.length; i < il; i ++ ) { - - customAttribute = customAttributes[ i ]; - - if ( ! customAttribute.__original.needsUpdate ) continue; - - offset_custom = 0; - offset_customSrc = 0; - - if ( customAttribute.size === 1 ) { - - if ( customAttribute.boundTo === undefined || customAttribute.boundTo === "vertices" ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces3[ f ] ]; - - customAttribute.array[ offset_custom ] = customAttribute.value[ face.a ]; - customAttribute.array[ offset_custom + 1 ] = customAttribute.value[ face.b ]; - customAttribute.array[ offset_custom + 2 ] = customAttribute.value[ face.c ]; - - offset_custom += 3; - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces4[ f ] ]; - - customAttribute.array[ offset_custom ] = customAttribute.value[ face.a ]; - customAttribute.array[ offset_custom + 1 ] = customAttribute.value[ face.b ]; - customAttribute.array[ offset_custom + 2 ] = customAttribute.value[ face.c ]; - customAttribute.array[ offset_custom + 3 ] = customAttribute.value[ face.d ]; - - offset_custom += 4; - - } - - } else if ( customAttribute.boundTo === "faces" ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - value = customAttribute.value[ chunk_faces3[ f ] ]; - - customAttribute.array[ offset_custom ] = value; - customAttribute.array[ offset_custom + 1 ] = value; - customAttribute.array[ offset_custom + 2 ] = value; - - offset_custom += 3; - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - value = customAttribute.value[ chunk_faces4[ f ] ]; - - customAttribute.array[ offset_custom ] = value; - customAttribute.array[ offset_custom + 1 ] = value; - customAttribute.array[ offset_custom + 2 ] = value; - customAttribute.array[ offset_custom + 3 ] = value; - - offset_custom += 4; - - } - - } - - } else if ( customAttribute.size === 2 ) { - - if ( customAttribute.boundTo === undefined || customAttribute.boundTo === "vertices" ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces3[ f ] ]; - - v1 = customAttribute.value[ face.a ]; - v2 = customAttribute.value[ face.b ]; - v3 = customAttribute.value[ face.c ]; - - customAttribute.array[ offset_custom ] = v1.x; - customAttribute.array[ offset_custom + 1 ] = v1.y; - - customAttribute.array[ offset_custom + 2 ] = v2.x; - customAttribute.array[ offset_custom + 3 ] = v2.y; - - customAttribute.array[ offset_custom + 4 ] = v3.x; - customAttribute.array[ offset_custom + 5 ] = v3.y; - - offset_custom += 6; - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces4[ f ] ]; - - v1 = customAttribute.value[ face.a ]; - v2 = customAttribute.value[ face.b ]; - v3 = customAttribute.value[ face.c ]; - v4 = customAttribute.value[ face.d ]; - - customAttribute.array[ offset_custom ] = v1.x; - customAttribute.array[ offset_custom + 1 ] = v1.y; - - customAttribute.array[ offset_custom + 2 ] = v2.x; - customAttribute.array[ offset_custom + 3 ] = v2.y; - - customAttribute.array[ offset_custom + 4 ] = v3.x; - customAttribute.array[ offset_custom + 5 ] = v3.y; - - customAttribute.array[ offset_custom + 6 ] = v4.x; - customAttribute.array[ offset_custom + 7 ] = v4.y; - - offset_custom += 8; - - } - - } else if ( customAttribute.boundTo === "faces" ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - value = customAttribute.value[ chunk_faces3[ f ] ]; - - v1 = value; - v2 = value; - v3 = value; - - customAttribute.array[ offset_custom ] = v1.x; - customAttribute.array[ offset_custom + 1 ] = v1.y; - - customAttribute.array[ offset_custom + 2 ] = v2.x; - customAttribute.array[ offset_custom + 3 ] = v2.y; - - customAttribute.array[ offset_custom + 4 ] = v3.x; - customAttribute.array[ offset_custom + 5 ] = v3.y; - - offset_custom += 6; - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - value = customAttribute.value[ chunk_faces4[ f ] ]; - - v1 = value; - v2 = value; - v3 = value; - v4 = value; - - customAttribute.array[ offset_custom ] = v1.x; - customAttribute.array[ offset_custom + 1 ] = v1.y; - - customAttribute.array[ offset_custom + 2 ] = v2.x; - customAttribute.array[ offset_custom + 3 ] = v2.y; - - customAttribute.array[ offset_custom + 4 ] = v3.x; - customAttribute.array[ offset_custom + 5 ] = v3.y; - - customAttribute.array[ offset_custom + 6 ] = v4.x; - customAttribute.array[ offset_custom + 7 ] = v4.y; - - offset_custom += 8; - - } - - } - - } else if ( customAttribute.size === 3 ) { - - var pp; - - if ( customAttribute.type === "c" ) { - - pp = [ "r", "g", "b" ]; - - } else { - - pp = [ "x", "y", "z" ]; - - } - - if ( customAttribute.boundTo === undefined || customAttribute.boundTo === "vertices" ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces3[ f ] ]; - - v1 = customAttribute.value[ face.a ]; - v2 = customAttribute.value[ face.b ]; - v3 = customAttribute.value[ face.c ]; - - customAttribute.array[ offset_custom ] = v1[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 1 ] = v1[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 2 ] = v1[ pp[ 2 ] ]; - - customAttribute.array[ offset_custom + 3 ] = v2[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 4 ] = v2[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 5 ] = v2[ pp[ 2 ] ]; - - customAttribute.array[ offset_custom + 6 ] = v3[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 7 ] = v3[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 8 ] = v3[ pp[ 2 ] ]; - - offset_custom += 9; - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces4[ f ] ]; - - v1 = customAttribute.value[ face.a ]; - v2 = customAttribute.value[ face.b ]; - v3 = customAttribute.value[ face.c ]; - v4 = customAttribute.value[ face.d ]; - - customAttribute.array[ offset_custom ] = v1[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 1 ] = v1[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 2 ] = v1[ pp[ 2 ] ]; - - customAttribute.array[ offset_custom + 3 ] = v2[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 4 ] = v2[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 5 ] = v2[ pp[ 2 ] ]; - - customAttribute.array[ offset_custom + 6 ] = v3[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 7 ] = v3[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 8 ] = v3[ pp[ 2 ] ]; - - customAttribute.array[ offset_custom + 9 ] = v4[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 10 ] = v4[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 11 ] = v4[ pp[ 2 ] ]; - - offset_custom += 12; - - } - - } else if ( customAttribute.boundTo === "faces" ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - value = customAttribute.value[ chunk_faces3[ f ] ]; - - v1 = value; - v2 = value; - v3 = value; - - customAttribute.array[ offset_custom ] = v1[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 1 ] = v1[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 2 ] = v1[ pp[ 2 ] ]; - - customAttribute.array[ offset_custom + 3 ] = v2[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 4 ] = v2[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 5 ] = v2[ pp[ 2 ] ]; - - customAttribute.array[ offset_custom + 6 ] = v3[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 7 ] = v3[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 8 ] = v3[ pp[ 2 ] ]; - - offset_custom += 9; - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - value = customAttribute.value[ chunk_faces4[ f ] ]; - - v1 = value; - v2 = value; - v3 = value; - v4 = value; - - customAttribute.array[ offset_custom ] = v1[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 1 ] = v1[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 2 ] = v1[ pp[ 2 ] ]; - - customAttribute.array[ offset_custom + 3 ] = v2[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 4 ] = v2[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 5 ] = v2[ pp[ 2 ] ]; - - customAttribute.array[ offset_custom + 6 ] = v3[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 7 ] = v3[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 8 ] = v3[ pp[ 2 ] ]; - - customAttribute.array[ offset_custom + 9 ] = v4[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 10 ] = v4[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 11 ] = v4[ pp[ 2 ] ]; - - offset_custom += 12; - - } - - } else if ( customAttribute.boundTo === "faceVertices" ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - value = customAttribute.value[ chunk_faces3[ f ] ]; - - v1 = value[ 0 ]; - v2 = value[ 1 ]; - v3 = value[ 2 ]; - - customAttribute.array[ offset_custom ] = v1[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 1 ] = v1[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 2 ] = v1[ pp[ 2 ] ]; - - customAttribute.array[ offset_custom + 3 ] = v2[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 4 ] = v2[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 5 ] = v2[ pp[ 2 ] ]; - - customAttribute.array[ offset_custom + 6 ] = v3[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 7 ] = v3[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 8 ] = v3[ pp[ 2 ] ]; - - offset_custom += 9; - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - value = customAttribute.value[ chunk_faces4[ f ] ]; - - v1 = value[ 0 ]; - v2 = value[ 1 ]; - v3 = value[ 2 ]; - v4 = value[ 3 ]; - - customAttribute.array[ offset_custom ] = v1[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 1 ] = v1[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 2 ] = v1[ pp[ 2 ] ]; - - customAttribute.array[ offset_custom + 3 ] = v2[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 4 ] = v2[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 5 ] = v2[ pp[ 2 ] ]; - - customAttribute.array[ offset_custom + 6 ] = v3[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 7 ] = v3[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 8 ] = v3[ pp[ 2 ] ]; - - customAttribute.array[ offset_custom + 9 ] = v4[ pp[ 0 ] ]; - customAttribute.array[ offset_custom + 10 ] = v4[ pp[ 1 ] ]; - customAttribute.array[ offset_custom + 11 ] = v4[ pp[ 2 ] ]; - - offset_custom += 12; - - } - - } - - } else if ( customAttribute.size === 4 ) { - - if ( customAttribute.boundTo === undefined || customAttribute.boundTo === "vertices" ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces3[ f ] ]; - - v1 = customAttribute.value[ face.a ]; - v2 = customAttribute.value[ face.b ]; - v3 = customAttribute.value[ face.c ]; - - customAttribute.array[ offset_custom ] = v1.x; - customAttribute.array[ offset_custom + 1 ] = v1.y; - customAttribute.array[ offset_custom + 2 ] = v1.z; - customAttribute.array[ offset_custom + 3 ] = v1.w; - - customAttribute.array[ offset_custom + 4 ] = v2.x; - customAttribute.array[ offset_custom + 5 ] = v2.y; - customAttribute.array[ offset_custom + 6 ] = v2.z; - customAttribute.array[ offset_custom + 7 ] = v2.w; - - customAttribute.array[ offset_custom + 8 ] = v3.x; - customAttribute.array[ offset_custom + 9 ] = v3.y; - customAttribute.array[ offset_custom + 10 ] = v3.z; - customAttribute.array[ offset_custom + 11 ] = v3.w; - - offset_custom += 12; - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - face = obj_faces[ chunk_faces4[ f ] ]; - - v1 = customAttribute.value[ face.a ]; - v2 = customAttribute.value[ face.b ]; - v3 = customAttribute.value[ face.c ]; - v4 = customAttribute.value[ face.d ]; - - customAttribute.array[ offset_custom ] = v1.x; - customAttribute.array[ offset_custom + 1 ] = v1.y; - customAttribute.array[ offset_custom + 2 ] = v1.z; - customAttribute.array[ offset_custom + 3 ] = v1.w; - - customAttribute.array[ offset_custom + 4 ] = v2.x; - customAttribute.array[ offset_custom + 5 ] = v2.y; - customAttribute.array[ offset_custom + 6 ] = v2.z; - customAttribute.array[ offset_custom + 7 ] = v2.w; - - customAttribute.array[ offset_custom + 8 ] = v3.x; - customAttribute.array[ offset_custom + 9 ] = v3.y; - customAttribute.array[ offset_custom + 10 ] = v3.z; - customAttribute.array[ offset_custom + 11 ] = v3.w; - - customAttribute.array[ offset_custom + 12 ] = v4.x; - customAttribute.array[ offset_custom + 13 ] = v4.y; - customAttribute.array[ offset_custom + 14 ] = v4.z; - customAttribute.array[ offset_custom + 15 ] = v4.w; - - offset_custom += 16; - - } - - } else if ( customAttribute.boundTo === "faces" ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - value = customAttribute.value[ chunk_faces3[ f ] ]; - - v1 = value; - v2 = value; - v3 = value; - - customAttribute.array[ offset_custom ] = v1.x; - customAttribute.array[ offset_custom + 1 ] = v1.y; - customAttribute.array[ offset_custom + 2 ] = v1.z; - customAttribute.array[ offset_custom + 3 ] = v1.w; - - customAttribute.array[ offset_custom + 4 ] = v2.x; - customAttribute.array[ offset_custom + 5 ] = v2.y; - customAttribute.array[ offset_custom + 6 ] = v2.z; - customAttribute.array[ offset_custom + 7 ] = v2.w; - - customAttribute.array[ offset_custom + 8 ] = v3.x; - customAttribute.array[ offset_custom + 9 ] = v3.y; - customAttribute.array[ offset_custom + 10 ] = v3.z; - customAttribute.array[ offset_custom + 11 ] = v3.w; - - offset_custom += 12; - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - value = customAttribute.value[ chunk_faces4[ f ] ]; - - v1 = value; - v2 = value; - v3 = value; - v4 = value; - - customAttribute.array[ offset_custom ] = v1.x; - customAttribute.array[ offset_custom + 1 ] = v1.y; - customAttribute.array[ offset_custom + 2 ] = v1.z; - customAttribute.array[ offset_custom + 3 ] = v1.w; - - customAttribute.array[ offset_custom + 4 ] = v2.x; - customAttribute.array[ offset_custom + 5 ] = v2.y; - customAttribute.array[ offset_custom + 6 ] = v2.z; - customAttribute.array[ offset_custom + 7 ] = v2.w; - - customAttribute.array[ offset_custom + 8 ] = v3.x; - customAttribute.array[ offset_custom + 9 ] = v3.y; - customAttribute.array[ offset_custom + 10 ] = v3.z; - customAttribute.array[ offset_custom + 11 ] = v3.w; - - customAttribute.array[ offset_custom + 12 ] = v4.x; - customAttribute.array[ offset_custom + 13 ] = v4.y; - customAttribute.array[ offset_custom + 14 ] = v4.z; - customAttribute.array[ offset_custom + 15 ] = v4.w; - - offset_custom += 16; - - } - - } else if ( customAttribute.boundTo === "faceVertices" ) { - - for ( f = 0, fl = chunk_faces3.length; f < fl; f ++ ) { - - value = customAttribute.value[ chunk_faces3[ f ] ]; - - v1 = value[ 0 ]; - v2 = value[ 1 ]; - v3 = value[ 2 ]; - - customAttribute.array[ offset_custom ] = v1.x; - customAttribute.array[ offset_custom + 1 ] = v1.y; - customAttribute.array[ offset_custom + 2 ] = v1.z; - customAttribute.array[ offset_custom + 3 ] = v1.w; - - customAttribute.array[ offset_custom + 4 ] = v2.x; - customAttribute.array[ offset_custom + 5 ] = v2.y; - customAttribute.array[ offset_custom + 6 ] = v2.z; - customAttribute.array[ offset_custom + 7 ] = v2.w; - - customAttribute.array[ offset_custom + 8 ] = v3.x; - customAttribute.array[ offset_custom + 9 ] = v3.y; - customAttribute.array[ offset_custom + 10 ] = v3.z; - customAttribute.array[ offset_custom + 11 ] = v3.w; - - offset_custom += 12; - - } - - for ( f = 0, fl = chunk_faces4.length; f < fl; f ++ ) { - - value = customAttribute.value[ chunk_faces4[ f ] ]; - - v1 = value[ 0 ]; - v2 = value[ 1 ]; - v3 = value[ 2 ]; - v4 = value[ 3 ]; - - customAttribute.array[ offset_custom ] = v1.x; - customAttribute.array[ offset_custom + 1 ] = v1.y; - customAttribute.array[ offset_custom + 2 ] = v1.z; - customAttribute.array[ offset_custom + 3 ] = v1.w; - - customAttribute.array[ offset_custom + 4 ] = v2.x; - customAttribute.array[ offset_custom + 5 ] = v2.y; - customAttribute.array[ offset_custom + 6 ] = v2.z; - customAttribute.array[ offset_custom + 7 ] = v2.w; - - customAttribute.array[ offset_custom + 8 ] = v3.x; - customAttribute.array[ offset_custom + 9 ] = v3.y; - customAttribute.array[ offset_custom + 10 ] = v3.z; - customAttribute.array[ offset_custom + 11 ] = v3.w; - - customAttribute.array[ offset_custom + 12 ] = v4.x; - customAttribute.array[ offset_custom + 13 ] = v4.y; - customAttribute.array[ offset_custom + 14 ] = v4.z; - customAttribute.array[ offset_custom + 15 ] = v4.w; - - offset_custom += 16; - - } - - } - - } - - _gl.bindBuffer( _gl.ARRAY_BUFFER, customAttribute.buffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, customAttribute.array, hint ); - - } - - } - - if ( dispose ) { - - delete geometryGroup.__inittedArrays; - delete geometryGroup.__colorArray; - delete geometryGroup.__normalArray; - delete geometryGroup.__tangentArray; - delete geometryGroup.__uvArray; - delete geometryGroup.__uv2Array; - delete geometryGroup.__faceArray; - delete geometryGroup.__vertexArray; - delete geometryGroup.__lineArray; - delete geometryGroup.__skinIndexArray; - delete geometryGroup.__skinWeightArray; - - } - - }; - - function setDirectBuffers ( geometry, hint, dispose ) { - - var attributes = geometry.attributes; - - var index = attributes[ "index" ]; - var position = attributes[ "position" ]; - var normal = attributes[ "normal" ]; - var uv = attributes[ "uv" ]; - var color = attributes[ "color" ]; - var tangent = attributes[ "tangent" ]; - - if ( geometry.elementsNeedUpdate && index !== undefined ) { - - _gl.bindBuffer( _gl.ELEMENT_ARRAY_BUFFER, index.buffer ); - _gl.bufferData( _gl.ELEMENT_ARRAY_BUFFER, index.array, hint ); - - } - - if ( geometry.verticesNeedUpdate && position !== undefined ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, position.buffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, position.array, hint ); - - } - - if ( geometry.normalsNeedUpdate && normal !== undefined ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, normal.buffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, normal.array, hint ); - - } - - if ( geometry.uvsNeedUpdate && uv !== undefined ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, uv.buffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, uv.array, hint ); - - } - - if ( geometry.colorsNeedUpdate && color !== undefined ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, color.buffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, color.array, hint ); - - } - - if ( geometry.tangentsNeedUpdate && tangent !== undefined ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, tangent.buffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, tangent.array, hint ); - - } - - if ( dispose ) { - - for ( var i in geometry.attributes ) { - - delete geometry.attributes[ i ].array; - - } - - } - - }; - - // Buffer rendering - - this.renderBufferImmediate = function ( object, program, material ) { - - if ( object.hasPositions && ! object.__webglVertexBuffer ) object.__webglVertexBuffer = _gl.createBuffer(); - if ( object.hasNormals && ! object.__webglNormalBuffer ) object.__webglNormalBuffer = _gl.createBuffer(); - if ( object.hasUvs && ! object.__webglUvBuffer ) object.__webglUvBuffer = _gl.createBuffer(); - if ( object.hasColors && ! object.__webglColorBuffer ) object.__webglColorBuffer = _gl.createBuffer(); - - if ( object.hasPositions ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, object.__webglVertexBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, object.positionArray, _gl.DYNAMIC_DRAW ); - _gl.enableVertexAttribArray( program.attributes.position ); - _gl.vertexAttribPointer( program.attributes.position, 3, _gl.FLOAT, false, 0, 0 ); - - } - - if ( object.hasNormals ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, object.__webglNormalBuffer ); - - if ( material.shading === THREE.FlatShading ) { - - var nx, ny, nz, - nax, nbx, ncx, nay, nby, ncy, naz, nbz, ncz, - normalArray, - i, il = object.count * 3; - - for( i = 0; i < il; i += 9 ) { - - normalArray = object.normalArray; - - nax = normalArray[ i ]; - nay = normalArray[ i + 1 ]; - naz = normalArray[ i + 2 ]; - - nbx = normalArray[ i + 3 ]; - nby = normalArray[ i + 4 ]; - nbz = normalArray[ i + 5 ]; - - ncx = normalArray[ i + 6 ]; - ncy = normalArray[ i + 7 ]; - ncz = normalArray[ i + 8 ]; - - nx = ( nax + nbx + ncx ) / 3; - ny = ( nay + nby + ncy ) / 3; - nz = ( naz + nbz + ncz ) / 3; - - normalArray[ i ] = nx; - normalArray[ i + 1 ] = ny; - normalArray[ i + 2 ] = nz; - - normalArray[ i + 3 ] = nx; - normalArray[ i + 4 ] = ny; - normalArray[ i + 5 ] = nz; - - normalArray[ i + 6 ] = nx; - normalArray[ i + 7 ] = ny; - normalArray[ i + 8 ] = nz; - - } - - } - - _gl.bufferData( _gl.ARRAY_BUFFER, object.normalArray, _gl.DYNAMIC_DRAW ); - _gl.enableVertexAttribArray( program.attributes.normal ); - _gl.vertexAttribPointer( program.attributes.normal, 3, _gl.FLOAT, false, 0, 0 ); - - } - - if ( object.hasUvs && material.map ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, object.__webglUvBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, object.uvArray, _gl.DYNAMIC_DRAW ); - _gl.enableVertexAttribArray( program.attributes.uv ); - _gl.vertexAttribPointer( program.attributes.uv, 2, _gl.FLOAT, false, 0, 0 ); - - } - - if ( object.hasColors && material.vertexColors !== THREE.NoColors ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, object.__webglColorBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, object.colorArray, _gl.DYNAMIC_DRAW ); - _gl.enableVertexAttribArray( program.attributes.color ); - _gl.vertexAttribPointer( program.attributes.color, 3, _gl.FLOAT, false, 0, 0 ); - - } - - _gl.drawArrays( _gl.TRIANGLES, 0, object.count ); - - object.count = 0; - - }; - - this.renderBufferDirect = function ( camera, lights, fog, material, geometry, object ) { - - if ( material.visible === false ) return; - - var program, attributes, linewidth, primitives, a, attribute; - - program = setProgram( camera, lights, fog, material, object ); - - attributes = program.attributes; - - var updateBuffers = false, - wireframeBit = material.wireframe ? 1 : 0, - geometryHash = ( geometry.id * 0xffffff ) + ( program.id * 2 ) + wireframeBit; - - if ( geometryHash !== _currentGeometryGroupHash ) { - - _currentGeometryGroupHash = geometryHash; - updateBuffers = true; - - } - - // render mesh - - if ( object instanceof THREE.Mesh ) { - - var offsets = geometry.offsets; - - // if there is more than 1 chunk - // must set attribute pointers to use new offsets for each chunk - // even if geometry and materials didn't change - - if ( offsets.length > 1 ) updateBuffers = true; - - for ( var i = 0, il = offsets.length; i < il; ++ i ) { - - var startIndex = offsets[ i ].index; - - if ( updateBuffers ) { - - // vertices - - var position = geometry.attributes[ "position" ]; - var positionSize = position.itemSize; - - _gl.bindBuffer( _gl.ARRAY_BUFFER, position.buffer ); - _gl.vertexAttribPointer( attributes.position, positionSize, _gl.FLOAT, false, 0, startIndex * positionSize * 4 ); // 4 bytes per Float32 - - // normals - - var normal = geometry.attributes[ "normal" ]; - - if ( attributes.normal >= 0 && normal ) { - - var normalSize = normal.itemSize; - - _gl.bindBuffer( _gl.ARRAY_BUFFER, normal.buffer ); - _gl.vertexAttribPointer( attributes.normal, normalSize, _gl.FLOAT, false, 0, startIndex * normalSize * 4 ); - - } - - // uvs - - var uv = geometry.attributes[ "uv" ]; - - if ( attributes.uv >= 0 && uv ) { - - if ( uv.buffer ) { - - var uvSize = uv.itemSize; - - _gl.bindBuffer( _gl.ARRAY_BUFFER, uv.buffer ); - _gl.vertexAttribPointer( attributes.uv, uvSize, _gl.FLOAT, false, 0, startIndex * uvSize * 4 ); - - _gl.enableVertexAttribArray( attributes.uv ); - - } else { - - _gl.disableVertexAttribArray( attributes.uv ); - - } - - } - - // colors - - var color = geometry.attributes[ "color" ]; - - if ( attributes.color >= 0 && color ) { - - var colorSize = color.itemSize; - - _gl.bindBuffer( _gl.ARRAY_BUFFER, color.buffer ); - _gl.vertexAttribPointer( attributes.color, colorSize, _gl.FLOAT, false, 0, startIndex * colorSize * 4 ); - - } - - // tangents - - var tangent = geometry.attributes[ "tangent" ]; - - if ( attributes.tangent >= 0 && tangent ) { - - var tangentSize = tangent.itemSize; - - _gl.bindBuffer( _gl.ARRAY_BUFFER, tangent.buffer ); - _gl.vertexAttribPointer( attributes.tangent, tangentSize, _gl.FLOAT, false, 0, startIndex * tangentSize * 4 ); - - } - - // indices - - var index = geometry.attributes[ "index" ]; - - _gl.bindBuffer( _gl.ELEMENT_ARRAY_BUFFER, index.buffer ); - - } - - // render indexed triangles - - _gl.drawElements( _gl.TRIANGLES, offsets[ i ].count, _gl.UNSIGNED_SHORT, offsets[ i ].start * 2 ); // 2 bytes per Uint16 - - _this.info.render.calls ++; - _this.info.render.vertices += offsets[ i ].count; // not really true, here vertices can be shared - _this.info.render.faces += offsets[ i ].count / 3; - - } - - // render particles - - } else if ( object instanceof THREE.ParticleSystem ) { - - if ( updateBuffers ) { - - // vertices - - var position = geometry.attributes[ "position" ]; - var positionSize = position.itemSize; - - _gl.bindBuffer( _gl.ARRAY_BUFFER, position.buffer ); - _gl.vertexAttribPointer( attributes.position, positionSize, _gl.FLOAT, false, 0, 0 ); - - // colors - - var color = geometry.attributes[ "color" ]; - - if ( attributes.color >= 0 && color ) { - - var colorSize = color.itemSize; - - _gl.bindBuffer( _gl.ARRAY_BUFFER, color.buffer ); - _gl.vertexAttribPointer( attributes.color, colorSize, _gl.FLOAT, false, 0, 0 ); - - } - - // render particles - - _gl.drawArrays( _gl.POINTS, 0, position.numItems / 3 ); - - _this.info.render.calls ++; - _this.info.render.points += position.numItems / 3; - - } - - } - - }; - - this.renderBuffer = function ( camera, lights, fog, material, geometryGroup, object ) { - - if ( material.visible === false ) return; - - var program, attributes, linewidth, primitives, a, attribute, i, il; - - program = setProgram( camera, lights, fog, material, object ); - - attributes = program.attributes; - - var updateBuffers = false, - wireframeBit = material.wireframe ? 1 : 0, - geometryGroupHash = ( geometryGroup.id * 0xffffff ) + ( program.id * 2 ) + wireframeBit; - - if ( geometryGroupHash !== _currentGeometryGroupHash ) { - - _currentGeometryGroupHash = geometryGroupHash; - updateBuffers = true; - - } - - // vertices - - if ( !material.morphTargets && attributes.position >= 0 ) { - - if ( updateBuffers ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglVertexBuffer ); - _gl.vertexAttribPointer( attributes.position, 3, _gl.FLOAT, false, 0, 0 ); - - } - - } else { - - if ( object.morphTargetBase ) { - - setupMorphTargets( material, geometryGroup, object ); - - } - - } - - - if ( updateBuffers ) { - - // custom attributes - - // Use the per-geometryGroup custom attribute arrays which are setup in initMeshBuffers - - if ( geometryGroup.__webglCustomAttributesList ) { - - for ( i = 0, il = geometryGroup.__webglCustomAttributesList.length; i < il; i ++ ) { - - attribute = geometryGroup.__webglCustomAttributesList[ i ]; - - if( attributes[ attribute.buffer.belongsToAttribute ] >= 0 ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, attribute.buffer ); - _gl.vertexAttribPointer( attributes[ attribute.buffer.belongsToAttribute ], attribute.size, _gl.FLOAT, false, 0, 0 ); - - } - - } - - } - - - // colors - - if ( attributes.color >= 0 ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglColorBuffer ); - _gl.vertexAttribPointer( attributes.color, 3, _gl.FLOAT, false, 0, 0 ); - - } - - // normals - - if ( attributes.normal >= 0 ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglNormalBuffer ); - _gl.vertexAttribPointer( attributes.normal, 3, _gl.FLOAT, false, 0, 0 ); - - } - - // tangents - - if ( attributes.tangent >= 0 ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglTangentBuffer ); - _gl.vertexAttribPointer( attributes.tangent, 4, _gl.FLOAT, false, 0, 0 ); - - } - - // uvs - - if ( attributes.uv >= 0 ) { - - if ( geometryGroup.__webglUVBuffer ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglUVBuffer ); - _gl.vertexAttribPointer( attributes.uv, 2, _gl.FLOAT, false, 0, 0 ); - - _gl.enableVertexAttribArray( attributes.uv ); - - } else { - - _gl.disableVertexAttribArray( attributes.uv ); - - } - - } - - if ( attributes.uv2 >= 0 ) { - - if ( geometryGroup.__webglUV2Buffer ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglUV2Buffer ); - _gl.vertexAttribPointer( attributes.uv2, 2, _gl.FLOAT, false, 0, 0 ); - - _gl.enableVertexAttribArray( attributes.uv2 ); - - } else { - - _gl.disableVertexAttribArray( attributes.uv2 ); - - } - - } - - if ( material.skinning && - attributes.skinIndex >= 0 && attributes.skinWeight >= 0 ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglSkinIndicesBuffer ); - _gl.vertexAttribPointer( attributes.skinIndex, 4, _gl.FLOAT, false, 0, 0 ); - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglSkinWeightsBuffer ); - _gl.vertexAttribPointer( attributes.skinWeight, 4, _gl.FLOAT, false, 0, 0 ); - - } - - } - - // render mesh - - if ( object instanceof THREE.Mesh ) { - - // wireframe - - if ( material.wireframe ) { - - setLineWidth( material.wireframeLinewidth ); - - if ( updateBuffers ) _gl.bindBuffer( _gl.ELEMENT_ARRAY_BUFFER, geometryGroup.__webglLineBuffer ); - _gl.drawElements( _gl.LINES, geometryGroup.__webglLineCount, _gl.UNSIGNED_SHORT, 0 ); - - // triangles - - } else { - - if ( updateBuffers ) _gl.bindBuffer( _gl.ELEMENT_ARRAY_BUFFER, geometryGroup.__webglFaceBuffer ); - _gl.drawElements( _gl.TRIANGLES, geometryGroup.__webglFaceCount, _gl.UNSIGNED_SHORT, 0 ); - - } - - _this.info.render.calls ++; - _this.info.render.vertices += geometryGroup.__webglFaceCount; - _this.info.render.faces += geometryGroup.__webglFaceCount / 3; - - // render lines - - } else if ( object instanceof THREE.Line ) { - - primitives = ( object.type === THREE.LineStrip ) ? _gl.LINE_STRIP : _gl.LINES; - - setLineWidth( material.linewidth ); - - _gl.drawArrays( primitives, 0, geometryGroup.__webglLineCount ); - - _this.info.render.calls ++; - - // render particles - - } else if ( object instanceof THREE.ParticleSystem ) { - - _gl.drawArrays( _gl.POINTS, 0, geometryGroup.__webglParticleCount ); - - _this.info.render.calls ++; - _this.info.render.points += geometryGroup.__webglParticleCount; - - // render ribbon - - } else if ( object instanceof THREE.Ribbon ) { - - _gl.drawArrays( _gl.TRIANGLE_STRIP, 0, geometryGroup.__webglVertexCount ); - - _this.info.render.calls ++; - - } - - }; - - function setupMorphTargets ( material, geometryGroup, object ) { - - // set base - - var attributes = material.program.attributes; - - if ( object.morphTargetBase !== -1 ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglMorphTargetsBuffers[ object.morphTargetBase ] ); - _gl.vertexAttribPointer( attributes.position, 3, _gl.FLOAT, false, 0, 0 ); - - } else if ( attributes.position >= 0 ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglVertexBuffer ); - _gl.vertexAttribPointer( attributes.position, 3, _gl.FLOAT, false, 0, 0 ); - - } - - if ( object.morphTargetForcedOrder.length ) { - - // set forced order - - var m = 0; - var order = object.morphTargetForcedOrder; - var influences = object.morphTargetInfluences; - - while ( m < material.numSupportedMorphTargets && m < order.length ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglMorphTargetsBuffers[ order[ m ] ] ); - _gl.vertexAttribPointer( attributes[ "morphTarget" + m ], 3, _gl.FLOAT, false, 0, 0 ); - - if ( material.morphNormals ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglMorphNormalsBuffers[ order[ m ] ] ); - _gl.vertexAttribPointer( attributes[ "morphNormal" + m ], 3, _gl.FLOAT, false, 0, 0 ); - - } - - object.__webglMorphTargetInfluences[ m ] = influences[ order[ m ] ]; - - m ++; - } - - } else { - - // find the most influencing - - var influence, activeInfluenceIndices = []; - var influences = object.morphTargetInfluences; - var i, il = influences.length; - - for ( i = 0; i < il; i ++ ) { - - influence = influences[ i ]; - - if ( influence > 0 ) { - - activeInfluenceIndices.push( [ i, influence ] ); - - } - - } - - if ( activeInfluenceIndices.length > material.numSupportedMorphTargets ) { - - activeInfluenceIndices.sort( numericalSort ); - activeInfluenceIndices.length = material.numSupportedMorphTargets; - - } else if ( activeInfluenceIndices.length > material.numSupportedMorphNormals ) { - - activeInfluenceIndices.sort( numericalSort ); - - } else if ( activeInfluenceIndices.length === 0 ) { - - activeInfluenceIndices.push( [ 0, 0 ] ); - - }; - - var influenceIndex, m = 0; - - while ( m < material.numSupportedMorphTargets ) { - - if ( activeInfluenceIndices[ m ] ) { - - influenceIndex = activeInfluenceIndices[ m ][ 0 ]; - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglMorphTargetsBuffers[ influenceIndex ] ); - - _gl.vertexAttribPointer( attributes[ "morphTarget" + m ], 3, _gl.FLOAT, false, 0, 0 ); - - if ( material.morphNormals ) { - - _gl.bindBuffer( _gl.ARRAY_BUFFER, geometryGroup.__webglMorphNormalsBuffers[ influenceIndex ] ); - _gl.vertexAttribPointer( attributes[ "morphNormal" + m ], 3, _gl.FLOAT, false, 0, 0 ); - - } - - object.__webglMorphTargetInfluences[ m ] = influences[ influenceIndex ]; - - } else { - - _gl.vertexAttribPointer( attributes[ "morphTarget" + m ], 3, _gl.FLOAT, false, 0, 0 ); - - if ( material.morphNormals ) { - - _gl.vertexAttribPointer( attributes[ "morphNormal" + m ], 3, _gl.FLOAT, false, 0, 0 ); - - } - - object.__webglMorphTargetInfluences[ m ] = 0; - - } - - m ++; - - } - - } - - // load updated influences uniform - - if ( material.program.uniforms.morphTargetInfluences !== null ) { - - _gl.uniform1fv( material.program.uniforms.morphTargetInfluences, object.__webglMorphTargetInfluences ); - - } - - }; - - // Sorting - - function painterSort ( a, b ) { - - return b.z - a.z; - - }; - - function numericalSort ( a, b ) { - - return b[ 1 ] - a[ 1 ]; - - }; - - - // Rendering - - this.render = function ( scene, camera, renderTarget, forceClear ) { - - if ( camera instanceof THREE.Camera === false ) { - - console.error( 'THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.' ); - return; - - } - - var i, il, - - webglObject, object, - renderList, - - lights = scene.__lights, - fog = scene.fog; - - // reset caching for this frame - - _currentMaterialId = -1; - _lightsNeedUpdate = true; - - // update scene graph - - if ( this.autoUpdateScene ) scene.updateMatrixWorld(); - - // update camera matrices and frustum - - if ( camera.parent === undefined ) camera.updateMatrixWorld(); - - if ( ! camera._viewMatrixArray ) camera._viewMatrixArray = new Float32Array( 16 ); - if ( ! camera._projectionMatrixArray ) camera._projectionMatrixArray = new Float32Array( 16 ); - - camera.matrixWorldInverse.getInverse( camera.matrixWorld ); - - camera.matrixWorldInverse.flattenToArray( camera._viewMatrixArray ); - camera.projectionMatrix.flattenToArray( camera._projectionMatrixArray ); - - _projScreenMatrix.multiply( camera.projectionMatrix, camera.matrixWorldInverse ); - _frustum.setFromMatrix( _projScreenMatrix ); - - // update WebGL objects - - if ( this.autoUpdateObjects ) this.initWebGLObjects( scene ); - - // custom render plugins (pre pass) - - renderPlugins( this.renderPluginsPre, scene, camera ); - - // - - _this.info.render.calls = 0; - _this.info.render.vertices = 0; - _this.info.render.faces = 0; - _this.info.render.points = 0; - - this.setRenderTarget( renderTarget ); - - if ( this.autoClear || forceClear ) { - - this.clear( this.autoClearColor, this.autoClearDepth, this.autoClearStencil ); - - } - - // set matrices for regular objects (frustum culled) - - renderList = scene.__webglObjects; - - for ( i = 0, il = renderList.length; i < il; i ++ ) { - - webglObject = renderList[ i ]; - object = webglObject.object; - - webglObject.render = false; - - if ( object.visible ) { - - if ( ! ( object instanceof THREE.Mesh || object instanceof THREE.ParticleSystem ) || ! ( object.frustumCulled ) || _frustum.contains( object ) ) { - - //object.matrixWorld.flattenToArray( object._modelMatrixArray ); - - setupMatrices( object, camera ); - - unrollBufferMaterial( webglObject ); - - webglObject.render = true; - - if ( this.sortObjects === true ) { - - if ( object.renderDepth !== null ) { - - webglObject.z = object.renderDepth; - - } else { - - _vector3.copy( object.matrixWorld.getPosition() ); - _projScreenMatrix.multiplyVector3( _vector3 ); - - webglObject.z = _vector3.z; - - } - - } - - } - - } - - } - - if ( this.sortObjects ) { - - renderList.sort( painterSort ); - - } - - // set matrices for immediate objects - - renderList = scene.__webglObjectsImmediate; - - for ( i = 0, il = renderList.length; i < il; i ++ ) { - - webglObject = renderList[ i ]; - object = webglObject.object; - - if ( object.visible ) { - - /* - if ( object.matrixAutoUpdate ) { - - object.matrixWorld.flattenToArray( object._modelMatrixArray ); - - } - */ - - setupMatrices( object, camera ); - - unrollImmediateBufferMaterial( webglObject ); - - } - - } - - if ( scene.overrideMaterial ) { - - var material = scene.overrideMaterial; - - this.setBlending( material.blending, material.blendEquation, material.blendSrc, material.blendDst ); - this.setDepthTest( material.depthTest ); - this.setDepthWrite( material.depthWrite ); - setPolygonOffset( material.polygonOffset, material.polygonOffsetFactor, material.polygonOffsetUnits ); - - renderObjects( scene.__webglObjects, false, "", camera, lights, fog, true, material ); - renderObjectsImmediate( scene.__webglObjectsImmediate, "", camera, lights, fog, false, material ); - - } else { - - // opaque pass (front-to-back order) - - this.setBlending( THREE.NormalBlending ); - - renderObjects( scene.__webglObjects, true, "opaque", camera, lights, fog, false ); - renderObjectsImmediate( scene.__webglObjectsImmediate, "opaque", camera, lights, fog, false ); - - // transparent pass (back-to-front order) - - renderObjects( scene.__webglObjects, false, "transparent", camera, lights, fog, true ); - renderObjectsImmediate( scene.__webglObjectsImmediate, "transparent", camera, lights, fog, true ); - - } - - // custom render plugins (post pass) - - renderPlugins( this.renderPluginsPost, scene, camera ); - - - // Generate mipmap if we're using any kind of mipmap filtering - - if ( renderTarget && renderTarget.generateMipmaps && renderTarget.minFilter !== THREE.NearestFilter && renderTarget.minFilter !== THREE.LinearFilter ) { - - updateRenderTargetMipmap( renderTarget ); - - } - - // Ensure depth buffer writing is enabled so it can be cleared on next render - - this.setDepthTest( true ); - this.setDepthWrite( true ); - - // _gl.finish(); - - }; - - function renderPlugins( plugins, scene, camera ) { - - if ( ! plugins.length ) return; - - for ( var i = 0, il = plugins.length; i < il; i ++ ) { - - // reset state for plugin (to start from clean slate) - - _currentProgram = null; - _currentCamera = null; - - _oldBlending = -1; - _oldDepthTest = -1; - _oldDepthWrite = -1; - _oldDoubleSided = -1; - _oldFlipSided = -1; - _currentGeometryGroupHash = -1; - _currentMaterialId = -1; - - _lightsNeedUpdate = true; - - plugins[ i ].render( scene, camera, _currentWidth, _currentHeight ); - - // reset state after plugin (anything could have changed) - - _currentProgram = null; - _currentCamera = null; - - _oldBlending = -1; - _oldDepthTest = -1; - _oldDepthWrite = -1; - _oldDoubleSided = -1; - _oldFlipSided = -1; - _currentGeometryGroupHash = -1; - _currentMaterialId = -1; - - _lightsNeedUpdate = true; - - } - - }; - - function renderObjects ( renderList, reverse, materialType, camera, lights, fog, useBlending, overrideMaterial ) { - - var webglObject, object, buffer, material, start, end, delta; - - if ( reverse ) { - - start = renderList.length - 1; - end = -1; - delta = -1; - - } else { - - start = 0; - end = renderList.length; - delta = 1; - } - - for ( var i = start; i !== end; i += delta ) { - - webglObject = renderList[ i ]; - - if ( webglObject.render ) { - - object = webglObject.object; - buffer = webglObject.buffer; - - if ( overrideMaterial ) { - - material = overrideMaterial; - - } else { - - material = webglObject[ materialType ]; - - if ( ! material ) continue; - - if ( useBlending ) _this.setBlending( material.blending, material.blendEquation, material.blendSrc, material.blendDst ); - - _this.setDepthTest( material.depthTest ); - _this.setDepthWrite( material.depthWrite ); - setPolygonOffset( material.polygonOffset, material.polygonOffsetFactor, material.polygonOffsetUnits ); - - } - - _this.setMaterialFaces( material ); - - if ( buffer instanceof THREE.BufferGeometry ) { - - _this.renderBufferDirect( camera, lights, fog, material, buffer, object ); - - } else { - - _this.renderBuffer( camera, lights, fog, material, buffer, object ); - - } - - } - - } - - }; - - function renderObjectsImmediate ( renderList, materialType, camera, lights, fog, useBlending, overrideMaterial ) { - - var webglObject, object, material, program; - - for ( var i = 0, il = renderList.length; i < il; i ++ ) { - - webglObject = renderList[ i ]; - object = webglObject.object; - - if ( object.visible ) { - - if ( overrideMaterial ) { - - material = overrideMaterial; - - } else { - - material = webglObject[ materialType ]; - - if ( ! material ) continue; - - if ( useBlending ) _this.setBlending( material.blending, material.blendEquation, material.blendSrc, material.blendDst ); - - _this.setDepthTest( material.depthTest ); - _this.setDepthWrite( material.depthWrite ); - setPolygonOffset( material.polygonOffset, material.polygonOffsetFactor, material.polygonOffsetUnits ); - - } - - _this.renderImmediateObject( camera, lights, fog, material, object ); - - } - - } - - }; - - this.renderImmediateObject = function ( camera, lights, fog, material, object ) { - - var program = setProgram( camera, lights, fog, material, object ); - - _currentGeometryGroupHash = -1; - - _this.setMaterialFaces( material ); - - if ( object.immediateRenderCallback ) { - - object.immediateRenderCallback( program, _gl, _frustum ); - - } else { - - object.render( function( object ) { _this.renderBufferImmediate( object, program, material ); } ); - - } - - }; - - function unrollImmediateBufferMaterial ( globject ) { - - var object = globject.object, - material = object.material; - - if ( material.transparent ) { - - globject.transparent = material; - globject.opaque = null; - - } else { - - globject.opaque = material; - globject.transparent = null; - - } - - }; - - function unrollBufferMaterial ( globject ) { - - var object = globject.object, - buffer = globject.buffer, - material, materialIndex, meshMaterial; - - meshMaterial = object.material; - - if ( meshMaterial instanceof THREE.MeshFaceMaterial ) { - - materialIndex = buffer.materialIndex; - - if ( materialIndex >= 0 ) { - - material = object.geometry.materials[ materialIndex ]; - - if ( material.transparent ) { - - globject.transparent = material; - globject.opaque = null; - - } else { - - globject.opaque = material; - globject.transparent = null; - - } - - } - - } else { - - material = meshMaterial; - - if ( material ) { - - if ( material.transparent ) { - - globject.transparent = material; - globject.opaque = null; - - } else { - - globject.opaque = material; - globject.transparent = null; - - } - - } - - } - - }; - - // Geometry splitting - - function sortFacesByMaterial ( geometry ) { - - var f, fl, face, materialIndex, vertices, - materialHash, groupHash, - hash_map = {}; - - var numMorphTargets = geometry.morphTargets.length; - var numMorphNormals = geometry.morphNormals.length; - - geometry.geometryGroups = {}; - - for ( f = 0, fl = geometry.faces.length; f < fl; f ++ ) { - - face = geometry.faces[ f ]; - materialIndex = face.materialIndex; - - materialHash = ( materialIndex !== undefined ) ? materialIndex : -1; - - if ( hash_map[ materialHash ] === undefined ) { - - hash_map[ materialHash ] = { 'hash': materialHash, 'counter': 0 }; - - } - - groupHash = hash_map[ materialHash ].hash + '_' + hash_map[ materialHash ].counter; - - if ( geometry.geometryGroups[ groupHash ] === undefined ) { - - geometry.geometryGroups[ groupHash ] = { 'faces3': [], 'faces4': [], 'materialIndex': materialIndex, 'vertices': 0, 'numMorphTargets': numMorphTargets, 'numMorphNormals': numMorphNormals }; - - } - - vertices = face instanceof THREE.Face3 ? 3 : 4; - - if ( geometry.geometryGroups[ groupHash ].vertices + vertices > 65535 ) { - - hash_map[ materialHash ].counter += 1; - groupHash = hash_map[ materialHash ].hash + '_' + hash_map[ materialHash ].counter; - - if ( geometry.geometryGroups[ groupHash ] === undefined ) { - - geometry.geometryGroups[ groupHash ] = { 'faces3': [], 'faces4': [], 'materialIndex': materialIndex, 'vertices': 0, 'numMorphTargets': numMorphTargets, 'numMorphNormals': numMorphNormals }; - - } - - } - - if ( face instanceof THREE.Face3 ) { - - geometry.geometryGroups[ groupHash ].faces3.push( f ); - - } else { - - geometry.geometryGroups[ groupHash ].faces4.push( f ); - - } - - geometry.geometryGroups[ groupHash ].vertices += vertices; - - } - - geometry.geometryGroupsList = []; - - for ( var g in geometry.geometryGroups ) { - - geometry.geometryGroups[ g ].id = _geometryGroupCounter ++; - - geometry.geometryGroupsList.push( geometry.geometryGroups[ g ] ); - - } - - }; - - // Objects refresh - - this.initWebGLObjects = function ( scene ) { - - if ( !scene.__webglObjects ) { - - scene.__webglObjects = []; - scene.__webglObjectsImmediate = []; - scene.__webglSprites = []; - scene.__webglFlares = []; - - } - - while ( scene.__objectsAdded.length ) { - - addObject( scene.__objectsAdded[ 0 ], scene ); - scene.__objectsAdded.splice( 0, 1 ); - - } - - while ( scene.__objectsRemoved.length ) { - - removeObject( scene.__objectsRemoved[ 0 ], scene ); - scene.__objectsRemoved.splice( 0, 1 ); - - } - - // update must be called after objects adding / removal - - for ( var o = 0, ol = scene.__webglObjects.length; o < ol; o ++ ) { - - updateObject( scene.__webglObjects[ o ].object ); - - } - - }; - - // Objects adding - - function addObject ( object, scene ) { - - var g, geometry, geometryGroup; - - if ( ! object.__webglInit ) { - - object.__webglInit = true; - - object._modelViewMatrix = new THREE.Matrix4(); - object._normalMatrix = new THREE.Matrix3(); - - if ( object instanceof THREE.Mesh ) { - - geometry = object.geometry; - - if ( geometry instanceof THREE.Geometry ) { - - if ( geometry.geometryGroups === undefined ) { - - sortFacesByMaterial( geometry ); - - } - - // create separate VBOs per geometry chunk - - for ( g in geometry.geometryGroups ) { - - geometryGroup = geometry.geometryGroups[ g ]; - - // initialise VBO on the first access - - if ( ! geometryGroup.__webglVertexBuffer ) { - - createMeshBuffers( geometryGroup ); - initMeshBuffers( geometryGroup, object ); - - geometry.verticesNeedUpdate = true; - geometry.morphTargetsNeedUpdate = true; - geometry.elementsNeedUpdate = true; - geometry.uvsNeedUpdate = true; - geometry.normalsNeedUpdate = true; - geometry.tangentsNeedUpdate = true; - geometry.colorsNeedUpdate = true; - - } - - } - - } else if ( geometry instanceof THREE.BufferGeometry ) { - - initDirectBuffers( geometry ); - - } - - } else if ( object instanceof THREE.Ribbon ) { - - geometry = object.geometry; - - if( ! geometry.__webglVertexBuffer ) { - - createRibbonBuffers( geometry ); - initRibbonBuffers( geometry ); - - geometry.verticesNeedUpdate = true; - geometry.colorsNeedUpdate = true; - - } - - } else if ( object instanceof THREE.Line ) { - - geometry = object.geometry; - - if( ! geometry.__webglVertexBuffer ) { - - createLineBuffers( geometry ); - initLineBuffers( geometry, object ); - - geometry.verticesNeedUpdate = true; - geometry.colorsNeedUpdate = true; - - } - - } else if ( object instanceof THREE.ParticleSystem ) { - - geometry = object.geometry; - - if ( ! geometry.__webglVertexBuffer ) { - - if ( geometry instanceof THREE.Geometry ) { - - createParticleBuffers( geometry ); - initParticleBuffers( geometry, object ); - - geometry.verticesNeedUpdate = true; - geometry.colorsNeedUpdate = true; - - } else if ( geometry instanceof THREE.BufferGeometry ) { - - initDirectBuffers( geometry ); - - } - - - } - - } - - } - - if ( ! object.__webglActive ) { - - if ( object instanceof THREE.Mesh ) { - - geometry = object.geometry; - - if ( geometry instanceof THREE.BufferGeometry ) { - - addBuffer( scene.__webglObjects, geometry, object ); - - } else { - - for ( g in geometry.geometryGroups ) { - - geometryGroup = geometry.geometryGroups[ g ]; - - addBuffer( scene.__webglObjects, geometryGroup, object ); - - } - - } - - } else if ( object instanceof THREE.Ribbon || - object instanceof THREE.Line || - object instanceof THREE.ParticleSystem ) { - - geometry = object.geometry; - addBuffer( scene.__webglObjects, geometry, object ); - - } else if ( object instanceof THREE.ImmediateRenderObject || object.immediateRenderCallback ) { - - addBufferImmediate( scene.__webglObjectsImmediate, object ); - - } else if ( object instanceof THREE.Sprite ) { - - scene.__webglSprites.push( object ); - - } else if ( object instanceof THREE.LensFlare ) { - - scene.__webglFlares.push( object ); - - } - - object.__webglActive = true; - - } - - }; - - function addBuffer ( objlist, buffer, object ) { - - objlist.push( - { - buffer: buffer, - object: object, - opaque: null, - transparent: null - } - ); - - }; - - function addBufferImmediate ( objlist, object ) { - - objlist.push( - { - object: object, - opaque: null, - transparent: null - } - ); - - }; - - // Objects updates - - function updateObject ( object ) { - - var geometry = object.geometry, - geometryGroup, customAttributesDirty, material; - - if ( object instanceof THREE.Mesh ) { - - if ( geometry instanceof THREE.BufferGeometry ) { - - if ( geometry.verticesNeedUpdate || geometry.elementsNeedUpdate || - geometry.uvsNeedUpdate || geometry.normalsNeedUpdate || - geometry.colorsNeedUpdate || geometry.tangentsNeedUpdate ) { - - setDirectBuffers( geometry, _gl.DYNAMIC_DRAW, !geometry.dynamic ); - - } - - geometry.verticesNeedUpdate = false; - geometry.elementsNeedUpdate = false; - geometry.uvsNeedUpdate = false; - geometry.normalsNeedUpdate = false; - geometry.colorsNeedUpdate = false; - geometry.tangentsNeedUpdate = false; - - } else { - - // check all geometry groups - - for( var i = 0, il = geometry.geometryGroupsList.length; i < il; i ++ ) { - - geometryGroup = geometry.geometryGroupsList[ i ]; - - material = getBufferMaterial( object, geometryGroup ); - - customAttributesDirty = material.attributes && areCustomAttributesDirty( material ); - - if ( geometry.verticesNeedUpdate || geometry.morphTargetsNeedUpdate || geometry.elementsNeedUpdate || - geometry.uvsNeedUpdate || geometry.normalsNeedUpdate || - geometry.colorsNeedUpdate || geometry.tangentsNeedUpdate || customAttributesDirty ) { - - setMeshBuffers( geometryGroup, object, _gl.DYNAMIC_DRAW, !geometry.dynamic, material ); - - } - - } - - geometry.verticesNeedUpdate = false; - geometry.morphTargetsNeedUpdate = false; - geometry.elementsNeedUpdate = false; - geometry.uvsNeedUpdate = false; - geometry.normalsNeedUpdate = false; - geometry.colorsNeedUpdate = false; - geometry.tangentsNeedUpdate = false; - - material.attributes && clearCustomAttributes( material ); - - } - - } else if ( object instanceof THREE.Ribbon ) { - - if ( geometry.verticesNeedUpdate || geometry.colorsNeedUpdate ) { - - setRibbonBuffers( geometry, _gl.DYNAMIC_DRAW ); - - } - - geometry.verticesNeedUpdate = false; - geometry.colorsNeedUpdate = false; - - } else if ( object instanceof THREE.Line ) { - - material = getBufferMaterial( object, geometryGroup ); - - customAttributesDirty = material.attributes && areCustomAttributesDirty( material ); - - if ( geometry.verticesNeedUpdate || geometry.colorsNeedUpdate || customAttributesDirty ) { - - setLineBuffers( geometry, _gl.DYNAMIC_DRAW ); - - } - - geometry.verticesNeedUpdate = false; - geometry.colorsNeedUpdate = false; - - material.attributes && clearCustomAttributes( material ); - - } else if ( object instanceof THREE.ParticleSystem ) { - - if ( geometry instanceof THREE.BufferGeometry ) { - - if ( geometry.verticesNeedUpdate || geometry.colorsNeedUpdate ) { - - setDirectBuffers( geometry, _gl.DYNAMIC_DRAW, !geometry.dynamic ); - - } - - geometry.verticesNeedUpdate = false; - geometry.colorsNeedUpdate = false; - - } else { - - material = getBufferMaterial( object, geometryGroup ); - - customAttributesDirty = material.attributes && areCustomAttributesDirty( material ); - - if ( geometry.verticesNeedUpdate || geometry.colorsNeedUpdate || object.sortParticles || customAttributesDirty ) { - - setParticleBuffers( geometry, _gl.DYNAMIC_DRAW, object ); - - } - - geometry.verticesNeedUpdate = false; - geometry.colorsNeedUpdate = false; - - material.attributes && clearCustomAttributes( material ); - - } - - } - - }; - - // Objects updates - custom attributes check - - function areCustomAttributesDirty ( material ) { - - for ( var a in material.attributes ) { - - if ( material.attributes[ a ].needsUpdate ) return true; - - } - - return false; - - }; - - function clearCustomAttributes ( material ) { - - for ( var a in material.attributes ) { - - material.attributes[ a ].needsUpdate = false; - - } - - }; - - // Objects removal - - function removeObject ( object, scene ) { - - if ( object instanceof THREE.Mesh || - object instanceof THREE.ParticleSystem || - object instanceof THREE.Ribbon || - object instanceof THREE.Line ) { - - removeInstances( scene.__webglObjects, object ); - - } else if ( object instanceof THREE.Sprite ) { - - removeInstancesDirect( scene.__webglSprites, object ); - - } else if ( object instanceof THREE.LensFlare ) { - - removeInstancesDirect( scene.__webglFlares, object ); - - } else if ( object instanceof THREE.ImmediateRenderObject || object.immediateRenderCallback ) { - - removeInstances( scene.__webglObjectsImmediate, object ); - - } - - object.__webglActive = false; - - }; - - function removeInstances ( objlist, object ) { - - for ( var o = objlist.length - 1; o >= 0; o -- ) { - - if ( objlist[ o ].object === object ) { - - objlist.splice( o, 1 ); - - } - - } - - }; - - function removeInstancesDirect ( objlist, object ) { - - for ( var o = objlist.length - 1; o >= 0; o -- ) { - - if ( objlist[ o ] === object ) { - - objlist.splice( o, 1 ); - - } - - } - - }; - - // Materials - - this.initMaterial = function ( material, lights, fog, object ) { - - var u, a, identifiers, i, parameters, maxLightCount, maxBones, maxShadows, shaderID; - - if ( material instanceof THREE.MeshDepthMaterial ) { - - shaderID = 'depth'; - - } else if ( material instanceof THREE.MeshNormalMaterial ) { - - shaderID = 'normal'; - - } else if ( material instanceof THREE.MeshBasicMaterial ) { - - shaderID = 'basic'; - - } else if ( material instanceof THREE.MeshLambertMaterial ) { - - shaderID = 'lambert'; - - } else if ( material instanceof THREE.MeshPhongMaterial ) { - - shaderID = 'phong'; - - } else if ( material instanceof THREE.LineBasicMaterial ) { - - shaderID = 'basic'; - - } else if ( material instanceof THREE.ParticleBasicMaterial ) { - - shaderID = 'particle_basic'; - - } - - if ( shaderID ) { - - setMaterialShaders( material, THREE.ShaderLib[ shaderID ] ); - - } - - // heuristics to create shader parameters according to lights in the scene - // (not to blow over maxLights budget) - - maxLightCount = allocateLights( lights ); - - maxShadows = allocateShadows( lights ); - - maxBones = allocateBones( object ); - - parameters = { - - map: !!material.map, - envMap: !!material.envMap, - lightMap: !!material.lightMap, - bumpMap: !!material.bumpMap, - normalMap: !!material.normalMap, - specularMap: !!material.specularMap, - - vertexColors: material.vertexColors, - - fog: fog, - useFog: material.fog, - - sizeAttenuation: material.sizeAttenuation, - - skinning: material.skinning, - maxBones: maxBones, - useVertexTexture: _supportsBoneTextures && object && object.useVertexTexture, - boneTextureWidth: object && object.boneTextureWidth, - boneTextureHeight: object && object.boneTextureHeight, - - morphTargets: material.morphTargets, - morphNormals: material.morphNormals, - maxMorphTargets: this.maxMorphTargets, - maxMorphNormals: this.maxMorphNormals, - - maxDirLights: maxLightCount.directional, - maxPointLights: maxLightCount.point, - maxSpotLights: maxLightCount.spot, - maxHemiLights: maxLightCount.hemi, - - maxShadows: maxShadows, - shadowMapEnabled: this.shadowMapEnabled && object.receiveShadow, - shadowMapSoft: this.shadowMapSoft, - shadowMapDebug: this.shadowMapDebug, - shadowMapCascade: this.shadowMapCascade, - - alphaTest: material.alphaTest, - metal: material.metal, - perPixel: material.perPixel, - wrapAround: material.wrapAround, - doubleSided: material.side === THREE.DoubleSide, - flipSided: material.side === THREE.BackSide - - }; - - material.program = buildProgram( shaderID, material.fragmentShader, material.vertexShader, material.uniforms, material.attributes, material.defines, parameters ); - - var attributes = material.program.attributes; - - if ( attributes.position >= 0 ) _gl.enableVertexAttribArray( attributes.position ); - if ( attributes.color >= 0 ) _gl.enableVertexAttribArray( attributes.color ); - if ( attributes.normal >= 0 ) _gl.enableVertexAttribArray( attributes.normal ); - if ( attributes.tangent >= 0 ) _gl.enableVertexAttribArray( attributes.tangent ); - - if ( material.skinning && - attributes.skinIndex >= 0 && attributes.skinWeight >= 0 ) { - - _gl.enableVertexAttribArray( attributes.skinIndex ); - _gl.enableVertexAttribArray( attributes.skinWeight ); - - } - - if ( material.attributes ) { - - for ( a in material.attributes ) { - - if( attributes[ a ] !== undefined && attributes[ a ] >= 0 ) _gl.enableVertexAttribArray( attributes[ a ] ); - - } - - } - - if ( material.morphTargets ) { - - material.numSupportedMorphTargets = 0; - - var id, base = "morphTarget"; - - for ( i = 0; i < this.maxMorphTargets; i ++ ) { - - id = base + i; - - if ( attributes[ id ] >= 0 ) { - - _gl.enableVertexAttribArray( attributes[ id ] ); - material.numSupportedMorphTargets ++; - - } - - } - - } - - if ( material.morphNormals ) { - - material.numSupportedMorphNormals = 0; - - var id, base = "morphNormal"; - - for ( i = 0; i < this.maxMorphNormals; i ++ ) { - - id = base + i; - - if ( attributes[ id ] >= 0 ) { - - _gl.enableVertexAttribArray( attributes[ id ] ); - material.numSupportedMorphNormals ++; - - } - - } - - } - - material.uniformsList = []; - - for ( u in material.uniforms ) { - - material.uniformsList.push( [ material.uniforms[ u ], u ] ); - - } - - }; - - function setMaterialShaders( material, shaders ) { - - material.uniforms = THREE.UniformsUtils.clone( shaders.uniforms ); - material.vertexShader = shaders.vertexShader; - material.fragmentShader = shaders.fragmentShader; - - }; - - function setProgram( camera, lights, fog, material, object ) { - - _usedTextureUnits = 0; - - if ( material.needsUpdate ) { - - if ( material.program ) _this.deallocateMaterial( material ); - - _this.initMaterial( material, lights, fog, object ); - material.needsUpdate = false; - - } - - if ( material.morphTargets ) { - - if ( ! object.__webglMorphTargetInfluences ) { - - object.__webglMorphTargetInfluences = new Float32Array( _this.maxMorphTargets ); - - } - - } - - var refreshMaterial = false; - - var program = material.program, - p_uniforms = program.uniforms, - m_uniforms = material.uniforms; - - if ( program !== _currentProgram ) { - - _gl.useProgram( program ); - _currentProgram = program; - - refreshMaterial = true; - - } - - if ( material.id !== _currentMaterialId ) { - - _currentMaterialId = material.id; - refreshMaterial = true; - - } - - if ( refreshMaterial || camera !== _currentCamera ) { - - _gl.uniformMatrix4fv( p_uniforms.projectionMatrix, false, camera._projectionMatrixArray ); - - if ( camera !== _currentCamera ) _currentCamera = camera; - - } - - // skinning uniforms must be set even if material didn't change - // auto-setting of texture unit for bone texture must go before other textures - // not sure why, but otherwise weird things happen - - if ( material.skinning ) { - - if ( _supportsBoneTextures && object.useVertexTexture ) { - - if ( p_uniforms.boneTexture !== null ) { - - var textureUnit = getTextureUnit(); - - _gl.uniform1i( p_uniforms.boneTexture, textureUnit ); - _this.setTexture( object.boneTexture, textureUnit ); - - } - - } else { - - if ( p_uniforms.boneGlobalMatrices !== null ) { - - _gl.uniformMatrix4fv( p_uniforms.boneGlobalMatrices, false, object.boneMatrices ); - - } - - } - - } - - if ( refreshMaterial ) { - - // refresh uniforms common to several materials - - if ( fog && material.fog ) { - - refreshUniformsFog( m_uniforms, fog ); - - } - - if ( material instanceof THREE.MeshPhongMaterial || - material instanceof THREE.MeshLambertMaterial || - material.lights ) { - - if ( _lightsNeedUpdate ) { - - setupLights( program, lights ); - _lightsNeedUpdate = false; - - } - - refreshUniformsLights( m_uniforms, _lights ); - - } - - if ( material instanceof THREE.MeshBasicMaterial || - material instanceof THREE.MeshLambertMaterial || - material instanceof THREE.MeshPhongMaterial ) { - - refreshUniformsCommon( m_uniforms, material ); - - } - - // refresh single material specific uniforms - - if ( material instanceof THREE.LineBasicMaterial ) { - - refreshUniformsLine( m_uniforms, material ); - - } else if ( material instanceof THREE.ParticleBasicMaterial ) { - - refreshUniformsParticle( m_uniforms, material ); - - } else if ( material instanceof THREE.MeshPhongMaterial ) { - - refreshUniformsPhong( m_uniforms, material ); - - } else if ( material instanceof THREE.MeshLambertMaterial ) { - - refreshUniformsLambert( m_uniforms, material ); - - } else if ( material instanceof THREE.MeshDepthMaterial ) { - - m_uniforms.mNear.value = camera.near; - m_uniforms.mFar.value = camera.far; - m_uniforms.opacity.value = material.opacity; - - } else if ( material instanceof THREE.MeshNormalMaterial ) { - - m_uniforms.opacity.value = material.opacity; - - } - - if ( object.receiveShadow && ! material._shadowPass ) { - - refreshUniformsShadow( m_uniforms, lights ); - - } - - // load common uniforms - - loadUniformsGeneric( program, material.uniformsList ); - - // load material specific uniforms - // (shader material also gets them for the sake of genericity) - - if ( material instanceof THREE.ShaderMaterial || - material instanceof THREE.MeshPhongMaterial || - material.envMap ) { - - if ( p_uniforms.cameraPosition !== null ) { - - var position = camera.matrixWorld.getPosition(); - _gl.uniform3f( p_uniforms.cameraPosition, position.x, position.y, position.z ); - - } - - } - - if ( material instanceof THREE.MeshPhongMaterial || - material instanceof THREE.MeshLambertMaterial || - material instanceof THREE.ShaderMaterial || - material.skinning ) { - - if ( p_uniforms.viewMatrix !== null ) { - - _gl.uniformMatrix4fv( p_uniforms.viewMatrix, false, camera._viewMatrixArray ); - - } - - } - - } - - loadUniformsMatrices( p_uniforms, object ); - - if ( p_uniforms.modelMatrix !== null ) { - - _gl.uniformMatrix4fv( p_uniforms.modelMatrix, false, object.matrixWorld.elements ); - - } - - return program; - - }; - - // Uniforms (refresh uniforms objects) - - function refreshUniformsCommon ( uniforms, material ) { - - uniforms.opacity.value = material.opacity; - - if ( _this.gammaInput ) { - - uniforms.diffuse.value.copyGammaToLinear( material.color ); - - } else { - - uniforms.diffuse.value = material.color; - - } - - uniforms.map.value = material.map; - uniforms.lightMap.value = material.lightMap; - uniforms.specularMap.value = material.specularMap; - - if ( material.bumpMap ) { - - uniforms.bumpMap.value = material.bumpMap; - uniforms.bumpScale.value = material.bumpScale; - - } - - if ( material.normalMap ) { - - uniforms.normalMap.value = material.normalMap; - uniforms.normalScale.value.copy( material.normalScale ); - - } - - // uv repeat and offset setting priorities - // 1. color map - // 2. specular map - // 3. normal map - // 4. bump map - - var uvScaleMap; - - if ( material.map ) { - - uvScaleMap = material.map; - - } else if ( material.specularMap ) { - - uvScaleMap = material.specularMap; - - } else if ( material.normalMap ) { - - uvScaleMap = material.normalMap; - - } else if ( material.bumpMap ) { - - uvScaleMap = material.bumpMap; - - } - - if ( uvScaleMap !== undefined ) { - - var offset = uvScaleMap.offset; - var repeat = uvScaleMap.repeat; - - uniforms.offsetRepeat.value.set( offset.x, offset.y, repeat.x, repeat.y ); - - } - - uniforms.envMap.value = material.envMap; - uniforms.flipEnvMap.value = ( material.envMap instanceof THREE.WebGLRenderTargetCube ) ? 1 : -1; - - if ( _this.gammaInput ) { - - //uniforms.reflectivity.value = material.reflectivity * material.reflectivity; - uniforms.reflectivity.value = material.reflectivity; - - } else { - - uniforms.reflectivity.value = material.reflectivity; - - } - - uniforms.refractionRatio.value = material.refractionRatio; - uniforms.combine.value = material.combine; - uniforms.useRefract.value = material.envMap && material.envMap.mapping instanceof THREE.CubeRefractionMapping; - - }; - - function refreshUniformsLine ( uniforms, material ) { - - uniforms.diffuse.value = material.color; - uniforms.opacity.value = material.opacity; - - }; - - function refreshUniformsParticle ( uniforms, material ) { - - uniforms.psColor.value = material.color; - uniforms.opacity.value = material.opacity; - uniforms.size.value = material.size; - uniforms.scale.value = _canvas.height / 2.0; // TODO: Cache this. - - uniforms.map.value = material.map; - - }; - - function refreshUniformsFog ( uniforms, fog ) { - - uniforms.fogColor.value = fog.color; - - if ( fog instanceof THREE.Fog ) { - - uniforms.fogNear.value = fog.near; - uniforms.fogFar.value = fog.far; - - } else if ( fog instanceof THREE.FogExp2 ) { - - uniforms.fogDensity.value = fog.density; - - } - - }; - - function refreshUniformsPhong ( uniforms, material ) { - - uniforms.shininess.value = material.shininess; - - if ( _this.gammaInput ) { - - uniforms.ambient.value.copyGammaToLinear( material.ambient ); - uniforms.emissive.value.copyGammaToLinear( material.emissive ); - uniforms.specular.value.copyGammaToLinear( material.specular ); - - } else { - - uniforms.ambient.value = material.ambient; - uniforms.emissive.value = material.emissive; - uniforms.specular.value = material.specular; - - } - - if ( material.wrapAround ) { - - uniforms.wrapRGB.value.copy( material.wrapRGB ); - - } - - }; - - function refreshUniformsLambert ( uniforms, material ) { - - if ( _this.gammaInput ) { - - uniforms.ambient.value.copyGammaToLinear( material.ambient ); - uniforms.emissive.value.copyGammaToLinear( material.emissive ); - - } else { - - uniforms.ambient.value = material.ambient; - uniforms.emissive.value = material.emissive; - - } - - if ( material.wrapAround ) { - - uniforms.wrapRGB.value.copy( material.wrapRGB ); - - } - - }; - - function refreshUniformsLights ( uniforms, lights ) { - - uniforms.ambientLightColor.value = lights.ambient; - - uniforms.directionalLightColor.value = lights.directional.colors; - uniforms.directionalLightDirection.value = lights.directional.positions; - - uniforms.pointLightColor.value = lights.point.colors; - uniforms.pointLightPosition.value = lights.point.positions; - uniforms.pointLightDistance.value = lights.point.distances; - - uniforms.spotLightColor.value = lights.spot.colors; - uniforms.spotLightPosition.value = lights.spot.positions; - uniforms.spotLightDistance.value = lights.spot.distances; - uniforms.spotLightDirection.value = lights.spot.directions; - uniforms.spotLightAngle.value = lights.spot.angles; - uniforms.spotLightExponent.value = lights.spot.exponents; - - uniforms.hemisphereLightSkyColor.value = lights.hemi.skyColors; - uniforms.hemisphereLightGroundColor.value = lights.hemi.groundColors; - uniforms.hemisphereLightPosition.value = lights.hemi.positions; - - }; - - function refreshUniformsShadow ( uniforms, lights ) { - - if ( uniforms.shadowMatrix ) { - - var j = 0; - - for ( var i = 0, il = lights.length; i < il; i ++ ) { - - var light = lights[ i ]; - - if ( ! light.castShadow ) continue; - - if ( light instanceof THREE.SpotLight || ( light instanceof THREE.DirectionalLight && ! light.shadowCascade ) ) { - - uniforms.shadowMap.value[ j ] = light.shadowMap; - uniforms.shadowMapSize.value[ j ] = light.shadowMapSize; - - uniforms.shadowMatrix.value[ j ] = light.shadowMatrix; - - uniforms.shadowDarkness.value[ j ] = light.shadowDarkness; - uniforms.shadowBias.value[ j ] = light.shadowBias; - - j ++; - - } - - } - - } - - }; - - // Uniforms (load to GPU) - - function loadUniformsMatrices ( uniforms, object ) { - - _gl.uniformMatrix4fv( uniforms.modelViewMatrix, false, object._modelViewMatrix.elements ); - - if ( uniforms.normalMatrix ) { - - _gl.uniformMatrix3fv( uniforms.normalMatrix, false, object._normalMatrix.elements ); - - } - - }; - - function getTextureUnit() { - - var textureUnit = _usedTextureUnits; - - if ( textureUnit >= _maxTextures ) { - - console.warn( "Trying to use " + textureUnit + " texture units while this GPU supports only " + _maxTextures ); - - } - - _usedTextureUnits += 1; - - return textureUnit; - - }; - - function loadUniformsGeneric ( program, uniforms ) { - - var uniform, value, type, location, texture, textureUnit, i, il, j, jl, offset; - - for ( j = 0, jl = uniforms.length; j < jl; j ++ ) { - - location = program.uniforms[ uniforms[ j ][ 1 ] ]; - if ( !location ) continue; - - uniform = uniforms[ j ][ 0 ]; - - type = uniform.type; - value = uniform.value; - - if ( type === "i" ) { // single integer - - _gl.uniform1i( location, value ); - - } else if ( type === "f" ) { // single float - - _gl.uniform1f( location, value ); - - } else if ( type === "v2" ) { // single THREE.Vector2 - - _gl.uniform2f( location, value.x, value.y ); - - } else if ( type === "v3" ) { // single THREE.Vector3 - - _gl.uniform3f( location, value.x, value.y, value.z ); - - } else if ( type === "v4" ) { // single THREE.Vector4 - - _gl.uniform4f( location, value.x, value.y, value.z, value.w ); - - } else if ( type === "c" ) { // single THREE.Color - - _gl.uniform3f( location, value.r, value.g, value.b ); - - } else if ( type === "iv1" ) { // flat array of integers (JS or typed array) - - _gl.uniform1iv( location, value ); - - } else if ( type === "iv" ) { // flat array of integers with 3 x N size (JS or typed array) - - _gl.uniform3iv( location, value ); - - } else if ( type === "fv1" ) { // flat array of floats (JS or typed array) - - _gl.uniform1fv( location, value ); - - } else if ( type === "fv" ) { // flat array of floats with 3 x N size (JS or typed array) - - _gl.uniform3fv( location, value ); - - } else if ( type === "v2v" ) { // array of THREE.Vector2 - - if ( uniform._array === undefined ) { - - uniform._array = new Float32Array( 2 * value.length ); - - } - - for ( i = 0, il = value.length; i < il; i ++ ) { - - offset = i * 2; - - uniform._array[ offset ] = value[ i ].x; - uniform._array[ offset + 1 ] = value[ i ].y; - - } - - _gl.uniform2fv( location, uniform._array ); - - } else if ( type === "v3v" ) { // array of THREE.Vector3 - - if ( uniform._array === undefined ) { - - uniform._array = new Float32Array( 3 * value.length ); - - } - - for ( i = 0, il = value.length; i < il; i ++ ) { - - offset = i * 3; - - uniform._array[ offset ] = value[ i ].x; - uniform._array[ offset + 1 ] = value[ i ].y; - uniform._array[ offset + 2 ] = value[ i ].z; - - } - - _gl.uniform3fv( location, uniform._array ); - - } else if ( type === "v4v" ) { // array of THREE.Vector4 - - if ( uniform._array === undefined ) { - - uniform._array = new Float32Array( 4 * value.length ); - - } - - for ( i = 0, il = value.length; i < il; i ++ ) { - - offset = i * 4; - - uniform._array[ offset ] = value[ i ].x; - uniform._array[ offset + 1 ] = value[ i ].y; - uniform._array[ offset + 2 ] = value[ i ].z; - uniform._array[ offset + 3 ] = value[ i ].w; - - } - - _gl.uniform4fv( location, uniform._array ); - - } else if ( type === "m4") { // single THREE.Matrix4 - - if ( uniform._array === undefined ) { - - uniform._array = new Float32Array( 16 ); - - } - - value.flattenToArray( uniform._array ); - _gl.uniformMatrix4fv( location, false, uniform._array ); - - } else if ( type === "m4v" ) { // array of THREE.Matrix4 - - if ( uniform._array === undefined ) { - - uniform._array = new Float32Array( 16 * value.length ); - - } - - for ( i = 0, il = value.length; i < il; i ++ ) { - - value[ i ].flattenToArrayOffset( uniform._array, i * 16 ); - - } - - _gl.uniformMatrix4fv( location, false, uniform._array ); - - } else if ( type === "t" ) { // single THREE.Texture (2d or cube) - - texture = value; - textureUnit = getTextureUnit(); - - _gl.uniform1i( location, textureUnit ); - - if ( !texture ) continue; - - if ( texture.image instanceof Array && texture.image.length === 6 ) { - - setCubeTexture( texture, textureUnit ); - - } else if ( texture instanceof THREE.WebGLRenderTargetCube ) { - - setCubeTextureDynamic( texture, textureUnit ); - - } else { - - _this.setTexture( texture, textureUnit ); - - } - - } else if ( type === "tv" ) { // array of THREE.Texture (2d) - - if ( uniform._array === undefined ) { - - uniform._array = []; - - } - - for( i = 0, il = uniform.value.length; i < il; i ++ ) { - - uniform._array[ i ] = getTextureUnit(); - - } - - _gl.uniform1iv( location, uniform._array ); - - for( i = 0, il = uniform.value.length; i < il; i ++ ) { - - texture = uniform.value[ i ]; - textureUnit = uniform._array[ i ]; - - if ( !texture ) continue; - - _this.setTexture( texture, textureUnit ); - - } - - } - - } - - }; - - function setupMatrices ( object, camera ) { - - object._modelViewMatrix.multiply( camera.matrixWorldInverse, object.matrixWorld ); - - object._normalMatrix.getInverse( object._modelViewMatrix ); - object._normalMatrix.transpose(); - - }; - - // - - function setColorGamma( array, offset, color, intensitySq ) { - - array[ offset ] = color.r * color.r * intensitySq; - array[ offset + 1 ] = color.g * color.g * intensitySq; - array[ offset + 2 ] = color.b * color.b * intensitySq; - - }; - - function setColorLinear( array, offset, color, intensity ) { - - array[ offset ] = color.r * intensity; - array[ offset + 1 ] = color.g * intensity; - array[ offset + 2 ] = color.b * intensity; - - }; - - function setupLights ( program, lights ) { - - var l, ll, light, n, - r = 0, g = 0, b = 0, - color, skyColor, groundColor, - intensity, intensitySq, - position, - distance, - - zlights = _lights, - - dirColors = zlights.directional.colors, - dirPositions = zlights.directional.positions, - - pointColors = zlights.point.colors, - pointPositions = zlights.point.positions, - pointDistances = zlights.point.distances, - - spotColors = zlights.spot.colors, - spotPositions = zlights.spot.positions, - spotDistances = zlights.spot.distances, - spotDirections = zlights.spot.directions, - spotAngles = zlights.spot.angles, - spotExponents = zlights.spot.exponents, - - hemiSkyColors = zlights.hemi.skyColors, - hemiGroundColors = zlights.hemi.groundColors, - hemiPositions = zlights.hemi.positions, - - dirLength = 0, - pointLength = 0, - spotLength = 0, - hemiLength = 0, - - dirOffset = 0, - pointOffset = 0, - spotOffset = 0, - hemiOffset = 0; - - for ( l = 0, ll = lights.length; l < ll; l ++ ) { - - light = lights[ l ]; - - if ( light.onlyShadow || ! light.visible ) continue; - - color = light.color; - intensity = light.intensity; - distance = light.distance; - - if ( light instanceof THREE.AmbientLight ) { - - if ( _this.gammaInput ) { - - r += color.r * color.r; - g += color.g * color.g; - b += color.b * color.b; - - } else { - - r += color.r; - g += color.g; - b += color.b; - - } - - } else if ( light instanceof THREE.DirectionalLight ) { - - dirOffset = dirLength * 3; - - if ( _this.gammaInput ) { - - setColorGamma( dirColors, dirOffset, color, intensity * intensity ); - - } else { - - setColorLinear( dirColors, dirOffset, color, intensity ); - - } - - _direction.copy( light.matrixWorld.getPosition() ); - _direction.subSelf( light.target.matrixWorld.getPosition() ); - _direction.normalize(); - - dirPositions[ dirOffset ] = _direction.x; - dirPositions[ dirOffset + 1 ] = _direction.y; - dirPositions[ dirOffset + 2 ] = _direction.z; - - dirLength += 1; - - } else if( light instanceof THREE.PointLight ) { - - pointOffset = pointLength * 3; - - if ( _this.gammaInput ) { - - setColorGamma( pointColors, pointOffset, color, intensity * intensity ); - - } else { - - setColorLinear( pointColors, pointOffset, color, intensity ); - - } - - position = light.matrixWorld.getPosition(); - - pointPositions[ pointOffset ] = position.x; - pointPositions[ pointOffset + 1 ] = position.y; - pointPositions[ pointOffset + 2 ] = position.z; - - pointDistances[ pointLength ] = distance; - - pointLength += 1; - - } else if( light instanceof THREE.SpotLight ) { - - spotOffset = spotLength * 3; - - if ( _this.gammaInput ) { - - setColorGamma( spotColors, spotOffset, color, intensity * intensity ); - - } else { - - setColorLinear( spotColors, spotOffset, color, intensity ); - - } - - position = light.matrixWorld.getPosition(); - - spotPositions[ spotOffset ] = position.x; - spotPositions[ spotOffset + 1 ] = position.y; - spotPositions[ spotOffset + 2 ] = position.z; - - spotDistances[ spotLength ] = distance; - - _direction.copy( position ); - _direction.subSelf( light.target.matrixWorld.getPosition() ); - _direction.normalize(); - - spotDirections[ spotOffset ] = _direction.x; - spotDirections[ spotOffset + 1 ] = _direction.y; - spotDirections[ spotOffset + 2 ] = _direction.z; - - spotAngles[ spotLength ] = Math.cos( light.angle ); - spotExponents[ spotLength ] = light.exponent; - - spotLength += 1; - - } else if ( light instanceof THREE.HemisphereLight ) { - - skyColor = light.color; - groundColor = light.groundColor; - - hemiOffset = hemiLength * 3; - - if ( _this.gammaInput ) { - - intensitySq = intensity * intensity; - - setColorGamma( hemiSkyColors, hemiOffset, skyColor, intensitySq ); - setColorGamma( hemiGroundColors, hemiOffset, groundColor, intensitySq ); - - } else { - - setColorLinear( hemiSkyColors, hemiOffset, skyColor, intensity ); - setColorLinear( hemiGroundColors, hemiOffset, groundColor, intensity ); - - } - - position = light.matrixWorld.getPosition(); - - hemiPositions[ hemiOffset ] = position.x; - hemiPositions[ hemiOffset + 1 ] = position.y; - hemiPositions[ hemiOffset + 2 ] = position.z; - - hemiLength += 1; - - } - - } - - // null eventual remains from removed lights - // (this is to avoid if in shader) - - for ( l = dirLength * 3, ll = dirColors.length; l < ll; l ++ ) dirColors[ l ] = 0.0; - for ( l = pointLength * 3, ll = pointColors.length; l < ll; l ++ ) pointColors[ l ] = 0.0; - for ( l = spotLength * 3, ll = spotColors.length; l < ll; l ++ ) spotColors[ l ] = 0.0; - for ( l = hemiLength * 3, ll = hemiSkyColors.length; l < ll; l ++ ) hemiSkyColors[ l ] = 0.0; - for ( l = hemiLength * 3, ll = hemiGroundColors.length; l < ll; l ++ ) hemiGroundColors[ l ] = 0.0; - - zlights.directional.length = dirLength; - zlights.point.length = pointLength; - zlights.spot.length = spotLength; - zlights.hemi.length = hemiLength; - - zlights.ambient[ 0 ] = r; - zlights.ambient[ 1 ] = g; - zlights.ambient[ 2 ] = b; - - }; - - // GL state setting - - this.setFaceCulling = function ( cullFace, frontFace ) { - - if ( cullFace ) { - - if ( !frontFace || frontFace === "ccw" ) { - - _gl.frontFace( _gl.CCW ); - - } else { - - _gl.frontFace( _gl.CW ); - - } - - if( cullFace === "back" ) { - - _gl.cullFace( _gl.BACK ); - - } else if( cullFace === "front" ) { - - _gl.cullFace( _gl.FRONT ); - - } else { - - _gl.cullFace( _gl.FRONT_AND_BACK ); - - } - - _gl.enable( _gl.CULL_FACE ); - - } else { - - _gl.disable( _gl.CULL_FACE ); - - } - - }; - - this.setMaterialFaces = function ( material ) { - - var doubleSided = material.side === THREE.DoubleSide; - var flipSided = material.side === THREE.BackSide; - - if ( _oldDoubleSided !== doubleSided ) { - - if ( doubleSided ) { - - _gl.disable( _gl.CULL_FACE ); - - } else { - - _gl.enable( _gl.CULL_FACE ); - - } - - _oldDoubleSided = doubleSided; - - } - - if ( _oldFlipSided !== flipSided ) { - - if ( flipSided ) { - - _gl.frontFace( _gl.CW ); - - } else { - - _gl.frontFace( _gl.CCW ); - - } - - _oldFlipSided = flipSided; - - } - - }; - - this.setDepthTest = function ( depthTest ) { - - if ( _oldDepthTest !== depthTest ) { - - if ( depthTest ) { - - _gl.enable( _gl.DEPTH_TEST ); - - } else { - - _gl.disable( _gl.DEPTH_TEST ); - - } - - _oldDepthTest = depthTest; - - } - - }; - - this.setDepthWrite = function ( depthWrite ) { - - if ( _oldDepthWrite !== depthWrite ) { - - _gl.depthMask( depthWrite ); - _oldDepthWrite = depthWrite; - - } - - }; - - function setLineWidth ( width ) { - - if ( width !== _oldLineWidth ) { - - _gl.lineWidth( width ); - - _oldLineWidth = width; - - } - - }; - - function setPolygonOffset ( polygonoffset, factor, units ) { - - if ( _oldPolygonOffset !== polygonoffset ) { - - if ( polygonoffset ) { - - _gl.enable( _gl.POLYGON_OFFSET_FILL ); - - } else { - - _gl.disable( _gl.POLYGON_OFFSET_FILL ); - - } - - _oldPolygonOffset = polygonoffset; - - } - - if ( polygonoffset && ( _oldPolygonOffsetFactor !== factor || _oldPolygonOffsetUnits !== units ) ) { - - _gl.polygonOffset( factor, units ); - - _oldPolygonOffsetFactor = factor; - _oldPolygonOffsetUnits = units; - - } - - }; - - this.setBlending = function ( blending, blendEquation, blendSrc, blendDst ) { - - if ( blending !== _oldBlending ) { - - if ( blending === THREE.NoBlending ) { - - _gl.disable( _gl.BLEND ); - - } else if ( blending === THREE.AdditiveBlending ) { - - _gl.enable( _gl.BLEND ); - _gl.blendEquation( _gl.FUNC_ADD ); - _gl.blendFunc( _gl.SRC_ALPHA, _gl.ONE ); - - } else if ( blending === THREE.SubtractiveBlending ) { - - // TODO: Find blendFuncSeparate() combination - _gl.enable( _gl.BLEND ); - _gl.blendEquation( _gl.FUNC_ADD ); - _gl.blendFunc( _gl.ZERO, _gl.ONE_MINUS_SRC_COLOR ); - - } else if ( blending === THREE.MultiplyBlending ) { - - // TODO: Find blendFuncSeparate() combination - _gl.enable( _gl.BLEND ); - _gl.blendEquation( _gl.FUNC_ADD ); - _gl.blendFunc( _gl.ZERO, _gl.SRC_COLOR ); - - } else if ( blending === THREE.CustomBlending ) { - - _gl.enable( _gl.BLEND ); - - } else { - - _gl.enable( _gl.BLEND ); - _gl.blendEquationSeparate( _gl.FUNC_ADD, _gl.FUNC_ADD ); - _gl.blendFuncSeparate( _gl.SRC_ALPHA, _gl.ONE_MINUS_SRC_ALPHA, _gl.ONE, _gl.ONE_MINUS_SRC_ALPHA ); - - } - - _oldBlending = blending; - - } - - if ( blending === THREE.CustomBlending ) { - - if ( blendEquation !== _oldBlendEquation ) { - - _gl.blendEquation( paramThreeToGL( blendEquation ) ); - - _oldBlendEquation = blendEquation; - - } - - if ( blendSrc !== _oldBlendSrc || blendDst !== _oldBlendDst ) { - - _gl.blendFunc( paramThreeToGL( blendSrc ), paramThreeToGL( blendDst ) ); - - _oldBlendSrc = blendSrc; - _oldBlendDst = blendDst; - - } - - } else { - - _oldBlendEquation = null; - _oldBlendSrc = null; - _oldBlendDst = null; - - } - - }; - - // Defines - - function generateDefines ( defines ) { - - var value, chunk, chunks = []; - - for ( var d in defines ) { - - value = defines[ d ]; - if ( value === false ) continue; - - chunk = "#define " + d + " " + value; - chunks.push( chunk ); - - } - - return chunks.join( "\n" ); - - }; - - // Shaders - - function buildProgram ( shaderID, fragmentShader, vertexShader, uniforms, attributes, defines, parameters ) { - - var p, pl, d, program, code; - var chunks = []; - - // Generate code - - if ( shaderID ) { - - chunks.push( shaderID ); - - } else { - - chunks.push( fragmentShader ); - chunks.push( vertexShader ); - - } - - for ( d in defines ) { - - chunks.push( d ); - chunks.push( defines[ d ] ); - - } - - for ( p in parameters ) { - - chunks.push( p ); - chunks.push( parameters[ p ] ); - - } - - code = chunks.join(); - - // Check if code has been already compiled - - for ( p = 0, pl = _programs.length; p < pl; p ++ ) { - - var programInfo = _programs[ p ]; - - if ( programInfo.code === code ) { - - // console.log( "Code already compiled." /*: \n\n" + code*/ ); - - programInfo.usedTimes ++; - - return programInfo.program; - - } - - } - - //console.log( "building new program " ); - - // - - var customDefines = generateDefines( defines ); - - // - - program = _gl.createProgram(); - - var prefix_vertex = [ - - "precision " + _precision + " float;", - - customDefines, - - _supportsVertexTextures ? "#define VERTEX_TEXTURES" : "", - - _this.gammaInput ? "#define GAMMA_INPUT" : "", - _this.gammaOutput ? "#define GAMMA_OUTPUT" : "", - _this.physicallyBasedShading ? "#define PHYSICALLY_BASED_SHADING" : "", - - "#define MAX_DIR_LIGHTS " + parameters.maxDirLights, - "#define MAX_POINT_LIGHTS " + parameters.maxPointLights, - "#define MAX_SPOT_LIGHTS " + parameters.maxSpotLights, - "#define MAX_HEMI_LIGHTS " + parameters.maxHemiLights, - - "#define MAX_SHADOWS " + parameters.maxShadows, - - "#define MAX_BONES " + parameters.maxBones, - - parameters.map ? "#define USE_MAP" : "", - parameters.envMap ? "#define USE_ENVMAP" : "", - parameters.lightMap ? "#define USE_LIGHTMAP" : "", - parameters.bumpMap ? "#define USE_BUMPMAP" : "", - parameters.normalMap ? "#define USE_NORMALMAP" : "", - parameters.specularMap ? "#define USE_SPECULARMAP" : "", - parameters.vertexColors ? "#define USE_COLOR" : "", - - parameters.skinning ? "#define USE_SKINNING" : "", - parameters.useVertexTexture ? "#define BONE_TEXTURE" : "", - parameters.boneTextureWidth ? "#define N_BONE_PIXEL_X " + parameters.boneTextureWidth.toFixed( 1 ) : "", - parameters.boneTextureHeight ? "#define N_BONE_PIXEL_Y " + parameters.boneTextureHeight.toFixed( 1 ) : "", - - parameters.morphTargets ? "#define USE_MORPHTARGETS" : "", - parameters.morphNormals ? "#define USE_MORPHNORMALS" : "", - parameters.perPixel ? "#define PHONG_PER_PIXEL" : "", - parameters.wrapAround ? "#define WRAP_AROUND" : "", - parameters.doubleSided ? "#define DOUBLE_SIDED" : "", - parameters.flipSided ? "#define FLIP_SIDED" : "", - - parameters.shadowMapEnabled ? "#define USE_SHADOWMAP" : "", - parameters.shadowMapSoft ? "#define SHADOWMAP_SOFT" : "", - parameters.shadowMapDebug ? "#define SHADOWMAP_DEBUG" : "", - parameters.shadowMapCascade ? "#define SHADOWMAP_CASCADE" : "", - - parameters.sizeAttenuation ? "#define USE_SIZEATTENUATION" : "", - - "uniform mat4 modelMatrix;", - "uniform mat4 modelViewMatrix;", - "uniform mat4 projectionMatrix;", - "uniform mat4 viewMatrix;", - "uniform mat3 normalMatrix;", - "uniform vec3 cameraPosition;", - - "attribute vec3 position;", - "attribute vec3 normal;", - "attribute vec2 uv;", - "attribute vec2 uv2;", - - "#ifdef USE_COLOR", - - "attribute vec3 color;", - - "#endif", - - "#ifdef USE_MORPHTARGETS", - - "attribute vec3 morphTarget0;", - "attribute vec3 morphTarget1;", - "attribute vec3 morphTarget2;", - "attribute vec3 morphTarget3;", - - "#ifdef USE_MORPHNORMALS", - - "attribute vec3 morphNormal0;", - "attribute vec3 morphNormal1;", - "attribute vec3 morphNormal2;", - "attribute vec3 morphNormal3;", - - "#else", - - "attribute vec3 morphTarget4;", - "attribute vec3 morphTarget5;", - "attribute vec3 morphTarget6;", - "attribute vec3 morphTarget7;", - - "#endif", - - "#endif", - - "#ifdef USE_SKINNING", - - "attribute vec4 skinIndex;", - "attribute vec4 skinWeight;", - - "#endif", - - "" - - ].join("\n"); - - var prefix_fragment = [ - - "precision " + _precision + " float;", - - ( parameters.bumpMap || parameters.normalMap ) ? "#extension GL_OES_standard_derivatives : enable" : "", - - customDefines, - - "#define MAX_DIR_LIGHTS " + parameters.maxDirLights, - "#define MAX_POINT_LIGHTS " + parameters.maxPointLights, - "#define MAX_SPOT_LIGHTS " + parameters.maxSpotLights, - "#define MAX_HEMI_LIGHTS " + parameters.maxHemiLights, - - "#define MAX_SHADOWS " + parameters.maxShadows, - - parameters.alphaTest ? "#define ALPHATEST " + parameters.alphaTest: "", - - _this.gammaInput ? "#define GAMMA_INPUT" : "", - _this.gammaOutput ? "#define GAMMA_OUTPUT" : "", - _this.physicallyBasedShading ? "#define PHYSICALLY_BASED_SHADING" : "", - - ( parameters.useFog && parameters.fog ) ? "#define USE_FOG" : "", - ( parameters.useFog && parameters.fog instanceof THREE.FogExp2 ) ? "#define FOG_EXP2" : "", - - parameters.map ? "#define USE_MAP" : "", - parameters.envMap ? "#define USE_ENVMAP" : "", - parameters.lightMap ? "#define USE_LIGHTMAP" : "", - parameters.bumpMap ? "#define USE_BUMPMAP" : "", - parameters.normalMap ? "#define USE_NORMALMAP" : "", - parameters.specularMap ? "#define USE_SPECULARMAP" : "", - parameters.vertexColors ? "#define USE_COLOR" : "", - - parameters.metal ? "#define METAL" : "", - parameters.perPixel ? "#define PHONG_PER_PIXEL" : "", - parameters.wrapAround ? "#define WRAP_AROUND" : "", - parameters.doubleSided ? "#define DOUBLE_SIDED" : "", - parameters.flipSided ? "#define FLIP_SIDED" : "", - - parameters.shadowMapEnabled ? "#define USE_SHADOWMAP" : "", - parameters.shadowMapSoft ? "#define SHADOWMAP_SOFT" : "", - parameters.shadowMapDebug ? "#define SHADOWMAP_DEBUG" : "", - parameters.shadowMapCascade ? "#define SHADOWMAP_CASCADE" : "", - - "uniform mat4 viewMatrix;", - "uniform vec3 cameraPosition;", - "" - - ].join("\n"); - - var glFragmentShader = getShader( "fragment", prefix_fragment + fragmentShader ); - var glVertexShader = getShader( "vertex", prefix_vertex + vertexShader ); - - _gl.attachShader( program, glVertexShader ); - _gl.attachShader( program, glFragmentShader ); - - _gl.linkProgram( program ); - - if ( !_gl.getProgramParameter( program, _gl.LINK_STATUS ) ) { - - console.error( "Could not initialise shader\n" + "VALIDATE_STATUS: " + _gl.getProgramParameter( program, _gl.VALIDATE_STATUS ) + ", gl error [" + _gl.getError() + "]" ); - - } - - // clean up - - _gl.deleteShader( glFragmentShader ); - _gl.deleteShader( glVertexShader ); - - //console.log( prefix_fragment + fragmentShader ); - //console.log( prefix_vertex + vertexShader ); - - program.uniforms = {}; - program.attributes = {}; - - var identifiers, u, a, i; - - // cache uniform locations - - identifiers = [ - - 'viewMatrix', 'modelViewMatrix', 'projectionMatrix', 'normalMatrix', 'modelMatrix', 'cameraPosition', - 'morphTargetInfluences' - - ]; - - if ( parameters.useVertexTexture ) { - - identifiers.push( 'boneTexture' ); - - } else { - - identifiers.push( 'boneGlobalMatrices' ); - - } - - for ( u in uniforms ) { - - identifiers.push( u ); - - } - - cacheUniformLocations( program, identifiers ); - - // cache attributes locations - - identifiers = [ - - "position", "normal", "uv", "uv2", "tangent", "color", - "skinIndex", "skinWeight" - - ]; - - for ( i = 0; i < parameters.maxMorphTargets; i ++ ) { - - identifiers.push( "morphTarget" + i ); - - } - - for ( i = 0; i < parameters.maxMorphNormals; i ++ ) { - - identifiers.push( "morphNormal" + i ); - - } - - for ( a in attributes ) { - - identifiers.push( a ); - - } - - cacheAttributeLocations( program, identifiers ); - - program.id = _programs_counter ++; - - _programs.push( { program: program, code: code, usedTimes: 1 } ); - - _this.info.memory.programs = _programs.length; - - return program; - - }; - - // Shader parameters cache - - function cacheUniformLocations ( program, identifiers ) { - - var i, l, id; - - for( i = 0, l = identifiers.length; i < l; i ++ ) { - - id = identifiers[ i ]; - program.uniforms[ id ] = _gl.getUniformLocation( program, id ); - - } - - }; - - function cacheAttributeLocations ( program, identifiers ) { - - var i, l, id; - - for( i = 0, l = identifiers.length; i < l; i ++ ) { - - id = identifiers[ i ]; - program.attributes[ id ] = _gl.getAttribLocation( program, id ); - - } - - }; - - function addLineNumbers ( string ) { - - var chunks = string.split( "\n" ); - - for ( var i = 0, il = chunks.length; i < il; i ++ ) { - - // Chrome reports shader errors on lines - // starting counting from 1 - - chunks[ i ] = ( i + 1 ) + ": " + chunks[ i ]; - - } - - return chunks.join( "\n" ); - - }; - - function getShader ( type, string ) { - - var shader; - - if ( type === "fragment" ) { - - shader = _gl.createShader( _gl.FRAGMENT_SHADER ); - - } else if ( type === "vertex" ) { - - shader = _gl.createShader( _gl.VERTEX_SHADER ); - - } - - _gl.shaderSource( shader, string ); - _gl.compileShader( shader ); - - if ( !_gl.getShaderParameter( shader, _gl.COMPILE_STATUS ) ) { - - console.error( _gl.getShaderInfoLog( shader ) ); - console.error( addLineNumbers( string ) ); - return null; - - } - - return shader; - - }; - - // Textures - - - function isPowerOfTwo ( value ) { - - return ( value & ( value - 1 ) ) === 0; - - }; - - function setTextureParameters ( textureType, texture, isImagePowerOfTwo ) { - - if ( isImagePowerOfTwo ) { - - _gl.texParameteri( textureType, _gl.TEXTURE_WRAP_S, paramThreeToGL( texture.wrapS ) ); - _gl.texParameteri( textureType, _gl.TEXTURE_WRAP_T, paramThreeToGL( texture.wrapT ) ); - - _gl.texParameteri( textureType, _gl.TEXTURE_MAG_FILTER, paramThreeToGL( texture.magFilter ) ); - _gl.texParameteri( textureType, _gl.TEXTURE_MIN_FILTER, paramThreeToGL( texture.minFilter ) ); - - } else { - - _gl.texParameteri( textureType, _gl.TEXTURE_WRAP_S, _gl.CLAMP_TO_EDGE ); - _gl.texParameteri( textureType, _gl.TEXTURE_WRAP_T, _gl.CLAMP_TO_EDGE ); - - _gl.texParameteri( textureType, _gl.TEXTURE_MAG_FILTER, filterFallback( texture.magFilter ) ); - _gl.texParameteri( textureType, _gl.TEXTURE_MIN_FILTER, filterFallback( texture.minFilter ) ); - - } - - if ( _glExtensionTextureFilterAnisotropic && texture.type !== THREE.FloatType ) { - - if ( texture.anisotropy > 1 || texture.__oldAnisotropy ) { - - _gl.texParameterf( textureType, _glExtensionTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT, Math.min( texture.anisotropy, _maxAnisotropy ) ); - texture.__oldAnisotropy = texture.anisotropy; - - } - - } - - }; - - this.setTexture = function ( texture, slot ) { - - if ( texture.needsUpdate ) { - - if ( ! texture.__webglInit ) { - - texture.__webglInit = true; - texture.__webglTexture = _gl.createTexture(); - - _this.info.memory.textures ++; - - } - - _gl.activeTexture( _gl.TEXTURE0 + slot ); - _gl.bindTexture( _gl.TEXTURE_2D, texture.__webglTexture ); - - _gl.pixelStorei( _gl.UNPACK_FLIP_Y_WEBGL, texture.flipY ); - _gl.pixelStorei( _gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL, texture.premultiplyAlpha ); - - var image = texture.image, - isImagePowerOfTwo = isPowerOfTwo( image.width ) && isPowerOfTwo( image.height ), - glFormat = paramThreeToGL( texture.format ), - glType = paramThreeToGL( texture.type ); - - setTextureParameters( _gl.TEXTURE_2D, texture, isImagePowerOfTwo ); - - if ( texture instanceof THREE.CompressedTexture ) { - - var mipmap, mipmaps = texture.mipmaps; - - for( var i = 0, il = mipmaps.length; i < il; i ++ ) { - - mipmap = mipmaps[ i ]; - _gl.compressedTexImage2D( _gl.TEXTURE_2D, i, glFormat, mipmap.width, mipmap.height, 0, mipmap.data ); - - } - - } else if ( texture instanceof THREE.DataTexture ) { - - _gl.texImage2D( _gl.TEXTURE_2D, 0, glFormat, image.width, image.height, 0, glFormat, glType, image.data ); - - } else { - - _gl.texImage2D( _gl.TEXTURE_2D, 0, glFormat, glFormat, glType, texture.image ); - - } - - if ( texture.generateMipmaps && isImagePowerOfTwo ) _gl.generateMipmap( _gl.TEXTURE_2D ); - - texture.needsUpdate = false; - - if ( texture.onUpdate ) texture.onUpdate(); - - } else { - - _gl.activeTexture( _gl.TEXTURE0 + slot ); - _gl.bindTexture( _gl.TEXTURE_2D, texture.__webglTexture ); - - } - - }; - - function clampToMaxSize ( image, maxSize ) { - - if ( image.width <= maxSize && image.height <= maxSize ) { - - return image; - - } - - // Warning: Scaling through the canvas will only work with images that use - // premultiplied alpha. - - var maxDimension = Math.max( image.width, image.height ); - var newWidth = Math.floor( image.width * maxSize / maxDimension ); - var newHeight = Math.floor( image.height * maxSize / maxDimension ); - - var canvas = document.createElement( 'canvas' ); - canvas.width = newWidth; - canvas.height = newHeight; - - var ctx = canvas.getContext( "2d" ); - ctx.drawImage( image, 0, 0, image.width, image.height, 0, 0, newWidth, newHeight ); - - return canvas; - - } - - function setCubeTexture ( texture, slot ) { - - if ( texture.image.length === 6 ) { - - if ( texture.needsUpdate ) { - - if ( ! texture.image.__webglTextureCube ) { - - texture.image.__webglTextureCube = _gl.createTexture(); - - } - - _gl.activeTexture( _gl.TEXTURE0 + slot ); - _gl.bindTexture( _gl.TEXTURE_CUBE_MAP, texture.image.__webglTextureCube ); - - _gl.pixelStorei( _gl.UNPACK_FLIP_Y_WEBGL, texture.flipY ); - - var isCompressed = texture instanceof THREE.CompressedTexture; - - var cubeImage = []; - - for ( var i = 0; i < 6; i ++ ) { - - if ( _this.autoScaleCubemaps && ! isCompressed ) { - - cubeImage[ i ] = clampToMaxSize( texture.image[ i ], _maxCubemapSize ); - - } else { - - cubeImage[ i ] = texture.image[ i ]; - - } - - } - - var image = cubeImage[ 0 ], - isImagePowerOfTwo = isPowerOfTwo( image.width ) && isPowerOfTwo( image.height ), - glFormat = paramThreeToGL( texture.format ), - glType = paramThreeToGL( texture.type ); - - setTextureParameters( _gl.TEXTURE_CUBE_MAP, texture, isImagePowerOfTwo ); - - for ( var i = 0; i < 6; i ++ ) { - - if ( isCompressed ) { - - var mipmap, mipmaps = cubeImage[ i ].mipmaps; - - for( var j = 0, jl = mipmaps.length; j < jl; j ++ ) { - - mipmap = mipmaps[ j ]; - _gl.compressedTexImage2D( _gl.TEXTURE_CUBE_MAP_POSITIVE_X + i, j, glFormat, mipmap.width, mipmap.height, 0, mipmap.data ); - - } - - } else { - - _gl.texImage2D( _gl.TEXTURE_CUBE_MAP_POSITIVE_X + i, 0, glFormat, glFormat, glType, cubeImage[ i ] ); - - } - - } - - if ( texture.generateMipmaps && isImagePowerOfTwo ) { - - _gl.generateMipmap( _gl.TEXTURE_CUBE_MAP ); - - } - - texture.needsUpdate = false; - - if ( texture.onUpdate ) texture.onUpdate(); - - } else { - - _gl.activeTexture( _gl.TEXTURE0 + slot ); - _gl.bindTexture( _gl.TEXTURE_CUBE_MAP, texture.image.__webglTextureCube ); - - } - - } - - }; - - function setCubeTextureDynamic ( texture, slot ) { - - _gl.activeTexture( _gl.TEXTURE0 + slot ); - _gl.bindTexture( _gl.TEXTURE_CUBE_MAP, texture.__webglTexture ); - - }; - - // Render targets - - function setupFrameBuffer ( framebuffer, renderTarget, textureTarget ) { - - _gl.bindFramebuffer( _gl.FRAMEBUFFER, framebuffer ); - _gl.framebufferTexture2D( _gl.FRAMEBUFFER, _gl.COLOR_ATTACHMENT0, textureTarget, renderTarget.__webglTexture, 0 ); - - }; - - function setupRenderBuffer ( renderbuffer, renderTarget ) { - - _gl.bindRenderbuffer( _gl.RENDERBUFFER, renderbuffer ); - - if ( renderTarget.depthBuffer && ! renderTarget.stencilBuffer ) { - - _gl.renderbufferStorage( _gl.RENDERBUFFER, _gl.DEPTH_COMPONENT16, renderTarget.width, renderTarget.height ); - _gl.framebufferRenderbuffer( _gl.FRAMEBUFFER, _gl.DEPTH_ATTACHMENT, _gl.RENDERBUFFER, renderbuffer ); - - /* For some reason this is not working. Defaulting to RGBA4. - } else if( ! renderTarget.depthBuffer && renderTarget.stencilBuffer ) { - - _gl.renderbufferStorage( _gl.RENDERBUFFER, _gl.STENCIL_INDEX8, renderTarget.width, renderTarget.height ); - _gl.framebufferRenderbuffer( _gl.FRAMEBUFFER, _gl.STENCIL_ATTACHMENT, _gl.RENDERBUFFER, renderbuffer ); - */ - } else if( renderTarget.depthBuffer && renderTarget.stencilBuffer ) { - - _gl.renderbufferStorage( _gl.RENDERBUFFER, _gl.DEPTH_STENCIL, renderTarget.width, renderTarget.height ); - _gl.framebufferRenderbuffer( _gl.FRAMEBUFFER, _gl.DEPTH_STENCIL_ATTACHMENT, _gl.RENDERBUFFER, renderbuffer ); - - } else { - - _gl.renderbufferStorage( _gl.RENDERBUFFER, _gl.RGBA4, renderTarget.width, renderTarget.height ); - - } - - }; - - this.setRenderTarget = function ( renderTarget ) { - - var isCube = ( renderTarget instanceof THREE.WebGLRenderTargetCube ); - - if ( renderTarget && ! renderTarget.__webglFramebuffer ) { - - if ( renderTarget.depthBuffer === undefined ) renderTarget.depthBuffer = true; - if ( renderTarget.stencilBuffer === undefined ) renderTarget.stencilBuffer = true; - - renderTarget.__webglTexture = _gl.createTexture(); - - // Setup texture, create render and frame buffers - - var isTargetPowerOfTwo = isPowerOfTwo( renderTarget.width ) && isPowerOfTwo( renderTarget.height ), - glFormat = paramThreeToGL( renderTarget.format ), - glType = paramThreeToGL( renderTarget.type ); - - if ( isCube ) { - - renderTarget.__webglFramebuffer = []; - renderTarget.__webglRenderbuffer = []; - - _gl.bindTexture( _gl.TEXTURE_CUBE_MAP, renderTarget.__webglTexture ); - setTextureParameters( _gl.TEXTURE_CUBE_MAP, renderTarget, isTargetPowerOfTwo ); - - for ( var i = 0; i < 6; i ++ ) { - - renderTarget.__webglFramebuffer[ i ] = _gl.createFramebuffer(); - renderTarget.__webglRenderbuffer[ i ] = _gl.createRenderbuffer(); - - _gl.texImage2D( _gl.TEXTURE_CUBE_MAP_POSITIVE_X + i, 0, glFormat, renderTarget.width, renderTarget.height, 0, glFormat, glType, null ); - - setupFrameBuffer( renderTarget.__webglFramebuffer[ i ], renderTarget, _gl.TEXTURE_CUBE_MAP_POSITIVE_X + i ); - setupRenderBuffer( renderTarget.__webglRenderbuffer[ i ], renderTarget ); - - } - - if ( isTargetPowerOfTwo ) _gl.generateMipmap( _gl.TEXTURE_CUBE_MAP ); - - } else { - - renderTarget.__webglFramebuffer = _gl.createFramebuffer(); - renderTarget.__webglRenderbuffer = _gl.createRenderbuffer(); - - _gl.bindTexture( _gl.TEXTURE_2D, renderTarget.__webglTexture ); - setTextureParameters( _gl.TEXTURE_2D, renderTarget, isTargetPowerOfTwo ); - - _gl.texImage2D( _gl.TEXTURE_2D, 0, glFormat, renderTarget.width, renderTarget.height, 0, glFormat, glType, null ); - - setupFrameBuffer( renderTarget.__webglFramebuffer, renderTarget, _gl.TEXTURE_2D ); - setupRenderBuffer( renderTarget.__webglRenderbuffer, renderTarget ); - - if ( isTargetPowerOfTwo ) _gl.generateMipmap( _gl.TEXTURE_2D ); - - } - - // Release everything - - if ( isCube ) { - - _gl.bindTexture( _gl.TEXTURE_CUBE_MAP, null ); - - } else { - - _gl.bindTexture( _gl.TEXTURE_2D, null ); - - } - - _gl.bindRenderbuffer( _gl.RENDERBUFFER, null ); - _gl.bindFramebuffer( _gl.FRAMEBUFFER, null); - - } - - var framebuffer, width, height, vx, vy; - - if ( renderTarget ) { - - if ( isCube ) { - - framebuffer = renderTarget.__webglFramebuffer[ renderTarget.activeCubeFace ]; - - } else { - - framebuffer = renderTarget.__webglFramebuffer; - - } - - width = renderTarget.width; - height = renderTarget.height; - - vx = 0; - vy = 0; - - } else { - - framebuffer = null; - - width = _viewportWidth; - height = _viewportHeight; - - vx = _viewportX; - vy = _viewportY; - - } - - if ( framebuffer !== _currentFramebuffer ) { - - _gl.bindFramebuffer( _gl.FRAMEBUFFER, framebuffer ); - _gl.viewport( vx, vy, width, height ); - - _currentFramebuffer = framebuffer; - - } - - _currentWidth = width; - _currentHeight = height; - - }; - - function updateRenderTargetMipmap ( renderTarget ) { - - if ( renderTarget instanceof THREE.WebGLRenderTargetCube ) { - - _gl.bindTexture( _gl.TEXTURE_CUBE_MAP, renderTarget.__webglTexture ); - _gl.generateMipmap( _gl.TEXTURE_CUBE_MAP ); - _gl.bindTexture( _gl.TEXTURE_CUBE_MAP, null ); - - } else { - - _gl.bindTexture( _gl.TEXTURE_2D, renderTarget.__webglTexture ); - _gl.generateMipmap( _gl.TEXTURE_2D ); - _gl.bindTexture( _gl.TEXTURE_2D, null ); - - } - - }; - - // Fallback filters for non-power-of-2 textures - - function filterFallback ( f ) { - - if ( f === THREE.NearestFilter || f === THREE.NearestMipMapNearestFilter || f === THREE.NearestMipMapLinearFilter ) { - - return _gl.NEAREST; - - } - - return _gl.LINEAR; - - }; - - // Map three.js constants to WebGL constants - - function paramThreeToGL ( p ) { - - if ( p === THREE.RepeatWrapping ) return _gl.REPEAT; - if ( p === THREE.ClampToEdgeWrapping ) return _gl.CLAMP_TO_EDGE; - if ( p === THREE.MirroredRepeatWrapping ) return _gl.MIRRORED_REPEAT; - - if ( p === THREE.NearestFilter ) return _gl.NEAREST; - if ( p === THREE.NearestMipMapNearestFilter ) return _gl.NEAREST_MIPMAP_NEAREST; - if ( p === THREE.NearestMipMapLinearFilter ) return _gl.NEAREST_MIPMAP_LINEAR; - - if ( p === THREE.LinearFilter ) return _gl.LINEAR; - if ( p === THREE.LinearMipMapNearestFilter ) return _gl.LINEAR_MIPMAP_NEAREST; - if ( p === THREE.LinearMipMapLinearFilter ) return _gl.LINEAR_MIPMAP_LINEAR; - - if ( p === THREE.UnsignedByteType ) return _gl.UNSIGNED_BYTE; - if ( p === THREE.UnsignedShort4444Type ) return _gl.UNSIGNED_SHORT_4_4_4_4; - if ( p === THREE.UnsignedShort5551Type ) return _gl.UNSIGNED_SHORT_5_5_5_1; - if ( p === THREE.UnsignedShort565Type ) return _gl.UNSIGNED_SHORT_5_6_5; - - if ( p === THREE.ByteType ) return _gl.BYTE; - if ( p === THREE.ShortType ) return _gl.SHORT; - if ( p === THREE.UnsignedShortType ) return _gl.UNSIGNED_SHORT; - if ( p === THREE.IntType ) return _gl.INT; - if ( p === THREE.UnsignedIntType ) return _gl.UNSIGNED_INT; - if ( p === THREE.FloatType ) return _gl.FLOAT; - - if ( p === THREE.AlphaFormat ) return _gl.ALPHA; - if ( p === THREE.RGBFormat ) return _gl.RGB; - if ( p === THREE.RGBAFormat ) return _gl.RGBA; - if ( p === THREE.LuminanceFormat ) return _gl.LUMINANCE; - if ( p === THREE.LuminanceAlphaFormat ) return _gl.LUMINANCE_ALPHA; - - if ( p === THREE.AddEquation ) return _gl.FUNC_ADD; - if ( p === THREE.SubtractEquation ) return _gl.FUNC_SUBTRACT; - if ( p === THREE.ReverseSubtractEquation ) return _gl.FUNC_REVERSE_SUBTRACT; - - if ( p === THREE.ZeroFactor ) return _gl.ZERO; - if ( p === THREE.OneFactor ) return _gl.ONE; - if ( p === THREE.SrcColorFactor ) return _gl.SRC_COLOR; - if ( p === THREE.OneMinusSrcColorFactor ) return _gl.ONE_MINUS_SRC_COLOR; - if ( p === THREE.SrcAlphaFactor ) return _gl.SRC_ALPHA; - if ( p === THREE.OneMinusSrcAlphaFactor ) return _gl.ONE_MINUS_SRC_ALPHA; - if ( p === THREE.DstAlphaFactor ) return _gl.DST_ALPHA; - if ( p === THREE.OneMinusDstAlphaFactor ) return _gl.ONE_MINUS_DST_ALPHA; - - if ( p === THREE.DstColorFactor ) return _gl.DST_COLOR; - if ( p === THREE.OneMinusDstColorFactor ) return _gl.ONE_MINUS_DST_COLOR; - if ( p === THREE.SrcAlphaSaturateFactor ) return _gl.SRC_ALPHA_SATURATE; - - if ( _glExtensionCompressedTextureS3TC !== undefined ) { - - if ( p === THREE.RGB_S3TC_DXT1_Format ) return _glExtensionCompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT; - if ( p === THREE.RGBA_S3TC_DXT1_Format ) return _glExtensionCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT; - if ( p === THREE.RGBA_S3TC_DXT3_Format ) return _glExtensionCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT; - if ( p === THREE.RGBA_S3TC_DXT5_Format ) return _glExtensionCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT; - - } - - return 0; - - }; - - // Allocations - - function allocateBones ( object ) { - - if ( _supportsBoneTextures && object && object.useVertexTexture ) { - - return 1024; - - } else { - - // default for when object is not specified - // ( for example when prebuilding shader - // to be used with multiple objects ) - // - // - leave some extra space for other uniforms - // - limit here is ANGLE's 254 max uniform vectors - // (up to 54 should be safe) - - var nVertexUniforms = _gl.getParameter( _gl.MAX_VERTEX_UNIFORM_VECTORS ); - var nVertexMatrices = Math.floor( ( nVertexUniforms - 20 ) / 4 ); - - var maxBones = nVertexMatrices; - - if ( object !== undefined && object instanceof THREE.SkinnedMesh ) { - - maxBones = Math.min( object.bones.length, maxBones ); - - if ( maxBones < object.bones.length ) { - - console.warn( "WebGLRenderer: too many bones - " + object.bones.length + ", this GPU supports just " + maxBones + " (try OpenGL instead of ANGLE)" ); - - } - - } - - return maxBones; - - } - - }; - - function allocateLights ( lights ) { - - var l, ll, light, dirLights, pointLights, spotLights, hemiLights, maxDirLights, maxPointLights, maxSpotLights, maxHemiLights; - - dirLights = pointLights = spotLights = hemiLights = maxDirLights = maxPointLights = maxSpotLights = maxHemiLights = 0; - - for ( l = 0, ll = lights.length; l < ll; l ++ ) { - - light = lights[ l ]; - - if ( light.onlyShadow ) continue; - - if ( light instanceof THREE.DirectionalLight ) dirLights ++; - if ( light instanceof THREE.PointLight ) pointLights ++; - if ( light instanceof THREE.SpotLight ) spotLights ++; - if ( light instanceof THREE.HemisphereLight ) hemiLights ++; - - } - - if ( ( pointLights + spotLights + dirLights + hemiLights) <= _maxLights ) { - - maxDirLights = dirLights; - maxPointLights = pointLights; - maxSpotLights = spotLights; - maxHemiLights = hemiLights; - - } else { - - maxDirLights = Math.ceil( _maxLights * dirLights / ( pointLights + dirLights ) ); - maxPointLights = _maxLights - maxDirLights; - - // these are not really correct - - maxSpotLights = maxPointLights; - maxHemiLights = maxDirLights; - - } - - return { 'directional' : maxDirLights, 'point' : maxPointLights, 'spot': maxSpotLights, 'hemi': maxHemiLights }; - - }; - - function allocateShadows ( lights ) { - - var l, ll, light, maxShadows = 0; - - for ( l = 0, ll = lights.length; l < ll; l++ ) { - - light = lights[ l ]; - - if ( ! light.castShadow ) continue; - - if ( light instanceof THREE.SpotLight ) maxShadows ++; - if ( light instanceof THREE.DirectionalLight && ! light.shadowCascade ) maxShadows ++; - - } - - return maxShadows; - - }; - - // Initialization - - function initGL () { - - try { - - if ( ! ( _gl = _canvas.getContext( 'experimental-webgl', { alpha: _alpha, premultipliedAlpha: _premultipliedAlpha, antialias: _antialias, stencil: _stencil, preserveDrawingBuffer: _preserveDrawingBuffer } ) ) ) { - - throw 'Error creating WebGL context.'; - - } - - } catch ( error ) { - - console.error( error ); - - } - - _glExtensionTextureFloat = _gl.getExtension( 'OES_texture_float' ); - _glExtensionStandardDerivatives = _gl.getExtension( 'OES_standard_derivatives' ); - - _glExtensionTextureFilterAnisotropic = _gl.getExtension( 'EXT_texture_filter_anisotropic' ) || - _gl.getExtension( 'MOZ_EXT_texture_filter_anisotropic' ) || - _gl.getExtension( 'WEBKIT_EXT_texture_filter_anisotropic' ); - - - _glExtensionCompressedTextureS3TC = _gl.getExtension( 'WEBGL_compressed_texture_s3tc' ) || - _gl.getExtension( 'MOZ_WEBGL_compressed_texture_s3tc' ) || - _gl.getExtension( 'WEBKIT_WEBGL_compressed_texture_s3tc' ); - - if ( ! _glExtensionTextureFloat ) { - - console.log( 'THREE.WebGLRenderer: Float textures not supported.' ); - - } - - if ( ! _glExtensionStandardDerivatives ) { - - console.log( 'THREE.WebGLRenderer: Standard derivatives not supported.' ); - - } - - if ( ! _glExtensionTextureFilterAnisotropic ) { - - console.log( 'THREE.WebGLRenderer: Anisotropic texture filtering not supported.' ); - - } - - if ( ! _glExtensionCompressedTextureS3TC ) { - - console.log( 'THREE.WebGLRenderer: S3TC compressed textures not supported.' ); - - } - - }; - - function setDefaultGLState () { - - _gl.clearColor( 0, 0, 0, 1 ); - _gl.clearDepth( 1 ); - _gl.clearStencil( 0 ); - - _gl.enable( _gl.DEPTH_TEST ); - _gl.depthFunc( _gl.LEQUAL ); - - _gl.frontFace( _gl.CCW ); - _gl.cullFace( _gl.BACK ); - _gl.enable( _gl.CULL_FACE ); - - _gl.enable( _gl.BLEND ); - _gl.blendEquation( _gl.FUNC_ADD ); - _gl.blendFunc( _gl.SRC_ALPHA, _gl.ONE_MINUS_SRC_ALPHA ); - - _gl.clearColor( _clearColor.r, _clearColor.g, _clearColor.b, _clearAlpha ); - - }; - - // default plugins (order is important) - - this.shadowMapPlugin = new THREE.ShadowMapPlugin(); - this.addPrePlugin( this.shadowMapPlugin ); - - this.addPostPlugin( new THREE.SpritePlugin() ); - this.addPostPlugin( new THREE.LensFlarePlugin() ); - -}; -/** - * @author szimek / https://github.com/szimek/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.WebGLRenderTarget = function ( width, height, options ) { - - this.width = width; - this.height = height; - - options = options || {}; - - this.wrapS = options.wrapS !== undefined ? options.wrapS : THREE.ClampToEdgeWrapping; - this.wrapT = options.wrapT !== undefined ? options.wrapT : THREE.ClampToEdgeWrapping; - - this.magFilter = options.magFilter !== undefined ? options.magFilter : THREE.LinearFilter; - this.minFilter = options.minFilter !== undefined ? options.minFilter : THREE.LinearMipMapLinearFilter; - - this.anisotropy = options.anisotropy !== undefined ? options.anisotropy : 1; - - this.offset = new THREE.Vector2( 0, 0 ); - this.repeat = new THREE.Vector2( 1, 1 ); - - this.format = options.format !== undefined ? options.format : THREE.RGBAFormat; - this.type = options.type !== undefined ? options.type : THREE.UnsignedByteType; - - this.depthBuffer = options.depthBuffer !== undefined ? options.depthBuffer : true; - this.stencilBuffer = options.stencilBuffer !== undefined ? options.stencilBuffer : true; - - this.generateMipmaps = true; - -}; - -THREE.WebGLRenderTarget.prototype.clone = function() { - - var tmp = new THREE.WebGLRenderTarget( this.width, this.height ); - - tmp.wrapS = this.wrapS; - tmp.wrapT = this.wrapT; - - tmp.magFilter = this.magFilter; - tmp.anisotropy = this.anisotropy; - - tmp.minFilter = this.minFilter; - - tmp.offset.copy( this.offset ); - tmp.repeat.copy( this.repeat ); - - tmp.format = this.format; - tmp.type = this.type; - - tmp.depthBuffer = this.depthBuffer; - tmp.stencilBuffer = this.stencilBuffer; - - tmp.generateMipmaps = this.generateMipmaps; - - return tmp; - -}; -/** - * @author alteredq / http://alteredqualia.com - */ - -THREE.WebGLRenderTargetCube = function ( width, height, options ) { - - THREE.WebGLRenderTarget.call( this, width, height, options ); - - this.activeCubeFace = 0; // PX 0, NX 1, PY 2, NY 3, PZ 4, NZ 5 - -}; - -THREE.WebGLRenderTargetCube.prototype = Object.create( THREE.WebGLRenderTarget.prototype ); -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.RenderableVertex = function () { - - this.positionWorld = new THREE.Vector3(); - this.positionScreen = new THREE.Vector4(); - - this.visible = true; - -}; - -THREE.RenderableVertex.prototype.copy = function ( vertex ) { - - this.positionWorld.copy( vertex.positionWorld ); - this.positionScreen.copy( vertex.positionScreen ); - -} -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.RenderableFace3 = function () { - - this.v1 = new THREE.RenderableVertex(); - this.v2 = new THREE.RenderableVertex(); - this.v3 = new THREE.RenderableVertex(); - - this.centroidWorld = new THREE.Vector3(); - this.centroidScreen = new THREE.Vector3(); - - this.normalWorld = new THREE.Vector3(); - this.vertexNormalsWorld = [ new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3() ]; - this.vertexNormalsLength = 0; - - this.color = null; - this.material = null; - this.uvs = [[]]; - - this.z = null; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.RenderableFace4 = function () { - - this.v1 = new THREE.RenderableVertex(); - this.v2 = new THREE.RenderableVertex(); - this.v3 = new THREE.RenderableVertex(); - this.v4 = new THREE.RenderableVertex(); - - this.centroidWorld = new THREE.Vector3(); - this.centroidScreen = new THREE.Vector3(); - - this.normalWorld = new THREE.Vector3(); - this.vertexNormalsWorld = [ new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3() ]; - this.vertexNormalsLength = 0; - - this.color = null; - this.material = null; - this.uvs = [[]]; - - this.z = null; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.RenderableObject = function () { - - this.object = null; - this.z = null; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.RenderableParticle = function () { - - this.object = null; - - this.x = null; - this.y = null; - this.z = null; - - this.rotation = null; - this.scale = new THREE.Vector2(); - - this.material = null; - -}; -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.RenderableLine = function () { - - this.z = null; - - this.v1 = new THREE.RenderableVertex(); - this.v2 = new THREE.RenderableVertex(); - - this.material = null; - -}; -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.ColorUtils = { - - adjustHSV : function ( color, h, s, v ) { - - var hsv = THREE.ColorUtils.__hsv; - - THREE.ColorUtils.rgbToHsv( color, hsv ); - - hsv.h = THREE.Math.clamp( hsv.h + h, 0, 1 ); - hsv.s = THREE.Math.clamp( hsv.s + s, 0, 1 ); - hsv.v = THREE.Math.clamp( hsv.v + v, 0, 1 ); - - color.setHSV( hsv.h, hsv.s, hsv.v ); - - }, - - // based on MochiKit implementation by Bob Ippolito - - rgbToHsv : function ( color, hsv ) { - - var r = color.r; - var g = color.g; - var b = color.b; - - var max = Math.max( Math.max( r, g ), b ); - var min = Math.min( Math.min( r, g ), b ); - - var hue; - var saturation; - var value = max; - - if ( min === max ) { - - hue = 0; - saturation = 0; - - } else { - - var delta = ( max - min ); - saturation = delta / max; - - if ( r === max ) { - - hue = ( g - b ) / delta; - - } else if ( g === max ) { - - hue = 2 + ( ( b - r ) / delta ); - - } else { - - hue = 4 + ( ( r - g ) / delta ); - } - - hue /= 6; - - if ( hue < 0 ) { - - hue += 1; - - } - - if ( hue > 1 ) { - - hue -= 1; - - } - - } - - if ( hsv === undefined ) { - - hsv = { h: 0, s: 0, v: 0 }; - - } - - hsv.h = hue; - hsv.s = saturation; - hsv.v = value; - - return hsv; - - } - -}; - -THREE.ColorUtils.__hsv = { h: 0, s: 0, v: 0 };/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.GeometryUtils = { - - // Merge two geometries or geometry and geometry from object (using object's transform) - - merge: function ( geometry1, object2 /* mesh | geometry */ ) { - - var matrix, matrixRotation, - vertexOffset = geometry1.vertices.length, - uvPosition = geometry1.faceVertexUvs[ 0 ].length, - geometry2 = object2 instanceof THREE.Mesh ? object2.geometry : object2, - vertices1 = geometry1.vertices, - vertices2 = geometry2.vertices, - faces1 = geometry1.faces, - faces2 = geometry2.faces, - uvs1 = geometry1.faceVertexUvs[ 0 ], - uvs2 = geometry2.faceVertexUvs[ 0 ]; - - var geo1MaterialsMap = {}; - - for ( var i = 0; i < geometry1.materials.length; i ++ ) { - - var id = geometry1.materials[ i ].id; - - geo1MaterialsMap[ id ] = i; - - } - - if ( object2 instanceof THREE.Mesh ) { - - object2.matrixAutoUpdate && object2.updateMatrix(); - - matrix = object2.matrix; - matrixRotation = new THREE.Matrix4(); - matrixRotation.extractRotation( matrix, object2.scale ); - - } - - // vertices - - for ( var i = 0, il = vertices2.length; i < il; i ++ ) { - - var vertex = vertices2[ i ]; - - var vertexCopy = vertex.clone(); - - if ( matrix ) matrix.multiplyVector3( vertexCopy ); - - vertices1.push( vertexCopy ); - - } - - // faces - - for ( i = 0, il = faces2.length; i < il; i ++ ) { - - var face = faces2[ i ], faceCopy, normal, color, - faceVertexNormals = face.vertexNormals, - faceVertexColors = face.vertexColors; - - if ( face instanceof THREE.Face3 ) { - - faceCopy = new THREE.Face3( face.a + vertexOffset, face.b + vertexOffset, face.c + vertexOffset ); - - } else if ( face instanceof THREE.Face4 ) { - - faceCopy = new THREE.Face4( face.a + vertexOffset, face.b + vertexOffset, face.c + vertexOffset, face.d + vertexOffset ); - - } - - faceCopy.normal.copy( face.normal ); - - if ( matrixRotation ) matrixRotation.multiplyVector3( faceCopy.normal ); - - for ( var j = 0, jl = faceVertexNormals.length; j < jl; j ++ ) { - - normal = faceVertexNormals[ j ].clone(); - - if ( matrixRotation ) matrixRotation.multiplyVector3( normal ); - - faceCopy.vertexNormals.push( normal ); - - } - - faceCopy.color.copy( face.color ); - - for ( var j = 0, jl = faceVertexColors.length; j < jl; j ++ ) { - - color = faceVertexColors[ j ]; - faceCopy.vertexColors.push( color.clone() ); - - } - - if ( face.materialIndex !== undefined ) { - - var material2 = geometry2.materials[ face.materialIndex ]; - var materialId2 = material2.id; - - var materialIndex = geo1MaterialsMap[ materialId2 ]; - - if ( materialIndex === undefined ) { - - materialIndex = geometry1.materials.length; - geo1MaterialsMap[ materialId2 ] = materialIndex; - - geometry1.materials.push( material2 ); - - } - - faceCopy.materialIndex = materialIndex; - - } - - faceCopy.centroid.copy( face.centroid ); - if ( matrix ) matrix.multiplyVector3( faceCopy.centroid ); - - faces1.push( faceCopy ); - - } - - // uvs - - for ( i = 0, il = uvs2.length; i < il; i ++ ) { - - var uv = uvs2[ i ], uvCopy = []; - - for ( var j = 0, jl = uv.length; j < jl; j ++ ) { - - uvCopy.push( new THREE.UV( uv[ j ].u, uv[ j ].v ) ); - - } - - uvs1.push( uvCopy ); - - } - - }, - - clone: function ( geometry ) { - - var cloneGeo = new THREE.Geometry(); - - var i, il; - - var vertices = geometry.vertices, - faces = geometry.faces, - uvs = geometry.faceVertexUvs[ 0 ]; - - // materials - - if ( geometry.materials ) { - - cloneGeo.materials = geometry.materials.slice(); - - } - - // vertices - - for ( i = 0, il = vertices.length; i < il; i ++ ) { - - var vertex = vertices[ i ]; - - cloneGeo.vertices.push( vertex.clone() ); - - } - - // faces - - for ( i = 0, il = faces.length; i < il; i ++ ) { - - var face = faces[ i ]; - - cloneGeo.faces.push( face.clone() ); - - } - - // uvs - - for ( i = 0, il = uvs.length; i < il; i ++ ) { - - var uv = uvs[ i ], uvCopy = []; - - for ( var j = 0, jl = uv.length; j < jl; j ++ ) { - - uvCopy.push( new THREE.UV( uv[ j ].u, uv[ j ].v ) ); - - } - - cloneGeo.faceVertexUvs[ 0 ].push( uvCopy ); - - } - - return cloneGeo; - - }, - - // Get random point in triangle (via barycentric coordinates) - // (uniform distribution) - // http://www.cgafaq.info/wiki/Random_Point_In_Triangle - - randomPointInTriangle: function ( vectorA, vectorB, vectorC ) { - - var a, b, c, - point = new THREE.Vector3(), - tmp = THREE.GeometryUtils.__v1; - - a = THREE.GeometryUtils.random(); - b = THREE.GeometryUtils.random(); - - if ( ( a + b ) > 1 ) { - - a = 1 - a; - b = 1 - b; - - } - - c = 1 - a - b; - - point.copy( vectorA ); - point.multiplyScalar( a ); - - tmp.copy( vectorB ); - tmp.multiplyScalar( b ); - - point.addSelf( tmp ); - - tmp.copy( vectorC ); - tmp.multiplyScalar( c ); - - point.addSelf( tmp ); - - return point; - - }, - - // Get random point in face (triangle / quad) - // (uniform distribution) - - randomPointInFace: function ( face, geometry, useCachedAreas ) { - - var vA, vB, vC, vD; - - if ( face instanceof THREE.Face3 ) { - - vA = geometry.vertices[ face.a ]; - vB = geometry.vertices[ face.b ]; - vC = geometry.vertices[ face.c ]; - - return THREE.GeometryUtils.randomPointInTriangle( vA, vB, vC ); - - } else if ( face instanceof THREE.Face4 ) { - - vA = geometry.vertices[ face.a ]; - vB = geometry.vertices[ face.b ]; - vC = geometry.vertices[ face.c ]; - vD = geometry.vertices[ face.d ]; - - var area1, area2; - - if ( useCachedAreas ) { - - if ( face._area1 && face._area2 ) { - - area1 = face._area1; - area2 = face._area2; - - } else { - - area1 = THREE.GeometryUtils.triangleArea( vA, vB, vD ); - area2 = THREE.GeometryUtils.triangleArea( vB, vC, vD ); - - face._area1 = area1; - face._area2 = area2; - - } - - } else { - - area1 = THREE.GeometryUtils.triangleArea( vA, vB, vD ), - area2 = THREE.GeometryUtils.triangleArea( vB, vC, vD ); - - } - - var r = THREE.GeometryUtils.random() * ( area1 + area2 ); - - if ( r < area1 ) { - - return THREE.GeometryUtils.randomPointInTriangle( vA, vB, vD ); - - } else { - - return THREE.GeometryUtils.randomPointInTriangle( vB, vC, vD ); - - } - - } - - }, - - // Get uniformly distributed random points in mesh - // - create array with cumulative sums of face areas - // - pick random number from 0 to total area - // - find corresponding place in area array by binary search - // - get random point in face - - randomPointsInGeometry: function ( geometry, n ) { - - var face, i, - faces = geometry.faces, - vertices = geometry.vertices, - il = faces.length, - totalArea = 0, - cumulativeAreas = [], - vA, vB, vC, vD; - - // precompute face areas - - for ( i = 0; i < il; i ++ ) { - - face = faces[ i ]; - - if ( face instanceof THREE.Face3 ) { - - vA = vertices[ face.a ]; - vB = vertices[ face.b ]; - vC = vertices[ face.c ]; - - face._area = THREE.GeometryUtils.triangleArea( vA, vB, vC ); - - } else if ( face instanceof THREE.Face4 ) { - - vA = vertices[ face.a ]; - vB = vertices[ face.b ]; - vC = vertices[ face.c ]; - vD = vertices[ face.d ]; - - face._area1 = THREE.GeometryUtils.triangleArea( vA, vB, vD ); - face._area2 = THREE.GeometryUtils.triangleArea( vB, vC, vD ); - - face._area = face._area1 + face._area2; - - } - - totalArea += face._area; - - cumulativeAreas[ i ] = totalArea; - - } - - // binary search cumulative areas array - - function binarySearchIndices( value ) { - - function binarySearch( start, end ) { - - // return closest larger index - // if exact number is not found - - if ( end < start ) - return start; - - var mid = start + Math.floor( ( end - start ) / 2 ); - - if ( cumulativeAreas[ mid ] > value ) { - - return binarySearch( start, mid - 1 ); - - } else if ( cumulativeAreas[ mid ] < value ) { - - return binarySearch( mid + 1, end ); - - } else { - - return mid; - - } - - } - - var result = binarySearch( 0, cumulativeAreas.length - 1 ) - return result; - - } - - // pick random face weighted by face area - - var r, index, - result = []; - - var stats = {}; - - for ( i = 0; i < n; i ++ ) { - - r = THREE.GeometryUtils.random() * totalArea; - - index = binarySearchIndices( r ); - - result[ i ] = THREE.GeometryUtils.randomPointInFace( faces[ index ], geometry, true ); - - if ( ! stats[ index ] ) { - - stats[ index ] = 1; - - } else { - - stats[ index ] += 1; - - } - - } - - return result; - - }, - - // Get triangle area (by Heron's formula) - // http://en.wikipedia.org/wiki/Heron%27s_formula - - triangleArea: function ( vectorA, vectorB, vectorC ) { - - var s, a, b, c, - tmp = THREE.GeometryUtils.__v1; - - tmp.sub( vectorA, vectorB ); - a = tmp.length(); - - tmp.sub( vectorA, vectorC ); - b = tmp.length(); - - tmp.sub( vectorB, vectorC ); - c = tmp.length(); - - s = 0.5 * ( a + b + c ); - - return Math.sqrt( s * ( s - a ) * ( s - b ) * ( s - c ) ); - - }, - - // Center geometry so that 0,0,0 is in center of bounding box - - center: function ( geometry ) { - - geometry.computeBoundingBox(); - - var bb = geometry.boundingBox; - - var offset = new THREE.Vector3(); - - offset.add( bb.min, bb.max ); - offset.multiplyScalar( -0.5 ); - - geometry.applyMatrix( new THREE.Matrix4().makeTranslation( offset.x, offset.y, offset.z ) ); - geometry.computeBoundingBox(); - - return offset; - - }, - - // Normalize UVs to be from <0,1> - // (for now just the first set of UVs) - - normalizeUVs: function ( geometry ) { - - var uvSet = geometry.faceVertexUvs[ 0 ]; - - for ( var i = 0, il = uvSet.length; i < il; i ++ ) { - - var uvs = uvSet[ i ]; - - for ( var j = 0, jl = uvs.length; j < jl; j ++ ) { - - // texture repeat - - if( uvs[ j ].u !== 1.0 ) uvs[ j ].u = uvs[ j ].u - Math.floor( uvs[ j ].u ); - if( uvs[ j ].v !== 1.0 ) uvs[ j ].v = uvs[ j ].v - Math.floor( uvs[ j ].v ); - - } - - } - - }, - - triangulateQuads: function ( geometry ) { - - var i, il, j, jl; - - var faces = []; - var faceUvs = []; - var faceVertexUvs = []; - - for ( i = 0, il = geometry.faceUvs.length; i < il; i ++ ) { - - faceUvs[ i ] = []; - - } - - for ( i = 0, il = geometry.faceVertexUvs.length; i < il; i ++ ) { - - faceVertexUvs[ i ] = []; - - } - - for ( i = 0, il = geometry.faces.length; i < il; i ++ ) { - - var face = geometry.faces[ i ]; - - if ( face instanceof THREE.Face4 ) { - - var a = face.a; - var b = face.b; - var c = face.c; - var d = face.d; - - var triA = new THREE.Face3(); - var triB = new THREE.Face3(); - - triA.color.copy( face.color ); - triB.color.copy( face.color ); - - triA.materialIndex = face.materialIndex; - triB.materialIndex = face.materialIndex; - - triA.a = a; - triA.b = b; - triA.c = d; - - triB.a = b; - triB.b = c; - triB.c = d; - - if ( face.vertexColors.length === 4 ) { - - triA.vertexColors[ 0 ] = face.vertexColors[ 0 ].clone(); - triA.vertexColors[ 1 ] = face.vertexColors[ 1 ].clone(); - triA.vertexColors[ 2 ] = face.vertexColors[ 3 ].clone(); - - triB.vertexColors[ 0 ] = face.vertexColors[ 1 ].clone(); - triB.vertexColors[ 1 ] = face.vertexColors[ 2 ].clone(); - triB.vertexColors[ 2 ] = face.vertexColors[ 3 ].clone(); - - } - - faces.push( triA, triB ); - - for ( j = 0, jl = geometry.faceVertexUvs.length; j < jl; j ++ ) { - - if ( geometry.faceVertexUvs[ j ].length ) { - - var uvs = geometry.faceVertexUvs[ j ][ i ]; - - var uvA = uvs[ 0 ]; - var uvB = uvs[ 1 ]; - var uvC = uvs[ 2 ]; - var uvD = uvs[ 3 ]; - - var uvsTriA = [ uvA.clone(), uvB.clone(), uvD.clone() ]; - var uvsTriB = [ uvB.clone(), uvC.clone(), uvD.clone() ]; - - faceVertexUvs[ j ].push( uvsTriA, uvsTriB ); - - } - - } - - for ( j = 0, jl = geometry.faceUvs.length; j < jl; j ++ ) { - - if ( geometry.faceUvs[ j ].length ) { - - var faceUv = geometry.faceUvs[ j ][ i ]; - - faceUvs[ j ].push( faceUv, faceUv ); - - } - - } - - } else { - - faces.push( face ); - - for ( j = 0, jl = geometry.faceUvs.length; j < jl; j ++ ) { - - faceUvs[ j ].push( geometry.faceUvs[ j ][ i ] ); - - } - - for ( j = 0, jl = geometry.faceVertexUvs.length; j < jl; j ++ ) { - - faceVertexUvs[ j ].push( geometry.faceVertexUvs[ j ][ i ] ); - - } - - } - - } - - geometry.faces = faces; - geometry.faceUvs = faceUvs; - geometry.faceVertexUvs = faceVertexUvs; - - geometry.computeCentroids(); - geometry.computeFaceNormals(); - geometry.computeVertexNormals(); - - if ( geometry.hasTangents ) geometry.computeTangents(); - - }, - - // Make all faces use unique vertices - // so that each face can be separated from others - - explode: function( geometry ) { - - var vertices = []; - - for ( var i = 0, il = geometry.faces.length; i < il; i ++ ) { - - var n = vertices.length; - - var face = geometry.faces[ i ]; - - if ( face instanceof THREE.Face4 ) { - - var a = face.a; - var b = face.b; - var c = face.c; - var d = face.d; - - var va = geometry.vertices[ a ]; - var vb = geometry.vertices[ b ]; - var vc = geometry.vertices[ c ]; - var vd = geometry.vertices[ d ]; - - vertices.push( va.clone() ); - vertices.push( vb.clone() ); - vertices.push( vc.clone() ); - vertices.push( vd.clone() ); - - face.a = n; - face.b = n + 1; - face.c = n + 2; - face.d = n + 3; - - } else { - - var a = face.a; - var b = face.b; - var c = face.c; - - var va = geometry.vertices[ a ]; - var vb = geometry.vertices[ b ]; - var vc = geometry.vertices[ c ]; - - vertices.push( va.clone() ); - vertices.push( vb.clone() ); - vertices.push( vc.clone() ); - - face.a = n; - face.b = n + 1; - face.c = n + 2; - - } - - } - - geometry.vertices = vertices; - delete geometry.__tmpVertices; - - }, - - // Break faces with edges longer than maxEdgeLength - // - not recursive - - tessellate: function ( geometry, maxEdgeLength ) { - - var i, il, face, - a, b, c, d, - va, vb, vc, vd, - dab, dbc, dac, dcd, dad, - m, m1, m2, - vm, vm1, vm2, - vnm, vnm1, vnm2, - vcm, vcm1, vcm2, - triA, triB, - quadA, quadB, - edge; - - var faces = []; - var faceVertexUvs = []; - - for ( i = 0, il = geometry.faceVertexUvs.length; i < il; i ++ ) { - - faceVertexUvs[ i ] = []; - - } - - for ( i = 0, il = geometry.faces.length; i < il; i ++ ) { - - face = geometry.faces[ i ]; - - if ( face instanceof THREE.Face3 ) { - - a = face.a; - b = face.b; - c = face.c; - - va = geometry.vertices[ a ]; - vb = geometry.vertices[ b ]; - vc = geometry.vertices[ c ]; - - dab = va.distanceTo( vb ); - dbc = vb.distanceTo( vc ); - dac = va.distanceTo( vc ); - - if ( dab > maxEdgeLength || dbc > maxEdgeLength || dac > maxEdgeLength ) { - - m = geometry.vertices.length; - - triA = face.clone(); - triB = face.clone(); - - if ( dab >= dbc && dab >= dac ) { - - vm = va.clone(); - vm.lerpSelf( vb, 0.5 ); - - triA.a = a; - triA.b = m; - triA.c = c; - - triB.a = m; - triB.b = b; - triB.c = c; - - if ( face.vertexNormals.length === 3 ) { - - vnm = face.vertexNormals[ 0 ].clone(); - vnm.lerpSelf( face.vertexNormals[ 1 ], 0.5 ); - - triA.vertexNormals[ 1 ].copy( vnm ); - triB.vertexNormals[ 0 ].copy( vnm ); - - } - - if ( face.vertexColors.length === 3 ) { - - vcm = face.vertexColors[ 0 ].clone(); - vcm.lerpSelf( face.vertexColors[ 1 ], 0.5 ); - - triA.vertexColors[ 1 ].copy( vcm ); - triB.vertexColors[ 0 ].copy( vcm ); - - } - - edge = 0; - - } else if ( dbc >= dab && dbc >= dac ) { - - vm = vb.clone(); - vm.lerpSelf( vc, 0.5 ); - - triA.a = a; - triA.b = b; - triA.c = m; - - triB.a = m; - triB.b = c; - triB.c = a; - - if ( face.vertexNormals.length === 3 ) { - - vnm = face.vertexNormals[ 1 ].clone(); - vnm.lerpSelf( face.vertexNormals[ 2 ], 0.5 ); - - triA.vertexNormals[ 2 ].copy( vnm ); - - triB.vertexNormals[ 0 ].copy( vnm ); - triB.vertexNormals[ 1 ].copy( face.vertexNormals[ 2 ] ); - triB.vertexNormals[ 2 ].copy( face.vertexNormals[ 0 ] ); - - } - - if ( face.vertexColors.length === 3 ) { - - vcm = face.vertexColors[ 1 ].clone(); - vcm.lerpSelf( face.vertexColors[ 2 ], 0.5 ); - - triA.vertexColors[ 2 ].copy( vcm ); - - triB.vertexColors[ 0 ].copy( vcm ); - triB.vertexColors[ 1 ].copy( face.vertexColors[ 2 ] ); - triB.vertexColors[ 2 ].copy( face.vertexColors[ 0 ] ); - - } - - edge = 1; - - } else { - - vm = va.clone(); - vm.lerpSelf( vc, 0.5 ); - - triA.a = a; - triA.b = b; - triA.c = m; - - triB.a = m; - triB.b = b; - triB.c = c; - - if ( face.vertexNormals.length === 3 ) { - - vnm = face.vertexNormals[ 0 ].clone(); - vnm.lerpSelf( face.vertexNormals[ 2 ], 0.5 ); - - triA.vertexNormals[ 2 ].copy( vnm ); - triB.vertexNormals[ 0 ].copy( vnm ); - - } - - if ( face.vertexColors.length === 3 ) { - - vcm = face.vertexColors[ 0 ].clone(); - vcm.lerpSelf( face.vertexColors[ 2 ], 0.5 ); - - triA.vertexColors[ 2 ].copy( vcm ); - triB.vertexColors[ 0 ].copy( vcm ); - - } - - edge = 2; - - } - - faces.push( triA, triB ); - geometry.vertices.push( vm ); - - var j, jl, uvs, uvA, uvB, uvC, uvM, uvsTriA, uvsTriB; - - for ( j = 0, jl = geometry.faceVertexUvs.length; j < jl; j ++ ) { - - if ( geometry.faceVertexUvs[ j ].length ) { - - uvs = geometry.faceVertexUvs[ j ][ i ]; - - uvA = uvs[ 0 ]; - uvB = uvs[ 1 ]; - uvC = uvs[ 2 ]; - - // AB - - if ( edge === 0 ) { - - uvM = uvA.clone(); - uvM.lerpSelf( uvB, 0.5 ); - - uvsTriA = [ uvA.clone(), uvM.clone(), uvC.clone() ]; - uvsTriB = [ uvM.clone(), uvB.clone(), uvC.clone() ]; - - // BC - - } else if ( edge === 1 ) { - - uvM = uvB.clone(); - uvM.lerpSelf( uvC, 0.5 ); - - uvsTriA = [ uvA.clone(), uvB.clone(), uvM.clone() ]; - uvsTriB = [ uvM.clone(), uvC.clone(), uvA.clone() ]; - - // AC - - } else { - - uvM = uvA.clone(); - uvM.lerpSelf( uvC, 0.5 ); - - uvsTriA = [ uvA.clone(), uvB.clone(), uvM.clone() ]; - uvsTriB = [ uvM.clone(), uvB.clone(), uvC.clone() ]; - - } - - faceVertexUvs[ j ].push( uvsTriA, uvsTriB ); - - } - - } - - } else { - - faces.push( face ); - - for ( j = 0, jl = geometry.faceVertexUvs.length; j < jl; j ++ ) { - - faceVertexUvs[ j ].push( geometry.faceVertexUvs[ j ][ i ] ); - - } - - } - - } else { - - a = face.a; - b = face.b; - c = face.c; - d = face.d; - - va = geometry.vertices[ a ]; - vb = geometry.vertices[ b ]; - vc = geometry.vertices[ c ]; - vd = geometry.vertices[ d ]; - - dab = va.distanceTo( vb ); - dbc = vb.distanceTo( vc ); - dcd = vc.distanceTo( vd ); - dad = va.distanceTo( vd ); - - if ( dab > maxEdgeLength || dbc > maxEdgeLength || dcd > maxEdgeLength || dad > maxEdgeLength ) { - - m1 = geometry.vertices.length; - m2 = geometry.vertices.length + 1; - - quadA = face.clone(); - quadB = face.clone(); - - if ( ( dab >= dbc && dab >= dcd && dab >= dad ) || ( dcd >= dbc && dcd >= dab && dcd >= dad ) ) { - - vm1 = va.clone(); - vm1.lerpSelf( vb, 0.5 ); - - vm2 = vc.clone(); - vm2.lerpSelf( vd, 0.5 ); - - quadA.a = a; - quadA.b = m1; - quadA.c = m2; - quadA.d = d; - - quadB.a = m1; - quadB.b = b; - quadB.c = c; - quadB.d = m2; - - if ( face.vertexNormals.length === 4 ) { - - vnm1 = face.vertexNormals[ 0 ].clone(); - vnm1.lerpSelf( face.vertexNormals[ 1 ], 0.5 ); - - vnm2 = face.vertexNormals[ 2 ].clone(); - vnm2.lerpSelf( face.vertexNormals[ 3 ], 0.5 ); - - quadA.vertexNormals[ 1 ].copy( vnm1 ); - quadA.vertexNormals[ 2 ].copy( vnm2 ); - - quadB.vertexNormals[ 0 ].copy( vnm1 ); - quadB.vertexNormals[ 3 ].copy( vnm2 ); - - } - - if ( face.vertexColors.length === 4 ) { - - vcm1 = face.vertexColors[ 0 ].clone(); - vcm1.lerpSelf( face.vertexColors[ 1 ], 0.5 ); - - vcm2 = face.vertexColors[ 2 ].clone(); - vcm2.lerpSelf( face.vertexColors[ 3 ], 0.5 ); - - quadA.vertexColors[ 1 ].copy( vcm1 ); - quadA.vertexColors[ 2 ].copy( vcm2 ); - - quadB.vertexColors[ 0 ].copy( vcm1 ); - quadB.vertexColors[ 3 ].copy( vcm2 ); - - } - - edge = 0; - - } else { - - vm1 = vb.clone(); - vm1.lerpSelf( vc, 0.5 ); - - vm2 = vd.clone(); - vm2.lerpSelf( va, 0.5 ); - - quadA.a = a; - quadA.b = b; - quadA.c = m1; - quadA.d = m2; - - quadB.a = m2; - quadB.b = m1; - quadB.c = c; - quadB.d = d; - - if ( face.vertexNormals.length === 4 ) { - - vnm1 = face.vertexNormals[ 1 ].clone(); - vnm1.lerpSelf( face.vertexNormals[ 2 ], 0.5 ); - - vnm2 = face.vertexNormals[ 3 ].clone(); - vnm2.lerpSelf( face.vertexNormals[ 0 ], 0.5 ); - - quadA.vertexNormals[ 2 ].copy( vnm1 ); - quadA.vertexNormals[ 3 ].copy( vnm2 ); - - quadB.vertexNormals[ 0 ].copy( vnm2 ); - quadB.vertexNormals[ 1 ].copy( vnm1 ); - - } - - if ( face.vertexColors.length === 4 ) { - - vcm1 = face.vertexColors[ 1 ].clone(); - vcm1.lerpSelf( face.vertexColors[ 2 ], 0.5 ); - - vcm2 = face.vertexColors[ 3 ].clone(); - vcm2.lerpSelf( face.vertexColors[ 0 ], 0.5 ); - - quadA.vertexColors[ 2 ].copy( vcm1 ); - quadA.vertexColors[ 3 ].copy( vcm2 ); - - quadB.vertexColors[ 0 ].copy( vcm2 ); - quadB.vertexColors[ 1 ].copy( vcm1 ); - - } - - edge = 1; - - } - - faces.push( quadA, quadB ); - geometry.vertices.push( vm1, vm2 ); - - var j, jl, uvs, uvA, uvB, uvC, uvD, uvM1, uvM2, uvsQuadA, uvsQuadB; - - for ( j = 0, jl = geometry.faceVertexUvs.length; j < jl; j ++ ) { - - if ( geometry.faceVertexUvs[ j ].length ) { - - uvs = geometry.faceVertexUvs[ j ][ i ]; - - uvA = uvs[ 0 ]; - uvB = uvs[ 1 ]; - uvC = uvs[ 2 ]; - uvD = uvs[ 3 ]; - - // AB + CD - - if ( edge === 0 ) { - - uvM1 = uvA.clone(); - uvM1.lerpSelf( uvB, 0.5 ); - - uvM2 = uvC.clone(); - uvM2.lerpSelf( uvD, 0.5 ); - - uvsQuadA = [ uvA.clone(), uvM1.clone(), uvM2.clone(), uvD.clone() ]; - uvsQuadB = [ uvM1.clone(), uvB.clone(), uvC.clone(), uvM2.clone() ]; - - // BC + AD - - } else { - - uvM1 = uvB.clone(); - uvM1.lerpSelf( uvC, 0.5 ); - - uvM2 = uvD.clone(); - uvM2.lerpSelf( uvA, 0.5 ); - - uvsQuadA = [ uvA.clone(), uvB.clone(), uvM1.clone(), uvM2.clone() ]; - uvsQuadB = [ uvM2.clone(), uvM1.clone(), uvC.clone(), uvD.clone() ]; - - } - - faceVertexUvs[ j ].push( uvsQuadA, uvsQuadB ); - - } - - } - - } else { - - faces.push( face ); - - for ( j = 0, jl = geometry.faceVertexUvs.length; j < jl; j ++ ) { - - faceVertexUvs[ j ].push( geometry.faceVertexUvs[ j ][ i ] ); - - } - - } - - } - - } - - geometry.faces = faces; - geometry.faceVertexUvs = faceVertexUvs; - - } - -}; - -THREE.GeometryUtils.random = THREE.Math.random16; - -THREE.GeometryUtils.__v1 = new THREE.Vector3(); -/** - * @author alteredq / http://alteredqualia.com/ - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.ImageUtils = { - - crossOrigin: 'anonymous', - - loadTexture: function ( url, mapping, onLoad, onError ) { - - var image = new Image(); - var texture = new THREE.Texture( image, mapping ); - - var loader = new THREE.ImageLoader(); - - loader.addEventListener( 'load', function ( event ) { - - texture.image = event.content; - texture.needsUpdate = true; - - if ( onLoad ) onLoad( texture ); - - } ); - - loader.addEventListener( 'error', function ( event ) { - - if ( onError ) onError( event.message ); - - } ); - - loader.crossOrigin = this.crossOrigin; - loader.load( url, image ); - - return texture; - - }, - - loadCompressedTexture: function ( url, mapping, onLoad, onError ) { - - var texture = new THREE.CompressedTexture(); - texture.mapping = mapping; - - var request = new XMLHttpRequest(); - - request.onload = function () { - - var buffer = request.response; - var dds = THREE.ImageUtils.parseDDS( buffer, true ); - - texture.format = dds.format; - - texture.mipmaps = dds.mipmaps; - texture.image.width = dds.width; - texture.image.height = dds.height; - - // gl.generateMipmap fails for compressed textures - // mipmaps must be embedded in the DDS file - // or texture filters must not use mipmapping - - texture.generateMipmaps = false; - - texture.needsUpdate = true; - - if ( onLoad ) onLoad( texture ); - - } - - request.onerror = onError; - - request.open( 'GET', url, true ); - request.responseType = "arraybuffer"; - request.send( null ); - - return texture; - - }, - - loadTextureCube: function ( array, mapping, onLoad, onError ) { - - var images = []; - images.loadCount = 0; - - var texture = new THREE.Texture(); - texture.image = images; - if ( mapping !== undefined ) texture.mapping = mapping; - - // no flipping needed for cube textures - - texture.flipY = false; - - for ( var i = 0, il = array.length; i < il; ++ i ) { - - var cubeImage = new Image(); - images[ i ] = cubeImage; - - cubeImage.onload = function () { - - images.loadCount += 1; - - if ( images.loadCount === 6 ) { - - texture.needsUpdate = true; - if ( onLoad ) onLoad(); - - } - - }; - - cubeImage.onerror = onError; - - cubeImage.crossOrigin = this.crossOrigin; - cubeImage.src = array[ i ]; - - } - - return texture; - - }, - - loadCompressedTextureCube: function ( array, mapping, onLoad, onError ) { - - var images = []; - images.loadCount = 0; - - var texture = new THREE.CompressedTexture(); - texture.image = images; - if ( mapping !== undefined ) texture.mapping = mapping; - - // no flipping for cube textures - // (also flipping doesn't work for compressed textures ) - - texture.flipY = false; - - // can't generate mipmaps for compressed textures - // mips must be embedded in DDS files - - texture.generateMipmaps = false; - - var generateCubeFaceCallback = function ( rq, img ) { - - return function () { - - var buffer = rq.response; - var dds = THREE.ImageUtils.parseDDS( buffer, true ); - - img.format = dds.format; - - img.mipmaps = dds.mipmaps; - img.width = dds.width; - img.height = dds.height; - - images.loadCount += 1; - - if ( images.loadCount === 6 ) { - - texture.format = dds.format; - texture.needsUpdate = true; - if ( onLoad ) onLoad(); - - } - - } - - } - - for ( var i = 0, il = array.length; i < il; ++ i ) { - - var cubeImage = {}; - images[ i ] = cubeImage; - - var request = new XMLHttpRequest(); - - request.onload = generateCubeFaceCallback( request, cubeImage ); - request.onerror = onError; - - var url = array[ i ]; - - request.open( 'GET', url, true ); - request.responseType = "arraybuffer"; - request.send( null ); - - } - - return texture; - - }, - - parseDDS: function ( buffer, loadMipmaps ) { - - var dds = { mipmaps: [], width: 0, height: 0, format: null, mipmapCount: 1 }; - - // Adapted from @toji's DDS utils - // https://github.com/toji/webgl-texture-utils/blob/master/texture-util/dds.js - - // All values and structures referenced from: - // http://msdn.microsoft.com/en-us/library/bb943991.aspx/ - - var DDS_MAGIC = 0x20534444; - - var DDSD_CAPS = 0x1, - DDSD_HEIGHT = 0x2, - DDSD_WIDTH = 0x4, - DDSD_PITCH = 0x8, - DDSD_PIXELFORMAT = 0x1000, - DDSD_MIPMAPCOUNT = 0x20000, - DDSD_LINEARSIZE = 0x80000, - DDSD_DEPTH = 0x800000; - - var DDSCAPS_COMPLEX = 0x8, - DDSCAPS_MIPMAP = 0x400000, - DDSCAPS_TEXTURE = 0x1000; - - var DDSCAPS2_CUBEMAP = 0x200, - DDSCAPS2_CUBEMAP_POSITIVEX = 0x400, - DDSCAPS2_CUBEMAP_NEGATIVEX = 0x800, - DDSCAPS2_CUBEMAP_POSITIVEY = 0x1000, - DDSCAPS2_CUBEMAP_NEGATIVEY = 0x2000, - DDSCAPS2_CUBEMAP_POSITIVEZ = 0x4000, - DDSCAPS2_CUBEMAP_NEGATIVEZ = 0x8000, - DDSCAPS2_VOLUME = 0x200000; - - var DDPF_ALPHAPIXELS = 0x1, - DDPF_ALPHA = 0x2, - DDPF_FOURCC = 0x4, - DDPF_RGB = 0x40, - DDPF_YUV = 0x200, - DDPF_LUMINANCE = 0x20000; - - function fourCCToInt32( value ) { - - return value.charCodeAt(0) + - (value.charCodeAt(1) << 8) + - (value.charCodeAt(2) << 16) + - (value.charCodeAt(3) << 24); - - } - - function int32ToFourCC( value ) { - - return String.fromCharCode( - value & 0xff, - (value >> 8) & 0xff, - (value >> 16) & 0xff, - (value >> 24) & 0xff - ); - } - - var FOURCC_DXT1 = fourCCToInt32("DXT1"); - var FOURCC_DXT3 = fourCCToInt32("DXT3"); - var FOURCC_DXT5 = fourCCToInt32("DXT5"); - - var headerLengthInt = 31; // The header length in 32 bit ints - - // Offsets into the header array - - var off_magic = 0; - - var off_size = 1; - var off_flags = 2; - var off_height = 3; - var off_width = 4; - - var off_mipmapCount = 7; - - var off_pfFlags = 20; - var off_pfFourCC = 21; - - // Parse header - - var header = new Int32Array( buffer, 0, headerLengthInt ); - - if ( header[ off_magic ] !== DDS_MAGIC ) { - - console.error( "ImageUtils.parseDDS(): Invalid magic number in DDS header" ); - return dds; - - } - - if ( ! header[ off_pfFlags ] & DDPF_FOURCC ) { - - console.error( "ImageUtils.parseDDS(): Unsupported format, must contain a FourCC code" ); - return dds; - - } - - var blockBytes; - - var fourCC = header[ off_pfFourCC ]; - - switch ( fourCC ) { - - case FOURCC_DXT1: - - blockBytes = 8; - dds.format = THREE.RGB_S3TC_DXT1_Format; - break; - - case FOURCC_DXT3: - - blockBytes = 16; - dds.format = THREE.RGBA_S3TC_DXT3_Format; - break; - - case FOURCC_DXT5: - - blockBytes = 16; - dds.format = THREE.RGBA_S3TC_DXT5_Format; - break; - - default: - - console.error( "ImageUtils.parseDDS(): Unsupported FourCC code: ", int32ToFourCC( fourCC ) ); - return dds; - - } - - dds.mipmapCount = 1; - - if ( header[ off_flags ] & DDSD_MIPMAPCOUNT && loadMipmaps !== false ) { - - dds.mipmapCount = Math.max( 1, header[ off_mipmapCount ] ); - - } - - dds.width = header[ off_width ]; - dds.height = header[ off_height ]; - - var dataOffset = header[ off_size ] + 4; - - // Extract mipmaps buffers - - var width = dds.width; - var height = dds.height; - - for ( var i = 0; i < dds.mipmapCount; i ++ ) { - - var dataLength = Math.max( 4, width ) / 4 * Math.max( 4, height ) / 4 * blockBytes; - var byteArray = new Uint8Array( buffer, dataOffset, dataLength ); - - var mipmap = { "data": byteArray, "width": width, "height": height }; - dds.mipmaps.push( mipmap ); - - dataOffset += dataLength; - - width = Math.max( width * 0.5, 1 ); - height = Math.max( height * 0.5, 1 ); - - } - - return dds; - - }, - - getNormalMap: function ( image, depth ) { - - // Adapted from http://www.paulbrunt.co.uk/lab/heightnormal/ - - var cross = function ( a, b ) { - - return [ a[ 1 ] * b[ 2 ] - a[ 2 ] * b[ 1 ], a[ 2 ] * b[ 0 ] - a[ 0 ] * b[ 2 ], a[ 0 ] * b[ 1 ] - a[ 1 ] * b[ 0 ] ]; - - } - - var subtract = function ( a, b ) { - - return [ a[ 0 ] - b[ 0 ], a[ 1 ] - b[ 1 ], a[ 2 ] - b[ 2 ] ]; - - } - - var normalize = function ( a ) { - - var l = Math.sqrt( a[ 0 ] * a[ 0 ] + a[ 1 ] * a[ 1 ] + a[ 2 ] * a[ 2 ] ); - return [ a[ 0 ] / l, a[ 1 ] / l, a[ 2 ] / l ]; - - } - - depth = depth | 1; - - var width = image.width; - var height = image.height; - - var canvas = document.createElement( 'canvas' ); - canvas.width = width; - canvas.height = height; - - var context = canvas.getContext( '2d' ); - context.drawImage( image, 0, 0 ); - - var data = context.getImageData( 0, 0, width, height ).data; - var imageData = context.createImageData( width, height ); - var output = imageData.data; - - for ( var x = 0; x < width; x ++ ) { - - for ( var y = 0; y < height; y ++ ) { - - var ly = y - 1 < 0 ? 0 : y - 1; - var uy = y + 1 > height - 1 ? height - 1 : y + 1; - var lx = x - 1 < 0 ? 0 : x - 1; - var ux = x + 1 > width - 1 ? width - 1 : x + 1; - - var points = []; - var origin = [ 0, 0, data[ ( y * width + x ) * 4 ] / 255 * depth ]; - points.push( [ - 1, 0, data[ ( y * width + lx ) * 4 ] / 255 * depth ] ); - points.push( [ - 1, - 1, data[ ( ly * width + lx ) * 4 ] / 255 * depth ] ); - points.push( [ 0, - 1, data[ ( ly * width + x ) * 4 ] / 255 * depth ] ); - points.push( [ 1, - 1, data[ ( ly * width + ux ) * 4 ] / 255 * depth ] ); - points.push( [ 1, 0, data[ ( y * width + ux ) * 4 ] / 255 * depth ] ); - points.push( [ 1, 1, data[ ( uy * width + ux ) * 4 ] / 255 * depth ] ); - points.push( [ 0, 1, data[ ( uy * width + x ) * 4 ] / 255 * depth ] ); - points.push( [ - 1, 1, data[ ( uy * width + lx ) * 4 ] / 255 * depth ] ); - - var normals = []; - var num_points = points.length; - - for ( var i = 0; i < num_points; i ++ ) { - - var v1 = points[ i ]; - var v2 = points[ ( i + 1 ) % num_points ]; - v1 = subtract( v1, origin ); - v2 = subtract( v2, origin ); - normals.push( normalize( cross( v1, v2 ) ) ); - - } - - var normal = [ 0, 0, 0 ]; - - for ( var i = 0; i < normals.length; i ++ ) { - - normal[ 0 ] += normals[ i ][ 0 ]; - normal[ 1 ] += normals[ i ][ 1 ]; - normal[ 2 ] += normals[ i ][ 2 ]; - - } - - normal[ 0 ] /= normals.length; - normal[ 1 ] /= normals.length; - normal[ 2 ] /= normals.length; - - var idx = ( y * width + x ) * 4; - - output[ idx ] = ( ( normal[ 0 ] + 1.0 ) / 2.0 * 255 ) | 0; - output[ idx + 1 ] = ( ( normal[ 1 ] + 1.0 ) / 2.0 * 255 ) | 0; - output[ idx + 2 ] = ( normal[ 2 ] * 255 ) | 0; - output[ idx + 3 ] = 255; - - } - - } - - context.putImageData( imageData, 0, 0 ); - - return canvas; - - }, - - generateDataTexture: function ( width, height, color ) { - - var size = width * height; - var data = new Uint8Array( 3 * size ); - - var r = Math.floor( color.r * 255 ); - var g = Math.floor( color.g * 255 ); - var b = Math.floor( color.b * 255 ); - - for ( var i = 0; i < size; i ++ ) { - - data[ i * 3 ] = r; - data[ i * 3 + 1 ] = g; - data[ i * 3 + 2 ] = b; - - } - - var texture = new THREE.DataTexture( data, width, height, THREE.RGBFormat ); - texture.needsUpdate = true; - - return texture; - - } - -}; -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.SceneUtils = { - - createMultiMaterialObject: function ( geometry, materials ) { - - var group = new THREE.Object3D(); - - for ( var i = 0, l = materials.length; i < l; i ++ ) { - - group.add( new THREE.Mesh( geometry, materials[ i ] ) ); - - } - - return group; - - }, - - detach : function ( child, parent, scene ) { - - child.applyMatrix( parent.matrixWorld ); - parent.remove( child ); - scene.add( child ); - - }, - - attach: function ( child, scene, parent ) { - - var matrixWorldInverse = new THREE.Matrix4(); - matrixWorldInverse.getInverse( parent.matrixWorld ); - child.applyMatrix( matrixWorldInverse ); - - scene.remove( child ); - parent.add( child ); - - } - -}; -/** - * @author alteredq / http://alteredqualia.com/ - * @author mrdoob / http://mrdoob.com/ - * - * ShaderUtils currently contains: - * - * fresnel - * normal - * cube - * - */ - -if ( THREE.WebGLRenderer ) { - -THREE.ShaderUtils = { - - lib: { - - /* ------------------------------------------------------------------------- - // Fresnel shader - // - based on Nvidia Cg tutorial - ------------------------------------------------------------------------- */ - - 'fresnel': { - - uniforms: { - - "mRefractionRatio": { type: "f", value: 1.02 }, - "mFresnelBias": { type: "f", value: 0.1 }, - "mFresnelPower": { type: "f", value: 2.0 }, - "mFresnelScale": { type: "f", value: 1.0 }, - "tCube": { type: "t", value: null } - - }, - - fragmentShader: [ - - "uniform samplerCube tCube;", - - "varying vec3 vReflect;", - "varying vec3 vRefract[3];", - "varying float vReflectionFactor;", - - "void main() {", - - "vec4 reflectedColor = textureCube( tCube, vec3( -vReflect.x, vReflect.yz ) );", - "vec4 refractedColor = vec4( 1.0, 1.0, 1.0, 1.0 );", - - "refractedColor.r = textureCube( tCube, vec3( -vRefract[0].x, vRefract[0].yz ) ).r;", - "refractedColor.g = textureCube( tCube, vec3( -vRefract[1].x, vRefract[1].yz ) ).g;", - "refractedColor.b = textureCube( tCube, vec3( -vRefract[2].x, vRefract[2].yz ) ).b;", - "refractedColor.a = 1.0;", - - "gl_FragColor = mix( refractedColor, reflectedColor, clamp( vReflectionFactor, 0.0, 1.0 ) );", - - "}" - - ].join("\n"), - - vertexShader: [ - - "uniform float mRefractionRatio;", - "uniform float mFresnelBias;", - "uniform float mFresnelScale;", - "uniform float mFresnelPower;", - - "varying vec3 vReflect;", - "varying vec3 vRefract[3];", - "varying float vReflectionFactor;", - - "void main() {", - - "vec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );", - "vec4 mPosition = modelMatrix * vec4( position, 1.0 );", - - "vec3 nWorld = normalize( mat3( modelMatrix[0].xyz, modelMatrix[1].xyz, modelMatrix[2].xyz ) * normal );", - - "vec3 I = mPosition.xyz - cameraPosition;", - - "vReflect = reflect( I, nWorld );", - "vRefract[0] = refract( normalize( I ), nWorld, mRefractionRatio );", - "vRefract[1] = refract( normalize( I ), nWorld, mRefractionRatio * 0.99 );", - "vRefract[2] = refract( normalize( I ), nWorld, mRefractionRatio * 0.98 );", - "vReflectionFactor = mFresnelBias + mFresnelScale * pow( 1.0 + dot( normalize( I ), nWorld ), mFresnelPower );", - - "gl_Position = projectionMatrix * mvPosition;", - - "}" - - ].join("\n") - - }, - - /* ------------------------------------------------------------------------- - // Normal map shader - // - Blinn-Phong - // - normal + diffuse + specular + AO + displacement + reflection + shadow maps - // - point and directional lights (use with "lights: true" material option) - ------------------------------------------------------------------------- */ - - 'normal' : { - - uniforms: THREE.UniformsUtils.merge( [ - - THREE.UniformsLib[ "fog" ], - THREE.UniformsLib[ "lights" ], - THREE.UniformsLib[ "shadowmap" ], - - { - - "enableAO" : { type: "i", value: 0 }, - "enableDiffuse" : { type: "i", value: 0 }, - "enableSpecular" : { type: "i", value: 0 }, - "enableReflection": { type: "i", value: 0 }, - "enableDisplacement": { type: "i", value: 0 }, - - "tDisplacement": { type: "t", value: null }, // must go first as this is vertex texture - "tDiffuse" : { type: "t", value: null }, - "tCube" : { type: "t", value: null }, - "tNormal" : { type: "t", value: null }, - "tSpecular" : { type: "t", value: null }, - "tAO" : { type: "t", value: null }, - - "uNormalScale": { type: "v2", value: new THREE.Vector2( 1, 1 ) }, - - "uDisplacementBias": { type: "f", value: 0.0 }, - "uDisplacementScale": { type: "f", value: 1.0 }, - - "uDiffuseColor": { type: "c", value: new THREE.Color( 0xffffff ) }, - "uSpecularColor": { type: "c", value: new THREE.Color( 0x111111 ) }, - "uAmbientColor": { type: "c", value: new THREE.Color( 0xffffff ) }, - "uShininess": { type: "f", value: 30 }, - "uOpacity": { type: "f", value: 1 }, - - "useRefract": { type: "i", value: 0 }, - "uRefractionRatio": { type: "f", value: 0.98 }, - "uReflectivity": { type: "f", value: 0.5 }, - - "uOffset" : { type: "v2", value: new THREE.Vector2( 0, 0 ) }, - "uRepeat" : { type: "v2", value: new THREE.Vector2( 1, 1 ) }, - - "wrapRGB" : { type: "v3", value: new THREE.Vector3( 1, 1, 1 ) } - - } - - ] ), - - fragmentShader: [ - - "uniform vec3 uAmbientColor;", - "uniform vec3 uDiffuseColor;", - "uniform vec3 uSpecularColor;", - "uniform float uShininess;", - "uniform float uOpacity;", - - "uniform bool enableDiffuse;", - "uniform bool enableSpecular;", - "uniform bool enableAO;", - "uniform bool enableReflection;", - - "uniform sampler2D tDiffuse;", - "uniform sampler2D tNormal;", - "uniform sampler2D tSpecular;", - "uniform sampler2D tAO;", - - "uniform samplerCube tCube;", - - "uniform vec2 uNormalScale;", - - "uniform bool useRefract;", - "uniform float uRefractionRatio;", - "uniform float uReflectivity;", - - "varying vec3 vTangent;", - "varying vec3 vBinormal;", - "varying vec3 vNormal;", - "varying vec2 vUv;", - - "uniform vec3 ambientLightColor;", - - "#if MAX_DIR_LIGHTS > 0", - - "uniform vec3 directionalLightColor[ MAX_DIR_LIGHTS ];", - "uniform vec3 directionalLightDirection[ MAX_DIR_LIGHTS ];", - - "#endif", - - "#if MAX_HEMI_LIGHTS > 0", - - "uniform vec3 hemisphereLightSkyColor[ MAX_HEMI_LIGHTS ];", - "uniform vec3 hemisphereLightGroundColor[ MAX_HEMI_LIGHTS ];", - "uniform vec3 hemisphereLightPosition[ MAX_HEMI_LIGHTS ];", - - "#endif", - - "#if MAX_POINT_LIGHTS > 0", - - "uniform vec3 pointLightColor[ MAX_POINT_LIGHTS ];", - "uniform vec3 pointLightPosition[ MAX_POINT_LIGHTS ];", - "uniform float pointLightDistance[ MAX_POINT_LIGHTS ];", - - "#endif", - - "#if MAX_SPOT_LIGHTS > 0", - - "uniform vec3 spotLightColor[ MAX_SPOT_LIGHTS ];", - "uniform vec3 spotLightPosition[ MAX_SPOT_LIGHTS ];", - "uniform vec3 spotLightDirection[ MAX_SPOT_LIGHTS ];", - "uniform float spotLightAngle[ MAX_SPOT_LIGHTS ];", - "uniform float spotLightExponent[ MAX_SPOT_LIGHTS ];", - "uniform float spotLightDistance[ MAX_SPOT_LIGHTS ];", - - "#endif", - - "#ifdef WRAP_AROUND", - - "uniform vec3 wrapRGB;", - - "#endif", - - "varying vec3 vWorldPosition;", - "varying vec3 vViewPosition;", - - THREE.ShaderChunk[ "shadowmap_pars_fragment" ], - THREE.ShaderChunk[ "fog_pars_fragment" ], - - "void main() {", - - "gl_FragColor = vec4( vec3( 1.0 ), uOpacity );", - - "vec3 specularTex = vec3( 1.0 );", - - "vec3 normalTex = texture2D( tNormal, vUv ).xyz * 2.0 - 1.0;", - "normalTex.xy *= uNormalScale;", - "normalTex = normalize( normalTex );", - - "if( enableDiffuse ) {", - - "#ifdef GAMMA_INPUT", - - "vec4 texelColor = texture2D( tDiffuse, vUv );", - "texelColor.xyz *= texelColor.xyz;", - - "gl_FragColor = gl_FragColor * texelColor;", - - "#else", - - "gl_FragColor = gl_FragColor * texture2D( tDiffuse, vUv );", - - "#endif", - - "}", - - "if( enableAO ) {", - - "#ifdef GAMMA_INPUT", - - "vec4 aoColor = texture2D( tAO, vUv );", - "aoColor.xyz *= aoColor.xyz;", - - "gl_FragColor.xyz = gl_FragColor.xyz * aoColor.xyz;", - - "#else", - - "gl_FragColor.xyz = gl_FragColor.xyz * texture2D( tAO, vUv ).xyz;", - - "#endif", - - "}", - - "if( enableSpecular )", - "specularTex = texture2D( tSpecular, vUv ).xyz;", - - "mat3 tsb = mat3( normalize( vTangent ), normalize( vBinormal ), normalize( vNormal ) );", - "vec3 finalNormal = tsb * normalTex;", - - "#ifdef FLIP_SIDED", - - "finalNormal = -finalNormal;", - - "#endif", - - "vec3 normal = normalize( finalNormal );", - "vec3 viewPosition = normalize( vViewPosition );", - - // point lights - - "#if MAX_POINT_LIGHTS > 0", - - "vec3 pointDiffuse = vec3( 0.0 );", - "vec3 pointSpecular = vec3( 0.0 );", - - "for ( int i = 0; i < MAX_POINT_LIGHTS; i ++ ) {", - - "vec4 lPosition = viewMatrix * vec4( pointLightPosition[ i ], 1.0 );", - "vec3 pointVector = lPosition.xyz + vViewPosition.xyz;", - - "float pointDistance = 1.0;", - "if ( pointLightDistance[ i ] > 0.0 )", - "pointDistance = 1.0 - min( ( length( pointVector ) / pointLightDistance[ i ] ), 1.0 );", - - "pointVector = normalize( pointVector );", - - // diffuse - - "#ifdef WRAP_AROUND", - - "float pointDiffuseWeightFull = max( dot( normal, pointVector ), 0.0 );", - "float pointDiffuseWeightHalf = max( 0.5 * dot( normal, pointVector ) + 0.5, 0.0 );", - - "vec3 pointDiffuseWeight = mix( vec3 ( pointDiffuseWeightFull ), vec3( pointDiffuseWeightHalf ), wrapRGB );", - - "#else", - - "float pointDiffuseWeight = max( dot( normal, pointVector ), 0.0 );", - - "#endif", - - "pointDiffuse += pointDistance * pointLightColor[ i ] * uDiffuseColor * pointDiffuseWeight;", - - // specular - - "vec3 pointHalfVector = normalize( pointVector + viewPosition );", - "float pointDotNormalHalf = max( dot( normal, pointHalfVector ), 0.0 );", - "float pointSpecularWeight = specularTex.r * max( pow( pointDotNormalHalf, uShininess ), 0.0 );", - - "#ifdef PHYSICALLY_BASED_SHADING", - - // 2.0 => 2.0001 is hack to work around ANGLE bug - - "float specularNormalization = ( uShininess + 2.0001 ) / 8.0;", - - "vec3 schlick = uSpecularColor + vec3( 1.0 - uSpecularColor ) * pow( 1.0 - dot( pointVector, pointHalfVector ), 5.0 );", - "pointSpecular += schlick * pointLightColor[ i ] * pointSpecularWeight * pointDiffuseWeight * pointDistance * specularNormalization;", - - "#else", - - "pointSpecular += pointDistance * pointLightColor[ i ] * uSpecularColor * pointSpecularWeight * pointDiffuseWeight;", - - "#endif", - - "}", - - "#endif", - - // spot lights - - "#if MAX_SPOT_LIGHTS > 0", - - "vec3 spotDiffuse = vec3( 0.0 );", - "vec3 spotSpecular = vec3( 0.0 );", - - "for ( int i = 0; i < MAX_SPOT_LIGHTS; i ++ ) {", - - "vec4 lPosition = viewMatrix * vec4( spotLightPosition[ i ], 1.0 );", - "vec3 spotVector = lPosition.xyz + vViewPosition.xyz;", - - "float spotDistance = 1.0;", - "if ( spotLightDistance[ i ] > 0.0 )", - "spotDistance = 1.0 - min( ( length( spotVector ) / spotLightDistance[ i ] ), 1.0 );", - - "spotVector = normalize( spotVector );", - - "float spotEffect = dot( spotLightDirection[ i ], normalize( spotLightPosition[ i ] - vWorldPosition ) );", - - "if ( spotEffect > spotLightAngle[ i ] ) {", - - "spotEffect = pow( spotEffect, spotLightExponent[ i ] );", - - // diffuse - - "#ifdef WRAP_AROUND", - - "float spotDiffuseWeightFull = max( dot( normal, spotVector ), 0.0 );", - "float spotDiffuseWeightHalf = max( 0.5 * dot( normal, spotVector ) + 0.5, 0.0 );", - - "vec3 spotDiffuseWeight = mix( vec3 ( spotDiffuseWeightFull ), vec3( spotDiffuseWeightHalf ), wrapRGB );", - - "#else", - - "float spotDiffuseWeight = max( dot( normal, spotVector ), 0.0 );", - - "#endif", - - "spotDiffuse += spotDistance * spotLightColor[ i ] * uDiffuseColor * spotDiffuseWeight * spotEffect;", - - // specular - - "vec3 spotHalfVector = normalize( spotVector + viewPosition );", - "float spotDotNormalHalf = max( dot( normal, spotHalfVector ), 0.0 );", - "float spotSpecularWeight = specularTex.r * max( pow( spotDotNormalHalf, uShininess ), 0.0 );", - - "#ifdef PHYSICALLY_BASED_SHADING", - - // 2.0 => 2.0001 is hack to work around ANGLE bug - - "float specularNormalization = ( uShininess + 2.0001 ) / 8.0;", - - "vec3 schlick = uSpecularColor + vec3( 1.0 - uSpecularColor ) * pow( 1.0 - dot( spotVector, spotHalfVector ), 5.0 );", - "spotSpecular += schlick * spotLightColor[ i ] * spotSpecularWeight * spotDiffuseWeight * spotDistance * specularNormalization * spotEffect;", - - "#else", - - "spotSpecular += spotDistance * spotLightColor[ i ] * uSpecularColor * spotSpecularWeight * spotDiffuseWeight * spotEffect;", - - "#endif", - - "}", - - "}", - - "#endif", - - // directional lights - - "#if MAX_DIR_LIGHTS > 0", - - "vec3 dirDiffuse = vec3( 0.0 );", - "vec3 dirSpecular = vec3( 0.0 );", - - "for( int i = 0; i < MAX_DIR_LIGHTS; i++ ) {", - - "vec4 lDirection = viewMatrix * vec4( directionalLightDirection[ i ], 0.0 );", - "vec3 dirVector = normalize( lDirection.xyz );", - - // diffuse - - "#ifdef WRAP_AROUND", - - "float directionalLightWeightingFull = max( dot( normal, dirVector ), 0.0 );", - "float directionalLightWeightingHalf = max( 0.5 * dot( normal, dirVector ) + 0.5, 0.0 );", - - "vec3 dirDiffuseWeight = mix( vec3( directionalLightWeightingFull ), vec3( directionalLightWeightingHalf ), wrapRGB );", - - "#else", - - "float dirDiffuseWeight = max( dot( normal, dirVector ), 0.0 );", - - "#endif", - - "dirDiffuse += directionalLightColor[ i ] * uDiffuseColor * dirDiffuseWeight;", - - // specular - - "vec3 dirHalfVector = normalize( dirVector + viewPosition );", - "float dirDotNormalHalf = max( dot( normal, dirHalfVector ), 0.0 );", - "float dirSpecularWeight = specularTex.r * max( pow( dirDotNormalHalf, uShininess ), 0.0 );", - - "#ifdef PHYSICALLY_BASED_SHADING", - - // 2.0 => 2.0001 is hack to work around ANGLE bug - - "float specularNormalization = ( uShininess + 2.0001 ) / 8.0;", - - "vec3 schlick = uSpecularColor + vec3( 1.0 - uSpecularColor ) * pow( 1.0 - dot( dirVector, dirHalfVector ), 5.0 );", - "dirSpecular += schlick * directionalLightColor[ i ] * dirSpecularWeight * dirDiffuseWeight * specularNormalization;", - - "#else", - - "dirSpecular += directionalLightColor[ i ] * uSpecularColor * dirSpecularWeight * dirDiffuseWeight;", - - "#endif", - - "}", - - "#endif", - - // hemisphere lights - - "#if MAX_HEMI_LIGHTS > 0", - - "vec3 hemiDiffuse = vec3( 0.0 );", - "vec3 hemiSpecular = vec3( 0.0 );" , - - "for( int i = 0; i < MAX_HEMI_LIGHTS; i ++ ) {", - - "vec4 lPosition = viewMatrix * vec4( hemisphereLightPosition[ i ], 1.0 );", - "vec3 lVector = normalize( lPosition.xyz + vViewPosition.xyz );", - - // diffuse - - "float dotProduct = dot( normal, lVector );", - "float hemiDiffuseWeight = 0.5 * dotProduct + 0.5;", - - "vec3 hemiColor = mix( hemisphereLightGroundColor[ i ], hemisphereLightSkyColor[ i ], hemiDiffuseWeight );", - - "hemiDiffuse += uDiffuseColor * hemiColor;", - - // specular (sky light) - - - "vec3 hemiHalfVectorSky = normalize( lVector + viewPosition );", - "float hemiDotNormalHalfSky = 0.5 * dot( normal, hemiHalfVectorSky ) + 0.5;", - "float hemiSpecularWeightSky = specularTex.r * max( pow( hemiDotNormalHalfSky, uShininess ), 0.0 );", - - // specular (ground light) - - "vec3 lVectorGround = normalize( -lPosition.xyz + vViewPosition.xyz );", - - "vec3 hemiHalfVectorGround = normalize( lVectorGround + viewPosition );", - "float hemiDotNormalHalfGround = 0.5 * dot( normal, hemiHalfVectorGround ) + 0.5;", - "float hemiSpecularWeightGround = specularTex.r * max( pow( hemiDotNormalHalfGround, uShininess ), 0.0 );", - - "#ifdef PHYSICALLY_BASED_SHADING", - - "float dotProductGround = dot( normal, lVectorGround );", - - // 2.0 => 2.0001 is hack to work around ANGLE bug - - "float specularNormalization = ( uShininess + 2.0001 ) / 8.0;", - - "vec3 schlickSky = uSpecularColor + vec3( 1.0 - uSpecularColor ) * pow( 1.0 - dot( lVector, hemiHalfVectorSky ), 5.0 );", - "vec3 schlickGround = uSpecularColor + vec3( 1.0 - uSpecularColor ) * pow( 1.0 - dot( lVectorGround, hemiHalfVectorGround ), 5.0 );", - "hemiSpecular += hemiColor * specularNormalization * ( schlickSky * hemiSpecularWeightSky * max( dotProduct, 0.0 ) + schlickGround * hemiSpecularWeightGround * max( dotProductGround, 0.0 ) );", - - "#else", - - "hemiSpecular += uSpecularColor * hemiColor * ( hemiSpecularWeightSky + hemiSpecularWeightGround ) * hemiDiffuseWeight;", - - "#endif", - - "}", - - "#endif", - - // all lights contribution summation - - "vec3 totalDiffuse = vec3( 0.0 );", - "vec3 totalSpecular = vec3( 0.0 );", - - "#if MAX_DIR_LIGHTS > 0", - - "totalDiffuse += dirDiffuse;", - "totalSpecular += dirSpecular;", - - "#endif", - - "#if MAX_HEMI_LIGHTS > 0", - - "totalDiffuse += hemiDiffuse;", - "totalSpecular += hemiSpecular;", - - "#endif", - - "#if MAX_POINT_LIGHTS > 0", - - "totalDiffuse += pointDiffuse;", - "totalSpecular += pointSpecular;", - - "#endif", - - "#if MAX_SPOT_LIGHTS > 0", - - "totalDiffuse += spotDiffuse;", - "totalSpecular += spotSpecular;", - - "#endif", - - "#ifdef METAL", - - "gl_FragColor.xyz = gl_FragColor.xyz * ( totalDiffuse + ambientLightColor * uAmbientColor + totalSpecular );", - - "#else", - - "gl_FragColor.xyz = gl_FragColor.xyz * ( totalDiffuse + ambientLightColor * uAmbientColor ) + totalSpecular;", - - "#endif", - - "if ( enableReflection ) {", - - "vec3 vReflect;", - "vec3 cameraToVertex = normalize( vWorldPosition - cameraPosition );", - - "if ( useRefract ) {", - - "vReflect = refract( cameraToVertex, normal, uRefractionRatio );", - - "} else {", - - "vReflect = reflect( cameraToVertex, normal );", - - "}", - - "vec4 cubeColor = textureCube( tCube, vec3( -vReflect.x, vReflect.yz ) );", - - "#ifdef GAMMA_INPUT", - - "cubeColor.xyz *= cubeColor.xyz;", - - "#endif", - - "gl_FragColor.xyz = mix( gl_FragColor.xyz, cubeColor.xyz, specularTex.r * uReflectivity );", - - "}", - - THREE.ShaderChunk[ "shadowmap_fragment" ], - THREE.ShaderChunk[ "linear_to_gamma_fragment" ], - THREE.ShaderChunk[ "fog_fragment" ], - - "}" - - ].join("\n"), - - vertexShader: [ - - "attribute vec4 tangent;", - - "uniform vec2 uOffset;", - "uniform vec2 uRepeat;", - - "uniform bool enableDisplacement;", - - "#ifdef VERTEX_TEXTURES", - - "uniform sampler2D tDisplacement;", - "uniform float uDisplacementScale;", - "uniform float uDisplacementBias;", - - "#endif", - - "varying vec3 vTangent;", - "varying vec3 vBinormal;", - "varying vec3 vNormal;", - "varying vec2 vUv;", - - "varying vec3 vWorldPosition;", - "varying vec3 vViewPosition;", - - THREE.ShaderChunk[ "skinning_pars_vertex" ], - THREE.ShaderChunk[ "shadowmap_pars_vertex" ], - - "void main() {", - - THREE.ShaderChunk[ "skinbase_vertex" ], - THREE.ShaderChunk[ "skinnormal_vertex" ], - - // normal, tangent and binormal vectors - - "#ifdef USE_SKINNING", - - "vNormal = normalMatrix * skinnedNormal.xyz;", - - "vec4 skinnedTangent = skinMatrix * vec4( tangent.xyz, 0.0 );", - "vTangent = normalMatrix * skinnedTangent.xyz;", - - "#else", - - "vNormal = normalMatrix * normal;", - "vTangent = normalMatrix * tangent.xyz;", - - "#endif", - - "vBinormal = cross( vNormal, vTangent ) * tangent.w;", - - "vUv = uv * uRepeat + uOffset;", - - // displacement mapping - - "vec3 displacedPosition;", - - "#ifdef VERTEX_TEXTURES", - - "if ( enableDisplacement ) {", - - "vec3 dv = texture2D( tDisplacement, uv ).xyz;", - "float df = uDisplacementScale * dv.x + uDisplacementBias;", - "displacedPosition = position + normalize( normal ) * df;", - - "} else {", - - "#ifdef USE_SKINNING", - - "vec4 skinVertex = vec4( position, 1.0 );", - - "vec4 skinned = boneMatX * skinVertex * skinWeight.x;", - "skinned += boneMatY * skinVertex * skinWeight.y;", - - "displacedPosition = skinned.xyz;", - - "#else", - - "displacedPosition = position;", - - "#endif", - - "}", - - "#else", - - "#ifdef USE_SKINNING", - - "vec4 skinVertex = vec4( position, 1.0 );", - - "vec4 skinned = boneMatX * skinVertex * skinWeight.x;", - "skinned += boneMatY * skinVertex * skinWeight.y;", - - "displacedPosition = skinned.xyz;", - - "#else", - - "displacedPosition = position;", - - "#endif", - - "#endif", - - // - - "vec4 mvPosition = modelViewMatrix * vec4( displacedPosition, 1.0 );", - "vec4 mPosition = modelMatrix * vec4( displacedPosition, 1.0 );", - - "gl_Position = projectionMatrix * mvPosition;", - - // - - "vWorldPosition = mPosition.xyz;", - "vViewPosition = -mvPosition.xyz;", - - // shadows - - "#ifdef USE_SHADOWMAP", - - "for( int i = 0; i < MAX_SHADOWS; i ++ ) {", - - "vShadowCoord[ i ] = shadowMatrix[ i ] * mPosition;", - - "}", - - "#endif", - - "}" - - ].join("\n") - - }, - - /* ------------------------------------------------------------------------- - // Cube map shader - ------------------------------------------------------------------------- */ - - 'cube': { - - uniforms: { "tCube": { type: "t", value: null }, - "tFlip": { type: "f", value: -1 } }, - - vertexShader: [ - - "varying vec3 vViewPosition;", - - "void main() {", - - "vec4 mPosition = modelMatrix * vec4( position, 1.0 );", - "vViewPosition = cameraPosition - mPosition.xyz;", - - "gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );", - - "}" - - ].join("\n"), - - fragmentShader: [ - - "uniform samplerCube tCube;", - "uniform float tFlip;", - - "varying vec3 vViewPosition;", - - "void main() {", - - "vec3 wPos = cameraPosition - vViewPosition;", - "gl_FragColor = textureCube( tCube, vec3( tFlip * wPos.x, wPos.yz ) );", - - "}" - - ].join("\n") - - } - - } - -}; - -}; -/** - * @author zz85 / http://www.lab4games.net/zz85/blog - * @author alteredq / http://alteredqualia.com/ - * - * For Text operations in three.js (See TextGeometry) - * - * It uses techniques used in: - * - * typeface.js and canvastext - * For converting fonts and rendering with javascript - * http://typeface.neocracy.org - * - * Triangulation ported from AS3 - * Simple Polygon Triangulation - * http://actionsnippet.com/?p=1462 - * - * A Method to triangulate shapes with holes - * http://www.sakri.net/blog/2009/06/12/an-approach-to-triangulating-polygons-with-holes/ - * - */ - -THREE.FontUtils = { - - faces : {}, - - // Just for now. face[weight][style] - - face : "helvetiker", - weight: "normal", - style : "normal", - size : 150, - divisions : 10, - - getFace : function() { - - return this.faces[ this.face ][ this.weight ][ this.style ]; - - }, - - loadFace : function( data ) { - - var family = data.familyName.toLowerCase(); - - var ThreeFont = this; - - ThreeFont.faces[ family ] = ThreeFont.faces[ family ] || {}; - - ThreeFont.faces[ family ][ data.cssFontWeight ] = ThreeFont.faces[ family ][ data.cssFontWeight ] || {}; - ThreeFont.faces[ family ][ data.cssFontWeight ][ data.cssFontStyle ] = data; - - var face = ThreeFont.faces[ family ][ data.cssFontWeight ][ data.cssFontStyle ] = data; - - return data; - - }, - - drawText : function( text ) { - - var characterPts = [], allPts = []; - - // RenderText - - var i, p, - face = this.getFace(), - scale = this.size / face.resolution, - offset = 0, - chars = String( text ).split( '' ), - length = chars.length; - - var fontPaths = []; - - for ( i = 0; i < length; i ++ ) { - - var path = new THREE.Path(); - - var ret = this.extractGlyphPoints( chars[ i ], face, scale, offset, path ); - offset += ret.offset; - - fontPaths.push( ret.path ); - - } - - // get the width - - var width = offset / 2; - // - // for ( p = 0; p < allPts.length; p++ ) { - // - // allPts[ p ].x -= width; - // - // } - - //var extract = this.extractPoints( allPts, characterPts ); - //extract.contour = allPts; - - //extract.paths = fontPaths; - //extract.offset = width; - - return { paths : fontPaths, offset : width }; - - }, - - - - - extractGlyphPoints : function( c, face, scale, offset, path ) { - - var pts = []; - - var i, i2, divisions, - outline, action, length, - scaleX, scaleY, - x, y, cpx, cpy, cpx0, cpy0, cpx1, cpy1, cpx2, cpy2, - laste, - glyph = face.glyphs[ c ] || face.glyphs[ '?' ]; - - if ( !glyph ) return; - - if ( glyph.o ) { - - outline = glyph._cachedOutline || ( glyph._cachedOutline = glyph.o.split( ' ' ) ); - length = outline.length; - - scaleX = scale; - scaleY = scale; - - for ( i = 0; i < length; ) { - - action = outline[ i ++ ]; - - //console.log( action ); - - switch( action ) { - - case 'm': - - // Move To - - x = outline[ i++ ] * scaleX + offset; - y = outline[ i++ ] * scaleY; - - path.moveTo( x, y ); - break; - - case 'l': - - // Line To - - x = outline[ i++ ] * scaleX + offset; - y = outline[ i++ ] * scaleY; - path.lineTo(x,y); - break; - - case 'q': - - // QuadraticCurveTo - - cpx = outline[ i++ ] * scaleX + offset; - cpy = outline[ i++ ] * scaleY; - cpx1 = outline[ i++ ] * scaleX + offset; - cpy1 = outline[ i++ ] * scaleY; - - path.quadraticCurveTo(cpx1, cpy1, cpx, cpy); - - laste = pts[ pts.length - 1 ]; - - if ( laste ) { - - cpx0 = laste.x; - cpy0 = laste.y; - - for ( i2 = 1, divisions = this.divisions; i2 <= divisions; i2 ++ ) { - - var t = i2 / divisions; - var tx = THREE.Shape.Utils.b2( t, cpx0, cpx1, cpx ); - var ty = THREE.Shape.Utils.b2( t, cpy0, cpy1, cpy ); - } - - } - - break; - - case 'b': - - // Cubic Bezier Curve - - cpx = outline[ i++ ] * scaleX + offset; - cpy = outline[ i++ ] * scaleY; - cpx1 = outline[ i++ ] * scaleX + offset; - cpy1 = outline[ i++ ] * -scaleY; - cpx2 = outline[ i++ ] * scaleX + offset; - cpy2 = outline[ i++ ] * -scaleY; - - path.bezierCurveTo( cpx, cpy, cpx1, cpy1, cpx2, cpy2 ); - - laste = pts[ pts.length - 1 ]; - - if ( laste ) { - - cpx0 = laste.x; - cpy0 = laste.y; - - for ( i2 = 1, divisions = this.divisions; i2 <= divisions; i2 ++ ) { - - var t = i2 / divisions; - var tx = THREE.Shape.Utils.b3( t, cpx0, cpx1, cpx2, cpx ); - var ty = THREE.Shape.Utils.b3( t, cpy0, cpy1, cpy2, cpy ); - - } - - } - - break; - - } - - } - } - - - - return { offset: glyph.ha*scale, path:path}; - } - -}; - - -THREE.FontUtils.generateShapes = function( text, parameters ) { - - // Parameters - - parameters = parameters || {}; - - var size = parameters.size !== undefined ? parameters.size : 100; - var curveSegments = parameters.curveSegments !== undefined ? parameters.curveSegments: 4; - - var font = parameters.font !== undefined ? parameters.font : "helvetiker"; - var weight = parameters.weight !== undefined ? parameters.weight : "normal"; - var style = parameters.style !== undefined ? parameters.style : "normal"; - - THREE.FontUtils.size = size; - THREE.FontUtils.divisions = curveSegments; - - THREE.FontUtils.face = font; - THREE.FontUtils.weight = weight; - THREE.FontUtils.style = style; - - // Get a Font data json object - - var data = THREE.FontUtils.drawText( text ); - - var paths = data.paths; - var shapes = []; - - for ( var p = 0, pl = paths.length; p < pl; p ++ ) { - - Array.prototype.push.apply( shapes, paths[ p ].toShapes() ); - - } - - return shapes; - -}; - - -/** - * This code is a quick port of code written in C++ which was submitted to - * flipcode.com by John W. Ratcliff // July 22, 2000 - * See original code and more information here: - * http://www.flipcode.com/archives/Efficient_Polygon_Triangulation.shtml - * - * ported to actionscript by Zevan Rosser - * www.actionsnippet.com - * - * ported to javascript by Joshua Koo - * http://www.lab4games.net/zz85/blog - * - */ - - -( function( namespace ) { - - var EPSILON = 0.0000000001; - - // takes in an contour array and returns - - var process = function( contour, indices ) { - - var n = contour.length; - - if ( n < 3 ) return null; - - var result = [], - verts = [], - vertIndices = []; - - /* we want a counter-clockwise polygon in verts */ - - var u, v, w; - - if ( area( contour ) > 0.0 ) { - - for ( v = 0; v < n; v++ ) verts[ v ] = v; - - } else { - - for ( v = 0; v < n; v++ ) verts[ v ] = ( n - 1 ) - v; - - } - - var nv = n; - - /* remove nv - 2 vertices, creating 1 triangle every time */ - - var count = 2 * nv; /* error detection */ - - for( v = nv - 1; nv > 2; ) { - - /* if we loop, it is probably a non-simple polygon */ - - if ( ( count-- ) <= 0 ) { - - //** Triangulate: ERROR - probable bad polygon! - - //throw ( "Warning, unable to triangulate polygon!" ); - //return null; - // Sometimes warning is fine, especially polygons are triangulated in reverse. - console.log( "Warning, unable to triangulate polygon!" ); - - if ( indices ) return vertIndices; - return result; - - } - - /* three consecutive vertices in current polygon, */ - - u = v; if ( nv <= u ) u = 0; /* previous */ - v = u + 1; if ( nv <= v ) v = 0; /* new v */ - w = v + 1; if ( nv <= w ) w = 0; /* next */ - - if ( snip( contour, u, v, w, nv, verts ) ) { - - var a, b, c, s, t; - - /* true names of the vertices */ - - a = verts[ u ]; - b = verts[ v ]; - c = verts[ w ]; - - /* output Triangle */ - - /* - result.push( contour[ a ] ); - result.push( contour[ b ] ); - result.push( contour[ c ] ); - */ - result.push( [ contour[ a ], - contour[ b ], - contour[ c ] ] ); - - - vertIndices.push( [ verts[ u ], verts[ v ], verts[ w ] ] ); - - /* remove v from the remaining polygon */ - - for( s = v, t = v + 1; t < nv; s++, t++ ) { - - verts[ s ] = verts[ t ]; - - } - - nv--; - - /* reset error detection counter */ - - count = 2 * nv; - - } - - } - - if ( indices ) return vertIndices; - return result; - - }; - - // calculate area of the contour polygon - - var area = function ( contour ) { - - var n = contour.length; - var a = 0.0; - - for( var p = n - 1, q = 0; q < n; p = q++ ) { - - a += contour[ p ].x * contour[ q ].y - contour[ q ].x * contour[ p ].y; - - } - - return a * 0.5; - - }; - - // see if p is inside triangle abc - - var insideTriangle = function( ax, ay, - bx, by, - cx, cy, - px, py ) { - - var aX, aY, bX, bY; - var cX, cY, apx, apy; - var bpx, bpy, cpx, cpy; - var cCROSSap, bCROSScp, aCROSSbp; - - aX = cx - bx; aY = cy - by; - bX = ax - cx; bY = ay - cy; - cX = bx - ax; cY = by - ay; - apx= px -ax; apy= py - ay; - bpx= px - bx; bpy= py - by; - cpx= px - cx; cpy= py - cy; - - aCROSSbp = aX*bpy - aY*bpx; - cCROSSap = cX*apy - cY*apx; - bCROSScp = bX*cpy - bY*cpx; - - return ( (aCROSSbp >= 0.0) && (bCROSScp >= 0.0) && (cCROSSap >= 0.0) ); - - }; - - - var snip = function ( contour, u, v, w, n, verts ) { - - var p; - var ax, ay, bx, by; - var cx, cy, px, py; - - ax = contour[ verts[ u ] ].x; - ay = contour[ verts[ u ] ].y; - - bx = contour[ verts[ v ] ].x; - by = contour[ verts[ v ] ].y; - - cx = contour[ verts[ w ] ].x; - cy = contour[ verts[ w ] ].y; - - if ( EPSILON > (((bx-ax)*(cy-ay)) - ((by-ay)*(cx-ax))) ) return false; - - for ( p = 0; p < n; p++ ) { - - if( (p == u) || (p == v) || (p == w) ) continue; - - px = contour[ verts[ p ] ].x - py = contour[ verts[ p ] ].y - - if ( insideTriangle( ax, ay, bx, by, cx, cy, px, py ) ) return false; - - } - - return true; - - }; - - - namespace.Triangulate = process; - namespace.Triangulate.area = area; - - return namespace; - -})(THREE.FontUtils); - -// To use the typeface.js face files, hook up the API -self._typeface_js = { faces: THREE.FontUtils.faces, loadFace: THREE.FontUtils.loadFace };/** - * @author zz85 / http://www.lab4games.net/zz85/blog - * Extensible curve object - * - * Some common of Curve methods - * .getPoint(t), getTangent(t) - * .getPointAt(u), getTagentAt(u) - * .getPoints(), .getSpacedPoints() - * .getLength() - * .updateArcLengths() - * - * This file contains following classes: - * - * -- 2d classes -- - * THREE.Curve - * THREE.LineCurve - * THREE.QuadraticBezierCurve - * THREE.CubicBezierCurve - * THREE.SplineCurve - * THREE.ArcCurve - * THREE.EllipseCurve - * - * -- 3d classes -- - * THREE.LineCurve3 - * THREE.QuadraticBezierCurve3 - * THREE.CubicBezierCurve3 - * THREE.SplineCurve3 - * THREE.ClosedSplineCurve3 - * - * A series of curves can be represented as a THREE.CurvePath - * - **/ - -/************************************************************** - * Abstract Curve base class - **************************************************************/ - -THREE.Curve = function () { - -}; - -// Virtual base class method to overwrite and implement in subclasses -// - t [0 .. 1] - -THREE.Curve.prototype.getPoint = function ( t ) { - - console.log( "Warning, getPoint() not implemented!" ); - return null; - -}; - -// Get point at relative position in curve according to arc length -// - u [0 .. 1] - -THREE.Curve.prototype.getPointAt = function ( u ) { - - var t = this.getUtoTmapping( u ); - return this.getPoint( t ); - -}; - -// Get sequence of points using getPoint( t ) - -THREE.Curve.prototype.getPoints = function ( divisions ) { - - if ( !divisions ) divisions = 5; - - var d, pts = []; - - for ( d = 0; d <= divisions; d ++ ) { - - pts.push( this.getPoint( d / divisions ) ); - - } - - return pts; - -}; - -// Get sequence of points using getPointAt( u ) - -THREE.Curve.prototype.getSpacedPoints = function ( divisions ) { - - if ( !divisions ) divisions = 5; - - var d, pts = []; - - for ( d = 0; d <= divisions; d ++ ) { - - pts.push( this.getPointAt( d / divisions ) ); - - } - - return pts; - -}; - -// Get total curve arc length - -THREE.Curve.prototype.getLength = function () { - - var lengths = this.getLengths(); - return lengths[ lengths.length - 1 ]; - -}; - -// Get list of cumulative segment lengths - -THREE.Curve.prototype.getLengths = function ( divisions ) { - - if ( !divisions ) divisions = (this.__arcLengthDivisions) ? (this.__arcLengthDivisions): 200; - - if ( this.cacheArcLengths - && ( this.cacheArcLengths.length == divisions + 1 ) - && !this.needsUpdate) { - - //console.log( "cached", this.cacheArcLengths ); - return this.cacheArcLengths; - - } - - this.needsUpdate = false; - - var cache = []; - var current, last = this.getPoint( 0 ); - var p, sum = 0; - - cache.push( 0 ); - - for ( p = 1; p <= divisions; p ++ ) { - - current = this.getPoint ( p / divisions ); - sum += current.distanceTo( last ); - cache.push( sum ); - last = current; - - } - - this.cacheArcLengths = cache; - - return cache; // { sums: cache, sum:sum }; Sum is in the last element. - -}; - - -THREE.Curve.prototype.updateArcLengths = function() { - this.needsUpdate = true; - this.getLengths(); -}; - -// Given u ( 0 .. 1 ), get a t to find p. This gives you points which are equi distance - -THREE.Curve.prototype.getUtoTmapping = function ( u, distance ) { - - var arcLengths = this.getLengths(); - - var i = 0, il = arcLengths.length; - - var targetArcLength; // The targeted u distance value to get - - if ( distance ) { - - targetArcLength = distance; - - } else { - - targetArcLength = u * arcLengths[ il - 1 ]; - - } - - //var time = Date.now(); - - // binary search for the index with largest value smaller than target u distance - - var low = 0, high = il - 1, comparison; - - while ( low <= high ) { - - i = Math.floor( low + ( high - low ) / 2 ); // less likely to overflow, though probably not issue here, JS doesn't really have integers, all numbers are floats - - comparison = arcLengths[ i ] - targetArcLength; - - if ( comparison < 0 ) { - - low = i + 1; - continue; - - } else if ( comparison > 0 ) { - - high = i - 1; - continue; - - } else { - - high = i; - break; - - // DONE - - } - - } - - i = high; - - //console.log('b' , i, low, high, Date.now()- time); - - if ( arcLengths[ i ] == targetArcLength ) { - - var t = i / ( il - 1 ); - return t; - - } - - // we could get finer grain at lengths, or use simple interpolatation between two points - - var lengthBefore = arcLengths[ i ]; - var lengthAfter = arcLengths[ i + 1 ]; - - var segmentLength = lengthAfter - lengthBefore; - - // determine where we are between the 'before' and 'after' points - - var segmentFraction = ( targetArcLength - lengthBefore ) / segmentLength; - - // add that fractional amount to t - - var t = ( i + segmentFraction ) / ( il -1 ); - - return t; - -}; - - -// In 2D space, there are actually 2 normal vectors, -// and in 3D space, infinte -// TODO this should be depreciated. -THREE.Curve.prototype.getNormalVector = function( t ) { - - var vec = this.getTangent( t ); - - return new THREE.Vector2( -vec.y , vec.x ); - -}; - -// Returns a unit vector tangent at t -// In case any sub curve does not implement its tangent / normal finding, -// we get 2 points with a small delta and find a gradient of the 2 points -// which seems to make a reasonable approximation - -THREE.Curve.prototype.getTangent = function( t ) { - - var delta = 0.0001; - var t1 = t - delta; - var t2 = t + delta; - - // Capping in case of danger - - if ( t1 < 0 ) t1 = 0; - if ( t2 > 1 ) t2 = 1; - - var pt1 = this.getPoint( t1 ); - var pt2 = this.getPoint( t2 ); - - var vec = pt2.clone().subSelf(pt1); - return vec.normalize(); - -}; - - -THREE.Curve.prototype.getTangentAt = function ( u ) { - - var t = this.getUtoTmapping( u ); - return this.getTangent( t ); - -}; - -/************************************************************** - * Line - **************************************************************/ - -THREE.LineCurve = function ( v1, v2 ) { - - this.v1 = v1; - this.v2 = v2; - -}; - -THREE.LineCurve.prototype = Object.create( THREE.Curve.prototype ); - -THREE.LineCurve.prototype.getPoint = function ( t ) { - - var point = this.v2.clone().subSelf(this.v1); - point.multiplyScalar( t ).addSelf( this.v1 ); - - return point; - -}; - -// Line curve is linear, so we can overwrite default getPointAt - -THREE.LineCurve.prototype.getPointAt = function ( u ) { - - return this.getPoint( u ); - -}; - -THREE.LineCurve.prototype.getTangent = function( t ) { - - var tangent = this.v2.clone().subSelf(this.v1); - - return tangent.normalize(); - -}; - -/************************************************************** - * Quadratic Bezier curve - **************************************************************/ - - -THREE.QuadraticBezierCurve = function ( v0, v1, v2 ) { - - this.v0 = v0; - this.v1 = v1; - this.v2 = v2; - -}; - -THREE.QuadraticBezierCurve.prototype = Object.create( THREE.Curve.prototype ); - - -THREE.QuadraticBezierCurve.prototype.getPoint = function ( t ) { - - var tx, ty; - - tx = THREE.Shape.Utils.b2( t, this.v0.x, this.v1.x, this.v2.x ); - ty = THREE.Shape.Utils.b2( t, this.v0.y, this.v1.y, this.v2.y ); - - return new THREE.Vector2( tx, ty ); - -}; - - -THREE.QuadraticBezierCurve.prototype.getTangent = function( t ) { - - var tx, ty; - - tx = THREE.Curve.Utils.tangentQuadraticBezier( t, this.v0.x, this.v1.x, this.v2.x ); - ty = THREE.Curve.Utils.tangentQuadraticBezier( t, this.v0.y, this.v1.y, this.v2.y ); - - // returns unit vector - - var tangent = new THREE.Vector2( tx, ty ); - tangent.normalize(); - - return tangent; - -}; - - -/************************************************************** - * Cubic Bezier curve - **************************************************************/ - -THREE.CubicBezierCurve = function ( v0, v1, v2, v3 ) { - - this.v0 = v0; - this.v1 = v1; - this.v2 = v2; - this.v3 = v3; - -}; - -THREE.CubicBezierCurve.prototype = Object.create( THREE.Curve.prototype ); - -THREE.CubicBezierCurve.prototype.getPoint = function ( t ) { - - var tx, ty; - - tx = THREE.Shape.Utils.b3( t, this.v0.x, this.v1.x, this.v2.x, this.v3.x ); - ty = THREE.Shape.Utils.b3( t, this.v0.y, this.v1.y, this.v2.y, this.v3.y ); - - return new THREE.Vector2( tx, ty ); - -}; - -THREE.CubicBezierCurve.prototype.getTangent = function( t ) { - - var tx, ty; - - tx = THREE.Curve.Utils.tangentCubicBezier( t, this.v0.x, this.v1.x, this.v2.x, this.v3.x ); - ty = THREE.Curve.Utils.tangentCubicBezier( t, this.v0.y, this.v1.y, this.v2.y, this.v3.y ); - - var tangent = new THREE.Vector2( tx, ty ); - tangent.normalize(); - - return tangent; - -}; - - -/************************************************************** - * Spline curve - **************************************************************/ - -THREE.SplineCurve = function ( points /* array of Vector2 */ ) { - - this.points = (points == undefined) ? [] : points; - -}; - -THREE.SplineCurve.prototype = Object.create( THREE.Curve.prototype ); - -THREE.SplineCurve.prototype.getPoint = function ( t ) { - - var v = new THREE.Vector2(); - var c = []; - var points = this.points, point, intPoint, weight; - point = ( points.length - 1 ) * t; - - intPoint = Math.floor( point ); - weight = point - intPoint; - - c[ 0 ] = intPoint == 0 ? intPoint : intPoint - 1; - c[ 1 ] = intPoint; - c[ 2 ] = intPoint > points.length - 2 ? points.length -1 : intPoint + 1; - c[ 3 ] = intPoint > points.length - 3 ? points.length -1 : intPoint + 2; - - v.x = THREE.Curve.Utils.interpolate( points[ c[ 0 ] ].x, points[ c[ 1 ] ].x, points[ c[ 2 ] ].x, points[ c[ 3 ] ].x, weight ); - v.y = THREE.Curve.Utils.interpolate( points[ c[ 0 ] ].y, points[ c[ 1 ] ].y, points[ c[ 2 ] ].y, points[ c[ 3 ] ].y, weight ); - - return v; - -}; - -/************************************************************** - * Ellipse curve - **************************************************************/ - -THREE.EllipseCurve = function ( aX, aY, xRadius, yRadius, - aStartAngle, aEndAngle, - aClockwise ) { - - this.aX = aX; - this.aY = aY; - - this.xRadius = xRadius; - this.yRadius = yRadius; - - this.aStartAngle = aStartAngle; - this.aEndAngle = aEndAngle; - - this.aClockwise = aClockwise; - -}; - -THREE.EllipseCurve.prototype = Object.create( THREE.Curve.prototype ); - -THREE.EllipseCurve.prototype.getPoint = function ( t ) { - - var deltaAngle = this.aEndAngle - this.aStartAngle; - - if ( !this.aClockwise ) { - - t = 1 - t; - - } - - var angle = this.aStartAngle + t * deltaAngle; - - var tx = this.aX + this.xRadius * Math.cos( angle ); - var ty = this.aY + this.yRadius * Math.sin( angle ); - - return new THREE.Vector2( tx, ty ); - -}; - -/************************************************************** - * Arc curve - **************************************************************/ - -THREE.ArcCurve = function ( aX, aY, aRadius, aStartAngle, aEndAngle, aClockwise ) { - - THREE.EllipseCurve.call( this, aX, aY, aRadius, aRadius, aStartAngle, aEndAngle, aClockwise ); -}; - -THREE.ArcCurve.prototype = Object.create( THREE.EllipseCurve.prototype ); - - -/************************************************************** - * Utils - **************************************************************/ - -THREE.Curve.Utils = { - - tangentQuadraticBezier: function ( t, p0, p1, p2 ) { - - return 2 * ( 1 - t ) * ( p1 - p0 ) + 2 * t * ( p2 - p1 ); - - }, - - // Puay Bing, thanks for helping with this derivative! - - tangentCubicBezier: function (t, p0, p1, p2, p3 ) { - - return -3 * p0 * (1 - t) * (1 - t) + - 3 * p1 * (1 - t) * (1-t) - 6 *t *p1 * (1-t) + - 6 * t * p2 * (1-t) - 3 * t * t * p2 + - 3 * t * t * p3; - }, - - - tangentSpline: function ( t, p0, p1, p2, p3 ) { - - // To check if my formulas are correct - - var h00 = 6 * t * t - 6 * t; // derived from 2t^3 − 3t^2 + 1 - var h10 = 3 * t * t - 4 * t + 1; // t^3 − 2t^2 + t - var h01 = -6 * t * t + 6 * t; // − 2t3 + 3t2 - var h11 = 3 * t * t - 2 * t; // t3 − t2 - - return h00 + h10 + h01 + h11; - - }, - - // Catmull-Rom - - interpolate: function( p0, p1, p2, p3, t ) { - - var v0 = ( p2 - p0 ) * 0.5; - var v1 = ( p3 - p1 ) * 0.5; - var t2 = t * t; - var t3 = t * t2; - return ( 2 * p1 - 2 * p2 + v0 + v1 ) * t3 + ( - 3 * p1 + 3 * p2 - 2 * v0 - v1 ) * t2 + v0 * t + p1; - - } - -}; - - -// TODO: Transformation for Curves? - -/************************************************************** - * 3D Curves - **************************************************************/ - -// A Factory method for creating new curve subclasses - -THREE.Curve.create = function ( constructor, getPointFunc ) { - - constructor.prototype = Object.create( THREE.Curve.prototype ); - constructor.prototype.getPoint = getPointFunc; - - return constructor; - -}; - - -/************************************************************** - * Line3D - **************************************************************/ - -THREE.LineCurve3 = THREE.Curve.create( - - function ( v1, v2 ) { - - this.v1 = v1; - this.v2 = v2; - - }, - - function ( t ) { - - var r = new THREE.Vector3(); - - - r.sub( this.v2, this.v1 ); // diff - r.multiplyScalar( t ); - r.addSelf( this.v1 ); - - return r; - - } - -); - - -/************************************************************** - * Quadratic Bezier 3D curve - **************************************************************/ - -THREE.QuadraticBezierCurve3 = THREE.Curve.create( - - function ( v0, v1, v2 ) { - - this.v0 = v0; - this.v1 = v1; - this.v2 = v2; - - }, - - function ( t ) { - - var tx, ty, tz; - - tx = THREE.Shape.Utils.b2( t, this.v0.x, this.v1.x, this.v2.x ); - ty = THREE.Shape.Utils.b2( t, this.v0.y, this.v1.y, this.v2.y ); - tz = THREE.Shape.Utils.b2( t, this.v0.z, this.v1.z, this.v2.z ); - - return new THREE.Vector3( tx, ty, tz ); - - } - -); - - - -/************************************************************** - * Cubic Bezier 3D curve - **************************************************************/ - -THREE.CubicBezierCurve3 = THREE.Curve.create( - - function ( v0, v1, v2, v3 ) { - - this.v0 = v0; - this.v1 = v1; - this.v2 = v2; - this.v3 = v3; - - }, - - function ( t ) { - - var tx, ty, tz; - - tx = THREE.Shape.Utils.b3( t, this.v0.x, this.v1.x, this.v2.x, this.v3.x ); - ty = THREE.Shape.Utils.b3( t, this.v0.y, this.v1.y, this.v2.y, this.v3.y ); - tz = THREE.Shape.Utils.b3( t, this.v0.z, this.v1.z, this.v2.z, this.v3.z ); - - return new THREE.Vector3( tx, ty, tz ); - - } - -); - - - -/************************************************************** - * Spline 3D curve - **************************************************************/ - - -THREE.SplineCurve3 = THREE.Curve.create( - - function ( points /* array of Vector3 */) { - - this.points = (points == undefined) ? [] : points; - - }, - - function ( t ) { - - var v = new THREE.Vector3(); - var c = []; - var points = this.points, point, intPoint, weight; - point = ( points.length - 1 ) * t; - - intPoint = Math.floor( point ); - weight = point - intPoint; - - c[ 0 ] = intPoint == 0 ? intPoint : intPoint - 1; - c[ 1 ] = intPoint; - c[ 2 ] = intPoint > points.length - 2 ? points.length - 1 : intPoint + 1; - c[ 3 ] = intPoint > points.length - 3 ? points.length - 1 : intPoint + 2; - - var pt0 = points[ c[0] ], - pt1 = points[ c[1] ], - pt2 = points[ c[2] ], - pt3 = points[ c[3] ]; - - v.x = THREE.Curve.Utils.interpolate(pt0.x, pt1.x, pt2.x, pt3.x, weight); - v.y = THREE.Curve.Utils.interpolate(pt0.y, pt1.y, pt2.y, pt3.y, weight); - v.z = THREE.Curve.Utils.interpolate(pt0.z, pt1.z, pt2.z, pt3.z, weight); - - return v; - - } - -); - - -// THREE.SplineCurve3.prototype.getTangent = function(t) { -// var v = new THREE.Vector3(); -// var c = []; -// var points = this.points, point, intPoint, weight; -// point = ( points.length - 1 ) * t; - -// intPoint = Math.floor( point ); -// weight = point - intPoint; - -// c[ 0 ] = intPoint == 0 ? intPoint : intPoint - 1; -// c[ 1 ] = intPoint; -// c[ 2 ] = intPoint > points.length - 2 ? points.length - 1 : intPoint + 1; -// c[ 3 ] = intPoint > points.length - 3 ? points.length - 1 : intPoint + 2; - -// var pt0 = points[ c[0] ], -// pt1 = points[ c[1] ], -// pt2 = points[ c[2] ], -// pt3 = points[ c[3] ]; - -// // t = weight; -// v.x = THREE.Curve.Utils.tangentSpline( t, pt0.x, pt1.x, pt2.x, pt3.x ); -// v.y = THREE.Curve.Utils.tangentSpline( t, pt0.y, pt1.y, pt2.y, pt3.y ); -// v.z = THREE.Curve.Utils.tangentSpline( t, pt0.z, pt1.z, pt2.z, pt3.z ); - -// return v; - -// } - -/************************************************************** - * Closed Spline 3D curve - **************************************************************/ - - -THREE.ClosedSplineCurve3 = THREE.Curve.create( - - function ( points /* array of Vector3 */) { - - this.points = (points == undefined) ? [] : points; - - }, - - function ( t ) { - - var v = new THREE.Vector3(); - var c = []; - var points = this.points, point, intPoint, weight; - point = ( points.length - 0 ) * t; - // This needs to be from 0-length +1 - - intPoint = Math.floor( point ); - weight = point - intPoint; - - intPoint += intPoint > 0 ? 0 : ( Math.floor( Math.abs( intPoint ) / points.length ) + 1 ) * points.length; - c[ 0 ] = ( intPoint - 1 ) % points.length; - c[ 1 ] = ( intPoint ) % points.length; - c[ 2 ] = ( intPoint + 1 ) % points.length; - c[ 3 ] = ( intPoint + 2 ) % points.length; - - v.x = THREE.Curve.Utils.interpolate( points[ c[ 0 ] ].x, points[ c[ 1 ] ].x, points[ c[ 2 ] ].x, points[ c[ 3 ] ].x, weight ); - v.y = THREE.Curve.Utils.interpolate( points[ c[ 0 ] ].y, points[ c[ 1 ] ].y, points[ c[ 2 ] ].y, points[ c[ 3 ] ].y, weight ); - v.z = THREE.Curve.Utils.interpolate( points[ c[ 0 ] ].z, points[ c[ 1 ] ].z, points[ c[ 2 ] ].z, points[ c[ 3 ] ].z, weight ); - - return v; - - } - -); -/** - * @author zz85 / http://www.lab4games.net/zz85/blog - * - **/ - -/************************************************************** - * Curved Path - a curve path is simply a array of connected - * curves, but retains the api of a curve - **************************************************************/ - -THREE.CurvePath = function () { - - this.curves = []; - this.bends = []; - - this.autoClose = false; // Automatically closes the path -}; - -THREE.CurvePath.prototype = Object.create( THREE.Curve.prototype ); - -THREE.CurvePath.prototype.add = function ( curve ) { - - this.curves.push( curve ); - -}; - -THREE.CurvePath.prototype.checkConnection = function() { - // TODO - // If the ending of curve is not connected to the starting - // or the next curve, then, this is not a real path -}; - -THREE.CurvePath.prototype.closePath = function() { - // TODO Test - // and verify for vector3 (needs to implement equals) - // Add a line curve if start and end of lines are not connected - var startPoint = this.curves[0].getPoint(0); - var endPoint = this.curves[this.curves.length-1].getPoint(1); - - if (!startPoint.equals(endPoint)) { - this.curves.push( new THREE.LineCurve(endPoint, startPoint) ); - } - -}; - -// To get accurate point with reference to -// entire path distance at time t, -// following has to be done: - -// 1. Length of each sub path have to be known -// 2. Locate and identify type of curve -// 3. Get t for the curve -// 4. Return curve.getPointAt(t') - -THREE.CurvePath.prototype.getPoint = function( t ) { - - var d = t * this.getLength(); - var curveLengths = this.getCurveLengths(); - var i = 0, diff, curve; - - // To think about boundaries points. - - while ( i < curveLengths.length ) { - - if ( curveLengths[ i ] >= d ) { - - diff = curveLengths[ i ] - d; - curve = this.curves[ i ]; - - var u = 1 - diff / curve.getLength(); - - return curve.getPointAt( u ); - - break; - } - - i ++; - - } - - return null; - - // loop where sum != 0, sum > d , sum+1 maxX ) maxX = p.x; - else if ( p.x < minX ) minX = p.x; - - if ( p.y > maxY ) maxY = p.y; - else if ( p.y < minY ) minY = p.y; - - if (v3) { - - if ( p.z > maxZ ) maxZ = p.z; - else if ( p.z < minZ ) minZ = p.z; - - } - - sum.addSelf( p ); - - } - - var ret = { - - minX: minX, - minY: minY, - maxX: maxX, - maxY: maxY, - centroid: sum.divideScalar( il ) - - }; - - if (v3) { - - ret.maxZ = maxZ; - ret.minZ = minZ; - - } - - return ret; - -}; - -/************************************************************** - * Create Geometries Helpers - **************************************************************/ - -/// Generate geometry from path points (for Line or ParticleSystem objects) - -THREE.CurvePath.prototype.createPointsGeometry = function( divisions ) { - - var pts = this.getPoints( divisions, true ); - return this.createGeometry( pts ); - -}; - -// Generate geometry from equidistance sampling along the path - -THREE.CurvePath.prototype.createSpacedPointsGeometry = function( divisions ) { - - var pts = this.getSpacedPoints( divisions, true ); - return this.createGeometry( pts ); - -}; - -THREE.CurvePath.prototype.createGeometry = function( points ) { - - var geometry = new THREE.Geometry(); - - for ( var i = 0; i < points.length; i ++ ) { - - geometry.vertices.push( new THREE.Vector3( points[ i ].x, points[ i ].y, points[ i ].z || 0) ); - - } - - return geometry; - -}; - - -/************************************************************** - * Bend / Wrap Helper Methods - **************************************************************/ - -// Wrap path / Bend modifiers? - -THREE.CurvePath.prototype.addWrapPath = function ( bendpath ) { - - this.bends.push( bendpath ); - -}; - -THREE.CurvePath.prototype.getTransformedPoints = function( segments, bends ) { - - var oldPts = this.getPoints( segments ); // getPoints getSpacedPoints - var i, il; - - if ( !bends ) { - - bends = this.bends; - - } - - for ( i = 0, il = bends.length; i < il; i ++ ) { - - oldPts = this.getWrapPoints( oldPts, bends[ i ] ); - - } - - return oldPts; - -}; - -THREE.CurvePath.prototype.getTransformedSpacedPoints = function( segments, bends ) { - - var oldPts = this.getSpacedPoints( segments ); - - var i, il; - - if ( !bends ) { - - bends = this.bends; - - } - - for ( i = 0, il = bends.length; i < il; i ++ ) { - - oldPts = this.getWrapPoints( oldPts, bends[ i ] ); - - } - - return oldPts; - -}; - -// This returns getPoints() bend/wrapped around the contour of a path. -// Read http://www.planetclegg.com/projects/WarpingTextToSplines.html - -THREE.CurvePath.prototype.getWrapPoints = function ( oldPts, path ) { - - var bounds = this.getBoundingBox(); - - var i, il, p, oldX, oldY, xNorm; - - for ( i = 0, il = oldPts.length; i < il; i ++ ) { - - p = oldPts[ i ]; - - oldX = p.x; - oldY = p.y; - - xNorm = oldX / bounds.maxX; - - // If using actual distance, for length > path, requires line extrusions - //xNorm = path.getUtoTmapping(xNorm, oldX); // 3 styles. 1) wrap stretched. 2) wrap stretch by arc length 3) warp by actual distance - - xNorm = path.getUtoTmapping( xNorm, oldX ); - - // check for out of bounds? - - var pathPt = path.getPoint( xNorm ); - var normal = path.getNormalVector( xNorm ).multiplyScalar( oldY ); - - p.x = pathPt.x + normal.x; - p.y = pathPt.y + normal.y; - - } - - return oldPts; - -}; - -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.Gyroscope = function () { - - THREE.Object3D.call( this ); - -}; - -THREE.Gyroscope.prototype = Object.create( THREE.Object3D.prototype ); - -THREE.Gyroscope.prototype.updateMatrixWorld = function ( force ) { - - this.matrixAutoUpdate && this.updateMatrix(); - - // update matrixWorld - - if ( this.matrixWorldNeedsUpdate || force ) { - - if ( this.parent ) { - - this.matrixWorld.multiply( this.parent.matrixWorld, this.matrix ); - - this.matrixWorld.decompose( this.translationWorld, this.rotationWorld, this.scaleWorld ); - this.matrix.decompose( this.translationObject, this.rotationObject, this.scaleObject ); - - this.matrixWorld.compose( this.translationWorld, this.rotationObject, this.scaleWorld ); - - - } else { - - this.matrixWorld.copy( this.matrix ); - - } - - - this.matrixWorldNeedsUpdate = false; - - force = true; - - } - - // update children - - for ( var i = 0, l = this.children.length; i < l; i ++ ) { - - this.children[ i ].updateMatrixWorld( force ); - - } - -}; - -THREE.Gyroscope.prototype.translationWorld = new THREE.Vector3(); -THREE.Gyroscope.prototype.translationObject = new THREE.Vector3(); -THREE.Gyroscope.prototype.rotationWorld = new THREE.Quaternion(); -THREE.Gyroscope.prototype.rotationObject = new THREE.Quaternion(); -THREE.Gyroscope.prototype.scaleWorld = new THREE.Vector3(); -THREE.Gyroscope.prototype.scaleObject = new THREE.Vector3(); - -/** - * @author zz85 / http://www.lab4games.net/zz85/blog - * Creates free form 2d path using series of points, lines or curves. - * - **/ - -THREE.Path = function ( points ) { - - THREE.CurvePath.call(this); - - this.actions = []; - - if ( points ) { - - this.fromPoints( points ); - - } - -}; - -THREE.Path.prototype = Object.create( THREE.CurvePath.prototype ); - -THREE.PathActions = { - - MOVE_TO: 'moveTo', - LINE_TO: 'lineTo', - QUADRATIC_CURVE_TO: 'quadraticCurveTo', // Bezier quadratic curve - BEZIER_CURVE_TO: 'bezierCurveTo', // Bezier cubic curve - CSPLINE_THRU: 'splineThru', // Catmull-rom spline - ARC: 'arc', // Circle - ELLIPSE: 'ellipse' -}; - -// TODO Clean up PATH API - -// Create path using straight lines to connect all points -// - vectors: array of Vector2 - -THREE.Path.prototype.fromPoints = function ( vectors ) { - - this.moveTo( vectors[ 0 ].x, vectors[ 0 ].y ); - - for ( var v = 1, vlen = vectors.length; v < vlen; v ++ ) { - - this.lineTo( vectors[ v ].x, vectors[ v ].y ); - - }; - -}; - -// startPath() endPath()? - -THREE.Path.prototype.moveTo = function ( x, y ) { - - var args = Array.prototype.slice.call( arguments ); - this.actions.push( { action: THREE.PathActions.MOVE_TO, args: args } ); - -}; - -THREE.Path.prototype.lineTo = function ( x, y ) { - - var args = Array.prototype.slice.call( arguments ); - - var lastargs = this.actions[ this.actions.length - 1 ].args; - - var x0 = lastargs[ lastargs.length - 2 ]; - var y0 = lastargs[ lastargs.length - 1 ]; - - var curve = new THREE.LineCurve( new THREE.Vector2( x0, y0 ), new THREE.Vector2( x, y ) ); - this.curves.push( curve ); - - this.actions.push( { action: THREE.PathActions.LINE_TO, args: args } ); - -}; - -THREE.Path.prototype.quadraticCurveTo = function( aCPx, aCPy, aX, aY ) { - - var args = Array.prototype.slice.call( arguments ); - - var lastargs = this.actions[ this.actions.length - 1 ].args; - - var x0 = lastargs[ lastargs.length - 2 ]; - var y0 = lastargs[ lastargs.length - 1 ]; - - var curve = new THREE.QuadraticBezierCurve( new THREE.Vector2( x0, y0 ), - new THREE.Vector2( aCPx, aCPy ), - new THREE.Vector2( aX, aY ) ); - this.curves.push( curve ); - - this.actions.push( { action: THREE.PathActions.QUADRATIC_CURVE_TO, args: args } ); - -}; - -THREE.Path.prototype.bezierCurveTo = function( aCP1x, aCP1y, - aCP2x, aCP2y, - aX, aY ) { - - var args = Array.prototype.slice.call( arguments ); - - var lastargs = this.actions[ this.actions.length - 1 ].args; - - var x0 = lastargs[ lastargs.length - 2 ]; - var y0 = lastargs[ lastargs.length - 1 ]; - - var curve = new THREE.CubicBezierCurve( new THREE.Vector2( x0, y0 ), - new THREE.Vector2( aCP1x, aCP1y ), - new THREE.Vector2( aCP2x, aCP2y ), - new THREE.Vector2( aX, aY ) ); - this.curves.push( curve ); - - this.actions.push( { action: THREE.PathActions.BEZIER_CURVE_TO, args: args } ); - -}; - -THREE.Path.prototype.splineThru = function( pts /*Array of Vector*/ ) { - - var args = Array.prototype.slice.call( arguments ); - var lastargs = this.actions[ this.actions.length - 1 ].args; - - var x0 = lastargs[ lastargs.length - 2 ]; - var y0 = lastargs[ lastargs.length - 1 ]; -//--- - var npts = [ new THREE.Vector2( x0, y0 ) ]; - Array.prototype.push.apply( npts, pts ); - - var curve = new THREE.SplineCurve( npts ); - this.curves.push( curve ); - - this.actions.push( { action: THREE.PathActions.CSPLINE_THRU, args: args } ); - -}; - -// FUTURE: Change the API or follow canvas API? - -THREE.Path.prototype.arc = function ( aX, aY, aRadius, - aStartAngle, aEndAngle, aClockwise ) { - - var lastargs = this.actions[ this.actions.length - 1].args; - var x0 = lastargs[ lastargs.length - 2 ]; - var y0 = lastargs[ lastargs.length - 1 ]; - - this.absarc(aX + x0, aY + y0, aRadius, - aStartAngle, aEndAngle, aClockwise ); - - }; - - THREE.Path.prototype.absarc = function ( aX, aY, aRadius, - aStartAngle, aEndAngle, aClockwise ) { - this.absellipse(aX, aY, aRadius, aRadius, aStartAngle, aEndAngle, aClockwise); - }; - -THREE.Path.prototype.ellipse = function ( aX, aY, xRadius, yRadius, - aStartAngle, aEndAngle, aClockwise ) { - - var lastargs = this.actions[ this.actions.length - 1].args; - var x0 = lastargs[ lastargs.length - 2 ]; - var y0 = lastargs[ lastargs.length - 1 ]; - - this.absellipse(aX + x0, aY + y0, xRadius, yRadius, - aStartAngle, aEndAngle, aClockwise ); - - }; - - -THREE.Path.prototype.absellipse = function ( aX, aY, xRadius, yRadius, - aStartAngle, aEndAngle, aClockwise ) { - - var args = Array.prototype.slice.call( arguments ); - var curve = new THREE.EllipseCurve( aX, aY, xRadius, yRadius, - aStartAngle, aEndAngle, aClockwise ); - this.curves.push( curve ); - - var lastPoint = curve.getPoint(aClockwise ? 1 : 0); - args.push(lastPoint.x); - args.push(lastPoint.y); - - this.actions.push( { action: THREE.PathActions.ELLIPSE, args: args } ); - - }; - -THREE.Path.prototype.getSpacedPoints = function ( divisions, closedPath ) { - - if ( ! divisions ) divisions = 40; - - var points = []; - - for ( var i = 0; i < divisions; i ++ ) { - - points.push( this.getPoint( i / divisions ) ); - - //if( !this.getPoint( i / divisions ) ) throw "DIE"; - - } - - // if ( closedPath ) { - // - // points.push( points[ 0 ] ); - // - // } - - return points; - -}; - -/* Return an array of vectors based on contour of the path */ - -THREE.Path.prototype.getPoints = function( divisions, closedPath ) { - - if (this.useSpacedPoints) { - console.log('tata'); - return this.getSpacedPoints( divisions, closedPath ); - } - - divisions = divisions || 12; - - var points = []; - - var i, il, item, action, args; - var cpx, cpy, cpx2, cpy2, cpx1, cpy1, cpx0, cpy0, - laste, j, - t, tx, ty; - - for ( i = 0, il = this.actions.length; i < il; i ++ ) { - - item = this.actions[ i ]; - - action = item.action; - args = item.args; - - switch( action ) { - - case THREE.PathActions.MOVE_TO: - - points.push( new THREE.Vector2( args[ 0 ], args[ 1 ] ) ); - - break; - - case THREE.PathActions.LINE_TO: - - points.push( new THREE.Vector2( args[ 0 ], args[ 1 ] ) ); - - break; - - case THREE.PathActions.QUADRATIC_CURVE_TO: - - cpx = args[ 2 ]; - cpy = args[ 3 ]; - - cpx1 = args[ 0 ]; - cpy1 = args[ 1 ]; - - if ( points.length > 0 ) { - - laste = points[ points.length - 1 ]; - - cpx0 = laste.x; - cpy0 = laste.y; - - } else { - - laste = this.actions[ i - 1 ].args; - - cpx0 = laste[ laste.length - 2 ]; - cpy0 = laste[ laste.length - 1 ]; - - } - - for ( j = 1; j <= divisions; j ++ ) { - - t = j / divisions; - - tx = THREE.Shape.Utils.b2( t, cpx0, cpx1, cpx ); - ty = THREE.Shape.Utils.b2( t, cpy0, cpy1, cpy ); - - points.push( new THREE.Vector2( tx, ty ) ); - - } - - break; - - case THREE.PathActions.BEZIER_CURVE_TO: - - cpx = args[ 4 ]; - cpy = args[ 5 ]; - - cpx1 = args[ 0 ]; - cpy1 = args[ 1 ]; - - cpx2 = args[ 2 ]; - cpy2 = args[ 3 ]; - - if ( points.length > 0 ) { - - laste = points[ points.length - 1 ]; - - cpx0 = laste.x; - cpy0 = laste.y; - - } else { - - laste = this.actions[ i - 1 ].args; - - cpx0 = laste[ laste.length - 2 ]; - cpy0 = laste[ laste.length - 1 ]; - - } - - - for ( j = 1; j <= divisions; j ++ ) { - - t = j / divisions; - - tx = THREE.Shape.Utils.b3( t, cpx0, cpx1, cpx2, cpx ); - ty = THREE.Shape.Utils.b3( t, cpy0, cpy1, cpy2, cpy ); - - points.push( new THREE.Vector2( tx, ty ) ); - - } - - break; - - case THREE.PathActions.CSPLINE_THRU: - - laste = this.actions[ i - 1 ].args; - - var last = new THREE.Vector2( laste[ laste.length - 2 ], laste[ laste.length - 1 ] ); - var spts = [ last ]; - - var n = divisions * args[ 0 ].length; - - spts = spts.concat( args[ 0 ] ); - - var spline = new THREE.SplineCurve( spts ); - - for ( j = 1; j <= n; j ++ ) { - - points.push( spline.getPointAt( j / n ) ) ; - - } - - break; - - case THREE.PathActions.ARC: - - var aX = args[ 0 ], aY = args[ 1 ], - aRadius = args[ 2 ], - aStartAngle = args[ 3 ], aEndAngle = args[ 4 ], - aClockwise = !!args[ 5 ]; - - var deltaAngle = aEndAngle - aStartAngle; - var angle; - var tdivisions = divisions * 2; - - for ( j = 1; j <= tdivisions; j ++ ) { - - t = j / tdivisions; - - if ( ! aClockwise ) { - - t = 1 - t; - - } - - angle = aStartAngle + t * deltaAngle; - - tx = aX + aRadius * Math.cos( angle ); - ty = aY + aRadius * Math.sin( angle ); - - //console.log('t', t, 'angle', angle, 'tx', tx, 'ty', ty); - - points.push( new THREE.Vector2( tx, ty ) ); - - } - - //console.log(points); - - break; - - case THREE.PathActions.ELLIPSE: - - var aX = args[ 0 ], aY = args[ 1 ], - xRadius = args[ 2 ], - yRadius = args[ 3 ], - aStartAngle = args[ 4 ], aEndAngle = args[ 5 ], - aClockwise = !!args[ 6 ]; - - - var deltaAngle = aEndAngle - aStartAngle; - var angle; - var tdivisions = divisions * 2; - - for ( j = 1; j <= tdivisions; j ++ ) { - - t = j / tdivisions; - - if ( ! aClockwise ) { - - t = 1 - t; - - } - - angle = aStartAngle + t * deltaAngle; - - tx = aX + xRadius * Math.cos( angle ); - ty = aY + yRadius * Math.sin( angle ); - - //console.log('t', t, 'angle', angle, 'tx', tx, 'ty', ty); - - points.push( new THREE.Vector2( tx, ty ) ); - - } - - //console.log(points); - - break; - - } // end switch - - } - - - - // Normalize to remove the closing point by default. - var lastPoint = points[ points.length - 1]; - var EPSILON = 0.0000000001; - if ( Math.abs(lastPoint.x - points[ 0 ].x) < EPSILON && - Math.abs(lastPoint.y - points[ 0 ].y) < EPSILON) - points.splice( points.length - 1, 1); - if ( closedPath ) { - - points.push( points[ 0 ] ); - - } - - return points; - -}; - -// Breaks path into shapes - -THREE.Path.prototype.toShapes = function() { - - var i, il, item, action, args; - - var subPaths = [], lastPath = new THREE.Path(); - - for ( i = 0, il = this.actions.length; i < il; i ++ ) { - - item = this.actions[ i ]; - - args = item.args; - action = item.action; - - if ( action == THREE.PathActions.MOVE_TO ) { - - if ( lastPath.actions.length != 0 ) { - - subPaths.push( lastPath ); - lastPath = new THREE.Path(); - - } - - } - - lastPath[ action ].apply( lastPath, args ); - - } - - if ( lastPath.actions.length != 0 ) { - - subPaths.push( lastPath ); - - } - - // console.log(subPaths); - - if ( subPaths.length == 0 ) return []; - - var tmpPath, tmpShape, shapes = []; - - var holesFirst = !THREE.Shape.Utils.isClockWise( subPaths[ 0 ].getPoints() ); - // console.log("Holes first", holesFirst); - - if ( subPaths.length == 1) { - tmpPath = subPaths[0]; - tmpShape = new THREE.Shape(); - tmpShape.actions = tmpPath.actions; - tmpShape.curves = tmpPath.curves; - shapes.push( tmpShape ); - return shapes; - }; - - if ( holesFirst ) { - - tmpShape = new THREE.Shape(); - - for ( i = 0, il = subPaths.length; i < il; i ++ ) { - - tmpPath = subPaths[ i ]; - - if ( THREE.Shape.Utils.isClockWise( tmpPath.getPoints() ) ) { - - tmpShape.actions = tmpPath.actions; - tmpShape.curves = tmpPath.curves; - - shapes.push( tmpShape ); - tmpShape = new THREE.Shape(); - - //console.log('cw', i); - - } else { - - tmpShape.holes.push( tmpPath ); - - //console.log('ccw', i); - - } - - } - - } else { - - // Shapes first - - for ( i = 0, il = subPaths.length; i < il; i ++ ) { - - tmpPath = subPaths[ i ]; - - if ( THREE.Shape.Utils.isClockWise( tmpPath.getPoints() ) ) { - - - if ( tmpShape ) shapes.push( tmpShape ); - - tmpShape = new THREE.Shape(); - tmpShape.actions = tmpPath.actions; - tmpShape.curves = tmpPath.curves; - - } else { - - tmpShape.holes.push( tmpPath ); - - } - - } - - shapes.push( tmpShape ); - - } - - //console.log("shape", shapes); - - return shapes; - -}; -/** - * @author zz85 / http://www.lab4games.net/zz85/blog - * Defines a 2d shape plane using paths. - **/ - -// STEP 1 Create a path. -// STEP 2 Turn path into shape. -// STEP 3 ExtrudeGeometry takes in Shape/Shapes -// STEP 3a - Extract points from each shape, turn to vertices -// STEP 3b - Triangulate each shape, add faces. - -THREE.Shape = function ( ) { - - THREE.Path.apply( this, arguments ); - this.holes = []; - -}; - -THREE.Shape.prototype = Object.create( THREE.Path.prototype ); - -// Convenience method to return ExtrudeGeometry - -THREE.Shape.prototype.extrude = function ( options ) { - - var extruded = new THREE.ExtrudeGeometry( this, options ); - return extruded; - -}; - -// Convenience method to return ShapeGeometry - -THREE.Shape.prototype.makeGeometry = function ( options ) { - - var geometry = new THREE.ShapeGeometry( this, options ); - return geometry; - -}; - -// Get points of holes - -THREE.Shape.prototype.getPointsHoles = function ( divisions ) { - - var i, il = this.holes.length, holesPts = []; - - for ( i = 0; i < il; i ++ ) { - - holesPts[ i ] = this.holes[ i ].getTransformedPoints( divisions, this.bends ); - - } - - return holesPts; - -}; - -// Get points of holes (spaced by regular distance) - -THREE.Shape.prototype.getSpacedPointsHoles = function ( divisions ) { - - var i, il = this.holes.length, holesPts = []; - - for ( i = 0; i < il; i ++ ) { - - holesPts[ i ] = this.holes[ i ].getTransformedSpacedPoints( divisions, this.bends ); - - } - - return holesPts; - -}; - - -// Get points of shape and holes (keypoints based on segments parameter) - -THREE.Shape.prototype.extractAllPoints = function ( divisions ) { - - return { - - shape: this.getTransformedPoints( divisions ), - holes: this.getPointsHoles( divisions ) - - }; - -}; - -THREE.Shape.prototype.extractPoints = function ( divisions ) { - - if (this.useSpacedPoints) { - return this.extractAllSpacedPoints(divisions); - } - - return this.extractAllPoints(divisions); - -}; - -// -// THREE.Shape.prototype.extractAllPointsWithBend = function ( divisions, bend ) { -// -// return { -// -// shape: this.transform( bend, divisions ), -// holes: this.getPointsHoles( divisions, bend ) -// -// }; -// -// }; - -// Get points of shape and holes (spaced by regular distance) - -THREE.Shape.prototype.extractAllSpacedPoints = function ( divisions ) { - - return { - - shape: this.getTransformedSpacedPoints( divisions ), - holes: this.getSpacedPointsHoles( divisions ) - - }; - -}; - -/************************************************************** - * Utils - **************************************************************/ - -THREE.Shape.Utils = { - - /* - contour - array of vector2 for contour - holes - array of array of vector2 - */ - - removeHoles: function ( contour, holes ) { - - var shape = contour.concat(); // work on this shape - var allpoints = shape.concat(); - - /* For each isolated shape, find the closest points and break to the hole to allow triangulation */ - - - var prevShapeVert, nextShapeVert, - prevHoleVert, nextHoleVert, - holeIndex, shapeIndex, - shapeId, shapeGroup, - h, h2, - hole, shortest, d, - p, pts1, pts2, - tmpShape1, tmpShape2, - tmpHole1, tmpHole2, - verts = []; - - for ( h = 0; h < holes.length; h ++ ) { - - hole = holes[ h ]; - - /* - shapeholes[ h ].concat(); // preserves original - holes.push( hole ); - */ - - Array.prototype.push.apply( allpoints, hole ); - - shortest = Number.POSITIVE_INFINITY; - - - // Find the shortest pair of pts between shape and hole - - // Note: Actually, I'm not sure now if we could optimize this to be faster than O(m*n) - // Using distanceToSquared() intead of distanceTo() should speed a little - // since running square roots operations are reduced. - - for ( h2 = 0; h2 < hole.length; h2 ++ ) { - - pts1 = hole[ h2 ]; - var dist = []; - - for ( p = 0; p < shape.length; p++ ) { - - pts2 = shape[ p ]; - d = pts1.distanceToSquared( pts2 ); - dist.push( d ); - - if ( d < shortest ) { - - shortest = d; - holeIndex = h2; - shapeIndex = p; - - } - - } - - } - - //console.log("shortest", shortest, dist); - - prevShapeVert = ( shapeIndex - 1 ) >= 0 ? shapeIndex - 1 : shape.length - 1; - prevHoleVert = ( holeIndex - 1 ) >= 0 ? holeIndex - 1 : hole.length - 1; - - var areaapts = [ - - hole[ holeIndex ], - shape[ shapeIndex ], - shape[ prevShapeVert ] - - ]; - - var areaa = THREE.FontUtils.Triangulate.area( areaapts ); - - var areabpts = [ - - hole[ holeIndex ], - hole[ prevHoleVert ], - shape[ shapeIndex ] - - ]; - - var areab = THREE.FontUtils.Triangulate.area( areabpts ); - - var shapeOffset = 1; - var holeOffset = -1; - - var oldShapeIndex = shapeIndex, oldHoleIndex = holeIndex; - shapeIndex += shapeOffset; - holeIndex += holeOffset; - - if ( shapeIndex < 0 ) { shapeIndex += shape.length; } - shapeIndex %= shape.length; - - if ( holeIndex < 0 ) { holeIndex += hole.length; } - holeIndex %= hole.length; - - prevShapeVert = ( shapeIndex - 1 ) >= 0 ? shapeIndex - 1 : shape.length - 1; - prevHoleVert = ( holeIndex - 1 ) >= 0 ? holeIndex - 1 : hole.length - 1; - - areaapts = [ - - hole[ holeIndex ], - shape[ shapeIndex ], - shape[ prevShapeVert ] - - ]; - - var areaa2 = THREE.FontUtils.Triangulate.area( areaapts ); - - areabpts = [ - - hole[ holeIndex ], - hole[ prevHoleVert ], - shape[ shapeIndex ] - - ]; - - var areab2 = THREE.FontUtils.Triangulate.area( areabpts ); - //console.log(areaa,areab ,areaa2,areab2, ( areaa + areab ), ( areaa2 + areab2 )); - - if ( ( areaa + areab ) > ( areaa2 + areab2 ) ) { - - // In case areas are not correct. - //console.log("USE THIS"); - - shapeIndex = oldShapeIndex; - holeIndex = oldHoleIndex ; - - if ( shapeIndex < 0 ) { shapeIndex += shape.length; } - shapeIndex %= shape.length; - - if ( holeIndex < 0 ) { holeIndex += hole.length; } - holeIndex %= hole.length; - - prevShapeVert = ( shapeIndex - 1 ) >= 0 ? shapeIndex - 1 : shape.length - 1; - prevHoleVert = ( holeIndex - 1 ) >= 0 ? holeIndex - 1 : hole.length - 1; - - } else { - - //console.log("USE THAT ") - - } - - tmpShape1 = shape.slice( 0, shapeIndex ); - tmpShape2 = shape.slice( shapeIndex ); - tmpHole1 = hole.slice( holeIndex ); - tmpHole2 = hole.slice( 0, holeIndex ); - - // Should check orders here again? - - var trianglea = [ - - hole[ holeIndex ], - shape[ shapeIndex ], - shape[ prevShapeVert ] - - ]; - - var triangleb = [ - - hole[ holeIndex ] , - hole[ prevHoleVert ], - shape[ shapeIndex ] - - ]; - - verts.push( trianglea ); - verts.push( triangleb ); - - shape = tmpShape1.concat( tmpHole1 ).concat( tmpHole2 ).concat( tmpShape2 ); - - } - - return { - - shape:shape, /* shape with no holes */ - isolatedPts: verts, /* isolated faces */ - allpoints: allpoints - - } - - - }, - - triangulateShape: function ( contour, holes ) { - - var shapeWithoutHoles = THREE.Shape.Utils.removeHoles( contour, holes ); - - var shape = shapeWithoutHoles.shape, - allpoints = shapeWithoutHoles.allpoints, - isolatedPts = shapeWithoutHoles.isolatedPts; - - var triangles = THREE.FontUtils.Triangulate( shape, false ); // True returns indices for points of spooled shape - - // To maintain reference to old shape, one must match coordinates, or offset the indices from original arrays. It's probably easier to do the first. - - //console.log( "triangles",triangles, triangles.length ); - //console.log( "allpoints",allpoints, allpoints.length ); - - var i, il, f, face, - key, index, - allPointsMap = {}, - isolatedPointsMap = {}; - - // prepare all points map - - for ( i = 0, il = allpoints.length; i < il; i ++ ) { - - key = allpoints[ i ].x + ":" + allpoints[ i ].y; - - if ( allPointsMap[ key ] !== undefined ) { - - console.log( "Duplicate point", key ); - - } - - allPointsMap[ key ] = i; - - } - - // check all face vertices against all points map - - for ( i = 0, il = triangles.length; i < il; i ++ ) { - - face = triangles[ i ]; - - for ( f = 0; f < 3; f ++ ) { - - key = face[ f ].x + ":" + face[ f ].y; - - index = allPointsMap[ key ]; - - if ( index !== undefined ) { - - face[ f ] = index; - - } - - } - - } - - // check isolated points vertices against all points map - - for ( i = 0, il = isolatedPts.length; i < il; i ++ ) { - - face = isolatedPts[ i ]; - - for ( f = 0; f < 3; f ++ ) { - - key = face[ f ].x + ":" + face[ f ].y; - - index = allPointsMap[ key ]; - - if ( index !== undefined ) { - - face[ f ] = index; - - } - - } - - } - - return triangles.concat( isolatedPts ); - - }, // end triangulate shapes - - /* - triangulate2 : function( pts, holes ) { - - // For use with Poly2Tri.js - - var allpts = pts.concat(); - var shape = []; - for (var p in pts) { - shape.push(new js.poly2tri.Point(pts[p].x, pts[p].y)); - } - - var swctx = new js.poly2tri.SweepContext(shape); - - for (var h in holes) { - var aHole = holes[h]; - var newHole = [] - for (i in aHole) { - newHole.push(new js.poly2tri.Point(aHole[i].x, aHole[i].y)); - allpts.push(aHole[i]); - } - swctx.AddHole(newHole); - } - - var find; - var findIndexForPt = function (pt) { - find = new THREE.Vector2(pt.x, pt.y); - var p; - for (p=0, pl = allpts.length; p 1 ) { - - console.log( "THREE.Animation.update: Warning! Scale out of bounds:" + scale + " on bone " + h ); - scale = scale < 0 ? 0 : 1; - - } - - // interpolate - - if ( type === "pos" ) { - - vector = object.position; - - if ( this.interpolationType === THREE.AnimationHandler.LINEAR ) { - - vector.x = prevXYZ[ 0 ] + ( nextXYZ[ 0 ] - prevXYZ[ 0 ] ) * scale; - vector.y = prevXYZ[ 1 ] + ( nextXYZ[ 1 ] - prevXYZ[ 1 ] ) * scale; - vector.z = prevXYZ[ 2 ] + ( nextXYZ[ 2 ] - prevXYZ[ 2 ] ) * scale; - - } else if ( this.interpolationType === THREE.AnimationHandler.CATMULLROM || - this.interpolationType === THREE.AnimationHandler.CATMULLROM_FORWARD ) { - - this.points[ 0 ] = this.getPrevKeyWith( "pos", h, prevKey.index - 1 )[ "pos" ]; - this.points[ 1 ] = prevXYZ; - this.points[ 2 ] = nextXYZ; - this.points[ 3 ] = this.getNextKeyWith( "pos", h, nextKey.index + 1 )[ "pos" ]; - - scale = scale * 0.33 + 0.33; - - currentPoint = this.interpolateCatmullRom( this.points, scale ); - - vector.x = currentPoint[ 0 ]; - vector.y = currentPoint[ 1 ]; - vector.z = currentPoint[ 2 ]; - - if ( this.interpolationType === THREE.AnimationHandler.CATMULLROM_FORWARD ) { - - forwardPoint = this.interpolateCatmullRom( this.points, scale * 1.01 ); - - this.target.set( forwardPoint[ 0 ], forwardPoint[ 1 ], forwardPoint[ 2 ] ); - this.target.subSelf( vector ); - this.target.y = 0; - this.target.normalize(); - - angle = Math.atan2( this.target.x, this.target.z ); - object.rotation.set( 0, angle, 0 ); - - } - - } - - } else if ( type === "rot" ) { - - THREE.Quaternion.slerp( prevXYZ, nextXYZ, object.quaternion, scale ); - - } else if ( type === "scl" ) { - - vector = object.scale; - - vector.x = prevXYZ[ 0 ] + ( nextXYZ[ 0 ] - prevXYZ[ 0 ] ) * scale; - vector.y = prevXYZ[ 1 ] + ( nextXYZ[ 1 ] - prevXYZ[ 1 ] ) * scale; - vector.z = prevXYZ[ 2 ] + ( nextXYZ[ 2 ] - prevXYZ[ 2 ] ) * scale; - - } - - } - - } - -}; - -// Catmull-Rom spline - -THREE.Animation.prototype.interpolateCatmullRom = function ( points, scale ) { - - var c = [], v3 = [], - point, intPoint, weight, w2, w3, - pa, pb, pc, pd; - - point = ( points.length - 1 ) * scale; - intPoint = Math.floor( point ); - weight = point - intPoint; - - c[ 0 ] = intPoint === 0 ? intPoint : intPoint - 1; - c[ 1 ] = intPoint; - c[ 2 ] = intPoint > points.length - 2 ? intPoint : intPoint + 1; - c[ 3 ] = intPoint > points.length - 3 ? intPoint : intPoint + 2; - - pa = points[ c[ 0 ] ]; - pb = points[ c[ 1 ] ]; - pc = points[ c[ 2 ] ]; - pd = points[ c[ 3 ] ]; - - w2 = weight * weight; - w3 = weight * w2; - - v3[ 0 ] = this.interpolate( pa[ 0 ], pb[ 0 ], pc[ 0 ], pd[ 0 ], weight, w2, w3 ); - v3[ 1 ] = this.interpolate( pa[ 1 ], pb[ 1 ], pc[ 1 ], pd[ 1 ], weight, w2, w3 ); - v3[ 2 ] = this.interpolate( pa[ 2 ], pb[ 2 ], pc[ 2 ], pd[ 2 ], weight, w2, w3 ); - - return v3; - -}; - -THREE.Animation.prototype.interpolate = function ( p0, p1, p2, p3, t, t2, t3 ) { - - var v0 = ( p2 - p0 ) * 0.5, - v1 = ( p3 - p1 ) * 0.5; - - return ( 2 * ( p1 - p2 ) + v0 + v1 ) * t3 + ( - 3 * ( p1 - p2 ) - 2 * v0 - v1 ) * t2 + v0 * t + p1; - -}; - - - -// Get next key with - -THREE.Animation.prototype.getNextKeyWith = function ( type, h, key ) { - - var keys = this.data.hierarchy[ h ].keys; - - if ( this.interpolationType === THREE.AnimationHandler.CATMULLROM || - this.interpolationType === THREE.AnimationHandler.CATMULLROM_FORWARD ) { - - key = key < keys.length - 1 ? key : keys.length - 1; - - } else { - - key = key % keys.length; - - } - - for ( ; key < keys.length; key++ ) { - - if ( keys[ key ][ type ] !== undefined ) { - - return keys[ key ]; - - } - - } - - return this.data.hierarchy[ h ].keys[ 0 ]; - -}; - -// Get previous key with - -THREE.Animation.prototype.getPrevKeyWith = function ( type, h, key ) { - - var keys = this.data.hierarchy[ h ].keys; - - if ( this.interpolationType === THREE.AnimationHandler.CATMULLROM || - this.interpolationType === THREE.AnimationHandler.CATMULLROM_FORWARD ) { - - key = key > 0 ? key : 0; - - } else { - - key = key >= 0 ? key : key + keys.length; - - } - - - for ( ; key >= 0; key -- ) { - - if ( keys[ key ][ type ] !== undefined ) { - - return keys[ key ]; - - } - - } - - return this.data.hierarchy[ h ].keys[ keys.length - 1 ]; - -}; -/** - * @author mikael emtinger / http://gomo.se/ - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * @author khang duong - * @author erik kitson - */ - -THREE.KeyFrameAnimation = function( root, data, JITCompile ) { - - this.root = root; - this.data = THREE.AnimationHandler.get( data ); - this.hierarchy = THREE.AnimationHandler.parse( root ); - this.currentTime = 0; - this.timeScale = 0.001; - this.isPlaying = false; - this.isPaused = true; - this.loop = true; - this.JITCompile = JITCompile !== undefined ? JITCompile : true; - - // initialize to first keyframes - - for ( var h = 0, hl = this.hierarchy.length; h < hl; h++ ) { - - var keys = this.data.hierarchy[h].keys, - sids = this.data.hierarchy[h].sids, - obj = this.hierarchy[h]; - - if ( keys.length && sids ) { - - for ( var s = 0; s < sids.length; s++ ) { - - var sid = sids[ s ], - next = this.getNextKeyWith( sid, h, 0 ); - - if ( next ) { - - next.apply( sid ); - - } - - } - - obj.matrixAutoUpdate = false; - this.data.hierarchy[h].node.updateMatrix(); - obj.matrixWorldNeedsUpdate = true; - - } - - } - -}; - -// Play - -THREE.KeyFrameAnimation.prototype.play = function( loop, startTimeMS ) { - - if( !this.isPlaying ) { - - this.isPlaying = true; - this.loop = loop !== undefined ? loop : true; - this.currentTime = startTimeMS !== undefined ? startTimeMS : 0; - this.startTimeMs = startTimeMS; - this.startTime = 10000000; - this.endTime = -this.startTime; - - - // reset key cache - - var h, hl = this.hierarchy.length, - object, - node; - - for ( h = 0; h < hl; h++ ) { - - object = this.hierarchy[ h ]; - node = this.data.hierarchy[ h ]; - object.useQuaternion = true; - - if ( node.animationCache === undefined ) { - - node.animationCache = {}; - node.animationCache.prevKey = null; - node.animationCache.nextKey = null; - node.animationCache.originalMatrix = object instanceof THREE.Bone ? object.skinMatrix : object.matrix; - - } - - var keys = this.data.hierarchy[h].keys; - - if (keys.length) { - - node.animationCache.prevKey = keys[ 0 ]; - node.animationCache.nextKey = keys[ 1 ]; - - this.startTime = Math.min( keys[0].time, this.startTime ); - this.endTime = Math.max( keys[keys.length - 1].time, this.endTime ); - - } - - } - - this.update( 0 ); - - } - - this.isPaused = false; - - THREE.AnimationHandler.addToUpdate( this ); - -}; - - - -// Pause - -THREE.KeyFrameAnimation.prototype.pause = function() { - - if( this.isPaused ) { - - THREE.AnimationHandler.addToUpdate( this ); - - } else { - - THREE.AnimationHandler.removeFromUpdate( this ); - - } - - this.isPaused = !this.isPaused; - -}; - - -// Stop - -THREE.KeyFrameAnimation.prototype.stop = function() { - - this.isPlaying = false; - this.isPaused = false; - THREE.AnimationHandler.removeFromUpdate( this ); - - - // reset JIT matrix and remove cache - - for ( var h = 0; h < this.data.hierarchy.length; h++ ) { - - var obj = this.hierarchy[ h ]; - var node = this.data.hierarchy[ h ]; - - if ( node.animationCache !== undefined ) { - - var original = node.animationCache.originalMatrix; - - if( obj instanceof THREE.Bone ) { - - original.copy( obj.skinMatrix ); - obj.skinMatrix = original; - - } else { - - original.copy( obj.matrix ); - obj.matrix = original; - - } - - delete node.animationCache; - - } - - } - -}; - - -// Update - -THREE.KeyFrameAnimation.prototype.update = function( deltaTimeMS ) { - - // early out - - if( !this.isPlaying ) return; - - - // vars - - var prevKey, nextKey; - var object; - var node; - var frame; - var JIThierarchy = this.data.JIT.hierarchy; - var currentTime, unloopedCurrentTime; - var looped; - - - // update - - this.currentTime += deltaTimeMS * this.timeScale; - - unloopedCurrentTime = this.currentTime; - currentTime = this.currentTime = this.currentTime % this.data.length; - - // if looped around, the current time should be based on the startTime - if ( currentTime < this.startTimeMs ) { - - currentTime = this.currentTime = this.startTimeMs + currentTime; - - } - - frame = parseInt( Math.min( currentTime * this.data.fps, this.data.length * this.data.fps ), 10 ); - looped = currentTime < unloopedCurrentTime; - - if ( looped && !this.loop ) { - - // Set the animation to the last keyframes and stop - for ( var h = 0, hl = this.hierarchy.length; h < hl; h++ ) { - - var keys = this.data.hierarchy[h].keys, - sids = this.data.hierarchy[h].sids, - end = keys.length-1, - obj = this.hierarchy[h]; - - if ( keys.length ) { - - for ( var s = 0; s < sids.length; s++ ) { - - var sid = sids[ s ], - prev = this.getPrevKeyWith( sid, h, end ); - - if ( prev ) { - prev.apply( sid ); - - } - - } - - this.data.hierarchy[h].node.updateMatrix(); - obj.matrixWorldNeedsUpdate = true; - - } - - } - - this.stop(); - return; - - } - - // check pre-infinity - if ( currentTime < this.startTime ) { - - return; - - } - - // update - - for ( var h = 0, hl = this.hierarchy.length; h < hl; h++ ) { - - object = this.hierarchy[ h ]; - node = this.data.hierarchy[ h ]; - - var keys = node.keys, - animationCache = node.animationCache; - - // use JIT? - - if ( this.JITCompile && JIThierarchy[ h ][ frame ] !== undefined ) { - - if( object instanceof THREE.Bone ) { - - object.skinMatrix = JIThierarchy[ h ][ frame ]; - object.matrixWorldNeedsUpdate = false; - - } else { - - object.matrix = JIThierarchy[ h ][ frame ]; - object.matrixWorldNeedsUpdate = true; - - } - - // use interpolation - - } else if ( keys.length ) { - - // make sure so original matrix and not JIT matrix is set - - if ( this.JITCompile && animationCache ) { - - if( object instanceof THREE.Bone ) { - - object.skinMatrix = animationCache.originalMatrix; - - } else { - - object.matrix = animationCache.originalMatrix; - - } - - } - - prevKey = animationCache.prevKey; - nextKey = animationCache.nextKey; - - if ( prevKey && nextKey ) { - - // switch keys? - - if ( nextKey.time <= unloopedCurrentTime ) { - - // did we loop? - - if ( looped && this.loop ) { - - prevKey = keys[ 0 ]; - nextKey = keys[ 1 ]; - - while ( nextKey.time < currentTime ) { - - prevKey = nextKey; - nextKey = keys[ prevKey.index + 1 ]; - - } - - } else if ( !looped ) { - - var lastIndex = keys.length - 1; - - while ( nextKey.time < currentTime && nextKey.index !== lastIndex ) { - - prevKey = nextKey; - nextKey = keys[ prevKey.index + 1 ]; - - } - - } - - animationCache.prevKey = prevKey; - animationCache.nextKey = nextKey; - - } - if(nextKey.time >= currentTime) - prevKey.interpolate( nextKey, currentTime ); - else - prevKey.interpolate( nextKey, nextKey.time); - - } - - this.data.hierarchy[h].node.updateMatrix(); - object.matrixWorldNeedsUpdate = true; - - } - - } - - // update JIT? - - if ( this.JITCompile ) { - - if ( JIThierarchy[ 0 ][ frame ] === undefined ) { - - this.hierarchy[ 0 ].updateMatrixWorld( true ); - - for ( var h = 0; h < this.hierarchy.length; h++ ) { - - if( this.hierarchy[ h ] instanceof THREE.Bone ) { - - JIThierarchy[ h ][ frame ] = this.hierarchy[ h ].skinMatrix.clone(); - - } else { - - JIThierarchy[ h ][ frame ] = this.hierarchy[ h ].matrix.clone(); - - } - - } - - } - - } - -}; - -// Get next key with - -THREE.KeyFrameAnimation.prototype.getNextKeyWith = function( sid, h, key ) { - - var keys = this.data.hierarchy[ h ].keys; - key = key % keys.length; - - for ( ; key < keys.length; key++ ) { - - if ( keys[ key ].hasTarget( sid ) ) { - - return keys[ key ]; - - } - - } - - return keys[ 0 ]; - -}; - -// Get previous key with - -THREE.KeyFrameAnimation.prototype.getPrevKeyWith = function( sid, h, key ) { - - var keys = this.data.hierarchy[ h ].keys; - key = key >= 0 ? key : key + keys.length; - - for ( ; key >= 0; key-- ) { - - if ( keys[ key ].hasTarget( sid ) ) { - - return keys[ key ]; - - } - - } - - return keys[ keys.length - 1 ]; - -}; -/** - * Camera for rendering cube maps - * - renders scene into axis-aligned cube - * - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.CubeCamera = function ( near, far, cubeResolution ) { - - THREE.Object3D.call( this ); - - var fov = 90, aspect = 1; - - var cameraPX = new THREE.PerspectiveCamera( fov, aspect, near, far ); - cameraPX.up.set( 0, -1, 0 ); - cameraPX.lookAt( new THREE.Vector3( 1, 0, 0 ) ); - this.add( cameraPX ); - - var cameraNX = new THREE.PerspectiveCamera( fov, aspect, near, far ); - cameraNX.up.set( 0, -1, 0 ); - cameraNX.lookAt( new THREE.Vector3( -1, 0, 0 ) ); - this.add( cameraNX ); - - var cameraPY = new THREE.PerspectiveCamera( fov, aspect, near, far ); - cameraPY.up.set( 0, 0, 1 ); - cameraPY.lookAt( new THREE.Vector3( 0, 1, 0 ) ); - this.add( cameraPY ); - - var cameraNY = new THREE.PerspectiveCamera( fov, aspect, near, far ); - cameraNY.up.set( 0, 0, -1 ); - cameraNY.lookAt( new THREE.Vector3( 0, -1, 0 ) ); - this.add( cameraNY ); - - var cameraPZ = new THREE.PerspectiveCamera( fov, aspect, near, far ); - cameraPZ.up.set( 0, -1, 0 ); - cameraPZ.lookAt( new THREE.Vector3( 0, 0, 1 ) ); - this.add( cameraPZ ); - - var cameraNZ = new THREE.PerspectiveCamera( fov, aspect, near, far ); - cameraNZ.up.set( 0, -1, 0 ); - cameraNZ.lookAt( new THREE.Vector3( 0, 0, -1 ) ); - this.add( cameraNZ ); - - this.renderTarget = new THREE.WebGLRenderTargetCube( cubeResolution, cubeResolution, { format: THREE.RGBFormat, magFilter: THREE.LinearFilter, minFilter: THREE.LinearFilter } ); - - this.updateCubeMap = function ( renderer, scene ) { - - var renderTarget = this.renderTarget; - var generateMipmaps = renderTarget.generateMipmaps; - - renderTarget.generateMipmaps = false; - - renderTarget.activeCubeFace = 0; - renderer.render( scene, cameraPX, renderTarget ); - - renderTarget.activeCubeFace = 1; - renderer.render( scene, cameraNX, renderTarget ); - - renderTarget.activeCubeFace = 2; - renderer.render( scene, cameraPY, renderTarget ); - - renderTarget.activeCubeFace = 3; - renderer.render( scene, cameraNY, renderTarget ); - - renderTarget.activeCubeFace = 4; - renderer.render( scene, cameraPZ, renderTarget ); - - renderTarget.generateMipmaps = generateMipmaps; - - renderTarget.activeCubeFace = 5; - renderer.render( scene, cameraNZ, renderTarget ); - - }; - -}; - -THREE.CubeCamera.prototype = Object.create( THREE.Object3D.prototype ); -/* - * @author zz85 / http://twitter.com/blurspline / http://www.lab4games.net/zz85/blog - * - * A general perpose camera, for setting FOV, Lens Focal Length, - * and switching between perspective and orthographic views easily. - * Use this only if you do not wish to manage - * both a Orthographic and Perspective Camera - * - */ - - -THREE.CombinedCamera = function ( width, height, fov, near, far, orthoNear, orthoFar ) { - - THREE.Camera.call( this ); - - this.fov = fov; - - this.left = -width / 2; - this.right = width / 2 - this.top = height / 2; - this.bottom = -height / 2; - - // We could also handle the projectionMatrix internally, but just wanted to test nested camera objects - - this.cameraO = new THREE.OrthographicCamera( width / - 2, width / 2, height / 2, height / - 2, orthoNear, orthoFar ); - this.cameraP = new THREE.PerspectiveCamera( fov, width / height, near, far ); - - this.zoom = 1; - - this.toPerspective(); - - var aspect = width/height; - -}; - -THREE.CombinedCamera.prototype = Object.create( THREE.Camera.prototype ); - -THREE.CombinedCamera.prototype.toPerspective = function () { - - // Switches to the Perspective Camera - - this.near = this.cameraP.near; - this.far = this.cameraP.far; - - this.cameraP.fov = this.fov / this.zoom ; - - this.cameraP.updateProjectionMatrix(); - - this.projectionMatrix = this.cameraP.projectionMatrix; - - this.inPerspectiveMode = true; - this.inOrthographicMode = false; - -}; - -THREE.CombinedCamera.prototype.toOrthographic = function () { - - // Switches to the Orthographic camera estimating viewport from Perspective - - var fov = this.fov; - var aspect = this.cameraP.aspect; - var near = this.cameraP.near; - var far = this.cameraP.far; - - // The size that we set is the mid plane of the viewing frustum - - var hyperfocus = ( near + far ) / 2; - - var halfHeight = Math.tan( fov / 2 ) * hyperfocus; - var planeHeight = 2 * halfHeight; - var planeWidth = planeHeight * aspect; - var halfWidth = planeWidth / 2; - - halfHeight /= this.zoom; - halfWidth /= this.zoom; - - this.cameraO.left = -halfWidth; - this.cameraO.right = halfWidth; - this.cameraO.top = halfHeight; - this.cameraO.bottom = -halfHeight; - - // this.cameraO.left = -farHalfWidth; - // this.cameraO.right = farHalfWidth; - // this.cameraO.top = farHalfHeight; - // this.cameraO.bottom = -farHalfHeight; - - // this.cameraO.left = this.left / this.zoom; - // this.cameraO.right = this.right / this.zoom; - // this.cameraO.top = this.top / this.zoom; - // this.cameraO.bottom = this.bottom / this.zoom; - - this.cameraO.updateProjectionMatrix(); - - this.near = this.cameraO.near; - this.far = this.cameraO.far; - this.projectionMatrix = this.cameraO.projectionMatrix; - - this.inPerspectiveMode = false; - this.inOrthographicMode = true; - -}; - - -THREE.CombinedCamera.prototype.setSize = function( width, height ) { - - this.cameraP.aspect = width / height; - this.left = -width / 2; - this.right = width / 2 - this.top = height / 2; - this.bottom = -height / 2; - -}; - - -THREE.CombinedCamera.prototype.setFov = function( fov ) { - - this.fov = fov; - - if ( this.inPerspectiveMode ) { - - this.toPerspective(); - - } else { - - this.toOrthographic(); - - } - -}; - -// For mantaining similar API with PerspectiveCamera - -THREE.CombinedCamera.prototype.updateProjectionMatrix = function() { - - if ( this.inPerspectiveMode ) { - - this.toPerspective(); - - } else { - - this.toPerspective(); - this.toOrthographic(); - - } - -}; - -/* -* Uses Focal Length (in mm) to estimate and set FOV -* 35mm (fullframe) camera is used if frame size is not specified; -* Formula based on http://www.bobatkins.com/photography/technical/field_of_view.html -*/ -THREE.CombinedCamera.prototype.setLens = function ( focalLength, frameHeight ) { - - if ( frameHeight === undefined ) frameHeight = 24; - - var fov = 2 * Math.atan( frameHeight / ( focalLength * 2 ) ) * ( 180 / Math.PI ); - - this.setFov( fov ); - - return fov; -}; - - -THREE.CombinedCamera.prototype.setZoom = function( zoom ) { - - this.zoom = zoom; - - if ( this.inPerspectiveMode ) { - - this.toPerspective(); - - } else { - - this.toOrthographic(); - - } - -}; - -THREE.CombinedCamera.prototype.toFrontView = function() { - - this.rotation.x = 0; - this.rotation.y = 0; - this.rotation.z = 0; - - // should we be modifing the matrix instead? - - this.rotationAutoUpdate = false; - -}; - -THREE.CombinedCamera.prototype.toBackView = function() { - - this.rotation.x = 0; - this.rotation.y = Math.PI; - this.rotation.z = 0; - this.rotationAutoUpdate = false; - -}; - -THREE.CombinedCamera.prototype.toLeftView = function() { - - this.rotation.x = 0; - this.rotation.y = - Math.PI / 2; - this.rotation.z = 0; - this.rotationAutoUpdate = false; - -}; - -THREE.CombinedCamera.prototype.toRightView = function() { - - this.rotation.x = 0; - this.rotation.y = Math.PI / 2; - this.rotation.z = 0; - this.rotationAutoUpdate = false; - -}; - -THREE.CombinedCamera.prototype.toTopView = function() { - - this.rotation.x = - Math.PI / 2; - this.rotation.y = 0; - this.rotation.z = 0; - this.rotationAutoUpdate = false; - -}; - -THREE.CombinedCamera.prototype.toBottomView = function() { - - this.rotation.x = Math.PI / 2; - this.rotation.y = 0; - this.rotation.z = 0; - this.rotationAutoUpdate = false; - -}; - -/** - * @author hughes - */ - -THREE.CircleGeometry = function ( radius, segments, thetaStart, thetaLength ) { - - THREE.Geometry.call( this ); - - radius = radius || 50; - - thetaStart = thetaStart !== undefined ? thetaStart : 0; - thetaLength = thetaLength !== undefined ? thetaLength : Math.PI * 2; - segments = segments !== undefined ? Math.max( 3, segments ) : 8; - - var i, uvs = [], - center = new THREE.Vector3(), centerUV = new THREE.UV( 0.5, 0.5 ); - - this.vertices.push(center); - uvs.push( centerUV ); - - for ( i = 0; i <= segments; i ++ ) { - - var vertex = new THREE.Vector3(); - - vertex.x = radius * Math.cos( thetaStart + i / segments * thetaLength ); - vertex.y = radius * Math.sin( thetaStart + i / segments * thetaLength ); - - this.vertices.push( vertex ); - uvs.push( new THREE.UV( ( vertex.x / radius + 1 ) / 2, - ( vertex.y / radius + 1 ) / 2 + 1 ) ); - - } - - var n = new THREE.Vector3( 0, 0, -1 ); - - for ( i = 1; i <= segments; i ++ ) { - - var v1 = i; - var v2 = i + 1 ; - var v3 = 0; - - this.faces.push( new THREE.Face3( v1, v2, v3, [ n, n, n ] ) ); - this.faceVertexUvs[ 0 ].push( [ uvs[ i ], uvs[ i + 1 ], centerUV ] ); - - } - - this.computeCentroids(); - this.computeFaceNormals(); - - this.boundingSphere = { radius: radius }; - -}; - -THREE.CircleGeometry.prototype = Object.create( THREE.Geometry.prototype ); -/** - * @author mrdoob / http://mrdoob.com/ - * based on http://papervision3d.googlecode.com/svn/trunk/as3/trunk/src/org/papervision3d/objects/primitives/Cube.as - */ - -THREE.CubeGeometry = function ( width, height, depth, segmentsWidth, segmentsHeight, segmentsDepth, materials, sides ) { - - THREE.Geometry.call( this ); - - var scope = this, - width_half = width / 2, - height_half = height / 2, - depth_half = depth / 2; - - var mpx, mpy, mpz, mnx, mny, mnz; - - if ( materials !== undefined ) { - - if ( materials instanceof Array ) { - - this.materials = materials; - - } else { - - this.materials = []; - - for ( var i = 0; i < 6; i ++ ) { - - this.materials.push( materials ); - - } - - } - - mpx = 0; mnx = 1; mpy = 2; mny = 3; mpz = 4; mnz = 5; - - } else { - - this.materials = []; - - } - - this.sides = { px: true, nx: true, py: true, ny: true, pz: true, nz: true }; - - if ( sides != undefined ) { - - for ( var s in sides ) { - - if ( this.sides[ s ] !== undefined ) { - - this.sides[ s ] = sides[ s ]; - - } - - } - - } - - this.sides.px && buildPlane( 'z', 'y', - 1, - 1, depth, height, width_half, mpx ); // px - this.sides.nx && buildPlane( 'z', 'y', 1, - 1, depth, height, - width_half, mnx ); // nx - this.sides.py && buildPlane( 'x', 'z', 1, 1, width, depth, height_half, mpy ); // py - this.sides.ny && buildPlane( 'x', 'z', 1, - 1, width, depth, - height_half, mny ); // ny - this.sides.pz && buildPlane( 'x', 'y', 1, - 1, width, height, depth_half, mpz ); // pz - this.sides.nz && buildPlane( 'x', 'y', - 1, - 1, width, height, - depth_half, mnz ); // nz - - function buildPlane( u, v, udir, vdir, width, height, depth, material ) { - - var w, ix, iy, - gridX = segmentsWidth || 1, - gridY = segmentsHeight || 1, - width_half = width / 2, - height_half = height / 2, - offset = scope.vertices.length; - - if ( ( u === 'x' && v === 'y' ) || ( u === 'y' && v === 'x' ) ) { - - w = 'z'; - - } else if ( ( u === 'x' && v === 'z' ) || ( u === 'z' && v === 'x' ) ) { - - w = 'y'; - gridY = segmentsDepth || 1; - - } else if ( ( u === 'z' && v === 'y' ) || ( u === 'y' && v === 'z' ) ) { - - w = 'x'; - gridX = segmentsDepth || 1; - - } - - var gridX1 = gridX + 1, - gridY1 = gridY + 1, - segment_width = width / gridX, - segment_height = height / gridY, - normal = new THREE.Vector3(); - - normal[ w ] = depth > 0 ? 1 : - 1; - - for ( iy = 0; iy < gridY1; iy ++ ) { - - for ( ix = 0; ix < gridX1; ix ++ ) { - - var vector = new THREE.Vector3(); - vector[ u ] = ( ix * segment_width - width_half ) * udir; - vector[ v ] = ( iy * segment_height - height_half ) * vdir; - vector[ w ] = depth; - - scope.vertices.push( vector ); - - } - - } - - for ( iy = 0; iy < gridY; iy++ ) { - - for ( ix = 0; ix < gridX; ix++ ) { - - var a = ix + gridX1 * iy; - var b = ix + gridX1 * ( iy + 1 ); - var c = ( ix + 1 ) + gridX1 * ( iy + 1 ); - var d = ( ix + 1 ) + gridX1 * iy; - - var face = new THREE.Face4( a + offset, b + offset, c + offset, d + offset ); - face.normal.copy( normal ); - face.vertexNormals.push( normal.clone(), normal.clone(), normal.clone(), normal.clone() ); - face.materialIndex = material; - - scope.faces.push( face ); - scope.faceVertexUvs[ 0 ].push( [ - new THREE.UV( ix / gridX, 1 - iy / gridY ), - new THREE.UV( ix / gridX, 1 - ( iy + 1 ) / gridY ), - new THREE.UV( ( ix + 1 ) / gridX, 1- ( iy + 1 ) / gridY ), - new THREE.UV( ( ix + 1 ) / gridX, 1 - iy / gridY ) - ] ); - - } - - } - - } - - this.computeCentroids(); - this.mergeVertices(); - -}; - -THREE.CubeGeometry.prototype = Object.create( THREE.Geometry.prototype ); -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.CylinderGeometry = function ( radiusTop, radiusBottom, height, radiusSegments, heightSegments, openEnded ) { - - THREE.Geometry.call( this ); - - radiusTop = radiusTop !== undefined ? radiusTop : 20; - radiusBottom = radiusBottom !== undefined ? radiusBottom : 20; - height = height !== undefined ? height : 100; - - var heightHalf = height / 2; - var segmentsX = radiusSegments || 8; - var segmentsY = heightSegments || 1; - - var x, y, vertices = [], uvs = []; - - for ( y = 0; y <= segmentsY; y ++ ) { - - var verticesRow = []; - var uvsRow = []; - - var v = y / segmentsY; - var radius = v * ( radiusBottom - radiusTop ) + radiusTop; - - for ( x = 0; x <= segmentsX; x ++ ) { - - var u = x / segmentsX; - - var vertex = new THREE.Vector3(); - vertex.x = radius * Math.sin( u * Math.PI * 2 ); - vertex.y = - v * height + heightHalf; - vertex.z = radius * Math.cos( u * Math.PI * 2 ); - - this.vertices.push( vertex ); - - verticesRow.push( this.vertices.length - 1 ); - uvsRow.push( new THREE.UV( u, 1 - v ) ); - - } - - vertices.push( verticesRow ); - uvs.push( uvsRow ); - - } - - var tanTheta = ( radiusBottom - radiusTop ) / height; - var na, nb; - - for ( x = 0; x < segmentsX; x ++ ) { - - if ( radiusTop !== 0 ) { - - na = this.vertices[ vertices[ 0 ][ x ] ].clone(); - nb = this.vertices[ vertices[ 0 ][ x + 1 ] ].clone(); - - } else { - - na = this.vertices[ vertices[ 1 ][ x ] ].clone(); - nb = this.vertices[ vertices[ 1 ][ x + 1 ] ].clone(); - - } - - na.setY( Math.sqrt( na.x * na.x + na.z * na.z ) * tanTheta ).normalize(); - nb.setY( Math.sqrt( nb.x * nb.x + nb.z * nb.z ) * tanTheta ).normalize(); - - for ( y = 0; y < segmentsY; y ++ ) { - - var v1 = vertices[ y ][ x ]; - var v2 = vertices[ y + 1 ][ x ]; - var v3 = vertices[ y + 1 ][ x + 1 ]; - var v4 = vertices[ y ][ x + 1 ]; - - var n1 = na.clone(); - var n2 = na.clone(); - var n3 = nb.clone(); - var n4 = nb.clone(); - - var uv1 = uvs[ y ][ x ].clone(); - var uv2 = uvs[ y + 1 ][ x ].clone(); - var uv3 = uvs[ y + 1 ][ x + 1 ].clone(); - var uv4 = uvs[ y ][ x + 1 ].clone(); - - this.faces.push( new THREE.Face4( v1, v2, v3, v4, [ n1, n2, n3, n4 ] ) ); - this.faceVertexUvs[ 0 ].push( [ uv1, uv2, uv3, uv4 ] ); - - } - - } - - // top cap - - if ( !openEnded && radiusTop > 0 ) { - - this.vertices.push( new THREE.Vector3( 0, heightHalf, 0 ) ); - - for ( x = 0; x < segmentsX; x ++ ) { - - var v1 = vertices[ 0 ][ x ]; - var v2 = vertices[ 0 ][ x + 1 ]; - var v3 = this.vertices.length - 1; - - var n1 = new THREE.Vector3( 0, 1, 0 ); - var n2 = new THREE.Vector3( 0, 1, 0 ); - var n3 = new THREE.Vector3( 0, 1, 0 ); - - var uv1 = uvs[ 0 ][ x ].clone(); - var uv2 = uvs[ 0 ][ x + 1 ].clone(); - var uv3 = new THREE.UV( uv2.u, 0 ); - - this.faces.push( new THREE.Face3( v1, v2, v3, [ n1, n2, n3 ] ) ); - this.faceVertexUvs[ 0 ].push( [ uv1, uv2, uv3 ] ); - - } - - } - - // bottom cap - - if ( !openEnded && radiusBottom > 0 ) { - - this.vertices.push( new THREE.Vector3( 0, - heightHalf, 0 ) ); - - for ( x = 0; x < segmentsX; x ++ ) { - - var v1 = vertices[ y ][ x + 1 ]; - var v2 = vertices[ y ][ x ]; - var v3 = this.vertices.length - 1; - - var n1 = new THREE.Vector3( 0, - 1, 0 ); - var n2 = new THREE.Vector3( 0, - 1, 0 ); - var n3 = new THREE.Vector3( 0, - 1, 0 ); - - var uv1 = uvs[ y ][ x + 1 ].clone(); - var uv2 = uvs[ y ][ x ].clone(); - var uv3 = new THREE.UV( uv2.u, 1 ); - - this.faces.push( new THREE.Face3( v1, v2, v3, [ n1, n2, n3 ] ) ); - this.faceVertexUvs[ 0 ].push( [ uv1, uv2, uv3 ] ); - - } - - } - - this.computeCentroids(); - this.computeFaceNormals(); - -} - -THREE.CylinderGeometry.prototype = Object.create( THREE.Geometry.prototype ); -/** - * @author zz85 / http://www.lab4games.net/zz85/blog - * - * Creates extruded geometry from a path shape. - * - * parameters = { - * - * size: , // size of the text - * height: , // thickness to extrude text - * curveSegments: , // number of points on the curves - * steps: , // number of points for z-side extrusions / used for subdividing segements of extrude spline too - * amount: , // Amount - * - * bevelEnabled: , // turn on bevel - * bevelThickness: , // how deep into text bevel goes - * bevelSize: , // how far from text outline is bevel - * bevelSegments: , // number of bevel layers - * - * extrudePath: // 3d spline path to extrude shape along. (creates Frames if .frames aren't defined) - * frames: // containing arrays of tangents, normals, binormals - * - * material: // material index for front and back faces - * extrudeMaterial: // material index for extrusion and beveled faces - * uvGenerator: // object that provides UV generator functions - * - * } - **/ - -THREE.ExtrudeGeometry = function ( shapes, options ) { - - if ( typeof( shapes ) === "undefined" ) { - shapes = []; - return; - } - - THREE.Geometry.call( this ); - - shapes = shapes instanceof Array ? shapes : [ shapes ]; - - this.shapebb = shapes[ shapes.length - 1 ].getBoundingBox(); - - this.addShapeList( shapes, options ); - - this.computeCentroids(); - this.computeFaceNormals(); - - // can't really use automatic vertex normals - // as then front and back sides get smoothed too - // should do separate smoothing just for sides - - //this.computeVertexNormals(); - - //console.log( "took", ( Date.now() - startTime ) ); - -}; - -THREE.ExtrudeGeometry.prototype = Object.create( THREE.Geometry.prototype ); - -THREE.ExtrudeGeometry.prototype.addShapeList = function ( shapes, options ) { - var sl = shapes.length; - - for ( var s = 0; s < sl; s ++ ) { - var shape = shapes[ s ]; - this.addShape( shape, options ); - } -}; - -THREE.ExtrudeGeometry.prototype.addShape = function ( shape, options ) { - - var amount = options.amount !== undefined ? options.amount : 100; - - var bevelThickness = options.bevelThickness !== undefined ? options.bevelThickness : 6; // 10 - var bevelSize = options.bevelSize !== undefined ? options.bevelSize : bevelThickness - 2; // 8 - var bevelSegments = options.bevelSegments !== undefined ? options.bevelSegments : 3; - - var bevelEnabled = options.bevelEnabled !== undefined ? options.bevelEnabled : true; // false - - var curveSegments = options.curveSegments !== undefined ? options.curveSegments : 12; - - var steps = options.steps !== undefined ? options.steps : 1; - - var extrudePath = options.extrudePath; - var extrudePts, extrudeByPath = false; - - var material = options.material; - var extrudeMaterial = options.extrudeMaterial; - - // Use default WorldUVGenerator if no UV generators are specified. - var uvgen = options.UVGenerator !== undefined ? options.UVGenerator : THREE.ExtrudeGeometry.WorldUVGenerator; - - var shapebb = this.shapebb; - //shapebb = shape.getBoundingBox(); - - - - var splineTube, binormal, normal, position2; - if ( extrudePath ) { - - extrudePts = extrudePath.getSpacedPoints( steps ); - - extrudeByPath = true; - bevelEnabled = false; // bevels not supported for path extrusion - - // SETUP TNB variables - - // Reuse TNB from TubeGeomtry for now. - // TODO1 - have a .isClosed in spline? - - splineTube = options.frames !== undefined ? options.frames : new THREE.TubeGeometry.FrenetFrames(extrudePath, steps, false); - - // console.log(splineTube, 'splineTube', splineTube.normals.length, 'steps', steps, 'extrudePts', extrudePts.length); - - binormal = new THREE.Vector3(); - normal = new THREE.Vector3(); - position2 = new THREE.Vector3(); - - } - - // Safeguards if bevels are not enabled - - if ( ! bevelEnabled ) { - - bevelSegments = 0; - bevelThickness = 0; - bevelSize = 0; - - } - - // Variables initalization - - var ahole, h, hl; // looping of holes - var scope = this; - var bevelPoints = []; - - var shapesOffset = this.vertices.length; - - var shapePoints = shape.extractPoints(); - - var vertices = shapePoints.shape; - var holes = shapePoints.holes; - - var reverse = !THREE.Shape.Utils.isClockWise( vertices ) ; - - if ( reverse ) { - - vertices = vertices.reverse(); - - // Maybe we should also check if holes are in the opposite direction, just to be safe ... - - for ( h = 0, hl = holes.length; h < hl; h ++ ) { - - ahole = holes[ h ]; - - if ( THREE.Shape.Utils.isClockWise( ahole ) ) { - - holes[ h ] = ahole.reverse(); - - } - - } - - reverse = false; // If vertices are in order now, we shouldn't need to worry about them again (hopefully)! - - } - - - var faces = THREE.Shape.Utils.triangulateShape ( vertices, holes ); - - /* Vertices */ - - var contour = vertices; // vertices has all points but contour has only points of circumference - - for ( h = 0, hl = holes.length; h < hl; h ++ ) { - - ahole = holes[ h ]; - - vertices = vertices.concat( ahole ); - - } - - - function scalePt2 ( pt, vec, size ) { - - if ( !vec ) console.log( "die" ); - - return vec.clone().multiplyScalar( size ).addSelf( pt ); - - } - - var b, bs, t, z, - vert, vlen = vertices.length, - face, flen = faces.length, - cont, clen = contour.length; - - - // Find directions for point movement - - var RAD_TO_DEGREES = 180 / Math.PI; - - - function getBevelVec( pt_i, pt_j, pt_k ) { - - // Algorithm 2 - - return getBevelVec2( pt_i, pt_j, pt_k ); - - } - - function getBevelVec1( pt_i, pt_j, pt_k ) { - - var anglea = Math.atan2( pt_j.y - pt_i.y, pt_j.x - pt_i.x ); - var angleb = Math.atan2( pt_k.y - pt_i.y, pt_k.x - pt_i.x ); - - if ( anglea > angleb ) { - - angleb += Math.PI * 2; - - } - - var anglec = ( anglea + angleb ) / 2; - - - //console.log('angle1', anglea * RAD_TO_DEGREES,'angle2', angleb * RAD_TO_DEGREES, 'anglec', anglec *RAD_TO_DEGREES); - - var x = - Math.cos( anglec ); - var y = - Math.sin( anglec ); - - var vec = new THREE.Vector2( x, y ); //.normalize(); - - return vec; - - } - - function getBevelVec2( pt_i, pt_j, pt_k ) { - - var a = THREE.ExtrudeGeometry.__v1, - b = THREE.ExtrudeGeometry.__v2, - v_hat = THREE.ExtrudeGeometry.__v3, - w_hat = THREE.ExtrudeGeometry.__v4, - p = THREE.ExtrudeGeometry.__v5, - q = THREE.ExtrudeGeometry.__v6, - v, w, - v_dot_w_hat, q_sub_p_dot_w_hat, - s, intersection; - - // good reading for line-line intersection - // http://sputsoft.com/blog/2010/03/line-line-intersection.html - - // define a as vector j->i - // define b as vectot k->i - - a.set( pt_i.x - pt_j.x, pt_i.y - pt_j.y ); - b.set( pt_i.x - pt_k.x, pt_i.y - pt_k.y ); - - // get unit vectors - - v = a.normalize(); - w = b.normalize(); - - // normals from pt i - - v_hat.set( -v.y, v.x ); - w_hat.set( w.y, -w.x ); - - // pts from i - - p.copy( pt_i ).addSelf( v_hat ); - q.copy( pt_i ).addSelf( w_hat ); - - if ( p.equals( q ) ) { - - //console.log("Warning: lines are straight"); - return w_hat.clone(); - - } - - // Points from j, k. helps prevents points cross overover most of the time - - p.copy( pt_j ).addSelf( v_hat ); - q.copy( pt_k ).addSelf( w_hat ); - - v_dot_w_hat = v.dot( w_hat ); - q_sub_p_dot_w_hat = q.subSelf( p ).dot( w_hat ); - - // We should not reach these conditions - - if ( v_dot_w_hat === 0 ) { - - console.log( "Either infinite or no solutions!" ); - - if ( q_sub_p_dot_w_hat === 0 ) { - - console.log( "Its finite solutions." ); - - } else { - - console.log( "Too bad, no solutions." ); - - } - - } - - s = q_sub_p_dot_w_hat / v_dot_w_hat; - - if ( s < 0 ) { - - // in case of emergecy, revert to algorithm 1. - - return getBevelVec1( pt_i, pt_j, pt_k ); - - } - - intersection = v.multiplyScalar( s ).addSelf( p ); - - return intersection.subSelf( pt_i ).clone(); // Don't normalize!, otherwise sharp corners become ugly - - } - - var contourMovements = []; - - for ( var i = 0, il = contour.length, j = il - 1, k = i + 1; i < il; i ++, j ++, k ++ ) { - - if ( j === il ) j = 0; - if ( k === il ) k = 0; - - // (j)---(i)---(k) - // console.log('i,j,k', i, j , k) - - var pt_i = contour[ i ]; - var pt_j = contour[ j ]; - var pt_k = contour[ k ]; - - contourMovements[ i ]= getBevelVec( contour[ i ], contour[ j ], contour[ k ] ); - - } - - var holesMovements = [], oneHoleMovements, verticesMovements = contourMovements.concat(); - - for ( h = 0, hl = holes.length; h < hl; h ++ ) { - - ahole = holes[ h ]; - - oneHoleMovements = []; - - for ( i = 0, il = ahole.length, j = il - 1, k = i + 1; i < il; i ++, j ++, k ++ ) { - - if ( j === il ) j = 0; - if ( k === il ) k = 0; - - // (j)---(i)---(k) - oneHoleMovements[ i ]= getBevelVec( ahole[ i ], ahole[ j ], ahole[ k ] ); - - } - - holesMovements.push( oneHoleMovements ); - verticesMovements = verticesMovements.concat( oneHoleMovements ); - - } - - - // Loop bevelSegments, 1 for the front, 1 for the back - - for ( b = 0; b < bevelSegments; b ++ ) { - //for ( b = bevelSegments; b > 0; b -- ) { - - t = b / bevelSegments; - z = bevelThickness * ( 1 - t ); - - //z = bevelThickness * t; - bs = bevelSize * ( Math.sin ( t * Math.PI/2 ) ) ; // curved - //bs = bevelSize * t ; // linear - - // contract shape - - for ( i = 0, il = contour.length; i < il; i ++ ) { - - vert = scalePt2( contour[ i ], contourMovements[ i ], bs ); - //vert = scalePt( contour[ i ], contourCentroid, bs, false ); - v( vert.x, vert.y, - z ); - - } - - // expand holes - - for ( h = 0, hl = holes.length; h < hl; h++ ) { - - ahole = holes[ h ]; - oneHoleMovements = holesMovements[ h ]; - - for ( i = 0, il = ahole.length; i < il; i++ ) { - - vert = scalePt2( ahole[ i ], oneHoleMovements[ i ], bs ); - //vert = scalePt( ahole[ i ], holesCentroids[ h ], bs, true ); - - v( vert.x, vert.y, -z ); - - } - - } - - } - - bs = bevelSize; - - // Back facing vertices - - for ( i = 0; i < vlen; i ++ ) { - - vert = bevelEnabled ? scalePt2( vertices[ i ], verticesMovements[ i ], bs ) : vertices[ i ]; - - if ( !extrudeByPath ) { - - v( vert.x, vert.y, 0 ); - - } else { - - // v( vert.x, vert.y + extrudePts[ 0 ].y, extrudePts[ 0 ].x ); - - normal.copy( splineTube.normals[0] ).multiplyScalar(vert.x); - binormal.copy( splineTube.binormals[0] ).multiplyScalar(vert.y); - - position2.copy( extrudePts[0] ).addSelf(normal).addSelf(binormal); - - v( position2.x, position2.y, position2.z ); - - } - - } - - // Add stepped vertices... - // Including front facing vertices - - var s; - - for ( s = 1; s <= steps; s ++ ) { - - for ( i = 0; i < vlen; i ++ ) { - - vert = bevelEnabled ? scalePt2( vertices[ i ], verticesMovements[ i ], bs ) : vertices[ i ]; - - if ( !extrudeByPath ) { - - v( vert.x, vert.y, amount / steps * s ); - - } else { - - // v( vert.x, vert.y + extrudePts[ s - 1 ].y, extrudePts[ s - 1 ].x ); - - normal.copy( splineTube.normals[s] ).multiplyScalar( vert.x ); - binormal.copy( splineTube.binormals[s] ).multiplyScalar( vert.y ); - - position2.copy( extrudePts[s] ).addSelf( normal ).addSelf( binormal ); - - v( position2.x, position2.y, position2.z ); - - } - - } - - } - - - // Add bevel segments planes - - //for ( b = 1; b <= bevelSegments; b ++ ) { - for ( b = bevelSegments - 1; b >= 0; b -- ) { - - t = b / bevelSegments; - z = bevelThickness * ( 1 - t ); - //bs = bevelSize * ( 1-Math.sin ( ( 1 - t ) * Math.PI/2 ) ); - bs = bevelSize * Math.sin ( t * Math.PI/2 ) ; - - // contract shape - - for ( i = 0, il = contour.length; i < il; i ++ ) { - - vert = scalePt2( contour[ i ], contourMovements[ i ], bs ); - v( vert.x, vert.y, amount + z ); - - } - - // expand holes - - for ( h = 0, hl = holes.length; h < hl; h ++ ) { - - ahole = holes[ h ]; - oneHoleMovements = holesMovements[ h ]; - - for ( i = 0, il = ahole.length; i < il; i ++ ) { - - vert = scalePt2( ahole[ i ], oneHoleMovements[ i ], bs ); - - if ( !extrudeByPath ) { - - v( vert.x, vert.y, amount + z ); - - } else { - - v( vert.x, vert.y + extrudePts[ steps - 1 ].y, extrudePts[ steps - 1 ].x + z ); - - } - - } - - } - - } - - /* Faces */ - - // Top and bottom faces - - buildLidFaces(); - - // Sides faces - - buildSideFaces(); - - - ///// Internal functions - - function buildLidFaces() { - - if ( bevelEnabled ) { - - var layer = 0 ; // steps + 1 - var offset = vlen * layer; - - // Bottom faces - - for ( i = 0; i < flen; i ++ ) { - - face = faces[ i ]; - f3( face[ 2 ]+ offset, face[ 1 ]+ offset, face[ 0 ] + offset, true ); - - } - - layer = steps + bevelSegments * 2; - offset = vlen * layer; - - // Top faces - - for ( i = 0; i < flen; i ++ ) { - - face = faces[ i ]; - f3( face[ 0 ] + offset, face[ 1 ] + offset, face[ 2 ] + offset, false ); - - } - - } else { - - // Bottom faces - - for ( i = 0; i < flen; i++ ) { - - face = faces[ i ]; - f3( face[ 2 ], face[ 1 ], face[ 0 ], true ); - - } - - // Top faces - - for ( i = 0; i < flen; i ++ ) { - - face = faces[ i ]; - f3( face[ 0 ] + vlen * steps, face[ 1 ] + vlen * steps, face[ 2 ] + vlen * steps, false ); - - } - } - - } - - // Create faces for the z-sides of the shape - - function buildSideFaces() { - - var layeroffset = 0; - sidewalls( contour, layeroffset ); - layeroffset += contour.length; - - for ( h = 0, hl = holes.length; h < hl; h ++ ) { - - ahole = holes[ h ]; - sidewalls( ahole, layeroffset ); - - //, true - layeroffset += ahole.length; - - } - - } - - function sidewalls( contour, layeroffset ) { - - var j, k; - i = contour.length; - - while ( --i >= 0 ) { - - j = i; - k = i - 1; - if ( k < 0 ) k = contour.length - 1; - - //console.log('b', i,j, i-1, k,vertices.length); - - var s = 0, sl = steps + bevelSegments * 2; - - for ( s = 0; s < sl; s ++ ) { - - var slen1 = vlen * s; - var slen2 = vlen * ( s + 1 ); - - var a = layeroffset + j + slen1, - b = layeroffset + k + slen1, - c = layeroffset + k + slen2, - d = layeroffset + j + slen2; - - f4( a, b, c, d, contour, s, sl, j, k ); - - } - } - - } - - - function v( x, y, z ) { - - scope.vertices.push( new THREE.Vector3( x, y, z ) ); - - } - - function f3( a, b, c, isBottom ) { - - a += shapesOffset; - b += shapesOffset; - c += shapesOffset; - - // normal, color, material - scope.faces.push( new THREE.Face3( a, b, c, null, null, material ) ); - - var uvs = isBottom ? uvgen.generateBottomUV( scope, shape, options, a, b, c ) : uvgen.generateTopUV( scope, shape, options, a, b, c ); - - scope.faceVertexUvs[ 0 ].push( uvs ); - - } - - function f4( a, b, c, d, wallContour, stepIndex, stepsLength, contourIndex1, contourIndex2 ) { - - a += shapesOffset; - b += shapesOffset; - c += shapesOffset; - d += shapesOffset; - - scope.faces.push( new THREE.Face4( a, b, c, d, null, null, extrudeMaterial ) ); - - var uvs = uvgen.generateSideWallUV( scope, shape, wallContour, options, a, b, c, d, - stepIndex, stepsLength, contourIndex1, contourIndex2 ); - scope.faceVertexUvs[ 0 ].push( uvs ); - - } - -}; - -THREE.ExtrudeGeometry.WorldUVGenerator = { - - generateTopUV: function( geometry, extrudedShape, extrudeOptions, indexA, indexB, indexC ) { - var ax = geometry.vertices[ indexA ].x, - ay = geometry.vertices[ indexA ].y, - - bx = geometry.vertices[ indexB ].x, - by = geometry.vertices[ indexB ].y, - - cx = geometry.vertices[ indexC ].x, - cy = geometry.vertices[ indexC ].y; - - return [ - new THREE.UV( ax, ay ), - new THREE.UV( bx, by ), - new THREE.UV( cx, cy ) - ]; - - }, - - generateBottomUV: function( geometry, extrudedShape, extrudeOptions, indexA, indexB, indexC ) { - - return this.generateTopUV( geometry, extrudedShape, extrudeOptions, indexA, indexB, indexC ); - - }, - - generateSideWallUV: function( geometry, extrudedShape, wallContour, extrudeOptions, - indexA, indexB, indexC, indexD, stepIndex, stepsLength, - contourIndex1, contourIndex2 ) { - - var ax = geometry.vertices[ indexA ].x, - ay = geometry.vertices[ indexA ].y, - az = geometry.vertices[ indexA ].z, - - bx = geometry.vertices[ indexB ].x, - by = geometry.vertices[ indexB ].y, - bz = geometry.vertices[ indexB ].z, - - cx = geometry.vertices[ indexC ].x, - cy = geometry.vertices[ indexC ].y, - cz = geometry.vertices[ indexC ].z, - - dx = geometry.vertices[ indexD ].x, - dy = geometry.vertices[ indexD ].y, - dz = geometry.vertices[ indexD ].z; - - if ( Math.abs( ay - by ) < 0.01 ) { - return [ - new THREE.UV( ax, 1 - az ), - new THREE.UV( bx, 1 - bz ), - new THREE.UV( cx, 1 - cz ), - new THREE.UV( dx, 1 - dz ) - ]; - } else { - return [ - new THREE.UV( ay, 1 - az ), - new THREE.UV( by, 1 - bz ), - new THREE.UV( cy, 1 - cz ), - new THREE.UV( dy, 1 - dz ) - ]; - } - } -}; - -THREE.ExtrudeGeometry.__v1 = new THREE.Vector2(); -THREE.ExtrudeGeometry.__v2 = new THREE.Vector2(); -THREE.ExtrudeGeometry.__v3 = new THREE.Vector2(); -THREE.ExtrudeGeometry.__v4 = new THREE.Vector2(); -THREE.ExtrudeGeometry.__v5 = new THREE.Vector2(); -THREE.ExtrudeGeometry.__v6 = new THREE.Vector2(); -/** - * @author jonobr1 / http://jonobr1.com - * - * Creates a one-sided polygonal geometry from a path shape. Similar to - * ExtrudeGeometry. - * - * parameters = { - * - * curveSegments: , // number of points on the curves. NOT USED AT THE MOMENT. - * - * material: // material index for front and back faces - * uvGenerator: // object that provides UV generator functions - * - * } - **/ - -THREE.ShapeGeometry = function ( shapes, options ) { - - THREE.Geometry.call( this ); - - if ( shapes instanceof Array === false ) shapes = [ shapes ]; - - this.shapebb = shapes[ shapes.length - 1 ].getBoundingBox(); - - this.addShapeList( shapes, options ); - - this.computeCentroids(); - this.computeFaceNormals(); - -}; - -THREE.ShapeGeometry.prototype = Object.create( THREE.Geometry.prototype ); - -/** - * Add an array of shapes to THREE.ShapeGeometry. - */ -THREE.ShapeGeometry.prototype.addShapeList = function ( shapes, options ) { - - for ( var i = 0, l = shapes.length; i < l; i++ ) { - - this.addShape( shapes[ i ], options ); - - } - - return this; - -}; - -/** - * Adds a shape to THREE.ShapeGeometry, based on THREE.ExtrudeGeometry. - */ -THREE.ShapeGeometry.prototype.addShape = function ( shape, options ) { - - if ( options === undefined ) options = {}; - - var material = options.material; - var uvgen = options.UVGenerator === undefined ? THREE.ExtrudeGeometry.WorldUVGenerator : options.UVGenerator; - - var shapebb = this.shapebb; - - // - - var i, l, hole, s; - - var shapesOffset = this.vertices.length; - var shapePoints = shape.extractPoints(); - - var vertices = shapePoints.shape; - var holes = shapePoints.holes; - - var reverse = !THREE.Shape.Utils.isClockWise( vertices ); - - if ( reverse ) { - - vertices = vertices.reverse(); - - // Maybe we should also check if holes are in the opposite direction, just to be safe... - - for ( i = 0, l = holes.length; i < l; i++ ) { - - hole = holes[ i ]; - - if ( THREE.Shape.Utils.isClockWise( hole ) ) { - - holes[ i ] = hole.reverse(); - - } - - } - - reverse = false; - - } - - var faces = THREE.Shape.Utils.triangulateShape( vertices, holes ); - - // Vertices - - var contour = vertices; - - for ( i = 0, l = holes.length; i < l; i++ ) { - - hole = holes[ i ]; - vertices = vertices.concat( hole ); - - } - - // - - var vert, vlen = vertices.length; - var face, flen = faces.length; - var cont, clen = contour.length; - - for ( i = 0; i < vlen; i++ ) { - - vert = vertices[ i ]; - - this.vertices.push( new THREE.Vector3( vert.x, vert.y, 0 ) ); - - } - - for ( i = 0; i < flen; i++ ) { - - face = faces[ i ]; - - var a = face[ 0 ] + shapesOffset; - var b = face[ 1 ] + shapesOffset; - var c = face[ 2 ] + shapesOffset; - - this.faces.push( new THREE.Face3( a, b, c, null, null, material ) ); - this.faceVertexUvs[ 0 ].push( uvgen.generateBottomUV( this, shape, options, a, b, c ) ); - - } - -}; -/** - * @author astrodud / http://astrodud.isgreat.org/ - * @author zz85 / https://github.com/zz85 - */ - -THREE.LatheGeometry = function ( points, steps, angle ) { - - THREE.Geometry.call( this ); - - var _steps = steps || 12; - var _angle = angle || 2 * Math.PI; - - var _newV = []; - var _matrix = new THREE.Matrix4().makeRotationZ( _angle / _steps ); - - for ( var j = 0; j < points.length; j ++ ) { - - _newV[ j ] = points[ j ].clone(); - this.vertices.push( _newV[ j ] ); - - } - - var i, il = _steps + 1; - - for ( i = 0; i < il; i ++ ) { - - for ( var j = 0; j < _newV.length; j ++ ) { - - _newV[ j ] = _matrix.multiplyVector3( _newV[ j ].clone() ); - this.vertices.push( _newV[ j ] ); - - } - - } - - for ( i = 0; i < _steps; i ++ ) { - - for ( var k = 0, kl = points.length; k < kl - 1; k ++ ) { - - var a = i * kl + k; - var b = ( ( i + 1 ) % il ) * kl + k; - var c = ( ( i + 1 ) % il ) * kl + ( k + 1 ) % kl; - var d = i * kl + ( k + 1 ) % kl; - - this.faces.push( new THREE.Face4( a, b, c, d ) ); - - this.faceVertexUvs[ 0 ].push( [ - - new THREE.UV( 1 - i / _steps, k / kl ), - new THREE.UV( 1 - ( i + 1 ) / _steps, k / kl ), - new THREE.UV( 1 - ( i + 1 ) / _steps, ( k + 1 ) / kl ), - new THREE.UV( 1 - i / _steps, ( k + 1 ) / kl ) - - ] ); - - } - - } - - this.computeCentroids(); - this.computeFaceNormals(); - this.computeVertexNormals(); - -}; - -THREE.LatheGeometry.prototype = Object.create( THREE.Geometry.prototype ); -/** - * @author mrdoob / http://mrdoob.com/ - * based on http://papervision3d.googlecode.com/svn/trunk/as3/trunk/src/org/papervision3d/objects/primitives/Plane.as - */ - -THREE.PlaneGeometry = function ( width, height, widthSegments, heightSegments ) { - - THREE.Geometry.call( this ); - - var ix, iz, - width_half = width / 2, - height_half = height / 2, - gridX = widthSegments || 1, - gridZ = heightSegments || 1, - gridX1 = gridX + 1, - gridZ1 = gridZ + 1, - segment_width = width / gridX, - segment_height = height / gridZ, - normal = new THREE.Vector3( 0, 0, 1 ); - - for ( iz = 0; iz < gridZ1; iz ++ ) { - - for ( ix = 0; ix < gridX1; ix ++ ) { - - var x = ix * segment_width - width_half; - var y = iz * segment_height - height_half; - - this.vertices.push( new THREE.Vector3( x, - y, 0 ) ); - - } - - } - - for ( iz = 0; iz < gridZ; iz ++ ) { - - for ( ix = 0; ix < gridX; ix ++ ) { - - var a = ix + gridX1 * iz; - var b = ix + gridX1 * ( iz + 1 ); - var c = ( ix + 1 ) + gridX1 * ( iz + 1 ); - var d = ( ix + 1 ) + gridX1 * iz; - - var face = new THREE.Face4( a, b, c, d ); - face.normal.copy( normal ); - face.vertexNormals.push( normal.clone(), normal.clone(), normal.clone(), normal.clone() ); - - this.faces.push( face ); - this.faceVertexUvs[ 0 ].push( [ - new THREE.UV( ix / gridX, 1 - iz / gridZ ), - new THREE.UV( ix / gridX, 1 - ( iz + 1 ) / gridZ ), - new THREE.UV( ( ix + 1 ) / gridX, 1 - ( iz + 1 ) / gridZ ), - new THREE.UV( ( ix + 1 ) / gridX, 1 - iz / gridZ ) - ] ); - - } - - } - - this.computeCentroids(); - -}; - -THREE.PlaneGeometry.prototype = Object.create( THREE.Geometry.prototype ); -/** - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.SphereGeometry = function ( radius, widthSegments, heightSegments, phiStart, phiLength, thetaStart, thetaLength ) { - - THREE.Geometry.call( this ); - - radius = radius || 50; - - phiStart = phiStart !== undefined ? phiStart : 0; - phiLength = phiLength !== undefined ? phiLength : Math.PI * 2; - - thetaStart = thetaStart !== undefined ? thetaStart : 0; - thetaLength = thetaLength !== undefined ? thetaLength : Math.PI; - - var segmentsX = Math.max( 3, Math.floor( widthSegments ) || 8 ); - var segmentsY = Math.max( 2, Math.floor( heightSegments ) || 6 ); - - var x, y, vertices = [], uvs = []; - - for ( y = 0; y <= segmentsY; y ++ ) { - - var verticesRow = []; - var uvsRow = []; - - for ( x = 0; x <= segmentsX; x ++ ) { - - var u = x / segmentsX; - var v = y / segmentsY; - - var vertex = new THREE.Vector3(); - vertex.x = - radius * Math.cos( phiStart + u * phiLength ) * Math.sin( thetaStart + v * thetaLength ); - vertex.y = radius * Math.cos( thetaStart + v * thetaLength ); - vertex.z = radius * Math.sin( phiStart + u * phiLength ) * Math.sin( thetaStart + v * thetaLength ); - - this.vertices.push( vertex ); - - verticesRow.push( this.vertices.length - 1 ); - uvsRow.push( new THREE.UV( u, 1 - v ) ); - - } - - vertices.push( verticesRow ); - uvs.push( uvsRow ); - - } - - for ( y = 0; y < segmentsY; y ++ ) { - - for ( x = 0; x < segmentsX; x ++ ) { - - var v1 = vertices[ y ][ x + 1 ]; - var v2 = vertices[ y ][ x ]; - var v3 = vertices[ y + 1 ][ x ]; - var v4 = vertices[ y + 1 ][ x + 1 ]; - - var n1 = this.vertices[ v1 ].clone().normalize(); - var n2 = this.vertices[ v2 ].clone().normalize(); - var n3 = this.vertices[ v3 ].clone().normalize(); - var n4 = this.vertices[ v4 ].clone().normalize(); - - var uv1 = uvs[ y ][ x + 1 ].clone(); - var uv2 = uvs[ y ][ x ].clone(); - var uv3 = uvs[ y + 1 ][ x ].clone(); - var uv4 = uvs[ y + 1 ][ x + 1 ].clone(); - - if ( Math.abs( this.vertices[ v1 ].y ) == radius ) { - - this.faces.push( new THREE.Face3( v1, v3, v4, [ n1, n3, n4 ] ) ); - this.faceVertexUvs[ 0 ].push( [ uv1, uv3, uv4 ] ); - - } else if ( Math.abs( this.vertices[ v3 ].y ) == radius ) { - - this.faces.push( new THREE.Face3( v1, v2, v3, [ n1, n2, n3 ] ) ); - this.faceVertexUvs[ 0 ].push( [ uv1, uv2, uv3 ] ); - - } else { - - this.faces.push( new THREE.Face4( v1, v2, v3, v4, [ n1, n2, n3, n4 ] ) ); - this.faceVertexUvs[ 0 ].push( [ uv1, uv2, uv3, uv4 ] ); - - } - - } - - } - - this.computeCentroids(); - this.computeFaceNormals(); - - this.boundingSphere = { radius: radius }; - -}; - -THREE.SphereGeometry.prototype = Object.create( THREE.Geometry.prototype ); -/** - * @author zz85 / http://www.lab4games.net/zz85/blog - * @author alteredq / http://alteredqualia.com/ - * - * For creating 3D text geometry in three.js - * - * Text = 3D Text - * - * parameters = { - * size: , // size of the text - * height: , // thickness to extrude text - * curveSegments: , // number of points on the curves - * - * font: , // font name - * weight: , // font weight (normal, bold) - * style: , // font style (normal, italics) - * - * bevelEnabled: , // turn on bevel - * bevelThickness: , // how deep into text bevel goes - * bevelSize: , // how far from text outline is bevel - * } - * - */ - -/* Usage Examples - - // TextGeometry wrapper - - var text3d = new TextGeometry( text, options ); - - // Complete manner - - var textShapes = THREE.FontUtils.generateShapes( text, options ); - var text3d = new ExtrudeGeometry( textShapes, options ); - -*/ - - -THREE.TextGeometry = function ( text, parameters ) { - - var textShapes = THREE.FontUtils.generateShapes( text, parameters ); - - // translate parameters to ExtrudeGeometry API - - parameters.amount = parameters.height !== undefined ? parameters.height : 50; - - // defaults - - if ( parameters.bevelThickness === undefined ) parameters.bevelThickness = 10; - if ( parameters.bevelSize === undefined ) parameters.bevelSize = 8; - if ( parameters.bevelEnabled === undefined ) parameters.bevelEnabled = false; - - THREE.ExtrudeGeometry.call( this, textShapes, parameters ); - -}; - -THREE.TextGeometry.prototype = Object.create( THREE.ExtrudeGeometry.prototype ); -/** - * @author oosmoxiecode - * @author mrdoob / http://mrdoob.com/ - * based on http://code.google.com/p/away3d/source/browse/trunk/fp10/Away3DLite/src/away3dlite/primitives/Torus.as?r=2888 - */ - -THREE.TorusGeometry = function ( radius, tube, radialSegments, tubularSegments, arc ) { - - THREE.Geometry.call( this ); - - var scope = this; - - this.radius = radius || 100; - this.tube = tube || 40; - this.radialSegments = radialSegments || 8; - this.tubularSegments = tubularSegments || 6; - this.arc = arc || Math.PI * 2; - - var center = new THREE.Vector3(), uvs = [], normals = []; - - for ( var j = 0; j <= this.radialSegments; j ++ ) { - - for ( var i = 0; i <= this.tubularSegments; i ++ ) { - - var u = i / this.tubularSegments * this.arc; - var v = j / this.radialSegments * Math.PI * 2; - - center.x = this.radius * Math.cos( u ); - center.y = this.radius * Math.sin( u ); - - var vertex = new THREE.Vector3(); - vertex.x = ( this.radius + this.tube * Math.cos( v ) ) * Math.cos( u ); - vertex.y = ( this.radius + this.tube * Math.cos( v ) ) * Math.sin( u ); - vertex.z = this.tube * Math.sin( v ); - - this.vertices.push( vertex ); - - uvs.push( new THREE.UV( i / this.tubularSegments, j / this.radialSegments ) ); - normals.push( vertex.clone().subSelf( center ).normalize() ); - - } - } - - - for ( var j = 1; j <= this.radialSegments; j ++ ) { - - for ( var i = 1; i <= this.tubularSegments; i ++ ) { - - var a = ( this.tubularSegments + 1 ) * j + i - 1; - var b = ( this.tubularSegments + 1 ) * ( j - 1 ) + i - 1; - var c = ( this.tubularSegments + 1 ) * ( j - 1 ) + i; - var d = ( this.tubularSegments + 1 ) * j + i; - - var face = new THREE.Face4( a, b, c, d, [ normals[ a ], normals[ b ], normals[ c ], normals[ d ] ] ); - face.normal.addSelf( normals[ a ] ); - face.normal.addSelf( normals[ b ] ); - face.normal.addSelf( normals[ c ] ); - face.normal.addSelf( normals[ d ] ); - face.normal.normalize(); - - this.faces.push( face ); - - this.faceVertexUvs[ 0 ].push( [ uvs[ a ].clone(), uvs[ b ].clone(), uvs[ c ].clone(), uvs[ d ].clone() ] ); - } - - } - - this.computeCentroids(); - -}; - -THREE.TorusGeometry.prototype = Object.create( THREE.Geometry.prototype ); -/** - * @author oosmoxiecode - * based on http://code.google.com/p/away3d/source/browse/trunk/fp10/Away3D/src/away3d/primitives/TorusKnot.as?spec=svn2473&r=2473 - */ - -THREE.TorusKnotGeometry = function ( radius, tube, radialSegments, tubularSegments, p, q, heightScale ) { - - THREE.Geometry.call( this ); - - var scope = this; - - this.radius = radius || 200; - this.tube = tube || 40; - this.radialSegments = radialSegments || 64; - this.tubularSegments = tubularSegments || 8; - this.p = p || 2; - this.q = q || 3; - this.heightScale = heightScale || 1; - this.grid = new Array(this.radialSegments); - - var tang = new THREE.Vector3(); - var n = new THREE.Vector3(); - var bitan = new THREE.Vector3(); - - for ( var i = 0; i < this.radialSegments; ++ i ) { - - this.grid[ i ] = new Array( this.tubularSegments ); - - for ( var j = 0; j < this.tubularSegments; ++ j ) { - - var u = i / this.radialSegments * 2 * this.p * Math.PI; - var v = j / this.tubularSegments * 2 * Math.PI; - var p1 = getPos( u, v, this.q, this.p, this.radius, this.heightScale ); - var p2 = getPos( u + 0.01, v, this.q, this.p, this.radius, this.heightScale ); - var cx, cy; - - tang.sub( p2, p1 ); - n.add( p2, p1 ); - - bitan.cross( tang, n ); - n.cross( bitan, tang ); - bitan.normalize(); - n.normalize(); - - cx = - this.tube * Math.cos( v ); // TODO: Hack: Negating it so it faces outside. - cy = this.tube * Math.sin( v ); - - p1.x += cx * n.x + cy * bitan.x; - p1.y += cx * n.y + cy * bitan.y; - p1.z += cx * n.z + cy * bitan.z; - - this.grid[ i ][ j ] = vert( p1.x, p1.y, p1.z ); - - } - - } - - for ( var i = 0; i < this.radialSegments; ++ i ) { - - for ( var j = 0; j < this.tubularSegments; ++ j ) { - - var ip = ( i + 1 ) % this.radialSegments; - var jp = ( j + 1 ) % this.tubularSegments; - - var a = this.grid[ i ][ j ]; - var b = this.grid[ ip ][ j ]; - var c = this.grid[ ip ][ jp ]; - var d = this.grid[ i ][ jp ]; - - var uva = new THREE.UV( i / this.radialSegments, j / this.tubularSegments ); - var uvb = new THREE.UV( ( i + 1 ) / this.radialSegments, j / this.tubularSegments ); - var uvc = new THREE.UV( ( i + 1 ) / this.radialSegments, ( j + 1 ) / this.tubularSegments ); - var uvd = new THREE.UV( i / this.radialSegments, ( j + 1 ) / this.tubularSegments ); - - this.faces.push( new THREE.Face4( a, b, c, d ) ); - this.faceVertexUvs[ 0 ].push( [ uva,uvb,uvc, uvd ] ); - - } - } - - this.computeCentroids(); - this.computeFaceNormals(); - this.computeVertexNormals(); - - function vert( x, y, z ) { - - return scope.vertices.push( new THREE.Vector3( x, y, z ) ) - 1; - - } - - function getPos( u, v, in_q, in_p, radius, heightScale ) { - - var cu = Math.cos( u ); - var cv = Math.cos( v ); - var su = Math.sin( u ); - var quOverP = in_q / in_p * u; - var cs = Math.cos( quOverP ); - - var tx = radius * ( 2 + cs ) * 0.5 * cu; - var ty = radius * ( 2 + cs ) * su * 0.5; - var tz = heightScale * radius * Math.sin( quOverP ) * 0.5; - - return new THREE.Vector3( tx, ty, tz ); - - } - -}; - -THREE.TorusKnotGeometry.prototype = Object.create( THREE.Geometry.prototype ); -/** - * @author WestLangley / https://github.com/WestLangley - * @author zz85 / https://github.com/zz85 - * @author miningold / https://github.com/miningold - * - * Modified from the TorusKnotGeometry by @oosmoxiecode - * - * Creates a tube which extrudes along a 3d spline - * - * Uses parallel transport frames as described in - * http://www.cs.indiana.edu/pub/techreports/TR425.pdf - */ - -THREE.TubeGeometry = function( path, segments, radius, radiusSegments, closed, debug ) { - - THREE.Geometry.call( this ); - - this.path = path; - this.segments = segments || 64; - this.radius = radius || 1; - this.radiusSegments = radiusSegments || 8; - this.closed = closed || false; - - if ( debug ) this.debug = new THREE.Object3D(); - - this.grid = []; - - var scope = this, - - tangent, - normal, - binormal, - - numpoints = this.segments + 1, - - x, y, z, - tx, ty, tz, - u, v, - - cx, cy, - pos, pos2 = new THREE.Vector3(), - i, j, - ip, jp, - a, b, c, d, - uva, uvb, uvc, uvd; - - var frames = new THREE.TubeGeometry.FrenetFrames(path, segments, closed), - tangents = frames.tangents, - normals = frames.normals, - binormals = frames.binormals; - - // proxy internals - this.tangents = tangents; - this.normals = normals; - this.binormals = binormals; - - function vert( x, y, z ) { - - return scope.vertices.push( new THREE.Vector3( x, y, z ) ) - 1; - - } - - - // consruct the grid - - for ( i = 0; i < numpoints; i++ ) { - - this.grid[ i ] = []; - - u = i / ( numpoints - 1 ); - - pos = path.getPointAt( u ); - - tangent = tangents[ i ]; - normal = normals[ i ]; - binormal = binormals[ i ]; - - if ( this.debug ) { - - this.debug.add( new THREE.ArrowHelper(tangent, pos, radius, 0x0000ff ) ); - this.debug.add( new THREE.ArrowHelper(normal, pos, radius, 0xff0000 ) ); - this.debug.add( new THREE.ArrowHelper(binormal, pos, radius, 0x00ff00 ) ); - - } - - for ( j = 0; j < this.radiusSegments; j++ ) { - - v = j / this.radiusSegments * 2 * Math.PI; - - cx = -this.radius * Math.cos( v ); // TODO: Hack: Negating it so it faces outside. - cy = this.radius * Math.sin( v ); - - pos2.copy( pos ); - pos2.x += cx * normal.x + cy * binormal.x; - pos2.y += cx * normal.y + cy * binormal.y; - pos2.z += cx * normal.z + cy * binormal.z; - - this.grid[ i ][ j ] = vert( pos2.x, pos2.y, pos2.z ); - - } - } - - - // construct the mesh - - for ( i = 0; i < this.segments; i++ ) { - - for ( j = 0; j < this.radiusSegments; j++ ) { - - ip = ( closed ) ? (i + 1) % this.segments : i + 1; - jp = (j + 1) % this.radiusSegments; - - a = this.grid[ i ][ j ]; // *** NOT NECESSARILY PLANAR ! *** - b = this.grid[ ip ][ j ]; - c = this.grid[ ip ][ jp ]; - d = this.grid[ i ][ jp ]; - - uva = new THREE.UV( i / this.segments, j / this.radiusSegments ); - uvb = new THREE.UV( ( i + 1 ) / this.segments, j / this.radiusSegments ); - uvc = new THREE.UV( ( i + 1 ) / this.segments, ( j + 1 ) / this.radiusSegments ); - uvd = new THREE.UV( i / this.segments, ( j + 1 ) / this.radiusSegments ); - - this.faces.push( new THREE.Face4( a, b, c, d ) ); - this.faceVertexUvs[ 0 ].push( [ uva, uvb, uvc, uvd ] ); - - } - } - - this.computeCentroids(); - this.computeFaceNormals(); - this.computeVertexNormals(); - -}; - -THREE.TubeGeometry.prototype = Object.create( THREE.Geometry.prototype ); - - -// For computing of Frenet frames, exposing the tangents, normals and binormals the spline -THREE.TubeGeometry.FrenetFrames = function(path, segments, closed) { - - var - tangent = new THREE.Vector3(), - normal = new THREE.Vector3(), - binormal = new THREE.Vector3(), - - tangents = [], - normals = [], - binormals = [], - - vec = new THREE.Vector3(), - mat = new THREE.Matrix4(), - - numpoints = segments + 1, - theta, - epsilon = 0.0001, - smallest, - - tx, ty, tz, - i, u, v; - - - // expose internals - this.tangents = tangents; - this.normals = normals; - this.binormals = binormals; - - // compute the tangent vectors for each segment on the path - - for ( i = 0; i < numpoints; i++ ) { - - u = i / ( numpoints - 1 ); - - tangents[ i ] = path.getTangentAt( u ); - tangents[ i ].normalize(); - - } - - initialNormal3(); - - function initialNormal1(lastBinormal) { - // fixed start binormal. Has dangers of 0 vectors - normals[ 0 ] = new THREE.Vector3(); - binormals[ 0 ] = new THREE.Vector3(); - if (lastBinormal===undefined) lastBinormal = new THREE.Vector3( 0, 0, 1 ); - normals[ 0 ].cross( lastBinormal, tangents[ 0 ] ).normalize(); - binormals[ 0 ].cross( tangents[ 0 ], normals[ 0 ] ).normalize(); - } - - function initialNormal2() { - - // This uses the Frenet-Serret formula for deriving binormal - var t2 = path.getTangentAt( epsilon ); - - normals[ 0 ] = new THREE.Vector3().sub( t2, tangents[ 0 ] ).normalize(); - binormals[ 0 ] = new THREE.Vector3().cross( tangents[ 0 ], normals[ 0 ] ); - - normals[ 0 ].cross( binormals[ 0 ], tangents[ 0 ] ).normalize(); // last binormal x tangent - binormals[ 0 ].cross( tangents[ 0 ], normals[ 0 ] ).normalize(); - - } - - function initialNormal3() { - // select an initial normal vector perpenicular to the first tangent vector, - // and in the direction of the smallest tangent xyz component - - normals[ 0 ] = new THREE.Vector3(); - binormals[ 0 ] = new THREE.Vector3(); - smallest = Number.MAX_VALUE; - tx = Math.abs( tangents[ 0 ].x ); - ty = Math.abs( tangents[ 0 ].y ); - tz = Math.abs( tangents[ 0 ].z ); - - if ( tx <= smallest ) { - smallest = tx; - normal.set( 1, 0, 0 ); - } - - if ( ty <= smallest ) { - smallest = ty; - normal.set( 0, 1, 0 ); - } - - if ( tz <= smallest ) { - normal.set( 0, 0, 1 ); - } - - vec.cross( tangents[ 0 ], normal ).normalize(); - - normals[ 0 ].cross( tangents[ 0 ], vec ); - binormals[ 0 ].cross( tangents[ 0 ], normals[ 0 ] ); - } - - - // compute the slowly-varying normal and binormal vectors for each segment on the path - - for ( i = 1; i < numpoints; i++ ) { - - normals[ i ] = normals[ i-1 ].clone(); - - binormals[ i ] = binormals[ i-1 ].clone(); - - vec.cross( tangents[ i-1 ], tangents[ i ] ); - - if ( vec.length() > epsilon ) { - - vec.normalize(); - - theta = Math.acos( tangents[ i-1 ].dot( tangents[ i ] ) ); - - mat.makeRotationAxis( vec, theta ).multiplyVector3( normals[ i ] ); - - } - - binormals[ i ].cross( tangents[ i ], normals[ i ] ); - - } - - - // if the curve is closed, postprocess the vectors so the first and last normal vectors are the same - - if ( closed ) { - - theta = Math.acos( normals[ 0 ].dot( normals[ numpoints-1 ] ) ); - theta /= ( numpoints - 1 ); - - if ( tangents[ 0 ].dot( vec.cross( normals[ 0 ], normals[ numpoints-1 ] ) ) > 0 ) { - - theta = -theta; - - } - - for ( i = 1; i < numpoints; i++ ) { - - // twist a little... - mat.makeRotationAxis( tangents[ i ], theta * i ).multiplyVector3( normals[ i ] ); - binormals[ i ].cross( tangents[ i ], normals[ i ] ); - - } - - } -}; -/** - * @author clockworkgeek / https://github.com/clockworkgeek - * @author timothypratley / https://github.com/timothypratley - */ - -THREE.PolyhedronGeometry = function ( vertices, faces, radius, detail ) { - - THREE.Geometry.call( this ); - - radius = radius || 1; - detail = detail || 0; - - var that = this; - - for ( var i = 0, l = vertices.length; i < l; i ++ ) { - - prepare( new THREE.Vector3( vertices[ i ][ 0 ], vertices[ i ][ 1 ], vertices[ i ][ 2 ] ) ); - - } - - var midpoints = [], p = this.vertices; - - for ( var i = 0, l = faces.length; i < l; i ++ ) { - - make( p[ faces[ i ][ 0 ] ], p[ faces[ i ][ 1 ] ], p[ faces[ i ][ 2 ] ], detail ); - - } - - this.mergeVertices(); - - // Apply radius - - for ( var i = 0, l = this.vertices.length; i < l; i ++ ) { - - this.vertices[ i ].multiplyScalar( radius ); - - } - - - // Project vector onto sphere's surface - - function prepare( vector ) { - - var vertex = vector.normalize().clone(); - vertex.index = that.vertices.push( vertex ) - 1; - - // Texture coords are equivalent to map coords, calculate angle and convert to fraction of a circle. - - var u = azimuth( vector ) / 2 / Math.PI + 0.5; - var v = inclination( vector ) / Math.PI + 0.5; - vertex.uv = new THREE.UV( u, 1 - v ); - - return vertex; - - } - - - // Approximate a curved face with recursively sub-divided triangles. - - function make( v1, v2, v3, detail ) { - - if ( detail < 1 ) { - - var face = new THREE.Face3( v1.index, v2.index, v3.index, [ v1.clone(), v2.clone(), v3.clone() ] ); - face.centroid.addSelf( v1 ).addSelf( v2 ).addSelf( v3 ).divideScalar( 3 ); - face.normal = face.centroid.clone().normalize(); - that.faces.push( face ); - - var azi = azimuth( face.centroid ); - that.faceVertexUvs[ 0 ].push( [ - correctUV( v1.uv, v1, azi ), - correctUV( v2.uv, v2, azi ), - correctUV( v3.uv, v3, azi ) - ] ); - - } else { - - detail -= 1; - - // split triangle into 4 smaller triangles - - make( v1, midpoint( v1, v2 ), midpoint( v1, v3 ), detail ); // top quadrant - make( midpoint( v1, v2 ), v2, midpoint( v2, v3 ), detail ); // left quadrant - make( midpoint( v1, v3 ), midpoint( v2, v3 ), v3, detail ); // right quadrant - make( midpoint( v1, v2 ), midpoint( v2, v3 ), midpoint( v1, v3 ), detail ); // center quadrant - - } - - } - - function midpoint( v1, v2 ) { - - if ( !midpoints[ v1.index ] ) midpoints[ v1.index ] = []; - if ( !midpoints[ v2.index ] ) midpoints[ v2.index ] = []; - - var mid = midpoints[ v1.index ][ v2.index ]; - - if ( mid === undefined ) { - - // generate mean point and project to surface with prepare() - - midpoints[ v1.index ][ v2.index ] = midpoints[ v2.index ][ v1.index ] = mid = prepare( - new THREE.Vector3().add( v1, v2 ).divideScalar( 2 ) - ); - } - - return mid; - - } - - - // Angle around the Y axis, counter-clockwise when looking from above. - - function azimuth( vector ) { - - return Math.atan2( vector.z, -vector.x ); - - } - - - // Angle above the XZ plane. - - function inclination( vector ) { - - return Math.atan2( -vector.y, Math.sqrt( ( vector.x * vector.x ) + ( vector.z * vector.z ) ) ); - - } - - - // Texture fixing helper. Spheres have some odd behaviours. - - function correctUV( uv, vector, azimuth ) { - - if ( ( azimuth < 0 ) && ( uv.u === 1 ) ) uv = new THREE.UV( uv.u - 1, uv.v ); - if ( ( vector.x === 0 ) && ( vector.z === 0 ) ) uv = new THREE.UV( azimuth / 2 / Math.PI + 0.5, uv.v ); - return uv; - - } - - this.computeCentroids(); - - this.boundingSphere = { radius: radius }; - -}; - -THREE.PolyhedronGeometry.prototype = Object.create( THREE.Geometry.prototype ); -/** - * @author timothypratley / https://github.com/timothypratley - */ - -THREE.IcosahedronGeometry = function ( radius, detail ) { - - var t = ( 1 + Math.sqrt( 5 ) ) / 2; - - var vertices = [ - [ -1, t, 0 ], [ 1, t, 0 ], [ -1, -t, 0 ], [ 1, -t, 0 ], - [ 0, -1, t ], [ 0, 1, t ], [ 0, -1, -t ], [ 0, 1, -t ], - [ t, 0, -1 ], [ t, 0, 1 ], [ -t, 0, -1 ], [ -t, 0, 1 ] - ]; - - var faces = [ - [ 0, 11, 5 ], [ 0, 5, 1 ], [ 0, 1, 7 ], [ 0, 7, 10 ], [ 0, 10, 11 ], - [ 1, 5, 9 ], [ 5, 11, 4 ], [ 11, 10, 2 ], [ 10, 7, 6 ], [ 7, 1, 8 ], - [ 3, 9, 4 ], [ 3, 4, 2 ], [ 3, 2, 6 ], [ 3, 6, 8 ], [ 3, 8, 9 ], - [ 4, 9, 5 ], [ 2, 4, 11 ], [ 6, 2, 10 ], [ 8, 6, 7 ], [ 9, 8, 1 ] - ]; - - THREE.PolyhedronGeometry.call( this, vertices, faces, radius, detail ); - -}; - -THREE.IcosahedronGeometry.prototype = Object.create( THREE.Geometry.prototype ); -/** - * @author timothypratley / https://github.com/timothypratley - */ - -THREE.OctahedronGeometry = function ( radius, detail ) { - - var vertices = [ - [ 1, 0, 0 ], [ -1, 0, 0 ], [ 0, 1, 0 ], [ 0, -1, 0 ], [ 0, 0, 1 ], [ 0, 0, -1 ] - ]; - - var faces = [ - [ 0, 2, 4 ], [ 0, 4, 3 ], [ 0, 3, 5 ], [ 0, 5, 2 ], [ 1, 2, 5 ], [ 1, 5, 3 ], [ 1, 3, 4 ], [ 1, 4, 2 ] - ]; - - THREE.PolyhedronGeometry.call( this, vertices, faces, radius, detail ); -}; - -THREE.OctahedronGeometry.prototype = Object.create( THREE.Geometry.prototype ); -/** - * @author timothypratley / https://github.com/timothypratley - */ - -THREE.TetrahedronGeometry = function ( radius, detail ) { - - var vertices = [ - [ 1, 1, 1 ], [ -1, -1, 1 ], [ -1, 1, -1 ], [ 1, -1, -1 ] - ]; - - var faces = [ - [ 2, 1, 0 ], [ 0, 3, 2 ], [ 1, 3, 0 ], [ 2, 3, 1 ] - ]; - - THREE.PolyhedronGeometry.call( this, vertices, faces, radius, detail ); - -}; - -THREE.TetrahedronGeometry.prototype = Object.create( THREE.Geometry.prototype ); -/** - * @author zz85 / https://github.com/zz85 - * Parametric Surfaces Geometry - * based on the brilliant article by @prideout http://prideout.net/blog/?p=44 - * - * new THREE.ParametricGeometry( parametricFunction, uSegments, ySegements, useTris ); - * - */ - -THREE.ParametricGeometry = function ( func, slices, stacks, useTris ) { - - THREE.Geometry.call( this ); - - var verts = this.vertices; - var faces = this.faces; - var uvs = this.faceVertexUvs[ 0 ]; - - useTris = (useTris === undefined) ? false : useTris; - - var i, il, j, p; - var u, v; - - var stackCount = stacks + 1; - var sliceCount = slices + 1; - - for ( i = 0; i <= stacks; i ++ ) { - - v = i / stacks; - - for ( j = 0; j <= slices; j ++ ) { - - u = j / slices; - - p = func( u, v ); - verts.push( p ); - - } - } - - var a, b, c, d; - var uva, uvb, uvc, uvd; - - for ( i = 0; i < stacks; i ++ ) { - - for ( j = 0; j < slices; j ++ ) { - - a = i * sliceCount + j; - b = i * sliceCount + j + 1; - c = (i + 1) * sliceCount + j; - d = (i + 1) * sliceCount + j + 1; - - uva = new THREE.UV( j / slices, i / stacks ); - uvb = new THREE.UV( ( j + 1 ) / slices, i / stacks ); - uvc = new THREE.UV( j / slices, ( i + 1 ) / stacks ); - uvd = new THREE.UV( ( j + 1 ) / slices, ( i + 1 ) / stacks ); - - if ( useTris ) { - - faces.push( new THREE.Face3( a, b, c ) ); - faces.push( new THREE.Face3( b, d, c ) ); - - uvs.push( [ uva, uvb, uvc ] ); - uvs.push( [ uvb, uvd, uvc ] ); - - } else { - - faces.push( new THREE.Face4( a, b, d, c ) ); - uvs.push( [ uva, uvb, uvd, uvc ] ); - - } - - } - - } - - // console.log(this); - - // magic bullet - // var diff = this.mergeVertices(); - // console.log('removed ', diff, ' vertices by merging'); - - this.computeCentroids(); - this.computeFaceNormals(); - this.computeVertexNormals(); - -}; - -THREE.ParametricGeometry.prototype = Object.create( THREE.Geometry.prototype ); -/** - * @author qiao / https://github.com/qiao - * @fileoverview This is a convex hull generator using the incremental method. - * The complexity is O(n^2) where n is the number of vertices. - * O(nlogn) algorithms do exist, but they are much more complicated. - * - * Benchmark: - * - * Platform: CPU: P7350 @2.00GHz Engine: V8 - * - * Num Vertices Time(ms) - * - * 10 1 - * 20 3 - * 30 19 - * 40 48 - * 50 107 - */ - -THREE.ConvexGeometry = function( vertices ) { - - THREE.Geometry.call( this ); - - var faces = [ [ 0, 1, 2 ], [ 0, 2, 1 ] ]; - - for ( var i = 3; i < vertices.length; i++ ) { - - addPoint( i ); - - } - - - function addPoint( vertexId ) { - - var vertex = vertices[ vertexId ].clone(); - - var mag = vertex.length(); - vertex.x += mag * randomOffset(); - vertex.y += mag * randomOffset(); - vertex.z += mag * randomOffset(); - - var hole = []; - - for ( var f = 0; f < faces.length; ) { - - var face = faces[ f ]; - - // for each face, if the vertex can see it, - // then we try to add the face's edges into the hole. - if ( visible( face, vertex ) ) { - - for ( var e = 0; e < 3; e++ ) { - - var edge = [ face[ e ], face[ ( e + 1 ) % 3 ] ]; - var boundary = true; - - // remove duplicated edges. - for ( var h = 0; h < hole.length; h++ ) { - - if ( equalEdge( hole[ h ], edge ) ) { - - hole[ h ] = hole[ hole.length - 1 ]; - hole.pop(); - boundary = false; - break; - - } - - } - - if ( boundary ) { - - hole.push( edge ); - - } - - } - - // remove faces[ f ] - faces[ f ] = faces[ faces.length - 1 ]; - faces.pop(); - - } else { // not visible - - f++; - - } - } - - // construct the new faces formed by the edges of the hole and the vertex - for ( var h = 0; h < hole.length; h++ ) { - - faces.push( [ - hole[ h ][ 0 ], - hole[ h ][ 1 ], - vertexId - ] ); - - } - } - - /** - * Whether the face is visible from the vertex - */ - function visible( face, vertex ) { - - var va = vertices[ face[ 0 ] ]; - var vb = vertices[ face[ 1 ] ]; - var vc = vertices[ face[ 2 ] ]; - - var n = normal( va, vb, vc ); - - // distance from face to origin - var dist = n.dot( va ); - - return n.dot( vertex ) >= dist; - - } - - /** - * Face normal - */ - function normal( va, vb, vc ) { - - var cb = new THREE.Vector3(); - var ab = new THREE.Vector3(); - - cb.sub( vc, vb ); - ab.sub( va, vb ); - cb.crossSelf( ab ); - - if ( !cb.isZero() ) { - - cb.normalize(); - - } - - return cb; - - } - - /** - * Detect whether two edges are equal. - * Note that when constructing the convex hull, two same edges can only - * be of the negative direction. - */ - function equalEdge( ea, eb ) { - - return ea[ 0 ] === eb[ 1 ] && ea[ 1 ] === eb[ 0 ]; - - } - - /** - * Create a random offset between -1e-6 and 1e-6. - */ - function randomOffset() { - - return ( Math.random() - 0.5 ) * 2 * 1e-6; - - } - - - /** - * XXX: Not sure if this is the correct approach. Need someone to review. - */ - function vertexUv( vertex ) { - - var mag = vertex.length(); - return new THREE.UV( vertex.x / mag, vertex.y / mag ); - - } - - // Push vertices into `this.vertices`, skipping those inside the hull - var id = 0; - var newId = new Array( vertices.length ); // map from old vertex id to new id - - for ( var i = 0; i < faces.length; i++ ) { - - var face = faces[ i ]; - - for ( var j = 0; j < 3; j++ ) { - - if ( newId[ face[ j ] ] === undefined ) { - - newId[ face[ j ] ] = id++; - this.vertices.push( vertices[ face[ j ] ] ); - - } - - face[ j ] = newId[ face[ j ] ]; - - } - - } - - // Convert faces into instances of THREE.Face3 - for ( var i = 0; i < faces.length; i++ ) { - - this.faces.push( new THREE.Face3( - faces[ i ][ 0 ], - faces[ i ][ 1 ], - faces[ i ][ 2 ] - ) ); - - } - - // Compute UVs - for ( var i = 0; i < this.faces.length; i++ ) { - - var face = this.faces[ i ]; - - this.faceVertexUvs[ 0 ].push( [ - vertexUv( this.vertices[ face.a ] ), - vertexUv( this.vertices[ face.b ] ), - vertexUv( this.vertices[ face.c ]) - ] ); - - } - - - this.computeCentroids(); - this.computeFaceNormals(); - this.computeVertexNormals(); - -}; - -THREE.ConvexGeometry.prototype = Object.create( THREE.Geometry.prototype ); -/** - * @author sroucheray / http://sroucheray.org/ - * @author mrdoob / http://mrdoob.com/ - */ - -THREE.AxisHelper = function ( size ) { - - var geometry = new THREE.Geometry(); - - geometry.vertices.push( - new THREE.Vector3(), new THREE.Vector3( size || 1, 0, 0 ), - new THREE.Vector3(), new THREE.Vector3( 0, size || 1, 0 ), - new THREE.Vector3(), new THREE.Vector3( 0, 0, size || 1 ) - ); - - geometry.colors.push( - new THREE.Color( 0xff0000 ), new THREE.Color( 0xffaa00 ), - new THREE.Color( 0x00ff00 ), new THREE.Color( 0xaaff00 ), - new THREE.Color( 0x0000ff ), new THREE.Color( 0x00aaff ) - ); - - var material = new THREE.LineBasicMaterial( { vertexColors: THREE.VertexColors } ); - - THREE.Line.call( this, geometry, material, THREE.LinePieces ); - -}; - -THREE.AxisHelper.prototype = Object.create( THREE.Line.prototype ); -/** - * @author WestLangley / http://github.com/WestLangley - * @author zz85 / https://github.com/zz85 - * - * Creates an arrow for visualizing directions - * - * Parameters: - * dir - Vector3 - * origin - Vector3 - * length - Number - * hex - color in hex value - */ - -THREE.ArrowHelper = function ( dir, origin, length, hex ) { - - THREE.Object3D.call( this ); - - if ( hex === undefined ) hex = 0xffff00; - if ( length === undefined ) length = 20; - - var lineGeometry = new THREE.Geometry(); - lineGeometry.vertices.push( new THREE.Vector3( 0, 0, 0 ) ); - lineGeometry.vertices.push( new THREE.Vector3( 0, 1, 0 ) ); - - this.line = new THREE.Line( lineGeometry, new THREE.LineBasicMaterial( { color: hex } ) ); - this.add( this.line ); - - var coneGeometry = new THREE.CylinderGeometry( 0, 0.05, 0.25, 5, 1 ); - - this.cone = new THREE.Mesh( coneGeometry, new THREE.MeshBasicMaterial( { color: hex } ) ); - this.cone.position.set( 0, 1, 0 ); - this.add( this.cone ); - - if ( origin instanceof THREE.Vector3 ) this.position = origin; - - this.setDirection( dir ); - this.setLength( length ); - -}; - -THREE.ArrowHelper.prototype = Object.create( THREE.Object3D.prototype ); - -THREE.ArrowHelper.prototype.setDirection = function ( dir ) { - - var axis = new THREE.Vector3( 0, 1, 0 ).crossSelf( dir ); - - var radians = Math.acos( new THREE.Vector3( 0, 1, 0 ).dot( dir.clone().normalize() ) ); - - this.matrix = new THREE.Matrix4().makeRotationAxis( axis.normalize(), radians ); - - this.rotation.setEulerFromRotationMatrix( this.matrix, this.eulerOrder ); - -}; - -THREE.ArrowHelper.prototype.setLength = function ( length ) { - - this.scale.set( length, length, length ); - -}; - -THREE.ArrowHelper.prototype.setColor = function ( hex ) { - - this.line.material.color.setHex( hex ); - this.cone.material.color.setHex( hex ); - -}; -/** - * @author alteredq / http://alteredqualia.com/ - * - * - shows frustum, line of sight and up of the camera - * - suitable for fast updates - * - based on frustum visualization in lightgl.js shadowmap example - * http://evanw.github.com/lightgl.js/tests/shadowmap.html - */ - -THREE.CameraHelper = function ( camera ) { - - THREE.Line.call( this ); - - var scope = this; - - this.geometry = new THREE.Geometry(); - this.material = new THREE.LineBasicMaterial( { color: 0xffffff, vertexColors: THREE.FaceColors } ); - this.type = THREE.LinePieces; - - this.matrixWorld = camera.matrixWorld; - this.matrixAutoUpdate = false; - - this.pointMap = {}; - - // colors - - var hexFrustum = 0xffaa00; - var hexCone = 0xff0000; - var hexUp = 0x00aaff; - var hexTarget = 0xffffff; - var hexCross = 0x333333; - - // near - - addLine( "n1", "n2", hexFrustum ); - addLine( "n2", "n4", hexFrustum ); - addLine( "n4", "n3", hexFrustum ); - addLine( "n3", "n1", hexFrustum ); - - // far - - addLine( "f1", "f2", hexFrustum ); - addLine( "f2", "f4", hexFrustum ); - addLine( "f4", "f3", hexFrustum ); - addLine( "f3", "f1", hexFrustum ); - - // sides - - addLine( "n1", "f1", hexFrustum ); - addLine( "n2", "f2", hexFrustum ); - addLine( "n3", "f3", hexFrustum ); - addLine( "n4", "f4", hexFrustum ); - - // cone - - addLine( "p", "n1", hexCone ); - addLine( "p", "n2", hexCone ); - addLine( "p", "n3", hexCone ); - addLine( "p", "n4", hexCone ); - - // up - - addLine( "u1", "u2", hexUp ); - addLine( "u2", "u3", hexUp ); - addLine( "u3", "u1", hexUp ); - - // target - - addLine( "c", "t", hexTarget ); - addLine( "p", "c", hexCross ); - - // cross - - addLine( "cn1", "cn2", hexCross ); - addLine( "cn3", "cn4", hexCross ); - - addLine( "cf1", "cf2", hexCross ); - addLine( "cf3", "cf4", hexCross ); - - this.camera = camera; - - function addLine( a, b, hex ) { - - addPoint( a, hex ); - addPoint( b, hex ); - - } - - function addPoint( id, hex ) { - - scope.geometry.vertices.push( new THREE.Vector3() ); - scope.geometry.colors.push( new THREE.Color( hex ) ); - - if ( scope.pointMap[ id ] === undefined ) scope.pointMap[ id ] = []; - - scope.pointMap[ id ].push( scope.geometry.vertices.length - 1 ); - - } - - this.update( camera ); - -}; - -THREE.CameraHelper.prototype = Object.create( THREE.Line.prototype ); - -THREE.CameraHelper.prototype.update = function () { - - var scope = this; - - var w = 1, h = 1; - - // we need just camera projection matrix - // world matrix must be identity - - THREE.CameraHelper.__c.projectionMatrix.copy( this.camera.projectionMatrix ); - - // center / target - - setPoint( "c", 0, 0, -1 ); - setPoint( "t", 0, 0, 1 ); - - // near - - setPoint( "n1", -w, -h, -1 ); - setPoint( "n2", w, -h, -1 ); - setPoint( "n3", -w, h, -1 ); - setPoint( "n4", w, h, -1 ); - - // far - - setPoint( "f1", -w, -h, 1 ); - setPoint( "f2", w, -h, 1 ); - setPoint( "f3", -w, h, 1 ); - setPoint( "f4", w, h, 1 ); - - // up - - setPoint( "u1", w * 0.7, h * 1.1, -1 ); - setPoint( "u2", -w * 0.7, h * 1.1, -1 ); - setPoint( "u3", 0, h * 2, -1 ); - - // cross - - setPoint( "cf1", -w, 0, 1 ); - setPoint( "cf2", w, 0, 1 ); - setPoint( "cf3", 0, -h, 1 ); - setPoint( "cf4", 0, h, 1 ); - - setPoint( "cn1", -w, 0, -1 ); - setPoint( "cn2", w, 0, -1 ); - setPoint( "cn3", 0, -h, -1 ); - setPoint( "cn4", 0, h, -1 ); - - function setPoint( point, x, y, z ) { - - THREE.CameraHelper.__v.set( x, y, z ); - THREE.CameraHelper.__projector.unprojectVector( THREE.CameraHelper.__v, THREE.CameraHelper.__c ); - - var points = scope.pointMap[ point ]; - - if ( points !== undefined ) { - - for ( var i = 0, il = points.length; i < il; i ++ ) { - - scope.geometry.vertices[ points[ i ] ].copy( THREE.CameraHelper.__v ); - - } - - } - - } - - this.geometry.verticesNeedUpdate = true; - -}; - -THREE.CameraHelper.__projector = new THREE.Projector(); -THREE.CameraHelper.__v = new THREE.Vector3(); -THREE.CameraHelper.__c = new THREE.Camera(); - -/* - * @author zz85 / http://twitter.com/blurspline / http://www.lab4games.net/zz85/blog - * - * Subdivision Geometry Modifier - * using Catmull-Clark Subdivision Surfaces - * for creating smooth geometry meshes - * - * Note: a modifier modifies vertices and faces of geometry, - * so use THREE.GeometryUtils.clone() if orignal geoemtry needs to be retained - * - * Readings: - * http://en.wikipedia.org/wiki/Catmull%E2%80%93Clark_subdivision_surface - * http://www.rorydriscoll.com/2008/08/01/catmull-clark-subdivision-the-basics/ - * http://xrt.wikidot.com/blog:31 - * "Subdivision Surfaces in Character Animation" - * - * (on boundary edges) - * http://rosettacode.org/wiki/Catmull%E2%80%93Clark_subdivision_surface - * https://graphics.stanford.edu/wikis/cs148-09-summer/Assignment3Description - * - * Supports: - * Closed and Open geometries. - * - * TODO: - * crease vertex and "semi-sharp" features - * selective subdivision - */ - - -THREE.SubdivisionModifier = function( subdivisions ) { - - this.subdivisions = (subdivisions === undefined ) ? 1 : subdivisions; - - // Settings - this.useOldVertexColors = false; - this.supportUVs = true; - this.debug = false; - -}; - -// Applies the "modify" pattern -THREE.SubdivisionModifier.prototype.modify = function ( geometry ) { - - var repeats = this.subdivisions; - - while ( repeats-- > 0 ) { - this.smooth( geometry ); - } - -}; - -/// REFACTORING THIS OUT - -THREE.GeometryUtils.orderedKey = function ( a, b ) { - - return Math.min( a, b ) + "_" + Math.max( a, b ); - -}; - - -// Returns a hashmap - of { edge_key: face_index } -THREE.GeometryUtils.computeEdgeFaces = function ( geometry ) { - - var i, il, v1, v2, j, k, - face, faceIndices, faceIndex, - edge, - hash, - edgeFaceMap = {}; - - var orderedKey = THREE.GeometryUtils.orderedKey; - - function mapEdgeHash( hash, i ) { - - if ( edgeFaceMap[ hash ] === undefined ) { - - edgeFaceMap[ hash ] = []; - - } - - edgeFaceMap[ hash ].push( i ); - } - - - // construct vertex -> face map - - for( i = 0, il = geometry.faces.length; i < il; i ++ ) { - - face = geometry.faces[ i ]; - - if ( face instanceof THREE.Face3 ) { - - hash = orderedKey( face.a, face.b ); - mapEdgeHash( hash, i ); - - hash = orderedKey( face.b, face.c ); - mapEdgeHash( hash, i ); - - hash = orderedKey( face.c, face.a ); - mapEdgeHash( hash, i ); - - } else if ( face instanceof THREE.Face4 ) { - - hash = orderedKey( face.a, face.b ); - mapEdgeHash( hash, i ); - - hash = orderedKey( face.b, face.c ); - mapEdgeHash( hash, i ); - - hash = orderedKey( face.c, face.d ); - mapEdgeHash( hash, i ); - - hash = orderedKey( face.d, face.a ); - mapEdgeHash( hash, i ); - - } - - } - - // extract faces - - // var edges = []; - // - // var numOfEdges = 0; - // for (i in edgeFaceMap) { - // numOfEdges++; - // - // edge = edgeFaceMap[i]; - // edges.push(edge); - // - // } - - //debug('edgeFaceMap', edgeFaceMap, 'geometry.edges',geometry.edges, 'numOfEdges', numOfEdges); - - return edgeFaceMap; - -} - -///////////////////////////// - -// Performs an iteration of Catmull-Clark Subdivision -THREE.SubdivisionModifier.prototype.smooth = function ( oldGeometry ) { - - //debug( 'running smooth' ); - - // New set of vertices, faces and uvs - var newVertices = [], newFaces = [], newUVs = []; - - function v( x, y, z ) { - newVertices.push( new THREE.Vector3( x, y, z ) ); - } - - var scope = this; - var orderedKey = THREE.GeometryUtils.orderedKey; - var computeEdgeFaces = THREE.GeometryUtils.computeEdgeFaces; - - function assert() { - if (scope.debug && console && console.assert) console.assert.apply(console, arguments); - } - - function debug() { - if (scope.debug) console.log.apply(console, arguments); - } - - function warn() { - if (console) - console.log.apply(console, arguments); - } - - function f4( a, b, c, d, oldFace, orders, facei ) { - - // TODO move vertex selection over here! - - var newFace = new THREE.Face4( a, b, c, d, null, oldFace.color, oldFace.materialIndex ); - - if (scope.useOldVertexColors) { - - newFace.vertexColors = []; - - var color, tmpColor, order; - for (var i=0;i<4;i++) { - order = orders[i]; - - color = new THREE.Color(), - color.setRGB(0,0,0); - - for (var j=0, jl=0; j=originalVerticesLength && vertexNo < (originalVerticesLength + originalFaces.length)) { - debug('face pt'); - } else { - debug('edge pt'); - } - - warn('warning, UV not found for', key); - - return null; - } - - return theUV; - - // Original faces -> Vertex Nos. - // new Facepoint -> Vertex Nos. - // edge Points - - } - - function addUV(vertexNo, oldFaceNo, value) { - - var key = vertexNo+':'+oldFaceNo; - if (!(key in uvForVertices)) { - uvForVertices[key] = value; - } else { - warn('dup vertexNo', vertexNo, 'oldFaceNo', oldFaceNo, 'value', value, 'key', key, uvForVertices[key]); - } - } - - // Step 1 - // For each face, add a face point - // Set each face point to be the centroid of all original points for the respective face. - // debug(oldGeometry); - var i, il, j, jl, face; - - // For Uvs - var uvs = oldGeometry.faceVertexUvs[0]; - var abcd = 'abcd', vertice; - - debug('originalFaces, uvs, originalVerticesLength', originalFaces.length, uvs.length, originalVerticesLength); - if (scope.supportUVs) - for (i=0, il = uvs.length; i Faces Index eg { edge_key: [face_index, face_index2 ]} - var edge, faceIndexA, faceIndexB, avg; - - // debug('edgeFaceMap', edgeFaceMap); - - var edgeCount = 0; - - var edgeVertex, edgeVertexA, edgeVertexB; - - //// - - var vertexEdgeMap = {}; // Gives edges connecting from each vertex - var vertexFaceMap = {}; // Gives faces connecting from each vertex - - function addVertexEdgeMap(vertex, edge) { - if (vertexEdgeMap[vertex]===undefined) { - vertexEdgeMap[vertex] = []; - } - - vertexEdgeMap[vertex].push(edge); - } - - function addVertexFaceMap(vertex, face, edge) { - if (vertexFaceMap[vertex]===undefined) { - vertexFaceMap[vertex] = {}; - } - - vertexFaceMap[vertex][face] = edge; - // vertexFaceMap[vertex][face] = null; - } - - // Prepares vertexEdgeMap and vertexFaceMap - for (i in edgeFaceMap) { // This is for every edge - edge = edgeFaceMap[i]; - - edgeVertex = i.split('_'); - edgeVertexA = edgeVertex[0]; - edgeVertexB = edgeVertex[1]; - - // Maps an edgeVertex to connecting edges - addVertexEdgeMap(edgeVertexA, [edgeVertexA, edgeVertexB] ); - addVertexEdgeMap(edgeVertexB, [edgeVertexA, edgeVertexB] ); - - - for (j=0,jl=edge.length;j 0, 'an edge without faces?!'); - - if (edge.length==1) { - - avg.addSelf(originalPoints[edgeVertexA]); - avg.addSelf(originalPoints[edgeVertexB]); - avg.multiplyScalar(0.5); - - sharpVertices[newPoints.length] = true; - - } else { - - avg.addSelf(facePoints[faceIndexA]); - avg.addSelf(facePoints[faceIndexB]); - - avg.addSelf(originalPoints[edgeVertexA]); - avg.addSelf(originalPoints[edgeVertexB]); - - avg.multiplyScalar(0.25); - - } - - edgePoints[i] = originalVerticesLength + originalFaces.length + edgeCount; - - newPoints.push( avg ); - - edgeCount ++; - - if (!scope.supportUVs) { - continue; - } - - // Prepare subdivided uv - - avgUv = new THREE.UV(); - - avgUv.u = getUV(edgeVertexA, faceIndexA).u + getUV(edgeVertexB, faceIndexA).u; - avgUv.v = getUV(edgeVertexA, faceIndexA).v + getUV(edgeVertexB, faceIndexA).v; - avgUv.u /= 2; - avgUv.v /= 2; - - addUV(edgePoints[i], faceIndexA, avgUv); - - if (edge.length>=2) { - assert(edge.length == 2, 'did we plan for more than 2 edges?'); - avgUv = new THREE.UV(); - - avgUv.u = getUV(edgeVertexA, faceIndexB).u + getUV(edgeVertexB, faceIndexB).u; - avgUv.v = getUV(edgeVertexA, faceIndexB).v + getUV(edgeVertexB, faceIndexB).v; - avgUv.u /= 2; - avgUv.v /= 2; - - addUV(edgePoints[i], faceIndexB, avgUv); - } - - } - - debug('-- Step 2 done'); - - // Step 3 - // For each face point, add an edge for every edge of the face, - // connecting the face point to each edge point for the face. - - var facePt, currentVerticeIndex; - - var hashAB, hashBC, hashCD, hashDA, hashCA; - - var abc123 = ['123', '12', '2', '23']; - var bca123 = ['123', '23', '3', '31']; - var cab123 = ['123', '31', '1', '12']; - var abc1234 = ['1234', '12', '2', '23']; - var bcd1234 = ['1234', '23', '3', '34']; - var cda1234 = ['1234', '34', '4', '41']; - var dab1234 = ['1234', '41', '1', '12']; - - - for (i=0, il = facePoints.length; i2) { - // TODO - } - */ - - F.divideScalar(f); - - - var boundary_edges = 0; - - - - if (boundary_case) { - - var bb_edge; - for (j=0; j 1) z = 0 is ontop z = 1 is back - scale: 1, // scale - rotation: 1, // rotation - opacity: opacity, // opacity - color: color, // color - blending: blending } ); // blending - -}; - - -/* - * Update lens flares update positions on all flares based on the screen position - * Set myLensFlare.customUpdateCallback to alter the flares in your project specific way. - */ - -THREE.LensFlare.prototype.updateLensFlares = function () { - - var f, fl = this.lensFlares.length; - var flare; - var vecX = -this.positionScreen.x * 2; - var vecY = -this.positionScreen.y * 2; - - for( f = 0; f < fl; f ++ ) { - - flare = this.lensFlares[ f ]; - - flare.x = this.positionScreen.x + vecX * flare.distance; - flare.y = this.positionScreen.y + vecY * flare.distance; - - flare.wantedRotation = flare.x * Math.PI * 0.25; - flare.rotation += ( flare.wantedRotation - flare.rotation ) * 0.25; - - } - -}; - - - - - - - - - - - - -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.MorphBlendMesh = function( geometry, material ) { - - THREE.Mesh.call( this, geometry, material ); - - this.animationsMap = {}; - this.animationsList = []; - - // prepare default animation - // (all frames played together in 1 second) - - var numFrames = this.geometry.morphTargets.length; - - var name = "__default"; - - var startFrame = 0; - var endFrame = numFrames - 1; - - var fps = numFrames / 1; - - this.createAnimation( name, startFrame, endFrame, fps ); - this.setAnimationWeight( name, 1 ); - -}; - -THREE.MorphBlendMesh.prototype = Object.create( THREE.Mesh.prototype ); - -THREE.MorphBlendMesh.prototype.createAnimation = function ( name, start, end, fps ) { - - var animation = { - - startFrame: start, - endFrame: end, - - length: end - start + 1, - - fps: fps, - duration: ( end - start ) / fps, - - lastFrame: 0, - currentFrame: 0, - - active: false, - - time: 0, - direction: 1, - weight: 1, - - directionBackwards: false, - mirroredLoop: false - - }; - - this.animationsMap[ name ] = animation; - this.animationsList.push( animation ); - -}; - -THREE.MorphBlendMesh.prototype.autoCreateAnimations = function ( fps ) { - - var pattern = /([a-z]+)(\d+)/; - - var firstAnimation, frameRanges = {}; - - var geometry = this.geometry; - - for ( var i = 0, il = geometry.morphTargets.length; i < il; i ++ ) { - - var morph = geometry.morphTargets[ i ]; - var chunks = morph.name.match( pattern ); - - if ( chunks && chunks.length > 1 ) { - - var name = chunks[ 1 ]; - var num = chunks[ 2 ]; - - if ( ! frameRanges[ name ] ) frameRanges[ name ] = { start: Infinity, end: -Infinity }; - - var range = frameRanges[ name ]; - - if ( i < range.start ) range.start = i; - if ( i > range.end ) range.end = i; - - if ( ! firstAnimation ) firstAnimation = name; - - } - - } - - for ( var name in frameRanges ) { - - var range = frameRanges[ name ]; - this.createAnimation( name, range.start, range.end, fps ); - - } - - this.firstAnimation = firstAnimation; - -}; - -THREE.MorphBlendMesh.prototype.setAnimationDirectionForward = function ( name ) { - - var animation = this.animationsMap[ name ]; - - if ( animation ) { - - animation.direction = 1; - animation.directionBackwards = false; - - } - -}; - -THREE.MorphBlendMesh.prototype.setAnimationDirectionBackward = function ( name ) { - - var animation = this.animationsMap[ name ]; - - if ( animation ) { - - animation.direction = -1; - animation.directionBackwards = true; - - } - -}; - -THREE.MorphBlendMesh.prototype.setAnimationFPS = function ( name, fps ) { - - var animation = this.animationsMap[ name ]; - - if ( animation ) { - - animation.fps = fps; - animation.duration = ( animation.end - animation.start ) / animation.fps; - - } - -}; - -THREE.MorphBlendMesh.prototype.setAnimationDuration = function ( name, duration ) { - - var animation = this.animationsMap[ name ]; - - if ( animation ) { - - animation.duration = duration; - animation.fps = ( animation.end - animation.start ) / animation.duration; - - } - -}; - -THREE.MorphBlendMesh.prototype.setAnimationWeight = function ( name, weight ) { - - var animation = this.animationsMap[ name ]; - - if ( animation ) { - - animation.weight = weight; - - } - -}; - -THREE.MorphBlendMesh.prototype.setAnimationTime = function ( name, time ) { - - var animation = this.animationsMap[ name ]; - - if ( animation ) { - - animation.time = time; - - } - -}; - -THREE.MorphBlendMesh.prototype.getAnimationTime = function ( name ) { - - var time = 0; - - var animation = this.animationsMap[ name ]; - - if ( animation ) { - - time = animation.time; - - } - - return time; - -}; - -THREE.MorphBlendMesh.prototype.getAnimationDuration = function ( name ) { - - var duration = -1; - - var animation = this.animationsMap[ name ]; - - if ( animation ) { - - duration = animation.duration; - - } - - return duration; - -}; - -THREE.MorphBlendMesh.prototype.playAnimation = function ( name ) { - - var animation = this.animationsMap[ name ]; - - if ( animation ) { - - animation.time = 0; - animation.active = true; - - } else { - - console.warn( "animation[" + name + "] undefined" ); - - } - -}; - -THREE.MorphBlendMesh.prototype.stopAnimation = function ( name ) { - - var animation = this.animationsMap[ name ]; - - if ( animation ) { - - animation.active = false; - - } - -}; - -THREE.MorphBlendMesh.prototype.update = function ( delta ) { - - for ( var i = 0, il = this.animationsList.length; i < il; i ++ ) { - - var animation = this.animationsList[ i ]; - - if ( ! animation.active ) continue; - - var frameTime = animation.duration / animation.length; - - animation.time += animation.direction * delta; - - if ( animation.mirroredLoop ) { - - if ( animation.time > animation.duration || animation.time < 0 ) { - - animation.direction *= -1; - - if ( animation.time > animation.duration ) { - - animation.time = animation.duration; - animation.directionBackwards = true; - - } - - if ( animation.time < 0 ) { - - animation.time = 0; - animation.directionBackwards = false; - - } - - } - - } else { - - animation.time = animation.time % animation.duration; - - if ( animation.time < 0 ) animation.time += animation.duration; - - } - - var keyframe = animation.startFrame + THREE.Math.clamp( Math.floor( animation.time / frameTime ), 0, animation.length - 1 ); - var weight = animation.weight; - - if ( keyframe !== animation.currentFrame ) { - - this.morphTargetInfluences[ animation.lastFrame ] = 0; - this.morphTargetInfluences[ animation.currentFrame ] = 1 * weight; - - this.morphTargetInfluences[ keyframe ] = 0; - - animation.lastFrame = animation.currentFrame; - animation.currentFrame = keyframe; - - } - - var mix = ( animation.time % frameTime ) / frameTime; - - if ( animation.directionBackwards ) mix = 1 - mix; - - this.morphTargetInfluences[ animation.currentFrame ] = mix * weight; - this.morphTargetInfluences[ animation.lastFrame ] = ( 1 - mix ) * weight; - - } - -}; -/** - * @author mikael emtinger / http://gomo.se/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.LensFlarePlugin = function ( ) { - - var _gl, _renderer, _lensFlare = {}; - - this.init = function ( renderer ) { - - _gl = renderer.context; - _renderer = renderer; - - _lensFlare.vertices = new Float32Array( 8 + 8 ); - _lensFlare.faces = new Uint16Array( 6 ); - - var i = 0; - _lensFlare.vertices[ i++ ] = -1; _lensFlare.vertices[ i++ ] = -1; // vertex - _lensFlare.vertices[ i++ ] = 0; _lensFlare.vertices[ i++ ] = 0; // uv... etc. - - _lensFlare.vertices[ i++ ] = 1; _lensFlare.vertices[ i++ ] = -1; - _lensFlare.vertices[ i++ ] = 1; _lensFlare.vertices[ i++ ] = 0; - - _lensFlare.vertices[ i++ ] = 1; _lensFlare.vertices[ i++ ] = 1; - _lensFlare.vertices[ i++ ] = 1; _lensFlare.vertices[ i++ ] = 1; - - _lensFlare.vertices[ i++ ] = -1; _lensFlare.vertices[ i++ ] = 1; - _lensFlare.vertices[ i++ ] = 0; _lensFlare.vertices[ i++ ] = 1; - - i = 0; - _lensFlare.faces[ i++ ] = 0; _lensFlare.faces[ i++ ] = 1; _lensFlare.faces[ i++ ] = 2; - _lensFlare.faces[ i++ ] = 0; _lensFlare.faces[ i++ ] = 2; _lensFlare.faces[ i++ ] = 3; - - // buffers - - _lensFlare.vertexBuffer = _gl.createBuffer(); - _lensFlare.elementBuffer = _gl.createBuffer(); - - _gl.bindBuffer( _gl.ARRAY_BUFFER, _lensFlare.vertexBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, _lensFlare.vertices, _gl.STATIC_DRAW ); - - _gl.bindBuffer( _gl.ELEMENT_ARRAY_BUFFER, _lensFlare.elementBuffer ); - _gl.bufferData( _gl.ELEMENT_ARRAY_BUFFER, _lensFlare.faces, _gl.STATIC_DRAW ); - - // textures - - _lensFlare.tempTexture = _gl.createTexture(); - _lensFlare.occlusionTexture = _gl.createTexture(); - - _gl.bindTexture( _gl.TEXTURE_2D, _lensFlare.tempTexture ); - _gl.texImage2D( _gl.TEXTURE_2D, 0, _gl.RGB, 16, 16, 0, _gl.RGB, _gl.UNSIGNED_BYTE, null ); - _gl.texParameteri( _gl.TEXTURE_2D, _gl.TEXTURE_WRAP_S, _gl.CLAMP_TO_EDGE ); - _gl.texParameteri( _gl.TEXTURE_2D, _gl.TEXTURE_WRAP_T, _gl.CLAMP_TO_EDGE ); - _gl.texParameteri( _gl.TEXTURE_2D, _gl.TEXTURE_MAG_FILTER, _gl.NEAREST ); - _gl.texParameteri( _gl.TEXTURE_2D, _gl.TEXTURE_MIN_FILTER, _gl.NEAREST ); - - _gl.bindTexture( _gl.TEXTURE_2D, _lensFlare.occlusionTexture ); - _gl.texImage2D( _gl.TEXTURE_2D, 0, _gl.RGBA, 16, 16, 0, _gl.RGBA, _gl.UNSIGNED_BYTE, null ); - _gl.texParameteri( _gl.TEXTURE_2D, _gl.TEXTURE_WRAP_S, _gl.CLAMP_TO_EDGE ); - _gl.texParameteri( _gl.TEXTURE_2D, _gl.TEXTURE_WRAP_T, _gl.CLAMP_TO_EDGE ); - _gl.texParameteri( _gl.TEXTURE_2D, _gl.TEXTURE_MAG_FILTER, _gl.NEAREST ); - _gl.texParameteri( _gl.TEXTURE_2D, _gl.TEXTURE_MIN_FILTER, _gl.NEAREST ); - - if ( _gl.getParameter( _gl.MAX_VERTEX_TEXTURE_IMAGE_UNITS ) <= 0 ) { - - _lensFlare.hasVertexTexture = false; - _lensFlare.program = createProgram( THREE.ShaderFlares[ "lensFlare" ] ); - - } else { - - _lensFlare.hasVertexTexture = true; - _lensFlare.program = createProgram( THREE.ShaderFlares[ "lensFlareVertexTexture" ] ); - - } - - _lensFlare.attributes = {}; - _lensFlare.uniforms = {}; - - _lensFlare.attributes.vertex = _gl.getAttribLocation ( _lensFlare.program, "position" ); - _lensFlare.attributes.uv = _gl.getAttribLocation ( _lensFlare.program, "uv" ); - - _lensFlare.uniforms.renderType = _gl.getUniformLocation( _lensFlare.program, "renderType" ); - _lensFlare.uniforms.map = _gl.getUniformLocation( _lensFlare.program, "map" ); - _lensFlare.uniforms.occlusionMap = _gl.getUniformLocation( _lensFlare.program, "occlusionMap" ); - _lensFlare.uniforms.opacity = _gl.getUniformLocation( _lensFlare.program, "opacity" ); - _lensFlare.uniforms.color = _gl.getUniformLocation( _lensFlare.program, "color" ); - _lensFlare.uniforms.scale = _gl.getUniformLocation( _lensFlare.program, "scale" ); - _lensFlare.uniforms.rotation = _gl.getUniformLocation( _lensFlare.program, "rotation" ); - _lensFlare.uniforms.screenPosition = _gl.getUniformLocation( _lensFlare.program, "screenPosition" ); - - _lensFlare.attributesEnabled = false; - - }; - - - /* - * Render lens flares - * Method: renders 16x16 0xff00ff-colored points scattered over the light source area, - * reads these back and calculates occlusion. - * Then _lensFlare.update_lensFlares() is called to re-position and - * update transparency of flares. Then they are rendered. - * - */ - - this.render = function ( scene, camera, viewportWidth, viewportHeight ) { - - var flares = scene.__webglFlares, - nFlares = flares.length; - - if ( ! nFlares ) return; - - var tempPosition = new THREE.Vector3(); - - var invAspect = viewportHeight / viewportWidth, - halfViewportWidth = viewportWidth * 0.5, - halfViewportHeight = viewportHeight * 0.5; - - var size = 16 / viewportHeight, - scale = new THREE.Vector2( size * invAspect, size ); - - var screenPosition = new THREE.Vector3( 1, 1, 0 ), - screenPositionPixels = new THREE.Vector2( 1, 1 ); - - var uniforms = _lensFlare.uniforms, - attributes = _lensFlare.attributes; - - // set _lensFlare program and reset blending - - _gl.useProgram( _lensFlare.program ); - - if ( ! _lensFlare.attributesEnabled ) { - - _gl.enableVertexAttribArray( _lensFlare.attributes.vertex ); - _gl.enableVertexAttribArray( _lensFlare.attributes.uv ); - - _lensFlare.attributesEnabled = true; - - } - - // loop through all lens flares to update their occlusion and positions - // setup gl and common used attribs/unforms - - _gl.uniform1i( uniforms.occlusionMap, 0 ); - _gl.uniform1i( uniforms.map, 1 ); - - _gl.bindBuffer( _gl.ARRAY_BUFFER, _lensFlare.vertexBuffer ); - _gl.vertexAttribPointer( attributes.vertex, 2, _gl.FLOAT, false, 2 * 8, 0 ); - _gl.vertexAttribPointer( attributes.uv, 2, _gl.FLOAT, false, 2 * 8, 8 ); - - _gl.bindBuffer( _gl.ELEMENT_ARRAY_BUFFER, _lensFlare.elementBuffer ); - - _gl.disable( _gl.CULL_FACE ); - _gl.depthMask( false ); - - var i, j, jl, flare, sprite; - - for ( i = 0; i < nFlares; i ++ ) { - - size = 16 / viewportHeight; - scale.set( size * invAspect, size ); - - // calc object screen position - - flare = flares[ i ]; - - tempPosition.set( flare.matrixWorld.elements[12], flare.matrixWorld.elements[13], flare.matrixWorld.elements[14] ); - - camera.matrixWorldInverse.multiplyVector3( tempPosition ); - camera.projectionMatrix.multiplyVector3( tempPosition ); - - // setup arrays for gl programs - - screenPosition.copy( tempPosition ) - - screenPositionPixels.x = screenPosition.x * halfViewportWidth + halfViewportWidth; - screenPositionPixels.y = screenPosition.y * halfViewportHeight + halfViewportHeight; - - // screen cull - - if ( _lensFlare.hasVertexTexture || ( - screenPositionPixels.x > 0 && - screenPositionPixels.x < viewportWidth && - screenPositionPixels.y > 0 && - screenPositionPixels.y < viewportHeight ) ) { - - // save current RGB to temp texture - - _gl.activeTexture( _gl.TEXTURE1 ); - _gl.bindTexture( _gl.TEXTURE_2D, _lensFlare.tempTexture ); - _gl.copyTexImage2D( _gl.TEXTURE_2D, 0, _gl.RGB, screenPositionPixels.x - 8, screenPositionPixels.y - 8, 16, 16, 0 ); - - - // render pink quad - - _gl.uniform1i( uniforms.renderType, 0 ); - _gl.uniform2f( uniforms.scale, scale.x, scale.y ); - _gl.uniform3f( uniforms.screenPosition, screenPosition.x, screenPosition.y, screenPosition.z ); - - _gl.disable( _gl.BLEND ); - _gl.enable( _gl.DEPTH_TEST ); - - _gl.drawElements( _gl.TRIANGLES, 6, _gl.UNSIGNED_SHORT, 0 ); - - - // copy result to occlusionMap - - _gl.activeTexture( _gl.TEXTURE0 ); - _gl.bindTexture( _gl.TEXTURE_2D, _lensFlare.occlusionTexture ); - _gl.copyTexImage2D( _gl.TEXTURE_2D, 0, _gl.RGBA, screenPositionPixels.x - 8, screenPositionPixels.y - 8, 16, 16, 0 ); - - - // restore graphics - - _gl.uniform1i( uniforms.renderType, 1 ); - _gl.disable( _gl.DEPTH_TEST ); - - _gl.activeTexture( _gl.TEXTURE1 ); - _gl.bindTexture( _gl.TEXTURE_2D, _lensFlare.tempTexture ); - _gl.drawElements( _gl.TRIANGLES, 6, _gl.UNSIGNED_SHORT, 0 ); - - - // update object positions - - flare.positionScreen.copy( screenPosition ) - - if ( flare.customUpdateCallback ) { - - flare.customUpdateCallback( flare ); - - } else { - - flare.updateLensFlares(); - - } - - // render flares - - _gl.uniform1i( uniforms.renderType, 2 ); - _gl.enable( _gl.BLEND ); - - for ( j = 0, jl = flare.lensFlares.length; j < jl; j ++ ) { - - sprite = flare.lensFlares[ j ]; - - if ( sprite.opacity > 0.001 && sprite.scale > 0.001 ) { - - screenPosition.x = sprite.x; - screenPosition.y = sprite.y; - screenPosition.z = sprite.z; - - size = sprite.size * sprite.scale / viewportHeight; - - scale.x = size * invAspect; - scale.y = size; - - _gl.uniform3f( uniforms.screenPosition, screenPosition.x, screenPosition.y, screenPosition.z ); - _gl.uniform2f( uniforms.scale, scale.x, scale.y ); - _gl.uniform1f( uniforms.rotation, sprite.rotation ); - - _gl.uniform1f( uniforms.opacity, sprite.opacity ); - _gl.uniform3f( uniforms.color, sprite.color.r, sprite.color.g, sprite.color.b ); - - _renderer.setBlending( sprite.blending, sprite.blendEquation, sprite.blendSrc, sprite.blendDst ); - _renderer.setTexture( sprite.texture, 1 ); - - _gl.drawElements( _gl.TRIANGLES, 6, _gl.UNSIGNED_SHORT, 0 ); - - } - - } - - } - - } - - // restore gl - - _gl.enable( _gl.CULL_FACE ); - _gl.enable( _gl.DEPTH_TEST ); - _gl.depthMask( true ); - - }; - - function createProgram ( shader ) { - - var program = _gl.createProgram(); - - var fragmentShader = _gl.createShader( _gl.FRAGMENT_SHADER ); - var vertexShader = _gl.createShader( _gl.VERTEX_SHADER ); - - _gl.shaderSource( fragmentShader, shader.fragmentShader ); - _gl.shaderSource( vertexShader, shader.vertexShader ); - - _gl.compileShader( fragmentShader ); - _gl.compileShader( vertexShader ); - - _gl.attachShader( program, fragmentShader ); - _gl.attachShader( program, vertexShader ); - - _gl.linkProgram( program ); - - return program; - - }; - -};/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.ShadowMapPlugin = function ( ) { - - var _gl, - _renderer, - _depthMaterial, _depthMaterialMorph, _depthMaterialSkin, _depthMaterialMorphSkin, - - _frustum = new THREE.Frustum(), - _projScreenMatrix = new THREE.Matrix4(), - - _min = new THREE.Vector3(), - _max = new THREE.Vector3(); - - this.init = function ( renderer ) { - - _gl = renderer.context; - _renderer = renderer; - - var depthShader = THREE.ShaderLib[ "depthRGBA" ]; - var depthUniforms = THREE.UniformsUtils.clone( depthShader.uniforms ); - - _depthMaterial = new THREE.ShaderMaterial( { fragmentShader: depthShader.fragmentShader, vertexShader: depthShader.vertexShader, uniforms: depthUniforms } ); - _depthMaterialMorph = new THREE.ShaderMaterial( { fragmentShader: depthShader.fragmentShader, vertexShader: depthShader.vertexShader, uniforms: depthUniforms, morphTargets: true } ); - _depthMaterialSkin = new THREE.ShaderMaterial( { fragmentShader: depthShader.fragmentShader, vertexShader: depthShader.vertexShader, uniforms: depthUniforms, skinning: true } ); - _depthMaterialMorphSkin = new THREE.ShaderMaterial( { fragmentShader: depthShader.fragmentShader, vertexShader: depthShader.vertexShader, uniforms: depthUniforms, morphTargets: true, skinning: true } ); - - _depthMaterial._shadowPass = true; - _depthMaterialMorph._shadowPass = true; - _depthMaterialSkin._shadowPass = true; - _depthMaterialMorphSkin._shadowPass = true; - - }; - - this.render = function ( scene, camera ) { - - if ( ! ( _renderer.shadowMapEnabled && _renderer.shadowMapAutoUpdate ) ) return; - - this.update( scene, camera ); - - }; - - this.update = function ( scene, camera ) { - - var i, il, j, jl, n, - - shadowMap, shadowMatrix, shadowCamera, - program, buffer, material, - webglObject, object, light, - renderList, - - lights = [], - k = 0, - - fog = null; - - // set GL state for depth map - - _gl.clearColor( 1, 1, 1, 1 ); - _gl.disable( _gl.BLEND ); - - _gl.enable( _gl.CULL_FACE ); - _gl.frontFace( _gl.CCW ); - - if ( _renderer.shadowMapCullFrontFaces ) { - - _gl.cullFace( _gl.FRONT ); - - } else { - - _gl.cullFace( _gl.BACK ); - - } - - _renderer.setDepthTest( true ); - - // preprocess lights - // - skip lights that are not casting shadows - // - create virtual lights for cascaded shadow maps - - for ( i = 0, il = scene.__lights.length; i < il; i ++ ) { - - light = scene.__lights[ i ]; - - if ( ! light.castShadow ) continue; - - if ( ( light instanceof THREE.DirectionalLight ) && light.shadowCascade ) { - - for ( n = 0; n < light.shadowCascadeCount; n ++ ) { - - var virtualLight; - - if ( ! light.shadowCascadeArray[ n ] ) { - - virtualLight = createVirtualLight( light, n ); - virtualLight.originalCamera = camera; - - var gyro = new THREE.Gyroscope(); - gyro.position = light.shadowCascadeOffset; - - gyro.add( virtualLight ); - gyro.add( virtualLight.target ); - - camera.add( gyro ); - - light.shadowCascadeArray[ n ] = virtualLight; - - console.log( "Created virtualLight", virtualLight ); - - } else { - - virtualLight = light.shadowCascadeArray[ n ]; - - } - - updateVirtualLight( light, n ); - - lights[ k ] = virtualLight; - k ++; - - } - - } else { - - lights[ k ] = light; - k ++; - - } - - } - - // render depth map - - for ( i = 0, il = lights.length; i < il; i ++ ) { - - light = lights[ i ]; - - if ( ! light.shadowMap ) { - - var pars = { minFilter: THREE.LinearFilter, magFilter: THREE.LinearFilter, format: THREE.RGBAFormat }; - - light.shadowMap = new THREE.WebGLRenderTarget( light.shadowMapWidth, light.shadowMapHeight, pars ); - light.shadowMapSize = new THREE.Vector2( light.shadowMapWidth, light.shadowMapHeight ); - - light.shadowMatrix = new THREE.Matrix4(); - - } - - if ( ! light.shadowCamera ) { - - if ( light instanceof THREE.SpotLight ) { - - light.shadowCamera = new THREE.PerspectiveCamera( light.shadowCameraFov, light.shadowMapWidth / light.shadowMapHeight, light.shadowCameraNear, light.shadowCameraFar ); - - } else if ( light instanceof THREE.DirectionalLight ) { - - light.shadowCamera = new THREE.OrthographicCamera( light.shadowCameraLeft, light.shadowCameraRight, light.shadowCameraTop, light.shadowCameraBottom, light.shadowCameraNear, light.shadowCameraFar ); - - } else { - - console.error( "Unsupported light type for shadow" ); - continue; - - } - - scene.add( light.shadowCamera ); - - if ( _renderer.autoUpdateScene ) scene.updateMatrixWorld(); - - } - - if ( light.shadowCameraVisible && ! light.cameraHelper ) { - - light.cameraHelper = new THREE.CameraHelper( light.shadowCamera ); - light.shadowCamera.add( light.cameraHelper ); - - } - - if ( light.isVirtual && virtualLight.originalCamera == camera ) { - - updateShadowCamera( camera, light ); - - } - - shadowMap = light.shadowMap; - shadowMatrix = light.shadowMatrix; - shadowCamera = light.shadowCamera; - - shadowCamera.position.copy( light.matrixWorld.getPosition() ); - shadowCamera.lookAt( light.target.matrixWorld.getPosition() ); - shadowCamera.updateMatrixWorld(); - - shadowCamera.matrixWorldInverse.getInverse( shadowCamera.matrixWorld ); - - if ( light.cameraHelper ) light.cameraHelper.visible = light.shadowCameraVisible; - if ( light.shadowCameraVisible ) light.cameraHelper.update(); - - // compute shadow matrix - - shadowMatrix.set( 0.5, 0.0, 0.0, 0.5, - 0.0, 0.5, 0.0, 0.5, - 0.0, 0.0, 0.5, 0.5, - 0.0, 0.0, 0.0, 1.0 ); - - shadowMatrix.multiplySelf( shadowCamera.projectionMatrix ); - shadowMatrix.multiplySelf( shadowCamera.matrixWorldInverse ); - - // update camera matrices and frustum - - if ( ! shadowCamera._viewMatrixArray ) shadowCamera._viewMatrixArray = new Float32Array( 16 ); - if ( ! shadowCamera._projectionMatrixArray ) shadowCamera._projectionMatrixArray = new Float32Array( 16 ); - - shadowCamera.matrixWorldInverse.flattenToArray( shadowCamera._viewMatrixArray ); - shadowCamera.projectionMatrix.flattenToArray( shadowCamera._projectionMatrixArray ); - - _projScreenMatrix.multiply( shadowCamera.projectionMatrix, shadowCamera.matrixWorldInverse ); - _frustum.setFromMatrix( _projScreenMatrix ); - - // render shadow map - - _renderer.setRenderTarget( shadowMap ); - _renderer.clear(); - - // set object matrices & frustum culling - - renderList = scene.__webglObjects; - - for ( j = 0, jl = renderList.length; j < jl; j ++ ) { - - webglObject = renderList[ j ]; - object = webglObject.object; - - webglObject.render = false; - - if ( object.visible && object.castShadow ) { - - if ( ! ( object instanceof THREE.Mesh ) || ! ( object.frustumCulled ) || _frustum.contains( object ) ) { - - object._modelViewMatrix.multiply( shadowCamera.matrixWorldInverse, object.matrixWorld ); - - webglObject.render = true; - - } - - } - - } - - // render regular objects - - var objectMaterial, useMorphing, useSkinning; - - for ( j = 0, jl = renderList.length; j < jl; j ++ ) { - - webglObject = renderList[ j ]; - - if ( webglObject.render ) { - - object = webglObject.object; - buffer = webglObject.buffer; - - // culling is overriden globally for all objects - // while rendering depth map - - // need to deal with MeshFaceMaterial somehow - // in that case just use the first of geometry.materials for now - // (proper solution would require to break objects by materials - // similarly to regular rendering and then set corresponding - // depth materials per each chunk instead of just once per object) - - objectMaterial = getObjectMaterial( object ); - - useMorphing = object.geometry.morphTargets.length > 0 && objectMaterial.morphTargets; - useSkinning = object instanceof THREE.SkinnedMesh && objectMaterial.skinning; - - if ( object.customDepthMaterial ) { - - material = object.customDepthMaterial; - - } else if ( useSkinning ) { - - material = useMorphing ? _depthMaterialMorphSkin : _depthMaterialSkin; - - } else if ( useMorphing ) { - - material = _depthMaterialMorph; - - } else { - - material = _depthMaterial; - - } - - if ( buffer instanceof THREE.BufferGeometry ) { - - _renderer.renderBufferDirect( shadowCamera, scene.__lights, fog, material, buffer, object ); - - } else { - - _renderer.renderBuffer( shadowCamera, scene.__lights, fog, material, buffer, object ); - - } - - } - - } - - // set matrices and render immediate objects - - renderList = scene.__webglObjectsImmediate; - - for ( j = 0, jl = renderList.length; j < jl; j ++ ) { - - webglObject = renderList[ j ]; - object = webglObject.object; - - if ( object.visible && object.castShadow ) { - - object._modelViewMatrix.multiply( shadowCamera.matrixWorldInverse, object.matrixWorld ); - - _renderer.renderImmediateObject( shadowCamera, scene.__lights, fog, _depthMaterial, object ); - - } - - } - - } - - // restore GL state - - var clearColor = _renderer.getClearColor(), - clearAlpha = _renderer.getClearAlpha(); - - _gl.clearColor( clearColor.r, clearColor.g, clearColor.b, clearAlpha ); - _gl.enable( _gl.BLEND ); - - if ( _renderer.shadowMapCullFrontFaces ) { - - _gl.cullFace( _gl.BACK ); - - } - - }; - - function createVirtualLight( light, cascade ) { - - var virtualLight = new THREE.DirectionalLight(); - - virtualLight.isVirtual = true; - - virtualLight.onlyShadow = true; - virtualLight.castShadow = true; - - virtualLight.shadowCameraNear = light.shadowCameraNear; - virtualLight.shadowCameraFar = light.shadowCameraFar; - - virtualLight.shadowCameraLeft = light.shadowCameraLeft; - virtualLight.shadowCameraRight = light.shadowCameraRight; - virtualLight.shadowCameraBottom = light.shadowCameraBottom; - virtualLight.shadowCameraTop = light.shadowCameraTop; - - virtualLight.shadowCameraVisible = light.shadowCameraVisible; - - virtualLight.shadowDarkness = light.shadowDarkness; - - virtualLight.shadowBias = light.shadowCascadeBias[ cascade ]; - virtualLight.shadowMapWidth = light.shadowCascadeWidth[ cascade ]; - virtualLight.shadowMapHeight = light.shadowCascadeHeight[ cascade ]; - - virtualLight.pointsWorld = []; - virtualLight.pointsFrustum = []; - - var pointsWorld = virtualLight.pointsWorld, - pointsFrustum = virtualLight.pointsFrustum; - - for ( var i = 0; i < 8; i ++ ) { - - pointsWorld[ i ] = new THREE.Vector3(); - pointsFrustum[ i ] = new THREE.Vector3(); - - } - - var nearZ = light.shadowCascadeNearZ[ cascade ]; - var farZ = light.shadowCascadeFarZ[ cascade ]; - - pointsFrustum[ 0 ].set( -1, -1, nearZ ); - pointsFrustum[ 1 ].set( 1, -1, nearZ ); - pointsFrustum[ 2 ].set( -1, 1, nearZ ); - pointsFrustum[ 3 ].set( 1, 1, nearZ ); - - pointsFrustum[ 4 ].set( -1, -1, farZ ); - pointsFrustum[ 5 ].set( 1, -1, farZ ); - pointsFrustum[ 6 ].set( -1, 1, farZ ); - pointsFrustum[ 7 ].set( 1, 1, farZ ); - - return virtualLight; - - } - - // Synchronize virtual light with the original light - - function updateVirtualLight( light, cascade ) { - - var virtualLight = light.shadowCascadeArray[ cascade ]; - - virtualLight.position.copy( light.position ); - virtualLight.target.position.copy( light.target.position ); - virtualLight.lookAt( virtualLight.target ); - - virtualLight.shadowCameraVisible = light.shadowCameraVisible; - virtualLight.shadowDarkness = light.shadowDarkness; - - virtualLight.shadowBias = light.shadowCascadeBias[ cascade ]; - - var nearZ = light.shadowCascadeNearZ[ cascade ]; - var farZ = light.shadowCascadeFarZ[ cascade ]; - - var pointsFrustum = virtualLight.pointsFrustum; - - pointsFrustum[ 0 ].z = nearZ; - pointsFrustum[ 1 ].z = nearZ; - pointsFrustum[ 2 ].z = nearZ; - pointsFrustum[ 3 ].z = nearZ; - - pointsFrustum[ 4 ].z = farZ; - pointsFrustum[ 5 ].z = farZ; - pointsFrustum[ 6 ].z = farZ; - pointsFrustum[ 7 ].z = farZ; - - } - - // Fit shadow camera's ortho frustum to camera frustum - - function updateShadowCamera( camera, light ) { - - var shadowCamera = light.shadowCamera, - pointsFrustum = light.pointsFrustum, - pointsWorld = light.pointsWorld; - - _min.set( Infinity, Infinity, Infinity ); - _max.set( -Infinity, -Infinity, -Infinity ); - - for ( var i = 0; i < 8; i ++ ) { - - var p = pointsWorld[ i ]; - - p.copy( pointsFrustum[ i ] ); - THREE.ShadowMapPlugin.__projector.unprojectVector( p, camera ); - - shadowCamera.matrixWorldInverse.multiplyVector3( p ); - - if ( p.x < _min.x ) _min.x = p.x; - if ( p.x > _max.x ) _max.x = p.x; - - if ( p.y < _min.y ) _min.y = p.y; - if ( p.y > _max.y ) _max.y = p.y; - - if ( p.z < _min.z ) _min.z = p.z; - if ( p.z > _max.z ) _max.z = p.z; - - } - - shadowCamera.left = _min.x; - shadowCamera.right = _max.x; - shadowCamera.top = _max.y; - shadowCamera.bottom = _min.y; - - // can't really fit near/far - //shadowCamera.near = _min.z; - //shadowCamera.far = _max.z; - - shadowCamera.updateProjectionMatrix(); - - } - - // For the moment just ignore objects that have multiple materials with different animation methods - // Only the first material will be taken into account for deciding which depth material to use for shadow maps - - function getObjectMaterial( object ) { - - return object.material instanceof THREE.MeshFaceMaterial ? object.geometry.materials[ 0 ] : object.material; - - } - -}; - -THREE.ShadowMapPlugin.__projector = new THREE.Projector(); -/** - * @author mikael emtinger / http://gomo.se/ - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.SpritePlugin = function ( ) { - - var _gl, _renderer, _sprite = {}; - - this.init = function ( renderer ) { - - _gl = renderer.context; - _renderer = renderer; - - _sprite.vertices = new Float32Array( 8 + 8 ); - _sprite.faces = new Uint16Array( 6 ); - - var i = 0; - - _sprite.vertices[ i++ ] = -1; _sprite.vertices[ i++ ] = -1; // vertex 0 - _sprite.vertices[ i++ ] = 0; _sprite.vertices[ i++ ] = 0; // uv 0 - - _sprite.vertices[ i++ ] = 1; _sprite.vertices[ i++ ] = -1; // vertex 1 - _sprite.vertices[ i++ ] = 1; _sprite.vertices[ i++ ] = 0; // uv 1 - - _sprite.vertices[ i++ ] = 1; _sprite.vertices[ i++ ] = 1; // vertex 2 - _sprite.vertices[ i++ ] = 1; _sprite.vertices[ i++ ] = 1; // uv 2 - - _sprite.vertices[ i++ ] = -1; _sprite.vertices[ i++ ] = 1; // vertex 3 - _sprite.vertices[ i++ ] = 0; _sprite.vertices[ i++ ] = 1; // uv 3 - - i = 0; - - _sprite.faces[ i++ ] = 0; _sprite.faces[ i++ ] = 1; _sprite.faces[ i++ ] = 2; - _sprite.faces[ i++ ] = 0; _sprite.faces[ i++ ] = 2; _sprite.faces[ i++ ] = 3; - - _sprite.vertexBuffer = _gl.createBuffer(); - _sprite.elementBuffer = _gl.createBuffer(); - - _gl.bindBuffer( _gl.ARRAY_BUFFER, _sprite.vertexBuffer ); - _gl.bufferData( _gl.ARRAY_BUFFER, _sprite.vertices, _gl.STATIC_DRAW ); - - _gl.bindBuffer( _gl.ELEMENT_ARRAY_BUFFER, _sprite.elementBuffer ); - _gl.bufferData( _gl.ELEMENT_ARRAY_BUFFER, _sprite.faces, _gl.STATIC_DRAW ); - - _sprite.program = createProgram( THREE.ShaderSprite[ "sprite" ] ); - - _sprite.attributes = {}; - _sprite.uniforms = {}; - - _sprite.attributes.position = _gl.getAttribLocation ( _sprite.program, "position" ); - _sprite.attributes.uv = _gl.getAttribLocation ( _sprite.program, "uv" ); - - _sprite.uniforms.uvOffset = _gl.getUniformLocation( _sprite.program, "uvOffset" ); - _sprite.uniforms.uvScale = _gl.getUniformLocation( _sprite.program, "uvScale" ); - - _sprite.uniforms.rotation = _gl.getUniformLocation( _sprite.program, "rotation" ); - _sprite.uniforms.scale = _gl.getUniformLocation( _sprite.program, "scale" ); - _sprite.uniforms.alignment = _gl.getUniformLocation( _sprite.program, "alignment" ); - - _sprite.uniforms.color = _gl.getUniformLocation( _sprite.program, "color" ); - _sprite.uniforms.map = _gl.getUniformLocation( _sprite.program, "map" ); - _sprite.uniforms.opacity = _gl.getUniformLocation( _sprite.program, "opacity" ); - - _sprite.uniforms.useScreenCoordinates = _gl.getUniformLocation( _sprite.program, "useScreenCoordinates" ); - _sprite.uniforms.affectedByDistance = _gl.getUniformLocation( _sprite.program, "affectedByDistance" ); - _sprite.uniforms.screenPosition = _gl.getUniformLocation( _sprite.program, "screenPosition" ); - _sprite.uniforms.modelViewMatrix = _gl.getUniformLocation( _sprite.program, "modelViewMatrix" ); - _sprite.uniforms.projectionMatrix = _gl.getUniformLocation( _sprite.program, "projectionMatrix" ); - - _sprite.attributesEnabled = false; - - }; - - this.render = function ( scene, camera, viewportWidth, viewportHeight ) { - - var sprites = scene.__webglSprites, - nSprites = sprites.length; - - if ( ! nSprites ) return; - - var attributes = _sprite.attributes, - uniforms = _sprite.uniforms; - - var invAspect = viewportHeight / viewportWidth; - - var halfViewportWidth = viewportWidth * 0.5, - halfViewportHeight = viewportHeight * 0.5; - - var mergeWith3D = true; - - // setup gl - - _gl.useProgram( _sprite.program ); - - if ( ! _sprite.attributesEnabled ) { - - _gl.enableVertexAttribArray( attributes.position ); - _gl.enableVertexAttribArray( attributes.uv ); - - _sprite.attributesEnabled = true; - - } - - _gl.disable( _gl.CULL_FACE ); - _gl.enable( _gl.BLEND ); - _gl.depthMask( true ); - - _gl.bindBuffer( _gl.ARRAY_BUFFER, _sprite.vertexBuffer ); - _gl.vertexAttribPointer( attributes.position, 2, _gl.FLOAT, false, 2 * 8, 0 ); - _gl.vertexAttribPointer( attributes.uv, 2, _gl.FLOAT, false, 2 * 8, 8 ); - - _gl.bindBuffer( _gl.ELEMENT_ARRAY_BUFFER, _sprite.elementBuffer ); - - _gl.uniformMatrix4fv( uniforms.projectionMatrix, false, camera._projectionMatrixArray ); - - _gl.activeTexture( _gl.TEXTURE0 ); - _gl.uniform1i( uniforms.map, 0 ); - - // update positions and sort - - var i, sprite, screenPosition, size, scale = []; - - for( i = 0; i < nSprites; i ++ ) { - - sprite = sprites[ i ]; - - if ( ! sprite.visible || sprite.opacity === 0 ) continue; - - if( ! sprite.useScreenCoordinates ) { - - sprite._modelViewMatrix.multiply( camera.matrixWorldInverse, sprite.matrixWorld ); - sprite.z = - sprite._modelViewMatrix.elements[14]; - - } else { - - sprite.z = - sprite.position.z; - - } - - } - - sprites.sort( painterSort ); - - // render all sprites - - for( i = 0; i < nSprites; i ++ ) { - - sprite = sprites[ i ]; - - if ( ! sprite.visible || sprite.opacity === 0 ) continue; - - if ( sprite.map && sprite.map.image && sprite.map.image.width ) { - - if ( sprite.useScreenCoordinates ) { - - _gl.uniform1i( uniforms.useScreenCoordinates, 1 ); - _gl.uniform3f( - uniforms.screenPosition, - ( sprite.position.x - halfViewportWidth ) / halfViewportWidth, - ( halfViewportHeight - sprite.position.y ) / halfViewportHeight, - Math.max( 0, Math.min( 1, sprite.position.z ) ) - ); - - } else { - - _gl.uniform1i( uniforms.useScreenCoordinates, 0 ); - _gl.uniform1i( uniforms.affectedByDistance, sprite.affectedByDistance ? 1 : 0 ); - _gl.uniformMatrix4fv( uniforms.modelViewMatrix, false, sprite._modelViewMatrix.elements ); - - } - - size = sprite.map.image.width / ( sprite.scaleByViewport ? viewportHeight : 1 ); - - scale[ 0 ] = size * invAspect * sprite.scale.x; - scale[ 1 ] = size * sprite.scale.y; - - _gl.uniform2f( uniforms.uvScale, sprite.uvScale.x, sprite.uvScale.y ); - _gl.uniform2f( uniforms.uvOffset, sprite.uvOffset.x, sprite.uvOffset.y ); - _gl.uniform2f( uniforms.alignment, sprite.alignment.x, sprite.alignment.y ); - - _gl.uniform1f( uniforms.opacity, sprite.opacity ); - _gl.uniform3f( uniforms.color, sprite.color.r, sprite.color.g, sprite.color.b ); - - _gl.uniform1f( uniforms.rotation, sprite.rotation ); - _gl.uniform2fv( uniforms.scale, scale ); - - if ( sprite.mergeWith3D && !mergeWith3D ) { - - _gl.enable( _gl.DEPTH_TEST ); - mergeWith3D = true; - - } else if ( ! sprite.mergeWith3D && mergeWith3D ) { - - _gl.disable( _gl.DEPTH_TEST ); - mergeWith3D = false; - - } - - _renderer.setBlending( sprite.blending, sprite.blendEquation, sprite.blendSrc, sprite.blendDst ); - _renderer.setTexture( sprite.map, 0 ); - - _gl.drawElements( _gl.TRIANGLES, 6, _gl.UNSIGNED_SHORT, 0 ); - - } - - } - - // restore gl - - _gl.enable( _gl.CULL_FACE ); - _gl.enable( _gl.DEPTH_TEST ); - _gl.depthMask( true ); - - }; - - function createProgram ( shader ) { - - var program = _gl.createProgram(); - - var fragmentShader = _gl.createShader( _gl.FRAGMENT_SHADER ); - var vertexShader = _gl.createShader( _gl.VERTEX_SHADER ); - - _gl.shaderSource( fragmentShader, shader.fragmentShader ); - _gl.shaderSource( vertexShader, shader.vertexShader ); - - _gl.compileShader( fragmentShader ); - _gl.compileShader( vertexShader ); - - _gl.attachShader( program, fragmentShader ); - _gl.attachShader( program, vertexShader ); - - _gl.linkProgram( program ); - - return program; - - }; - - function painterSort ( a, b ) { - - return b.z - a.z; - - }; - -}; -/** - * @author alteredq / http://alteredqualia.com/ - */ - -THREE.DepthPassPlugin = function ( ) { - - this.enabled = false; - this.renderTarget = null; - - var _gl, - _renderer, - _depthMaterial, _depthMaterialMorph, - - _frustum = new THREE.Frustum(), - _projScreenMatrix = new THREE.Matrix4(); - - this.init = function ( renderer ) { - - _gl = renderer.context; - _renderer = renderer; - - var depthShader = THREE.ShaderLib[ "depthRGBA" ]; - var depthUniforms = THREE.UniformsUtils.clone( depthShader.uniforms ); - - _depthMaterial = new THREE.ShaderMaterial( { fragmentShader: depthShader.fragmentShader, vertexShader: depthShader.vertexShader, uniforms: depthUniforms } ); - _depthMaterialMorph = new THREE.ShaderMaterial( { fragmentShader: depthShader.fragmentShader, vertexShader: depthShader.vertexShader, uniforms: depthUniforms, morphTargets: true } ); - - _depthMaterial._shadowPass = true; - _depthMaterialMorph._shadowPass = true; - - }; - - this.render = function ( scene, camera ) { - - if ( ! this.enabled ) return; - - this.update( scene, camera ); - - }; - - this.update = function ( scene, camera ) { - - var i, il, j, jl, n, - - program, buffer, material, - webglObject, object, light, - renderList, - - fog = null; - - // set GL state for depth map - - _gl.clearColor( 1, 1, 1, 1 ); - _gl.disable( _gl.BLEND ); - - _renderer.setDepthTest( true ); - - // update scene - - if ( _renderer.autoUpdateScene ) scene.updateMatrixWorld(); - - // update camera matrices and frustum - - if ( ! camera._viewMatrixArray ) camera._viewMatrixArray = new Float32Array( 16 ); - if ( ! camera._projectionMatrixArray ) camera._projectionMatrixArray = new Float32Array( 16 ); - - camera.matrixWorldInverse.getInverse( camera.matrixWorld ); - - camera.matrixWorldInverse.flattenToArray( camera._viewMatrixArray ); - camera.projectionMatrix.flattenToArray( camera._projectionMatrixArray ); - - _projScreenMatrix.multiply( camera.projectionMatrix, camera.matrixWorldInverse ); - _frustum.setFromMatrix( _projScreenMatrix ); - - // render depth map - - _renderer.setRenderTarget( this.renderTarget ); - _renderer.clear(); - - // set object matrices & frustum culling - - renderList = scene.__webglObjects; - - for ( j = 0, jl = renderList.length; j < jl; j ++ ) { - - webglObject = renderList[ j ]; - object = webglObject.object; - - webglObject.render = false; - - if ( object.visible ) { - - if ( ! ( object instanceof THREE.Mesh ) || ! ( object.frustumCulled ) || _frustum.contains( object ) ) { - - //object.matrixWorld.flattenToArray( object._modelMatrixArray ); - object._modelViewMatrix.multiply( camera.matrixWorldInverse, object.matrixWorld); - - webglObject.render = true; - - } - - } - - } - - // render regular objects - - for ( j = 0, jl = renderList.length; j < jl; j ++ ) { - - webglObject = renderList[ j ]; - - if ( webglObject.render ) { - - object = webglObject.object; - buffer = webglObject.buffer; - - if ( object.material ) _renderer.setMaterialFaces( object.material ); - - if ( object.customDepthMaterial ) { - - material = object.customDepthMaterial; - - } else if ( object.geometry.morphTargets.length ) { - - material = _depthMaterialMorph; - - } else { - - material = _depthMaterial; - - } - - if ( buffer instanceof THREE.BufferGeometry ) { - - _renderer.renderBufferDirect( camera, scene.__lights, fog, material, buffer, object ); - - } else { - - _renderer.renderBuffer( camera, scene.__lights, fog, material, buffer, object ); - - } - - } - - } - - // set matrices and render immediate objects - - renderList = scene.__webglObjectsImmediate; - - for ( j = 0, jl = renderList.length; j < jl; j ++ ) { - - webglObject = renderList[ j ]; - object = webglObject.object; - - if ( object.visible && object.castShadow ) { - - /* - if ( object.matrixAutoUpdate ) { - - object.matrixWorld.flattenToArray( object._modelMatrixArray ); - - } - */ - - object._modelViewMatrix.multiply( camera.matrixWorldInverse, object.matrixWorld); - - _renderer.renderImmediateObject( camera, scene.__lights, fog, _depthMaterial, object ); - - } - - } - - // restore GL state - - var clearColor = _renderer.getClearColor(), - clearAlpha = _renderer.getClearAlpha(); - - _gl.clearColor( clearColor.r, clearColor.g, clearColor.b, clearAlpha ); - _gl.enable( _gl.BLEND ); - - }; - -}; - -/** - * @author mikael emtinger / http://gomo.se/ - * - */ - -THREE.ShaderFlares = { - - 'lensFlareVertexTexture': { - - vertexShader: [ - - "uniform vec3 screenPosition;", - "uniform vec2 scale;", - "uniform float rotation;", - "uniform int renderType;", - - "uniform sampler2D occlusionMap;", - - "attribute vec2 position;", - "attribute vec2 uv;", - - "varying vec2 vUV;", - "varying float vVisibility;", - - "void main() {", - - "vUV = uv;", - - "vec2 pos = position;", - - "if( renderType == 2 ) {", - - "vec4 visibility = texture2D( occlusionMap, vec2( 0.1, 0.1 ) ) +", - "texture2D( occlusionMap, vec2( 0.5, 0.1 ) ) +", - "texture2D( occlusionMap, vec2( 0.9, 0.1 ) ) +", - "texture2D( occlusionMap, vec2( 0.9, 0.5 ) ) +", - "texture2D( occlusionMap, vec2( 0.9, 0.9 ) ) +", - "texture2D( occlusionMap, vec2( 0.5, 0.9 ) ) +", - "texture2D( occlusionMap, vec2( 0.1, 0.9 ) ) +", - "texture2D( occlusionMap, vec2( 0.1, 0.5 ) ) +", - "texture2D( occlusionMap, vec2( 0.5, 0.5 ) );", - - "vVisibility = ( visibility.r / 9.0 ) *", - "( 1.0 - visibility.g / 9.0 ) *", - "( visibility.b / 9.0 ) *", - "( 1.0 - visibility.a / 9.0 );", - - "pos.x = cos( rotation ) * position.x - sin( rotation ) * position.y;", - "pos.y = sin( rotation ) * position.x + cos( rotation ) * position.y;", - - "}", - - "gl_Position = vec4( ( pos * scale + screenPosition.xy ).xy, screenPosition.z, 1.0 );", - - "}" - - ].join( "\n" ), - - fragmentShader: [ - - "precision mediump float;", - - "uniform sampler2D map;", - "uniform float opacity;", - "uniform int renderType;", - "uniform vec3 color;", - - "varying vec2 vUV;", - "varying float vVisibility;", - - "void main() {", - - // pink square - - "if( renderType == 0 ) {", - - "gl_FragColor = vec4( 1.0, 0.0, 1.0, 0.0 );", - - // restore - - "} else if( renderType == 1 ) {", - - "gl_FragColor = texture2D( map, vUV );", - - // flare - - "} else {", - - "vec4 texture = texture2D( map, vUV );", - "texture.a *= opacity * vVisibility;", - "gl_FragColor = texture;", - "gl_FragColor.rgb *= color;", - - "}", - - "}" - ].join( "\n" ) - - }, - - - 'lensFlare': { - - vertexShader: [ - - "uniform vec3 screenPosition;", - "uniform vec2 scale;", - "uniform float rotation;", - "uniform int renderType;", - - "attribute vec2 position;", - "attribute vec2 uv;", - - "varying vec2 vUV;", - - "void main() {", - - "vUV = uv;", - - "vec2 pos = position;", - - "if( renderType == 2 ) {", - - "pos.x = cos( rotation ) * position.x - sin( rotation ) * position.y;", - "pos.y = sin( rotation ) * position.x + cos( rotation ) * position.y;", - - "}", - - "gl_Position = vec4( ( pos * scale + screenPosition.xy ).xy, screenPosition.z, 1.0 );", - - "}" - - ].join( "\n" ), - - fragmentShader: [ - - "precision mediump float;", - - "uniform sampler2D map;", - "uniform sampler2D occlusionMap;", - "uniform float opacity;", - "uniform int renderType;", - "uniform vec3 color;", - - "varying vec2 vUV;", - - "void main() {", - - // pink square - - "if( renderType == 0 ) {", - - "gl_FragColor = vec4( texture2D( map, vUV ).rgb, 0.0 );", - - // restore - - "} else if( renderType == 1 ) {", - - "gl_FragColor = texture2D( map, vUV );", - - // flare - - "} else {", - - "float visibility = texture2D( occlusionMap, vec2( 0.5, 0.1 ) ).a +", - "texture2D( occlusionMap, vec2( 0.9, 0.5 ) ).a +", - "texture2D( occlusionMap, vec2( 0.5, 0.9 ) ).a +", - "texture2D( occlusionMap, vec2( 0.1, 0.5 ) ).a;", - - "visibility = ( 1.0 - visibility / 4.0 );", - - "vec4 texture = texture2D( map, vUV );", - "texture.a *= opacity * visibility;", - "gl_FragColor = texture;", - "gl_FragColor.rgb *= color;", - - "}", - - "}" - - ].join( "\n" ) - - } - -}; -/** - * @author mikael emtinger / http://gomo.se/ - * - */ - -THREE.ShaderSprite = { - - 'sprite': { - - vertexShader: [ - - "uniform int useScreenCoordinates;", - "uniform int affectedByDistance;", - "uniform vec3 screenPosition;", - "uniform mat4 modelViewMatrix;", - "uniform mat4 projectionMatrix;", - "uniform float rotation;", - "uniform vec2 scale;", - "uniform vec2 alignment;", - "uniform vec2 uvOffset;", - "uniform vec2 uvScale;", - - "attribute vec2 position;", - "attribute vec2 uv;", - - "varying vec2 vUV;", - - "void main() {", - - "vUV = uvOffset + uv * uvScale;", - - "vec2 alignedPosition = position + alignment;", - - "vec2 rotatedPosition;", - "rotatedPosition.x = ( cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y ) * scale.x;", - "rotatedPosition.y = ( sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y ) * scale.y;", - - "vec4 finalPosition;", - - "if( useScreenCoordinates != 0 ) {", - - "finalPosition = vec4( screenPosition.xy + rotatedPosition, screenPosition.z, 1.0 );", - - "} else {", - - "finalPosition = projectionMatrix * modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 );", - "finalPosition.xy += rotatedPosition * ( affectedByDistance == 1 ? 1.0 : finalPosition.z );", - - "}", - - "gl_Position = finalPosition;", - - "}" - - ].join( "\n" ), - - fragmentShader: [ - - "precision mediump float;", - - "uniform vec3 color;", - "uniform sampler2D map;", - "uniform float opacity;", - - "varying vec2 vUV;", - - "void main() {", - - "vec4 texture = texture2D( map, vUV );", - "gl_FragColor = vec4( color * texture.xyz, texture.a * opacity );", - - "}" - - ].join( "\n" ) - - } - -}; diff --git a/src/octoprint/static/gcodeviewer/lib/three.min.js b/src/octoprint/static/gcodeviewer/lib/three.min.js deleted file mode 100644 index 7e7acd4ee..000000000 --- a/src/octoprint/static/gcodeviewer/lib/three.min.js +++ /dev/null @@ -1,740 +0,0 @@ -// three.min.js - http://github.com/mrdoob/three.js -'use strict';var THREE=THREE||{REVISION:"52"};self.console=self.console||{info:function(){},log:function(){},debug:function(){},warn:function(){},error:function(){}};self.Int32Array=self.Int32Array||Array;self.Float32Array=self.Float32Array||Array;String.prototype.startsWith=String.prototype.startsWith||function(a){return this.slice(0,a.length)===a};String.prototype.endsWith=String.prototype.endsWith||function(a){var a=String(a),b=this.lastIndexOf(a);return(-1>16& -255)/255;this.g=(a>>8&255)/255;this.b=(a&255)/255;return this},lerpSelf:function(a,b){this.r+=(a.r-this.r)*b;this.g+=(a.g-this.g)*b;this.b+=(a.b-this.b)*b;return this},getHex:function(){return 255*this.r<<16^255*this.g<<8^255*this.b<<0},getContextStyle:function(){return"rgb("+(255*this.r|0)+","+(255*this.g|0)+","+(255*this.b|0)+")"},clone:function(){return(new THREE.Color).setRGB(this.r,this.g,this.b)}};THREE.Vector2=function(a,b){this.x=a||0;this.y=b||0}; -THREE.Vector2.prototype={constructor:THREE.Vector2,set:function(a,b){this.x=a;this.y=b;return this},copy:function(a){this.x=a.x;this.y=a.y;return this},add:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;return this},addSelf:function(a){this.x+=a.x;this.y+=a.y;return this},sub:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;return this},subSelf:function(a){this.x-=a.x;this.y-=a.y;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;return this},divideScalar:function(a){a?(this.x/=a,this.y/=a):this.set(0, -0);return this},negate:function(){return this.multiplyScalar(-1)},dot:function(a){return this.x*a.x+this.y*a.y},lengthSq:function(){return this.x*this.x+this.y*this.y},length:function(){return Math.sqrt(this.lengthSq())},normalize:function(){return this.divideScalar(this.length())},distanceTo:function(a){return Math.sqrt(this.distanceToSquared(a))},distanceToSquared:function(a){var b=this.x-a.x,a=this.y-a.y;return b*b+a*a},setLength:function(a){return this.normalize().multiplyScalar(a)},lerpSelf:function(a, -b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;return this},equals:function(a){return a.x===this.x&&a.y===this.y},isZero:function(a){return this.lengthSq()<(void 0!==a?a:1E-4)},clone:function(){return new THREE.Vector2(this.x,this.y)}};THREE.Vector3=function(a,b,c){this.x=a||0;this.y=b||0;this.z=c||0}; -THREE.Vector3.prototype={constructor:THREE.Vector3,set:function(a,b,c){this.x=a;this.y=b;this.z=c;return this},setX:function(a){this.x=a;return this},setY:function(a){this.y=a;return this},setZ:function(a){this.z=a;return this},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;return this},add:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;return this},addSelf:function(a){this.x+=a.x;this.y+=a.y;this.z+=a.z;return this},addScalar:function(a){this.x+=a;this.y+=a;this.z+=a;return this}, -sub:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;return this},subSelf:function(a){this.x-=a.x;this.y-=a.y;this.z-=a.z;return this},multiply:function(a,b){this.x=a.x*b.x;this.y=a.y*b.y;this.z=a.z*b.z;return this},multiplySelf:function(a){this.x*=a.x;this.y*=a.y;this.z*=a.z;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;this.z*=a;return this},divideSelf:function(a){this.x/=a.x;this.y/=a.y;this.z/=a.z;return this},divideScalar:function(a){a?(this.x/=a,this.y/=a,this.z/=a): -this.z=this.y=this.x=0;return this},negate:function(){return this.multiplyScalar(-1)},dot:function(a){return this.x*a.x+this.y*a.y+this.z*a.z},lengthSq:function(){return this.x*this.x+this.y*this.y+this.z*this.z},length:function(){return Math.sqrt(this.lengthSq())},lengthManhattan:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)},normalize:function(){return this.divideScalar(this.length())},setLength:function(a){return this.normalize().multiplyScalar(a)},lerpSelf:function(a,b){this.x+= -(a.x-this.x)*b;this.y+=(a.y-this.y)*b;this.z+=(a.z-this.z)*b;return this},cross:function(a,b){this.x=a.y*b.z-a.z*b.y;this.y=a.z*b.x-a.x*b.z;this.z=a.x*b.y-a.y*b.x;return this},crossSelf:function(a){var b=this.x,c=this.y,d=this.z;this.x=c*a.z-d*a.y;this.y=d*a.x-b*a.z;this.z=b*a.y-c*a.x;return this},angleTo:function(a){return Math.acos(this.dot(a)/this.length()/a.length())},distanceTo:function(a){return Math.sqrt(this.distanceToSquared(a))},distanceToSquared:function(a){return(new THREE.Vector3).sub(this, -a).lengthSq()},getPositionFromMatrix:function(a){this.x=a.elements[12];this.y=a.elements[13];this.z=a.elements[14];return this},setEulerFromRotationMatrix:function(a,b){function c(a){return Math.min(Math.max(a,-1),1)}var d=a.elements,e=d[0],f=d[4],g=d[8],h=d[1],i=d[5],j=d[9],l=d[2],m=d[6],d=d[10];void 0===b||"XYZ"===b?(this.y=Math.asin(c(g)),0.99999>Math.abs(g)?(this.x=Math.atan2(-j,d),this.z=Math.atan2(-f,e)):(this.x=Math.atan2(m,i),this.z=0)):"YXZ"===b?(this.x=Math.asin(-c(j)),0.99999>Math.abs(j)? -(this.y=Math.atan2(g,d),this.z=Math.atan2(h,i)):(this.y=Math.atan2(-l,e),this.z=0)):"ZXY"===b?(this.x=Math.asin(c(m)),0.99999>Math.abs(m)?(this.y=Math.atan2(-l,d),this.z=Math.atan2(-f,i)):(this.y=0,this.z=Math.atan2(h,e))):"ZYX"===b?(this.y=Math.asin(-c(l)),0.99999>Math.abs(l)?(this.x=Math.atan2(m,d),this.z=Math.atan2(h,e)):(this.x=0,this.z=Math.atan2(-f,i))):"YZX"===b?(this.z=Math.asin(c(h)),0.99999>Math.abs(h)?(this.x=Math.atan2(-j,i),this.y=Math.atan2(-l,e)):(this.x=0,this.y=Math.atan2(g,d))): -"XZY"===b&&(this.z=Math.asin(-c(f)),0.99999>Math.abs(f)?(this.x=Math.atan2(m,i),this.y=Math.atan2(g,e)):(this.x=Math.atan2(-j,d),this.y=0));return this},setEulerFromQuaternion:function(a,b){function c(a){return Math.min(Math.max(a,-1),1)}var d=a.x*a.x,e=a.y*a.y,f=a.z*a.z,g=a.w*a.w;void 0===b||"XYZ"===b?(this.x=Math.atan2(2*(a.x*a.w-a.y*a.z),g-d-e+f),this.y=Math.asin(c(2*(a.x*a.z+a.y*a.w))),this.z=Math.atan2(2*(a.z*a.w-a.x*a.y),g+d-e-f)):"YXZ"===b?(this.x=Math.asin(c(2*(a.x*a.w-a.y*a.z))),this.y=Math.atan2(2* -(a.x*a.z+a.y*a.w),g-d-e+f),this.z=Math.atan2(2*(a.x*a.y+a.z*a.w),g-d+e-f)):"ZXY"===b?(this.x=Math.asin(c(2*(a.x*a.w+a.y*a.z))),this.y=Math.atan2(2*(a.y*a.w-a.z*a.x),g-d-e+f),this.z=Math.atan2(2*(a.z*a.w-a.x*a.y),g-d+e-f)):"ZYX"===b?(this.x=Math.atan2(2*(a.x*a.w+a.z*a.y),g-d-e+f),this.y=Math.asin(c(2*(a.y*a.w-a.x*a.z))),this.z=Math.atan2(2*(a.x*a.y+a.z*a.w),g+d-e-f)):"YZX"===b?(this.x=Math.atan2(2*(a.x*a.w-a.z*a.y),g-d+e-f),this.y=Math.atan2(2*(a.y*a.w-a.x*a.z),g+d-e-f),this.z=Math.asin(c(2*(a.x*a.y+ -a.z*a.w)))):"XZY"===b&&(this.x=Math.atan2(2*(a.x*a.w+a.y*a.z),g-d+e-f),this.y=Math.atan2(2*(a.x*a.z+a.y*a.w),g+d-e-f),this.z=Math.asin(c(2*(a.z*a.w-a.x*a.y))));return this},getScaleFromMatrix:function(a){var b=this.set(a.elements[0],a.elements[1],a.elements[2]).length(),c=this.set(a.elements[4],a.elements[5],a.elements[6]).length(),a=this.set(a.elements[8],a.elements[9],a.elements[10]).length();this.x=b;this.y=c;this.z=a;return this},equals:function(a){return a.x===this.x&&a.y===this.y&&a.z===this.z}, -isZero:function(a){return this.lengthSq()<(void 0!==a?a:1E-4)},clone:function(){return new THREE.Vector3(this.x,this.y,this.z)}};THREE.Vector4=function(a,b,c,d){this.x=a||0;this.y=b||0;this.z=c||0;this.w=void 0!==d?d:1}; -THREE.Vector4.prototype={constructor:THREE.Vector4,set:function(a,b,c,d){this.x=a;this.y=b;this.z=c;this.w=d;return this},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;this.w=void 0!==a.w?a.w:1;return this},add:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;this.w=a.w+b.w;return this},addSelf:function(a){this.x+=a.x;this.y+=a.y;this.z+=a.z;this.w+=a.w;return this},sub:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;this.w=a.w-b.w;return this},subSelf:function(a){this.x-= -a.x;this.y-=a.y;this.z-=a.z;this.w-=a.w;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;this.z*=a;this.w*=a;return this},divideScalar:function(a){a?(this.x/=a,this.y/=a,this.z/=a,this.w/=a):(this.z=this.y=this.x=0,this.w=1);return this},negate:function(){return this.multiplyScalar(-1)},dot:function(a){return this.x*a.x+this.y*a.y+this.z*a.z+this.w*a.w},lengthSq:function(){return this.dot(this)},length:function(){return Math.sqrt(this.lengthSq())},lengthManhattan:function(){return Math.abs(this.x)+ -Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)},normalize:function(){return this.divideScalar(this.length())},setLength:function(a){return this.normalize().multiplyScalar(a)},lerpSelf:function(a,b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;this.z+=(a.z-this.z)*b;this.w+=(a.w-this.w)*b;return this},clone:function(){return new THREE.Vector4(this.x,this.y,this.z,this.w)},setAxisAngleFromQuaternion:function(a){this.w=2*Math.acos(a.w);var b=Math.sqrt(1-a.w*a.w);1E-4>b?(this.x=1,this.z=this.y=0): -(this.x=a.x/b,this.y=a.y/b,this.z=a.z/b);return this},setAxisAngleFromRotationMatrix:function(a){var b,c,d,a=a.elements,e=a[0];d=a[4];var f=a[8],g=a[1],h=a[5],i=a[9];c=a[2];b=a[6];var j=a[10];if(0.01>Math.abs(d-g)&&0.01>Math.abs(f-c)&&0.01>Math.abs(i-b)){if(0.1>Math.abs(d+g)&&0.1>Math.abs(f+c)&&0.1>Math.abs(i+b)&&0.1>Math.abs(e+h+j-3))return this.set(1,0,0,0),this;a=Math.PI;e=(e+1)/2;h=(h+1)/2;j=(j+1)/2;d=(d+g)/4;f=(f+c)/4;i=(i+b)/4;e>h&&e>j?0.01>e?(b=0,d=c=0.707106781):(b=Math.sqrt(e),c=d/b,d=f/ -b):h>j?0.01>h?(b=0.707106781,c=0,d=0.707106781):(c=Math.sqrt(h),b=d/c,d=i/c):0.01>j?(c=b=0.707106781,d=0):(d=Math.sqrt(j),b=f/d,c=i/d);this.set(b,c,d,a);return this}a=Math.sqrt((b-i)*(b-i)+(f-c)*(f-c)+(g-d)*(g-d));0.001>Math.abs(a)&&(a=1);this.x=(b-i)/a;this.y=(f-c)/a;this.z=(g-d)/a;this.w=Math.acos((e+h+j-1)/2);return this}};THREE.Matrix3=function(){this.elements=new Float32Array(9)}; -THREE.Matrix3.prototype={constructor:THREE.Matrix3,getInverse:function(a){var b=a.elements,a=b[10]*b[5]-b[6]*b[9],c=-b[10]*b[1]+b[2]*b[9],d=b[6]*b[1]-b[2]*b[5],e=-b[10]*b[4]+b[6]*b[8],f=b[10]*b[0]-b[2]*b[8],g=-b[6]*b[0]+b[2]*b[4],h=b[9]*b[4]-b[5]*b[8],i=-b[9]*b[0]+b[1]*b[8],j=b[5]*b[0]-b[1]*b[4],b=b[0]*a+b[1]*e+b[2]*h;0===b&&console.warn("Matrix3.getInverse(): determinant == 0");var b=1/b,l=this.elements;l[0]=b*a;l[1]=b*c;l[2]=b*d;l[3]=b*e;l[4]=b*f;l[5]=b*g;l[6]=b*h;l[7]=b*i;l[8]=b*j;return this}, -transpose:function(){var a,b=this.elements;a=b[1];b[1]=b[3];b[3]=a;a=b[2];b[2]=b[6];b[6]=a;a=b[5];b[5]=b[7];b[7]=a;return this},transposeIntoArray:function(a){var b=this.m;a[0]=b[0];a[1]=b[3];a[2]=b[6];a[3]=b[1];a[4]=b[4];a[5]=b[7];a[6]=b[2];a[7]=b[5];a[8]=b[8];return this}};THREE.Matrix4=function(a,b,c,d,e,f,g,h,i,j,l,m,n,p,o,q){this.elements=new Float32Array(16);this.set(void 0!==a?a:1,b||0,c||0,d||0,e||0,void 0!==f?f:1,g||0,h||0,i||0,j||0,void 0!==l?l:1,m||0,n||0,p||0,o||0,void 0!==q?q:1)}; -THREE.Matrix4.prototype={constructor:THREE.Matrix4,set:function(a,b,c,d,e,f,g,h,i,j,l,m,n,p,o,q){var r=this.elements;r[0]=a;r[4]=b;r[8]=c;r[12]=d;r[1]=e;r[5]=f;r[9]=g;r[13]=h;r[2]=i;r[6]=j;r[10]=l;r[14]=m;r[3]=n;r[7]=p;r[11]=o;r[15]=q;return this},identity:function(){this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return this},copy:function(a){a=a.elements;this.set(a[0],a[4],a[8],a[12],a[1],a[5],a[9],a[13],a[2],a[6],a[10],a[14],a[3],a[7],a[11],a[15]);return this},lookAt:function(a,b,c){var d=this.elements, -e=THREE.Matrix4.__v1,f=THREE.Matrix4.__v2,g=THREE.Matrix4.__v3;g.sub(a,b).normalize();0===g.length()&&(g.z=1);e.cross(c,g).normalize();0===e.length()&&(g.x+=1E-4,e.cross(c,g).normalize());f.cross(g,e);d[0]=e.x;d[4]=f.x;d[8]=g.x;d[1]=e.y;d[5]=f.y;d[9]=g.y;d[2]=e.z;d[6]=f.z;d[10]=g.z;return this},multiply:function(a,b){var c=a.elements,d=b.elements,e=this.elements,f=c[0],g=c[4],h=c[8],i=c[12],j=c[1],l=c[5],m=c[9],n=c[13],p=c[2],o=c[6],q=c[10],r=c[14],t=c[3],B=c[7],u=c[11],c=c[15],s=d[0],z=d[4],A=d[8], -v=d[12],y=d[1],C=d[5],G=d[9],H=d[13],J=d[2],E=d[6],M=d[10],K=d[14],F=d[3],I=d[7],L=d[11],d=d[15];e[0]=f*s+g*y+h*J+i*F;e[4]=f*z+g*C+h*E+i*I;e[8]=f*A+g*G+h*M+i*L;e[12]=f*v+g*H+h*K+i*d;e[1]=j*s+l*y+m*J+n*F;e[5]=j*z+l*C+m*E+n*I;e[9]=j*A+l*G+m*M+n*L;e[13]=j*v+l*H+m*K+n*d;e[2]=p*s+o*y+q*J+r*F;e[6]=p*z+o*C+q*E+r*I;e[10]=p*A+o*G+q*M+r*L;e[14]=p*v+o*H+q*K+r*d;e[3]=t*s+B*y+u*J+c*F;e[7]=t*z+B*C+u*E+c*I;e[11]=t*A+B*G+u*M+c*L;e[15]=t*v+B*H+u*K+c*d;return this},multiplySelf:function(a){return this.multiply(this, -a)},multiplyToArray:function(a,b,c){var d=this.elements;this.multiply(a,b);c[0]=d[0];c[1]=d[1];c[2]=d[2];c[3]=d[3];c[4]=d[4];c[5]=d[5];c[6]=d[6];c[7]=d[7];c[8]=d[8];c[9]=d[9];c[10]=d[10];c[11]=d[11];c[12]=d[12];c[13]=d[13];c[14]=d[14];c[15]=d[15];return this},multiplyScalar:function(a){var b=this.elements;b[0]*=a;b[4]*=a;b[8]*=a;b[12]*=a;b[1]*=a;b[5]*=a;b[9]*=a;b[13]*=a;b[2]*=a;b[6]*=a;b[10]*=a;b[14]*=a;b[3]*=a;b[7]*=a;b[11]*=a;b[15]*=a;return this},multiplyVector3:function(a){var b=this.elements, -c=a.x,d=a.y,e=a.z,f=1/(b[3]*c+b[7]*d+b[11]*e+b[15]);a.x=(b[0]*c+b[4]*d+b[8]*e+b[12])*f;a.y=(b[1]*c+b[5]*d+b[9]*e+b[13])*f;a.z=(b[2]*c+b[6]*d+b[10]*e+b[14])*f;return a},multiplyVector4:function(a){var b=this.elements,c=a.x,d=a.y,e=a.z,f=a.w;a.x=b[0]*c+b[4]*d+b[8]*e+b[12]*f;a.y=b[1]*c+b[5]*d+b[9]*e+b[13]*f;a.z=b[2]*c+b[6]*d+b[10]*e+b[14]*f;a.w=b[3]*c+b[7]*d+b[11]*e+b[15]*f;return a},multiplyVector3Array:function(a){for(var b=THREE.Matrix4.__v1,c=0,d=a.length;cd;d++)a=b[d],a.divideScalar(Math.sqrt(a.x*a.x+a.y*a.y+a.z*a.z))}; -THREE.Frustum.prototype.contains=function(a){for(var b=0,c=this.planes,b=a.matrixWorld,d=b.elements,a=-a.geometry.boundingSphere.radius*b.getMaxScaleOnAxis(),e=0;6>e;e++)if(b=c[e].x*d[12]+c[e].y*d[13]+c[e].z*d[14]+c[e].w,b<=a)return!1;return!0};THREE.Frustum.__v1=new THREE.Vector3; -(function(a){a.Ray=function(b,c,d,e){this.origin=b||new a.Vector3;this.direction=c||new a.Vector3;this.near=d||0;this.far=e||Infinity};var b=new a.Vector3,c=new a.Vector3,d=new a.Vector3,e=new a.Vector3,f=new a.Vector3,g=new a.Vector3,h=new a.Matrix4,i=function(a,b){return a.distance-b.distance},j=new a.Vector3,l=new a.Vector3,m=new a.Vector3,n=function(a,b,c){j.sub(c,a);var d=j.dot(b),a=l.add(a,m.copy(b).multiplyScalar(d));return c.distanceTo(a)},p=function(a,b,c,d){j.sub(d,b);l.sub(c,b);m.sub(a, -b);var a=j.dot(j),b=j.dot(l),c=j.dot(m),e=l.dot(l),d=l.dot(m),f=1/(a*e-b*b),e=(e*c-b*d)*f,a=(a*d-b*c)*f;return 0<=e&&0<=a&&1>e+a},o=function(i,l,j){var m,o;if(i instanceof a.Particle){m=n(l.origin,l.direction,i.matrixWorld.getPosition());if(m>i.scale.x)return j;o={distance:m,point:i.position,face:null,object:i};j.push(o)}else if(i instanceof a.Mesh){var q=i.geometry.boundingSphere.radius*i.matrixWorld.getMaxScaleOnAxis();m=n(l.origin,l.direction,i.matrixWorld.getPosition());if(m>q)return j;var A, -v,y=i.geometry,C=y.vertices,G,H,J;G=i.geometry.materials;H=i.material instanceof a.MeshFaceMaterial;var E,M=l.precision;i.matrixRotationWorld.extractRotation(i.matrixWorld);b.copy(l.origin);h.getInverse(i.matrixWorld);c.copy(b);h.multiplyVector3(c);d.copy(l.direction);h.rotateAxis(d).normalize();q=0;for(A=y.faces.length;qv)&&(J===a.DoubleSide|| -(J===a.FrontSide?0>m:0l.far||(o={distance:m,point:v,face:o,faceIndex:q,object:i},j.push(o)));else if(o instanceof a.Face4&&(m=C[o.a],v=C[o.b],J=C[o.c],E=C[o.d],p(g,m,v,E)||p(g,v,J,E)))v=i.matrixWorld.multiplyVector3(g.clone()),m=b.distanceTo(v),ml.far||(o={distance:m,point:v,face:o,faceIndex:q,object:i},j.push(o))}}, -q=function(a,b,c){for(var a=a.getDescendants(),d=0,e=a.length;df?d:f,e=e> -g?e:g);a()};this.add3Points=function(f,g,l,m,n,p){!0===h?(h=!1,b=fl?f>n?f:n:l>n?l:n,e=g>m?g>p?g:p:m>p?m:p):(b=fl?f>n?f>d?f:d:n>d?n:d:l>n?l>d?l:d:n>d?n:d,e=g>m?g>p?g>e?g:e:p>e?p:e:m>p?m>e?m:e:p>e?p:e);a()};this.addRectangle=function(f){!0===h?(h=!1,b=f.getLeft(),c=f.getTop(),d=f.getRight(),e=f.getBottom()):(b=bf.getRight()?d:f.getRight(),e=e>f.getBottom()?e:f.getBottom());a()};this.inflate=function(f){b-=f;c-=f;d+=f;e+=f;a()};this.minSelf=function(f){b=b>f.getLeft()?b:f.getLeft();c=c>f.getTop()?c:f.getTop();d=da.getRight()||ea.getBottom()?!1:!0};this.empty=function(){h=!0;e=d=c=b=0;a()};this.isEmpty=function(){return h}}; -THREE.Math={clamp:function(a,b,c){return ac?c:a},clampBottom:function(a,b){return aa?-1:0e&&0>f||0>g&&0>h)return!1;0>e?c=Math.max(c,e/(e-f)):0>f&&(d=Math.min(d,e/(e-f)));0>g?c=Math.max(c,g/(g-h)):0>h&&(d=Math.min(d,g/(g-h)));if(d< -c)return!1;a.lerpSelf(b,c);b.lerpSelf(a,1-d);return!0}var e,f,g=[],h=0,i,j,l=[],m=0,n,p,o=[],q=0,r,t=[],B=0,u,s,z=[],A=0,v,y,C=[],G=0,H={objects:[],sprites:[],lights:[],elements:[]},J=new THREE.Vector3,E=new THREE.Vector4,M=new THREE.Matrix4,K=new THREE.Matrix4,F=new THREE.Frustum,I=new THREE.Vector4,L=new THREE.Vector4;this.projectVector=function(a,b){b.matrixWorldInverse.getInverse(b.matrixWorld);M.multiply(b.projectionMatrix,b.matrixWorldInverse);M.multiplyVector3(a);return a};this.unprojectVector= -function(a,b){b.projectionMatrixInverse.getInverse(b.projectionMatrix);M.multiply(b.matrixWorld,b.projectionMatrixInverse);M.multiplyVector3(a);return a};this.pickingRay=function(a,b){var c;a.z=-1;c=new THREE.Vector3(a.x,a.y,1);this.unprojectVector(a,b);this.unprojectVector(c,b);c.subSelf(a).normalize();return new THREE.Ray(a,c)};this.projectScene=function(g,h,m,N){var ea=h.near,Q=h.far,qa=!1,la,O,fa,W,V,ia,Z,ca,Ga,Pa,Ia,Ua,na,Va,ib,Ra;y=s=r=p=0;H.elements.length=0;g.updateMatrixWorld();void 0=== -h.parent&&h.updateMatrixWorld();h.matrixWorldInverse.getInverse(h.matrixWorld);M.multiply(h.projectionMatrix,h.matrixWorldInverse);F.setFromMatrix(M);f=0;H.objects.length=0;H.sprites.length=0;H.lights.length=0;var eb=function(b){for(var c=0,d=b.children.length;cea&&i.positionScreen.z(Z.positionScreen.x-W.positionScreen.x)*(V.positionScreen.y-W.positionScreen.y)-(Z.positionScreen.y-W.positionScreen.y)*(V.positionScreen.x-W.positionScreen.x),ia===THREE.DoubleSide||qa===(ia===THREE.FrontSide))p===q?(na=new THREE.RenderableFace3, -o.push(na),q++,p++,n=na):n=o[p++],n.v1.copy(W),n.v2.copy(V),n.v3.copy(Z);else continue;else continue;else if(O instanceof THREE.Face4)if(W=l[O.a],V=l[O.b],Z=l[O.c],na=l[O.d],!0===W.visible&&!0===V.visible&&!0===Z.visible&&!0===na.visible)if(qa=0>(na.positionScreen.x-W.positionScreen.x)*(V.positionScreen.y-W.positionScreen.y)-(na.positionScreen.y-W.positionScreen.y)*(V.positionScreen.x-W.positionScreen.x)||0>(V.positionScreen.x-Z.positionScreen.x)*(na.positionScreen.y-Z.positionScreen.y)-(V.positionScreen.y- -Z.positionScreen.y)*(na.positionScreen.x-Z.positionScreen.x),ia===THREE.DoubleSide||qa===(ia===THREE.FrontSide)){if(r===B){var pb=new THREE.RenderableFace4;t.push(pb);B++;r++;n=pb}else n=t[r++];n.v1.copy(W);n.v2.copy(V);n.v3.copy(Z);n.v4.copy(na)}else continue;else continue;n.normalWorld.copy(O.normal);!1===qa&&(ia===THREE.BackSide||ia===THREE.DoubleSide)&&n.normalWorld.negate();Pa.multiplyVector3(n.normalWorld);n.centroidWorld.copy(O.centroid);Ga.multiplyVector3(n.centroidWorld);n.centroidScreen.copy(n.centroidWorld); -M.multiplyVector3(n.centroidScreen);Z=O.vertexNormals;W=0;for(V=Z.length;WE.z&&(y===G?(ea=new THREE.RenderableParticle,C.push(ea),G++,y++,v=ea):v=C[y++],v.object=ca,v.x=E.x/E.w,v.y=E.y/E.w,v.z=E.z,v.rotation=ca.rotation.z,v.scale.x=ca.scale.x*Math.abs(v.x-(E.x+h.projectionMatrix.elements[0])/(E.w+h.projectionMatrix.elements[12])),v.scale.y=ca.scale.y* -Math.abs(v.y-(E.y+h.projectionMatrix.elements[5])/(E.w+h.projectionMatrix.elements[13])),v.material=ca.material,H.elements.push(v)));!0===N&&H.elements.sort(c);return H}};THREE.Quaternion=function(a,b,c,d){this.x=a||0;this.y=b||0;this.z=c||0;this.w=void 0!==d?d:1}; -THREE.Quaternion.prototype={constructor:THREE.Quaternion,set:function(a,b,c,d){this.x=a;this.y=b;this.z=c;this.w=d;return this},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;this.w=a.w;return this},setFromEuler:function(a,b){var c=Math.cos(a.x/2),d=Math.cos(a.y/2),e=Math.cos(a.z/2),f=Math.sin(a.x/2),g=Math.sin(a.y/2),h=Math.sin(a.z/2);void 0===b||"XYZ"===b?(this.x=f*d*e+c*g*h,this.y=c*g*e-f*d*h,this.z=c*d*h+f*g*e,this.w=c*d*e-f*g*h):"YXZ"===b?(this.x=f*d*e+c*g*h,this.y=c*g*e-f*d*h,this.z=c*d* -h-f*g*e,this.w=c*d*e+f*g*h):"ZXY"===b?(this.x=f*d*e-c*g*h,this.y=c*g*e+f*d*h,this.z=c*d*h+f*g*e,this.w=c*d*e-f*g*h):"ZYX"===b?(this.x=f*d*e-c*g*h,this.y=c*g*e+f*d*h,this.z=c*d*h-f*g*e,this.w=c*d*e+f*g*h):"YZX"===b?(this.x=f*d*e+c*g*h,this.y=c*g*e+f*d*h,this.z=c*d*h-f*g*e,this.w=c*d*e-f*g*h):"XZY"===b&&(this.x=f*d*e-c*g*h,this.y=c*g*e-f*d*h,this.z=c*d*h+f*g*e,this.w=c*d*e+f*g*h);return this},setFromAxisAngle:function(a,b){var c=b/2,d=Math.sin(c);this.x=a.x*d;this.y=a.y*d;this.z=a.z*d;this.w=Math.cos(c); -return this},setFromRotationMatrix:function(a){var b=a.elements,c=b[0],a=b[4],d=b[8],e=b[1],f=b[5],g=b[9],h=b[2],i=b[6],b=b[10],j=c+f+b;0f&&c>b?(c=2*Math.sqrt(1+c-f-b),this.w=(i-g)/c,this.x=0.25*c,this.y=(a+e)/c,this.z=(d+h)/c):f>b?(c=2*Math.sqrt(1+f-c-b),this.w=(d-h)/c,this.x=(a+e)/c,this.y=0.25*c,this.z=(g+i)/c):(c=2*Math.sqrt(1+b-c-f),this.w=(e-a)/c,this.x=(d+h)/c,this.y=(g+i)/c,this.z=0.25*c);return this},calculateW:function(){this.w= --Math.sqrt(Math.abs(1-this.x*this.x-this.y*this.y-this.z*this.z));return this},inverse:function(){this.x*=-1;this.y*=-1;this.z*=-1;return this},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)},normalize:function(){var a=Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w);0===a?this.w=this.z=this.y=this.x=0:(a=1/a,this.x*=a,this.y*=a,this.z*=a,this.w*=a);return this},multiply:function(a,b){var c=a.x,d=a.y,e=a.z,f=a.w,g=b.x,h=b.y,i=b.z,j=b.w; -this.x=c*j+d*i-e*h+f*g;this.y=-c*i+d*j+e*g+f*h;this.z=c*h-d*g+e*j+f*i;this.w=-c*g-d*h-e*i+f*j;return this},multiplySelf:function(a){var b=this.x,c=this.y,d=this.z,e=this.w,f=a.x,g=a.y,h=a.z,a=a.w;this.x=b*a+e*f+c*h-d*g;this.y=c*a+e*g+d*f-b*h;this.z=d*a+e*h+b*g-c*f;this.w=e*a-b*f-c*g-d*h;return this},multiplyVector3:function(a,b){b||(b=a);var c=a.x,d=a.y,e=a.z,f=this.x,g=this.y,h=this.z,i=this.w,j=i*c+g*e-h*d,l=i*d+h*c-f*e,m=i*e+f*d-g*c,c=-f*c-g*d-h*e;b.x=j*i+c*-f+l*-h-m*-g;b.y=l*i+c*-g+m*-f-j*-h; -b.z=m*i+c*-h+j*-g-l*-f;return b},slerpSelf:function(a,b){var c=this.x,d=this.y,e=this.z,f=this.w,g=f*a.w+c*a.x+d*a.y+e*a.z;0>g?(this.w=-a.w,this.x=-a.x,this.y=-a.y,this.z=-a.z,g=-g):this.copy(a);if(1<=g)return this.w=f,this.x=c,this.y=d,this.z=e,this;var h=Math.acos(g),i=Math.sqrt(1-g*g);if(0.001>Math.abs(i))return this.w=0.5*(f+this.w),this.x=0.5*(c+this.x),this.y=0.5*(d+this.y),this.z=0.5*(e+this.z),this;g=Math.sin((1-b)*h)/i;h=Math.sin(b*h)/i;this.w=f*g+this.w*h;this.x=c*g+this.x*h;this.y=d*g+ -this.y*h;this.z=e*g+this.z*h;return this},clone:function(){return new THREE.Quaternion(this.x,this.y,this.z,this.w)}}; -THREE.Quaternion.slerp=function(a,b,c,d){var e=a.w*b.w+a.x*b.x+a.y*b.y+a.z*b.z;0>e?(c.w=-b.w,c.x=-b.x,c.y=-b.y,c.z=-b.z,e=-e):c.copy(b);if(1<=Math.abs(e))return c.w=a.w,c.x=a.x,c.y=a.y,c.z=a.z,c;var b=Math.acos(e),f=Math.sqrt(1-e*e);if(0.001>Math.abs(f))return c.w=0.5*(a.w+c.w),c.x=0.5*(a.x+c.x),c.y=0.5*(a.y+c.y),c.z=0.5*(a.z+c.z),c;e=Math.sin((1-d)*b)/f;d=Math.sin(d*b)/f;c.w=a.w*e+c.w*d;c.x=a.x*e+c.x*d;c.y=a.y*e+c.y*d;c.z=a.z*e+c.z*d;return c}; -THREE.Vertex=function(a){console.warn("THREE.Vertex has been DEPRECATED. Use THREE.Vector3 instead.");return a};THREE.Face3=function(a,b,c,d,e,f){this.a=a;this.b=b;this.c=c;this.normal=d instanceof THREE.Vector3?d:new THREE.Vector3;this.vertexNormals=d instanceof Array?d:[];this.color=e instanceof THREE.Color?e:new THREE.Color;this.vertexColors=e instanceof Array?e:[];this.vertexTangents=[];this.materialIndex=f;this.centroid=new THREE.Vector3}; -THREE.Face3.prototype={constructor:THREE.Face3,clone:function(){var a=new THREE.Face3(this.a,this.b,this.c);a.normal.copy(this.normal);a.color.copy(this.color);a.centroid.copy(this.centroid);a.materialIndex=this.materialIndex;var b,c;b=0;for(c=this.vertexNormals.length;be? --1:1,f.vertexTangents[d]=new THREE.Vector4(E.x,E.y,E.z,e)}this.hasTangents=!0},computeBoundingBox:function(){this.boundingBox||(this.boundingBox={min:new THREE.Vector3,max:new THREE.Vector3});if(0c.x&&(c.x=a.x),a.yc.y&&(c.y=a.y),a.z -c.z&&(c.z=a.z)}else this.boundingBox.min.set(0,0,0),this.boundingBox.max.set(0,0,0)},computeBoundingSphere:function(){var a=0;null===this.boundingSphere&&(this.boundingSphere={radius:0});for(var b=0,c=this.vertices.length;ba&&(a=d)}this.boundingSphere.radius=Math.sqrt(a)},mergeVertices:function(){var a={},b=[],c=[],d,e=Math.pow(10,4),f,g,h,i;f=0;for(g=this.vertices.length;fb.max.x&&(b.max.x=c),db.max.y&&(b.max.y=d),eb.max.z&&(b.max.z=e);if(void 0===a||0===a.length)this.boundingBox.min.set(0,0,0),this.boundingBox.max.set(0,0,0)},computeBoundingSphere:function(){this.boundingSphere||(this.boundingSphere={radius:0});var a=this.attributes.position.array; -if(a){for(var b,c=0,d,e,f=0,g=a.length;fc&&(c=b);this.boundingSphere.radius=Math.sqrt(c)}},computeVertexNormals:function(){if(this.attributes.position&&this.attributes.index){var a,b,c,d;a=this.attributes.position.array.length;if(void 0===this.attributes.normal)this.attributes.normal={itemSize:3,array:new Float32Array(a),numItems:a};else{a=0;for(b=this.attributes.normal.array.length;aQ?-1:1;h[4*a]=L.x;h[4*a+1]=L.y;h[4*a+2]=L.z;h[4*a+3]=N}if(void 0===this.attributes.index|| -void 0===this.attributes.position||void 0===this.attributes.normal||void 0===this.attributes.uv)console.warn("Missing required attributes (index, position, normal or uv) in BufferGeometry.computeTangents()");else{var b=this.attributes.index.array,c=this.attributes.position.array,d=this.attributes.normal.array,e=this.attributes.uv.array,f=c.length/3;if(void 0===this.attributes.tangent){var g=4*f;this.attributes.tangent={itemSize:4,array:new Float32Array(g),numItems:g}}for(var h=this.attributes.tangent.array, -i=[],j=[],g=0;gthis.points.length-2?this.points.length-1:f+1;c[3]=f>this.points.length-3?this.points.length-1: -f+2;j=this.points[c[0]];l=this.points[c[1]];m=this.points[c[2]];n=this.points[c[3]];h=g*g;i=g*h;d.x=b(j.x,l.x,m.x,n.x,g,h,i);d.y=b(j.y,l.y,m.y,n.y,g,h,i);d.z=b(j.z,l.z,m.z,n.z,g,h,i);return d};this.getControlPointsArray=function(){var a,b,c=this.points.length,d=[];for(a=0;aa.length?".":a.join("/"))+"/"},initMaterials:function(a,b,c){a.materials=[];for(var d=0;da.opacity)i.transparent=a.transparent;void 0!==a.depthTest&&(i.depthTest=a.depthTest);void 0!==a.depthWrite&&(i.depthWrite=a.depthWrite);void 0!==a.visible&&(i.visible=a.visible);void 0!== -a.flipSided&&(i.side=THREE.BackSide);void 0!==a.doubleSided&&(i.side=THREE.DoubleSide);void 0!==a.wireframe&&(i.wireframe=a.wireframe);void 0!==a.vertexColors&&("face"===a.vertexColors?i.vertexColors=THREE.FaceColors:a.vertexColors&&(i.vertexColors=THREE.VertexColors));a.colorDiffuse?i.color=f(a.colorDiffuse):a.DbgColor&&(i.color=a.DbgColor);a.colorSpecular&&(i.specular=f(a.colorSpecular));a.colorAmbient&&(i.ambient=f(a.colorAmbient));a.transparency&&(i.opacity=a.transparency);a.specularCoef&&(i.shininess= -a.specularCoef);a.mapDiffuse&&b&&e(i,"map",a.mapDiffuse,a.mapDiffuseRepeat,a.mapDiffuseOffset,a.mapDiffuseWrap,a.mapDiffuseAnisotropy);a.mapLight&&b&&e(i,"lightMap",a.mapLight,a.mapLightRepeat,a.mapLightOffset,a.mapLightWrap,a.mapLightAnisotropy);a.mapBump&&b&&e(i,"bumpMap",a.mapBump,a.mapBumpRepeat,a.mapBumpOffset,a.mapBumpWrap,a.mapBumpAnisotropy);a.mapNormal&&b&&e(i,"normalMap",a.mapNormal,a.mapNormalRepeat,a.mapNormalOffset,a.mapNormalWrap,a.mapNormalAnisotropy);a.mapSpecular&&b&&e(i,"specularMap", -a.mapSpecular,a.mapSpecularRepeat,a.mapSpecularOffset,a.mapSpecularWrap,a.mapSpecularAnisotropy);a.mapBumpScale&&(i.bumpScale=a.mapBumpScale);a.mapNormal?(h=THREE.ShaderUtils.lib.normal,j=THREE.UniformsUtils.clone(h.uniforms),j.tNormal.value=i.normalMap,a.mapNormalFactor&&j.uNormalScale.value.set(a.mapNormalFactor,a.mapNormalFactor),i.map&&(j.tDiffuse.value=i.map,j.enableDiffuse.value=!0),i.specularMap&&(j.tSpecular.value=i.specularMap,j.enableSpecular.value=!0),i.lightMap&&(j.tAO.value=i.lightMap, -j.enableAO.value=!0),j.uDiffuseColor.value.setHex(i.color),j.uSpecularColor.value.setHex(i.specular),j.uAmbientColor.value.setHex(i.ambient),j.uShininess.value=i.shininess,void 0!==i.opacity&&(j.uOpacity.value=i.opacity),i=new THREE.ShaderMaterial({fragmentShader:h.fragmentShader,vertexShader:h.vertexShader,uniforms:j,lights:!0,fog:!0})):i=new THREE[h](i);void 0!==a.DbgName&&(i.name=a.DbgName);return i}};THREE.BinaryLoader=function(a){THREE.Loader.call(this,a)};THREE.BinaryLoader.prototype=Object.create(THREE.Loader.prototype); -THREE.BinaryLoader.prototype.load=function(a,b,c,d){var c=c?c:this.extractUrlBase(a),d=d?d:this.extractUrlBase(a),e=this.showProgress?THREE.Loader.prototype.updateProgress:null;this.onLoadStart();this.loadAjaxJSON(this,a,b,c,d,e)}; -THREE.BinaryLoader.prototype.loadAjaxJSON=function(a,b,c,d,e,f){var g=new XMLHttpRequest;g.onreadystatechange=function(){if(4==g.readyState)if(200==g.status||0==g.status){var h=JSON.parse(g.responseText);a.loadAjaxBuffers(h,c,e,d,f)}else console.error("THREE.BinaryLoader: Couldn't load ["+b+"] ["+g.status+"]")};g.open("GET",b,!0);g.send(null)}; -THREE.BinaryLoader.prototype.loadAjaxBuffers=function(a,b,c,d,e){var f=new XMLHttpRequest,g=c+"/"+a.buffers,h=0;f.onreadystatechange=function(){if(4==f.readyState)if(200==f.status||0==f.status){var c=f.response;void 0===c&&(c=(new Uint8Array(f.responseBody)).buffer);THREE.BinaryLoader.prototype.createBinModel(c,b,d,a.materials)}else console.error("THREE.BinaryLoader: Couldn't load ["+g+"] ["+f.status+"]");else 3==f.readyState?e&&(0==h&&(h=f.getResponseHeader("Content-Length")),e({total:h,loaded:f.responseText.length})): -2==f.readyState&&(h=f.getResponseHeader("Content-Length"))};f.open("GET",g,!0);f.responseType="arraybuffer";f.send(null)}; -THREE.BinaryLoader.prototype.createBinModel=function(a,b,c,d){var e=function(b){var c,e,i,j,l,m,n,p,o,q,r,t,B,u,s;function z(a){return a%4?4-a%4:0}function A(a,b){return(new Uint8Array(a,b,1))[0]}function v(a,b){return(new Uint32Array(a,b,1))[0]}function y(b,c){var d,e,f,g,h,i,j,l,m=new Uint32Array(a,c,3*b);for(d=0;dB;B++)q+=String.fromCharCode(b[R+B]);c=A(s,R+12);A(s,R+13);A(s,R+14);A(s,R+15);e=A(s,R+16);i=A(s,R+17);j=A(s,R+18);l=A(s,R+19);m=v(s,R+20);n=v(s,R+20+4);p=v(s,R+20+8);o=v(s,R+20+12);q=v(s,R+20+16);r=v(s,R+20+20);t= -v(s,R+20+24);B=v(s,R+20+28);b=v(s,R+20+32);u=v(s,R+20+36);s=v(s,R+20+40);K+=c;R=3*e+l;$=4*e+l;L=o*R;c=q*(R+3*i);e=r*(R+3*j);l=t*(R+3*i+3*j);R=B*$;i=b*($+4*i);j=u*($+4*j);$=K;var K=new Float32Array(a,K,3*m),Y,N,ea,Q;for(Y=0;Yd.length?".":d.join("/")}d=new XMLHttpRequest;d.addEventListener("load",function(d){d.target.responseText?c=b.parse(JSON.parse(d.target.responseText),e):b.dispatchEvent({type:"error",message:"Invalid file ["+a+"]"})},!1);d.addEventListener("error",function(){b.dispatchEvent({type:"error",message:"Couldn't load URL ["+a+"]"})},!1);d.open("GET",a, -!0);d.send(null);var e=new THREE.LoadingMonitor;e.addEventListener("load",function(){b.dispatchEvent({type:"load",content:c})});e.add(d)},parse:function(a,b){var c=this,d=new THREE.Geometry,e=void 0!==a.scale?1/a.scale:1;if(a.materials){d.materials=[];for(var f=0;fg.opacity)n.transparent=g.transparent;void 0!==g.depthTest&&(n.depthTest=g.depthTest);void 0!==g.depthWrite&&(n.depthWrite=g.depthWrite);void 0!==g.vertexColors&&("face"==g.vertexColors?n.vertexColors=THREE.FaceColors:g.vertexColors&&(n.vertexColors=THREE.VertexColors));g.colorDiffuse?n.color=l(g.colorDiffuse):g.DbgColor&&(n.color=g.DbgColor);g.colorSpecular&&(n.specular=l(g.colorSpecular));g.colorAmbient&&(n.ambient=l(g.colorAmbient));g.transparency&& -(n.opacity=g.transparency);g.specularCoef&&(n.shininess=g.specularCoef);void 0!==g.visible&&(n.visible=g.visible);void 0!==g.flipSided&&(n.side=THREE.BackSide);void 0!==g.doubleSided&&(n.side=THREE.DoubleSide);void 0!==g.wireframe&&(n.wireframe=g.wireframe);g.mapDiffuse&&j(n,"map",g.mapDiffuse,g.mapDiffuseRepeat,g.mapDiffuseOffset,g.mapDiffuseWrap);g.mapLight&&j(n,"lightMap",g.mapLight,g.mapLightRepeat,g.mapLightOffset,g.mapLightWrap);g.mapBump&&j(n,"bumpMap",g.mapBump,g.mapBumpRepeat,g.mapBumpOffset, -g.mapBumpWrap);g.mapNormal&&j(n,"normalMap",g.mapNormal,g.mapNormalRepeat,g.mapNormalOffset,g.mapNormalWrap);g.mapSpecular&&j(n,"specularMap",g.mapSpecular,g.mapSpecularRepeat,g.mapSpecularOffset,g.mapSpecularWrap);g.mapNormal?(j=THREE.ShaderUtils.lib.normal,l=THREE.UniformsUtils.clone(j.uniforms),l.tNormal.value=n.normalMap,g.mapNormalFactor&&l.uNormalScale.value.set(g.mapNormalFactor,g.mapNormalFactor),n.map&&(l.tDiffuse.value=n.map,l.enableDiffuse.value=!0),n.specularMap&&(l.tSpecular.value=n.specularMap, -l.enableSpecular.value=!0),n.lightMap&&(l.tAO.value=n.lightMap,l.enableAO.value=!0),l.uDiffuseColor.value.setHex(n.color),l.uSpecularColor.value.setHex(n.specular),l.uAmbientColor.value.setHex(n.ambient),l.uShininess.value=n.shininess,void 0!==n.opacity&&(l.uOpacity.value=n.opacity),n=new THREE.ShaderMaterial({fragmentShader:j.fragmentShader,vertexShader:j.vertexShader,uniforms:l,lights:!0,fog:!0})):n=new THREE[m](n);void 0!==g.DbgName&&(n.name=g.DbgName);d.materials[f]=n}}var g=a.faces,o=a.vertices, -n=a.normals,j=a.colors,l=0;if(a.uvs)for(f=0;fr.parameters.opacity&&(r.parameters.transparent=!0);r.parameters.normalMap?(q=THREE.ShaderUtils.lib.normal,a=THREE.UniformsUtils.clone(q.uniforms),l= -r.parameters.color,J=r.parameters.specular,o=r.parameters.ambient,H=r.parameters.shininess,a.tNormal.value=I.textures[r.parameters.normalMap],r.parameters.normalScale&&a.uNormalScale.value.set(r.parameters.normalScale[0],r.parameters.normalScale[1]),r.parameters.map&&(a.tDiffuse.value=r.parameters.map,a.enableDiffuse.value=!0),r.parameters.envMap&&(a.tCube.value=r.parameters.envMap,a.enableReflection.value=!0,a.uReflectivity.value=r.parameters.reflectivity),r.parameters.lightMap&&(a.tAO.value=r.parameters.lightMap, -a.enableAO.value=!0),r.parameters.specularMap&&(a.tSpecular.value=I.textures[r.parameters.specularMap],a.enableSpecular.value=!0),r.parameters.displacementMap&&(a.tDisplacement.value=I.textures[r.parameters.displacementMap],a.enableDisplacement.value=!0,a.uDisplacementBias.value=r.parameters.displacementBias,a.uDisplacementScale.value=r.parameters.displacementScale),a.uDiffuseColor.value.setHex(l),a.uSpecularColor.value.setHex(J),a.uAmbientColor.value.setHex(o),a.uShininess.value=H,r.parameters.opacity&& -(a.uOpacity.value=r.parameters.opacity),C=new THREE.ShaderMaterial({fragmentShader:q.fragmentShader,vertexShader:q.vertexShader,uniforms:a,lights:!0,fog:!0})):C=new THREE[r.type](r.parameters);I.materials[m]=C}e(I.scene,L.objects);i.callbackSync(I);h()};THREE.TextureLoader=function(){THREE.EventTarget.call(this);this.crossOrigin=null}; -THREE.TextureLoader.prototype={constructor:THREE.TextureLoader,load:function(a){var b=this,c=new Image;c.addEventListener("load",function(){var a=new THREE.Texture(c);a.needsUpdate=!0;b.dispatchEvent({type:"load",content:a})},!1);c.addEventListener("error",function(){b.dispatchEvent({type:"error",message:"Couldn't load URL ["+a+"]"})},!1);b.crossOrigin&&(c.crossOrigin=b.crossOrigin);c.src=a}}; -THREE.Material=function(){THREE.MaterialLibrary.push(this);this.id=THREE.MaterialIdCount++;this.name="";this.side=THREE.FrontSide;this.opacity=1;this.transparent=!1;this.blending=THREE.NormalBlending;this.blendSrc=THREE.SrcAlphaFactor;this.blendDst=THREE.OneMinusSrcAlphaFactor;this.blendEquation=THREE.AddEquation;this.depthWrite=this.depthTest=!0;this.polygonOffset=!1;this.alphaTest=this.polygonOffsetUnits=this.polygonOffsetFactor=0;this.overdraw=!1;this.needsUpdate=this.visible=!0}; -THREE.Material.prototype.setValues=function(a){if(void 0!==a)for(var b in a){var c=a[b];if(void 0===c)console.warn("THREE.Material: '"+b+"' parameter is undefined.");else if(b in this){var d=this[b];d instanceof THREE.Color&&c instanceof THREE.Color?d.copy(c):d instanceof THREE.Color&&"number"===typeof c?d.setHex(c):d instanceof THREE.Vector3&&c instanceof THREE.Vector3?d.copy(c):this[b]=c}}}; -THREE.Material.prototype.clone=function(a){void 0===a&&(a=new THREE.Material);a.name=this.name;a.side=this.side;a.opacity=this.opacity;a.transparent=this.transparent;a.blending=this.blending;a.blendSrc=this.blendSrc;a.blendDst=this.blendDst;a.blendEquation=this.blendEquation;a.depthTest=this.depthTest;a.depthWrite=this.depthWrite;a.polygonOffset=this.polygonOffset;a.polygonOffsetFactor=this.polygonOffsetFactor;a.polygonOffsetUnits=this.polygonOffsetUnits;a.alphaTest=this.alphaTest;a.overdraw=this.overdraw; -a.visible=this.visible;return a};THREE.Material.prototype.deallocate=function(){var a=THREE.MaterialLibrary.indexOf(this);-1!==a&&THREE.MaterialLibrary.splice(a,1)};THREE.MaterialIdCount=0;THREE.MaterialLibrary=[];THREE.LineBasicMaterial=function(a){THREE.Material.call(this);this.color=new THREE.Color(16777215);this.linewidth=1;this.linejoin=this.linecap="round";this.vertexColors=!1;this.fog=!0;this.setValues(a)};THREE.LineBasicMaterial.prototype=Object.create(THREE.Material.prototype); -THREE.LineBasicMaterial.prototype.clone=function(){var a=new THREE.LineBasicMaterial;THREE.Material.prototype.clone.call(this,a);a.color.copy(this.color);a.linewidth=this.linewidth;a.linecap=this.linecap;a.linejoin=this.linejoin;a.vertexColors=this.vertexColors;a.fog=this.fog;return a}; -THREE.MeshBasicMaterial=function(a){THREE.Material.call(this);this.color=new THREE.Color(16777215);this.envMap=this.specularMap=this.lightMap=this.map=null;this.combine=THREE.MultiplyOperation;this.reflectivity=1;this.refractionRatio=0.98;this.fog=!0;this.shading=THREE.SmoothShading;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap="round";this.vertexColors=THREE.NoColors;this.morphTargets=this.skinning=!1;this.setValues(a)}; -THREE.MeshBasicMaterial.prototype=Object.create(THREE.Material.prototype); -THREE.MeshBasicMaterial.prototype.clone=function(){var a=new THREE.MeshBasicMaterial;THREE.Material.prototype.clone.call(this,a);a.color.copy(this.color);a.map=this.map;a.lightMap=this.lightMap;a.specularMap=this.specularMap;a.envMap=this.envMap;a.combine=this.combine;a.reflectivity=this.reflectivity;a.refractionRatio=this.refractionRatio;a.fog=this.fog;a.shading=this.shading;a.wireframe=this.wireframe;a.wireframeLinewidth=this.wireframeLinewidth;a.wireframeLinecap=this.wireframeLinecap;a.wireframeLinejoin= -this.wireframeLinejoin;a.vertexColors=this.vertexColors;a.skinning=this.skinning;a.morphTargets=this.morphTargets;return a}; -THREE.MeshLambertMaterial=function(a){THREE.Material.call(this);this.color=new THREE.Color(16777215);this.ambient=new THREE.Color(16777215);this.emissive=new THREE.Color(0);this.wrapAround=!1;this.wrapRGB=new THREE.Vector3(1,1,1);this.envMap=this.specularMap=this.lightMap=this.map=null;this.combine=THREE.MultiplyOperation;this.reflectivity=1;this.refractionRatio=0.98;this.fog=!0;this.shading=THREE.SmoothShading;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap= -"round";this.vertexColors=THREE.NoColors;this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)};THREE.MeshLambertMaterial.prototype=Object.create(THREE.Material.prototype); -THREE.MeshLambertMaterial.prototype.clone=function(){var a=new THREE.MeshLambertMaterial;THREE.Material.prototype.clone.call(this,a);a.color.copy(this.color);a.ambient.copy(this.ambient);a.emissive.copy(this.emissive);a.wrapAround=this.wrapAround;a.wrapRGB.copy(this.wrapRGB);a.map=this.map;a.lightMap=this.lightMap;a.specularMap=this.specularMap;a.envMap=this.envMap;a.combine=this.combine;a.reflectivity=this.reflectivity;a.refractionRatio=this.refractionRatio;a.fog=this.fog;a.shading=this.shading; -a.wireframe=this.wireframe;a.wireframeLinewidth=this.wireframeLinewidth;a.wireframeLinecap=this.wireframeLinecap;a.wireframeLinejoin=this.wireframeLinejoin;a.vertexColors=this.vertexColors;a.skinning=this.skinning;a.morphTargets=this.morphTargets;a.morphNormals=this.morphNormals;return a}; -THREE.MeshPhongMaterial=function(a){THREE.Material.call(this);this.color=new THREE.Color(16777215);this.ambient=new THREE.Color(16777215);this.emissive=new THREE.Color(0);this.specular=new THREE.Color(1118481);this.shininess=30;this.wrapAround=this.perPixel=this.metal=!1;this.wrapRGB=new THREE.Vector3(1,1,1);this.bumpMap=this.lightMap=this.map=null;this.bumpScale=1;this.normalMap=null;this.normalScale=new THREE.Vector2(1,1);this.envMap=this.specularMap=null;this.combine=THREE.MultiplyOperation;this.reflectivity= -1;this.refractionRatio=0.98;this.fog=!0;this.shading=THREE.SmoothShading;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap="round";this.vertexColors=THREE.NoColors;this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)};THREE.MeshPhongMaterial.prototype=Object.create(THREE.Material.prototype); -THREE.MeshPhongMaterial.prototype.clone=function(){var a=new THREE.MeshPhongMaterial;THREE.Material.prototype.clone.call(this,a);a.color.copy(this.color);a.ambient.copy(this.ambient);a.emissive.copy(this.emissive);a.specular.copy(this.specular);a.shininess=this.shininess;a.metal=this.metal;a.perPixel=this.perPixel;a.wrapAround=this.wrapAround;a.wrapRGB.copy(this.wrapRGB);a.map=this.map;a.lightMap=this.lightMap;a.bumpMap=this.bumpMap;a.bumpScale=this.bumpScale;a.normalMap=this.normalMap;a.normalScale.copy(this.normalScale); -a.specularMap=this.specularMap;a.envMap=this.envMap;a.combine=this.combine;a.reflectivity=this.reflectivity;a.refractionRatio=this.refractionRatio;a.fog=this.fog;a.shading=this.shading;a.wireframe=this.wireframe;a.wireframeLinewidth=this.wireframeLinewidth;a.wireframeLinecap=this.wireframeLinecap;a.wireframeLinejoin=this.wireframeLinejoin;a.vertexColors=this.vertexColors;a.skinning=this.skinning;a.morphTargets=this.morphTargets;a.morphNormals=this.morphNormals;return a}; -THREE.MeshDepthMaterial=function(a){THREE.Material.call(this);this.wireframe=!1;this.wireframeLinewidth=1;this.setValues(a)};THREE.MeshDepthMaterial.prototype=Object.create(THREE.Material.prototype);THREE.MeshDepthMaterial.prototype.clone=function(){var a=new THREE.LineBasicMaterial;THREE.Material.prototype.clone.call(this,a);a.wireframe=this.wireframe;a.wireframeLinewidth=this.wireframeLinewidth;return a}; -THREE.MeshNormalMaterial=function(a){THREE.Material.call(this,a);this.shading=THREE.FlatShading;this.wireframe=!1;this.wireframeLinewidth=1;this.setValues(a)};THREE.MeshNormalMaterial.prototype=Object.create(THREE.Material.prototype);THREE.MeshNormalMaterial.prototype.clone=function(){var a=new THREE.MeshNormalMaterial;THREE.Material.prototype.clone.call(this,a);a.shading=this.shading;a.wireframe=this.wireframe;a.wireframeLinewidth=this.wireframeLinewidth;return a};THREE.MeshFaceMaterial=function(){}; -THREE.MeshFaceMaterial.prototype.clone=function(){return new THREE.MeshFaceMaterial};THREE.ParticleBasicMaterial=function(a){THREE.Material.call(this);this.color=new THREE.Color(16777215);this.map=null;this.size=1;this.sizeAttenuation=!0;this.vertexColors=!1;this.fog=!0;this.setValues(a)};THREE.ParticleBasicMaterial.prototype=Object.create(THREE.Material.prototype); -THREE.ParticleBasicMaterial.prototype.clone=function(){var a=new THREE.ParticleBasicMaterial;THREE.Material.prototype.clone.call(this,a);a.color.copy(this.color);a.map=this.map;a.size=this.size;a.sizeAttenuation=this.sizeAttenuation;a.vertexColors=this.vertexColors;a.fog=this.fog;return a};THREE.ParticleCanvasMaterial=function(a){THREE.Material.call(this);this.color=new THREE.Color(16777215);this.program=function(){};this.setValues(a)};THREE.ParticleCanvasMaterial.prototype=Object.create(THREE.Material.prototype); -THREE.ParticleCanvasMaterial.prototype.clone=function(){var a=new THREE.ParticleCanvasMaterial;THREE.Material.prototype.clone.call(this,a);a.color.copy(this.color);a.program=this.program;return a};THREE.ParticleDOMMaterial=function(a){this.element=a};THREE.ParticleDOMMaterial.prototype.clone=function(){return new THREE.ParticleDOMMaterial(this.element)}; -THREE.ShaderMaterial=function(a){THREE.Material.call(this);this.vertexShader=this.fragmentShader="void main() {}";this.uniforms={};this.defines={};this.attributes=null;this.shading=THREE.SmoothShading;this.wireframe=!1;this.wireframeLinewidth=1;this.lights=this.fog=!1;this.vertexColors=THREE.NoColors;this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)};THREE.ShaderMaterial.prototype=Object.create(THREE.Material.prototype); -THREE.ShaderMaterial.prototype.clone=function(){var a=new THREE.ShaderMaterial;THREE.Material.prototype.clone.call(this,a);a.fragmentShader=this.fragmentShader;a.vertexShader=this.vertexShader;a.uniforms=this.uniforms;a.attributes=this.attributes;a.defines=this.defines;a.shading=this.shading;a.wireframe=this.wireframe;a.wireframeLinewidth=this.wireframeLinewidth;a.fog=this.fog;a.lights=this.lights;a.vertexColors=this.vertexColors;a.skinning=this.skinning;a.morphTargets=this.morphTargets;a.morphNormals= -this.morphNormals;return a}; -THREE.Texture=function(a,b,c,d,e,f,g,h,i){THREE.TextureLibrary.push(this);this.id=THREE.TextureIdCount++;this.image=a;this.mapping=void 0!==b?b:new THREE.UVMapping;this.wrapS=void 0!==c?c:THREE.ClampToEdgeWrapping;this.wrapT=void 0!==d?d:THREE.ClampToEdgeWrapping;this.magFilter=void 0!==e?e:THREE.LinearFilter;this.minFilter=void 0!==f?f:THREE.LinearMipMapLinearFilter;this.anisotropy=void 0!==i?i:1;this.format=void 0!==g?g:THREE.RGBAFormat;this.type=void 0!==h?h:THREE.UnsignedByteType;this.offset= -new THREE.Vector2(0,0);this.repeat=new THREE.Vector2(1,1);this.generateMipmaps=!0;this.premultiplyAlpha=!1;this.flipY=!0;this.needsUpdate=!1;this.onUpdate=null}; -THREE.Texture.prototype={constructor:THREE.Texture,clone:function(){var a=new THREE.Texture;a.image=this.image;a.mapping=this.mapping;a.wrapS=this.wrapS;a.wrapT=this.wrapT;a.magFilter=this.magFilter;a.minFilter=this.minFilter;a.anisotropy=this.anisotropy;a.format=this.format;a.type=this.type;a.offset.copy(this.offset);a.repeat.copy(this.repeat);a.generateMipmaps=this.generateMipmaps;a.premultiplyAlpha=this.premultiplyAlpha;a.flipY=this.flipY;return a},deallocate:function(){var a=THREE.TextureLibrary.indexOf(this); --1!==a&&THREE.TextureLibrary.splice(a,1)}};THREE.TextureIdCount=0;THREE.TextureLibrary=[];THREE.CompressedTexture=function(a,b,c,d,e,f,g,h,i,j){THREE.Texture.call(this,null,f,g,h,i,j,d,e);this.image={width:b,height:c};this.mipmaps=a};THREE.CompressedTexture.prototype=Object.create(THREE.Texture.prototype); -THREE.CompressedTexture.prototype.clone=function(){var a=new THREE.CompressedTexture;a.image=this.image;a.mipmaps=this.mipmaps;a.format=this.format;a.type=this.type;a.mapping=this.mapping;a.wrapS=this.wrapS;a.wrapT=this.wrapT;a.magFilter=this.magFilter;a.minFilter=this.minFilter;a.anisotropy=this.anisotropy;a.offset.copy(this.offset);a.repeat.copy(this.repeat);return a};THREE.DataTexture=function(a,b,c,d,e,f,g,h,i,j){THREE.Texture.call(this,null,f,g,h,i,j,d,e);this.image={data:a,width:b,height:c}}; -THREE.DataTexture.prototype=Object.create(THREE.Texture.prototype);THREE.DataTexture.prototype.clone=function(){var a=new THREE.DataTexture(this.image.data,this.image.width,this.image.height,this.format,this.type,this.mapping,this.wrapS,this.wrapT,this.magFilter,this.minFilter);a.offset.copy(this.offset);a.repeat.copy(this.repeat);return a};THREE.Particle=function(a){THREE.Object3D.call(this);this.material=a};THREE.Particle.prototype=Object.create(THREE.Object3D.prototype); -THREE.Particle.prototype.clone=function(a){void 0===a&&(a=new THREE.Particle(this.material));THREE.Object3D.prototype.clone.call(this,a);return a};THREE.ParticleSystem=function(a,b){THREE.Object3D.call(this);this.geometry=a;this.material=void 0!==b?b:new THREE.ParticleBasicMaterial({color:16777215*Math.random()});this.sortParticles=!1;this.geometry&&(null===this.geometry.boundingSphere&&this.geometry.computeBoundingSphere(),this.boundRadius=a.boundingSphere.radius);this.frustumCulled=!1}; -THREE.ParticleSystem.prototype=Object.create(THREE.Object3D.prototype);THREE.ParticleSystem.prototype.clone=function(a){void 0===a&&(a=new THREE.ParticleSystem(this.geometry,this.material));a.sortParticles=this.sortParticles;THREE.Object3D.prototype.clone.call(this,a);return a}; -THREE.Line=function(a,b,c){THREE.Object3D.call(this);this.geometry=a;this.material=void 0!==b?b:new THREE.LineBasicMaterial({color:16777215*Math.random()});this.type=void 0!==c?c:THREE.LineStrip;this.geometry&&(this.geometry.boundingSphere||this.geometry.computeBoundingSphere())};THREE.LineStrip=0;THREE.LinePieces=1;THREE.Line.prototype=Object.create(THREE.Object3D.prototype); -THREE.Line.prototype.clone=function(a){void 0===a&&(a=new THREE.Line(this.geometry,this.material,this.type));THREE.Object3D.prototype.clone.call(this,a);return a}; -THREE.Mesh=function(a,b){THREE.Object3D.call(this);this.geometry=a;this.material=void 0!==b?b:new THREE.MeshBasicMaterial({color:16777215*Math.random(),wireframe:!0});if(this.geometry&&(null===this.geometry.boundingSphere&&this.geometry.computeBoundingSphere(),this.boundRadius=a.boundingSphere.radius,this.geometry.morphTargets.length)){this.morphTargetBase=-1;this.morphTargetForcedOrder=[];this.morphTargetInfluences=[];this.morphTargetDictionary={};for(var c=0;ch.end&&(h.end=e);b||(b=g)}}a.firstAnimation=b}; -THREE.MorphAnimMesh.prototype.setAnimationLabel=function(a,b,c){this.geometry.animations||(this.geometry.animations={});this.geometry.animations[a]={start:b,end:c}};THREE.MorphAnimMesh.prototype.playAnimation=function(a,b){var c=this.geometry.animations[a];c?(this.setFrameRange(c.start,c.end),this.duration=1E3*((c.end-c.start)/b),this.time=0):console.warn("animation["+a+"] undefined")}; -THREE.MorphAnimMesh.prototype.updateAnimation=function(a){var b=this.duration/this.length;this.time+=this.direction*a;if(this.mirroredLoop){if(this.time>this.duration||0>this.time)if(this.direction*=-1,this.time>this.duration&&(this.time=this.duration,this.directionBackwards=!0),0>this.time)this.time=0,this.directionBackwards=!1}else this.time%=this.duration,0>this.time&&(this.time+=this.duration);a=this.startKeyframe+THREE.Math.clamp(Math.floor(this.time/b),0,this.length-1);a!==this.currentKeyframe&& -(this.morphTargetInfluences[this.lastKeyframe]=0,this.morphTargetInfluences[this.currentKeyframe]=1,this.morphTargetInfluences[a]=0,this.lastKeyframe=this.currentKeyframe,this.currentKeyframe=a);b=this.time%b/b;this.directionBackwards&&(b=1-b);this.morphTargetInfluences[this.currentKeyframe]=b;this.morphTargetInfluences[this.lastKeyframe]=1-b}; -THREE.MorphAnimMesh.prototype.clone=function(a){void 0===a&&(a=new THREE.MorphAnimMesh(this.geometry,this.material));a.duration=this.duration;a.mirroredLoop=this.mirroredLoop;a.time=this.time;a.lastKeyframe=this.lastKeyframe;a.currentKeyframe=this.currentKeyframe;a.direction=this.direction;a.directionBackwards=this.directionBackwards;THREE.Mesh.prototype.clone.call(this,a);return a};THREE.Ribbon=function(a,b){THREE.Object3D.call(this);this.geometry=a;this.material=b};THREE.Ribbon.prototype=Object.create(THREE.Object3D.prototype); -THREE.Ribbon.prototype.clone=function(a){void 0===a&&(a=new THREE.Ribbon(this.geometry,this.material));THREE.Object3D.prototype.clone.call(this,a);return a};THREE.LOD=function(){THREE.Object3D.call(this);this.LODs=[]};THREE.LOD.prototype=Object.create(THREE.Object3D.prototype);THREE.LOD.prototype.addLevel=function(a,b){void 0===b&&(b=0);for(var b=Math.abs(b),c=0;c=this.LODs[b].visibleAtDistance)this.LODs[b-1].object3D.visible=!1,this.LODs[b].object3D.visible=!0;else break;for(;bt&&q.clearRect(Math.floor(Ja.getX()),Math.floor(Ja.getY()),Math.floor(Ja.getWidth()),Math.floor(Ja.getHeight())), -0=k||(k*=f.intensity,c.r+=g.r*k,c.g+=g.g*k,c.b+=g.b*k)}else f instanceof -THREE.PointLight&&(h=f.matrixWorld.getPosition(),k=b.dot(ra.sub(h,a).normalize()),0>=k||(k*=0==f.distance?1:1-Math.min(a.distanceTo(h)/f.distance,1),0!=k&&(k*=f.intensity,c.r+=g.r*k,c.g+=g.g*k,c.b+=g.b*k)))}}function n(a,d,e,g,h,k,i,j){f.info.render.vertices+=3;f.info.render.faces++;b(j.opacity);c(j.blending);K=a.positionScreen.x;F=a.positionScreen.y;I=d.positionScreen.x;L=d.positionScreen.y;R=e.positionScreen.x;$=e.positionScreen.y;r(K,F,I,L,R,$);(j instanceof THREE.MeshLambertMaterial||j instanceof -THREE.MeshPhongMaterial)&&null===j.map&&null===j.map?(Z.copy(j.color),ca.copy(j.emissive),j.vertexColors===THREE.FaceColors&&(Z.r*=i.color.r,Z.g*=i.color.g,Z.b*=i.color.b),!0===wb)?!1===j.wireframe&&j.shading==THREE.SmoothShading&&3==i.vertexNormalsLength?(fa.r=W.r=V.r=Da.r,fa.g=W.g=V.g=Da.g,fa.b=W.b=V.b=Da.b,m(i.v1.positionWorld,i.vertexNormalsWorld[0],fa),m(i.v2.positionWorld,i.vertexNormalsWorld[1],W),m(i.v3.positionWorld,i.vertexNormalsWorld[2],V),fa.r=fa.r*Z.r+ca.r,fa.g=fa.g*Z.g+ca.g,fa.b=fa.b* -Z.b+ca.b,W.r=W.r*Z.r+ca.r,W.g=W.g*Z.g+ca.g,W.b=W.b*Z.b+ca.b,V.r=V.r*Z.r+ca.r,V.g=V.g*Z.g+ca.g,V.b=V.b*Z.b+ca.b,ia.r=0.5*(W.r+V.r),ia.g=0.5*(W.g+V.g),ia.b=0.5*(W.b+V.b),na=Dc(fa,W,V,ia),gc(K,F,I,L,R,$,0,0,1,0,0,1,na)):(O.r=Da.r,O.g=Da.g,O.b=Da.b,m(i.centroidWorld,i.normalWorld,O),O.r=O.r*Z.r+ca.r,O.g=O.g*Z.g+ca.g,O.b=O.b*Z.b+ca.b,!0===j.wireframe?t(O,j.wireframeLinewidth,j.wireframeLinecap,j.wireframeLinejoin):u(O)):!0===j.wireframe?t(j.color,j.wireframeLinewidth,j.wireframeLinecap,j.wireframeLinejoin): -u(j.color):j instanceof THREE.MeshBasicMaterial||j instanceof THREE.MeshLambertMaterial||j instanceof THREE.MeshPhongMaterial?null!==j.map?j.map.mapping instanceof THREE.UVMapping&&(Va=i.uvs[0],Ba(K,F,I,L,R,$,Va[g].u,Va[g].v,Va[h].u,Va[h].v,Va[k].u,Va[k].v,j.map)):null!==j.envMap?j.envMap.mapping instanceof THREE.SphericalReflectionMapping&&(a=l.matrixWorldInverse,ra.copy(i.vertexNormalsWorld[g]),ib=0.5*(ra.x*a.elements[0]+ra.y*a.elements[4]+ra.z*a.elements[8])+0.5,Ra=0.5*(ra.x*a.elements[1]+ra.y* -a.elements[5]+ra.z*a.elements[9])+0.5,ra.copy(i.vertexNormalsWorld[h]),eb=0.5*(ra.x*a.elements[0]+ra.y*a.elements[4]+ra.z*a.elements[8])+0.5,pb=0.5*(ra.x*a.elements[1]+ra.y*a.elements[5]+ra.z*a.elements[9])+0.5,ra.copy(i.vertexNormalsWorld[k]),Pb=0.5*(ra.x*a.elements[0]+ra.y*a.elements[4]+ra.z*a.elements[8])+0.5,db=0.5*(ra.x*a.elements[1]+ra.y*a.elements[5]+ra.z*a.elements[9])+0.5,Ba(K,F,I,L,R,$,ib,Ra,eb,pb,Pb,db,j.envMap)):(O.copy(j.color),j.vertexColors===THREE.FaceColors&&(O.r*=i.color.r,O.g*= -i.color.g,O.b*=i.color.b),!0===j.wireframe?t(O,j.wireframeLinewidth,j.wireframeLinecap,j.wireframeLinejoin):u(O)):j instanceof THREE.MeshDepthMaterial?(Ia=l.near,Ua=l.far,fa.r=fa.g=fa.b=1-tb(a.positionScreen.z,Ia,Ua),W.r=W.g=W.b=1-tb(d.positionScreen.z,Ia,Ua),V.r=V.g=V.b=1-tb(e.positionScreen.z,Ia,Ua),ia.r=0.5*(W.r+V.r),ia.g=0.5*(W.g+V.g),ia.b=0.5*(W.b+V.b),na=Dc(fa,W,V,ia),gc(K,F,I,L,R,$,0,0,1,0,0,1,na)):j instanceof THREE.MeshNormalMaterial&&(O.r=jc(i.normalWorld.x),O.g=jc(i.normalWorld.y),O.b= -jc(i.normalWorld.z),!0===j.wireframe?t(O,j.wireframeLinewidth,j.wireframeLinecap,j.wireframeLinejoin):u(O))}function r(a,b,c,d,e,f){q.beginPath();q.moveTo(a,b);q.lineTo(c,d);q.lineTo(e,f);q.closePath()}function s(a,b,c,d,e,f,g,h){q.beginPath();q.moveTo(a,b);q.lineTo(c,d);q.lineTo(e,f);q.lineTo(g,h);q.closePath()}function t(a,b,c,e){A!==b&&(A=q.lineWidth=b);v!==c&&(v=q.lineCap=c);y!==e&&(y=q.lineJoin=e);d(a.getContextStyle());q.stroke();wa.inflate(2*b)}function u(a){e(a.getContextStyle());q.fill()} -function Ba(a,b,c,d,f,g,h,k,i,j,l,m,n){if(!(n instanceof THREE.DataTexture||void 0===n.image||0==n.image.width)){if(!0===n.needsUpdate){var Ba=n.wrapS==THREE.RepeatWrapping,o=n.wrapT==THREE.RepeatWrapping;Ga[n.id]=q.createPattern(n.image,!0===Ba&&!0===o?"repeat":!0===Ba&&!1===o?"repeat-x":!1===Ba&&!0===o?"repeat-y":"no-repeat");n.needsUpdate=!1}void 0===Ga[n.id]?e("rgba(0,0,0,1)"):e(Ga[n.id]);var Ba=n.offset.x/n.repeat.x,o=n.offset.y/n.repeat.y,p=n.image.width*n.repeat.x,tb=n.image.height*n.repeat.y, -h=(h+Ba)*p,k=(1-k+o)*tb,c=c-a,d=d-b,f=f-a,g=g-b,i=(i+Ba)*p-h,j=(1-j+o)*tb-k,l=(l+Ba)*p-h,m=(1-m+o)*tb-k,Ba=i*m-l*j;0===Ba?(void 0===Pa[n.id]&&(b=document.createElement("canvas"),b.width=n.image.width,b.height=n.image.height,b=b.getContext("2d"),b.drawImage(n.image,0,0),Pa[n.id]=b.getImageData(0,0,n.image.width,n.image.height).data),b=Pa[n.id],h=4*(Math.floor(h)+Math.floor(k)*n.image.width),O.setRGB(b[h]/255,b[h+1]/255,b[h+2]/255),u(O)):(Ba=1/Ba,n=(m*c-j*f)*Ba,j=(m*d-j*g)*Ba,c=(i*f-l*c)*Ba,d=(i*g- -l*d)*Ba,a=a-n*h-c*k,h=b-j*h-d*k,q.save(),q.transform(n,j,c,d,a,h),q.fill(),q.restore())}}function gc(a,b,c,d,e,f,g,h,k,i,j,l,n){var m,Ba;m=n.width-1;Ba=n.height-1;g*=m;h*=Ba;c-=a;d-=b;e-=a;f-=b;k=k*m-g;i=i*Ba-h;j=j*m-g;l=l*Ba-h;Ba=1/(k*l-j*i);m=(l*c-i*e)*Ba;i=(l*d-i*f)*Ba;c=(k*e-j*c)*Ba;d=(k*f-j*d)*Ba;a=a-m*g-c*h;b=b-i*g-d*h;q.save();q.transform(m,i,c,d,a,b);q.clip();q.drawImage(n,0,0);q.restore()}function Dc(a,b,c,d){Ea[0]=255*a.r|0;Ea[1]=255*a.g|0;Ea[2]=255*a.b|0;Ea[4]=255*b.r|0;Ea[5]=255*b.g|0; -Ea[6]=255*b.b|0;Ea[8]=255*c.r|0;Ea[9]=255*c.g|0;Ea[10]=255*c.b|0;Ea[12]=255*d.r|0;Ea[13]=255*d.g|0;Ea[14]=255*d.b|0;Za.putImageData(Wa,0,0);k.drawImage(gb,0,0);return xb}function tb(a,b,c){a=(a-b)/(c-b);return a*a*(3-2*a)}function jc(a){a=0.5*(a+1);return 0>a?0:1>1,Uc=ja.height>>1,jb=Xa.scale.x*p,kb=Xa.scale.y*o,rb=jb*kc,sb=kb*Uc,wa.set(z.x-rb,z.y-sb,z.x+rb,z.y+sb),!1!==$a.intersects(wa)&&(q.save(),q.translate(z.x,z.y),q.rotate(-Xa.rotation),q.scale(jb,-kb),q.translate(-kc,-Uc),q.drawImage(ja,0,0),q.restore())):aa instanceof THREE.ParticleCanvasMaterial&&(rb=Xa.scale.x*p,sb=Xa.scale.y*o,wa.set(z.x-rb,z.y-sb,z.x+rb,z.y+sb),!1!== -$a.intersects(wa)&&(d(aa.color.getContextStyle()),e(aa.color.getContextStyle()),q.save(),q.translate(z.x,z.y),q.rotate(-Xa.rotation),q.scale(rb,sb),aa.program(q),q.restore()))}else if(ja instanceof THREE.RenderableLine){if(C=ja.v1,G=ja.v2,C.positionScreen.x*=p,C.positionScreen.y*=o,G.positionScreen.x*=p,G.positionScreen.y*=o,wa.addPoint(C.positionScreen.x,C.positionScreen.y),wa.addPoint(G.positionScreen.x,G.positionScreen.y),!0===$a.intersects(wa)&&(z=C,Xa=G,b(aa.opacity),c(aa.blending),q.beginPath(), -q.moveTo(z.positionScreen.x,z.positionScreen.y),q.lineTo(Xa.positionScreen.x,Xa.positionScreen.y),aa instanceof THREE.LineBasicMaterial))z=aa.linewidth,A!==z&&(A=q.lineWidth=z),z=aa.linecap,v!==z&&(v=q.lineCap=z),z=aa.linejoin,y!==z&&(y=q.lineJoin=z),d(aa.color.getContextStyle()),q.stroke(),wa.inflate(2*aa.linewidth)}else if(ja instanceof THREE.RenderableFace3)C=ja.v1,G=ja.v2,H=ja.v3,C.positionScreen.x*=p,C.positionScreen.y*=o,G.positionScreen.x*=p,G.positionScreen.y*=o,H.positionScreen.x*=p,H.positionScreen.y*= -o,!0===aa.overdraw&&(Wb(C.positionScreen,G.positionScreen),Wb(G.positionScreen,H.positionScreen),Wb(H.positionScreen,C.positionScreen)),wa.add3Points(C.positionScreen.x,C.positionScreen.y,G.positionScreen.x,G.positionScreen.y,H.positionScreen.x,H.positionScreen.y),!0===$a.intersects(wa)&&n(C,G,H,0,1,2,ja,aa,a);else if(ja instanceof THREE.RenderableFace4&&(C=ja.v1,G=ja.v2,H=ja.v3,J=ja.v4,C.positionScreen.x*=p,C.positionScreen.y*=o,G.positionScreen.x*=p,G.positionScreen.y*=o,H.positionScreen.x*=p,H.positionScreen.y*= -o,J.positionScreen.x*=p,J.positionScreen.y*=o,E.positionScreen.copy(G.positionScreen),M.positionScreen.copy(J.positionScreen),!0===aa.overdraw&&(Wb(C.positionScreen,G.positionScreen),Wb(G.positionScreen,J.positionScreen),Wb(J.positionScreen,C.positionScreen),Wb(H.positionScreen,E.positionScreen),Wb(H.positionScreen,M.positionScreen)),wa.addPoint(C.positionScreen.x,C.positionScreen.y),wa.addPoint(G.positionScreen.x,G.positionScreen.y),wa.addPoint(H.positionScreen.x,H.positionScreen.y),wa.addPoint(J.positionScreen.x, -J.positionScreen.y),!0===$a.intersects(wa)))(z=C,Xa=G,rb=H,sb=J,jb=E,kb=M,kc=a,f.info.render.vertices+=4,f.info.render.faces++,b(aa.opacity),c(aa.blending),void 0!==aa.map&&null!==aa.map||void 0!==aa.envMap&&null!==aa.envMap)?(n(z,Xa,sb,0,1,3,ja,aa,kc),n(jb,rb,kb,1,2,3,ja,aa,kc)):(K=z.positionScreen.x,F=z.positionScreen.y,I=Xa.positionScreen.x,L=Xa.positionScreen.y,R=rb.positionScreen.x,$=rb.positionScreen.y,Y=sb.positionScreen.x,N=sb.positionScreen.y,ea=jb.positionScreen.x,Q=jb.positionScreen.y, -qa=kb.positionScreen.x,la=kb.positionScreen.y,aa instanceof THREE.MeshLambertMaterial||aa instanceof THREE.MeshPhongMaterial)?(Z.copy(aa.color),ca.copy(aa.emissive),aa.vertexColors===THREE.FaceColors&&(Z.r*=ja.color.r,Z.g*=ja.color.g,Z.b*=ja.color.b),!0===wb)?!1===aa.wireframe&&aa.shading==THREE.SmoothShading&&4==ja.vertexNormalsLength?(fa.r=W.r=V.r=ia.r=Da.r,fa.g=W.g=V.g=ia.g=Da.g,fa.b=W.b=V.b=ia.b=Da.b,m(ja.v1.positionWorld,ja.vertexNormalsWorld[0],fa),m(ja.v2.positionWorld,ja.vertexNormalsWorld[1], -W),m(ja.v4.positionWorld,ja.vertexNormalsWorld[3],V),m(ja.v3.positionWorld,ja.vertexNormalsWorld[2],ia),fa.r=fa.r*Z.r+ca.r,fa.g=fa.g*Z.g+ca.g,fa.b=fa.b*Z.b+ca.b,W.r=W.r*Z.r+ca.r,W.g=W.g*Z.g+ca.g,W.b=W.b*Z.b+ca.b,V.r=V.r*Z.r+ca.r,V.g=V.g*Z.g+ca.g,V.b=V.b*Z.b+ca.b,ia.r=ia.r*Z.r+ca.r,ia.g=ia.g*Z.g+ca.g,ia.b=ia.b*Z.b+ca.b,na=Dc(fa,W,V,ia),r(K,F,I,L,Y,N),gc(K,F,I,L,Y,N,0,0,1,0,0,1,na),r(ea,Q,R,$,qa,la),gc(ea,Q,R,$,qa,la,1,0,1,1,0,1,na)):(O.r=Da.r,O.g=Da.g,O.b=Da.b,m(ja.centroidWorld,ja.normalWorld,O), -O.r=O.r*Z.r+ca.r,O.g=O.g*Z.g+ca.g,O.b=O.b*Z.b+ca.b,s(K,F,I,L,R,$,Y,N),!0===aa.wireframe?t(O,aa.wireframeLinewidth,aa.wireframeLinecap,aa.wireframeLinejoin):u(O)):(O.r=Z.r+ca.r,O.g=Z.g+ca.g,O.b=Z.b+ca.b,s(K,F,I,L,R,$,Y,N),!0===aa.wireframe?t(O,aa.wireframeLinewidth,aa.wireframeLinecap,aa.wireframeLinejoin):u(O)):aa instanceof THREE.MeshBasicMaterial?(O.copy(aa.color),aa.vertexColors===THREE.FaceColors&&(O.r*=ja.color.r,O.g*=ja.color.g,O.b*=ja.color.b),s(K,F,I,L,R,$,Y,N),!0===aa.wireframe?t(O,aa.wireframeLinewidth, -aa.wireframeLinecap,aa.wireframeLinejoin):u(O)):aa instanceof THREE.MeshNormalMaterial?(O.r=jc(ja.normalWorld.x),O.g=jc(ja.normalWorld.y),O.b=jc(ja.normalWorld.z),s(K,F,I,L,R,$,Y,N),!0===aa.wireframe?t(O,aa.wireframeLinewidth,aa.wireframeLinecap,aa.wireframeLinejoin):u(O)):aa instanceof THREE.MeshDepthMaterial&&(Ia=l.near,Ua=l.far,fa.r=fa.g=fa.b=1-tb(z.positionScreen.z,Ia,Ua),W.r=W.g=W.b=1-tb(Xa.positionScreen.z,Ia,Ua),V.r=V.g=V.b=1-tb(sb.positionScreen.z,Ia,Ua),ia.r=ia.g=ia.b=1-tb(rb.positionScreen.z, -Ia,Ua),na=Dc(fa,W,V,ia),r(K,F,I,L,Y,N),gc(K,F,I,L,Y,N,0,0,1,0,0,1,na),r(ea,Q,R,$,qa,la),gc(ea,Q,R,$,qa,la,1,0,1,1,0,1,na));Ja.addRectangle(wa)}q.setTransform(1,0,0,1,0,0)}}}; -THREE.ShaderChunk={fog_pars_fragment:"#ifdef USE_FOG\nuniform vec3 fogColor;\n#ifdef FOG_EXP2\nuniform float fogDensity;\n#else\nuniform float fogNear;\nuniform float fogFar;\n#endif\n#endif",fog_fragment:"#ifdef USE_FOG\nfloat depth = gl_FragCoord.z / gl_FragCoord.w;\n#ifdef FOG_EXP2\nconst float LOG2 = 1.442695;\nfloat fogFactor = exp2( - fogDensity * fogDensity * depth * depth * LOG2 );\nfogFactor = 1.0 - clamp( fogFactor, 0.0, 1.0 );\n#else\nfloat fogFactor = smoothstep( fogNear, fogFar, depth );\n#endif\ngl_FragColor = mix( gl_FragColor, vec4( fogColor, gl_FragColor.w ), fogFactor );\n#endif",envmap_pars_fragment:"#ifdef USE_ENVMAP\nuniform float reflectivity;\nuniform samplerCube envMap;\nuniform float flipEnvMap;\nuniform int combine;\n#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP )\nuniform bool useRefract;\nuniform float refractionRatio;\n#else\nvarying vec3 vReflect;\n#endif\n#endif", -envmap_fragment:"#ifdef USE_ENVMAP\nvec3 reflectVec;\n#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP )\nvec3 cameraToVertex = normalize( vWorldPosition - cameraPosition );\nif ( useRefract ) {\nreflectVec = refract( cameraToVertex, normal, refractionRatio );\n} else { \nreflectVec = reflect( cameraToVertex, normal );\n}\n#else\nreflectVec = vReflect;\n#endif\n#ifdef DOUBLE_SIDED\nfloat flipNormal = ( -1.0 + 2.0 * float( gl_FrontFacing ) );\nvec4 cubeColor = textureCube( envMap, flipNormal * vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n#else\nvec4 cubeColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n#endif\n#ifdef GAMMA_INPUT\ncubeColor.xyz *= cubeColor.xyz;\n#endif\nif ( combine == 1 ) {\ngl_FragColor.xyz = mix( gl_FragColor.xyz, cubeColor.xyz, specularStrength * reflectivity );\n} else {\ngl_FragColor.xyz = mix( gl_FragColor.xyz, gl_FragColor.xyz * cubeColor.xyz, specularStrength * reflectivity );\n}\n#endif", -envmap_pars_vertex:"#if defined( USE_ENVMAP ) && ! defined( USE_BUMPMAP ) && ! defined( USE_NORMALMAP )\nvarying vec3 vReflect;\nuniform float refractionRatio;\nuniform bool useRefract;\n#endif",worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( PHONG ) || defined( LAMBERT ) || defined ( USE_SHADOWMAP )\n#ifdef USE_SKINNING\nvec4 mPosition = modelMatrix * skinned;\n#endif\n#if defined( USE_MORPHTARGETS ) && ! defined( USE_SKINNING )\nvec4 mPosition = modelMatrix * vec4( morphed, 1.0 );\n#endif\n#if ! defined( USE_MORPHTARGETS ) && ! defined( USE_SKINNING )\nvec4 mPosition = modelMatrix * vec4( position, 1.0 );\n#endif\n#endif", -envmap_vertex:"#if defined( USE_ENVMAP ) && ! defined( USE_BUMPMAP ) && ! defined( USE_NORMALMAP )\nvec3 nWorld = mat3( modelMatrix[ 0 ].xyz, modelMatrix[ 1 ].xyz, modelMatrix[ 2 ].xyz ) * objectNormal;\nif ( useRefract ) {\nvReflect = refract( normalize( mPosition.xyz - cameraPosition ), normalize( nWorld.xyz ), refractionRatio );\n} else {\nvReflect = reflect( normalize( mPosition.xyz - cameraPosition ), normalize( nWorld.xyz ) );\n}\n#endif",map_particle_pars_fragment:"#ifdef USE_MAP\nuniform sampler2D map;\n#endif", -map_particle_fragment:"#ifdef USE_MAP\ngl_FragColor = gl_FragColor * texture2D( map, vec2( gl_PointCoord.x, 1.0 - gl_PointCoord.y ) );\n#endif",map_pars_vertex:"#if defined( USE_MAP ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( USE_SPECULARMAP )\nvarying vec2 vUv;\nuniform vec4 offsetRepeat;\n#endif",map_pars_fragment:"#if defined( USE_MAP ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( USE_SPECULARMAP )\nvarying vec2 vUv;\n#endif\n#ifdef USE_MAP\nuniform sampler2D map;\n#endif", -map_vertex:"#if defined( USE_MAP ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( USE_SPECULARMAP )\nvUv = uv * offsetRepeat.zw + offsetRepeat.xy;\n#endif",map_fragment:"#ifdef USE_MAP\n#ifdef GAMMA_INPUT\nvec4 texelColor = texture2D( map, vUv );\ntexelColor.xyz *= texelColor.xyz;\ngl_FragColor = gl_FragColor * texelColor;\n#else\ngl_FragColor = gl_FragColor * texture2D( map, vUv );\n#endif\n#endif",lightmap_pars_fragment:"#ifdef USE_LIGHTMAP\nvarying vec2 vUv2;\nuniform sampler2D lightMap;\n#endif", -lightmap_pars_vertex:"#ifdef USE_LIGHTMAP\nvarying vec2 vUv2;\n#endif",lightmap_fragment:"#ifdef USE_LIGHTMAP\ngl_FragColor = gl_FragColor * texture2D( lightMap, vUv2 );\n#endif",lightmap_vertex:"#ifdef USE_LIGHTMAP\nvUv2 = uv2;\n#endif",bumpmap_pars_fragment:"#ifdef USE_BUMPMAP\nuniform sampler2D bumpMap;\nuniform float bumpScale;\nvec2 dHdxy_fwd() {\nvec2 dSTdx = dFdx( vUv );\nvec2 dSTdy = dFdy( vUv );\nfloat Hll = bumpScale * texture2D( bumpMap, vUv ).x;\nfloat dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll;\nfloat dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll;\nreturn vec2( dBx, dBy );\n}\nvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy ) {\nvec3 vSigmaX = dFdx( surf_pos );\nvec3 vSigmaY = dFdy( surf_pos );\nvec3 vN = surf_norm;\nvec3 R1 = cross( vSigmaY, vN );\nvec3 R2 = cross( vN, vSigmaX );\nfloat fDet = dot( vSigmaX, R1 );\nvec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\nreturn normalize( abs( fDet ) * surf_norm - vGrad );\n}\n#endif", -normalmap_pars_fragment:"#ifdef USE_NORMALMAP\nuniform sampler2D normalMap;\nuniform vec2 normalScale;\nvec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm ) {\nvec3 q0 = dFdx( eye_pos.xyz );\nvec3 q1 = dFdy( eye_pos.xyz );\nvec2 st0 = dFdx( vUv.st );\nvec2 st1 = dFdy( vUv.st );\nvec3 S = normalize( q0 * st1.t - q1 * st0.t );\nvec3 T = normalize( -q0 * st1.s + q1 * st0.s );\nvec3 N = normalize( surf_norm );\nvec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\nmapN.xy = normalScale * mapN.xy;\nmat3 tsn = mat3( S, T, N );\nreturn normalize( tsn * mapN );\n}\n#endif", -specularmap_pars_fragment:"#ifdef USE_SPECULARMAP\nuniform sampler2D specularMap;\n#endif",specularmap_fragment:"float specularStrength;\n#ifdef USE_SPECULARMAP\nvec4 texelSpecular = texture2D( specularMap, vUv );\nspecularStrength = texelSpecular.r;\n#else\nspecularStrength = 1.0;\n#endif",lights_lambert_pars_vertex:"uniform vec3 ambient;\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 ambientLightColor;\n#if MAX_DIR_LIGHTS > 0\nuniform vec3 directionalLightColor[ MAX_DIR_LIGHTS ];\nuniform vec3 directionalLightDirection[ MAX_DIR_LIGHTS ];\n#endif\n#if MAX_HEMI_LIGHTS > 0\nuniform vec3 hemisphereLightSkyColor[ MAX_HEMI_LIGHTS ];\nuniform vec3 hemisphereLightGroundColor[ MAX_HEMI_LIGHTS ];\nuniform vec3 hemisphereLightPosition[ MAX_HEMI_LIGHTS ];\n#endif\n#if MAX_POINT_LIGHTS > 0\nuniform vec3 pointLightColor[ MAX_POINT_LIGHTS ];\nuniform vec3 pointLightPosition[ MAX_POINT_LIGHTS ];\nuniform float pointLightDistance[ MAX_POINT_LIGHTS ];\n#endif\n#if MAX_SPOT_LIGHTS > 0\nuniform vec3 spotLightColor[ MAX_SPOT_LIGHTS ];\nuniform vec3 spotLightPosition[ MAX_SPOT_LIGHTS ];\nuniform vec3 spotLightDirection[ MAX_SPOT_LIGHTS ];\nuniform float spotLightDistance[ MAX_SPOT_LIGHTS ];\nuniform float spotLightAngle[ MAX_SPOT_LIGHTS ];\nuniform float spotLightExponent[ MAX_SPOT_LIGHTS ];\n#endif\n#ifdef WRAP_AROUND\nuniform vec3 wrapRGB;\n#endif", -lights_lambert_vertex:"vLightFront = vec3( 0.0 );\n#ifdef DOUBLE_SIDED\nvLightBack = vec3( 0.0 );\n#endif\ntransformedNormal = normalize( transformedNormal );\n#if MAX_DIR_LIGHTS > 0\nfor( int i = 0; i < MAX_DIR_LIGHTS; i ++ ) {\nvec4 lDirection = viewMatrix * vec4( directionalLightDirection[ i ], 0.0 );\nvec3 dirVector = normalize( lDirection.xyz );\nfloat dotProduct = dot( transformedNormal, dirVector );\nvec3 directionalLightWeighting = vec3( max( dotProduct, 0.0 ) );\n#ifdef DOUBLE_SIDED\nvec3 directionalLightWeightingBack = vec3( max( -dotProduct, 0.0 ) );\n#ifdef WRAP_AROUND\nvec3 directionalLightWeightingHalfBack = vec3( max( -0.5 * dotProduct + 0.5, 0.0 ) );\n#endif\n#endif\n#ifdef WRAP_AROUND\nvec3 directionalLightWeightingHalf = vec3( max( 0.5 * dotProduct + 0.5, 0.0 ) );\ndirectionalLightWeighting = mix( directionalLightWeighting, directionalLightWeightingHalf, wrapRGB );\n#ifdef DOUBLE_SIDED\ndirectionalLightWeightingBack = mix( directionalLightWeightingBack, directionalLightWeightingHalfBack, wrapRGB );\n#endif\n#endif\nvLightFront += directionalLightColor[ i ] * directionalLightWeighting;\n#ifdef DOUBLE_SIDED\nvLightBack += directionalLightColor[ i ] * directionalLightWeightingBack;\n#endif\n}\n#endif\n#if MAX_POINT_LIGHTS > 0\nfor( int i = 0; i < MAX_POINT_LIGHTS; i ++ ) {\nvec4 lPosition = viewMatrix * vec4( pointLightPosition[ i ], 1.0 );\nvec3 lVector = lPosition.xyz - mvPosition.xyz;\nfloat lDistance = 1.0;\nif ( pointLightDistance[ i ] > 0.0 )\nlDistance = 1.0 - min( ( length( lVector ) / pointLightDistance[ i ] ), 1.0 );\nlVector = normalize( lVector );\nfloat dotProduct = dot( transformedNormal, lVector );\nvec3 pointLightWeighting = vec3( max( dotProduct, 0.0 ) );\n#ifdef DOUBLE_SIDED\nvec3 pointLightWeightingBack = vec3( max( -dotProduct, 0.0 ) );\n#ifdef WRAP_AROUND\nvec3 pointLightWeightingHalfBack = vec3( max( -0.5 * dotProduct + 0.5, 0.0 ) );\n#endif\n#endif\n#ifdef WRAP_AROUND\nvec3 pointLightWeightingHalf = vec3( max( 0.5 * dotProduct + 0.5, 0.0 ) );\npointLightWeighting = mix( pointLightWeighting, pointLightWeightingHalf, wrapRGB );\n#ifdef DOUBLE_SIDED\npointLightWeightingBack = mix( pointLightWeightingBack, pointLightWeightingHalfBack, wrapRGB );\n#endif\n#endif\nvLightFront += pointLightColor[ i ] * pointLightWeighting * lDistance;\n#ifdef DOUBLE_SIDED\nvLightBack += pointLightColor[ i ] * pointLightWeightingBack * lDistance;\n#endif\n}\n#endif\n#if MAX_SPOT_LIGHTS > 0\nfor( int i = 0; i < MAX_SPOT_LIGHTS; i ++ ) {\nvec4 lPosition = viewMatrix * vec4( spotLightPosition[ i ], 1.0 );\nvec3 lVector = lPosition.xyz - mvPosition.xyz;\nlVector = normalize( lVector );\nfloat spotEffect = dot( spotLightDirection[ i ], normalize( spotLightPosition[ i ] - mPosition.xyz ) );\nif ( spotEffect > spotLightAngle[ i ] ) {\nspotEffect = pow( spotEffect, spotLightExponent[ i ] );\nfloat lDistance = 1.0;\nif ( spotLightDistance[ i ] > 0.0 )\nlDistance = 1.0 - min( ( length( lVector ) / spotLightDistance[ i ] ), 1.0 );\nfloat dotProduct = dot( transformedNormal, lVector );\nvec3 spotLightWeighting = vec3( max( dotProduct, 0.0 ) );\n#ifdef DOUBLE_SIDED\nvec3 spotLightWeightingBack = vec3( max( -dotProduct, 0.0 ) );\n#ifdef WRAP_AROUND\nvec3 spotLightWeightingHalfBack = vec3( max( -0.5 * dotProduct + 0.5, 0.0 ) );\n#endif\n#endif\n#ifdef WRAP_AROUND\nvec3 spotLightWeightingHalf = vec3( max( 0.5 * dotProduct + 0.5, 0.0 ) );\nspotLightWeighting = mix( spotLightWeighting, spotLightWeightingHalf, wrapRGB );\n#ifdef DOUBLE_SIDED\nspotLightWeightingBack = mix( spotLightWeightingBack, spotLightWeightingHalfBack, wrapRGB );\n#endif\n#endif\nvLightFront += spotLightColor[ i ] * spotLightWeighting * lDistance * spotEffect;\n#ifdef DOUBLE_SIDED\nvLightBack += spotLightColor[ i ] * spotLightWeightingBack * lDistance * spotEffect;\n#endif\n}\n}\n#endif\n#if MAX_HEMI_LIGHTS > 0\nfor( int i = 0; i < MAX_HEMI_LIGHTS; i ++ ) {\nvec4 lPosition = viewMatrix * vec4( hemisphereLightPosition[ i ], 1.0 );\nvec3 lVector = lPosition.xyz - mvPosition.xyz;\nlVector = normalize( lVector );\nfloat dotProduct = dot( transformedNormal, lVector );\nfloat hemiDiffuseWeight = 0.5 * dotProduct + 0.5;\nfloat hemiDiffuseWeightBack = -0.5 * dotProduct + 0.5;\nvLightFront += mix( hemisphereLightGroundColor[ i ], hemisphereLightSkyColor[ i ], hemiDiffuseWeight );\n#ifdef DOUBLE_SIDED\nvLightBack += mix( hemisphereLightGroundColor[ i ], hemisphereLightSkyColor[ i ], hemiDiffuseWeightBack );\n#endif\n}\n#endif\nvLightFront = vLightFront * diffuse + ambient * ambientLightColor + emissive;\n#ifdef DOUBLE_SIDED\nvLightBack = vLightBack * diffuse + ambient * ambientLightColor + emissive;\n#endif", -lights_phong_pars_vertex:"#ifndef PHONG_PER_PIXEL\n#if MAX_POINT_LIGHTS > 0\nuniform vec3 pointLightPosition[ MAX_POINT_LIGHTS ];\nuniform float pointLightDistance[ MAX_POINT_LIGHTS ];\nvarying vec4 vPointLight[ MAX_POINT_LIGHTS ];\n#endif\n#if MAX_SPOT_LIGHTS > 0\nuniform vec3 spotLightPosition[ MAX_SPOT_LIGHTS ];\nuniform float spotLightDistance[ MAX_SPOT_LIGHTS ];\nvarying vec4 vSpotLight[ MAX_SPOT_LIGHTS ];\n#endif\n#endif\n#if MAX_SPOT_LIGHTS > 0 || defined( USE_BUMPMAP )\nvarying vec3 vWorldPosition;\n#endif", -lights_phong_vertex:"#ifndef PHONG_PER_PIXEL\n#if MAX_POINT_LIGHTS > 0\nfor( int i = 0; i < MAX_POINT_LIGHTS; i ++ ) {\nvec4 lPosition = viewMatrix * vec4( pointLightPosition[ i ], 1.0 );\nvec3 lVector = lPosition.xyz - mvPosition.xyz;\nfloat lDistance = 1.0;\nif ( pointLightDistance[ i ] > 0.0 )\nlDistance = 1.0 - min( ( length( lVector ) / pointLightDistance[ i ] ), 1.0 );\nvPointLight[ i ] = vec4( lVector, lDistance );\n}\n#endif\n#if MAX_SPOT_LIGHTS > 0\nfor( int i = 0; i < MAX_SPOT_LIGHTS; i ++ ) {\nvec4 lPosition = viewMatrix * vec4( spotLightPosition[ i ], 1.0 );\nvec3 lVector = lPosition.xyz - mvPosition.xyz;\nfloat lDistance = 1.0;\nif ( spotLightDistance[ i ] > 0.0 )\nlDistance = 1.0 - min( ( length( lVector ) / spotLightDistance[ i ] ), 1.0 );\nvSpotLight[ i ] = vec4( lVector, lDistance );\n}\n#endif\n#endif\n#if MAX_SPOT_LIGHTS > 0 || defined( USE_BUMPMAP )\nvWorldPosition = mPosition.xyz;\n#endif", -lights_phong_pars_fragment:"uniform vec3 ambientLightColor;\n#if MAX_DIR_LIGHTS > 0\nuniform vec3 directionalLightColor[ MAX_DIR_LIGHTS ];\nuniform vec3 directionalLightDirection[ MAX_DIR_LIGHTS ];\n#endif\n#if MAX_HEMI_LIGHTS > 0\nuniform vec3 hemisphereLightSkyColor[ MAX_HEMI_LIGHTS ];\nuniform vec3 hemisphereLightGroundColor[ MAX_HEMI_LIGHTS ];\nuniform vec3 hemisphereLightPosition[ MAX_HEMI_LIGHTS ];\n#endif\n#if MAX_POINT_LIGHTS > 0\nuniform vec3 pointLightColor[ MAX_POINT_LIGHTS ];\n#ifdef PHONG_PER_PIXEL\nuniform vec3 pointLightPosition[ MAX_POINT_LIGHTS ];\nuniform float pointLightDistance[ MAX_POINT_LIGHTS ];\n#else\nvarying vec4 vPointLight[ MAX_POINT_LIGHTS ];\n#endif\n#endif\n#if MAX_SPOT_LIGHTS > 0\nuniform vec3 spotLightColor[ MAX_SPOT_LIGHTS ];\nuniform vec3 spotLightPosition[ MAX_SPOT_LIGHTS ];\nuniform vec3 spotLightDirection[ MAX_SPOT_LIGHTS ];\nuniform float spotLightAngle[ MAX_SPOT_LIGHTS ];\nuniform float spotLightExponent[ MAX_SPOT_LIGHTS ];\n#ifdef PHONG_PER_PIXEL\nuniform float spotLightDistance[ MAX_SPOT_LIGHTS ];\n#else\nvarying vec4 vSpotLight[ MAX_SPOT_LIGHTS ];\n#endif\n#endif\n#if MAX_SPOT_LIGHTS > 0 || defined( USE_BUMPMAP )\nvarying vec3 vWorldPosition;\n#endif\n#ifdef WRAP_AROUND\nuniform vec3 wrapRGB;\n#endif\nvarying vec3 vViewPosition;\nvarying vec3 vNormal;", -lights_phong_fragment:"vec3 normal = normalize( vNormal );\nvec3 viewPosition = normalize( vViewPosition );\n#ifdef DOUBLE_SIDED\nnormal = normal * ( -1.0 + 2.0 * float( gl_FrontFacing ) );\n#endif\n#ifdef USE_NORMALMAP\nnormal = perturbNormal2Arb( -viewPosition, normal );\n#elif defined( USE_BUMPMAP )\nnormal = perturbNormalArb( -vViewPosition, normal, dHdxy_fwd() );\n#endif\n#if MAX_POINT_LIGHTS > 0\nvec3 pointDiffuse = vec3( 0.0 );\nvec3 pointSpecular = vec3( 0.0 );\nfor ( int i = 0; i < MAX_POINT_LIGHTS; i ++ ) {\n#ifdef PHONG_PER_PIXEL\nvec4 lPosition = viewMatrix * vec4( pointLightPosition[ i ], 1.0 );\nvec3 lVector = lPosition.xyz + vViewPosition.xyz;\nfloat lDistance = 1.0;\nif ( pointLightDistance[ i ] > 0.0 )\nlDistance = 1.0 - min( ( length( lVector ) / pointLightDistance[ i ] ), 1.0 );\nlVector = normalize( lVector );\n#else\nvec3 lVector = normalize( vPointLight[ i ].xyz );\nfloat lDistance = vPointLight[ i ].w;\n#endif\nfloat dotProduct = dot( normal, lVector );\n#ifdef WRAP_AROUND\nfloat pointDiffuseWeightFull = max( dotProduct, 0.0 );\nfloat pointDiffuseWeightHalf = max( 0.5 * dotProduct + 0.5, 0.0 );\nvec3 pointDiffuseWeight = mix( vec3 ( pointDiffuseWeightFull ), vec3( pointDiffuseWeightHalf ), wrapRGB );\n#else\nfloat pointDiffuseWeight = max( dotProduct, 0.0 );\n#endif\npointDiffuse += diffuse * pointLightColor[ i ] * pointDiffuseWeight * lDistance;\nvec3 pointHalfVector = normalize( lVector + viewPosition );\nfloat pointDotNormalHalf = max( dot( normal, pointHalfVector ), 0.0 );\nfloat pointSpecularWeight = specularStrength * max( pow( pointDotNormalHalf, shininess ), 0.0 );\n#ifdef PHYSICALLY_BASED_SHADING\nfloat specularNormalization = ( shininess + 2.0001 ) / 8.0;\nvec3 schlick = specular + vec3( 1.0 - specular ) * pow( 1.0 - dot( lVector, pointHalfVector ), 5.0 );\npointSpecular += schlick * pointLightColor[ i ] * pointSpecularWeight * pointDiffuseWeight * lDistance * specularNormalization;\n#else\npointSpecular += specular * pointLightColor[ i ] * pointSpecularWeight * pointDiffuseWeight * lDistance;\n#endif\n}\n#endif\n#if MAX_SPOT_LIGHTS > 0\nvec3 spotDiffuse = vec3( 0.0 );\nvec3 spotSpecular = vec3( 0.0 );\nfor ( int i = 0; i < MAX_SPOT_LIGHTS; i ++ ) {\n#ifdef PHONG_PER_PIXEL\nvec4 lPosition = viewMatrix * vec4( spotLightPosition[ i ], 1.0 );\nvec3 lVector = lPosition.xyz + vViewPosition.xyz;\nfloat lDistance = 1.0;\nif ( spotLightDistance[ i ] > 0.0 )\nlDistance = 1.0 - min( ( length( lVector ) / spotLightDistance[ i ] ), 1.0 );\nlVector = normalize( lVector );\n#else\nvec3 lVector = normalize( vSpotLight[ i ].xyz );\nfloat lDistance = vSpotLight[ i ].w;\n#endif\nfloat spotEffect = dot( spotLightDirection[ i ], normalize( spotLightPosition[ i ] - vWorldPosition ) );\nif ( spotEffect > spotLightAngle[ i ] ) {\nspotEffect = pow( spotEffect, spotLightExponent[ i ] );\nfloat dotProduct = dot( normal, lVector );\n#ifdef WRAP_AROUND\nfloat spotDiffuseWeightFull = max( dotProduct, 0.0 );\nfloat spotDiffuseWeightHalf = max( 0.5 * dotProduct + 0.5, 0.0 );\nvec3 spotDiffuseWeight = mix( vec3 ( spotDiffuseWeightFull ), vec3( spotDiffuseWeightHalf ), wrapRGB );\n#else\nfloat spotDiffuseWeight = max( dotProduct, 0.0 );\n#endif\nspotDiffuse += diffuse * spotLightColor[ i ] * spotDiffuseWeight * lDistance * spotEffect;\nvec3 spotHalfVector = normalize( lVector + viewPosition );\nfloat spotDotNormalHalf = max( dot( normal, spotHalfVector ), 0.0 );\nfloat spotSpecularWeight = specularStrength * max( pow( spotDotNormalHalf, shininess ), 0.0 );\n#ifdef PHYSICALLY_BASED_SHADING\nfloat specularNormalization = ( shininess + 2.0001 ) / 8.0;\nvec3 schlick = specular + vec3( 1.0 - specular ) * pow( 1.0 - dot( lVector, spotHalfVector ), 5.0 );\nspotSpecular += schlick * spotLightColor[ i ] * spotSpecularWeight * spotDiffuseWeight * lDistance * specularNormalization * spotEffect;\n#else\nspotSpecular += specular * spotLightColor[ i ] * spotSpecularWeight * spotDiffuseWeight * lDistance * spotEffect;\n#endif\n}\n}\n#endif\n#if MAX_DIR_LIGHTS > 0\nvec3 dirDiffuse = vec3( 0.0 );\nvec3 dirSpecular = vec3( 0.0 );\nfor( int i = 0; i < MAX_DIR_LIGHTS; i ++ ) {\nvec4 lDirection = viewMatrix * vec4( directionalLightDirection[ i ], 0.0 );\nvec3 dirVector = normalize( lDirection.xyz );\nfloat dotProduct = dot( normal, dirVector );\n#ifdef WRAP_AROUND\nfloat dirDiffuseWeightFull = max( dotProduct, 0.0 );\nfloat dirDiffuseWeightHalf = max( 0.5 * dotProduct + 0.5, 0.0 );\nvec3 dirDiffuseWeight = mix( vec3( dirDiffuseWeightFull ), vec3( dirDiffuseWeightHalf ), wrapRGB );\n#else\nfloat dirDiffuseWeight = max( dotProduct, 0.0 );\n#endif\ndirDiffuse += diffuse * directionalLightColor[ i ] * dirDiffuseWeight;\nvec3 dirHalfVector = normalize( dirVector + viewPosition );\nfloat dirDotNormalHalf = max( dot( normal, dirHalfVector ), 0.0 );\nfloat dirSpecularWeight = specularStrength * max( pow( dirDotNormalHalf, shininess ), 0.0 );\n#ifdef PHYSICALLY_BASED_SHADING\nfloat specularNormalization = ( shininess + 2.0001 ) / 8.0;\nvec3 schlick = specular + vec3( 1.0 - specular ) * pow( 1.0 - dot( dirVector, dirHalfVector ), 5.0 );\ndirSpecular += schlick * directionalLightColor[ i ] * dirSpecularWeight * dirDiffuseWeight * specularNormalization;\n#else\ndirSpecular += specular * directionalLightColor[ i ] * dirSpecularWeight * dirDiffuseWeight;\n#endif\n}\n#endif\n#if MAX_HEMI_LIGHTS > 0\nvec3 hemiDiffuse = vec3( 0.0 );\nvec3 hemiSpecular = vec3( 0.0 );\nfor( int i = 0; i < MAX_HEMI_LIGHTS; i ++ ) {\nvec4 lPosition = viewMatrix * vec4( hemisphereLightPosition[ i ], 1.0 );\nvec3 lVector = normalize( lPosition.xyz + vViewPosition.xyz );\nfloat dotProduct = dot( normal, lVector );\nfloat hemiDiffuseWeight = 0.5 * dotProduct + 0.5;\nvec3 hemiColor = mix( hemisphereLightGroundColor[ i ], hemisphereLightSkyColor[ i ], hemiDiffuseWeight );\nhemiDiffuse += diffuse * hemiColor;\nvec3 hemiHalfVectorSky = normalize( lVector + viewPosition );\nfloat hemiDotNormalHalfSky = 0.5 * dot( normal, hemiHalfVectorSky ) + 0.5;\nfloat hemiSpecularWeightSky = specularStrength * max( pow( hemiDotNormalHalfSky, shininess ), 0.0 );\nvec3 lVectorGround = normalize( -lPosition.xyz + vViewPosition.xyz );\nvec3 hemiHalfVectorGround = normalize( lVectorGround + viewPosition );\nfloat hemiDotNormalHalfGround = 0.5 * dot( normal, hemiHalfVectorGround ) + 0.5;\nfloat hemiSpecularWeightGround = specularStrength * max( pow( hemiDotNormalHalfGround, shininess ), 0.0 );\n#ifdef PHYSICALLY_BASED_SHADING\nfloat dotProductGround = dot( normal, lVectorGround );\nfloat specularNormalization = ( shininess + 2.0001 ) / 8.0;\nvec3 schlickSky = specular + vec3( 1.0 - specular ) * pow( 1.0 - dot( lVector, hemiHalfVectorSky ), 5.0 );\nvec3 schlickGround = specular + vec3( 1.0 - specular ) * pow( 1.0 - dot( lVectorGround, hemiHalfVectorGround ), 5.0 );\nhemiSpecular += hemiColor * specularNormalization * ( schlickSky * hemiSpecularWeightSky * max( dotProduct, 0.0 ) + schlickGround * hemiSpecularWeightGround * max( dotProductGround, 0.0 ) );\n#else\nhemiSpecular += specular * hemiColor * ( hemiSpecularWeightSky + hemiSpecularWeightGround ) * hemiDiffuseWeight;\n#endif\n}\n#endif\nvec3 totalDiffuse = vec3( 0.0 );\nvec3 totalSpecular = vec3( 0.0 );\n#if MAX_DIR_LIGHTS > 0\ntotalDiffuse += dirDiffuse;\ntotalSpecular += dirSpecular;\n#endif\n#if MAX_HEMI_LIGHTS > 0\ntotalDiffuse += hemiDiffuse;\ntotalSpecular += hemiSpecular;\n#endif\n#if MAX_POINT_LIGHTS > 0\ntotalDiffuse += pointDiffuse;\ntotalSpecular += pointSpecular;\n#endif\n#if MAX_SPOT_LIGHTS > 0\ntotalDiffuse += spotDiffuse;\ntotalSpecular += spotSpecular;\n#endif\n#ifdef METAL\ngl_FragColor.xyz = gl_FragColor.xyz * ( emissive + totalDiffuse + ambientLightColor * ambient + totalSpecular );\n#else\ngl_FragColor.xyz = gl_FragColor.xyz * ( emissive + totalDiffuse + ambientLightColor * ambient ) + totalSpecular;\n#endif", -color_pars_fragment:"#ifdef USE_COLOR\nvarying vec3 vColor;\n#endif",color_fragment:"#ifdef USE_COLOR\ngl_FragColor = gl_FragColor * vec4( vColor, opacity );\n#endif",color_pars_vertex:"#ifdef USE_COLOR\nvarying vec3 vColor;\n#endif",color_vertex:"#ifdef USE_COLOR\n#ifdef GAMMA_INPUT\nvColor = color * color;\n#else\nvColor = color;\n#endif\n#endif",skinning_pars_vertex:"#ifdef USE_SKINNING\n#ifdef BONE_TEXTURE\nuniform sampler2D boneTexture;\nmat4 getBoneMatrix( const in float i ) {\nfloat j = i * 4.0;\nfloat x = mod( j, N_BONE_PIXEL_X );\nfloat y = floor( j / N_BONE_PIXEL_X );\nconst float dx = 1.0 / N_BONE_PIXEL_X;\nconst float dy = 1.0 / N_BONE_PIXEL_Y;\ny = dy * ( y + 0.5 );\nvec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\nvec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\nvec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\nvec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\nmat4 bone = mat4( v1, v2, v3, v4 );\nreturn bone;\n}\n#else\nuniform mat4 boneGlobalMatrices[ MAX_BONES ];\nmat4 getBoneMatrix( const in float i ) {\nmat4 bone = boneGlobalMatrices[ int(i) ];\nreturn bone;\n}\n#endif\n#endif", -skinbase_vertex:"#ifdef USE_SKINNING\nmat4 boneMatX = getBoneMatrix( skinIndex.x );\nmat4 boneMatY = getBoneMatrix( skinIndex.y );\n#endif",skinning_vertex:"#ifdef USE_SKINNING\n#ifdef USE_MORPHTARGETS\nvec4 skinVertex = vec4( morphed, 1.0 );\n#else\nvec4 skinVertex = vec4( position, 1.0 );\n#endif\nvec4 skinned = boneMatX * skinVertex * skinWeight.x;\nskinned \t += boneMatY * skinVertex * skinWeight.y;\n#endif",morphtarget_pars_vertex:"#ifdef USE_MORPHTARGETS\n#ifndef USE_MORPHNORMALS\nuniform float morphTargetInfluences[ 8 ];\n#else\nuniform float morphTargetInfluences[ 4 ];\n#endif\n#endif", -morphtarget_vertex:"#ifdef USE_MORPHTARGETS\nvec3 morphed = vec3( 0.0 );\nmorphed += ( morphTarget0 - position ) * morphTargetInfluences[ 0 ];\nmorphed += ( morphTarget1 - position ) * morphTargetInfluences[ 1 ];\nmorphed += ( morphTarget2 - position ) * morphTargetInfluences[ 2 ];\nmorphed += ( morphTarget3 - position ) * morphTargetInfluences[ 3 ];\n#ifndef USE_MORPHNORMALS\nmorphed += ( morphTarget4 - position ) * morphTargetInfluences[ 4 ];\nmorphed += ( morphTarget5 - position ) * morphTargetInfluences[ 5 ];\nmorphed += ( morphTarget6 - position ) * morphTargetInfluences[ 6 ];\nmorphed += ( morphTarget7 - position ) * morphTargetInfluences[ 7 ];\n#endif\nmorphed += position;\n#endif", -default_vertex:"vec4 mvPosition;\n#ifdef USE_SKINNING\nmvPosition = modelViewMatrix * skinned;\n#endif\n#if !defined( USE_SKINNING ) && defined( USE_MORPHTARGETS )\nmvPosition = modelViewMatrix * vec4( morphed, 1.0 );\n#endif\n#if !defined( USE_SKINNING ) && ! defined( USE_MORPHTARGETS )\nmvPosition = modelViewMatrix * vec4( position, 1.0 );\n#endif\ngl_Position = projectionMatrix * mvPosition;",morphnormal_vertex:"#ifdef USE_MORPHNORMALS\nvec3 morphedNormal = vec3( 0.0 );\nmorphedNormal += ( morphNormal0 - normal ) * morphTargetInfluences[ 0 ];\nmorphedNormal += ( morphNormal1 - normal ) * morphTargetInfluences[ 1 ];\nmorphedNormal += ( morphNormal2 - normal ) * morphTargetInfluences[ 2 ];\nmorphedNormal += ( morphNormal3 - normal ) * morphTargetInfluences[ 3 ];\nmorphedNormal += normal;\n#endif", -skinnormal_vertex:"#ifdef USE_SKINNING\nmat4 skinMatrix = skinWeight.x * boneMatX;\nskinMatrix \t+= skinWeight.y * boneMatY;\n#ifdef USE_MORPHNORMALS\nvec4 skinnedNormal = skinMatrix * vec4( morphedNormal, 0.0 );\n#else\nvec4 skinnedNormal = skinMatrix * vec4( normal, 0.0 );\n#endif\n#endif",defaultnormal_vertex:"vec3 objectNormal;\n#ifdef USE_SKINNING\nobjectNormal = skinnedNormal.xyz;\n#endif\n#if !defined( USE_SKINNING ) && defined( USE_MORPHNORMALS )\nobjectNormal = morphedNormal;\n#endif\n#if !defined( USE_SKINNING ) && ! defined( USE_MORPHNORMALS )\nobjectNormal = normal;\n#endif\n#ifdef FLIP_SIDED\nobjectNormal = -objectNormal;\n#endif\nvec3 transformedNormal = normalMatrix * objectNormal;", -shadowmap_pars_fragment:"#ifdef USE_SHADOWMAP\nuniform sampler2D shadowMap[ MAX_SHADOWS ];\nuniform vec2 shadowMapSize[ MAX_SHADOWS ];\nuniform float shadowDarkness[ MAX_SHADOWS ];\nuniform float shadowBias[ MAX_SHADOWS ];\nvarying vec4 vShadowCoord[ MAX_SHADOWS ];\nfloat unpackDepth( const in vec4 rgba_depth ) {\nconst vec4 bit_shift = vec4( 1.0 / ( 256.0 * 256.0 * 256.0 ), 1.0 / ( 256.0 * 256.0 ), 1.0 / 256.0, 1.0 );\nfloat depth = dot( rgba_depth, bit_shift );\nreturn depth;\n}\n#endif",shadowmap_fragment:"#ifdef USE_SHADOWMAP\n#ifdef SHADOWMAP_DEBUG\nvec3 frustumColors[3];\nfrustumColors[0] = vec3( 1.0, 0.5, 0.0 );\nfrustumColors[1] = vec3( 0.0, 1.0, 0.8 );\nfrustumColors[2] = vec3( 0.0, 0.5, 1.0 );\n#endif\n#ifdef SHADOWMAP_CASCADE\nint inFrustumCount = 0;\n#endif\nfloat fDepth;\nvec3 shadowColor = vec3( 1.0 );\nfor( int i = 0; i < MAX_SHADOWS; i ++ ) {\nvec3 shadowCoord = vShadowCoord[ i ].xyz / vShadowCoord[ i ].w;\nbvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 );\nbool inFrustum = all( inFrustumVec );\n#ifdef SHADOWMAP_CASCADE\ninFrustumCount += int( inFrustum );\nbvec3 frustumTestVec = bvec3( inFrustum, inFrustumCount == 1, shadowCoord.z <= 1.0 );\n#else\nbvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 );\n#endif\nbool frustumTest = all( frustumTestVec );\nif ( frustumTest ) {\nshadowCoord.z += shadowBias[ i ];\n#ifdef SHADOWMAP_SOFT\nfloat shadow = 0.0;\nconst float shadowDelta = 1.0 / 9.0;\nfloat xPixelOffset = 1.0 / shadowMapSize[ i ].x;\nfloat yPixelOffset = 1.0 / shadowMapSize[ i ].y;\nfloat dx0 = -1.25 * xPixelOffset;\nfloat dy0 = -1.25 * yPixelOffset;\nfloat dx1 = 1.25 * xPixelOffset;\nfloat dy1 = 1.25 * yPixelOffset;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx0, dy0 ) ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( 0.0, dy0 ) ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx1, dy0 ) ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx0, 0.0 ) ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx1, 0.0 ) ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx0, dy1 ) ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( 0.0, dy1 ) ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nfDepth = unpackDepth( texture2D( shadowMap[ i ], shadowCoord.xy + vec2( dx1, dy1 ) ) );\nif ( fDepth < shadowCoord.z ) shadow += shadowDelta;\nshadowColor = shadowColor * vec3( ( 1.0 - shadowDarkness[ i ] * shadow ) );\n#else\nvec4 rgbaDepth = texture2D( shadowMap[ i ], shadowCoord.xy );\nfloat fDepth = unpackDepth( rgbaDepth );\nif ( fDepth < shadowCoord.z )\nshadowColor = shadowColor * vec3( 1.0 - shadowDarkness[ i ] );\n#endif\n}\n#ifdef SHADOWMAP_DEBUG\n#ifdef SHADOWMAP_CASCADE\nif ( inFrustum && inFrustumCount == 1 ) gl_FragColor.xyz *= frustumColors[ i ];\n#else\nif ( inFrustum ) gl_FragColor.xyz *= frustumColors[ i ];\n#endif\n#endif\n}\n#ifdef GAMMA_OUTPUT\nshadowColor *= shadowColor;\n#endif\ngl_FragColor.xyz = gl_FragColor.xyz * shadowColor;\n#endif", -shadowmap_pars_vertex:"#ifdef USE_SHADOWMAP\nvarying vec4 vShadowCoord[ MAX_SHADOWS ];\nuniform mat4 shadowMatrix[ MAX_SHADOWS ];\n#endif",shadowmap_vertex:"#ifdef USE_SHADOWMAP\nfor( int i = 0; i < MAX_SHADOWS; i ++ ) {\nvShadowCoord[ i ] = shadowMatrix[ i ] * mPosition;\n}\n#endif",alphatest_fragment:"#ifdef ALPHATEST\nif ( gl_FragColor.a < ALPHATEST ) discard;\n#endif",linear_to_gamma_fragment:"#ifdef GAMMA_OUTPUT\ngl_FragColor.xyz = sqrt( gl_FragColor.xyz );\n#endif"}; -THREE.UniformsUtils={merge:function(a){var b,c,d,e={};for(b=0;bl;l++)Q.autoScaleCubemaps&&!e?(n=j,m=l,s=c.image[l],v=Tc,s.width<=v&&s.height<=v||(y=Math.max(s.width,s.height), -t=Math.floor(s.width*v/y),v=Math.floor(s.height*v/y),y=document.createElement("canvas"),y.width=t,y.height=v,y.getContext("2d").drawImage(s,0,0,s.width,s.height,0,0,t,v),s=y),n[m]=s):j[l]=c.image[l];l=j[0];n=0===(l.width&l.width-1)&&0===(l.height&l.height-1);m=E(c.format);s=E(c.type);G(k.TEXTURE_CUBE_MAP,c,n);for(l=0;6>l;l++)if(e){v=j[l].mipmaps;y=0;for(B=v.length;y=rc&&console.warn("Trying to use "+a+" texture units while this GPU supports only "+rc);ca+=1;return a}function s(a,b){a._modelViewMatrix.multiply(b.matrixWorldInverse,a.matrixWorld);a._normalMatrix.getInverse(a._modelViewMatrix);a._normalMatrix.transpose()}function z(a,b,c,d){a[b]=c.r*c.r*d;a[b+1]=c.g*c.g* -d;a[b+2]=c.b*c.b*d}function A(a,b,c,d){a[b]=c.r*d;a[b+1]=c.g*d;a[b+2]=c.b*d}function v(a,b,c){eb!==a&&(a?k.enable(k.POLYGON_OFFSET_FILL):k.disable(k.POLYGON_OFFSET_FILL),eb=a);if(a&&(pb!==b||Pb!==c))k.polygonOffset(b,c),pb=b,Pb=c}function y(a){for(var a=a.split("\n"),b=0,c=a.length;bb;b++)k.deleteFramebuffer(a.__webglFramebuffer[b]),k.deleteRenderbuffer(a.__webglRenderbuffer[b]);else k.deleteFramebuffer(a.__webglFramebuffer),k.deleteRenderbuffer(a.__webglRenderbuffer)};this.deallocateMaterial=function(a){var b=a.program;if(b){a.program=void 0;var c,d,e=!1,a=0;for(c=qa.length;ad.numSupportedMorphTargets?(h.sort(j),h.length=d.numSupportedMorphTargets):h.length>d.numSupportedMorphNormals?h.sort(j):0===h.length&&h.push([0,0]);for(i=0;isa;sa++)Zb=lc[sa],ob[Sa]=Zb.x,ob[Sa+1]=Zb.y,ob[Sa+2]=Zb.z,Sa+=3;else for(sa= -0;3>sa;sa++)ob[Sa]=Yb.x,ob[Sa+1]=Yb.y,ob[Sa+2]=Yb.z,Sa+=3;D=0;for(X=pa.length;Dsa;sa++)Zb=lc[sa],ob[Sa]=Zb.x,ob[Sa+1]=Zb.y,ob[Sa+2]=Zb.z,Sa+=3;else for(sa=0;4>sa;sa++)ob[Sa]=Yb.x,ob[Sa+1]=Yb.y,ob[Sa+2]=Yb.z,Sa+=3;k.bindBuffer(k.ARRAY_BUFFER,ma.__webglNormalBuffer);k.bufferData(k.ARRAY_BUFFER,ob,mb)}if(bd&&Yc&&hc){D=0;for(X=oa.length;Dsa;sa++)oc=mc[sa],xc[Tb]=oc.u,xc[Tb+ -1]=oc.v,Tb+=2;D=0;for(X=pa.length;Dsa;sa++)oc=mc[sa],xc[Tb]=oc.u,xc[Tb+1]=oc.v,Tb+=2;0sa;sa++)pc=nc[sa],yc[Ub]=pc.u,yc[Ub+1]=pc.v,Ub+=2;D=0;for(X=pa.length;Dsa;sa++)pc=nc[sa],yc[Ub]=pc.u,yc[Ub+1]=pc.v,Ub+=2;0f;f++){a.__webglFramebuffer[f]=k.createFramebuffer();a.__webglRenderbuffer[f]=k.createRenderbuffer();k.texImage2D(k.TEXTURE_CUBE_MAP_POSITIVE_X+f,0,d,a.width,a.height,0,d,e,null);var g=a,h=k.TEXTURE_CUBE_MAP_POSITIVE_X+f;k.bindFramebuffer(k.FRAMEBUFFER, -a.__webglFramebuffer[f]);k.framebufferTexture2D(k.FRAMEBUFFER,k.COLOR_ATTACHMENT0,h,g.__webglTexture,0);H(a.__webglRenderbuffer[f],a)}c&&k.generateMipmap(k.TEXTURE_CUBE_MAP)}else a.__webglFramebuffer=k.createFramebuffer(),a.__webglRenderbuffer=k.createRenderbuffer(),k.bindTexture(k.TEXTURE_2D,a.__webglTexture),G(k.TEXTURE_2D,a,c),k.texImage2D(k.TEXTURE_2D,0,d,a.width,a.height,0,d,e,null),d=k.TEXTURE_2D,k.bindFramebuffer(k.FRAMEBUFFER,a.__webglFramebuffer),k.framebufferTexture2D(k.FRAMEBUFFER,k.COLOR_ATTACHMENT0, -d,a.__webglTexture,0),H(a.__webglRenderbuffer,a),c&&k.generateMipmap(k.TEXTURE_2D);b?k.bindTexture(k.TEXTURE_CUBE_MAP,null):k.bindTexture(k.TEXTURE_2D,null);k.bindRenderbuffer(k.RENDERBUFFER,null);k.bindFramebuffer(k.FRAMEBUFFER,null)}a?(b=b?a.__webglFramebuffer[a.activeCubeFace]:a.__webglFramebuffer,c=a.width,a=a.height,e=d=0):(b=null,c=wa,a=wb,d=$a,e=Ja);b!==fa&&(k.bindFramebuffer(k.FRAMEBUFFER,b),k.viewport(d,e,c,a),fa=b);Da=c;qb=a};this.shadowMapPlugin=new THREE.ShadowMapPlugin;this.addPrePlugin(this.shadowMapPlugin); -this.addPostPlugin(new THREE.SpritePlugin);this.addPostPlugin(new THREE.LensFlarePlugin)}; -THREE.WebGLRenderTarget=function(a,b,c){this.width=a;this.height=b;c=c||{};this.wrapS=void 0!==c.wrapS?c.wrapS:THREE.ClampToEdgeWrapping;this.wrapT=void 0!==c.wrapT?c.wrapT:THREE.ClampToEdgeWrapping;this.magFilter=void 0!==c.magFilter?c.magFilter:THREE.LinearFilter;this.minFilter=void 0!==c.minFilter?c.minFilter:THREE.LinearMipMapLinearFilter;this.anisotropy=void 0!==c.anisotropy?c.anisotropy:1;this.offset=new THREE.Vector2(0,0);this.repeat=new THREE.Vector2(1,1);this.format=void 0!==c.format?c.format: -THREE.RGBAFormat;this.type=void 0!==c.type?c.type:THREE.UnsignedByteType;this.depthBuffer=void 0!==c.depthBuffer?c.depthBuffer:!0;this.stencilBuffer=void 0!==c.stencilBuffer?c.stencilBuffer:!0;this.generateMipmaps=!0}; -THREE.WebGLRenderTarget.prototype.clone=function(){var a=new THREE.WebGLRenderTarget(this.width,this.height);a.wrapS=this.wrapS;a.wrapT=this.wrapT;a.magFilter=this.magFilter;a.anisotropy=this.anisotropy;a.minFilter=this.minFilter;a.offset.copy(this.offset);a.repeat.copy(this.repeat);a.format=this.format;a.type=this.type;a.depthBuffer=this.depthBuffer;a.stencilBuffer=this.stencilBuffer;a.generateMipmaps=this.generateMipmaps;return a}; -THREE.WebGLRenderTargetCube=function(a,b,c){THREE.WebGLRenderTarget.call(this,a,b,c);this.activeCubeFace=0};THREE.WebGLRenderTargetCube.prototype=Object.create(THREE.WebGLRenderTarget.prototype);THREE.RenderableVertex=function(){this.positionWorld=new THREE.Vector3;this.positionScreen=new THREE.Vector4;this.visible=!0};THREE.RenderableVertex.prototype.copy=function(a){this.positionWorld.copy(a.positionWorld);this.positionScreen.copy(a.positionScreen)}; -THREE.RenderableFace3=function(){this.v1=new THREE.RenderableVertex;this.v2=new THREE.RenderableVertex;this.v3=new THREE.RenderableVertex;this.centroidWorld=new THREE.Vector3;this.centroidScreen=new THREE.Vector3;this.normalWorld=new THREE.Vector3;this.vertexNormalsWorld=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];this.vertexNormalsLength=0;this.material=this.color=null;this.uvs=[[]];this.z=null}; -THREE.RenderableFace4=function(){this.v1=new THREE.RenderableVertex;this.v2=new THREE.RenderableVertex;this.v3=new THREE.RenderableVertex;this.v4=new THREE.RenderableVertex;this.centroidWorld=new THREE.Vector3;this.centroidScreen=new THREE.Vector3;this.normalWorld=new THREE.Vector3;this.vertexNormalsWorld=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];this.vertexNormalsLength=0;this.material=this.color=null;this.uvs=[[]];this.z=null}; -THREE.RenderableObject=function(){this.z=this.object=null};THREE.RenderableParticle=function(){this.rotation=this.z=this.y=this.x=this.object=null;this.scale=new THREE.Vector2;this.material=null};THREE.RenderableLine=function(){this.z=null;this.v1=new THREE.RenderableVertex;this.v2=new THREE.RenderableVertex;this.material=null}; -THREE.ColorUtils={adjustHSV:function(a,b,c,d){var e=THREE.ColorUtils.__hsv;THREE.ColorUtils.rgbToHsv(a,e);e.h=THREE.Math.clamp(e.h+b,0,1);e.s=THREE.Math.clamp(e.s+c,0,1);e.v=THREE.Math.clamp(e.v+d,0,1);a.setHSV(e.h,e.s,e.v)},rgbToHsv:function(a,b){var c=a.r,d=a.g,e=a.b,f=Math.max(Math.max(c,d),e),g=Math.min(Math.min(c,d),e);if(g===f)g=c=0;else{var h=f-g,g=h/f,c=(c===f?(d-e)/h:d===f?2+(e-c)/h:4+(c-d)/h)/6;0>c&&(c+=1);1a?b(c,e-1):j[e]b||o>b||n>b){i=a.vertices.length;u=e.clone();s=e.clone();p>=o&& -p>=n?(j=j.clone(),j.lerpSelf(l,0.5),u.a=f,u.b=i,u.c=h,s.a=i,s.b=g,s.c=h,3===e.vertexNormals.length&&(f=e.vertexNormals[0].clone(),f.lerpSelf(e.vertexNormals[1],0.5),u.vertexNormals[1].copy(f),s.vertexNormals[0].copy(f)),3===e.vertexColors.length&&(f=e.vertexColors[0].clone(),f.lerpSelf(e.vertexColors[1],0.5),u.vertexColors[1].copy(f),s.vertexColors[0].copy(f)),e=0):o>=p&&o>=n?(j=l.clone(),j.lerpSelf(m,0.5),u.a=f,u.b=g,u.c=i,s.a=i,s.b=h,s.c=f,3===e.vertexNormals.length&&(f=e.vertexNormals[1].clone(), -f.lerpSelf(e.vertexNormals[2],0.5),u.vertexNormals[2].copy(f),s.vertexNormals[0].copy(f),s.vertexNormals[1].copy(e.vertexNormals[2]),s.vertexNormals[2].copy(e.vertexNormals[0])),3===e.vertexColors.length&&(f=e.vertexColors[1].clone(),f.lerpSelf(e.vertexColors[2],0.5),u.vertexColors[2].copy(f),s.vertexColors[0].copy(f),s.vertexColors[1].copy(e.vertexColors[2]),s.vertexColors[2].copy(e.vertexColors[0])),e=1):(j=j.clone(),j.lerpSelf(m,0.5),u.a=f,u.b=g,u.c=i,s.a=i,s.b=g,s.c=h,3===e.vertexNormals.length&& -(f=e.vertexNormals[0].clone(),f.lerpSelf(e.vertexNormals[2],0.5),u.vertexNormals[2].copy(f),s.vertexNormals[0].copy(f)),3===e.vertexColors.length&&(f=e.vertexColors[0].clone(),f.lerpSelf(e.vertexColors[2],0.5),u.vertexColors[2].copy(f),s.vertexColors[0].copy(f)),e=2);z.push(u,s);a.vertices.push(j);f=0;for(g=a.faceVertexUvs.length;fb||o>b|| -q>b||r>b){t=a.vertices.length;B=a.vertices.length+1;u=e.clone();s=e.clone();p>=o&&p>=q&&p>=r||q>=o&&q>=p&&q>=r?(p=j.clone(),p.lerpSelf(l,0.5),l=m.clone(),l.lerpSelf(n,0.5),u.a=f,u.b=t,u.c=B,u.d=i,s.a=t,s.b=g,s.c=h,s.d=B,4===e.vertexNormals.length&&(f=e.vertexNormals[0].clone(),f.lerpSelf(e.vertexNormals[1],0.5),g=e.vertexNormals[2].clone(),g.lerpSelf(e.vertexNormals[3],0.5),u.vertexNormals[1].copy(f),u.vertexNormals[2].copy(g),s.vertexNormals[0].copy(f),s.vertexNormals[3].copy(g)),4===e.vertexColors.length&& -(f=e.vertexColors[0].clone(),f.lerpSelf(e.vertexColors[1],0.5),g=e.vertexColors[2].clone(),g.lerpSelf(e.vertexColors[3],0.5),u.vertexColors[1].copy(f),u.vertexColors[2].copy(g),s.vertexColors[0].copy(f),s.vertexColors[3].copy(g)),e=0):(p=l.clone(),p.lerpSelf(m,0.5),l=n.clone(),l.lerpSelf(j,0.5),u.a=f,u.b=g,u.c=t,u.d=B,s.a=B,s.b=t,s.c=h,s.d=i,4===e.vertexNormals.length&&(f=e.vertexNormals[1].clone(),f.lerpSelf(e.vertexNormals[2],0.5),g=e.vertexNormals[3].clone(),g.lerpSelf(e.vertexNormals[0],0.5), -u.vertexNormals[2].copy(f),u.vertexNormals[3].copy(g),s.vertexNormals[0].copy(g),s.vertexNormals[1].copy(f)),4===e.vertexColors.length&&(f=e.vertexColors[1].clone(),f.lerpSelf(e.vertexColors[2],0.5),g=e.vertexColors[3].clone(),g.lerpSelf(e.vertexColors[0],0.5),u.vertexColors[2].copy(f),u.vertexColors[3].copy(g),s.vertexColors[0].copy(g),s.vertexColors[1].copy(f)),e=1);z.push(u,s);a.vertices.push(p,l);f=0;for(g=a.faceVertexUvs.length;f>8&255,i>>16&255,i>>24&255)),d}d.mipmapCount=1;h[2]&131072&&!1!==b&&(d.mipmapCount=Math.max(1,h[7]));d.width=h[4];d.height=h[3];h=h[1]+4;f=d.width;g=d.height;for(i=0;im-1?0:m-1,p=m+1>e-1?e-1:m+1,o=0>l-1?0:l-1,q=l+1>d-1?d-1:l+1,r=[],t=[0,0,h[4*(m*d+l)]/255*b];r.push([-1,0,h[4*(m*d+o)]/255*b]);r.push([-1,-1,h[4*(n*d+o)]/255*b]);r.push([0,-1,h[4*(n*d+l)]/255*b]);r.push([1,-1,h[4*(n*d+q)]/255*b]);r.push([1,0,h[4*(m*d+q)]/255*b]);r.push([1,1,h[4*(p*d+q)]/255*b]);r.push([0,1,h[4*(p*d+l)]/255*b]);r.push([-1,1,h[4*(p*d+o)]/255*b]);n=[];o=r.length;for(p=0;p 0\nuniform vec3 directionalLightColor[ MAX_DIR_LIGHTS ];\nuniform vec3 directionalLightDirection[ MAX_DIR_LIGHTS ];\n#endif\n#if MAX_HEMI_LIGHTS > 0\nuniform vec3 hemisphereLightSkyColor[ MAX_HEMI_LIGHTS ];\nuniform vec3 hemisphereLightGroundColor[ MAX_HEMI_LIGHTS ];\nuniform vec3 hemisphereLightPosition[ MAX_HEMI_LIGHTS ];\n#endif\n#if MAX_POINT_LIGHTS > 0\nuniform vec3 pointLightColor[ MAX_POINT_LIGHTS ];\nuniform vec3 pointLightPosition[ MAX_POINT_LIGHTS ];\nuniform float pointLightDistance[ MAX_POINT_LIGHTS ];\n#endif\n#if MAX_SPOT_LIGHTS > 0\nuniform vec3 spotLightColor[ MAX_SPOT_LIGHTS ];\nuniform vec3 spotLightPosition[ MAX_SPOT_LIGHTS ];\nuniform vec3 spotLightDirection[ MAX_SPOT_LIGHTS ];\nuniform float spotLightAngle[ MAX_SPOT_LIGHTS ];\nuniform float spotLightExponent[ MAX_SPOT_LIGHTS ];\nuniform float spotLightDistance[ MAX_SPOT_LIGHTS ];\n#endif\n#ifdef WRAP_AROUND\nuniform vec3 wrapRGB;\n#endif\nvarying vec3 vWorldPosition;\nvarying vec3 vViewPosition;", -THREE.ShaderChunk.shadowmap_pars_fragment,THREE.ShaderChunk.fog_pars_fragment,"void main() {\ngl_FragColor = vec4( vec3( 1.0 ), uOpacity );\nvec3 specularTex = vec3( 1.0 );\nvec3 normalTex = texture2D( tNormal, vUv ).xyz * 2.0 - 1.0;\nnormalTex.xy *= uNormalScale;\nnormalTex = normalize( normalTex );\nif( enableDiffuse ) {\n#ifdef GAMMA_INPUT\nvec4 texelColor = texture2D( tDiffuse, vUv );\ntexelColor.xyz *= texelColor.xyz;\ngl_FragColor = gl_FragColor * texelColor;\n#else\ngl_FragColor = gl_FragColor * texture2D( tDiffuse, vUv );\n#endif\n}\nif( enableAO ) {\n#ifdef GAMMA_INPUT\nvec4 aoColor = texture2D( tAO, vUv );\naoColor.xyz *= aoColor.xyz;\ngl_FragColor.xyz = gl_FragColor.xyz * aoColor.xyz;\n#else\ngl_FragColor.xyz = gl_FragColor.xyz * texture2D( tAO, vUv ).xyz;\n#endif\n}\nif( enableSpecular )\nspecularTex = texture2D( tSpecular, vUv ).xyz;\nmat3 tsb = mat3( normalize( vTangent ), normalize( vBinormal ), normalize( vNormal ) );\nvec3 finalNormal = tsb * normalTex;\n#ifdef FLIP_SIDED\nfinalNormal = -finalNormal;\n#endif\nvec3 normal = normalize( finalNormal );\nvec3 viewPosition = normalize( vViewPosition );\n#if MAX_POINT_LIGHTS > 0\nvec3 pointDiffuse = vec3( 0.0 );\nvec3 pointSpecular = vec3( 0.0 );\nfor ( int i = 0; i < MAX_POINT_LIGHTS; i ++ ) {\nvec4 lPosition = viewMatrix * vec4( pointLightPosition[ i ], 1.0 );\nvec3 pointVector = lPosition.xyz + vViewPosition.xyz;\nfloat pointDistance = 1.0;\nif ( pointLightDistance[ i ] > 0.0 )\npointDistance = 1.0 - min( ( length( pointVector ) / pointLightDistance[ i ] ), 1.0 );\npointVector = normalize( pointVector );\n#ifdef WRAP_AROUND\nfloat pointDiffuseWeightFull = max( dot( normal, pointVector ), 0.0 );\nfloat pointDiffuseWeightHalf = max( 0.5 * dot( normal, pointVector ) + 0.5, 0.0 );\nvec3 pointDiffuseWeight = mix( vec3 ( pointDiffuseWeightFull ), vec3( pointDiffuseWeightHalf ), wrapRGB );\n#else\nfloat pointDiffuseWeight = max( dot( normal, pointVector ), 0.0 );\n#endif\npointDiffuse += pointDistance * pointLightColor[ i ] * uDiffuseColor * pointDiffuseWeight;\nvec3 pointHalfVector = normalize( pointVector + viewPosition );\nfloat pointDotNormalHalf = max( dot( normal, pointHalfVector ), 0.0 );\nfloat pointSpecularWeight = specularTex.r * max( pow( pointDotNormalHalf, uShininess ), 0.0 );\n#ifdef PHYSICALLY_BASED_SHADING\nfloat specularNormalization = ( uShininess + 2.0001 ) / 8.0;\nvec3 schlick = uSpecularColor + vec3( 1.0 - uSpecularColor ) * pow( 1.0 - dot( pointVector, pointHalfVector ), 5.0 );\npointSpecular += schlick * pointLightColor[ i ] * pointSpecularWeight * pointDiffuseWeight * pointDistance * specularNormalization;\n#else\npointSpecular += pointDistance * pointLightColor[ i ] * uSpecularColor * pointSpecularWeight * pointDiffuseWeight;\n#endif\n}\n#endif\n#if MAX_SPOT_LIGHTS > 0\nvec3 spotDiffuse = vec3( 0.0 );\nvec3 spotSpecular = vec3( 0.0 );\nfor ( int i = 0; i < MAX_SPOT_LIGHTS; i ++ ) {\nvec4 lPosition = viewMatrix * vec4( spotLightPosition[ i ], 1.0 );\nvec3 spotVector = lPosition.xyz + vViewPosition.xyz;\nfloat spotDistance = 1.0;\nif ( spotLightDistance[ i ] > 0.0 )\nspotDistance = 1.0 - min( ( length( spotVector ) / spotLightDistance[ i ] ), 1.0 );\nspotVector = normalize( spotVector );\nfloat spotEffect = dot( spotLightDirection[ i ], normalize( spotLightPosition[ i ] - vWorldPosition ) );\nif ( spotEffect > spotLightAngle[ i ] ) {\nspotEffect = pow( spotEffect, spotLightExponent[ i ] );\n#ifdef WRAP_AROUND\nfloat spotDiffuseWeightFull = max( dot( normal, spotVector ), 0.0 );\nfloat spotDiffuseWeightHalf = max( 0.5 * dot( normal, spotVector ) + 0.5, 0.0 );\nvec3 spotDiffuseWeight = mix( vec3 ( spotDiffuseWeightFull ), vec3( spotDiffuseWeightHalf ), wrapRGB );\n#else\nfloat spotDiffuseWeight = max( dot( normal, spotVector ), 0.0 );\n#endif\nspotDiffuse += spotDistance * spotLightColor[ i ] * uDiffuseColor * spotDiffuseWeight * spotEffect;\nvec3 spotHalfVector = normalize( spotVector + viewPosition );\nfloat spotDotNormalHalf = max( dot( normal, spotHalfVector ), 0.0 );\nfloat spotSpecularWeight = specularTex.r * max( pow( spotDotNormalHalf, uShininess ), 0.0 );\n#ifdef PHYSICALLY_BASED_SHADING\nfloat specularNormalization = ( uShininess + 2.0001 ) / 8.0;\nvec3 schlick = uSpecularColor + vec3( 1.0 - uSpecularColor ) * pow( 1.0 - dot( spotVector, spotHalfVector ), 5.0 );\nspotSpecular += schlick * spotLightColor[ i ] * spotSpecularWeight * spotDiffuseWeight * spotDistance * specularNormalization * spotEffect;\n#else\nspotSpecular += spotDistance * spotLightColor[ i ] * uSpecularColor * spotSpecularWeight * spotDiffuseWeight * spotEffect;\n#endif\n}\n}\n#endif\n#if MAX_DIR_LIGHTS > 0\nvec3 dirDiffuse = vec3( 0.0 );\nvec3 dirSpecular = vec3( 0.0 );\nfor( int i = 0; i < MAX_DIR_LIGHTS; i++ ) {\nvec4 lDirection = viewMatrix * vec4( directionalLightDirection[ i ], 0.0 );\nvec3 dirVector = normalize( lDirection.xyz );\n#ifdef WRAP_AROUND\nfloat directionalLightWeightingFull = max( dot( normal, dirVector ), 0.0 );\nfloat directionalLightWeightingHalf = max( 0.5 * dot( normal, dirVector ) + 0.5, 0.0 );\nvec3 dirDiffuseWeight = mix( vec3( directionalLightWeightingFull ), vec3( directionalLightWeightingHalf ), wrapRGB );\n#else\nfloat dirDiffuseWeight = max( dot( normal, dirVector ), 0.0 );\n#endif\ndirDiffuse += directionalLightColor[ i ] * uDiffuseColor * dirDiffuseWeight;\nvec3 dirHalfVector = normalize( dirVector + viewPosition );\nfloat dirDotNormalHalf = max( dot( normal, dirHalfVector ), 0.0 );\nfloat dirSpecularWeight = specularTex.r * max( pow( dirDotNormalHalf, uShininess ), 0.0 );\n#ifdef PHYSICALLY_BASED_SHADING\nfloat specularNormalization = ( uShininess + 2.0001 ) / 8.0;\nvec3 schlick = uSpecularColor + vec3( 1.0 - uSpecularColor ) * pow( 1.0 - dot( dirVector, dirHalfVector ), 5.0 );\ndirSpecular += schlick * directionalLightColor[ i ] * dirSpecularWeight * dirDiffuseWeight * specularNormalization;\n#else\ndirSpecular += directionalLightColor[ i ] * uSpecularColor * dirSpecularWeight * dirDiffuseWeight;\n#endif\n}\n#endif\n#if MAX_HEMI_LIGHTS > 0\nvec3 hemiDiffuse = vec3( 0.0 );\nvec3 hemiSpecular = vec3( 0.0 );\nfor( int i = 0; i < MAX_HEMI_LIGHTS; i ++ ) {\nvec4 lPosition = viewMatrix * vec4( hemisphereLightPosition[ i ], 1.0 );\nvec3 lVector = normalize( lPosition.xyz + vViewPosition.xyz );\nfloat dotProduct = dot( normal, lVector );\nfloat hemiDiffuseWeight = 0.5 * dotProduct + 0.5;\nvec3 hemiColor = mix( hemisphereLightGroundColor[ i ], hemisphereLightSkyColor[ i ], hemiDiffuseWeight );\nhemiDiffuse += uDiffuseColor * hemiColor;\nvec3 hemiHalfVectorSky = normalize( lVector + viewPosition );\nfloat hemiDotNormalHalfSky = 0.5 * dot( normal, hemiHalfVectorSky ) + 0.5;\nfloat hemiSpecularWeightSky = specularTex.r * max( pow( hemiDotNormalHalfSky, uShininess ), 0.0 );\nvec3 lVectorGround = normalize( -lPosition.xyz + vViewPosition.xyz );\nvec3 hemiHalfVectorGround = normalize( lVectorGround + viewPosition );\nfloat hemiDotNormalHalfGround = 0.5 * dot( normal, hemiHalfVectorGround ) + 0.5;\nfloat hemiSpecularWeightGround = specularTex.r * max( pow( hemiDotNormalHalfGround, uShininess ), 0.0 );\n#ifdef PHYSICALLY_BASED_SHADING\nfloat dotProductGround = dot( normal, lVectorGround );\nfloat specularNormalization = ( uShininess + 2.0001 ) / 8.0;\nvec3 schlickSky = uSpecularColor + vec3( 1.0 - uSpecularColor ) * pow( 1.0 - dot( lVector, hemiHalfVectorSky ), 5.0 );\nvec3 schlickGround = uSpecularColor + vec3( 1.0 - uSpecularColor ) * pow( 1.0 - dot( lVectorGround, hemiHalfVectorGround ), 5.0 );\nhemiSpecular += hemiColor * specularNormalization * ( schlickSky * hemiSpecularWeightSky * max( dotProduct, 0.0 ) + schlickGround * hemiSpecularWeightGround * max( dotProductGround, 0.0 ) );\n#else\nhemiSpecular += uSpecularColor * hemiColor * ( hemiSpecularWeightSky + hemiSpecularWeightGround ) * hemiDiffuseWeight;\n#endif\n}\n#endif\nvec3 totalDiffuse = vec3( 0.0 );\nvec3 totalSpecular = vec3( 0.0 );\n#if MAX_DIR_LIGHTS > 0\ntotalDiffuse += dirDiffuse;\ntotalSpecular += dirSpecular;\n#endif\n#if MAX_HEMI_LIGHTS > 0\ntotalDiffuse += hemiDiffuse;\ntotalSpecular += hemiSpecular;\n#endif\n#if MAX_POINT_LIGHTS > 0\ntotalDiffuse += pointDiffuse;\ntotalSpecular += pointSpecular;\n#endif\n#if MAX_SPOT_LIGHTS > 0\ntotalDiffuse += spotDiffuse;\ntotalSpecular += spotSpecular;\n#endif\n#ifdef METAL\ngl_FragColor.xyz = gl_FragColor.xyz * ( totalDiffuse + ambientLightColor * uAmbientColor + totalSpecular );\n#else\ngl_FragColor.xyz = gl_FragColor.xyz * ( totalDiffuse + ambientLightColor * uAmbientColor ) + totalSpecular;\n#endif\nif ( enableReflection ) {\nvec3 vReflect;\nvec3 cameraToVertex = normalize( vWorldPosition - cameraPosition );\nif ( useRefract ) {\nvReflect = refract( cameraToVertex, normal, uRefractionRatio );\n} else {\nvReflect = reflect( cameraToVertex, normal );\n}\nvec4 cubeColor = textureCube( tCube, vec3( -vReflect.x, vReflect.yz ) );\n#ifdef GAMMA_INPUT\ncubeColor.xyz *= cubeColor.xyz;\n#endif\ngl_FragColor.xyz = mix( gl_FragColor.xyz, cubeColor.xyz, specularTex.r * uReflectivity );\n}", -THREE.ShaderChunk.shadowmap_fragment,THREE.ShaderChunk.linear_to_gamma_fragment,THREE.ShaderChunk.fog_fragment,"}"].join("\n"),vertexShader:["attribute vec4 tangent;\nuniform vec2 uOffset;\nuniform vec2 uRepeat;\nuniform bool enableDisplacement;\n#ifdef VERTEX_TEXTURES\nuniform sampler2D tDisplacement;\nuniform float uDisplacementScale;\nuniform float uDisplacementBias;\n#endif\nvarying vec3 vTangent;\nvarying vec3 vBinormal;\nvarying vec3 vNormal;\nvarying vec2 vUv;\nvarying vec3 vWorldPosition;\nvarying vec3 vViewPosition;", -THREE.ShaderChunk.skinning_pars_vertex,THREE.ShaderChunk.shadowmap_pars_vertex,"void main() {",THREE.ShaderChunk.skinbase_vertex,THREE.ShaderChunk.skinnormal_vertex,"#ifdef USE_SKINNING\nvNormal = normalMatrix * skinnedNormal.xyz;\nvec4 skinnedTangent = skinMatrix * vec4( tangent.xyz, 0.0 );\nvTangent = normalMatrix * skinnedTangent.xyz;\n#else\nvNormal = normalMatrix * normal;\nvTangent = normalMatrix * tangent.xyz;\n#endif\nvBinormal = cross( vNormal, vTangent ) * tangent.w;\nvUv = uv * uRepeat + uOffset;\nvec3 displacedPosition;\n#ifdef VERTEX_TEXTURES\nif ( enableDisplacement ) {\nvec3 dv = texture2D( tDisplacement, uv ).xyz;\nfloat df = uDisplacementScale * dv.x + uDisplacementBias;\ndisplacedPosition = position + normalize( normal ) * df;\n} else {\n#ifdef USE_SKINNING\nvec4 skinVertex = vec4( position, 1.0 );\nvec4 skinned = boneMatX * skinVertex * skinWeight.x;\nskinned \t += boneMatY * skinVertex * skinWeight.y;\ndisplacedPosition = skinned.xyz;\n#else\ndisplacedPosition = position;\n#endif\n}\n#else\n#ifdef USE_SKINNING\nvec4 skinVertex = vec4( position, 1.0 );\nvec4 skinned = boneMatX * skinVertex * skinWeight.x;\nskinned \t += boneMatY * skinVertex * skinWeight.y;\ndisplacedPosition = skinned.xyz;\n#else\ndisplacedPosition = position;\n#endif\n#endif\nvec4 mvPosition = modelViewMatrix * vec4( displacedPosition, 1.0 );\nvec4 mPosition = modelMatrix * vec4( displacedPosition, 1.0 );\ngl_Position = projectionMatrix * mvPosition;\nvWorldPosition = mPosition.xyz;\nvViewPosition = -mvPosition.xyz;\n#ifdef USE_SHADOWMAP\nfor( int i = 0; i < MAX_SHADOWS; i ++ ) {\nvShadowCoord[ i ] = shadowMatrix[ i ] * mPosition;\n}\n#endif\n}"].join("\n")}, -cube:{uniforms:{tCube:{type:"t",value:null},tFlip:{type:"f",value:-1}},vertexShader:"varying vec3 vViewPosition;\nvoid main() {\nvec4 mPosition = modelMatrix * vec4( position, 1.0 );\nvViewPosition = cameraPosition - mPosition.xyz;\ngl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",fragmentShader:"uniform samplerCube tCube;\nuniform float tFlip;\nvarying vec3 vViewPosition;\nvoid main() {\nvec3 wPos = cameraPosition - vViewPosition;\ngl_FragColor = textureCube( tCube, vec3( tFlip * wPos.x, wPos.yz ) );\n}"}}}); -THREE.FontUtils={faces:{},face:"helvetiker",weight:"normal",style:"normal",size:150,divisions:10,getFace:function(){return this.faces[this.face][this.weight][this.style]},loadFace:function(a){var b=a.familyName.toLowerCase();this.faces[b]=this.faces[b]||{};this.faces[b][a.cssFontWeight]=this.faces[b][a.cssFontWeight]||{};this.faces[b][a.cssFontWeight][a.cssFontStyle]=a;return this.faces[b][a.cssFontWeight][a.cssFontStyle]=a},drawText:function(a){for(var b=this.getFace(),c=this.size/b.resolution,d= -0,e=String(a).split(""),f=e.length,g=[],a=0;a0)for(j=0;j2;){if(m--<=0){console.log("Warning, unable to triangulate polygon!");break}i=j;e<=i&&(i=0);j=i+1;e<=j&&(j=0);l=j+1;e<=l&&(l=0);var n;a:{n=a;var p=i,o=j,q=l,r=e,t=g,B=void 0,u=void 0,s=void 0,z=void 0,A=void 0, -v=void 0,y=void 0,C=void 0,G=void 0,u=n[t[p]].x,s=n[t[p]].y,z=n[t[o]].x,A=n[t[o]].y,v=n[t[q]].x,y=n[t[q]].y;if(1E-10>(z-u)*(y-s)-(A-s)*(v-u))n=false;else{for(B=0;B=0&&E>=0&&K>=0){n=false;break a}}n=true}}if(n){f.push([a[g[i]], -a[g[j]],a[g[l]]]);h.push([g[i],g[j],g[l]]);i=j;for(l=j+1;l0)h=d-1;else{h=d;break}}d=h;if(c[d]==f)return d/(e-1);g=c[d];return c=(d+(f-g)/(c[d+1]-g))/(e-1)};THREE.Curve.prototype.getNormalVector=function(a){a=this.getTangent(a);return new THREE.Vector2(-a.y,a.x)}; -THREE.Curve.prototype.getTangent=function(a){var b=a-1E-4,a=a+1E-4;b<0&&(b=0);a>1&&(a=1);b=this.getPoint(b);return this.getPoint(a).clone().subSelf(b).normalize()};THREE.Curve.prototype.getTangentAt=function(a){a=this.getUtoTmapping(a);return this.getTangent(a)};THREE.LineCurve=function(a,b){this.v1=a;this.v2=b};THREE.LineCurve.prototype=Object.create(THREE.Curve.prototype);THREE.LineCurve.prototype.getPoint=function(a){var b=this.v2.clone().subSelf(this.v1);b.multiplyScalar(a).addSelf(this.v1);return b}; -THREE.LineCurve.prototype.getPointAt=function(a){return this.getPoint(a)};THREE.LineCurve.prototype.getTangent=function(){return this.v2.clone().subSelf(this.v1).normalize()};THREE.QuadraticBezierCurve=function(a,b,c){this.v0=a;this.v1=b;this.v2=c};THREE.QuadraticBezierCurve.prototype=Object.create(THREE.Curve.prototype); -THREE.QuadraticBezierCurve.prototype.getPoint=function(a){var b;b=THREE.Shape.Utils.b2(a,this.v0.x,this.v1.x,this.v2.x);a=THREE.Shape.Utils.b2(a,this.v0.y,this.v1.y,this.v2.y);return new THREE.Vector2(b,a)};THREE.QuadraticBezierCurve.prototype.getTangent=function(a){var b;b=THREE.Curve.Utils.tangentQuadraticBezier(a,this.v0.x,this.v1.x,this.v2.x);a=THREE.Curve.Utils.tangentQuadraticBezier(a,this.v0.y,this.v1.y,this.v2.y);b=new THREE.Vector2(b,a);b.normalize();return b}; -THREE.CubicBezierCurve=function(a,b,c,d){this.v0=a;this.v1=b;this.v2=c;this.v3=d};THREE.CubicBezierCurve.prototype=Object.create(THREE.Curve.prototype);THREE.CubicBezierCurve.prototype.getPoint=function(a){var b;b=THREE.Shape.Utils.b3(a,this.v0.x,this.v1.x,this.v2.x,this.v3.x);a=THREE.Shape.Utils.b3(a,this.v0.y,this.v1.y,this.v2.y,this.v3.y);return new THREE.Vector2(b,a)}; -THREE.CubicBezierCurve.prototype.getTangent=function(a){var b;b=THREE.Curve.Utils.tangentCubicBezier(a,this.v0.x,this.v1.x,this.v2.x,this.v3.x);a=THREE.Curve.Utils.tangentCubicBezier(a,this.v0.y,this.v1.y,this.v2.y,this.v3.y);b=new THREE.Vector2(b,a);b.normalize();return b};THREE.SplineCurve=function(a){this.points=a==void 0?[]:a};THREE.SplineCurve.prototype=Object.create(THREE.Curve.prototype); -THREE.SplineCurve.prototype.getPoint=function(a){var b=new THREE.Vector2,c=[],d=this.points,e;e=(d.length-1)*a;a=Math.floor(e);e=e-a;c[0]=a==0?a:a-1;c[1]=a;c[2]=a>d.length-2?d.length-1:a+1;c[3]=a>d.length-3?d.length-1:a+2;b.x=THREE.Curve.Utils.interpolate(d[c[0]].x,d[c[1]].x,d[c[2]].x,d[c[3]].x,e);b.y=THREE.Curve.Utils.interpolate(d[c[0]].y,d[c[1]].y,d[c[2]].y,d[c[3]].y,e);return b}; -THREE.EllipseCurve=function(a,b,c,d,e,f,g){this.aX=a;this.aY=b;this.xRadius=c;this.yRadius=d;this.aStartAngle=e;this.aEndAngle=f;this.aClockwise=g};THREE.EllipseCurve.prototype=Object.create(THREE.Curve.prototype);THREE.EllipseCurve.prototype.getPoint=function(a){var b=this.aEndAngle-this.aStartAngle;this.aClockwise||(a=1-a);b=this.aStartAngle+a*b;a=this.aX+this.xRadius*Math.cos(b);b=this.aY+this.yRadius*Math.sin(b);return new THREE.Vector2(a,b)}; -THREE.ArcCurve=function(a,b,c,d,e,f){THREE.EllipseCurve.call(this,a,b,c,c,d,e,f)};THREE.ArcCurve.prototype=Object.create(THREE.EllipseCurve.prototype); -THREE.Curve.Utils={tangentQuadraticBezier:function(a,b,c,d){return 2*(1-a)*(c-b)+2*a*(d-c)},tangentCubicBezier:function(a,b,c,d,e){return-3*b*(1-a)*(1-a)+3*c*(1-a)*(1-a)-6*a*c*(1-a)+6*a*d*(1-a)-3*a*a*d+3*a*a*e},tangentSpline:function(a){return 6*a*a-6*a+(3*a*a-4*a+1)+(-6*a*a+6*a)+(3*a*a-2*a)},interpolate:function(a,b,c,d,e){var a=(c-a)*0.5,d=(d-b)*0.5,f=e*e;return(2*b-2*c+a+d)*e*f+(-3*b+3*c-2*a-d)*f+a*e+b}}; -THREE.Curve.create=function(a,b){a.prototype=Object.create(THREE.Curve.prototype);a.prototype.getPoint=b;return a};THREE.LineCurve3=THREE.Curve.create(function(a,b){this.v1=a;this.v2=b},function(a){var b=new THREE.Vector3;b.sub(this.v2,this.v1);b.multiplyScalar(a);b.addSelf(this.v1);return b}); -THREE.QuadraticBezierCurve3=THREE.Curve.create(function(a,b,c){this.v0=a;this.v1=b;this.v2=c},function(a){var b,c;b=THREE.Shape.Utils.b2(a,this.v0.x,this.v1.x,this.v2.x);c=THREE.Shape.Utils.b2(a,this.v0.y,this.v1.y,this.v2.y);a=THREE.Shape.Utils.b2(a,this.v0.z,this.v1.z,this.v2.z);return new THREE.Vector3(b,c,a)}); -THREE.CubicBezierCurve3=THREE.Curve.create(function(a,b,c,d){this.v0=a;this.v1=b;this.v2=c;this.v3=d},function(a){var b,c;b=THREE.Shape.Utils.b3(a,this.v0.x,this.v1.x,this.v2.x,this.v3.x);c=THREE.Shape.Utils.b3(a,this.v0.y,this.v1.y,this.v2.y,this.v3.y);a=THREE.Shape.Utils.b3(a,this.v0.z,this.v1.z,this.v2.z,this.v3.z);return new THREE.Vector3(b,c,a)}); -THREE.SplineCurve3=THREE.Curve.create(function(a){this.points=a==void 0?[]:a},function(a){var b=new THREE.Vector3,c=[],d=this.points,e,a=(d.length-1)*a;e=Math.floor(a);a=a-e;c[0]=e==0?e:e-1;c[1]=e;c[2]=e>d.length-2?d.length-1:e+1;c[3]=e>d.length-3?d.length-1:e+2;e=d[c[0]];var f=d[c[1]],g=d[c[2]],c=d[c[3]];b.x=THREE.Curve.Utils.interpolate(e.x,f.x,g.x,c.x,a);b.y=THREE.Curve.Utils.interpolate(e.y,f.y,g.y,c.y,a);b.z=THREE.Curve.Utils.interpolate(e.z,f.z,g.z,c.z,a);return b}); -THREE.ClosedSplineCurve3=THREE.Curve.create(function(a){this.points=a==void 0?[]:a},function(a){var b=new THREE.Vector3,c=[],d=this.points,e;e=(d.length-0)*a;a=Math.floor(e);e=e-a;a=a+(a>0?0:(Math.floor(Math.abs(a)/d.length)+1)*d.length);c[0]=(a-1)%d.length;c[1]=a%d.length;c[2]=(a+1)%d.length;c[3]=(a+2)%d.length;b.x=THREE.Curve.Utils.interpolate(d[c[0]].x,d[c[1]].x,d[c[2]].x,d[c[3]].x,e);b.y=THREE.Curve.Utils.interpolate(d[c[0]].y,d[c[1]].y,d[c[2]].y,d[c[3]].y,e);b.z=THREE.Curve.Utils.interpolate(d[c[0]].z, -d[c[1]].z,d[c[2]].z,d[c[3]].z,e);return b});THREE.CurvePath=function(){this.curves=[];this.bends=[];this.autoClose=false};THREE.CurvePath.prototype=Object.create(THREE.Curve.prototype);THREE.CurvePath.prototype.add=function(a){this.curves.push(a)};THREE.CurvePath.prototype.checkConnection=function(){};THREE.CurvePath.prototype.closePath=function(){var a=this.curves[0].getPoint(0),b=this.curves[this.curves.length-1].getPoint(1);a.equals(b)||this.curves.push(new THREE.LineCurve(b,a))}; -THREE.CurvePath.prototype.getPoint=function(a){for(var b=a*this.getLength(),c=this.getCurveLengths(),a=0;a=b){b=c[a]-b;a=this.curves[a];b=1-b/a.getLength();return a.getPointAt(b)}a++}return null};THREE.CurvePath.prototype.getLength=function(){var a=this.getCurveLengths();return a[a.length-1]}; -THREE.CurvePath.prototype.getCurveLengths=function(){if(this.cacheLengths&&this.cacheLengths.length==this.curves.length)return this.cacheLengths;var a=[],b=0,c,d=this.curves.length;for(c=0;cb)b=h.x;else if(h.xc)c=h.y;else if(h.yd)d=h.z;else if(h.z0){g=c[c.length-1]; -p=g.x;o=g.y}else{g=this.actions[d-1].args;p=g[g.length-2];o=g[g.length-1]}for(f=1;f<=a;f++){q=f/a;g=THREE.Shape.Utils.b2(q,p,m,h);q=THREE.Shape.Utils.b2(q,o,n,i);c.push(new THREE.Vector2(g,q))}break;case THREE.PathActions.BEZIER_CURVE_TO:h=f[4];i=f[5];m=f[0];n=f[1];j=f[2];l=f[3];if(c.length>0){g=c[c.length-1];p=g.x;o=g.y}else{g=this.actions[d-1].args;p=g[g.length-2];o=g[g.length-1]}for(f=1;f<=a;f++){q=f/a;g=THREE.Shape.Utils.b3(q,p,m,j,h);q=THREE.Shape.Utils.b3(q,o,n,l,i);c.push(new THREE.Vector2(g, -q))}break;case THREE.PathActions.CSPLINE_THRU:g=this.actions[d-1].args;q=[new THREE.Vector2(g[g.length-2],g[g.length-1])];g=a*f[0].length;q=q.concat(f[0]);q=new THREE.SplineCurve(q);for(f=1;f<=g;f++)c.push(q.getPointAt(f/g));break;case THREE.PathActions.ARC:h=f[0];i=f[1];n=f[2];j=f[3];g=f[4];m=!!f[5];p=g-j;o=a*2;for(f=1;f<=o;f++){q=f/o;m||(q=1-q);q=j+q*p;g=h+n*Math.cos(q);q=i+n*Math.sin(q);c.push(new THREE.Vector2(g,q))}break;case THREE.PathActions.ELLIPSE:h=f[0];i=f[1];n=f[2];l=f[3];j=f[4];g=f[5]; -m=!!f[6];p=g-j;o=a*2;for(f=1;f<=o;f++){q=f/o;m||(q=1-q);q=j+q*p;g=h+n*Math.cos(q);q=i+l*Math.sin(q);c.push(new THREE.Vector2(g,q))}}}d=c[c.length-1];Math.abs(d.x-c[0].x)<1E-10&&Math.abs(d.y-c[0].y)<1E-10&&c.splice(c.length-1,1);b&&c.push(c[0]);return c}; -THREE.Path.prototype.toShapes=function(){var a,b,c,d,e=[],f=new THREE.Path;a=0;for(b=this.actions.length;a=0?h-1:c.length-1;f=g-1>=0?g-1:j.length-1;var q=[j[g],c[h],c[e]];m=THREE.FontUtils.Triangulate.area(q);var r=[j[g],j[f],c[h]];n=THREE.FontUtils.Triangulate.area(r);p=h;l=g;h=h+1;g=g+ --1;h<0&&(h=h+c.length);h=h%c.length;g<0&&(g=g+j.length);g=g%j.length;e=h-1>=0?h-1:c.length-1;f=g-1>=0?g-1:j.length-1;q=[j[g],c[h],c[e]];q=THREE.FontUtils.Triangulate.area(q);r=[j[g],j[f],c[h]];r=THREE.FontUtils.Triangulate.area(r);if(m+n>q+r){h=p;g=l;h<0&&(h=h+c.length);h=h%c.length;g<0&&(g=g+j.length);g=g%j.length;e=h-1>=0?h-1:c.length-1;f=g-1>=0?g-1:j.length-1}m=c.slice(0,h);n=c.slice(h);p=j.slice(g);l=j.slice(0,g);f=[j[g],j[f],c[h]];o.push([j[g],c[h],c[e]]);o.push(f);c=m.concat(p).concat(l).concat(n)}return{shape:c, -isolatedPts:o,allpoints:d}},triangulateShape:function(a,b){var c=THREE.Shape.Utils.removeHoles(a,b),d=c.allpoints,e=c.isolatedPts,c=THREE.FontUtils.Triangulate(c.shape,false),f,g,h,i,j={};f=0;for(g=d.length;f1){console.log("THREE.Animation.update: Warning! Scale out of bounds:"+d+" on bone "+m);d=d<0?0:1}if(c==="pos"){c=a.position;if(this.interpolationType===THREE.AnimationHandler.LINEAR){c.x=e[0]+ -(f[0]-e[0])*d;c.y=e[1]+(f[1]-e[1])*d;c.z=e[2]+(f[2]-e[2])*d}else if(this.interpolationType===THREE.AnimationHandler.CATMULLROM||this.interpolationType===THREE.AnimationHandler.CATMULLROM_FORWARD){this.points[0]=this.getPrevKeyWith("pos",m,g.index-1).pos;this.points[1]=e;this.points[2]=f;this.points[3]=this.getNextKeyWith("pos",m,h.index+1).pos;d=d*0.33+0.33;e=this.interpolateCatmullRom(this.points,d);c.x=e[0];c.y=e[1];c.z=e[2];if(this.interpolationType===THREE.AnimationHandler.CATMULLROM_FORWARD){d= -this.interpolateCatmullRom(this.points,d*1.01);this.target.set(d[0],d[1],d[2]);this.target.subSelf(c);this.target.y=0;this.target.normalize();d=Math.atan2(this.target.x,this.target.z);a.rotation.set(0,d,0)}}}else if(c==="rot")THREE.Quaternion.slerp(e,f,a.quaternion,d);else if(c==="scl"){c=a.scale;c.x=e[0]+(f[0]-e[0])*d;c.y=e[1]+(f[1]-e[1])*d;c.z=e[2]+(f[2]-e[2])*d}}}}}; -THREE.Animation.prototype.interpolateCatmullRom=function(a,b){var c=[],d=[],e,f,g,h,i,j;e=(a.length-1)*b;f=Math.floor(e);e=e-f;c[0]=f===0?f:f-1;c[1]=f;c[2]=f>a.length-2?f:f+1;c[3]=f>a.length-3?f:f+2;f=a[c[0]];h=a[c[1]];i=a[c[2]];j=a[c[3]];c=e*e;g=e*c;d[0]=this.interpolate(f[0],h[0],i[0],j[0],e,c,g);d[1]=this.interpolate(f[1],h[1],i[1],j[1],e,c,g);d[2]=this.interpolate(f[2],h[2],i[2],j[2],e,c,g);return d}; -THREE.Animation.prototype.interpolate=function(a,b,c,d,e,f,g){a=(c-a)*0.5;d=(d-b)*0.5;return(2*(b-c)+a+d)*g+(-3*(b-c)-2*a-d)*f+a*e+b};THREE.Animation.prototype.getNextKeyWith=function(a,b,c){for(var d=this.data.hierarchy[b].keys,c=this.interpolationType===THREE.AnimationHandler.CATMULLROM||this.interpolationType===THREE.AnimationHandler.CATMULLROM_FORWARD?c0?c:0:c>=0?c:c+d.length;c>=0;c--)if(d[c][a]!==void 0)return d[c];return this.data.hierarchy[b].keys[d.length-1]}; -THREE.KeyFrameAnimation=function(a,b,c){this.root=a;this.data=THREE.AnimationHandler.get(b);this.hierarchy=THREE.AnimationHandler.parse(a);this.currentTime=0;this.timeScale=0.001;this.isPlaying=false;this.loop=this.isPaused=true;this.JITCompile=c!==void 0?c:true;a=0;for(b=this.hierarchy.length;a=g?b.interpolate(c,g):b.interpolate(c,c.time)}this.data.hierarchy[a].node.updateMatrix();d.matrixWorldNeedsUpdate=true}}if(this.JITCompile&&f[0][e]===void 0){this.hierarchy[0].updateMatrixWorld(true); -for(a=0;a=0?c:c+b.length;c>=0;c--)if(b[c].hasTarget(a))return b[c];return b[b.length-1]}; -THREE.CubeCamera=function(a,b,c){THREE.Object3D.call(this);var d=new THREE.PerspectiveCamera(90,1,a,b);d.up.set(0,-1,0);d.lookAt(new THREE.Vector3(1,0,0));this.add(d);var e=new THREE.PerspectiveCamera(90,1,a,b);e.up.set(0,-1,0);e.lookAt(new THREE.Vector3(-1,0,0));this.add(e);var f=new THREE.PerspectiveCamera(90,1,a,b);f.up.set(0,0,1);f.lookAt(new THREE.Vector3(0,1,0));this.add(f);var g=new THREE.PerspectiveCamera(90,1,a,b);g.up.set(0,0,-1);g.lookAt(new THREE.Vector3(0,-1,0));this.add(g);var h=new THREE.PerspectiveCamera(90, -1,a,b);h.up.set(0,-1,0);h.lookAt(new THREE.Vector3(0,0,1));this.add(h);var i=new THREE.PerspectiveCamera(90,1,a,b);i.up.set(0,-1,0);i.lookAt(new THREE.Vector3(0,0,-1));this.add(i);this.renderTarget=new THREE.WebGLRenderTargetCube(c,c,{format:THREE.RGBFormat,magFilter:THREE.LinearFilter,minFilter:THREE.LinearFilter});this.updateCubeMap=function(a,b){var c=this.renderTarget,n=c.generateMipmaps;c.generateMipmaps=false;c.activeCubeFace=0;a.render(b,d,c);c.activeCubeFace=1;a.render(b,e,c);c.activeCubeFace= -2;a.render(b,f,c);c.activeCubeFace=3;a.render(b,g,c);c.activeCubeFace=4;a.render(b,h,c);c.generateMipmaps=n;c.activeCubeFace=5;a.render(b,i,c)}};THREE.CubeCamera.prototype=Object.create(THREE.Object3D.prototype);THREE.CombinedCamera=function(a,b,c,d,e,f,g){THREE.Camera.call(this);this.fov=c;this.left=-a/2;this.right=a/2;this.top=b/2;this.bottom=-b/2;this.cameraO=new THREE.OrthographicCamera(a/-2,a/2,b/2,b/-2,f,g);this.cameraP=new THREE.PerspectiveCamera(c,a/b,d,e);this.zoom=1;this.toPerspective()}; -THREE.CombinedCamera.prototype=Object.create(THREE.Camera.prototype);THREE.CombinedCamera.prototype.toPerspective=function(){this.near=this.cameraP.near;this.far=this.cameraP.far;this.cameraP.fov=this.fov/this.zoom;this.cameraP.updateProjectionMatrix();this.projectionMatrix=this.cameraP.projectionMatrix;this.inPerspectiveMode=true;this.inOrthographicMode=false}; -THREE.CombinedCamera.prototype.toOrthographic=function(){var a=this.cameraP.aspect,b=(this.cameraP.near+this.cameraP.far)/2,b=Math.tan(this.fov/2)*b,a=2*b*a/2,b=b/this.zoom,a=a/this.zoom;this.cameraO.left=-a;this.cameraO.right=a;this.cameraO.top=b;this.cameraO.bottom=-b;this.cameraO.updateProjectionMatrix();this.near=this.cameraO.near;this.far=this.cameraO.far;this.projectionMatrix=this.cameraO.projectionMatrix;this.inPerspectiveMode=false;this.inOrthographicMode=true}; -THREE.CombinedCamera.prototype.setSize=function(a,b){this.cameraP.aspect=a/b;this.left=-a/2;this.right=a/2;this.top=b/2;this.bottom=-b/2};THREE.CombinedCamera.prototype.setFov=function(a){this.fov=a;this.inPerspectiveMode?this.toPerspective():this.toOrthographic()};THREE.CombinedCamera.prototype.updateProjectionMatrix=function(){if(this.inPerspectiveMode)this.toPerspective();else{this.toPerspective();this.toOrthographic()}}; -THREE.CombinedCamera.prototype.setLens=function(a,b){b===void 0&&(b=24);var c=2*Math.atan(b/(a*2))*(180/Math.PI);this.setFov(c);return c};THREE.CombinedCamera.prototype.setZoom=function(a){this.zoom=a;this.inPerspectiveMode?this.toPerspective():this.toOrthographic()};THREE.CombinedCamera.prototype.toFrontView=function(){this.rotation.x=0;this.rotation.y=0;this.rotation.z=0;this.rotationAutoUpdate=false}; -THREE.CombinedCamera.prototype.toBackView=function(){this.rotation.x=0;this.rotation.y=Math.PI;this.rotation.z=0;this.rotationAutoUpdate=false};THREE.CombinedCamera.prototype.toLeftView=function(){this.rotation.x=0;this.rotation.y=-Math.PI/2;this.rotation.z=0;this.rotationAutoUpdate=false};THREE.CombinedCamera.prototype.toRightView=function(){this.rotation.x=0;this.rotation.y=Math.PI/2;this.rotation.z=0;this.rotationAutoUpdate=false}; -THREE.CombinedCamera.prototype.toTopView=function(){this.rotation.x=-Math.PI/2;this.rotation.y=0;this.rotation.z=0;this.rotationAutoUpdate=false};THREE.CombinedCamera.prototype.toBottomView=function(){this.rotation.x=Math.PI/2;this.rotation.y=0;this.rotation.z=0;this.rotationAutoUpdate=false}; -THREE.CircleGeometry=function(a,b,c,d){THREE.Geometry.call(this);var a=a||50,c=c!==void 0?c:0,d=d!==void 0?d:Math.PI*2,b=b!==void 0?Math.max(3,b):8,e,f=[];e=new THREE.Vector3;var g=new THREE.UV(0.5,0.5);this.vertices.push(e);f.push(g);for(e=0;e<=b;e++){var h=new THREE.Vector3;h.x=a*Math.cos(c+e/b*d);h.y=a*Math.sin(c+e/b*d);this.vertices.push(h);f.push(new THREE.UV((h.x/a+1)/2,-(h.y/a+1)/2+1))}c=new THREE.Vector3(0,0,-1);for(e=1;e<=b;e++){this.faces.push(new THREE.Face3(e,e+1,0,[c,c,c]));this.faceVertexUvs[0].push([f[e], -f[e+1],g])}this.computeCentroids();this.computeFaceNormals();this.boundingSphere={radius:a}};THREE.CircleGeometry.prototype=Object.create(THREE.Geometry.prototype); -THREE.CubeGeometry=function(a,b,c,d,e,f,g,h){function i(a,b,c,g,h,i,l,m){var n,o=d||1,p=e||1,q=h/2,r=i/2,t=j.vertices.length;if(a==="x"&&b==="y"||a==="y"&&b==="x")n="z";else if(a==="x"&&b==="z"||a==="z"&&b==="x"){n="y";p=f||1}else if(a==="z"&&b==="y"||a==="y"&&b==="z"){n="x";o=f||1}var u=o+1,B=p+1,$=h/o,Y=i/p,N=new THREE.Vector3;N[n]=l>0?1:-1;for(h=0;h -0){this.vertices.push(new THREE.Vector3(0,g,0));for(h=0;h0){this.vertices.push(new THREE.Vector3(0,-g,0));for(h=0;ha&&(a=a+Math.PI*2);c=(b+a)/2;a=-Math.cos(c);c=-Math.sin(c);return new THREE.Vector2(a,c)}return d.multiplyScalar(g).addSelf(h).subSelf(a).clone()}function e(c,d){var e,f;for(N=c.length;--N>=0;){e=N;f=N-1;f<0&&(f= -c.length-1);for(var g=0,h=n+l*2,g=0;g=0;K--){v=K/l;I=i*(1-v);F=j*Math.sin(v*Math.PI/2);N=0;for(ea=E.length;N1E-4){h.normalize();d=Math.acos(e[j-1].dot(e[j]));i.makeRotationAxis(h,d).multiplyVector3(f[j])}g[j].cross(e[j],f[j])}if(c){d=Math.acos(f[0].dot(f[b-1]));d=d/(b-1);e[0].dot(h.cross(f[0],f[b-1]))>0&&(d=-d);for(j=1;j=l){for(j=0;j<3;j++){l=[i[j],i[(j+1)%3]];m=true;for(n=0;n0;)this.smooth(a)};THREE.GeometryUtils.orderedKey=function(a,b){return Math.min(a,b)+"_"+Math.max(a,b)}; -THREE.GeometryUtils.computeEdgeFaces=function(a){function b(a,b){g[a]===void 0&&(g[a]=[]);g[a].push(b)}var c,d,e,f,g={},h=THREE.GeometryUtils.orderedKey;c=0;for(d=a.faces.length;c=q&&a0,"an edge without faces?!");if(G.length==1){v.addSelf(p[M]);v.addSelf(p[E]);v.multiplyScalar(0.5)}else{v.addSelf(r[y]);v.addSelf(r[J]);v.addSelf(p[M]);v.addSelf(p[E]);v.multiplyScalar(0.25)}t[s]= -q+o.length+z;h.push(v);z++;if(l.supportUVs){v=new THREE.UV;v.u=f(M,y).u+f(E,y).u;v.v=f(M,y).v+f(E,y).v;v.u=v.u/2;v.v=v.v/2;g(t[s],y,v);if(G.length>=2){b(G.length==2,"did we plan for more than 2 edges?");v=new THREE.UV;v.u=f(M,J).u+f(E,J).u;v.v=f(M,J).v+f(E,J).v;v.u=v.u/2;v.v=v.v/2;g(t[s],J,v)}}}c("-- Step 2 done");var I,L;v=["123","12","2","23"];J=["123","23","3","31"];var K=["123","31","1","12"],F=["1234","12","2","23"],R=["1234","23","3","34"],$=["1234","34","4","41"],Y=["1234","41","1","12"];s= -0;for(z=r.length;s1){var i=h[1];d[i]||(d[i]={start:Infinity,end:-Infinity});h=d[i];if(fh.end)h.end=f;c||(c=i)}}for(i in d){h=d[i];this.createAnimation(i,h.start,h.end,a)}this.firstAnimation=c}; -THREE.MorphBlendMesh.prototype.setAnimationDirectionForward=function(a){if(a=this.animationsMap[a]){a.direction=1;a.directionBackwards=false}};THREE.MorphBlendMesh.prototype.setAnimationDirectionBackward=function(a){if(a=this.animationsMap[a]){a.direction=-1;a.directionBackwards=true}};THREE.MorphBlendMesh.prototype.setAnimationFPS=function(a,b){var c=this.animationsMap[a];if(c){c.fps=b;c.duration=(c.end-c.start)/c.fps}}; -THREE.MorphBlendMesh.prototype.setAnimationDuration=function(a,b){var c=this.animationsMap[a];if(c){c.duration=b;c.fps=(c.end-c.start)/c.duration}};THREE.MorphBlendMesh.prototype.setAnimationWeight=function(a,b){var c=this.animationsMap[a];if(c)c.weight=b};THREE.MorphBlendMesh.prototype.setAnimationTime=function(a,b){var c=this.animationsMap[a];if(c)c.time=b};THREE.MorphBlendMesh.prototype.getAnimationTime=function(a){var b=0;if(a=this.animationsMap[a])b=a.time;return b}; -THREE.MorphBlendMesh.prototype.getAnimationDuration=function(a){var b=-1;if(a=this.animationsMap[a])b=a.duration;return b};THREE.MorphBlendMesh.prototype.playAnimation=function(a){var b=this.animationsMap[a];if(b){b.time=0;b.active=true}else console.warn("animation["+a+"] undefined")};THREE.MorphBlendMesh.prototype.stopAnimation=function(a){if(a=this.animationsMap[a])a.active=false}; -THREE.MorphBlendMesh.prototype.update=function(a){for(var b=0,c=this.animationsList.length;bd.duration||d.time<0){d.direction=d.direction*-1;if(d.time>d.duration){d.time=d.duration;d.directionBackwards=true}if(d.time<0){d.time=0;d.directionBackwards=false}}}else{d.time=d.time%d.duration;if(d.time<0)d.time=d.time+d.duration}var f=d.startFrame+THREE.Math.clamp(Math.floor(d.time/ -e),0,d.length-1),g=d.weight;if(f!==d.currentFrame){this.morphTargetInfluences[d.lastFrame]=0;this.morphTargetInfluences[d.currentFrame]=1*g;this.morphTargetInfluences[f]=0;d.lastFrame=d.currentFrame;d.currentFrame=f}e=d.time%e/e;d.directionBackwards&&(e=1-e);this.morphTargetInfluences[d.currentFrame]=e*g;this.morphTargetInfluences[d.lastFrame]=(1-e)*g}}}; -THREE.LensFlarePlugin=function(){function a(a){var c=b.createProgram(),d=b.createShader(b.FRAGMENT_SHADER),e=b.createShader(b.VERTEX_SHADER);b.shaderSource(d,a.fragmentShader);b.shaderSource(e,a.vertexShader);b.compileShader(d);b.compileShader(e);b.attachShader(c,d);b.attachShader(c,e);b.linkProgram(c);return c}var b,c,d,e,f,g,h,i,j,l,m,n,p;this.init=function(o){b=o.context;c=o;d=new Float32Array(16);e=new Uint16Array(6);o=0;d[o++]=-1;d[o++]=-1;d[o++]=0;d[o++]=0;d[o++]=1;d[o++]=-1;d[o++]=1;d[o++]= -0;d[o++]=1;d[o++]=1;d[o++]=1;d[o++]=1;d[o++]=-1;d[o++]=1;d[o++]=0;d[o++]=1;o=0;e[o++]=0;e[o++]=1;e[o++]=2;e[o++]=0;e[o++]=2;e[o++]=3;f=b.createBuffer();g=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,f);b.bufferData(b.ARRAY_BUFFER,d,b.STATIC_DRAW);b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,g);b.bufferData(b.ELEMENT_ARRAY_BUFFER,e,b.STATIC_DRAW);h=b.createTexture();i=b.createTexture();b.bindTexture(b.TEXTURE_2D,h);b.texImage2D(b.TEXTURE_2D,0,b.RGB,16,16,0,b.RGB,b.UNSIGNED_BYTE,null);b.texParameteri(b.TEXTURE_2D, -b.TEXTURE_WRAP_S,b.CLAMP_TO_EDGE);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_T,b.CLAMP_TO_EDGE);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MAG_FILTER,b.NEAREST);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MIN_FILTER,b.NEAREST);b.bindTexture(b.TEXTURE_2D,i);b.texImage2D(b.TEXTURE_2D,0,b.RGBA,16,16,0,b.RGBA,b.UNSIGNED_BYTE,null);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_S,b.CLAMP_TO_EDGE);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_T,b.CLAMP_TO_EDGE);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MAG_FILTER,b.NEAREST); -b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MIN_FILTER,b.NEAREST);if(b.getParameter(b.MAX_VERTEX_TEXTURE_IMAGE_UNITS)<=0){j=false;l=a(THREE.ShaderFlares.lensFlare)}else{j=true;l=a(THREE.ShaderFlares.lensFlareVertexTexture)}m={};n={};m.vertex=b.getAttribLocation(l,"position");m.uv=b.getAttribLocation(l,"uv");n.renderType=b.getUniformLocation(l,"renderType");n.map=b.getUniformLocation(l,"map");n.occlusionMap=b.getUniformLocation(l,"occlusionMap");n.opacity=b.getUniformLocation(l,"opacity");n.color=b.getUniformLocation(l, -"color");n.scale=b.getUniformLocation(l,"scale");n.rotation=b.getUniformLocation(l,"rotation");n.screenPosition=b.getUniformLocation(l,"screenPosition");p=false};this.render=function(a,d,e,t){var a=a.__webglFlares,B=a.length;if(B){var u=new THREE.Vector3,s=t/e,z=e*0.5,A=t*0.5,v=16/t,y=new THREE.Vector2(v*s,v),C=new THREE.Vector3(1,1,0),G=new THREE.Vector2(1,1),H=n,v=m;b.useProgram(l);if(!p){b.enableVertexAttribArray(m.vertex);b.enableVertexAttribArray(m.uv);p=true}b.uniform1i(H.occlusionMap,0);b.uniform1i(H.map, -1);b.bindBuffer(b.ARRAY_BUFFER,f);b.vertexAttribPointer(v.vertex,2,b.FLOAT,false,16,0);b.vertexAttribPointer(v.uv,2,b.FLOAT,false,16,8);b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,g);b.disable(b.CULL_FACE);b.depthMask(false);var J,E,M,K,F;for(J=0;J0&&G.x0&& -G.y0.001&&F.scale>0.001){C.x=F.x;C.y=F.y;C.z=F.z;v=F.size*F.scale/t;y.x=v*s;y.y=v;b.uniform3f(H.screenPosition,C.x,C.y,C.z);b.uniform2f(H.scale,y.x,y.y);b.uniform1f(H.rotation,F.rotation);b.uniform1f(H.opacity,F.opacity); -b.uniform3f(H.color,F.color.r,F.color.g,F.color.b);c.setBlending(F.blending,F.blendEquation,F.blendSrc,F.blendDst);c.setTexture(F.texture,1);b.drawElements(b.TRIANGLES,6,b.UNSIGNED_SHORT,0)}}}}b.enable(b.CULL_FACE);b.enable(b.DEPTH_TEST);b.depthMask(true)}}}; -THREE.ShadowMapPlugin=function(){var a,b,c,d,e,f,g=new THREE.Frustum,h=new THREE.Matrix4,i=new THREE.Vector3,j=new THREE.Vector3;this.init=function(g){a=g.context;b=g;var g=THREE.ShaderLib.depthRGBA,h=THREE.UniformsUtils.clone(g.uniforms);c=new THREE.ShaderMaterial({fragmentShader:g.fragmentShader,vertexShader:g.vertexShader,uniforms:h});d=new THREE.ShaderMaterial({fragmentShader:g.fragmentShader,vertexShader:g.vertexShader,uniforms:h,morphTargets:true});e=new THREE.ShaderMaterial({fragmentShader:g.fragmentShader, -vertexShader:g.vertexShader,uniforms:h,skinning:true});f=new THREE.ShaderMaterial({fragmentShader:g.fragmentShader,vertexShader:g.vertexShader,uniforms:h,morphTargets:true,skinning:true});c._shadowPass=true;d._shadowPass=true;e._shadowPass=true;f._shadowPass=true};this.render=function(a,c){b.shadowMapEnabled&&b.shadowMapAutoUpdate&&this.update(a,c)};this.update=function(l,m){var n,p,o,q,r,t,B,u,s,z=[];q=0;a.clearColor(1,1,1,1);a.disable(a.BLEND);a.enable(a.CULL_FACE);a.frontFace(a.CCW);b.shadowMapCullFrontFaces? -a.cullFace(a.FRONT):a.cullFace(a.BACK);b.setDepthTest(true);n=0;for(p=l.__lights.length;nj.x)j.x=u.x;if(u.yj.y)j.y=u.y;if(u.z -j.z)j.z=u.z}q.left=i.x;q.right=j.x;q.top=j.y;q.bottom=i.y;q.updateProjectionMatrix()}q=o.shadowMap;t=o.shadowMatrix;r=o.shadowCamera;r.position.copy(o.matrixWorld.getPosition());r.lookAt(o.target.matrixWorld.getPosition());r.updateMatrixWorld();r.matrixWorldInverse.getInverse(r.matrixWorld);if(o.cameraHelper)o.cameraHelper.visible=o.shadowCameraVisible;o.shadowCameraVisible&&o.cameraHelper.update();t.set(0.5,0,0,0.5,0,0.5,0,0.5,0,0,0.5,0.5,0,0,0,1);t.multiplySelf(r.projectionMatrix);t.multiplySelf(r.matrixWorldInverse); -if(!r._viewMatrixArray)r._viewMatrixArray=new Float32Array(16);if(!r._projectionMatrixArray)r._projectionMatrixArray=new Float32Array(16);r.matrixWorldInverse.flattenToArray(r._viewMatrixArray);r.projectionMatrix.flattenToArray(r._projectionMatrixArray);h.multiply(r.projectionMatrix,r.matrixWorldInverse);g.setFromMatrix(h);b.setRenderTarget(q);b.clear();s=l.__webglObjects;o=0;for(q=s.length;o0&&v.morphTargets;v=t instanceof THREE.SkinnedMesh&&v.skinning;u=t.customDepthMaterial?t.customDepthMaterial:v?u?f:e:u?d:c;B instanceof THREE.BufferGeometry?b.renderBufferDirect(r,l.__lights,null,u,B,t):b.renderBuffer(r,l.__lights, -null,u,B,t)}}s=l.__webglObjectsImmediate;o=0;for(q=s.length;o Date: Wed, 1 Jul 2020 13:28:02 +0200 Subject: [PATCH 62/85] =?UTF-8?q?=F0=9F=93=9D=20Add=20firmware=20&=20file?= =?UTF-8?q?=20check=20plugins=20to=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/bundledplugins/file_check.rst | 7 +++++++ docs/bundledplugins/index.rst | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 docs/bundledplugins/file_check.rst diff --git a/docs/bundledplugins/file_check.rst b/docs/bundledplugins/file_check.rst new file mode 100644 index 000000000..d480ce31c --- /dev/null +++ b/docs/bundledplugins/file_check.rst @@ -0,0 +1,7 @@ +.. _sec-bundledplugins-file_check: + +File Check +========== + +The file check plugin - while considered bundled with OctoPrint - is a separate project on its own release +cycle and documented on :ref:`its Github repository `_. diff --git a/docs/bundledplugins/index.rst b/docs/bundledplugins/index.rst index fb838389b..0217cb517 100644 --- a/docs/bundledplugins/index.rst +++ b/docs/bundledplugins/index.rst @@ -15,6 +15,8 @@ Bundled Plugins backup.rst discovery.rst errortracking.rst + file_check.rst + firmware_check.rst logging.rst loginui.rst pluginmanager.rst From 0c9c25fb41e3627fb0a499fe5d95c24023c59311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 1 Jul 2020 13:55:38 +0200 Subject: [PATCH 63/85] =?UTF-8?q?=F0=9F=93=9D=20Fix=20two=20image=20links?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...plugins-action_command_notification-example.png} | Bin ...e.png => bundledplugins-gcodeviewer-example.png} | Bin 2 files changed, 0 insertions(+), 0 deletions(-) rename docs/images/{bundledplugins_action_command_notification_example.png => bundledplugins-action_command_notification-example.png} (100%) rename docs/images/{bundledplugins_gcodeviewer_example.png => bundledplugins-gcodeviewer-example.png} (100%) diff --git a/docs/images/bundledplugins_action_command_notification_example.png b/docs/images/bundledplugins-action_command_notification-example.png similarity index 100% rename from docs/images/bundledplugins_action_command_notification_example.png rename to docs/images/bundledplugins-action_command_notification-example.png diff --git a/docs/images/bundledplugins_gcodeviewer_example.png b/docs/images/bundledplugins-gcodeviewer-example.png similarity index 100% rename from docs/images/bundledplugins_gcodeviewer_example.png rename to docs/images/bundledplugins-gcodeviewer-example.png From 13c575b3bc80e95dca79093aeaa3f166cc39ef77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 1 Jul 2020 13:55:52 +0200 Subject: [PATCH 64/85] =?UTF-8?q?=F0=9F=93=9D=20Fix=20two=20links?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/bundledplugins/file_check.rst | 2 +- docs/bundledplugins/firmware_check.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/bundledplugins/file_check.rst b/docs/bundledplugins/file_check.rst index d480ce31c..814066697 100644 --- a/docs/bundledplugins/file_check.rst +++ b/docs/bundledplugins/file_check.rst @@ -4,4 +4,4 @@ File Check ========== The file check plugin - while considered bundled with OctoPrint - is a separate project on its own release -cycle and documented on :ref:`its Github repository `_. +cycle and documented on `its Github repository `_. diff --git a/docs/bundledplugins/firmware_check.rst b/docs/bundledplugins/firmware_check.rst index ceb071039..c7e95facc 100644 --- a/docs/bundledplugins/firmware_check.rst +++ b/docs/bundledplugins/firmware_check.rst @@ -4,4 +4,4 @@ Firmware Check ============== The firmware check plugin - while considered bundled with OctoPrint - is a separate project on its own release -cycle and documented on :ref:`its Github repository `_. +cycle and documented on `its Github repository `_. From e3a83ccb00c18b0228eb8dc15762d03eddb793dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 1 Jul 2020 13:59:49 +0200 Subject: [PATCH 65/85] =?UTF-8?q?=F0=9F=90=9B=20Action=20Command=20Notific?= =?UTF-8?q?ation:=20Fix=20binding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/js/action_command_notification.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/plugins/action_command_notification/static/js/action_command_notification.js b/src/octoprint/plugins/action_command_notification/static/js/action_command_notification.js index 46954ae99..991557caa 100644 --- a/src/octoprint/plugins/action_command_notification/static/js/action_command_notification.js +++ b/src/octoprint/plugins/action_command_notification/static/js/action_command_notification.js @@ -60,6 +60,6 @@ $(function() { OCTOPRINT_VIEWMODELS.push({ construct: ActionCommandNotificationViewModel, dependencies: ["loginStateViewModel", "accessViewModel", "settingsViewModel"], - elements: ["#sidebar_plugin_action_command_notification_wrapper", "#sidebar_plugin_action_command_notification"] + elements: ["#sidebar_plugin_action_command_notification_wrapper"] }); }); From 992188704749a6fbb7a2af534c7d6693454ccf64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Jul 2020 14:04:51 +0200 Subject: [PATCH 66/85] =?UTF-8?q?=F0=9F=93=9D=20Fix=20a=20link=20in=20the?= =?UTF-8?q?=20docs=20&=20remove=20an=20obsolete=20note?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/features/gcode_scripts.rst | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/docs/features/gcode_scripts.rst b/docs/features/gcode_scripts.rst index d07a609f8..6351fef37 100644 --- a/docs/features/gcode_scripts.rst +++ b/docs/features/gcode_scripts.rst @@ -18,13 +18,7 @@ simple "send-as-is" scripts but making use of a full blown templating language i this end, OctoPrint injects some variables into the :ref:`template rendering context ` as described below. -You can find the docs on the Jinja templating engine as used in OctoPrint at `jinja.octoprint.org `_. - -.. note:: - - Due to backwards compatibility issues with Jinja versions 2.9+, OctoPrint currently only supports Jinja 2.8. For this - reason use the template documentation at `jinja.octoprint.org `_ instead of the - documentation of current stable Jinja versions. +You can find the docs on the Jinja templating engine as used in OctoPrint `here `_. .. _sec-features-gcode_scripts-predefined: @@ -250,7 +244,6 @@ to the persisted pause position on resume, making sure to also reset the extrude .. seealso:: - `Jinja Template Designer Documentation `_ + `Jinja Template Designer Documentation `_ Jinja's Template Designer Documentation describes the syntax and semantics of the template language used - also by OctoPrint's GCODE scripts. Linked here are the docs for Jinja 2.8.1, which OctoPrint still - relies on for backwards compatibility reasons. + also by OctoPrint's GCODE scripts. From 622aad07dc394b50b7c94c6cd957ad270e1e7ab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Jul 2020 14:53:14 +0200 Subject: [PATCH 67/85] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=EF=B8=8F=20First=20?= =?UTF-8?q?throw=20at=20E2E=20testing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/fixtures/with_acl/config.yaml | 16 + .github/fixtures/with_acl/users.yaml | 22 + .github/workflows/e2e.yml | 43 + .gitignore | 4 + tests/cypress/cypress.json | 10 + tests/cypress/fixtures/example.json | 5 + tests/cypress/integration/login.js | 111 ++ tests/cypress/package-lock.json | 1483 +++++++++++++++++++++++++ tests/cypress/package.json | 22 + tests/cypress/plugins/index.js | 21 + tests/cypress/support/commands.js | 25 + tests/cypress/support/index.js | 20 + 12 files changed, 1782 insertions(+) create mode 100644 .github/fixtures/with_acl/config.yaml create mode 100644 .github/fixtures/with_acl/users.yaml create mode 100644 .github/workflows/e2e.yml create mode 100644 tests/cypress/cypress.json create mode 100644 tests/cypress/fixtures/example.json create mode 100644 tests/cypress/integration/login.js create mode 100644 tests/cypress/package-lock.json create mode 100644 tests/cypress/package.json create mode 100644 tests/cypress/plugins/index.js create mode 100644 tests/cypress/support/commands.js create mode 100644 tests/cypress/support/index.js diff --git a/.github/fixtures/with_acl/config.yaml b/.github/fixtures/with_acl/config.yaml new file mode 100644 index 000000000..1b8a97f98 --- /dev/null +++ b/.github/fixtures/with_acl/config.yaml @@ -0,0 +1,16 @@ +accessControl: + salt: zXmvzI3uWuTLkSPOEfA2ZLwn3f3sGUNS +plugins: + tracking: + enabled: false +server: + firstRun: false + onlineCheck: + enabled: false + pluginBlacklist: + enabled: false + secretKey: rrdHjvmeGMPSdYWg2NGdiM7mpz9pjekk + seenWizards: + backup: null + corewizard: 3 + tracking: null diff --git a/.github/fixtures/with_acl/users.yaml b/.github/fixtures/with_acl/users.yaml new file mode 100644 index 000000000..fac60a9d4 --- /dev/null +++ b/.github/fixtures/with_acl/users.yaml @@ -0,0 +1,22 @@ +admin: + active: true + apikey: null + groups: + - admins + - users + password: 3033587f3b040680c77ce4fb7e8d61422878ef49a2a784227689f3b44ce66ada7f6161f8b2b037267f0d37b783a5600276eb88e1d224d24915f64e187a49a89f + permissions: [] + roles: + - user + - admin + settings: {} +user: + active: true + apikey: null + groups: + - users + password: 3033587f3b040680c77ce4fb7e8d61422878ef49a2a784227689f3b44ce66ada7f6161f8b2b037267f0d37b783a5600276eb88e1d224d24915f64e187a49a89f + permissions: [] + roles: + - user + settings: {} diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml new file mode 100644 index 000000000..9c3cadd45 --- /dev/null +++ b/.github/workflows/e2e.yml @@ -0,0 +1,43 @@ +name: E2E tests +on: [push] + +jobs: + cypress-run: + runs-on: ubuntu-16.04 + steps: + - name: ⬇ Checkout code + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: 🐍 Set up Python 3.7 + uses: actions/setup-python@v2 + with: + python-version: 3.7 + - name: 👷 Build and install checkout + run: | + pip install . + + - name: 🏗 Create base config for test server + run: | + mkdir e2econfig + cp -r .github/fixtures/with_acl/* e2econfig + + - name: 🚀 Run Cypress + uses: cypress-io/github-action@v2 + with: + working-directory: tests/cypress + start: 'octoprint -b ${{ github.workspace }}/e2econfig serve --host 127.0.0.1 --port 5000' + wait-on: 'http://127.0.0.1:5000/online.txt' + + - name: ⬆ Upload screenshots + uses: actions/upload-artifact@v1 + if: failure() + with: + name: cypress-screenshots + path: tests/cypress/screenshots + - name: ⬆ Upload videos + uses: actions/upload-artifact@v1 + if: always() + with: + name: cypress-videos + path: tests/cypress/videos diff --git a/.gitignore b/.gitignore index d7e3cdc89..4aa025b88 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,7 @@ pypy venv* testconf* + +node_modules +tests/cypress/screenshots +tests/cypress/videos diff --git a/tests/cypress/cypress.json b/tests/cypress/cypress.json new file mode 100644 index 000000000..29424249f --- /dev/null +++ b/tests/cypress/cypress.json @@ -0,0 +1,10 @@ +{ + "baseUrl": "http://127.0.0.1:5000", + + "fixturesFolder": "fixtures", + "integrationFolder": "integration", + "pluginsFile": "plugins/index.js", + "supportFile": "support/index.js", + "screenshotsFolder": "screenshots", + "videosFolder": "videos" +} diff --git a/tests/cypress/fixtures/example.json b/tests/cypress/fixtures/example.json new file mode 100644 index 000000000..da18d9352 --- /dev/null +++ b/tests/cypress/fixtures/example.json @@ -0,0 +1,5 @@ +{ + "name": "Using fixtures to represent data", + "email": "hello@cypress.io", + "body": "Fixtures are a great way to mock data for responses to routes" +} \ No newline at end of file diff --git a/tests/cypress/integration/login.js b/tests/cypress/integration/login.js new file mode 100644 index 000000000..7b74ec04c --- /dev/null +++ b/tests/cypress/integration/login.js @@ -0,0 +1,111 @@ +describe('Login tests', () => { + const username = 'admin'; + const password = 'test'; + + context('Successful login', () => { + it('logs in', () => { + cy.visit('/'); + cy.get('#login-user') + .type(username); + cy.get('#login-password') + .type(password); + + cy.get('#login-button') + .click(); + + cy.get('#navbar') + .should('be.visible'); + cy.get('#navbar_login a.dropdown-toggle span') + .should('contain', username); + cy.getCookie('session_P5000') + .should('exist'); + cy.getCookie('remember_token_P5000') + .should('not.exist'); + cy.url() + .should('contain', '#temp'); + }); + + it('logs in with remember me', () => { + cy.visit('/'); + cy.get('#login-user') + .type(username); + cy.get('#login-password') + .type(password); + + cy.get('#login-remember') + .click(); + cy.get('#login-button') + .click(); + + cy.get('#navbar') + .should('be.visible'); + cy.get('#navbar_login a.dropdown-toggle span') + .should('contain', username); + cy.getCookie('session_P5000') + .should('exist'); + cy.getCookie('remember_token_P5000') + .should(($cookie) => { + expect($cookie).to.have.property('value'); + expect($cookie.value).to.match(new RegExp('^' + username + '\|')); + }); + cy.url() + .should('contain', '#temp'); + }); + + it('logs in and logs out again', () => { + cy.visit('/'); + cy.get('#login-user') + .type(username); + cy.get('#login-password') + .type(password); + + cy.get('#login-button') + .click(); + + cy.get('#navbar') + .should('be.visible'); + + cy.get('#navbar_login a.dropdown-toggle') + .click(); + cy.get('#logout_button') + .click(); + + cy.get('h2.form-signin-heading') + .should('be.visible') + .should('contain', 'Please log in'); + }) + }); + + context('Unauthorized', () => { + it('uses wrong user name', () => { + cy.visit('/'); + + cy.get('#login-user') + .type('idonotexist'); + cy.get('#login-password') + .type('test'); + cy.get('#login-button') + .click(); + }); + + it('uses wrong password', () => { + cy.visit('/'); + + cy.get('#login-user') + .type('admin'); + cy.get('#login-password') + .type('wrongpassword'); + cy.get('#login-button') + .click(); + }); + + afterEach(() => { + cy.get('h2.form-signin-heading') + .should('be.visible') + .should('contain', 'Please log in'); + cy.get('#login-error') + .should('be.visible') + .should('contain', 'Incorrect username or password'); + }); + }); +}); diff --git a/tests/cypress/package-lock.json b/tests/cypress/package-lock.json new file mode 100644 index 000000000..6e6893419 --- /dev/null +++ b/tests/cypress/package-lock.json @@ -0,0 +1,1483 @@ +{ + "name": "octoprint-cypress", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@cypress/listr-verbose-renderer": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@cypress/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz", + "integrity": "sha1-p3SS9LEdzHxEajSz4ochr9M8ZCo=", + "requires": { + "chalk": "1.1.3", + "cli-cursor": "1.0.2", + "date-fns": "1.30.1", + "figures": "1.7.0" + }, + "dependencies": { + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + } + } + }, + "@cypress/request": { + "version": "2.88.5", + "resolved": "https://registry.npmjs.org/@cypress/request/-/request-2.88.5.tgz", + "integrity": "sha512-TzEC1XMi1hJkywWpRfD2clreTa/Z+lOrXDCxxBTBPEcY5azdPi56A6Xw+O4tWJnaJH3iIE7G5aDXZC6JgRZLcA==", + "requires": { + "aws-sign2": "0.7.0", + "aws4": "1.10.0", + "caseless": "0.12.0", + "combined-stream": "1.0.8", + "extend": "3.0.2", + "forever-agent": "0.6.1", + "form-data": "2.3.3", + "har-validator": "5.1.3", + "http-signature": "1.2.0", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.27", + "oauth-sign": "0.9.0", + "performance-now": "2.1.0", + "qs": "6.5.2", + "safe-buffer": "5.2.1", + "tough-cookie": "2.5.0", + "tunnel-agent": "0.6.0", + "uuid": "3.4.0" + } + }, + "@cypress/xvfb": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@cypress/xvfb/-/xvfb-1.2.4.tgz", + "integrity": "sha512-skbBzPggOVYCbnGgV+0dmBdW/s77ZkAOXIC1knS8NagwDjBrNC1LuXtQJeiN6l+m7lzmHtaoUw/ctJKdqkG57Q==", + "requires": { + "debug": "3.2.6", + "lodash.once": "4.1.1" + }, + "dependencies": { + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "requires": { + "ms": "2.1.2" + } + } + } + }, + "@samverschueren/stream-to-observable": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz", + "integrity": "sha512-MI4Xx6LHs4Webyvi6EbspgyAb4D2Q2VtnCQ1blOJcoLS6mVa8lNN2rkIy1CVxfTUpoyIbCTkXES1rLXztFD1lg==", + "requires": { + "any-observable": "0.3.0" + } + }, + "@types/sinonjs__fake-timers": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-6.0.1.tgz", + "integrity": "sha512-yYezQwGWty8ziyYLdZjwxyMb0CZR49h8JALHGrxjQHWlqGgc8kLdHEgWrgL0uZ29DMvEVBDnHU2Wg36zKSIUtA==" + }, + "@types/sizzle": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.2.tgz", + "integrity": "sha512-7EJYyKTL7tFR8+gDbB6Wwz/arpGa0Mywk1TJbNzKzHtzbwVmY4HR9WqS5VV7dsBUKQmPNr192jHr/VpBluj/hg==" + }, + "ajv": { + "version": "6.12.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.2.tgz", + "integrity": "sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ==", + "requires": { + "fast-deep-equal": "3.1.3", + "fast-json-stable-stringify": "2.1.0", + "json-schema-traverse": "0.4.1", + "uri-js": "4.2.2" + } + }, + "ansi-escapes": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", + "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==" + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" + }, + "any-observable": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/any-observable/-/any-observable-0.3.0.tgz", + "integrity": "sha512-/FQM1EDkTsf63Ub2C6O7GuYFDsSXUwsaZDurV0np41ocwq0jthUAYCmhBX9f+KwlaCgIuWyr/4WlUQUBfKfZog==" + }, + "arch": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/arch/-/arch-2.1.2.tgz", + "integrity": "sha512-NTBIIbAfkJeIletyABbVtdPgeKfDafR+1mZV/AyyfC1UkVkp9iUjV+wwmqtUgphHYajbI86jejBJp5e+jkGTiQ==" + }, + "asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "requires": { + "safer-buffer": "2.1.2" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + }, + "async": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.0.tgz", + "integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==" + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" + }, + "aws4": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.10.0.tgz", + "integrity": "sha512-3YDiu347mtVtjpyV3u5kVqQLP242c06zwDOgpeRnybmXlYYsLbtTrUBUm8i8srONt+FWobl5aibnU1030PeeuA==" + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "requires": { + "tweetnacl": "0.14.5" + } + }, + "bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "requires": { + "balanced-match": "1.0.0", + "concat-map": "0.0.1" + } + }, + "buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=" + }, + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" + }, + "cachedir": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/cachedir/-/cachedir-2.3.0.tgz", + "integrity": "sha512-A+Fezp4zxnit6FanDmv9EqXNAi3vt9DWp51/71UEhXukb7QUuvtv9344h91dyAxuTLoSYJFU299qzR3tzwPAhw==" + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "1.9.3" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "check-more-types": { + "version": "2.24.0", + "resolved": "https://registry.npmjs.org/check-more-types/-/check-more-types-2.24.0.tgz", + "integrity": "sha1-FCD/sQ/URNz8ebQ4kbv//TKoRgA=" + }, + "ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" + }, + "cli-cursor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", + "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", + "requires": { + "restore-cursor": "1.0.1" + } + }, + "cli-table3": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.5.1.tgz", + "integrity": "sha512-7Qg2Jrep1S/+Q3EceiZtQcDPWxhAvBw+ERf1162v4sikJrvojMHFqXt8QIVha8UlH9rgU0BeWPytZ9/TzYqlUw==", + "requires": { + "colors": "1.4.0", + "object-assign": "4.1.1", + "string-width": "2.1.1" + } + }, + "cli-truncate": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.1.tgz", + "integrity": "sha1-nxXPuwcFAFNpIWxiasfQWrkN1XQ=", + "requires": { + "slice-ansi": "0.0.4", + "string-width": "1.0.2" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "requires": { + "number-is-nan": "1.0.1" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + } + } + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "colors": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", + "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", + "optional": true + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "1.0.0" + } + }, + "commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==" + }, + "common-tags": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.8.0.tgz", + "integrity": "sha512-6P6g0uetGpW/sdyUy/iQQCbFF0kWVMSIVSyYz7Zgjcgh8mgw8PQzDNZeyZ5DQ2gM7LBoZPHmnjz8rUthkBG5tw==" + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "requires": { + "buffer-from": "1.1.1", + "inherits": "2.0.4", + "readable-stream": "2.3.7", + "typedarray": "0.0.6" + } + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "requires": { + "nice-try": "1.0.5", + "path-key": "2.0.1", + "semver": "5.7.1", + "shebang-command": "1.2.0", + "which": "1.3.1" + } + }, + "cypress": { + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-4.9.0.tgz", + "integrity": "sha512-qGxT5E0j21FPryzhb0OBjCdhoR/n1jXtumpFFSBPYWsaZZhNaBvc3XlBUDEZKkkXPsqUFYiyhWdHN/zo0t5FcA==", + "requires": { + "@cypress/listr-verbose-renderer": "0.4.1", + "@cypress/request": "2.88.5", + "@cypress/xvfb": "1.2.4", + "@types/sinonjs__fake-timers": "6.0.1", + "@types/sizzle": "2.3.2", + "arch": "2.1.2", + "bluebird": "3.7.2", + "cachedir": "2.3.0", + "chalk": "2.4.2", + "check-more-types": "2.24.0", + "cli-table3": "0.5.1", + "commander": "4.1.1", + "common-tags": "1.8.0", + "debug": "4.1.1", + "eventemitter2": "6.4.2", + "execa": "1.0.0", + "executable": "4.1.1", + "extract-zip": "1.7.0", + "fs-extra": "8.1.0", + "getos": "3.2.1", + "is-ci": "2.0.0", + "is-installed-globally": "0.3.2", + "lazy-ass": "1.6.0", + "listr": "0.14.3", + "lodash": "4.17.15", + "log-symbols": "3.0.0", + "minimist": "1.2.5", + "moment": "2.26.0", + "ospath": "1.2.2", + "pretty-bytes": "5.3.0", + "ramda": "0.26.1", + "request-progress": "3.0.0", + "supports-color": "7.1.0", + "tmp": "0.1.0", + "untildify": "4.0.0", + "url": "0.11.0", + "yauzl": "2.10.0" + } + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "requires": { + "assert-plus": "1.0.0" + } + }, + "date-fns": { + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-1.30.1.tgz", + "integrity": "sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw==" + }, + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "requires": { + "ms": "2.1.2" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "requires": { + "jsbn": "0.1.1", + "safer-buffer": "2.1.2" + } + }, + "elegant-spinner": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/elegant-spinner/-/elegant-spinner-1.0.1.tgz", + "integrity": "sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4=" + }, + "end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "requires": { + "once": "1.4.0" + } + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + }, + "eventemitter2": { + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-6.4.2.tgz", + "integrity": "sha512-r/Pwupa5RIzxIHbEKCkNXqpEQIIT4uQDxmP4G/Lug/NokVUWj0joz/WzWl3OxRpC5kDrH/WdiUJoR+IrwvXJEw==" + }, + "execa": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", + "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", + "requires": { + "cross-spawn": "6.0.5", + "get-stream": "4.1.0", + "is-stream": "1.1.0", + "npm-run-path": "2.0.2", + "p-finally": "1.0.0", + "signal-exit": "3.0.3", + "strip-eof": "1.0.0" + } + }, + "executable": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/executable/-/executable-4.1.1.tgz", + "integrity": "sha512-8iA79xD3uAch729dUG8xaaBBFGaEa0wdD2VkYLFHwlqosEj/jT66AzcreRDSgV7ehnNLBW2WR5jIXwGKjVdTLg==", + "requires": { + "pify": "2.3.0" + } + }, + "exit-hook": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz", + "integrity": "sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g=" + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "extract-zip": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.7.0.tgz", + "integrity": "sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA==", + "requires": { + "concat-stream": "1.6.2", + "debug": "2.6.9", + "mkdirp": "0.5.5", + "yauzl": "2.10.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", + "requires": { + "pend": "1.2.0" + } + }, + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "requires": { + "asynckit": "0.4.0", + "combined-stream": "1.0.8", + "mime-types": "2.1.27" + } + }, + "fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "requires": { + "graceful-fs": "4.2.4", + "jsonfile": "4.0.0", + "universalify": "0.1.2" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + }, + "get-stream": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", + "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "requires": { + "pump": "3.0.0" + } + }, + "getos": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/getos/-/getos-3.2.1.tgz", + "integrity": "sha512-U56CfOK17OKgTVqozZjUKNdkfEv6jk5WISBJ8SHoagjE6L69zOwl3Z+O8myjY9MEW3i2HPWQBt/LTbCgcC973Q==", + "requires": { + "async": "3.2.0" + } + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "requires": { + "assert-plus": "1.0.0" + } + }, + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.4", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "global-dirs": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-2.0.1.tgz", + "integrity": "sha512-5HqUqdhkEovj2Of/ms3IeS/EekcO54ytHRLV4PEY2rhRwrHXLQjeVEES0Lhka0xwNDtGYn58wyC4s5+MHsOO6A==", + "requires": { + "ini": "1.3.5" + } + }, + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" + }, + "har-validator": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", + "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", + "requires": { + "ajv": "6.12.2", + "har-schema": "2.0.0" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "requires": { + "ansi-regex": "2.1.1" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "requires": { + "assert-plus": "1.0.0", + "jsprim": "1.4.1", + "sshpk": "1.16.1" + } + }, + "indent-string": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", + "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=" + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "requires": { + "once": "1.4.0", + "wrappy": "1.0.2" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "ini": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" + }, + "is-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", + "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "requires": { + "ci-info": "2.0.0" + } + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" + }, + "is-installed-globally": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.3.2.tgz", + "integrity": "sha512-wZ8x1js7Ia0kecP/CHM/3ABkAmujX7WPvQk6uu3Fly/Mk44pySulQpnHG46OMjHGXApINnV4QhY3SWnECO2z5g==", + "requires": { + "global-dirs": "2.0.1", + "is-path-inside": "3.0.2" + } + }, + "is-observable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-observable/-/is-observable-1.1.0.tgz", + "integrity": "sha512-NqCa4Sa2d+u7BWc6CukaObG3Fh+CU9bvixbpcXYhy2VvYS7vVGIdAgnIS5Ks3A/cqk4rebLJ9s8zBstT2aKnIA==", + "requires": { + "symbol-observable": "1.2.0" + } + }, + "is-path-inside": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.2.tgz", + "integrity": "sha512-/2UGPSgmtqwo1ktx8NDHjuPwZWmHhO+gj0f93EkhLB5RgW9RZevWYYlIkS6zePc6U2WpOdQYIwHe9YC4DWEBVg==" + }, + "is-promise": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" + }, + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" + }, + "json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "requires": { + "graceful-fs": "4.2.4" + } + }, + "jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "lazy-ass": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/lazy-ass/-/lazy-ass-1.6.0.tgz", + "integrity": "sha1-eZllXoZGwX8In90YfRUNMyTVRRM=" + }, + "listr": { + "version": "0.14.3", + "resolved": "https://registry.npmjs.org/listr/-/listr-0.14.3.tgz", + "integrity": "sha512-RmAl7su35BFd/xoMamRjpIE4j3v+L28o8CT5YhAXQJm1fD+1l9ngXY8JAQRJ+tFK2i5njvi0iRUKV09vPwA0iA==", + "requires": { + "@samverschueren/stream-to-observable": "0.3.0", + "is-observable": "1.1.0", + "is-promise": "2.2.2", + "is-stream": "1.1.0", + "listr-silent-renderer": "1.1.1", + "listr-update-renderer": "0.5.0", + "listr-verbose-renderer": "0.5.0", + "p-map": "2.1.0", + "rxjs": "6.6.0" + } + }, + "listr-silent-renderer": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz", + "integrity": "sha1-kktaN1cVN3C/Go4/v3S4u/P5JC4=" + }, + "listr-update-renderer": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/listr-update-renderer/-/listr-update-renderer-0.5.0.tgz", + "integrity": "sha512-tKRsZpKz8GSGqoI/+caPmfrypiaq+OQCbd+CovEC24uk1h952lVj5sC7SqyFUm+OaJ5HN/a1YLt5cit2FMNsFA==", + "requires": { + "chalk": "1.1.3", + "cli-truncate": "0.2.1", + "elegant-spinner": "1.0.1", + "figures": "1.7.0", + "indent-string": "3.2.0", + "log-symbols": "1.0.2", + "log-update": "2.3.0", + "strip-ansi": "3.0.1" + }, + "dependencies": { + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "requires": { + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" + } + }, + "log-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", + "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=", + "requires": { + "chalk": "1.1.3" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" + } + } + }, + "listr-verbose-renderer": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/listr-verbose-renderer/-/listr-verbose-renderer-0.5.0.tgz", + "integrity": "sha512-04PDPqSlsqIOaaaGZ+41vq5FejI9auqTInicFRndCBgE3bXG8D6W1I+mWhk+1nqbHmyhla/6BUrd5OSiHwKRXw==", + "requires": { + "chalk": "2.4.2", + "cli-cursor": "2.1.0", + "date-fns": "1.30.1", + "figures": "2.0.0" + }, + "dependencies": { + "cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", + "requires": { + "restore-cursor": "2.0.0" + } + }, + "figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", + "requires": { + "escape-string-regexp": "1.0.5" + } + }, + "onetime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", + "requires": { + "mimic-fn": "1.2.0" + } + }, + "restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", + "requires": { + "onetime": "2.0.1", + "signal-exit": "3.0.3" + } + } + } + }, + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + }, + "lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=" + }, + "log-symbols": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-3.0.0.tgz", + "integrity": "sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==", + "requires": { + "chalk": "2.4.2" + } + }, + "log-update": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/log-update/-/log-update-2.3.0.tgz", + "integrity": "sha1-iDKP19HOeTiykoN0bwsbwSayRwg=", + "requires": { + "ansi-escapes": "3.2.0", + "cli-cursor": "2.1.0", + "wrap-ansi": "3.0.1" + }, + "dependencies": { + "cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", + "requires": { + "restore-cursor": "2.0.0" + } + }, + "onetime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", + "requires": { + "mimic-fn": "1.2.0" + } + }, + "restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", + "requires": { + "onetime": "2.0.1", + "signal-exit": "3.0.3" + } + } + } + }, + "mime-db": { + "version": "1.44.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", + "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==" + }, + "mime-types": { + "version": "2.1.27", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", + "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", + "requires": { + "mime-db": "1.44.0" + } + }, + "mimic-fn": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==" + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "requires": { + "brace-expansion": "1.1.11" + } + }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + }, + "mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "requires": { + "minimist": "1.2.5" + } + }, + "moment": { + "version": "2.26.0", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.26.0.tgz", + "integrity": "sha512-oIixUO+OamkUkwjhAVE18rAMfRJNsNe/Stid/gwHSOfHrOtw9EhAY2AHvdKZ/k/MggcYELFCJz/Sn2pL8b8JMw==" + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "nice-try": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" + }, + "npm-run-path": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", + "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", + "requires": { + "path-key": "2.0.1" + } + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "requires": { + "wrappy": "1.0.2" + } + }, + "onetime": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", + "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=" + }, + "ospath": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/ospath/-/ospath-1.2.2.tgz", + "integrity": "sha1-EnZjl3Sj+O8lcvf+QoDg6kVQwHs=" + }, + "p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=" + }, + "p-map": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", + "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==" + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" + }, + "pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" + }, + "pretty-bytes": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.3.0.tgz", + "integrity": "sha512-hjGrh+P926p4R4WbaB6OckyRtO0F0/lQBiT+0gnxjV+5kjPBrfVBFCsCLbMqVQeydvIoouYTCmmEURiH3R1Bdg==" + }, + "process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "requires": { + "end-of-stream": "1.4.4", + "once": "1.4.0" + } + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" + }, + "ramda": { + "version": "0.26.1", + "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.26.1.tgz", + "integrity": "sha512-hLWjpy7EnsDBb0p+Z3B7rPi3GDeRG5ZtiI33kJhTt+ORCd38AbAIjB/9zRIUoeTbE/AVX5ZkU7m6bznsvrf8eQ==" + }, + "readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.4", + "isarray": "1.0.0", + "process-nextick-args": "2.0.1", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + }, + "dependencies": { + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + } + } + }, + "request-progress": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/request-progress/-/request-progress-3.0.0.tgz", + "integrity": "sha1-TKdUCBx/7GP1BeT6qCWqBs1mnb4=", + "requires": { + "throttleit": "1.0.0" + } + }, + "restore-cursor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", + "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", + "requires": { + "exit-hook": "1.1.1", + "onetime": "1.1.0" + } + }, + "rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "requires": { + "glob": "7.1.6" + } + }, + "rxjs": { + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.0.tgz", + "integrity": "sha512-3HMA8z/Oz61DUHe+SdOiQyzIf4tOx5oQHmMir7IZEu6TMqCLHT4LRcmNaUS0NwOz8VLvmmBduMsoaUvMaIiqzg==", + "requires": { + "tslib": "1.13.0" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "requires": { + "shebang-regex": "1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=" + }, + "signal-exit": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", + "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" + }, + "slice-ansi": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", + "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=" + }, + "sshpk": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "requires": { + "asn1": "0.2.4", + "assert-plus": "1.0.0", + "bcrypt-pbkdf": "1.0.2", + "dashdash": "1.14.1", + "ecc-jsbn": "0.1.2", + "getpass": "0.1.7", + "jsbn": "0.1.1", + "safer-buffer": "2.1.2", + "tweetnacl": "0.14.5" + } + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "requires": { + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "requires": { + "ansi-regex": "3.0.0" + } + } + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "requires": { + "safe-buffer": "5.1.2" + }, + "dependencies": { + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + } + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "requires": { + "ansi-regex": "2.1.1" + } + }, + "strip-eof": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=" + }, + "supports-color": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", + "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "requires": { + "has-flag": "4.0.0" + }, + "dependencies": { + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + } + } + }, + "symbol-observable": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz", + "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==" + }, + "throttleit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/throttleit/-/throttleit-1.0.0.tgz", + "integrity": "sha1-nnhYNtr0Z0MUWlmEtiaNgoUorGw=" + }, + "tmp": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.1.0.tgz", + "integrity": "sha512-J7Z2K08jbGcdA1kkQpJSqLF6T0tdQqpR2pnSUXsIchbPdTI9v3e85cLW0d6WDhwuAleOV71j2xWs8qMPfK7nKw==", + "requires": { + "rimraf": "2.7.1" + } + }, + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "requires": { + "psl": "1.8.0", + "punycode": "2.1.1" + } + }, + "tslib": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz", + "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==" + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "requires": { + "safe-buffer": "5.2.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" + }, + "untildify": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz", + "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==" + }, + "uri-js": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "requires": { + "punycode": "2.1.1" + } + }, + "url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + }, + "dependencies": { + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" + } + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "requires": { + "assert-plus": "1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "1.3.0" + } + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "requires": { + "isexe": "2.0.0" + } + }, + "wrap-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-3.0.1.tgz", + "integrity": "sha1-KIoE2H7aXChuBg3+jxNc6NAH+Lo=", + "requires": { + "string-width": "2.1.1", + "strip-ansi": "4.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "requires": { + "ansi-regex": "3.0.0" + } + } + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", + "requires": { + "buffer-crc32": "0.2.13", + "fd-slicer": "1.1.0" + } + } + } +} diff --git a/tests/cypress/package.json b/tests/cypress/package.json new file mode 100644 index 000000000..d6b1f4ccc --- /dev/null +++ b/tests/cypress/package.json @@ -0,0 +1,22 @@ +{ + "name": "octoprint-cypress", + "version": "1.0.0", + "description": "Cypress setup for E2E testing OctoPrint", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/OctoPrint/OctoPrint.git" + }, + "author": "Gina Häußge", + "license": "AGPL-3.0", + "bugs": { + "url": "https://github.com/OctoPrint/OctoPrint/issues" + }, + "homepage": "https://octoprint.org", + "dependencies": { + "cypress": "^4.9.0" + } +} diff --git a/tests/cypress/plugins/index.js b/tests/cypress/plugins/index.js new file mode 100644 index 000000000..aa9918d21 --- /dev/null +++ b/tests/cypress/plugins/index.js @@ -0,0 +1,21 @@ +/// +// *********************************************************** +// This example plugins/index.js can be used to load plugins +// +// You can change the location of this file or turn off loading +// the plugins file with the 'pluginsFile' configuration option. +// +// You can read more here: +// https://on.cypress.io/plugins-guide +// *********************************************************** + +// This function is called when a project is opened or re-opened (e.g. due to +// the project's config changing) + +/** + * @type {Cypress.PluginConfig} + */ +module.exports = (on, config) => { + // `on` is used to hook into various events Cypress emits + // `config` is the resolved Cypress config +} diff --git a/tests/cypress/support/commands.js b/tests/cypress/support/commands.js new file mode 100644 index 000000000..ca4d256f3 --- /dev/null +++ b/tests/cypress/support/commands.js @@ -0,0 +1,25 @@ +// *********************************************** +// This example commands.js shows you how to +// create various custom commands and overwrite +// existing commands. +// +// For more comprehensive examples of custom +// commands please read more here: +// https://on.cypress.io/custom-commands +// *********************************************** +// +// +// -- This is a parent command -- +// Cypress.Commands.add("login", (email, password) => { ... }) +// +// +// -- This is a child command -- +// Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... }) +// +// +// -- This is a dual command -- +// Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... }) +// +// +// -- This will overwrite an existing command -- +// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... }) diff --git a/tests/cypress/support/index.js b/tests/cypress/support/index.js new file mode 100644 index 000000000..d68db96df --- /dev/null +++ b/tests/cypress/support/index.js @@ -0,0 +1,20 @@ +// *********************************************************** +// This example support/index.js is processed and +// loaded automatically before your test files. +// +// This is a great place to put global configuration and +// behavior that modifies Cypress. +// +// You can change the location of this file or turn off +// automatically serving support files with the +// 'supportFile' configuration option. +// +// You can read more here: +// https://on.cypress.io/configuration +// *********************************************************** + +// Import commands.js using ES2015 syntax: +import './commands' + +// Alternatively you can use CommonJS syntax: +// require('./commands') From 940909c0f8668ff7ac57b55015ecdf5026cb9743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Jul 2020 16:46:27 +0200 Subject: [PATCH 68/85] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=EF=B8=8F=20Test=20i?= =?UTF-8?q?f=20chrome=20works=20better?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/e2e.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 9c3cadd45..7e8116012 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -26,6 +26,7 @@ jobs: uses: cypress-io/github-action@v2 with: working-directory: tests/cypress + browser: chrome start: 'octoprint -b ${{ github.workspace }}/e2econfig serve --host 127.0.0.1 --port 5000' wait-on: 'http://127.0.0.1:5000/online.txt' From fd1ddab50f29a3a39be7ea8b45e4059393abd229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Jul 2020 16:56:28 +0200 Subject: [PATCH 69/85] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=EF=B8=8F=20Let's=20?= =?UTF-8?q?see=20if=20waiting=20helps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/cypress/integration/login.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/cypress/integration/login.js b/tests/cypress/integration/login.js index 7b74ec04c..b79bd9d0e 100644 --- a/tests/cypress/integration/login.js +++ b/tests/cypress/integration/login.js @@ -13,6 +13,8 @@ describe('Login tests', () => { cy.get('#login-button') .click(); + cy.wait(5000); // wait 5s for the page load before continuing + cy.get('#navbar') .should('be.visible'); cy.get('#navbar_login a.dropdown-toggle span') From 75c1b02760195c7c6054945a4120260bd080cdba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Jul 2020 17:38:31 +0200 Subject: [PATCH 70/85] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=EF=B8=8F=20e2e:=20A?= =?UTF-8?q?dd=20connection=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/fixtures/with_acl/config.yaml | 2 ++ tests/cypress/integration/connect.js | 46 +++++++++++++++++++++++++++ tests/cypress/integration/login.js | 8 ++--- 3 files changed, 51 insertions(+), 5 deletions(-) create mode 100644 tests/cypress/integration/connect.js diff --git a/.github/fixtures/with_acl/config.yaml b/.github/fixtures/with_acl/config.yaml index 1b8a97f98..76cd71aad 100644 --- a/.github/fixtures/with_acl/config.yaml +++ b/.github/fixtures/with_acl/config.yaml @@ -1,6 +1,8 @@ accessControl: salt: zXmvzI3uWuTLkSPOEfA2ZLwn3f3sGUNS plugins: + virtual_printer: + enabled: true tracking: enabled: false server: diff --git a/tests/cypress/integration/connect.js b/tests/cypress/integration/connect.js new file mode 100644 index 000000000..264c1f988 --- /dev/null +++ b/tests/cypress/integration/connect.js @@ -0,0 +1,46 @@ +describe('Connection test against virtual printer', () => { + const username = 'admin'; + const password = 'test'; + + beforeEach(() => { + cy.request({ + method: 'POST', + url: '/api/login', + body: { + "user": username, + "pass": password + } + }); + + cy.visit('/'); + + cy.get('#navbar', {timeout: 10000}) + .should('be.visible'); + }); + + it('connects', () => { + cy.get('#state .accordion-inner strong:first') + .should('contain', 'Offline'); + + cy.get('#connection_ports') + .select('VIRTUAL'); + cy.get('#printer_connect') + .click(); + + cy.get('#state .accordion-inner strong:first') + .should('contain', 'Operational'); + }); + + it('disconnects', () => { + cy.get('#state .accordion-inner strong:first') + .should('contain', 'Operational'); + + cy.get('#connection_wrapper a.accordion-toggle') + .click(); + cy.get('#printer_connect') + .click(); + + cy.get('#state .accordion-inner strong:first') + .should('contain', 'Offline'); + }); +}); diff --git a/tests/cypress/integration/login.js b/tests/cypress/integration/login.js index b79bd9d0e..3b4abf17a 100644 --- a/tests/cypress/integration/login.js +++ b/tests/cypress/integration/login.js @@ -13,9 +13,7 @@ describe('Login tests', () => { cy.get('#login-button') .click(); - cy.wait(5000); // wait 5s for the page load before continuing - - cy.get('#navbar') + cy.get('#navbar', {timeout: 10000}) .should('be.visible'); cy.get('#navbar_login a.dropdown-toggle span') .should('contain', username); @@ -39,7 +37,7 @@ describe('Login tests', () => { cy.get('#login-button') .click(); - cy.get('#navbar') + cy.get('#navbar', {timeout: 10000}) .should('be.visible'); cy.get('#navbar_login a.dropdown-toggle span') .should('contain', username); @@ -64,7 +62,7 @@ describe('Login tests', () => { cy.get('#login-button') .click(); - cy.get('#navbar') + cy.get('#navbar', {timeout: 10000}) .should('be.visible'); cy.get('#navbar_login a.dropdown-toggle') From 7c4e0b2344771e5831087cc92e570c134e673b11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Jul 2020 17:52:54 +0200 Subject: [PATCH 71/85] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=EF=B8=8F=20Combine?= =?UTF-8?q?=20connect=20&=20disconnect?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/cypress/integration/connect.js | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/tests/cypress/integration/connect.js b/tests/cypress/integration/connect.js index 264c1f988..3b0d0ce07 100644 --- a/tests/cypress/integration/connect.js +++ b/tests/cypress/integration/connect.js @@ -3,6 +3,7 @@ describe('Connection test against virtual printer', () => { const password = 'test'; beforeEach(() => { + // login cy.request({ method: 'POST', url: '/api/login', @@ -12,32 +13,41 @@ describe('Connection test against virtual printer', () => { } }); + // ensure we are disconnected + cy.request({ + method: 'POST', + url: '/api/connection', + body: { + "command": "disconnect" + } + }); + cy.visit('/'); cy.get('#navbar', {timeout: 10000}) .should('be.visible'); }); - it('connects', () => { + it('connect & disconnect', () => { cy.get('#state .accordion-inner strong:first') .should('contain', 'Offline'); cy.get('#connection_ports') .select('VIRTUAL'); cy.get('#printer_connect') + .should('contain', 'Connect') .click(); - cy.get('#state .accordion-inner strong:first') - .should('contain', 'Operational'); - }); - - it('disconnects', () => { + cy.get('#connection .accordion-inner') + .should('not.be.visible'); cy.get('#state .accordion-inner strong:first') .should('contain', 'Operational'); cy.get('#connection_wrapper a.accordion-toggle') .click(); cy.get('#printer_connect') + .should('be.visible') + .should('contain', 'Disconnect') .click(); cy.get('#state .accordion-inner strong:first') From 9f68900dc5403c736facaa36b5ee3e29de69aaf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Jul 2020 18:03:43 +0200 Subject: [PATCH 72/85] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=EF=B8=8F=20e2e:=20S?= =?UTF-8?q?witch=20to=20auto=20detect=20&=20wait=20for=20profiles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/cypress/integration/connect.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/cypress/integration/connect.js b/tests/cypress/integration/connect.js index 3b0d0ce07..5e326615b 100644 --- a/tests/cypress/integration/connect.js +++ b/tests/cypress/integration/connect.js @@ -32,8 +32,12 @@ describe('Connection test against virtual printer', () => { cy.get('#state .accordion-inner strong:first') .should('contain', 'Offline'); + cy.get('#connection_printers') + .should('have.length.greaterThan', 0); cy.get('#connection_ports') - .select('VIRTUAL'); + .select('AUTO'); + cy.get('#connection_baudrates') + .select('AUTO'); cy.get('#printer_connect') .should('contain', 'Connect') .click(); From 7fe5af0466b82118fa5a96ac1e5d43c2b560afeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Jul 2020 18:07:07 +0200 Subject: [PATCH 73/85] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=EF=B8=8F=20e2e:=20B?= =?UTF-8?q?ack=20to=20VIRTUAL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Turns out github action runners have /dev/ttyS* 😅 --- tests/cypress/integration/connect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cypress/integration/connect.js b/tests/cypress/integration/connect.js index 5e326615b..24d2594a0 100644 --- a/tests/cypress/integration/connect.js +++ b/tests/cypress/integration/connect.js @@ -35,7 +35,7 @@ describe('Connection test against virtual printer', () => { cy.get('#connection_printers') .should('have.length.greaterThan', 0); cy.get('#connection_ports') - .select('AUTO'); + .select('VIRTUAL'); cy.get('#connection_baudrates') .select('AUTO'); cy.get('#printer_connect') From ee74453839e9c555dae7bf798a3a2a9d671de0de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Jul 2020 18:18:46 +0200 Subject: [PATCH 74/85] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=EF=B8=8F=20e2e:=20i?= =?UTF-8?q?ntegrate=20into=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/{build.yml => cicd.yml} | 61 ++++++++++++++++++----- .github/workflows/e2e.yml | 44 ---------------- 2 files changed, 49 insertions(+), 56 deletions(-) rename .github/workflows/{build.yml => cicd.yml} (62%) delete mode 100644 .github/workflows/e2e.yml diff --git a/.github/workflows/build.yml b/.github/workflows/cicd.yml similarity index 62% rename from .github/workflows/build.yml rename to .github/workflows/cicd.yml index 1bcccd458..df2af4dd4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/cicd.yml @@ -1,4 +1,4 @@ -name: Build distribution, test install & push releases to pypi +name: CI/CD on: push: release: @@ -28,29 +28,40 @@ jobs: name: dist path: dist - test-install-py2: - name: 🧪 Test install on Python 2 - runs-on: ubuntu-latest + test-install: + name: 🧪 Test install needs: build + strategy: + matrix: + python: ["2.7", "3.7", "3.8"] + installable: ["wheel", "sdist"] + runs-on: ubuntu-latest steps: - name: ⬇ Download build result uses: actions/download-artifact@v1 with: name: dist path: dist - - name: 🏗 Set up Python 2.7 + - name: 🏗 Set up Python ${{ matrix.python }} uses: actions/setup-python@v1 with: - python-version: 2.7 + python-version: ${{ matrix.python }} - name: 🚀 Install wheel + if: matrix.installable == 'wheel' run: | pip install dist/OctoPrint-*-py2.py3-none-any.whl + - name: 🚀 Install source tarball + if: matrix.installable == 'sdist' + run: | + pip install dist/OctoPrint-*.tar.gz - test-install-py3: - name: 🧪 Test install on Python 3 - runs-on: ubuntu-latest - needs: build + test-e2e: + name: 🧪 Test E2E + runs-on: ubuntu-16.04 steps: + - name: ⬇ Checkout code + uses: actions/checkout@v2 + - name: ⬇ Download build result uses: actions/download-artifact@v1 with: @@ -64,12 +75,38 @@ jobs: run: | pip install dist/OctoPrint-*-py2.py3-none-any.whl + - name: 🏗 Create base config for test server + run: | + mkdir e2econfig + cp -r .github/fixtures/with_acl/* e2econfig + + - name: 🚀 Run Cypress + uses: cypress-io/github-action@v2 + with: + working-directory: tests/cypress + browser: chrome + start: 'octoprint -b ${{ github.workspace }}/e2econfig serve --host 127.0.0.1 --port 5000' + wait-on: 'http://127.0.0.1:5000/online.txt' + + - name: ⬆ Upload screenshots + uses: actions/upload-artifact@v1 + if: failure() + with: + name: cypress-screenshots + path: tests/cypress/screenshots + - name: ⬆ Upload videos + uses: actions/upload-artifact@v1 + if: always() + with: + name: cypress-videos + path: tests/cypress/videos + publish-on-testpypi: name: 📦 Publish on TestPyPI if: github.event_name == 'release' needs: - - test-install-py2 - - test-install-py3 + - test-install + - test-e2e runs-on: ubuntu-latest steps: - name: ⬇ Download build result diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml deleted file mode 100644 index 7e8116012..000000000 --- a/.github/workflows/e2e.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: E2E tests -on: [push] - -jobs: - cypress-run: - runs-on: ubuntu-16.04 - steps: - - name: ⬇ Checkout code - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: 🐍 Set up Python 3.7 - uses: actions/setup-python@v2 - with: - python-version: 3.7 - - name: 👷 Build and install checkout - run: | - pip install . - - - name: 🏗 Create base config for test server - run: | - mkdir e2econfig - cp -r .github/fixtures/with_acl/* e2econfig - - - name: 🚀 Run Cypress - uses: cypress-io/github-action@v2 - with: - working-directory: tests/cypress - browser: chrome - start: 'octoprint -b ${{ github.workspace }}/e2econfig serve --host 127.0.0.1 --port 5000' - wait-on: 'http://127.0.0.1:5000/online.txt' - - - name: ⬆ Upload screenshots - uses: actions/upload-artifact@v1 - if: failure() - with: - name: cypress-screenshots - path: tests/cypress/screenshots - - name: ⬆ Upload videos - uses: actions/upload-artifact@v1 - if: always() - with: - name: cypress-videos - path: tests/cypress/videos From 2da579967793ac28b7a42924081558e5d1d14f51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Jul 2020 18:21:52 +0200 Subject: [PATCH 75/85] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=EF=B8=8F=20e2e=20ne?= =?UTF-8?q?eds=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cicd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index df2af4dd4..83f8e1900 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -57,6 +57,7 @@ jobs: test-e2e: name: 🧪 Test E2E + needs: build runs-on: ubuntu-16.04 steps: - name: ⬇ Checkout code From 78b503239eedb464a58758de2ca99f13565f1d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Jul 2020 18:33:55 +0200 Subject: [PATCH 76/85] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=EF=B8=8F=20CI/CD:?= =?UTF-8?q?=20Add=20pytest=20&=20flake8=20to=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cicd.yml | 40 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 83f8e1900..eefb2c512 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -28,8 +28,43 @@ jobs: name: dist path: dist + test-unit: + name: 🧪 Unit tests + strategy: + matrix: + python: ["2.7", "3.7", "3.8"] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: 🏗 Set up Python ${{ matrix.python }} + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python }} + - name: 🏗 Set up test dependencies + run: | + pip install -e .[develop] + - name: 🚀 Run test suite + run: | + pytest + + test-flake8: + name: 🧪 Flake8 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: 🏗 Set up Python 3.7 + uses: actions/setup-python@v1 + with: + python-version: 3.7 + - name: 🏗 Set up test dependencies + run: | + pip install -e .[develop] + - name: 🚀 Run test suite + run: | + flake8 src/ tests setup.py + test-install: - name: 🧪 Test install + name: 🧪 Installation tests needs: build strategy: matrix: @@ -56,7 +91,7 @@ jobs: pip install dist/OctoPrint-*.tar.gz test-e2e: - name: 🧪 Test E2E + name: 🧪 E2E tests needs: build runs-on: ubuntu-16.04 steps: @@ -106,6 +141,7 @@ jobs: name: 📦 Publish on TestPyPI if: github.event_name == 'release' needs: + - test-unit - test-install - test-e2e runs-on: ubuntu-latest From 7339cb5d7b4fd04e36c68112cc5d6348a7b470b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Jul 2020 18:41:38 +0200 Subject: [PATCH 77/85] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=EF=B8=8F=20ci/cd=20?= =?UTF-8?q?->=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/{cicd.yml => build.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{cicd.yml => build.yml} (99%) diff --git a/.github/workflows/cicd.yml b/.github/workflows/build.yml similarity index 99% rename from .github/workflows/cicd.yml rename to .github/workflows/build.yml index eefb2c512..830ddfbd7 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: CI/CD +name: Build on: push: release: From b61b75e015120d7d8aa3a08102c10f85cae1a8a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Jul 2020 19:08:43 +0200 Subject: [PATCH 78/85] =?UTF-8?q?=F0=9F=93=9D=20New=20badges=20in=20readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f82bd38fb..2aba60f76 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ # OctoPrint -![GitHub release](https://img.shields.io/github/release/OctoPrint/OctoPrint.svg?colorB=brightgreen) -[![Travis build status](https://img.shields.io/travis/OctoPrint/OctoPrint.svg)](https://travis-ci.org/OctoPrint/OctoPrint) -[![Forum](https://img.shields.io/discourse/https/community.octoprint.org/users.svg)](https://community.octoprint.org) -[![Discord](https://img.shields.io/discord/704958479194128507?label=discord)](https://discord.octoprint.org) +![GitHub release](https://img.shields.io/github/v/release/OctoPrint/OctoPrint?logo=github&logoColor=white) +![PyPI](https://img.shields.io/pypi/v/OctoPrint?logo=python&logoColor=white) +![Build status](https://img.shields.io/github/workflow/status/OctoPrint/OctoPrint/Build) +[![Community Forum](https://img.shields.io/discourse/users?logo=discourse&logoColor=white&server=https%3A%2F%2Fcommunity.octoprint.org)](https://community.octoprint.org) +[![Discord](https://img.shields.io/discord/704958479194128507?label=discord&logo=discord&logoColor=white)](https://discord.octoprint.org) [![Twitter Follow](https://img.shields.io/twitter/follow/OctoPrint3d.svg?style=social&label=Follow)](https://twitter.com/OctoPrint3d) @@ -39,7 +40,7 @@ able to help you with any questions you might have. Contributions of all kinds are welcome, not only in the form of code but also with regards to the [official documentation](http://docs.octoprint.org/), debugging help in the [bug tracker](https://github.com/OctoPrint/OctoPrint/issues), support of other users on -[the community forum at community.octoprint.org](https://community.octoprint.org) or +[the community forum at community.octoprint.org](https://community.octoprint.org) or [the official discord at discord.octoprint.org](https://discord.octoprint.org) and also [financially](https://octoprint.org/support-octoprint/?utm_source=github&utm_medium=readme). @@ -63,8 +64,8 @@ and runtime environment are the following (as *regular user*, please keep your hands *off* of the `sudo` command here!) - this assumes you already have Python 2.7, 3.6 or 3.7, pip and virtualenv and their dependencies set up on your system: -1. Create a user-owned virtual environment therein: `virtualenv venv`. If you want to specify a specific python - to use instead of whatever version your system defaults to, you can also explicitly require that via the `--python` +1. Create a user-owned virtual environment therein: `virtualenv venv`. If you want to specify a specific python + to use instead of whatever version your system defaults to, you can also explicitly require that via the `--python` parameter, e.g. `virtualenv --python=python3 venv`. 2. Install OctoPrint *into that virtual environment*: `./venv/bin/pip install OctoPrint` From 0ff72a3510c04adc47367fe374f0d0db8016ccc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Jul 2020 19:09:02 +0200 Subject: [PATCH 79/85] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=EF=B8=8F=20Remove?= =?UTF-8?q?=20travis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b486a2df6..000000000 --- a/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ ---- - -language: python -dist: xenial - -matrix: - include: - - python: '3.7' - env: RUN_FLAKE8=true - -python: -- "3.7" -- "3.6" -- "2.7" -install: -- pip install -e .[develop] -script: -- test -n "$RUN_FLAKE8" || pytest -- test -z "$RUN_FLAKE8" || flake8 src/ tests setup.py -sudo: false -git: - depth: 250 From 0bc2bd6e400857e70b2ca0c46bb79a4ff7b0397f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Sat, 4 Jul 2020 13:05:51 +0200 Subject: [PATCH 80/85] =?UTF-8?q?=F0=9F=92=AC=20Update=20german=20translat?= =?UTF-8?q?ion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../translations/de/LC_MESSAGES/messages.mo | Bin 177244 -> 187346 bytes .../translations/de/LC_MESSAGES/messages.po | 4945 ++++++----------- translations/de/LC_MESSAGES/messages.mo | Bin 177244 -> 187346 bytes translations/de/LC_MESSAGES/messages.po | 4927 ++++++---------- translations/messages.pot | 1680 +++--- 5 files changed, 4532 insertions(+), 7020 deletions(-) diff --git a/src/octoprint/translations/de/LC_MESSAGES/messages.mo b/src/octoprint/translations/de/LC_MESSAGES/messages.mo index 4a6ac22c418a9db92cba1f6785ebf57b29146c4c..0b5d661807333ecd2a496b0ae2843a76fe20bf8f 100644 GIT binary patch delta 31992 zcmeI)cbF7a{_pXsh9L|&N)RY=oFPfhIp?SX+B4HL(=gLLbeI7|8w8ao>bSNbMnF+e zRFGE8qGAH$vSPxVGX@MR_x-6;1E{;dd++nyKkx5(c3*X>tE}=!~Wj-H2sxS zmBc%>%m2gT{~~FYbtdlYsM4wb>p#n~bin{zWLws&H~`0=ZCS;*<{Zn~g7zHCy1-{y z+vZwUSFUePC(50&Eo&mS%yCUv5e{Z^;&IPL0n3_7IqLZ|o=dr5 zt}%{nc;L%epBo>~v#f!XYs|N-vvJ}AD#!Wl1(tO)-}^CSS+`>{%r$&Iq{y<~r95RJ z&#@Dh)h%LK4{_p>sAUb}f}t_XIz;*6xMkI$Jf+yO@-R?hS-UuYa1kxX3m02f3(o(5 zqwtIiEUOBhx74!U;qwI-TGo{~_9DwVfNx=Y+{!cia@`?(fd5#Pmzx^y$4!(AFSe{< zTu^C+WsRXcekJEAUxULbcfHiIN+}oPwX`&S715x)WsPOc;Pd!8T8htO1$+}5;QOd9 z{tc^QgY}k`sK!BS4)lfY*b0YXbcWYosLIX7G7svGx>2NP+d9%Rk3kc31?#!^kZG}&no0#CMPaNCDReCf!|<#Jb`LK{ksV>W@1g8jLp!G zx^6jkz-v*-wjY)4Z+qomu_ooZ_n2gEjg@)6)r$j#atIE_QP>+-VQYLGC*dck2lTqv z4A(4FOTm*Wpq;g#B>b9@E8_VN1#{U|*hZeapcL?0BDLjmBN5mL10# z*nrF&fFV?t??koiMI4V`;>Fk}Wm(hlA?%E`?l%t_f~sf$>){&Az?(2JnS(zEnhVavk(8&RTDTFL;$7Gl527OQBPx{D9y5_?iK@_K)C14; z$}ucYIpMhym4vIYF>cZa8V-ALE z)#s~F*Ij|F@HQ-uFQ6*&GAe1mLgh;OQ|_opShYA%=q8{-IvZ^Ws0wb!q4+v3 z#l}yYmR*aPl<&q4codba=?BaMd!ZUO9V=iKsv$wFsPTWXcflI0!3Wo3OWck(;|n+g zL(iC&Jc-JUcTqFlj~K!7&zfOaf*OXuVkMmPoMpAc+1MJFVs7Ty+ zi1<4kJmp>ZF;=AfD=Nu+FPfUy@$7-kI6n)kVF~K`OHf_19@Fs_R2Saqm0w0>|688l zpc>$NiTLXVRbDcSMjg}#8K@ffL}l-IRMO<5`ffS)$IaLUkDxwJf0>Odw#1{DM1{QM z6;t7hus!8xJD2vnpJQ#q)^!CcgMU5JWEG3rJap^|R{D&)6e4&H}qS)+fN^UYBe z?2LNAKy+{%*1!T(B$r|pycW4{!rIC~6HYvYYQY<*=9H8-thbkds04*ZL#y~W`>)E z4&@N4WgAdkb|dQh`%s~O7S*t?yz^C#n2I$*T{jpjk$=`C4ji0~4RJB5Z%R=Wy8+cD z`>-B9;eGx(I+Q=aQCR*BQ_=CLu8iU3xEM7LRC?3oRCTl|pMeR5ydekbvp%Q?jKsP) z2Nm*#sJ>o_3hi2KgZH4m|2nEg$FU(+e9PoabI(4Q$@wX$99o8&2QGh${#W+j!-)pC zA9cgGP$B#s&p_vGQ?cH-iSk4ogr8vswtvUmcosIN9Ke6zWvGfZIcmD76GkbILOt)n zqX~YYa_|}_)be)knoti!MPwv?iqlXb?Ejv*;ZST$d5TvqM74Y=*2im55xWz|;~ww4 z{l1B81B`P%Bf&u<4z{5B@DWt9RrtWvFcX_n9))UYE^1g_jmn8_sCnW}EQfnhE#8O4 z_$r~*dpXbz9!AXrPkZGzusr1tP&x1^DgwWGW&0y@zAmalZBaMu zjk?bu)Nq@I>cY9GhQ=`sufSd!|JQKPg%gKReR2X7!Ui9k8+AsF*I}rdPeR>r7LLL& z&czg}3+jDha-%b<9LCnT8pq)-?2W%+O`dO^MF;BvBQOo8Un4mw!+a^5eu;r#!=6^2&?gYYYhkb!nLRyY(rIKk9U3_szL`) z^THw2bw|ANr{3qsP^0NrY=%`oH!bdjlPE93VfYNHB2~X2{TJp)ED9S@?q@^wtw{G>y5@nv6|VS3Zo#D5AWp5Vk* zE~xtrzuzf8@U8iIJnK8Uf$|-AE&9Hvl3aHkzDW80WBk6uRX=bI=Kg5DSL-L!_c^$X z^B3VnJb^=T;?HJ&xbkP>uNJjEZnjLB*oksBR>doDAYP9O>09XF@2FAH*2!qasv-io|NveXqvm__*f>2@X1NBJEc*KD%HQ$|JBcPC<3exp)@l;Q6=_$KtQp z07v|0eq7E&<;E85gZE+zzeKfs>+k$bBZ8k`Iwl(bVOdx4L7Nk7Jn;c+j5}E(RDowu zk$44lg6I9=RjjD)M&UU*j4RzyMsEV}3^ROGfidW${%q?#saxYfq z`PTCsXrlNh>c+q71FV{6yQ8B%_N1JTy6#47hfm@*{0diNX$9MTY1O2n?QYk1U_;J- zf|@byN~R$VQ4Q>X2_1CdKsD~^IRw9=Jl-q!t!!F40@cT3u^i6x&S#H?G z=)(jm>n}$2^+TSoqVDrK>U%$99{ye>VY@q#oT{b|FGF=fDXK5GVKzR9nnIgZv)y47 z#w#h`i|Uf$)opim3!<`rB`Q)^qsIGoY=+Nad;A|+7O81+ zVKM4PD^Pv94Hc0`z49vQ?acazx>&!oH$HQxW_mA^%;n$_x=&pUaJK_Z;6 zaye+i1xr0QdESqDz+u#bzeQE(cT|YW)i)DR9aIjS>Dksh-wl-m{ZPYtDk``9sQct$ zU5)<`2Ws&ORMxIVJzz5`7j~j5@Cc5@=THx)n|9G}tnZ_&uMj^h`o(ePnoldZE@>bRGcgBmVNo7nEoWetv`ydM?v^rmJ8 zY>OQ!Ps9vdf?aSs?#3gimalK-4NpvH+-~DQA=-ypB%VdB0aYFI;C84R_C$?}98?RJ zpdz;kHLPyI9(Wrn^lzh*_6O8;^_!b6Yl?ba+vbda^+``oD5U*Sp&x}xqFLx*5h{DH zMBS))3uAlK^<7a78G@?dOz(UFs!Nxma%?@SVmnZa*Ap!g=7Q%rp%%Y|dcbk-0;{FD zab-+$zA5U4dr_f0fGzM4>U-azD)b8~c`LUvUD*=#c^6by_QnfwWWu}PNmP=(jJoh` zR7*ZWJ@7YdgjHLcq-=}o`#z|yn2D-TF{&XKVq4sZ9q@6~n(`%T3jPTdi9~DumZk^x zN7ZaNy2Az45KgycIM9PPpjxs8d*Uwl0?YasFQWV-YO0QPFgLsbRl!?v67EGkutG=EHBGP& z<-Vv<5kn>Q9jHj{$9fw7&vBrZy^E^pXQ&W>VZ8_bN>izgR@b|mO%CO zM$~HeBOpp<>55vY@!bh^zANehLr^W6 zh{}yTR2M{0$+ip~T!ZSe9jN5ohpO1&Ovb-Xe8vggAg#0M)0(L4Z;eWxeyBd1hN@r$ zRiR6_5(5N4wqxWzmFD5|Ruqpm-i;6R}~jtX5`chizO zsAM|})yMNteRl~eQrl2{em81fc+M+-gqrD2c;zN%nfvy_Zk!*1ny?n3n={vOpcdYT z8Tb@-!egk4IXz6MGf-1?H#`e_qasv@8ip}cNLQn}>K~~4?m^w>NmPVi#t6P^&L^yC zJ2%b6vQd40 zA?p5@qAGMfrty61UJmqy`%xDj@Gf`>)z=@P9`r5hLFN0I>ucg5%FR#}I?p>_h>F-! z)G%C+(=dsh@eAyYjr%kH`*JXy1J!H;s!wl4?E~&a4Zm-_&npeEt$fPOa4N1sUH>Mk zV(+8Y`>#UKM-L9e6w{2Q-aZK&yzR;cp>hbGL4Ih;@q6yq{ng^y$9VP;mJQWq>7$Kf6C5ZMYp@7+ z;&^N_#&-XtG9MREz8`yGtFdO7&hcD>T88h(uJ{)A!Rq5o7mmh$l-J?}Jb=o%dgD#S z693>p4{STZ)G&tYC_jj^aP&mm{p;6FsPa!Z4ku1BKRP#|x~A1++ggs(aT^}S?{Mi9 zQ<2bA+j^byJ*d@m%``WH39IsS+x;gI&2b1HY(~v!@1P#^3u@{eF~fG>_hsP>%6Fh5 zX3aERvJl5o+=jZ(w>Sm6&9dD$pes=odK)LfE)LG|%> zs3fg?jv021P|4XIHNFR;7OUA<3q#)L%g~((QNwo+*1%^_6@49>s4rTcYlg)TR0YPO zLOmHZDzk6~gI2PZht z4M)v0!(t{5qa4F|ct2|Vo^hV-zUOO&?)r|3z#7zIwG|bqL#UP?MGeD0P#c?i=bMSD z3914e&u9F%@yq5Kk8qt9<9n02Tdmtqy%ikcbk_Rc?uS|wjVHRKqo!oDoq zaGR>EuyvN_R;6UC^SUx%vsKGXwWM$L3@qbl+tYRdf)9W0k^CZ<-X z3Y?3ozU*mTO-}uWs!+lTnc-6%+i_wj zs>TaY$r!^?%#CUqb8o~aV-vunEkl(`a zP)YX+cEuB@igmr%Bu_prpu8NH<5#!@!z)aeeU9p~FHv1~4AnLEN>i?lN^)lT|vGA@os>c;z^19$1X}{wmaSN>LTN9(BL1 z2@W)@wtMdLK6t_NB~vs4l2=iJ3X)p+bH?sv_^B8t@V7fnT92{)1Qk z6%~PmeW`67AkEWpG$&rUjNwGN@hY=kZ&*zqQ_f$*gn}=uwXH0kuzbB)mOtEJThH@7 z`wD)na{eH`MfsPj%rbqr)OPsRBZ#6CKzTLLAaN(!7oA-I^?qH_lb9)EF z2%GIR514(Y?fyIA6?fUzX0D&Q%eFqlZ?GdCxtk>B`m}p&>jTQ&?lrG?>+d$dfYzb% z&pN@u04`X0pKZNQ`3W3Ld0Wc1sJ!(p?x3YtJz(=!4wCXA6S2%kOp+}{_2pXBOnNnH z5xWbk;z86XcmuTo`4lz&k7Gi^qRFEs2{TbM*I?9z)4g&IDhU^P=PyUhP@XNN;1 zdZ0s1o_T^lFp%b-JxOwLe%$lq3~qVBB=z?P>0-Xu?-0q3+wo4uU(t&RvmI{ws%#&)rdK@u}%d=RQ&%m2CD?_qQN1kb_BAK3g2kaxYPiq-ni^l?2@k~K%= zL_gF_IK?aHc;zLY>roTjO*jYd^~yCqa+5M)HRnJxT4&F3s0~6MDjAodB5^h9cR>o9 z;VYisqeHp&$L6~3sPD~0CHH((q%J^rl;AMRSL0xf|JOOty4>&++segB*ai1u96#~O zb3ZjR*yX5Y^%K;h)aWy_!I**?w$GzxxcZ-)#VdsB^P6xJeuL9-%@-s$&$o_pa4uH= z(yZt6Q5CutmFvZ*7>pfJ4J$y6`&aQ% zJdO!v;r-v*)(NciomqA(eQ$2i!*e<|GvU<5>Xcic zy0j|}$FVpMHymU9=W*~gC$#07`GcwH9=w`z;~!0*-HqzY2e3Xqhi&maY=f15GM{(B zp_GSU2V9AY%q~<8e1QG%7|zDdKQsPy<5fSKP;c~n6dlfggc?p2j++UoF{*{bQ7xK; zn)&ik!z_jxju)UNtQDx_z8O`4hcO=yqPF!t6Tg^H?8dd6sQs&L^~D=-6dplkZS&tu zpLM|Uls`x9jJ`pQj^@9c2M$L)C<`@jL{Qf+MMYvcYAv`A)v&~V@5Jk<7JZBwW+zbN zy3xN)A7-F#*dNcpk*N7%9_j(h@GQIp`{O=TB!0#*cmnnPF@KmYoQ5Q6!kW*4zPK9I z@<(tS{(_3gh!du3UdBO`e@0#3izP@&SAfd)8&MT|1l1*n(ZTmoT~p5XxyhK0>hgxz zPUF7=2RCtI8cxR_P<=MW=d%>r04frzP+pQ*V;$hHs9{z;&D1m#HP;V7CEZw5#b%&dun-60#op(SV@Jv_ zpdxS_HC)SAFcnM349a~`4a&zvdk!w(pbu_C%~VHGq0Z!gxTQV}p}ts*Q*bL@g+Jlh zxVn;Q(FdqC;W%noR3b`5Icx!pT|KkEDYQ58Gref~pw!qlu>6?3DOcqSJNM@7bu z>a(?;PoT2?7c9lbRekP1MB0UVK%$z@UF}w5H_F$cy7myN;_svS{&!SFY9*?hmUKle zlYLQrJ04Ymxu~qZ413{?s22Xq^K(>^{@c^3VHz?F6_FfNq{65QEJEePRo?l;wH#=| zxEa+q_n<;|02kq5)D0%pG}p~WRWRQxFGfXVHEI~{z;^hY_xUl@gUi)26>EZ;Uj`yw zoUqR3K%q*YLUk|d0Z*f{{a>gX9z#Xo%-TM8CYz4Rl~t$;rf@YrhU$v3bN=;M$@VU&B=3)!x^vL|_y5;$pqkyF6ZkM{Dt-!8(|1r2_!38BJ^p8pop2s%;#rG_ z@CwxT&pX3JBoA%MMc4`>s2oe8lKgf|s4t%8Kz;rmDrvq&J@7YF61Hk!X0(Z@u8E-f zbOkCouSebRKJ0_9pzc?-p@~>y)aSiW&zp{#A;S$B{~b6e^*(q6b>kzr9gpF;xVe$3 z&~a1?nm0C~?2h+RJ{R@9>SvlRX@^%+9*JuCo0x-E6O)7iRE}KQgz>LFx`GqsiPcT0 z#bO)3EY*UYsEO!7RLkE(<-qr-F00xttIc5eOi(M#h zPH>>)IfzQSuh797&CTM`1=Xjcuo6x}ZO3P$DmVw1;sRWNpQ4g=dJB_ud8jUpdR~P3 zd^PHRiOn2nLfD4tqaCORK7-2Umpng4J@9w$^C~S($m^gYmVs*dS*V6gKqY4w$6yS{ z;UlQ7N^j*xBw@AUKsD-*>WWFItUnJGnL-TVdJN+4s6NeY?Q{2xYf&@cXQ=a4+xXml zL{}V7xd1h8Kmb@y-WOH;$u1oj@hwrPvm4 zK}|T%p+fx!j>XaK&3#Hy-`nh!x1gT06BE5T*yDZh751b26Y2}yI+!f(gGH3b;Uatp z7h{i(KFf!@P`Pt2zR4(h5mmt*8D^XxK<%u)K&A$3aHh}wN2zCbVf+X9pjKC(`y#Of zU#0ve&g4eBy7~Brr)==-^a|!AyoF>gc{#ZpvLWcs6PA!wMJCvYjUI;YCWHf`aFQ0 zFoH_T8&UUr0yFVL)TpY{&y1$_2@ce^y-^__irsJw`f(|a$9GV}relAf`>J&WR-wEW z`(qN{z}Ijh?i%28|3~Y8V0R*!JILq0)Y>$dcJd)EZ~T ze_d3AnxGog3RR(An5acE4Cg>CnaTg(1et}(-ViDxSE3@Y1r^%u*c_ik{lfVeGw|Q& z$Bq-sHhVqlfqU>$Jb)Ti6DOKQtZ*XZUo~0C35E6|RL$4pAiNpfu0Zwmr>Khjf_?E1 zR0aA>GB=)#x=$E2sxHD6xXSyy>SPo8j;JK=H<|ITRci_-!Z;si;v1-mqU#i&wGWq~ z=J;MyO=RYxBC`xNbzg=0{1)%?XYee_UwAsxeC{iq8K{|aEv~|}#B|fb%TYD{2Wr*3 z5tY4&{1C6h6Sxeoo9T03(4c#U^6OGkKpHc2p8f5 z^Gr^4JkRI8biNKX^=6;%v*z=8%+L3jf2^Y%4B&%rP<@_}ZTfZ;&Z4{;H6Of(ov~Vu z3Go1IM>!k&;yQc=51=A>MZk1r64m0{Q5%_uaWX!S?)(2UbIpYr*pm+ip}tUz+6k>e zO}X1q!|!g?zTrMpa(<2K(+YW}%Q~R0?}y5zVP1I#rcs`YnrE`}82_4j!<^6!R^kTS zj_SMK`Q}DLP+c=ZLu?I7|udnmxCJDA=EHkjcUjy%)k_`z>jbq217pg zCH6DuRy6Ehm#`Lbpaa)G55I&Ep;cMRc53nEQj6+2xf@)zBb)Ort z9qvIz;BC}A@FS}0sw~t_iSgHj1Dz5jRt8OH>7iqq-yqufpZn9qSgGt{aUBeKDH@g|GzGx0_KRz7 ztElAp2^F#OCFc72*q*Y3s?bVChX=7F{snXa6P z11T3^e@yJ)KuPu~YWVyc)zUN~qYJ8f5gLP5>j8dR=ai^`q5P&=Kc zP%R&{%s3v^u(OfxC9DM;=thfC$#D&;CAZ-bOyQS!<#NWmO-nB}YrwV@CfgtNd>55e z_DVBhwL&#)yjS+4Dz+LOya`)s{6Eft#_LC@zAk@>nOGX2ZZHVlK1Y2XMy+BiP!U^= zT9mFtMQ#V`x_eRIf7(0$CaUG{qjKN}tj+VSa+jJct&i%{=BUMC5Gu6ea4??jl{cZ1 zbUSK3cnlTdBRCyDM&&@i%giRW#PbPM_E%eFD%uqjqdC!=1Kn^rs*g8f9CzXjY_Zy` z`-@P+=|XgH6{^Cw<3>Dys)&D$naDz@E-68^coUY#+fmQCYYpRH4}P2zeeekO#5!xu zOf?o?qI{9(q;+OD>#R5P!9i36DqLAA;2&!V|pt^PuY7`|=U6aBK@%hWi&hI!F zvw`Fwx%ypUE}VL$c|R9H_3akygb(9p{2bG`{<5ol?*Ha%eW`f?;k(+ru)G7Oab1Of zmvV}8T!z`30G12ydCBuxc2;tN75Wl$Ip6v=bDwn>q5KJI z0y}5Bl9}v`)C6=rDp~GCElQ7Lb9@^$j!$@>*Sg(wNo!PAPe$cTHU{uQ zY>ywHmiKCRnE9hVo~!YHCI=c8i%=8Dg{TUwL_O$g)XaFRS5BcG^eoz022Oh^F%)Hxl^^JEk{?~KjF-~Zvn|O~2-5gYli%~ba z%samcGb!&ujq49kk@DSZCYsu)iuFKMY#gc!7ofT@ft~R>Y>Us|%lOv}b&M0bQT^Sf z3)-L-r3_RTj79B`=HOYl92J?psHyrX&zC*l#tEGN3^md8+GBnb-iKkzZSV704`4FE zK{X#g1ooO&tLNQs-gdu^8@OQ91Lg+*!pAAk*heyv-Df;VsBy?cKI<6g$35(G{~hq4 zN6hzrMCH;YkD3UqL(MBUp(diYQOTI7^_aP^5o&xlM=g`nP;>o!RD|N#1+PV|de5S! z+Luue`WzMN@6f@t$4ytXL9L$sQKMoO`f(vLoDXK#8=<@_K7Y9Vr zTJWrCSs^MJ^Ey3Or= z&&B~f-@1l_vG^MH!DcU*zjU6BQOZ}Mk}mC_>BGKQNVx=c!;f$Xo_Wa3r1MatHptrvd<4}sTaTD7yA{=CccHrGA=Gd_h#H=6dwzyW-XF0%{`*M63Yl z>1Nao_MwK&Q>ZQ4yEp^eziEEeCQvQdj+%1sM71o1s`#Vc=TCX(pF=CX)IY8L?#rf) zt8mry@`>sB0Vl5@oaHZYhD;vgEC?)iqWR%?L5`CZh{l{yIL3h!j|Orae`s-GI1Co2op31NM1!Hcf`I#_SiV2zo`)D5Gwv3w;IAJP7MT&}|nSXn-+bQ0Y zvcrXiflv;87UO0na{fQJ!hI?a_4;X?=_u8j#`0u>qc*ys``fer6iRwA5D7R%VIr4R z5Xej~J#R*%-LIVed*%K*AB?(56bOamdHGImBoJ_Ng3$#|w8)=LIEwwj0zY3U={_F*GYNj)}AmFEuB7vfC zB&HrRE#?c#)vP!<8_~59r;WyLG?`w_Zc@G=oEP2Qc+t&OYUKtC0#;^b=E++pYpu3h zCR=Z_8Gp!-!0!AY6Q^8-V=so^_tfJS9|DlTMr|P)-mb;c! z&LAxcc&2*NAJ1_jjI*dUwBXcfS`cJzRc1v?o89j(H)-m$-51^eQF>!dh2c~E$qK-= z#eoQkwELX>E6Z1kL>QU{i~H_=^FTqlTHcMa!=X?hTXXd8!1Ev4<+H<)oZTZ1#?op9 zoZ?_4rir{rqc;%Qz3Y`}>5Z5S<5>>99f?|_POVE!@b|v`pxq!E3;7G(=^z$i>ejRx z4Hpy#O4q&9X7_{d)J&`54S2mN|jqKtZ@jA7)x! z#_fLbgSKfC_#onh0%k_mvZi$*m(|S8%A7#1KVA^i$?QOZ6U~kUi!`#CgilRx(fnXh z)Lkt!URzaUR_Wi_KXCU~pMGCHq1%N5c~prSFh~oTU0KlFd66WdafQ0Kn|p4;#MGpC zk>h8gi)nuJCPi;v&IuGT*O=UN^1~%uMFP0%af~(73)IQx^oX1cj|K*PNP3uUL^wo! z%C-;+a!!CLis>ycv-Hic&TMPuI);r}>#n+bOoZ(6N3!!7KS6RM=r0}h&5+&Gzs@Y* zzbGEfSI=t_acE8iNgS;4FueJSt__rEzAVH|6=Y@^vUP`cs!VHJYeflxG1`qKCN zDwnmo@9s;F6{OYp%W|;$v*Q_dg9+i{fTjO369X+6X{MWczqYDC+}R@SZu{$Pc6F9& zCojOH$b)j4mp=R3#=4AurmA2_E12eW^~dh>e(zYx7YvnleW70Jvhwy^yQV*@Y=Sk> zNFGkJC#08UV>py*TfyF0x$?<@ntZ;7y|#jxeo_-_+U0!}hcj%M;ge%(+fA#TK9fdM z^J?4U?LP6Wle;BF!kWC8ZAZw1X*GKROQM-*3kuAx%6q`BI`$(KDh}m}c+sF#P9u9; z`7?6Z90o(DU*-;gl-?52`0x3lZlR)v&<1?omO zNXd8F*^S$pvijSta@n2S(`6mYC#i4R*&WK&o3@yljkPjR$n@oBdeBUrI-`@FS*~u` zM#Sv+!b;APD zr~9gBIy3zRLDoQbr;(gL$Zp@-U1aHd?Z%3Oe#cClMZu!7NmD~KIdHJut9K`dJA1o- zMcFBGv&p-inWfx}4=jo?*t8*Tky*63Me@oacGFbpVEbT|#$~%cmeqjURl281x#Z2` z?YgOjs!_u;}L?yGP*)=%<)0xCi5T;ssnkmjHU_X*NG1VULYj)Zy zcG^OxXu3B_9h+`9t)BdTu3a~|JIn4|m5`s@c_e+=_JW$;Onh?Crt-4wn=4d56@P8w zlIPB~8z#I3=d^uUVW2RJ3h}sDJQC6mnQ(5d7kGOe>Y#kbqWlEpiG%~P54?ZFi~m(8VYPKyfsivu}Ug#SbX z+5AWAdL~nZ_Bvjblkp<^7hf!#EL><`R=HqVU4nh3TKgb0cRqsbtvkO z=N9bW8;!GsgZrm=)SZ1Njk$@tPaRFW|ZoPPXqvKv)^MfZnA~L(b^1S@uIr zuS~E`jU4_Ut*k`CE&Y#G`)w+~UUuzf8D-E2(<{ z4RXe5`$Kz+gR%WvV^KFqib8QX5(?z&OJ(uOVIk4{7j+UjOeiA*`~oisu)RvRhU=d0 zR)`k!8=bw7+dyqk3!S0N#M~zo%+6>1R6I$b68-w)=WQTDs4|@qQF=Y5XzD*p0tHl1 zw^69Mo*;3DA^OF>B%YUu1eLAvTsOpd0b0kCPDacb8xvcx;J+G!a>z%@6sg z6KAVJRTmI?6CG9$QxTKc#46WM1xkVe#YtJ`Jy_Gul3*Y|5F*p{ncE;ng}cL|_d^Ny za&^`It@H)cz>>IAxc?yqDl^^d5Py9Cjq0L8cMOCz20D2;&#tnpqE0xUS)#0a+}`0{ zM9KupZ3ZtG3it2LV~OWCwu0OIKSh_Xl_f_gGj)8C-86kt|Du8XVD2A{McCmDq+;q< zFP#)QhHNCjuWn~rQGmNM(%Bs>F%MBfO$+D7N|?*c?kltO=&E|jsmtxAiOG>LD~WPE zSm;dkyV0PG)<`s3TH;eGqkK5{naUqRO^B5Zb>t7R)<+XH4E| zKf(k;OUi!d_xbA&{nOh(dXh)PLTNiQ5Lu$8g_v~%p}y(K$CuglO3w_Wr#i2&kN&rx z{mD+3*}Y0P`)j4%ywu)Y>Hp7(r_b{Lujj;Sf0`3hu?==#UvlA4U)=4zBrD>6 zH{v}>yIOXNyx`I9+I_h*G#Fz-D`fh2XF4WsK8)v;z0uJcqiKeTJd(u=3N4T0+4raJ zxz_GpHTl3~U(K}P+%=f`b*nwd*1Md>mHqAt#KM>Ab*sJGNzCMd6Ik@jE1c7pj=Vro zZb2YVuX3_9w+2F%ySkhIHX#h2UeFI3%bOG}mgB!q^{gn&A8ZYD8G}5Um8^BZ?%we9 z-zd%q?LC?Hwag~FAFz8gAEG)3$`%`1NgQ}1<4)rf!u;|`J$d`KiMZ1}=ZGJdApNYm#2Xa$4RH&8UPt!oM+$;72 z$;V%@yS8DyWL2S;xZFG<>du4t0bYeM^M%}pBtLw`K9+p_RlCP9@+9hvXTPKPneVAb z{?lVf8gDPfqUOGLGB0(K-#%}*9K%`=De%Xcj@^&SUP)=srAJU<9uW-C;{VN4l8+v; zo#c?$?7kJv5*SJ@dCfkPw;Ur*t|DsRpF&`wGA>-?&b&M!!dq#DjlI-=Yfq*#D`1Ax z=~Z@HGxjg7DSLbMf8UzS)HSc!N7K8H3b?y@_k|W?W+-p8^wT?J{pEvc?%vmZrIm~w zwe!jkr6{#5Qqc0XU^ z|L{2NoRvwbJ)hWiTEhU(FFZAwWzae%Jl?{k?)=jJsC*^b5oaXzO;PLiytoj=;0?WWU)XSn&CF(Sg$qb#QSWm82U`SVZqXS`L2>Wy9M=+E}tv|4UM zc=hQ`C+xJw{M-Ji_DsFU(=$#EkW}|S>`$tkY2E^`Lp=E|kMMXq*i?gb--C7^v$5~w z?VStV&E4O2*!*oq%X`^=*4<~OUaI12S7ElBZeLA*VG+%rBo{D0#(~cHI&D$PNUv^dnHyYS~XPzy5R; zBFOFJ7r7F3v zsc&X#dlTP7a~%E%4mPQC}!RhCg-;BHFUb)9NExltFT424+FT<*(Z%PGC3uYTiqul*533mGaIQ3q8-XkPPsIn>Aawkpm zYk|{cI}|nTpoNr%K7ClYNcsL8*UE@@+|LJZt|}e)~D+(6rO8bVo|6WQOmbRT8W*{`>;Rd$HT9_6O8iAGY3KVc|MOQ9|GTde827a`eyo03RMt}Bd3qn)(((`0yRvi|eWV_vwQNiCI zmn7c_`dXw81broy`;^7Siw6JXfHCr)_9U8;bM#@Mnc!2AsIPL`0Gd0QpX+Rj%&&HK z;(AR~c02QMcS2SZ{#@70)Z#_H?!Nw->5KKUnB?$&Ah7~@FOUP?DJ6Bi!AM_o8|2Qi51=fiI_8#yI`LbCd4xv#&Sd zo|=PGZ>;kDSh2ijv}Dt1cE=`ebWYz&oVJsQCV#%l*P`x{%%PdyrlK={0_+@%EuNOl zxzgt(50(1POuc%AufUglvDDW%`Sn%4Gi#pOwKC=M-DJ%f>_Rh3eb3ZL4!n`6?uuJ{ zo!b0u+ertVN~^N*kUVya@4Pz7dNXJH%YL_|CT#IJmFf(S^Un=fEy{YF-G_N=%?aL0 z(gkJHH22UiT>hTMMqO|4-A-guKW$UUN2-=ySh4DBC*!^3>EvyEIOBc5nyJ6>o!l(y zpSNgBVE+0S>*W?1%lrc$mT`VXQpwZS2X9!ERZ@#fzMm1Bx@L!ON5yVsU4L>@ZA}fw etZ9J-e}2*Jw%ar_IeNG6oARoCvgaOOoBsuHpR5`H delta 23145 zcmb{4cX(ArxbN|`RuXzIp~I$y9zqGd_ufH3S|A|_B?(Cgpu$E#0i_5Cn_i@MB;b}J zRX`9G5D^4HX;KA55JdETe|y%s_x^jI=bq;|=QA^_&Aju@td#`MIe*qGcd~e|<_Vr} z@jo>~EUPH)ub|rh`JaB>ElVf#$Fa6$J;jDNqNio0;ig`ewHizIwybKLcdU&vCS&OmwSj%co`yOmd{q;E7y)?9b%d%R~aQ$t|nn%6dJC?PO5$zjq zS!b#Dm}pr<+X|b+$nYJ^fHSZl&O=Sz7R-hxF*{yBoqrR{;GdWS3r#ld<0nOGOg+@qgITCobd8)s{F~9x zgoa8u8LQ%UEP~f?84-Ae_i@qtmer3Zyf@9V22j5~(@ag%*_PFm^QV7gS%dIv{0u8I zKWl?5>jrYFHGRHiMR8q$1(wwa$N8B5K@9Elg@l|F3N5j$4{#^`gAJFG$yjfhNvi70 zi3ArmTVYu*X>YmGvY0)q@hX$FdohA~_D@Vi8et9UlU@Btf2{kM5g&OeC}e-3Li!pt zw^>%3xytS8LA6)K;#doHgPv}Ce{4!U8p%&IZy{RHQv?~^x&?T z2?tb$8~5tm~jJc;Cv*Sg_0 zSnJG%g;7aa3Dv`f7=o>_33kLfI19_-3G9pyQ4eUi-s}T$ScZC@4Jm*_!%n6vu>q>Jm0EML7^RlRWJ>^;2Km&pP_D8U>l>yn&`nvSQ%HNrr-=}%I=`{ zh1Zw?L${k;DTW^EWl`ruu}Uxip2)Z-DTjb}V&#YM;q%UX-Q zF=#iV#C|vu*JA|c|IFk-D^x_MAbqfAVh}dm>JVi9r^;R z;t^CN{=mFweQr9I57l80>bh#E{h&UEVslg^`=TD`Mdi>ER8D-3N_y`>3Rx(;LWM5F z9<%(4qCy*v>PRnahVSD$coGX>tG%3q1F#~_M1}ry)B|s!2H@;756*=JsTV*x?6o2& z=!80$6I-E@q!+Hjx3DJ`-ET&cjQOa~!W_67lW`|b!m?kOWwrq|6|b>8W;kHhe^o3@ zy(ebW`cI;uk&Z=$cqMA?ccDUj2sP5Ps8w-V?#WG zft)#FrZyjzqP-$&C+vt`4}}y8I`L!7h#OEN-+?9Zu&z(sER zN>sF&IdhisgLVOJgzW^-)vl?L$GyFb*r>3RFkFM$O$7REQs8 zam;ketoL%L_1+70{ky0Utw$}#EtnZgd~G^V0X5J_)O{Nwk@Q+!C}<=@T}PurJq63* zKGcqO13maRYJ^2jn<=Y=y1o@E^gU4{9Ot(CP#s+7)=y(5>X*@@^?#Fsk}%{Olf5NS zp{t0R>sD@iKlD(K#nw0t)xk5Uk-xxM_!>iS#<%7{bJ3>01QqgSm<_+c{5;<}MM2Bw z7gT7Tq2@Z%cc$k#F^qa7>IVHV2fl;q_=l*RS?l@*hEx9mvt#fXv+nbtvOW?urLEDc z8xEqN&`m_$Xbo!Q`*AUz!^SxBtocCMin{S-EQxnW&Rj z_nm{vh4tSPe}!T@4R>%qDs*eln;UILO~qcfegQS&Td17)4;87)V=Rg(2W*iR@{Ob@#m-;9>Ugm5&NU(Co=^TP&u*C ztzX2l)c?TtSn#s>Opiu&d>QKg+fW_biwwkT9ipHJoWQnt8Z{N6SIqZ*Br4g`P&b-_ z3jKUk?ySKw_$jL67f_+TihAI0sOz7i9&GcS+~@u;l*z^#9T zipVmzz5(-7-;Fx&Yt(8wi+aEX48vQf>#{vH?FFzhb#E92&0%*`==-8>ILdV@>PE{@ z57>h0;7-(XJczpf3~I`LM0MaUX2su8_xl^wfn0x@pCOCj_gepNQ)thD&d*GUmZ0Wt z7nZ>Ts2ksK+n-@q>i=Oa?E2iCHx0{E-->JT0#3(w{vrV}!wd5j{V^)3&tNXC|9ccP zvRAJ5OViVgu6dB@w~D#-tbdz#KqzXYg)twNKt-e`Dzq&z3X?G$&trBBdS$+la$`B3 zZ%v^P2rVi^J5eG20;}OE)Pw$UkK6y4U&m#`y0quSP;863ZV>AHkr<1~SPFkaP04Fi zL^Ho8{`n~sp)drip?0+SsC9k|=V1ANO^EkmVd~dV$@(|u#Vr4sWmz0cP;Y`2a1d6+ z58V2098LWi&c&XV?F}T)9m@{P`6JZ&eu;&!h;0Wpibzzw4JP7XY=Gxb9m>h?v))I^1}J_dFyR4(*z9q6_XL(O#x zYFU1O%AG~1`>a4E<2uyNx(}6%Sa@-ZWIiiKxAQGlt`C)W~n59{38?v7k^B z`rN3Icu*sZKutky*JfCndPh{pN1@IekLvK0P}aW+^J&m}Ux&*21E{S24Lf0bQg$LP zMy=l>1PPNfv#mhBvS(jwog#uoU&69jIhGgj%+j-S%Hl4|t4Pey>qE5n9}Yz9cHgs-j2h zzb*xZxGyRz<544c&#f;+-C!4LE)Sw2a~_p5_fS*glrS9$#cI@xpa(nRhnRpG$ls_O zsOaH2TK{z@Xt}gU&24{7!+2E3e!)b1gbMY*k|qK}QISeRT|W;M>a`ez2T>6?ikkZ? z*chK;U`H&)`qzQZ6g0;}Q5PhlLO2c8)A{JZ)u`n95;eEKqoyo>X%nGHR0o=%rlzl3 zAC1cP*=~I+>b@sRv;M17_<;s}p=2s!Zcqs|$1Sl6_Qc9K8P%~Js5$=vwe=psn)nqe zLa$L%6(!}T#Lw69S;&KYKITnx1es-te$ z91mi5+=h9}+16=1g6hcZ@@5Lwxb8!B;GCC&9&im6x+m^|tQE{u6hu9^8Y;;eqjID> zYUBe^ITC}qJ{2{Uvrtp(Lv>&q>inaq^G~AA^ImjM_!X7q&ruJuE1C!8M_o`7l{^us z4kfwm6Ht+uiCR|6u{&roJ9u@O&%2 zx>=8dYuJH57EeG$VkcI{Q}_Y?h4*n%P4lUh5NSsK9k!x9s+O6e4X$@k5h!2VwvwrQu*Yb7E>$4YDqx~(ci(61rb{p$sg?i?OF{lBh;~cC} z-#qXbs)KnNn9uP(_y+ac4Oss@DKu(m8a~G9)E}UxBCU~ay^HH`EtYR=TkG*#R0qoE@99{#(;9j0SaNCn{8#T9~OA zhwZ3uMcwEHcEx%v?ZEH*X5bU*x3Dw**vbz4U9enhvkK;;mfc;{>Ue~j+Lx%L%vgyN3918`+u4Di*^1y;>f5jrmTPY!l7@|_e}#%@#t!Cwov}If z0XP6ZK`m3eqpe?Zd95526q;ce*uk&@^;xJ8eU2LONz}%12lXNHA8I4Y*vULNKbE83 z1N-1Rs0d!bKu)3dk+ja{zT+{g(sdRE?R<;f18Xsi`e&$!{EX`H1N7iaROkzLF@~eA zZ-)AA=!j)-5US(vp*p?>wSnzJb>sx*(sKEhf<|%;J@^o{0p;jwI?xi;fgY%xEedu1 zFl>usF%6GkZ>-zRwi0kI?y(7VcRTPW+kHK3YZUEudfL`9+=SlU6x#G+1LDMg@iz6s zy=`k3+I?(m34VsUuv=e~JYS+Za1v|ak60eFzG*sG6P0ugu`)JCaBsE}Vqh3FnCq))IU2KO^>#W2^#sGRAIO1flJ?(9W%@Fwc}{|{6yg!Z?s zeOMVY93v;qmF zm3xR8KweZw3ZvS~yX_U-_G(@V%JRmjr0RnDc8kVHjKc}I9Q$IiX!99878TmnSRK!x zUb8_lX6I~xIz9rm>=t1ae1WwwY^Yhj-T@SJ;#Sm+enQ+j&&7{EW)#-%wlVLsZiKfm;86qoyt-$()xNmApAo?WNGcFt=U-b7=in zp`aTyKs~56D*L;lF6@n3KKtpJnli6CSZ=PZY{@LEC_gNLR51DEQ{*E|nnr$toK4!XYeaU@7KjbAu{W9L8USg(g zkv>+IS=@Lv4P$1T-*OfCh@FW8A7N|UHpkrf`COZSEXr3fPhX0U@h;AsZ+;3Mvw&pe z{MC4a_A@^7^Te)&wnZPUa*OQ1Kgrm#*tV`yzlZHO?;Gz@+ge3K!DY6!nGx-!+mEOZ zrLiL?^dipM5!axmC>^!q?MJ;_E?_o%hDu^*jrktPg<7^AR8qG@j?cJxb6kf!}_zIOw_1BsXHbo_IJJ%klBpu)yj~ZAime=|} zLLr=n`>2;f;dOjy5P>@Ap$A{Dx2-6$^ub1whW1W7$OT;YsY%jjJDE$aYm`p%;%3~+ zvPs!xK1NG^Zd-42{wn1CW)<6OTSvKX>OSo+tiL)3%-(+*^KnA*K}LX65Ao8$Ifsc1 zrXL~Hc=D+EJ>G>cO%@M5W_G{>sAPVGO5R4tjk8e8_$q3@xQ>d@Jt7e{ra@VH5;gLlP$RvE&G9KV!P;M&x8hhFN_`tfVE)tQ3#b*U{ss2N-?1#V{>Ho; zMxtKlYf#It__wTo?L_h4nwQ97)EquVefc!|&g@)QQAt|kOyH~48jMw_A3(jPAD|vo z>Z~33V^bR(L;V7#V5f6t#7D3a^;@Xro7?-n8Ce9z(l83OZZEn1i%O=_=S>czU}fq) z)D6CLy@4gDJ3pA*DCJrn^;Qf=z20L`%W)xUO1-Nod&zuIG(ydNGSE7v9Xy7LM6)aAn{O4?qh94_^U)cHiogy$huA)JO+#%YJ}iK%uq5umns^x-V6I=xh&y6i z>OE1{t-!$V|29%kG95x)cnvkee7~A+zRvg|^(Ck*FUKpaF?K|qKNFQ)M^N{9hU!qh z8z%IX(L=osY6|+G1~BLb>tA!5NQ35XBCf=Z*aO?$G*hzz6~cX}2wcTve1fYm`j$z` z47W`rM`BgllTkb8C#a-6j+&~UQLEziZLbM&vER%NR^7D~mf(cGsGh!sdd*HpCD#Jf z#aj#Y2q3KZ=dN|Mu zi()J)B2!RvwaxVwD$9%hZhk&!gx^s=hkC##d_L(Vwgs!>0n}7IL3KFfu^C7S4E+7C zCIyY42kOH97)VM~2PUGjc@x&gBd8Jn?VA0GNluSzbM$b0C@LaTQ4gMr%7HDY=k3It zTL1ef=>7aPDrCRnSbU5+G5!yCXGC>ul3SmLio|Nv+#bX7c+)+e{i%6yG4#-08}(Z5 zjatSj=v9aoQBa6ZqaN@JYDav6x?%P|&B$w^HmC$tZhV63;8~oGKcS`|`k7fR38@ zQ60_smpQLFD#^Q}l6xRl!>NC<{?)@hG$@3JQ7?^OP(6H!ia^E}=3_Gg_4*x$+T+*Z zx40Q~pSNC`h)hD8`iH33`ApP6ccPN}OVm{S>ZPDL{|A*US^qW<3`HehW7G~7kD8j9 zsAO7>O3KesH#~!N@geGdV6+!Mf7fS4_rds_)pw`IsP$UI(}3H z^1e0^X@Cl0JKTxMsO!r9YrY2>qegrlqwytraKL{iH@v8+n~uTyLSIBdFNNj&xS^h} zMa}sx)QEpV&G~)Q6lJuXK&Zp86ZLS^l#NG)cmYnr4X6lJa-6_U*&HLN&qwWm$FZc| z|F*c0EuXdI5eqLQ;?uoFnKL8z%5;W`F&d=lz@ z^HKZ2axAL#zlMSyco>zvCta_h9{9{X9vtEXLY)m2u`txgt6)iNg-XgeY>OkYJ^E2o z6qLb4q!_A0k?7T2w4tDE?~Mx0P)xx0F&>|x=5!$cL8ra}r=VWP*HP^unVi7)LPhLA zJqESjccLP395v#zsE+@L>gd%>jyLefq8l`59oNq61U@W!qB=Am_1azS)_1t|1E?JN z8nxj(L521eDw4rj%yrpN4=#inXbIHus;Kj8XYrZ?O=!@Kx}bX47nO8TSPsXdHk7rf z&|boJSURh@Q3C3^F>ZYV>OoVn4$gMlze1gN7L}|Qy%drt+{3Z>W;Q4A6UupXsCUXv zl3-W7%#M

    R7v+PGB7mMSUrKfCahW8pcq6k=qIU1BL;49Q`vp>j?JZ`UQC%>m2om z`JBK%)A1h4?^u^;n9hGwtGOFez~sOVY)$sC}!UPCQgyRb<<59+)+$X4&QT2j#5k3xN5%yv&$gO#a&ib}Sts2kcvoWRScG-|bU zL#>iH)D(_Eh4@{pj?*v-_n`(@tf*NH!?2~+{}c*(Ih?`mF(YdX373{H4sui=jGRQFX2VCKPmGM^u&$ zKwXfa6EF=GnaQYCu@JSq)}gX{uj?UHQXR)|yokC_#?t2gIZ;#NK}D(?dX-H5C}@Ki zi|X-Q)Ppyn9^glH;0x3P&Y?nl6E)KNsP+6WYAS-tm=WedMYcSqU`@P@8&F9*yDaNp z-{m*Ung_l@B~zv_6Nw1a2%6vkY=cd4J(4`uUDQbPmvaKYfNX)EQqNW13H+zrN3a|9 zo{ zF$#BM7#65(?%N38r`{E{8ZM&VDSvq>DAcb|q03aoBwqnk$KF8Y#sJiV6Hz~!rJ^3Z z9d+Gt)SUi+lkpnrK|{h#BqyPgZZ7Jbu>lj&dzeBm3e~Eb^*jytQvV*y;;aa>{C1({ z{zp`j-bEdM=^igp%?bQ0*vxedMsj=$j>GFX4f|C$1G|NE*lRtYpqI{bR1${PFi9AJ z8bKR;3u94pe;qaQGBusR7fpR!LcJGG#6NHgrbIe{-z9r$nNW{H<=16oGpLQ{o!X{@D_jp^8QQO*A`o21bhIMs6RRzj#%Q-b4V7D~Q4jtMm3&`d z;O~FODJTbiL~X4%T_2%N{2R4QgX)^OE`eH>;i%&^QFGhSt#?Odc|TN#l2GrE4^g?Y z0ehk!y?S8wdQRZ~qd`HeO#Lr>56jdyTka-QWKQEfyn>_fL<5sVbsIW?U%hTb?Tn)u zIo2?aPikzgdx#Bbe~p^r`c2JL_H4@fe}e`e4O-8Suqqa5W8tMg+HJ| zxxBd<=~~pzxCgu73Dl}7*un|?>{tO6kwK_;O)4rE=C)w{YgsL(LGS4ms2%VkY7QTx zZj`U3xu7g6SE{)6#;B=ijoK$VqV|P8sOuAOHqJ#&RjF3yK9x}C)$meK&)cBprWYzi zG42UEu91F>I&TT;#v4&n_YLa77f~a;iAvrVsO#3WHV@p4>UcUTd5^j6-g^|(vp?Ju zUg0Oyv$ruf+<|(~m#7DQhf1c)sEy*rZXgI1PAE83;bC2&vuJc;w zDQM)+F&snMnJK7=nxhV=k@rBIHyE{?Mxl1RDQ^2LRFW>ka<~<>s(wJ7cOA7F9-yW) zV|xvR_isT8RcMIB$v6ZD;BPn+TXiraJdZl>IqE@WI+{7GiHcxbR0q4c?NL~tdKzlO z+KFL!5*3-p82I-TUY^?y(yU)R};>==%u zegUqNX4j6|%RmI(~>6@c~o^PoT2- zXVi}P2P!uTb~DSl8Y*H@s3aYQ9(=DG>t8)wM}v~;IL^fzSOe3#n>pKry6_k(beB+b z`Y$T9nR=Lxlt69Sk(eEOqarsHb^chafRj)i+R}sdudQ{zd*Ve@NA6)DNqU+a7DOda zeN?vhLOpmaD!XT+_KyXq2z-Y#@EIy+CiOBM+2MKwHK6le3JUcdoQ+RW>wEGWPT;TK z>roG=-`k9+8ET5UpgItTx{()k-aJ%C7o!HU8?|$uLq$4!A9K74Dni~iZbL8Bav6on z;t8mc%*0BVj(Rs-bKA4^H6yByfh0pkCfcpPk6Q2Ruqu9u3i+R?RT2DV;C^1K359SP zMxv5wDK^5L*Z`lPk}JHQNyg@=k+w%2@8;HLqxOXbsJY&Via>cUS^H#&&Qi7Tj)Jj6@*8Xw?~16bcSBOPeA@cV;ImWM$?*wXJWAjrlRKdB(}ql zXk!;tQZGSu^dPpu4&m=JGw%GFyR5@ic~T zL41M}_|I?>6P>`nfV_!sa(qUT6Zj3v9aQ8Rj4}h6i=(L@$1ZA5Ha`i?#QxNO!P@9; zlwvxNhD~W$k6Q0{u_ESAH4$inZK;pLhIkaap*`AcTs?3O^_$od)6&c`-jBaO@h1Ib9I4AJS)g>3Shi}KOcn3RRy@}>~U@9uh zZ(|*%r2e~3;4h)6lXN4#h%gyzO?EdRRPv^ylI{TJ#|xkM!nUlzh_oKKh!=EgUXTNsMT}=wfs(_I`BOP{{Mg7 zprD=Y8S23q-Zu{_i24?+gbMYyH~5g{3ThcmM}=-9YEM6mion;Xx7t;V#6lmM-=cL!5A{Ph z6Msc*WQj9O#Kxlr>Ol3OkIx6F>+;Pq_oK8B(+kC``9sVwWW2qmXYnEr@dFK4@@G$KiKPG2LVsFm*gqA|x1&;NU1I>Mo zwHs?MG#5TZ^?dvyGvX=OfciqLfj^+O-pq^5d3mrJ^+Kq(Tzk|i7>tU@NQ}UbkZ((` zb(n%)CMQu3x{eC%UG(5k|~s444=Q5cU}wqK*(1;I zzRbKk8sZ_X{~sx=<-o$_YT)1PtT3Vb4<}F`yV42#1Eari7WL>=jx`0JqW1Q&pE!ZP z^*l#LWW7KooweGu=RmdRLbVq}C1Dr_)_-jZOqtalmDQb4d;fIQ9EPniFR2w+o%#jT z7MyvldA+vAy42^Q_Vm-3g2C%dPK`xP*;X8h_fRjr-s@TaO)1Q#&BGHsn5k;7`oYPR3lMav~M%(e+`Ap zG%Uf1TO9rl#NT$eI)VT9dizkzYWFs?0o_8alCQkr~x!Zb+9dJAf4Uz3_U1VS>`o;qe6P@8|^cshY$KEb9(&n3qih9E9{7Q zv5B?PTPKytnEw6PzcQt#PV!~V5S2V6E)1Cyq|_bRLqL z*d^X-I%G&p%Dk_()|yv(TiNvJZNZu6rTQ<;8}<2vc_;QHrXSopG4s5{F9)Qb`|?JX z^h@8p9h^S!e0)&x!BL~5lcQ2&tQIk;F+)=06Jk9nG0E{!BRokwBK^{jH|_Lemy$x# zyIgCVC4KkZJ$Cw*`?*5W`#z}@lAhtOyTLU_Bqk0|@r;Nc9^*-ki%E|0MDf1~iJl>e zBa@<1;|Gt3@g$8H9UGsJ;)zO&iXRb0%e=z>Hcc=0Iy^Z0=%i?#UeD^l|4sJIvF+x* zE4KZ)f0bj$h4@Qmvdh@M0h#U6{zaMX`L?fVR{LZBgRFM>O#bkEc3<1KF2CJ4SY7o$ z%5QJU?Aubpp6qYvvH!7sZA;nt{i&t+?@mI-rN$*D_#ci&67?Z;2Qa#Br zLq`xW-@qpJ$N$e)6!vdzYOl%eU)I?Uaf%Z$&2CJ%r&rX7_-Hp=|I_N*(bcZtYueRr z;`^+dUC{qwH~X8c{8rX!5*3+ zV{%Nil@c?=cXx{Y(s%1U`~Aq8RjSwYREww=8Br;sdPGE)E}g4%i%E-5iBC+Z(n53L zsZM*9i0W0U*YZTvtye9wQbaZX%J=Omwq48r?Ns~Upme+68ry$!wp}dCyce;B{C$_$ z*Mj`yZhR*HosD*FC%wSi9c_RAt@fS}|BQ4yB3tN4Ph8@VxY(ExQPD98F$tcgfg$_P z9<&?V{#u9aPd&w(4j!BwGbAo1!8*Eha7^<5BzE7?vB~j6hx&5mbMpI=uiNE(N3Yvu z{F!gq-9zkfU%xx{hx10KhxrTNwG$oR#D{hc|APB=9w%eZq!Ecx(J8*~9@349payx#rZkdKQ^cHPf+n@|Mwyso*J)J)IG2Y1DQQFuT#~Y_wZtI z--Ue6Z~kNXoqi$NTPA2Bu}YIhC#CqR7jd5ZTNQOKXZ1HO@9eStH7h!0Gx&2?bAAo+ zFRtx04Ds!3=oBwL{C_XX1Wy-tRi?!x4?Vg+c5qa(|8+wrPe|?*PfvGMc27FGM(c7w zbEkvv)8@`u|Lhh{mkgh^cLv+OIUSs$z7d&OWcNEb>ulfJPRPn||2?MleVyl7eA{E3DgKs2ovep-xS-}On3FeRl2bkL37%-mEY*~x z_!x36)sqlEBreqx9nY>bJau%;h!M+Orvl5awpB#XqDsfmtW~bXZP>j z>in6}ANQG){MSx8MKbxiOt35Ze?I4I%9ycRVye|WX1H(9PtGIX J*2_-W{{\n" "Language: de\n" -"Language-Team: German " -"(http://www.transifex.com/projects/p/octoprint/language/de/)\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" +"Language-Team: German (http://www.transifex.com/projects/p/octoprint/language/de/)\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.6.0\n" +"Generated-By: Babel 2.8.0\n" +"X-Generator: Poedit 2.0.4\n" #: src/octoprint/access/permissions.py:272 msgid "Admin is allowed to do everything" msgstr "Admins dürfen alles tun" #: src/octoprint/access/permissions.py:278 -msgid "" -"Allows to gather basic status information, e.g. job progress, printer " -"state, temperatures, ... Mandatory for the default UI to work" -msgstr "" -"Erlaubt Zugriff auf Statusinformationen wie Druckfortschritt, " -"Druckerstatus, Temperaturen, ... Obligatorisch für die korrekte Funktion " -"des Userinterfaces." +msgid "Allows to gather basic status information, e.g. job progress, printer state, temperatures, ... Mandatory for the default UI to work" +msgstr "Erlaubt Zugriff auf Statusinformationen wie Druckfortschritt, Druckerstatus, Temperaturen, ... Obligatorisch für die korrekte Funktion des Userinterfaces" #: src/octoprint/access/permissions.py:285 msgid "Allows to connect to and disconnect from a printer" @@ -41,138 +36,97 @@ msgid "Allows to watch the webcam stream" msgstr "Erlaubt Einbettung des Webcamstreams" #: src/octoprint/access/permissions.py:295 -msgid "" -"Allows to run system commands, e.g. restart OctoPrint, shutdown or reboot" -" the system" -msgstr "" -"Erlaubt die Ausführung von Systembefehlen, z.B. OctoPrint neu starten, " -"System herunterfahren oder neu starten, ..." +msgid "Allows to run system commands, e.g. restart OctoPrint, shutdown or reboot the system" +msgstr "Erlaubt die Ausführung von Systembefehlen, z.B. OctoPrint neu starten, System herunterfahren oder neu starten" #: src/octoprint/access/permissions.py:301 -msgid "" -"Allows to retrieve a list of all uploaded files, includingtheir metadata " -"(e.g. date, file size, analysis results, ...)" -msgstr "" -"Erlaubt das Abrufen eines Liste aller Uploads, inkl. ihrer Metadaten " -"(z.B. Datum, Dateigröße, Analyseergebnisse, …)" +msgid "Allows to retrieve a list of all uploaded files and folders, includingtheir metadata (e.g. date, file size, analysis results, ...)" +msgstr "Erlaubt das Abrufen eines Liste aller hochgeladenen Dateien und Verzeichnisse, inkl. ihrer Metadaten (z.B. Datum, Dateigröße, Analyseergebnisse, …)" #: src/octoprint/access/permissions.py:306 -msgid "Allows users to upload new files" -msgstr "Erlaubt das Hochladen neuer Dateien" +msgid "Allows users to upload new files, create new folders and copy existing ones. If the File Delete permission is also set, File Upload also allows moving files and folders." +msgstr "Erlaubt Nutzern das Hochladen neuer Dateien, Erstellen von Verzeichnissen und Kopieren vorhandener Dateien und Verzeichnisse. Wenn die File Delete Berechtigung ebenfalls gesetzt ist, erlaubt File Upload auch das Verschieben von Dateien und Verzeichnissen." -#: src/octoprint/access/permissions.py:310 -msgid "" -"Allows users to download files. The GCODE viewer is affected by this as " -"well." -msgstr "" -"Erlaubt das Herunterladen von Dateien. Der GCODE viewer benötigt dieses " -"Recht." +#: src/octoprint/access/permissions.py:312 +msgid "Allows users to download files. The GCODE viewer is affected by this as well." +msgstr "Erlaubt das Herunterladen von Dateien. Der GCODE viewer benötigt dieses Recht." -#: src/octoprint/access/permissions.py:315 -msgid "Allows users to delete files" -msgstr "Erlaubt Nutzern, Dateien zu löschen" +#: src/octoprint/access/permissions.py:317 +msgid "Allows users to delete files and folders. If the File Upload permission is also set, File Delete also allows moving files and folders." +msgstr "Erlaubt Nutzern das Löschen von Dateien und Verzeichnissen. Falls die File Upload Berechtigung ebenfalls gesetzt ist, erlaubt File Delete auch das Verschieben von Dateien und Verzeichnissen." -#: src/octoprint/access/permissions.py:319 +#: src/octoprint/access/permissions.py:322 msgid "Allows to select a file for printing" msgstr "Erlaubt die Auswahl einer Datei zum Drucken" -#: src/octoprint/access/permissions.py:324 +#: src/octoprint/access/permissions.py:327 msgid "Allows to start, pause and cancel a print job" msgstr "Erlaubt das starten, pausieren und abbrechen eines Druckauftrags" -#: src/octoprint/access/permissions.py:329 -msgid "" -"Allows access to the GCODE viewer if the \"File Download\"permission is " -"also set." -msgstr "" -"Erlaubt den Zugriff auf den GCODE viewer falls die \"File Download\" " -"Berechtigung ebenfalls gesetzt ist." +#: src/octoprint/access/permissions.py:332 +msgid "Allows access to the GCODE viewer if the \"File Download\"permission is also set." +msgstr "Erlaubt den Zugriff auf den GCODE viewer falls die \"File Download\" Berechtigung ebenfalls gesetzt ist." -#: src/octoprint/access/permissions.py:335 -msgid "" -"Allows to watch the terminal tab but not to send commands to the printer " -"from it" -msgstr "" -"Erlaubt lesenden Zugriff auf das Terminal Tab. Das Senden von Befehlen " -"zum Drucker ist nicht gestattet." +#: src/octoprint/access/permissions.py:338 +msgid "Allows to watch the terminal tab but not to send commands to the printer from it" +msgstr "Erlaubt lesenden Zugriff auf das Terminal Tab. Das Senden von Befehlen zum Drucker ist nicht gestattet" -#: src/octoprint/access/permissions.py:341 -msgid "" -"Allows to control of the printer by using the temperature controls,the " -"control tab or sending commands through the terminal." -msgstr "" -"Erlaubt vollen Zugriff auf den Drucker, inkl. Temperatur, Steuerung oder " -"Senden individueller Befehle über das Terminal." +#: src/octoprint/access/permissions.py:344 +msgid "Allows to control of the printer by using the temperature controls,the control tab or sending commands through the terminal." +msgstr "Erlaubt vollen Zugriff auf den Drucker, inkl. Temperatur, Steuerung oder Senden individueller Befehle über das Terminal." -#: src/octoprint/access/permissions.py:347 +#: src/octoprint/access/permissions.py:350 msgid "Allows to slice files" msgstr "Erlaubt das Slicen von Dateien" -#: src/octoprint/access/permissions.py:352 +#: src/octoprint/access/permissions.py:355 msgid "Allows to list timelapse videos" msgstr "Erlaubt die Auflistung von Zeitrafferaufnahmen" -#: src/octoprint/access/permissions.py:356 +#: src/octoprint/access/permissions.py:359 msgid "Allows to download timelapse videos" msgstr "Erlaubt das Herunterladen von Zeitrafferaufnahmen" -#: src/octoprint/access/permissions.py:360 +#: src/octoprint/access/permissions.py:363 msgid "Allows to delete timelapse videos and unrendered timelapses" msgstr "Erlaubt das Löschen von Zeitrafferaufnahmen und ungerenderten Zeitraffern" -#: src/octoprint/access/permissions.py:364 -msgid "" -"Allows to change the timelapse settings and delete or render unrendered " -"timelapses. Includes the \"Timelapse List\",\"Timelapse Delete\" and " -"\"Timelapse Download\" permissions" -msgstr "" -"Erlaubt die Änderung von Zeitraffereinstellungen sowie das Löschen oder " -"Rendern unprozessierter Zeitrafferaufnahmen." +#: src/octoprint/access/permissions.py:367 +msgid "Allows to change the timelapse settings and delete or render unrendered timelapses. Includes the \"Timelapse List\",\"Timelapse Delete\" and \"Timelapse Download\" permissions" +msgstr "Erlaubt die Änderung von Zeitraffereinstellungen sowie das Löschen oder Rendern unprozessierter Zeitrafferaufnahmen" -#: src/octoprint/access/permissions.py:371 -msgid "" -"Allows to read non sensitive settings. Mandatory for the default UI to " -"work." -msgstr "" -"Erlaubt lesenden Zugriff auf allgemeine Einstellungen (jedoch keine " -"kritischen). Obligatorisch für die korrekte Funktion des Userinterfaces." +#: src/octoprint/access/permissions.py:374 +msgid "Allows to read non sensitive settings. Mandatory for the default UI to work." +msgstr "Erlaubt lesenden Zugriff auf allgemeine Einstellungen (jedoch keine kritischen). Obligatorisch für die korrekte Funktion des Userinterfaces." -#: src/octoprint/access/permissions.py:376 +#: src/octoprint/access/permissions.py:379 msgid "Allows to manage settings and also to read sensitive settings" msgstr "Erlaubt vollen Zugriff auf alle Einstellungen" #: src/octoprint/plugins/action_command_notification/__init__.py:33 -#, fuzzy msgid "Allows to see printer notifications" msgstr "Erlaubt die Anzeige von Druckersicherheitswarnungen" #: src/octoprint/plugins/action_command_notification/__init__.py:38 msgid "Allows to clear printer notifications" -msgstr "" +msgstr "Erlaubt das Löschen von Druckerbenachrichtigungen" #: src/octoprint/plugins/action_command_notification/__init__.py:84 #: src/octoprint/plugins/action_command_notification/__init__.py:87 -#, fuzzy msgid "Printer Notifications" -msgstr "Updatebenachrichtigungen auch Usern anzeigen" +msgstr "Druckerbenachrichtigungen" #: src/octoprint/plugins/action_command_notification/__init__.py:120 -#, fuzzy -msgid "" -"Without this plugin your printer will no longer be able to trigger " -"notifications in OctoPrint" -msgstr "" -"Ohne dieses Plugin wird dein Drucker nicht mehr in der Lage sein, " -"Bestätigungs- oder Auswahldialoge in OctoPrint auszulösen" +msgid "Without this plugin your printer will no longer be able to trigger notifications in OctoPrint" +msgstr "Ohne dieses Plugin wird dein Drucker nicht mehr in der Lage sein, Benachrichtigungen in OctoPrint anzuzeigen" #: src/octoprint/plugins/action_command_notification/static/js/action_command_notification.js:46 msgid "Printer Notification" -msgstr "" +msgstr "Druckerbenachrichtigungen" #: src/octoprint/plugins/action_command_notification/templates/action_command_notification_settings.jinja2:1 -#, fuzzy msgid "Action Command Notification Settings" -msgstr "Action Command Prompt Einstellungen" +msgstr "Action Command Notification Einstellungen" #: src/octoprint/plugins/action_command_notification/templates/action_command_notification_settings.jinja2:7 #: src/octoprint/plugins/errortracking/static/js/errortracking.js:59 @@ -181,38 +135,31 @@ msgstr "Aktivieren" #: src/octoprint/plugins/action_command_notification/templates/action_command_notification_settings.jinja2:14 msgid "Enable popups" -msgstr "" +msgstr "Popups aktivieren" #: src/octoprint/plugins/action_command_notification/templates/action_command_notification_settings.jinja2:15 -msgid "" -"Check this if you want notifications to also show up as popups in " -"addition to the notification list in the sidebar" -msgstr "" +msgid "Check this if you want notifications to also show up as popups in addition to the notification list in the sidebar" +msgstr "Aktiviere das, wenn du Benachrichtigungen zusätzlich zur Anzeige in der Sidebar auch als Popup angezeigt bekommen möchtest" #: src/octoprint/plugins/action_command_notification/templates/action_command_notification_sidebar.jinja2:8 msgid "Clear notifications" -msgstr "" +msgstr "Benachrichtigungen löschen" #: src/octoprint/plugins/action_command_notification/templates/action_command_notification_sidebar.jinja2:11 msgid "There are currently no notifications from your printer." -msgstr "" +msgstr "Es gibt aktuell keine Benachrichtigungen von deinem Drucker." #: src/octoprint/plugins/action_command_prompt/__init__.py:69 msgid "Allows to see and interact with printer prompts" msgstr "Erlaubt Zugriff auf Printerprompts" #: src/octoprint/plugins/action_command_prompt/__init__.py:133 -#, fuzzy msgid "Printer Dialogs" -msgstr "Abfrageintervalle" +msgstr "Printerdialoge" #: src/octoprint/plugins/action_command_prompt/__init__.py:233 -msgid "" -"Without this plugin your printer will no longer be able to trigger " -"confirmation or selection prompts in OctoPrint" -msgstr "" -"Ohne dieses Plugin wird dein Drucker nicht mehr in der Lage sein, " -"Bestätigungs- oder Auswahldialoge in OctoPrint auszulösen" +msgid "Without this plugin your printer will no longer be able to trigger confirmation or selection prompts in OctoPrint" +msgstr "Ohne dieses Plugin wird dein Drucker nicht mehr in der Lage sein, Bestätigungs- oder Auswahldialoge in OctoPrint auszulösen" #: src/octoprint/plugins/action_command_prompt/static/js/action_command_prompt.js:43 #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_navbar.jinja2:1 @@ -228,35 +175,31 @@ msgid "Enable support" msgstr "Unterstützung aktivieren" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:8 -msgid "" -"If detected as supported by the firmware (PROMPT_SUPPORT " -"capability)" -msgstr "" -"Falls Unterstützung durch Firmware erkannt (PROMPT_SUPPORT " -"Capability)" +msgid "If detected as supported by the firmware (PROMPT_SUPPORT capability)" +msgstr "Falls Unterstützung durch Firmware erkannt (PROMPT_SUPPORT Capability)" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:11 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:58 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:289 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:343 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:72 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:303 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:357 msgid "Always" msgstr "Immer" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:14 #: src/octoprint/templates/dialogs/settings/features.jinja2:70 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:65 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:292 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:346 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:79 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:306 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:360 msgid "Never" msgstr "Nie" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:19 #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:16 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:294 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:88 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:181 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:298 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:385 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:327 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:105 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:195 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:312 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:399 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:10 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:25 #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklist.jinja2:5 @@ -270,44 +213,24 @@ msgid "Dialog command" msgstr "Dialog-Befehl" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:25 -msgid "" -"Use this to define the dialog command. Default is M876. You " -"normally should not have to change this." -msgstr "" -"Benutze dies um den Dialogbefehl zu konfigurieren. Der Standardwert ist " -"M876. Du solltest das normalerweise nicht ändern müssen." +msgid "Use this to define the dialog command. Default is M876. You normally should not have to change this." +msgstr "Benutze dies um den Dialogbefehl zu konfigurieren. Der Standardwert ist M876. Du solltest das normalerweise nicht ändern müssen." #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:31 -msgid "" -"Enable force sending of the configured command to bypass blocking " -"firmware routines if detected as supported. You normally should not have " -"to change this." -msgstr "" -"Senden des konfigurierten Befehls forcieren um blockende Firmwareroutinen" -" zu umgehen, falls Unterstützung erkannt. Du solltest das normalerweise " -"nicht ändern müssen." +msgid "Enable force sending of the configured command to bypass blocking firmware routines if detected as supported. You normally should not have to change this." +msgstr "Senden des konfigurierten Befehls forcieren um blockende Firmwareroutinen zu umgehen, falls Unterstützung erkannt. Du solltest das normalerweise nicht ändern müssen." #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:38 -msgid "" -"Enable signaling to the firmware that we support prompt_* " -"actions if detected as supported. You normally should not have to change " -"this." -msgstr "" -"Der Firmware signalisieren, dass wir prompt_* Aktionen " -"unterstützen, falls Firmwareunterstützung erkannt wird. Du solltest das " -"normalerweise nicht ändern müssen." +msgid "Enable signaling to the firmware that we support prompt_* actions if detected as supported. You normally should not have to change this." +msgstr "Der Firmware signalisieren, dass wir prompt_* Aktionen unterstützen, falls Firmwareunterstützung erkannt wird. Du solltest das normalerweise nicht ändern müssen." #: src/octoprint/plugins/announcements/__init__.py:55 msgid "Allows to read announcements" msgstr "EJrlaubt das Lesen von Ankündigungen" #: src/octoprint/plugins/announcements/__init__.py:60 -msgid "" -"Allows to manage announcement subscriptions. Includes \"Read " -"announcements\" permission" -msgstr "" -"Erlaubt die Verwaltung von Ankündigungen. Beinhaltet die \"Read " -"announcements\" Berechtigung" +msgid "Allows to manage announcement subscriptions. Includes \"Read announcements\" permission" +msgstr "Erlaubt die Verwaltung von Ankündigungen. Beinhaltet die \"Read announcements\" Berechtigung" #: src/octoprint/plugins/announcements/__init__.py:151 #: src/octoprint/plugins/announcements/templates/announcements.jinja2:4 @@ -316,12 +239,8 @@ msgid "Announcements" msgstr "Ankündigungen" #: src/octoprint/plugins/announcements/__init__.py:536 -msgid "" -"Without this plugin you might miss important announcements regarding " -"security or other critical issues concerning OctoPrint." -msgstr "" -"Ohne dieses Plugin könntest du wichtige Benachrichtigung hinsichtlich " -"Security oder kritischer Fehler in OctoPrint verpassen." +msgid "Without this plugin you might miss important announcements regarding security or other critical issues concerning OctoPrint." +msgstr "Ohne dieses Plugin könntest du wichtige Benachrichtigung hinsichtlich Security oder kritischer Fehler in OctoPrint verpassen." #: src/octoprint/plugins/announcements/static/js/announcements.js:51 msgid "Cannot be toggled" @@ -336,21 +255,17 @@ msgid "Enable Channel" msgstr "Kanal aktivieren" #: src/octoprint/plugins/announcements/static/js/announcements.js:267 -msgid "" -"You can edit your announcement subscriptions under Settings > " -"Announcements." -msgstr "" -"Du kannst deine Benachrichtigungsabonnements unter Einstellungen > " -"Benachrichtigungen konfigurieren." +msgid "You can edit your announcement subscriptions under Settings > Announcements." +msgstr "Du kannst deine Benachrichtigungsabonnements unter Einstellungen > Benachrichtigungen konfigurieren." #: src/octoprint/plugins/announcements/static/js/announcements.js:276 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1085 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1133 #: src/octoprint/static/js/app/viewmodels/loginstate.js:117 msgid "Later" msgstr "Später" #: src/octoprint/plugins/announcements/static/js/announcements.js:282 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1092 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1140 msgid "Mark read" msgstr "Gelesen" @@ -363,12 +278,13 @@ msgid "Mark as last read" msgstr "Zuletzt gelesen" #: src/octoprint/plugins/announcements/templates/announcements.jinja2:44 +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:36 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:115 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:187 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:309 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:144 -#: src/octoprint/static/js/app/helpers.js:682 -#: src/octoprint/static/js/app/helpers.js:974 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:197 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:343 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:171 +#: src/octoprint/static/js/app/helpers.js:691 +#: src/octoprint/static/js/app/helpers.js:983 #: src/octoprint/templates/dialogs/about.jinja2:51 #: src/octoprint/templates/dialogs/settings.jinja2:52 #: src/octoprint/templates/dialogs/settings/appearance.jinja2:131 @@ -383,7 +299,7 @@ msgstr "Konfigurierte Kanäle" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:37 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:29 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:69 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:80 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:88 #: src/octoprint/templates/dialogs/settings/terminalfilters.jinja2:3 #: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:5 #: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:73 @@ -396,8 +312,8 @@ msgid "Name" msgstr "Name" #: src/octoprint/plugins/announcements/templates/announcements_settings.jinja2:7 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:81 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:155 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:89 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:165 msgid "Actions" msgstr "Aktionen" @@ -414,80 +330,117 @@ msgstr "Erlaubt die Administration aller Applicationkeys" msgid "Application Keys" msgstr "Application Keys" -#: src/octoprint/plugins/appkeys/__init__.py:438 -msgid "" -"Without this plugin third party clients will no longer be able to obtain " -"an API key without you manually copy-pasting it." -msgstr "" -"Ohne dieses Plugin können Third Party Clients keine API Keys mehr " -"erlangen, ohne dass du sie manuell übertragen musst." +#: src/octoprint/plugins/appkeys/__init__.py:443 +msgid "Without this plugin third party clients will no longer be able to obtain an API key without you manually copy-pasting it." +msgstr "Ohne dieses Plugin können Third Party Clients keine API Keys mehr erlangen, ohne dass du sie manuell übertragen musst." -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:55 -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:213 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:97 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:276 #, python-format msgid "You are about to revoke the application key \"%(key)s\"." msgstr "Du bist im Begriff, den Application Key \"%(key)s\" zu löschen." -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:70 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:112 #, python-format -msgid "" -"\"%(app)s\" has requested access to control OctoPrint " -"through the API." -msgstr "" -"\"%(app)s\" möchte Zugriff auf OctoPrint über die API " -"haben." +msgid "\"%(app)s\" has requested access to control OctoPrint through the API." +msgstr "\"%(app)s\" möchte Zugriff auf OctoPrint über die API haben." -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:72 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:114 msgid "Do you want to allow access to this application with your user account?" msgstr "Möchtest du dieser Applikation Zugriff mit deinem Nutzerkonto erlauben?" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:74 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:116 msgid "Access Request" msgstr "Zugriffsanfrage" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:81 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:123 msgid "Allow" msgstr "Erlauben" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:87 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:129 msgid "Deny" msgstr "Ablehnen" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:225 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:266 +msgid "New key generated!" +msgstr "Neuer Key erstellt!" + +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:288 #, python-format msgid "You are about to revoke %(count)d application keys." msgstr "Du bist im Begriff, %(count)d Application Keys zu löschen." -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:256 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:319 msgid "Revoking application keys" msgstr "Lösche Application Keys" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:257 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:320 #, python-format msgid "Revoking %(count)d application keys..." msgstr "Lösche %(count)d Application Keys..." -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:261 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:324 #, python-format msgid "Revoked %(key)s..." msgstr "%(key)s gelöscht..." -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:264 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:327 #, python-format msgid "Revocation of %(key)s failed, continuing..." msgstr "Löschen von %(key)s fehlgeschlagen, fahre fort..." -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:265 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:328 #, python-format msgid "Deletion of %(key)s failed: %(error)s" msgstr "Löschen von %(key)s fehlgeschlagen: %(error)s" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:2 +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:9 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:36 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:66 +#: src/octoprint/templates/sidebar/state.jinja2:6 +msgid "User" +msgstr "Nutzer" + +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:15 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:37 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:72 +#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:10 +#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:38 +msgid "Application identifier" +msgstr "Applikationsidentifier" + +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:21 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:45 +#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:16 +#: src/octoprint/templates/dialogs/usersettings/access.jinja2:22 +#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:24 +msgid "API Key" +msgstr "API Key" + +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:24 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:45 +#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:16 +#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:25 +msgid "Copy API Key to clipboard" +msgstr "API Key in die Zwischenablage kopieren" + +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:28 +#: src/octoprint/templates/dialogs/settings/api.jinja2:37 +#: src/octoprint/templates/dialogs/usersettings/access.jinja2:36 +msgid "QR Code" +msgstr "QR Code" + +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:1 +#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:1 +msgid "Registered application keys" +msgstr "Registrierte Application Keys" + +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:4 #: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:4 msgid "There are no application keys registered yet." msgstr "Es sind noch keine Application Keys registriert." -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:9 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:11 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:25 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:17 #: src/octoprint/templates/tabs/timelapse.jinja2:129 @@ -495,7 +448,7 @@ msgstr "Es sind noch keine Application Keys registriert." msgid "Select all on this page" msgstr "Alles auf dieser Seite auswählen" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:10 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:12 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:26 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:18 #: src/octoprint/templates/tabs/timelapse.jinja2:130 @@ -503,15 +456,15 @@ msgstr "Alles auf dieser Seite auswählen" msgid "Select all" msgstr "Alles auswählen" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:13 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:15 msgid "Select all by user..." msgstr "Alle von Nutzer wählen..." -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:19 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:21 msgid "Select all by app..." msgstr "Alle von Applikation auswählen..." -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:25 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:27 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:28 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:20 #: src/octoprint/templates/tabs/timelapse.jinja2:132 @@ -519,22 +472,11 @@ msgstr "Alle von Applikation auswählen..." msgid "Clear selection" msgstr "Auswahl aufheben" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:28 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:30 msgid "Revoke selected" msgstr "Ausgewählte löschen" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:34 -#: src/octoprint/templates/sidebar/state.jinja2:6 -msgid "User" -msgstr "Nutzer" - -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:35 -#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:10 -#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:38 -msgid "Application identifier" -msgstr "Applikationsidentifier" - -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:36 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:38 #: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:11 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:40 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:32 @@ -546,29 +488,19 @@ msgstr "Applikationsidentifier" msgid "Action" msgstr "Aktion" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:43 -#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:16 -#: src/octoprint/templates/dialogs/settings/api.jinja2:10 -#: src/octoprint/templates/dialogs/usersettings/access.jinja2:22 -#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:24 -msgid "API Key" -msgstr "API Key" - -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:43 -#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:16 -#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:25 -msgid "Copy API Key to clipboard" -msgstr "API Key in die Zwischenablage kopieren" - -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:44 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:46 #: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:17 msgid "Revoke" msgstr "Löschen" -#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:1 -msgid "Registered application keys" -msgstr "Registrierte Application Keys" +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:46 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:260 +#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:6 +#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:5 +msgid "Details" +msgstr "Details" +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:62 #: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:34 msgid "Manually generate an application key" msgstr "Generiere einen Application Key manuell" @@ -586,17 +518,12 @@ msgid "Backup & Restore" msgstr "Sicherung & Wiederherstellung" #: src/octoprint/plugins/backup/__init__.py:104 -#, fuzzy msgid "Restore Backup?" -msgstr "Sicherung erstellen" +msgstr "Sicherung wiederherstellen?" -#: src/octoprint/plugins/backup/__init__.py:999 -msgid "" -"Without this plugin you will no longer be able to backup & restore your " -"OctoPrint settings and data." -msgstr "" -"Ohne dieses Plugin kannst du deine OctoPrint Einstellung und Daten nicht " -"länger sichern & wiederherstellen." +#: src/octoprint/plugins/backup/__init__.py:1006 +msgid "Without this plugin you will no longer be able to backup & restore your OctoPrint settings and data." +msgstr "Ohne dieses Plugin kannst du deine OctoPrint Einstellung und Daten nicht länger sichern & wiederherstellen." #: src/octoprint/plugins/backup/static/js/backup.js:92 #, python-format @@ -605,27 +532,17 @@ msgstr "Du bist im Begriff, die Sicherung \"%(name)s\" zu löschen." #: src/octoprint/plugins/backup/static/js/backup.js:108 #, python-format -msgid "" -"You are about to restore the backup file \"%(name)s\". This cannot be " -"undone." +msgid "You are about to restore the backup file \"%(name)s\". This cannot be undone." msgstr "Du bist im Begriff, die Sicherung \"%(name)s\" wiederherzustellen." #: src/octoprint/plugins/backup/static/js/backup.js:124 #, python-format -msgid "" -"You are about to upload and restore the backup file \"%(name)s\". This " -"cannot be undone." -msgstr "" -"Du bist im Begriff, die Sicherung \"%(name)s\" hochzuladen und " -"wiederherzustellen. Das kann nicht rückgängig gemacht werden." +msgid "You are about to upload and restore the backup file \"%(name)s\". This cannot be undone." +msgstr "Du bist im Begriff, die Sicherung \"%(name)s\" hochzuladen und wiederherzustellen. Das kann nicht rückgängig gemacht werden." #: src/octoprint/plugins/backup/static/js/backup.js:135 -msgid "" -"You are about to delete the record of plugins unknown during the last " -"restore." -msgstr "" -"Du bist dabei, die Liste der Plugins zu löschen, die während der letzten " -"Wiederherstellung unbekannt waren." +msgid "You are about to delete the record of plugins unknown during the last restore." +msgstr "Du bist dabei, die Liste der Plugins zu löschen, die während der letzten Wiederherstellung unbekannt waren." #: src/octoprint/plugins/backup/static/js/backup.js:159 #, python-format @@ -642,12 +559,8 @@ msgstr "Backuperstellung fehlgeschlagen" #: src/octoprint/plugins/backup/static/js/backup.js:189 #, python-format -msgid "" -"OctoPrint could not create your backup. Please consult " -"octoprint.log for details. Error: %(error)s" -msgstr "" -"OctoPrint konnte dein Backup nicht erstellen. Bitte konsultiere " -"octoprint.log für Details. Fehler: %(error)s" +msgid "OctoPrint could not create your backup. Please consult octoprint.log for details. Error: %(error)s" +msgstr "OctoPrint konnte dein Backup nicht erstellen. Bitte konsultiere octoprint.log für Details. Fehler: %(error)s" #: src/octoprint/plugins/backup/static/js/backup.js:194 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:109 @@ -655,12 +568,8 @@ msgid "Restoring from backup..." msgstr "Stelle Sicherung wieder her..." #: src/octoprint/plugins/backup/static/js/backup.js:198 -msgid "" -"Restore failed! Check the above output and octoprint.log for reasons as " -"to why." -msgstr "" -"Wiederherstellung fehlgeschlagen! Prüfe die obige Ausgabe sowie " -"octoprint.log für mögliche Gründe dafür." +msgid "Restore failed! Check the above output and octoprint.log for reasons as to why." +msgstr "Wiederherstellung fehlgeschlagen! Prüfe die obige Ausgabe sowie octoprint.log für mögliche Gründe dafür." #: src/octoprint/plugins/backup/static/js/backup.js:202 msgid "Restore successful! The server will now be restarted!" @@ -673,21 +582,13 @@ msgstr "Installiere Plugin \"%(plugin)s\"..." #: src/octoprint/plugins/backup/static/js/backup.js:213 #, python-format -msgid "" -"Cannot install plugin \"%(plugin)s\" due to it being incompatible to this" -" OctoPrint version and/or underlying operating system" -msgstr "" -"Kann Plugin \"%(plugin)s\" nicht installieren, da es mit dieser OctoPrint" -" Version oder dem darunter liegenden Betriebssystem inkompatibel ist" +msgid "Cannot install plugin \"%(plugin)s\" due to it being incompatible to this OctoPrint version and/or underlying operating system" +msgstr "Kann Plugin \"%(plugin)s\" nicht installieren, da es mit dieser OctoPrint Version oder dem darunter liegenden Betriebssystem inkompatibel ist" #: src/octoprint/plugins/backup/static/js/backup.js:219 #, python-format -msgid "" -"There are %(count)d plugins you'll need to install manually since they " -"aren't registered on the repository:" -msgstr "" -"Du musst %(count)d Plugins manuell installieren, da sie nicht im " -"Repository registriert sind:" +msgid "There are %(count)d plugins you'll need to install manually since they aren't registered on the repository:" +msgstr "Du musst %(count)d Plugins manuell installieren, da sie nicht im Repository registriert sind:" #: src/octoprint/plugins/backup/static/js/backup.js:247 msgid "Deleting backups" @@ -699,7 +600,7 @@ msgid "Deleting %(count)d backups..." msgstr "Lösche %(count)d Sicherungen..." #: src/octoprint/plugins/backup/static/js/backup.js:252 -#: src/octoprint/plugins/logging/static/js/logging.js:175 +#: src/octoprint/plugins/logging/static/js/logging.js:211 #: src/octoprint/static/js/app/viewmodels/timelapse.js:366 #: src/octoprint/static/js/app/viewmodels/timelapse.js:380 #, python-format @@ -707,7 +608,7 @@ msgid "Deleted %(filename)s..." msgstr "%(filename)s gelöscht..." #: src/octoprint/plugins/backup/static/js/backup.js:255 -#: src/octoprint/plugins/logging/static/js/logging.js:178 +#: src/octoprint/plugins/logging/static/js/logging.js:214 #: src/octoprint/static/js/app/viewmodels/timelapse.js:369 #: src/octoprint/static/js/app/viewmodels/timelapse.js:383 #, python-format @@ -715,26 +616,20 @@ msgid "Deletion of %(filename)s failed, continuing..." msgstr "Löschen von %(filename)s fehlgeschlagen, fahre fort..." #: src/octoprint/plugins/backup/static/js/backup.js:256 -#: src/octoprint/plugins/logging/static/js/logging.js:179 +#: src/octoprint/plugins/logging/static/js/logging.js:215 #: src/octoprint/static/js/app/viewmodels/timelapse.js:370 #, python-format msgid "Deletion of %(filename)s failed: %(error)s" msgstr "Löschen von %(filename)s fehlgeschlagen: %(error)s" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:2 -msgid "" -"\n" -" Some plugins during the last restore could not be identified and " -"hence not automatically installed.\n" -" Please install them manually, they are listed below including their " -"stated homepages:\n" +msgid "\n" +" Some plugins during the last restore could not be identified and hence not automatically installed.\n" +" Please install them manually, they are listed below including their stated homepages:\n" " " -msgstr "" -"\n" -" Einige Plugins konnten während der letzten Wiederherstellung nicht " -"identifiziert und somit nicht automatisch installiert werden.\n" -" Bitte installiere sie manuell, sie sind nachfolgend zusammen mit " -"ihrer Homepage gelistet:\n" +msgstr "\n" +" Einige Plugins konnten während der letzten Wiederherstellung nicht identifiziert und somit nicht automatisch installiert werden.\n" +" Bitte installiere sie manuell, sie sind nachfolgend zusammen mit ihrer Homepage gelistet:\n" " " #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:9 @@ -750,13 +645,8 @@ msgid "There are no backups. Maybe create one below?" msgstr "Es gibt keine Sicherungen. Erstelle vielleicht eine weiter unten?" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:19 -msgid "" -"These are the backups of your settings and files that already exist on " -"this OctoPrint instance. You may delete, download or restore them." -msgstr "" -"Dies sind die Sicherungen deiner Einstellungen und Dateien, die bereits " -"auf dieser OctoPrint Instanz existieren. Du kannst sie löschen, " -"herunterladen oder wiederherstellen." +msgid "These are the backups of your settings and files that already exist on this OctoPrint instance. You may delete, download or restore them." +msgstr "Dies sind die Sicherungen deiner Einstellungen und Dateien, die bereits auf dieser OctoPrint Instanz existieren. Du kannst sie löschen, herunterladen oder wiederherstellen." #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:31 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:23 @@ -772,9 +662,9 @@ msgstr "Datum" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:39 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:30 -#: src/octoprint/templates/sidebar/files.jinja2:21 -#: src/octoprint/templates/sidebar/files.jinja2:36 -#: src/octoprint/templates/sidebar/files.jinja2:47 +#: src/octoprint/templates/sidebar/files.jinja2:22 +#: src/octoprint/templates/sidebar/files.jinja2:37 +#: src/octoprint/templates/sidebar/files.jinja2:49 #: src/octoprint/templates/tabs/timelapse.jinja2:142 #: src/octoprint/templates/tabs/timelapse.jinja2:189 msgid "Size" @@ -782,14 +672,14 @@ msgstr "Größe" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:49 #: src/octoprint/static/js/app/viewmodels/access.js:280 -#: src/octoprint/static/js/app/viewmodels/access.js:579 +#: src/octoprint/static/js/app/viewmodels/access.js:568 #: src/octoprint/templates/dialogs/settings/appearance.jinja2:96 msgid "Delete" msgstr "Löschen" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:49 #: src/octoprint/templates/sidebar/files.jinja2:25 -#: src/octoprint/templates/sidebar/files.jinja2:38 +#: src/octoprint/templates/sidebar/files.jinja2:39 msgid "Download" msgstr "Download" @@ -823,44 +713,29 @@ msgstr "Von einer hochgeladenen Sicherung wiederherstellen" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:97 msgid "Restore settings & files from an uploaded backup archive." -msgstr "" -"Einstellungen und Dateien von einer hochgeladenen Sicherung " -"wiederherstellen." +msgstr "Einstellungen und Dateien von einer hochgeladenen Sicherung wiederherstellen." #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:104 #, python-format -msgid "" -"Please note that the operating system that this OctoPrint server is " -"running on does not support automatically restoring backups. You will " -"have to restore your backups manually for now." -msgstr "" -"Achtung: Das Betriebssystem, auf dem diese OctoPrint Instanz läuft, " -"unterstützt nicht die automatische Wiederherstellung von Sicherungen. Bis" -" auf weiteres kannst du Sicherungen nur manuell " -"wiederherstellen." +msgid "Please note that the operating system that this OctoPrint server is running on does not support automatically restoring backups. You will have to restore your backups manually for now." +msgstr "Achtung: Das Betriebssystem, auf dem diese OctoPrint Instanz läuft, unterstützt nicht die automatische Wiederherstellung von Sicherungen. Bis auf weiteres kannst du Sicherungen nur manuell wiederherstellen." #: src/octoprint/plugins/backup/templates/backup_wizard.jinja2:1 msgid "Restore from a backup?" msgstr "Von Sicherung wiederherstellen?" #: src/octoprint/plugins/backup/templates/backup_wizard.jinja2:3 -msgid "" -"

    \n" -" If you would like to restore OctoPrint configuration from a backup " -"now is the time.\n" +msgid "

    \n" +" If you would like to restore OctoPrint configuration from a backup now is the time.\n" "

    " -msgstr "" -"

    Falls du die Einstellungen aus einer Sicherung wiederherstellen möchtest " -"kannst du das jetzt machen.

    " +msgstr "

    Falls du die Einstellungen aus einer Sicherung wiederherstellen möchtest kannst du das jetzt machen.

    " #: src/octoprint/plugins/backup/templates/snippets/plugin/backup/backup_plugin_upload_form.jinja2:3 msgid "Backup file" msgstr "Sicherungsdatei" #: src/octoprint/plugins/backup/templates/snippets/plugin/backup/backup_plugin_upload_form.jinja2:7 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:283 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:316 #: src/octoprint/templates/dialogs/settings/appearance.jinja2:118 msgid "Browse..." msgstr "Durchsuchen..." @@ -870,13 +745,8 @@ msgid "Upload & restore" msgstr "Hochladen & wiederherstellen" #: src/octoprint/plugins/corewizard/__init__.py:123 -msgid "" -"Without this plugin OctoPrint will no longer be able to perform setup " -"steps that might be required after an update." -msgstr "" -"Ohne dieses Plugin wird OctoPrint nicht mehr in der Lage sein, wichtige " -"Konfigurationsschritte durchzuführen, die ggf. nach einem Update " -"notwendig sind." +msgid "Without this plugin OctoPrint will no longer be able to perform setup steps that might be required after an update." +msgstr "Ohne dieses Plugin wird OctoPrint nicht mehr in der Lage sein, wichtige Konfigurationsschritte durchzuführen, die ggf. nach einem Update notwendig sind." #: src/octoprint/plugins/corewizard/subwizards.py:31 #: src/octoprint/plugins/corewizard/templates/corewizard_servercommands_wizard.jinja2:1 @@ -895,12 +765,10 @@ msgid "Access Control" msgstr "Zugangsbeschränkung" #: src/octoprint/plugins/corewizard/subwizards.py:110 -#, fuzzy msgid "Online Connectivity Check" msgstr "Onlineprüfung" #: src/octoprint/plugins/corewizard/subwizards.py:128 -#, fuzzy msgid "Plugin Blacklist" msgstr "Plugin Blackliste" @@ -909,132 +777,78 @@ msgid "Default Printer Profile" msgstr "Default Druckerprofil" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:45 -msgid "" -"If you disable Access Control and your OctoPrint " -"installation is accessible from the internet, your printer will " -"be accessible by everyone - that also includes the bad guys!" -msgstr "" -"Wenn Du die Zugangsbeschränkung deaktivierst und Deine " -"OctoPrint Installation vom Internet aus erreichbar ist, kann " -"jeder auf Deinen Drucker zugreifen - auch die bösen " -"Jungs!" +msgid "If you disable Access Control and your OctoPrint installation is accessible from the internet, your printer will be accessible by everyone - that also includes the bad guys!" +msgstr "Wenn Du die Zugangsbeschränkung deaktivierst und Deine OctoPrint Installation vom Internet aus erreichbar ist, kann jeder auf Deinen Drucker zugreifen - auch die bösen Jungs!" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:83 msgid "Please set up Access Control" msgstr "Bitte konfiguriere die Zugangsbeschränkung" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:84 -msgid "" -"You haven't yet set up access control. You need to either setup a " -"username and password and click \"Keep Access Control Enabled\" or click " -"\"Disable Access Control\" before continuing" -msgstr "" -"Du hast noch keine Zugriffsbeschränkung konfiguriert. Du musst entweder " -"einen Nutzernamen und ein Passwort festlegen und auf " -"\"Zugriffsbeschränkung aktivieren\" klicken oder auf " -"\"Zugriffsbeschränkung deaktivieren\" klicken bevor du fortfahren kannst" +msgid "You haven't yet set up access control. You need to either setup a username and password and click \"Keep Access Control Enabled\" or click \"Disable Access Control\" before continuing" +msgstr "Du hast noch keine Zugriffsbeschränkung konfiguriert. Du musst entweder einen Nutzernamen und ein Passwort festlegen und auf \"Zugriffsbeschränkung aktivieren\" klicken oder auf \"Zugriffsbeschränkung deaktivieren\" klicken bevor du fortfahren kannst" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:179 msgid "Please set up the online connectivity check" msgstr "Bitte konfiguriere die Onlineprüfung" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:180 -msgid "" -"You haven't yet decided on whether to enable or disable the online " -"connectivity check. You need to either enable or disable it before " -"continuing." -msgstr "" -"Du hast noch nicht entschieden, ob die Onlineprüfung aktiviert werden " -"soll. Du musst sie entweder aktivieren oder deaktivieren bevor du " -"fortfahren kannst." +msgid "You haven't yet decided on whether to enable or disable the online connectivity check. You need to either enable or disable it before continuing." +msgstr "Du hast noch nicht entschieden, ob die Onlineprüfung aktiviert werden soll. Du musst sie entweder aktivieren oder deaktivieren bevor du fortfahren kannst." #: src/octoprint/plugins/corewizard/static/js/corewizard.js:257 msgid "Please set up the plugin blacklist processing" msgstr "Bitte konfiguriere die Plugin Blackliste" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:258 -msgid "" -"You haven't yet decided on whether to enable or disable the plugin " -"blacklist processing. You need to either enable or disable it before " -"continuing." -msgstr "" -"Du hast noch nicht entschieden, ob die Plugin Blackliste aktiviert werden" -" soll. Du musst sie entweder aktivieren oder deaktivieren bevor du " -"fortfahren kannst." +msgid "You haven't yet decided on whether to enable or disable the plugin blacklist processing. You need to either enable or disable it before continuing." +msgstr "Du hast noch nicht entschieden, ob die Plugin Blackliste aktiviert werden soll. Du musst sie entweder aktivieren oder deaktivieren bevor du fortfahren kannst." #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:3 #, python-format -msgid "" -"

    \n" -" Please read the following, it is very important for your " -"printer's health!\n" +msgid "

    \n" +" Please read the following, it is very important for your printer's health!\n" "

    \n" "

    \n" -" OctoPrint by default ships with Access Control enabled, meaning you " -"won't be able to do anything with the\n" -" printer unless you login first as a configured user. This is to " -"prevent strangers - possibly with\n" -" malicious intent - to gain access to your printer via an " -"untrustworthy network\n" -" and using it in such a way that it is damaged or worse (i.e. causes a" -" fire).\n" +" OctoPrint by default ships with Access Control enabled, meaning you won't be able to do anything with the\n" +" printer unless you login first as a configured user. This is to prevent strangers - possibly with\n" +" malicious intent - to gain access to your printer via an untrustworthy network\n" +" and using it in such a way that it is damaged or worse (i.e. causes a fire).\n" "

    \n" "

    \n" -" If you plan on accessing OctoPrint remotely over the internet, " -"you should not only rely on the built-in\n" +" If you plan on accessing OctoPrint remotely over the internet, you should not only rely on the built-in\n" " Access Control mechanisms however -\n" -" take additional precautions.\n" -" Your OctoPrint enabled printer is a critical home appliance you " -"really should not give anyone who happens to be\n" -" connected to the internet access to - even read-only! An " -"instance available publicly on the internet\n" +" take additional precautions.\n" +" Your OctoPrint enabled printer is a critical home appliance you really should not give anyone who happens to be\n" +" connected to the internet access to - even read-only! An instance available publicly on the internet\n" " will be found, and people will try to break it open.\n" "

    \n" "

    \n" -" It looks like you haven't configured access control yet. Please " -"set up a username and password for the\n" -" initial administrator account who will have full access to both the " -"printer and OctoPrint's settings, then click\n" +" It looks like you haven't configured access control yet. Please set up a username and password for the\n" +" initial administrator account who will have full access to both the printer and OctoPrint's settings, then click\n" " on \"Keep Access Control Enabled\":\n" "

    " -msgstr "" -"

    \n" -" Bitte lies die folgenden Zeilen aufmerksam durch, es ist sehr" -" wichtig für die Gesundheit Deines Druckers!\n" +msgstr "

    \n" +" Bitte lies die folgenden Zeilen aufmerksam durch, es ist sehr wichtig für die Gesundheit Deines Druckers!\n" "

    \n" "

    \n" -" OctoPrint wird standardmäßig mit aktivierter Zugangsbeschränkung " -"ausgeliefert, das heißt, dass Du mit dem Drucker nichts\n" -" anfangen kannst, wenn du nicht als einer der konfigurierten Nutzer " -"eingeloggt bist. Das dient dem Zweck, Fremde mit\n" -" möglicherweise böswilligen Absichten davon abzuhalten, auf " -"Deinen Drucker über ein\n" -" unsicheres Netzwerk zuzugreifen und ihn auf eine Art zu nutzen, die " -"ihn beschädigt oder schlimmeres (z.B. ein Feuer verursacht).\n" +" OctoPrint wird standardmäßig mit aktivierter Zugangsbeschränkung ausgeliefert, das heißt, dass Du mit dem Drucker nichts\n" +" anfangen kannst, wenn du nicht als einer der konfigurierten Nutzer eingeloggt bist. Das dient dem Zweck, Fremde mit\n" +" möglicherweise böswilligen Absichten davon abzuhalten, auf Deinen Drucker über ein\n" +" unsicheres Netzwerk zuzugreifen und ihn auf eine Art zu nutzen, die ihn beschädigt oder schlimmeres (z.B. ein Feuer verursacht).\n" "

    \n" "

    \n" -" Falls du vor hast, auf OctoPrint über das Internet zuzugreifen, " -"solltest du dich nicht nur auf die eingebaute " -"Zugriffsbeschränkung<\n" +" Falls du vor hast, auf OctoPrint über das Internet zuzugreifen, solltest du dich nicht nur auf die eingebaute Zugriffsbeschränkung<\n" ">\n" -" verlassen - triff weitere " -"Maßnahmen.\n" -" Dein mit OctoPrint erweiterter Drucker ist ein kritisches " -"Haushaltsgerät, auf das du wirklich nicht jedem, der Zugriff auf das " -"Internet hat, auch\n" -" nur einen reinen Lesezugriff geben solltest! Eine Instanz, " -"die öffentlich über das Internet erreichbar ist, wird gefunden werden, \n" +" verlassen - triff weitere Maßnahmen.\n" +" Dein mit OctoPrint erweiterter Drucker ist ein kritisches Haushaltsgerät, auf das du wirklich nicht jedem, der Zugriff auf das Internet hat, auch\n" +" nur einen reinen Lesezugriff geben solltest! Eine Instanz, die öffentlich über das Internet erreichbar ist, wird gefunden werden, \n" " und Menschen werden versuchen, in sie einzubrechen.\n" "

    \n" "

    \n" -" Es sieht so aus, als hättest Du die Zugriffsbeschränkung noch nicht " -"konfiguriert. Bitte konfiguriere einen Usernamen\n" -" und ein Passwort für das initiale Administratorkonto, das " -"vollen Zugang zu sowohl dem Drucker als auch OctoPrints\n" -" Einstellungen haben wird, und klicke dann auf \"Zugangsbeschränkung " -"aktivieren\".\n" +" Es sieht so aus, als hättest Du die Zugriffsbeschränkung noch nicht konfiguriert. Bitte konfiguriere einen Usernamen\n" +" und ein Passwort für das initiale Administratorkonto, das vollen Zugang zu sowohl dem Drucker als auch OctoPrints\n" +" Einstellungen haben wird, und klicke dann auf \"Zugangsbeschränkung aktivieren\".\n" "

    " #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:27 @@ -1066,32 +880,22 @@ msgid "Passwords do not match" msgstr "Passwörter nicht identisch" #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:46 -msgid "" -"

    \n" -" Note: In case that your OctoPrint installation is " -"only accessible from within a trustworthy local network and you don't\n" -" need Access Control for other reasons, you may alternatively disable " -"Access Control. You should only\n" -" do this if you are absolutely certain that only people you know and " -"trust will be able to connect to it.\n" +msgid "

    \n" +" Note: In case that your OctoPrint installation is only accessible from within a trustworthy local network and you don't\n" +" need Access Control for other reasons, you may alternatively disable Access Control. You should only\n" +" do this if you are absolutely certain that only people you know and trust will be able to connect to it.\n" "

    \n" "

    \n" -" Do NOT underestimate the risk of access from the internet to " -"your printer and OctoPrint instance!\n" +" Do NOT underestimate the risk of access from the internet to your printer and OctoPrint instance!\n" "

    " -msgstr "" -"

    \n" -" Beachte: Falls Deine OctoPrint Installation " -"ausschließlich innerhalb eines vertrauenswürdigen Netzwerks\n" -" erreicht werden kann und Du die Zugangsbeschränkung nicht für andere " -"Zwecke benötigst, kannst Du sie alternativ auch\n" -" deaktivieren. Du solltest das nur tun, wenn Du Dir absolut sicher " -"bist, dass nur Leute darauf zugreifen können, die du kennst\n" +msgstr "

    \n" +" Beachte: Falls Deine OctoPrint Installation ausschließlich innerhalb eines vertrauenswürdigen Netzwerks\n" +" erreicht werden kann und Du die Zugangsbeschränkung nicht für andere Zwecke benötigst, kannst Du sie alternativ auch\n" +" deaktivieren. Du solltest das nur tun, wenn Du Dir absolut sicher bist, dass nur Leute darauf zugreifen können, die du kennst\n" " und denen du vertraust\n" "

    \n" "

    \n" -" UNTERSCHÄTZE NICHT das Risiko eines ungesicherten Zugriffs " -"aus dem Internet auf Deinen Drucker!\n" +" UNTERSCHÄTZE NICHT das Risiko eines ungesicherten Zugriffs aus dem Internet auf Deinen Drucker!\n" "

    " #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:56 @@ -1103,27 +907,19 @@ msgid "Keep Access Control Enabled" msgstr "Zugangsbeschränkung aktiviert lassen" #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:61 -msgid "" -"\n" -" Access control is enabled.\n" +msgid "\n" +" Access control is enabled.\n" " " -msgstr "" -"\n" -" Zugriffsbeschränkung aktiviert.\n" +msgstr "\n" +" Zugriffsbeschränkung aktiviert.\n" " " #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:64 -msgid "" -"\n" -" Access control is disabled.\n" +msgid "\n" +" Access control is disabled.\n" " " -msgstr "" -"\n" -" Zugriffsbeschränkung deaktiviert.\n" +msgstr "\n" +" Zugriffsbeschränkung deaktiviert.\n" " " #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:1 @@ -1131,86 +927,66 @@ msgid "Configure the connectivity check" msgstr "Konfiguriere die Onlineprüfung" #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:5 -msgid "" -"\n" -" If it is disabled OctoPrint will always assume to have a working " -"connection to the internet.\n" -" If that should not actually be the case, server startups, update " -"checks and the like might take longer.\n" -msgstr "" -"\n" -" Falls der Onlineverbindungscheck deaktiviert ist, wird OctoPrint " -"stets annehmen, mit dem Internet verbunden zu sein.\n" -" Ist das nicht tatsächlich der Fall so können Serverstartups, " -"Updatechecks und dergleichen länger dauern.\n" +msgid "\n" +" If it is disabled OctoPrint will always assume to have a working connection to the internet.\n" +" If that should not actually be the case, server startups, update checks and the like might take longer.\n" +msgstr "\n" +" Falls der Onlineverbindungscheck deaktiviert ist, wird OctoPrint stets annehmen, mit dem Internet verbunden zu sein.\n" +" Ist das nicht tatsächlich der Fall so können Serverstartups, Updatechecks und dergleichen länger dauern.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:10 -msgid "" -"\n" -" OctoPrint comes preconfigured to perform the connectivity check every" -" 15 minutes. You may change the value here.\n" -msgstr "" -"\n" -" OctoPrint führt die Onlineprüfung standardmäßig alle 15 Minuten " -"durch. Du kannst diesen Wert hier ändern.\n" +msgid "\n" +" OctoPrint comes preconfigured to perform the connectivity check every 15 minutes. You may change the value here.\n" +msgstr "\n" +" OctoPrint führt die Onlineprüfung standardmäßig alle 15 Minuten durch. Du kannst diesen Wert hier ändern.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:18 -msgid "" -"\n" -" OctoPrint comes preconfigured to utilize Google's DNS server " -"8.8.8.8, port 53 for the connectivity check (if\n" -" it's enabled). If you have concerns about using that, define the IP " -"and port of a different online server that you\n" +msgid "\n" +" OctoPrint comes preconfigured to utilize Google's DNS server 8.8.8.8, port 53 for the connectivity check (if\n" +" it's enabled). If you have concerns about using that, define the IP and port of a different online server that you\n" " trust and that has a high availability.\n" -msgstr "" -"\n" -" OctoPrint nutzt standardmäßig Googles DNS server 8.8.8.8" -" auf Port 53 für die Onlineprüfung (wenn diese aktiviert ist).\n" -" Falls du diesbezüglich Bedenken hast, konfiguriere IP und Port eines " -"anderen Servers im Netz dem du vertraust und der hoch verfügbar ist.\n" +msgstr "\n" +" OctoPrint nutzt standardmäßig Googles DNS server 8.8.8.8 auf Port 53 für die Onlineprüfung (wenn diese aktiviert ist).\n" +" Falls du diesbezüglich Bedenken hast, konfiguriere IP und Port eines anderen Servers im Netz dem du vertraust und der hoch verfügbar ist.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:30 -msgid "" -"\n" -" Finally, please decide on whether to enable or disable the " -"connectivity check. You may change the configuration at\n" -" any time through Settings > Server right from within OctoPrint.\n" -msgstr "" -"\n" -" Zum Schluss entscheide noch, ob die Onlineprüfung aktiviert oder " -"deaktiviert werden soll. \n" -" Du kannst diese Entscheidung auch jederzeit unter Einstellungen > " -"Server später noch ändern.\n" +msgid "\n" +" If you also want to check if name resolution works (strongly recommended), define a host name\n" +" to check name resolution against. If you don't know what to set here, the default value\n" +" (OctoPrint's domain) should work. If you don't want to perform regular resolution checks along\n" +" side with the general connectivity check, leave the field empty.\n" +msgstr "Falls du auch Überprüfen willst, ob die Namensauflösung funktioniert (sehr empfehlenswert), definiere einen Hostnamen gegen den die Auflösung geprüft werden soll. Falls du nicht weißt, was du hier eintragen sollst, sollte der Defaultwert (OctoPrints Domain) funktionieren. Falls du keine regelmäßigen Prüfungen der Namensauflösung zusammen mit der generellen Konnektivitätsprüfung vornehmen willst, dann lass das Feld leer.\n" -#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:36 +#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:44 +msgid "\n" +" Finally, please decide on whether to enable or disable the connectivity check. You may change the configuration at\n" +" any time through Settings > Server right from within OctoPrint.\n" +msgstr "\n" +" Zum Schluss entscheide noch, ob die Onlineprüfung aktiviert oder deaktiviert werden soll. \n" +" Du kannst diese Entscheidung auch jederzeit unter Einstellungen > Server später noch ändern.\n" + +#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:50 msgid "Disable Connectivity Check" msgstr "Onlineprüfung deaktivieren" -#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:37 +#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:51 msgid "Enable Connectivity Check" msgstr "Onlineprüfung aktivieren" -#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:41 -msgid "" -"\n" -" Connectivity check is enabled.\n" +#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:55 +msgid "\n" +" Connectivity check is enabled.\n" " " -msgstr "" -"\n" +msgstr "\n" " Onlineprüfung aktiviert.\n" " " -#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:44 -msgid "" -"\n" -" Connectivity check is disabled.\n" +#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:58 +msgid "\n" +" Connectivity check is disabled.\n" " " -msgstr "" -"\n" -" Onlineprüfung deaktiviert." -"\n" +msgstr "\n" +" Onlineprüfung deaktiviert.\n" " " #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:1 @@ -1218,53 +994,33 @@ msgid "Configure plugin blacklist processing" msgstr "Pluginblackliste konfigurieren" #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:3 -msgid "" -"\n" -" To protect against known severe issues with certain versions of third" -" party plugins, OctoPrint supports the use\n" -" of a centralized plugin version blacklist to automatically disable " -"such plugin versions before they can interfere with\n" -" normal operation, allowing you to uninstall or update them to a newer" -" version.\n" -msgstr "" -"\n" -" Um vor bekannten schweren Fehler mit bestimmten Third-Party-Plugins " -"zu schützen, unterstützt OctoPrint \n" -" die Verwendung einer zentralen Pluginblackliste um automatisiert " -"solche Pluginversionen zu deaktivieren \n" -" bevor sie mit dem normalen Betrieb von OctoPrint interferieren " -"können. Du kannst solche Plugins dann \n" +msgid "\n" +" To protect against known severe issues with certain versions of third party plugins, OctoPrint supports the use\n" +" of a centralized plugin version blacklist to automatically disable such plugin versions before they can interfere with\n" +" normal operation, allowing you to uninstall or update them to a newer version.\n" +msgstr "\n" +" Um vor bekannten schweren Fehler mit bestimmten Third-Party-Plugins zu schützen, unterstützt OctoPrint \n" +" die Verwendung einer zentralen Pluginblackliste um automatisiert solche Pluginversionen zu deaktivieren \n" +" bevor sie mit dem normalen Betrieb von OctoPrint interferieren können. Du kannst solche Plugins dann \n" " deinstallieren oder auf eine neue Version aktualisieren.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:9 #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistDescription.jinja2:7 #, python-format -msgid "" -"\n" -" By default, OctoPrint will use the blacklist hosted at " -"plugins.octoprint.org/blacklist.json which you\n" -" can also take a look at in a more human readable format here.\n" -msgstr "" -"\n" -" Standardmäßig wird OctoPrint die Blackliste von " -"plugins.octoprint.org/blacklist.json verwenden, \n" -" auf die du hier auch einen " -"Blick in menschenlesbarer Form werfen kannst.\n" +msgid "\n" +" By default, OctoPrint will use the blacklist hosted at plugins.octoprint.org/blacklist.json which you\n" +" can also take a look at in a more human readable format here.\n" +msgstr "\n" +" Standardmäßig wird OctoPrint die Blackliste von plugins.octoprint.org/blacklist.json verwenden, \n" +" auf die du hier auch einen Blick in menschenlesbarer Form werfen kannst.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:14 -msgid "" -"\n" -" Please decide whether to allow fetch and use of this centralized " -"blacklist starting with the next server start.\n" -" You may also change your decision at any time through Settings > " -"Server right from within OctoPrint.\n" -msgstr "" -"\n" -" Bitte entscheide, ob die zentrale Pluginblackliste ab dem nächsten " -"Serverstart genutzt werden soll. \n" -" Du kannst diese Entscheidung auch jederzeit unter Einstellungen > " -"Server später noch ändern.\n" +msgid "\n" +" Please decide whether to allow fetch and use of this centralized blacklist starting with the next server start.\n" +" You may also change your decision at any time through Settings > Server right from within OctoPrint.\n" +msgstr "\n" +" Bitte entscheide, ob die zentrale Pluginblackliste ab dem nächsten Serverstart genutzt werden soll. \n" +" Du kannst diese Entscheidung auch jederzeit unter Einstellungen > Server später noch ändern.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:20 msgid "Disable Plugin Blacklist Processing" @@ -1275,27 +1031,19 @@ msgid "Enable Plugin Blacklist Processing" msgstr "Pluginblackliste aktivieren" #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:25 -msgid "" -"\n" -" Plugin blacklist processing is enabled.\n" +msgid "\n" +" Plugin blacklist processing is enabled.\n" " " -msgstr "" -"\n" -" Pluginblackliste aktiviert.\n" +msgstr "\n" +" Pluginblackliste aktiviert.\n" " " #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:28 -msgid "" -"\n" -" Plugin blacklist processing is disabled.\n" +msgid "\n" +" Plugin blacklist processing is disabled.\n" " " -msgstr "" -"\n" -" Pluginblackliste deaktiviert.\n" +msgstr "\n" +" Pluginblackliste deaktiviert.\n" " " #: src/octoprint/plugins/corewizard/templates/corewizard_printerprofile_wizard.jinja2:1 @@ -1303,16 +1051,10 @@ msgid "Set up your printer profile" msgstr "Konfiguriere dein Druckerprofil" #: src/octoprint/plugins/corewizard/templates/corewizard_printerprofile_wizard.jinja2:2 -msgid "" -"Please make sure the settings below match your printer. If you plan on " -"connecting more than one printer\n" -"to OctoPrint, you can also configure additional printer profiles under " -"Settings > Printer Profiles" -msgstr "" -"Bitte stelle sicher, dass die folgenden Einstellungen deinem Drucker " -"entsprechen. Falls du planst, mehr als \n" -"einen Drucker mit OctoPrint zu verbinden, kannst du weitere " -"Druckerprofile unter Einstellungen > Druckerprofile konfigurieren" +msgid "Please make sure the settings below match your printer. If you plan on connecting more than one printer\n" +"to OctoPrint, you can also configure additional printer profiles under Settings > Printer Profiles" +msgstr "Bitte stelle sicher, dass die folgenden Einstellungen deinem Drucker entsprechen. Falls du planst, mehr als \n" +"einen Drucker mit OctoPrint zu verbinden, kannst du weitere Druckerprofile unter Einstellungen > Druckerprofile konfigurieren" #: src/octoprint/plugins/corewizard/templates/corewizard_printerprofile_wizard.jinja2:7 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:3 @@ -1339,16 +1081,11 @@ msgid "Hotend & extruder" msgstr "Hotend & Extruder" #: src/octoprint/plugins/corewizard/templates/corewizard_servercommands_wizard.jinja2:3 -msgid "" -"

    \n" -" OctoPrint supports calling external commands in order to restart " -"itself or restarting and/or shutting\n" +msgid "

    \n" +" OctoPrint supports calling external commands in order to restart itself or restarting and/or shutting\n" " down the system it is running on. You may configure those here.\n" "

    " -msgstr "" -"

    OctoPrint kann externe Befehle aufrufen, um sich selbst neu zu starten" -" oder das System, auf dem es läuft, neu zu starten und/oder " -"herunterzufahren. Du kannst diese Befehle hier konfigurieren.

    " +msgstr "

    OctoPrint kann externe Befehle aufrufen, um sich selbst neu zu starten oder das System, auf dem es läuft, neu zu starten und/oder herunterzufahren. Du kannst diese Befehle hier konfigurieren.

    " #: src/octoprint/plugins/corewizard/templates/corewizard_servercommands_wizard.jinja2:8 msgid "OctoPrint related commands" @@ -1363,8 +1100,7 @@ msgid "Webcam & Timelapse Recordings" msgstr "Webcam & Zeitrafferaufnahmen" #: src/octoprint/plugins/corewizard/templates/corewizard_webcam_wizard.jinja2:3 -msgid "" -"

    \n" +msgid "

    \n" " If you have a webcam, you may now configure it here.\n" "

    " msgstr "

    Falls du eine Webcam hast kannst du diese nun hier konfigurieren.

    " @@ -1375,48 +1111,25 @@ msgid "Webcam" msgstr "Webcam" #: src/octoprint/plugins/corewizard/templates/corewizard_webcam_wizard.jinja2:9 -msgid "" -"

    \n" -" The Stream URL is the URL OctoPrint uses to embed " -"the\n" +msgid "

    \n" +" The Stream URL is the URL OctoPrint uses to embed the\n" " actual webcam stream (which should be an MJPG stream) into the web\n" -" interface. This needs to be reachable from your " -"browser.\n" +" interface. This needs to be reachable from your browser.\n" "

    \n" " It may be\n" "

      \n" -"
    • a fully qualified URL " -"(http://host:port/path),
    • \n" +"
    • a fully qualified URL (http://host:port/path),
    • \n" "
    • a URL defaulting to the protocol used for accessing the web\n" " interface (e.g. //host:port/path),
    • \n" -"
    • an absolute path on the same host as OctoPrint (e.g. " -"/absolute/path) or
    • \n" -"
    • a relative path on the same host as OctoPrint (e.g. " -"relative/path)
    • \n" +"
    • an absolute path on the same host as OctoPrint (e.g. /absolute/path) or
    • \n" +"
    • a relative path on the same host as OctoPrint (e.g. relative/path)
    • \n" "
    \n" "

    \n" -" The Snapshot URL is the URL OctoPrint uses to fetch " -"single\n" -" images from the webcam for creating timelapse recordings. This needs " -"to be\n" -" a fully qualified URL reachable from the OctoPrint " -"server.\n" +" The Snapshot URL is the URL OctoPrint uses to fetch single\n" +" images from the webcam for creating timelapse recordings. This needs to be\n" +" a fully qualified URL reachable from the OctoPrint server.\n" "

    " -msgstr "" -"

    Die Stream-URL ist eine URL, die OctoPrint verwendet " -"um den eigentlichen Webcamstream (der ein MJPG Stream sein sollte) in das" -" Webinterface einzubetten. Diese URL muss aus deinem " -"Browser erreichbar sein.

    Mögliche Formen sind:

    • eine" -" voll definierte URL (http://host:port/path)
    • eine " -"URL relative zum Protokoll, über das auf das Webinterface zugegriffen " -"wird (z.B. //host:port/path),
    • ein absoluter Pfad auf" -" dem selben Host wie OctoPrint (z.B. /absolute/path) " -"oder
    • ein relativer Pfad auf dem selben Host wie OctoPrint (z.B. " -"relative/path)

    Die Snapshot-" -"URL ist eine URL, die OctoPrint verwendet um einzelne Bilder von" -" der Webcam für die Erstellung von Zeitrafferaufnahmen zu beziehen. Das " -"muss eine voll definierte URL sein, die vom OctoPrint " -"Server erreichbar ist.

    " +msgstr "

    Die Stream-URL ist eine URL, die OctoPrint verwendet um den eigentlichen Webcamstream (der ein MJPG Stream sein sollte) in das Webinterface einzubetten. Diese URL muss aus deinem Browser erreichbar sein.

    Mögliche Formen sind:

    • eine voll definierte URL (http://host:port/path)
    • eine URL relative zum Protokoll, über das auf das Webinterface zugegriffen wird (z.B. //host:port/path),
    • ein absoluter Pfad auf dem selben Host wie OctoPrint (z.B. /absolute/path) oder
    • ein relativer Pfad auf dem selben Host wie OctoPrint (z.B. relative/path)

    Die Snapshot-URL ist eine URL, die OctoPrint verwendet um einzelne Bilder von der Webcam für die Erstellung von Zeitrafferaufnahmen zu beziehen. Das muss eine voll definierte URL sein, die vom OctoPrint Server erreichbar ist.

    " #: src/octoprint/plugins/corewizard/templates/corewizard_webcam_wizard.jinja2:33 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:17 @@ -1424,25 +1137,17 @@ msgid "Timelapse Recordings" msgstr "Zeitrafferaufnahmen" #: src/octoprint/plugins/corewizard/templates/corewizard_webcam_wizard.jinja2:35 -msgid "" -"

    \n" -" To render the snapshots into timelapse recordings, OctoPrint also " -"needs to\n" +msgid "

    \n" +" To render the snapshots into timelapse recordings, OctoPrint also needs to\n" " know the correct path to FFMPEG.\n" "

    " -msgstr "" -"

    Um Snapshots zu Zeitrafferaufnahmen zu rendern muss OctoPrint auch den" -" korrekten Pfad zu FFMPEG wissen.

    " +msgstr "

    Um Snapshots zu Zeitrafferaufnahmen zu rendern muss OctoPrint auch den korrekten Pfad zu FFMPEG wissen.

    " #: src/octoprint/plugins/discovery/__init__.py:714 -msgid "" -"Without this plugin your OctoPrint instance will no longer be " -"discoverable on the network via Bonjour and uPnP." -msgstr "" -"Ohne dieses Plugin wird deine OctoPrint Instanz nicht mehr in deinem " -"Netzwerk mittels Bonjour oder uPnP automatisch auffindbar sein." +msgid "Without this plugin your OctoPrint instance will no longer be discoverable on the network via Bonjour and uPnP." +msgstr "Ohne dieses Plugin wird deine OctoPrint Instanz nicht mehr in deinem Netzwerk mittels Bonjour oder uPnP automatisch auffindbar sein." -#: src/octoprint/plugins/errortracking/__init__.py:73 +#: src/octoprint/plugins/errortracking/__init__.py:69 #: src/octoprint/plugins/errortracking/templates/errortracking_settings.jinja2:1 msgid "Error Tracking" msgstr "Fehlertracking" @@ -1452,70 +1157,46 @@ msgid "Enable error reporting?" msgstr "Fehlertracking aktivieren?" #: src/octoprint/plugins/errortracking/static/js/errortracking.js:37 -msgid "" -"

    It looks like you are tracking an OctoPrint RC release channel. It " -"would be great if you would enable error reporting so that any kind of " -"errors that occur with an RC can be looked into more easily. Thank " -"you!

    You can find more information on error reporting under " -"Settings > Error Tracking

    " -msgstr "" -"

    Es sieht so also, als hättest du einen OctoPrint RC Release Channel " -"abonniert. Es wäre klasse, wenn du Fehlertracking einschalten würdest, so" -" dass jedwede Art von Fehler, die mit diesem RC auftritt, einfacher " -"untersucht werden kann. Danke!

    Du kannst mehr zum " -"Fehlertracking erfahren unter Einstellungen > Fehlertracking

    " +msgid "

    It looks like you are tracking an OctoPrint RC release channel. It would be great if you would enable error reporting so that any kind of errors that occur with an RC can be looked into more easily. Thank you!

    You can find more information on error reporting under Settings > Error Tracking

    " +msgstr "

    Es sieht so also, als hättest du einen OctoPrint RC Release Channel abonniert. Es wäre klasse, wenn du Fehlertracking einschalten würdest, so dass jedwede Art von Fehler, die mit diesem RC auftritt, einfacher untersucht werden kann. Danke!

    Du kannst mehr zum Fehlertracking erfahren unter Einstellungen > Fehlertracking

    " #: src/octoprint/plugins/errortracking/static/js/errortracking.js:46 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:298 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:324 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:310 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:336 #: src/octoprint/static/js/app/viewmodels/loginstate.js:110 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:433 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:447 msgid "Ignore" msgstr "Ignorieren" #: src/octoprint/plugins/errortracking/static/js/errortracking.js:51 msgid "You can still enable error tracking via \"Settings\" > \"Error Tracking\"" -msgstr "" -"Du kannst Fehlertracking immer noch einschalten via \"Einstellungen\" > " -"\"Fehlertracking\"" +msgstr "Du kannst Fehlertracking immer noch einschalten via \"Einstellungen\" > \"Fehlertracking\"" #: src/octoprint/plugins/errortracking/templates/errortracking_settings.jinja2:3 -msgid "" -"\n" +msgid "\n" "

    \n" -" Error tracking will cause any logged exceptions in the server and the" -" browser interface to be sent\n" -" to OctoPrint's Sentry instance.\n" +" Error tracking will cause any logged exceptions in the server and the browser interface to be sent\n" +" to OctoPrint's Sentry instance.\n" "

    \n" "

    \n" -" By enabling it you help to gather detailed information on the cause " -"of bugs or other issues. This is especially valuable\n" -" on release candidates, which is why this plugin will also prompt you " -"to enable error tracking if it detects that\n" +" By enabling it you help to gather detailed information on the cause of bugs or other issues. This is especially valuable\n" +" on release candidates, which is why this plugin will also prompt you to enable error tracking if it detects that\n" " you are subscribed to an RC release channel.\n" "

    \n" "

    \n" -" Please enable this if you are running a release candidate, or are " -"prompted to do so while debugging an issue that you reported.\n" +" Please enable this if you are running a release candidate, or are prompted to do so while debugging an issue that you reported.\n" "

    \n" -msgstr "" -"\n" +msgstr "\n" "

    \n" -" Fehlertracking sendet jede geloggte Exception in Server und " -"Webinterface zu OctoPrint's Sentry-Instanz.\n" +" Fehlertracking sendet jede geloggte Exception in Server und Webinterface zu OctoPrint's Sentry-Instanz.\n" "

    \n" "

    \n" -" Wenn du es einschaltest hilfst du, detaillierte Informationen zu den " -"Hintergründen von Bugs und anderen Problemen to sammeln. Das\n" -" ist besonders wertvoll bei Release Candidates, weshalb dich dieses " -"Plugin auch bittet, es einzuschalten, wenn es erkennt, dass du\n" +" Wenn du es einschaltest hilfst du, detaillierte Informationen zu den Hintergründen von Bugs und anderen Problemen to sammeln. Das\n" +" ist besonders wertvoll bei Release Candidates, weshalb dich dieses Plugin auch bittet, es einzuschalten, wenn es erkennt, dass du\n" " einen RC Release Channel abonniert hast.\n" "

    \n" "

    \n" -" Bitte aktiviere dieses Plugin, wenn du einen Release Candidate nutzt, " -"oder wenn du darum im Rahmen des Debuggings eines von dir gemeldeten\n" +" Bitte aktiviere dieses Plugin, wenn du einen Release Candidate nutzt, oder wenn du darum im Rahmen des Debuggings eines von dir gemeldeten\n" " Problems gebeten wirst.\n" "

    \n" @@ -1538,67 +1219,68 @@ msgid "Instance ID" msgstr "Instanzkennung" #: src/octoprint/plugins/errortracking/templates/errortracking_settings.jinja2:35 -msgid "" -"\n" +msgid "\n" "

    \n" -" The Error Tracking plugin is using a Sentry instance kindly provided " -"by\n" -" sentry.io. For information on their service\n" -" please refer to their Security & Compliance " -"documentation\n" -" and their Privacy Policy.\n" +" The Error Tracking plugin is using a Sentry instance kindly provided by\n" +" sentry.io. For information on their service\n" +" please refer to their Security & Compliance documentation\n" +" and their Privacy Policy.\n" "

    \n" -msgstr "" -"\n" +msgstr "\n" "

    \n" -" Das Fehlertrackingplugin nutzt eine Sentry-Instanz die " -"freundlicherweise von\n" -" sentry.io zur Verfügung gestellt wird. Für Informationen " -"zu ihrem Service\n" -" schau dir bitte ihre Security & Compliance " -"documentation und ihre\n" -" Privacy Policy an.\n" +" Das Fehlertrackingplugin nutzt eine Sentry-Instanz die freundlicherweise von\n" +" sentry.io zur Verfügung gestellt wird. Für Informationen zu ihrem Service\n" +" schau dir bitte ihre Security & Compliance documentation und ihre\n" +" Privacy Policy an.\n" "

    \n" #: src/octoprint/plugins/logging/__init__.py:41 msgid "Allows to download and delete log files and list and set log levels." -msgstr "" -"Erlaubt den Download von Logdateien sowie deren Löschung und das Setzen " -"von Loglevels." +msgstr "Erlaubt den Download von Logdateien sowie deren Löschung und das Setzen von Loglevels." -#: src/octoprint/plugins/logging/__init__.py:226 -msgid "" -"Without this plugin you will no longer be able to retrieve OctoPrint's " -"logs or modify the current logging levels through the web interface." -msgstr "" -"Ohne dieses Plugin kannst du OctoPrints Logfiles nicht mehr über das " -"Webinterface herunterladen und auch die aktuellen Loglevel modifizieren." +#: src/octoprint/plugins/logging/__init__.py:228 +msgid "Without this plugin you will no longer be able to retrieve OctoPrint's logs or modify the current logging levels through the web interface." +msgstr "Ohne dieses Plugin kannst du OctoPrints Logfiles nicht mehr über das Webinterface herunterladen und auch die aktuellen Loglevel modifizieren." + +#: src/octoprint/plugins/logging/static/js/logging.js:115 +msgid "You currently have serial.log enabled. Please remember to turn it off again once your are done debugging whatever issue prompted you to turn it on." +msgstr "Du hast aktuell das serial.log aktiviert. Bitte denk daran, es wieder zu deaktivieren, nachdem du das Problem, für das du das Logging aktiviert hast, debuggt hast." + +#: src/octoprint/plugins/logging/static/js/logging.js:118 +msgid "It can negatively impact print performance and also take up a lot of storage space depending on how long you stay connected to your printer and thus should only be used for debugging." +msgstr "Es kann die Druckperformance negativ beeinflussen und außerdem viel Speicherplatz belegen, abhängig davon wie lange du mit deinem Drucker verbunden bleibst, und sollte daher nur für Debuggingzwecke verwendet werden." #: src/octoprint/plugins/logging/static/js/logging.js:124 +msgid "Log storage:" +msgstr "Logspeicher:" + +#: src/octoprint/plugins/logging/static/js/logging.js:160 #, python-format msgid "You are about to delete log file \"%(name)s\"." msgstr "Du bist im Begriff, das Logfile \"%(name)s\" zu löschen." -#: src/octoprint/plugins/logging/static/js/logging.js:148 +#: src/octoprint/plugins/logging/static/js/logging.js:184 #, python-format msgid "You are about to delete %(count)d log files." msgstr "Du bist im Begriff %(count)d Logfiles zu löschen." -#: src/octoprint/plugins/logging/static/js/logging.js:170 +#: src/octoprint/plugins/logging/static/js/logging.js:206 msgid "Deleting log files" msgstr "Lösche Logfiles" -#: src/octoprint/plugins/logging/static/js/logging.js:171 +#: src/octoprint/plugins/logging/static/js/logging.js:207 #, python-format msgid "Deleting %(count)d log files..." msgstr "Lösche %(count)d Logfiles" +#: src/octoprint/plugins/logging/templates/logging_navbar.jinja2:1 +msgid "serial.log is enabled" +msgstr "serial.log ist aktiviert" + +#: src/octoprint/plugins/logging/templates/logging_navbar.jinja2:1 +msgid "serial.log is enabled" +msgstr "serial.log ist aktiviert" + #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:1 msgid "Logs" msgstr "Logs" @@ -1610,7 +1292,7 @@ msgid "Sort by name" msgstr "Nach Name sortieren" #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:7 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:209 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:227 #: src/octoprint/templates/sidebar/files_header.jinja2:8 #: src/octoprint/templates/tabs/timelapse.jinja2:119 msgid "ascending" @@ -1622,16 +1304,21 @@ msgstr "Nach Änderungsdatum sortieren" #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:8 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:9 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:210 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:228 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:229 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:230 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:231 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:232 #: src/octoprint/templates/sidebar/files_header.jinja2:9 #: src/octoprint/templates/sidebar/files_header.jinja2:10 +#: src/octoprint/templates/sidebar/files_header.jinja2:11 #: src/octoprint/templates/tabs/timelapse.jinja2:120 #: src/octoprint/templates/tabs/timelapse.jinja2:121 msgid "descending" msgstr "absteigend" #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:9 -#: src/octoprint/templates/sidebar/files_header.jinja2:10 +#: src/octoprint/templates/sidebar/files_header.jinja2:11 #: src/octoprint/templates/tabs/timelapse.jinja2:121 msgid "Sort by file size" msgstr "Nach Größe sortieren" @@ -1645,9 +1332,9 @@ msgid "Level" msgstr "Level" #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:87 -#: src/octoprint/templates/sidebar/files.jinja2:26 -#: src/octoprint/templates/sidebar/files.jinja2:39 -#: src/octoprint/templates/sidebar/files.jinja2:49 +#: src/octoprint/templates/sidebar/files.jinja2:27 +#: src/octoprint/templates/sidebar/files.jinja2:41 +#: src/octoprint/templates/sidebar/files.jinja2:52 msgid "Remove" msgstr "Entfernen" @@ -1656,14 +1343,8 @@ msgid "Add" msgstr "Hinzufügen" #: src/octoprint/plugins/loginui/__init__.py:115 -msgid "" -"Without this plugin there will be no dedicated login page for users in " -"case anonymous read only access is disabled - instead your non logged in " -"visitors will get a broken UI." -msgstr "" -"Ohne dieses Plugin wird es keine Loginpage für User geben, falls anonymer" -" Readonly-Zugriff deaktiviert ist - statt dessen wird deinen nicht " -"eingeloggten Nutzerne eine kaputte UI präsentiert." +msgid "Without this plugin there will be no dedicated login page for users in case anonymous read only access is disabled - instead your non logged in visitors will get a broken UI." +msgstr "Ohne dieses Plugin wird es keine Loginpage für User geben, falls anonymer Readonly-Zugriff deaktiviert ist - statt dessen wird deinen nicht eingeloggten Nutzerne eine kaputte UI präsentiert." #: src/octoprint/plugins/loginui/templates/loginui_index.jinja2:19 msgid "Please log in" @@ -1697,9 +1378,7 @@ msgstr "Einloggen" #: src/octoprint/plugins/pi_support/__init__.py:201 msgid "Allows to check for the Pi's throttling status and environment info" -msgstr "" -"Erlaubt die Abfrage des Throttlestatus und der Umgebungsinformationen des" -" Raspberry Pis." +msgstr "Erlaubt die Abfrage des Throttlestatus und der Umgebungsinformationen des Raspberry Pis." #: src/octoprint/plugins/pi_support/__init__.py:237 #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:1 @@ -1707,41 +1386,24 @@ msgid "Pi Support" msgstr "Pi Support" #: src/octoprint/plugins/pi_support/__init__.py:335 -msgid "" -"Without this plugin OctoPrint will no longer be able to provide " -"additional information about your Pi, which will make it more tricky to " -"help you if you need support." -msgstr "" -"Ohne dieses Plugin kann OctoPrint nicht mehr zusätzliche Informationen " -"über deinen Pi Instanz zur Verfügung stellen, was es ggf. schwieriger " -"macht, dir zu helfen, falls du Support brauchst." +msgid "Without this plugin OctoPrint will no longer be able to provide additional information about your Pi, which will make it more tricky to help you if you need support." +msgstr "Ohne dieses Plugin kann OctoPrint nicht mehr zusätzliche Informationen über deinen Pi Instanz zur Verfügung stellen, was es ggf. schwieriger macht, dir zu helfen, falls du Support brauchst." #: src/octoprint/plugins/pi_support/static/js/pi_support.js:35 msgid "OctoPi" msgstr "OctoPi" #: src/octoprint/plugins/pi_support/static/js/pi_support.js:72 -msgid "" -"Undervoltage. Make sure your power supply and cabling are providing " -"enough power to the Pi." -msgstr "" -"Zu niedrige Spannung. Stelle sicher, dass dein Netzteil und die " -"Verkabelung dem Pi genug Strom liefern." +msgid "Undervoltage. Make sure your power supply and cabling are providing enough power to the Pi." +msgstr "Zu niedrige Spannung. Stelle sicher, dass dein Netzteil und die Verkabelung dem Pi genug Strom liefern." #: src/octoprint/plugins/pi_support/static/js/pi_support.js:73 msgid "Frequency capping due to overheating. Improve cooling of the CPU and GPU." -msgstr "" -"Heruntertaktung aufgrund von Überhitzung. Verbessere die Kühlung von CPU " -"und GPU." +msgstr "Heruntertaktung aufgrund von Überhitzung. Verbessere die Kühlung von CPU und GPU." #: src/octoprint/plugins/pi_support/static/js/pi_support.js:74 -msgid "" -"A blinking symbol indicates a current issue, a non blinking symbol one " -"that was observed some time since the Pi booted up." -msgstr "" -"Ein blinkendes Symbol zeigt ein aktuelles Problem an, ein nicht " -"blinkendes ein Problem, das irgendwann seit dem Bootup des Pis " -"aufgetreten ist." +msgid "A blinking symbol indicates a current issue, a non blinking symbol one that was observed some time since the Pi booted up." +msgstr "Ein blinkendes Symbol zeigt ein aktuelles Problem an, ein nicht blinkendes ein Problem, das irgendwann seit dem Bootup des Pis aufgetreten ist." #: src/octoprint/plugins/pi_support/static/js/pi_support.js:75 msgid "Click the symbol in the navbar for more information." @@ -1765,856 +1427,786 @@ msgstr "Überhitzung" #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:3 msgid "Please restart OctoPrint after changing any of this plugin's settings." -msgstr "" -"Bitte starte OctoPrint neu, nachdem du die Einstellungen dieses Plugins " -"geändert hast." +msgstr "Bitte starte OctoPrint neu, nachdem du die Einstellungen dieses Plugins geändert hast." #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:9 -msgid "" -"Enable under voltage and overheat detection via vcgencmd " -"get_throttled" -msgstr "" -"Erkennung zu niedriger Spannung und Überhitzung via vcgencmd " -"get_throttled einschalten" +msgid "Enable under voltage and overheat detection via vcgencmd get_throttled" +msgstr "Erkennung zu niedriger Spannung und Überhitzung via vcgencmd get_throttled einschalten" #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:11 -msgid "" -"This will regularly check with the Pi if something is amiss either with " -"power regulation or CPU/GPU temperature." -msgstr "" -"Es wird regelmäßig geprüft, ob etwas mit der Spannungsversorgung oder der" -" CPU/GPU Temperatur des Pis nicht stimmt." +msgid "This will regularly check with the Pi if something is amiss either with power regulation or CPU/GPU temperature." +msgstr "Es wird regelmäßig geprüft, ob etwas mit der Spannungsversorgung oder der CPU/GPU Temperatur des Pis nicht stimmt." #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:20 msgid "Command for under voltage/overheat detection" msgstr "Befehl für Spannungs-/Überhitzungserkennung" #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:23 -msgid "" -"Defaults to /usr/bin/vcgencmd get_throttled. You usually " -"shouldn't have to change this." -msgstr "" -"Standardeinstellung ist /usr/bin/vcgencmd get_throttled. Du " -"solltest das gewöhnlich nicht ändern müssen." - -#: src/octoprint/plugins/pluginmanager/__init__.py:163 -msgid "Allows to enable, disable and uninstall installed plugins." -msgstr "" -"Erlaubt das aktivieren, deaktivieren und deinstallieren installierter " -"Plugins." +msgid "Defaults to /usr/bin/vcgencmd get_throttled. You usually shouldn't have to change this." +msgstr "Standardeinstellung ist /usr/bin/vcgencmd get_throttled. Du solltest das gewöhnlich nicht ändern müssen." #: src/octoprint/plugins/pluginmanager/__init__.py:168 -msgid "Allows to install new plugins. Includes the \"Manage plugins\" permission." -msgstr "" -"Erlaubt das Installieren neuer Plugins. Beinhaltet die \"Manage plugins\"" -" Berechtigung" +msgid "Allows to enable, disable and uninstall installed plugins." +msgstr "Erlaubt das aktivieren, deaktivieren und deinstallieren installierter Plugins." -#: src/octoprint/plugins/pluginmanager/__init__.py:234 +#: src/octoprint/plugins/pluginmanager/__init__.py:173 +msgid "Allows to install new plugins. Includes the \"Manage plugins\" permission." +msgstr "Erlaubt das Installieren neuer Plugins. Beinhaltet die \"Manage plugins\" Berechtigung" + +#: src/octoprint/plugins/pluginmanager/__init__.py:239 msgid "Plugin Manager" msgstr "Pluginmanager" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:178 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:219 msgid "There are no plugin notices. Great!" msgstr "Keine Nachrichten zu deinen Plugins. Super!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:180 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:221 msgid "There is a plugin notice for one of your installed plugins." msgstr "Es gibt eine Nachricht zu einem deiner installierten Plugins." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:182 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:223 #, python-format -msgid "" -"There are %(count)d plugin notices for one or more of your installed " -"plugins." -msgstr "" -"Es gibt %(count)d Nachrichten zu einem oder mehreren deiner installierten" -" Plugins." +msgid "There are %(count)d plugin notices for one or more of your installed plugins." +msgstr "Es gibt %(count)d Nachrichten zu einem oder mehreren deiner installierten Plugins." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:290 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:551 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:331 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:599 msgid "Installing plugin..." msgstr "Installiere Plugin..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:290 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:331 msgid "Installing plugin from uploaded archive..." msgstr "Installiere Plugin von hochgeladenem Archiv..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:311 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:459 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:575 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:616 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:666 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:698 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:907 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:352 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:504 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:623 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:664 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:714 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:746 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:955 #: src/octoprint/plugins/tracking/static/js/usage.js:83 msgid "Something went wrong" msgstr "Etwas ist schief gegangen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:312 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:460 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:576 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:617 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:667 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:699 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:353 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:505 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:624 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:665 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:715 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:747 msgid "Please consult octoprint.log for details" msgstr "Bitte konsultiere octoprint.log für Details" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:480 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:525 #, python-format msgid "You are about to disable \"%(name)s\"." msgstr "Du bist im Begriff \"%(name)s\" zu deaktivieren." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:483 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:528 msgid "This is not recommended" msgstr "Das ist nicht empfohlen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:485 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:530 msgid "Do you still want to disable it?" msgstr "Möchtest du es immer noch deaktivieren?" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:486 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:495 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:531 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:540 msgid "Keep enabled" msgstr "Aktiviert lassen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:487 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:532 msgid "Disable anyway" msgstr "Trotzdem deaktivieren" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:494 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:539 #, python-format msgid "You are about to disable \"%(name)s\"" msgstr "Du bist im Begriff \"%(name)s\" zu deaktivieren." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:496 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:541 msgid "Disable plugin" msgstr "Plugin disablen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:553 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:601 #, python-format msgid "Installing plugin \"%(name)s\" from %(url)s..." msgstr "Installiere Plugin \"%(name)s\" von %(url)s..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:555 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:603 #, python-format msgid "Installing plugin from %(url)s..." msgstr "Installiere Plugin von %(url)s..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:558 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:606 msgid "Reinstalling plugin..." msgstr "Reinstalliere Plugin..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:559 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:607 #, python-format msgid "Reinstalling plugin \"%(name)s\" from %(url)s..." msgstr "Reinstalliere Plugin \"%(name)s\" von %(url)s..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:608 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:656 msgid "Uninstalling plugin..." msgstr "Deinstalliere Plugin..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:608 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:656 #, python-format msgid "Uninstalling plugin \"%(name)s\"" msgstr "Deinstalliere Plugin \"%(name)s\"" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:628 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:676 #, python-format msgid "You are about to uninstall the plugin \"%(name)s\"" msgstr "Du bist im Begriff \"%(name)s\" zu deinstallieren." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:629 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:677 msgid "Keep installed" msgstr "Installiert lassen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:631 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:679 msgid "Uninstall" msgstr "Deinstallieren" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:632 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:680 msgid "Uninstall & clean up data" msgstr "Deinstallieren & Daten löschen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:658 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:706 msgid "Cleaning up plugin data..." msgstr "Lösche Plugindaten..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:658 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:706 #, python-format msgid "Cleaning up data of plugin \"%(name)s\"" msgstr "Lösche Daten von Plugin \"%(name)s\"" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:678 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:726 #, python-format -msgid "" -"You are about to cleanup the plugin data of \"%(name)s\". This operation " -"cannot be reversed." -msgstr "" -"Du bist im Begriff, die Daten des Plugins \"%(name)s\" zu löschen. Dieser" -" Vorgang kann nicht rückgängig gemacht werden." +msgid "You are about to cleanup the plugin data of \"%(name)s\". This operation cannot be reversed." +msgstr "Du bist im Begriff, die Daten des Plugins \"%(name)s\" zu löschen. Dieser Vorgang kann nicht rückgängig gemacht werden." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:679 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:711 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:727 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:759 msgid "Keep data" msgstr "Daten behalten" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:680 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:728 msgid "Cleanup data" msgstr "Daten löschen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:692 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:740 msgid "Cleaning up all left over plugin data..." msgstr "Übergebliebene Plugindaten werden gelöscht..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:710 -msgid "" -"You are about to cleanup left over plugin settings and data of plugins no" -" longer installed. This operation cannot be reversed." -msgstr "" -"Du bist im Begriff, Daten und Einstellungen von Plugins zu löschen, die " -"nicht mehr installiert sind. Dieser Vorgang kann nicht rückgängig gemacht" -" werden." +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:758 +msgid "You are about to cleanup left over plugin settings and data of plugins no longer installed. This operation cannot be reversed." +msgstr "Du bist im Begriff, Daten und Einstellungen von Plugins zu löschen, die nicht mehr installiert sind. Dieser Vorgang kann nicht rückgängig gemacht werden." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:712 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:760 msgid "Cleanup all data" msgstr "Alle Daten löschen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:815 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:863 msgid "Reinstall" msgstr "Reinstallieren" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:815 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:272 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:288 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:863 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:305 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:321 msgid "Install" msgstr "Installieren" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:815 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:71 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:863 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:79 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:257 msgid "Disabled" msgstr "Deaktiviert" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:815 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:863 msgid "Incompatible" msgstr "Inkompatibel" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:824 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:872 msgid "Plugin management log" msgstr "Pluginmanagementlog" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:832 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:880 #, python-format msgid "%(count)d earlier actions..." msgstr "%(count)d frühere Aktionen..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:834 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:882 #, python-format msgid "%(count)d earlier action" msgstr "%(count)d frühere Aktion" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:845 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:893 #, python-format msgid "Install %(plugin)s: %(result)s" msgstr "%(plugin)s installiert: %(result)s" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:849 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:897 #, python-format msgid "Uninstall %(plugin)s: %(result)s" msgstr "%(plugin)s deinstalliert: %(result)s" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:853 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:901 #, python-format msgid "Enable %(plugin)s: %(result)s" msgstr "%(plugin)s aktiviert: %(result)s" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:857 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:905 #, python-format msgid "Disable %(plugin)s: %(result)s" msgstr "%(plugin)s deaktiviert: %(result)s" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:861 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:909 #, python-format msgid "Cleanup %(plugin)s: %(result)s" msgstr "Löschen der Daten von %(plugin)s: %(result)s" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:865 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:913 #, python-format msgid "Cleanup all: %(result)s" msgstr "Alle Daten löschen: %(result)s" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:882 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:930 msgid "A restart is needed for the changes to take effect." -msgstr "" -"Ein Neustart von OctoPrint ist notwendig, damit die Änderungen wirksam " -"werden." +msgstr "Ein Neustart von OctoPrint ist notwendig, damit die Änderungen wirksam werden." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:890 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:938 msgid "Restart now" msgstr "Jetzt neu starten" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:895 -msgid "" -"This will restart your OctoPrint server.

    This " -"action may disrupt any ongoing print jobs (depending on your printer's " -"controller and general setup that might also apply to prints run directly" -" from your printer's internal storage)." -msgstr "" -"Dies wird deinen OctoPrint Server neu " -"starten

    Diese Aktion wird laufende Druckaufträge " -"unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup " -"gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers" -" laufen lässt)." +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:943 +msgid "This will restart your OctoPrint server.

    This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." +msgstr "Dies wird deinen OctoPrint Server neu starten

    Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:901 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:949 msgid "Restart in progress" msgstr "Neustart findet statt" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:902 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:950 msgid "The server is now being restarted in the background" msgstr "Der Server wird nun im Hintergrund neu gestartet" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:908 -msgid "" -"Trying to restart the server produced an error, please check " -"octoprint.log for details. You'll have to restart manually." -msgstr "" -"Beim Versuch, den Server neu zu starten, ist ein Fehler aufgetreten. " -"Bitte konsultiere octoprint.log für Details. Du musst manuell neu " -"starten." +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:956 +msgid "Trying to restart the server produced an error, please check octoprint.log for details. You'll have to restart manually." +msgstr "Beim Versuch, den Server neu zu starten, ist ein Fehler aufgetreten. Bitte konsultiere octoprint.log für Details. Du musst manuell neu starten." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:921 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:969 msgid "A refresh is needed for the changes to take effect." -msgstr "" -"Ein Neuladen von OctoPrint ist notwendig, damit die Änderungen wirksam " -"werden." +msgstr "Ein Neuladen von OctoPrint ist notwendig, damit die Änderungen wirksam werden." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:928 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:976 #: src/octoprint/templates/overlays/reloadui.jinja2:14 msgid "Reload now" msgstr "Jetzt neu laden" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:937 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:985 msgid "A reconnect to the printer is needed for the changes to take effect." -msgstr "" -"Ein Reconnect zum Drucker ist notwendig, damit die Änderungen wirksam " -"werden." +msgstr "Ein Reconnect zum Drucker ist notwendig, damit die Änderungen wirksam werden." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:974 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1022 msgid "Error!" msgstr "Fehler!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:977 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1025 msgid "Done!" msgstr "Fertig!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1003 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1051 msgid "Blacklisted" msgstr "Geblacklistet" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1005 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1053 msgid "Disabled due to active safe mode" msgstr "Deaktiviert wegen aktiviertem Safe Mode" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1007 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1055 msgid "Enable Plugin" msgstr "Plugin enablen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1010 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1058 msgid "Disable Plugin" msgstr "Plugin disablen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1030 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1078 #, python-format -msgid "" -"There are %(count)d notices (%(important)d marked as important) available" -" regarding this plugin - click to show!" -msgstr "" -"Es gibt %(count)d Nachrichten (%(important)d als wichtig markiert) zu " -"diesem Plugin - hier klicken um sie anzuzeigen!" +msgid "There are %(count)d notices (%(important)d marked as important) available regarding this plugin - click to show!" +msgstr "Es gibt %(count)d Nachrichten (%(important)d als wichtig markiert) zu diesem Plugin - hier klicken um sie anzuzeigen!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1032 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1080 #, python-format -msgid "" -"There are %(count)d notices available regarding this plugin - click to " -"show!" -msgstr "" -"Es gibt %(count)d Nachrichten zu diesem Plugin - hier klicken um sie " -"anzuzeigen!" +msgid "There are %(count)d notices available regarding this plugin - click to show!" +msgstr "Es gibt %(count)d Nachrichten zu diesem Plugin - hier klicken um sie anzuzeigen!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1036 -msgid "" -"There is an important notice available regarding this plugin - click to " -"show!" -msgstr "" -"Es gibt eine wichtige Nachricht zu diesem Plugin - hier klicken um sie " -"anzuzeigen!" +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1084 +msgid "There is an important notice available regarding this plugin - click to show!" +msgstr "Es gibt eine wichtige Nachricht zu diesem Plugin - hier klicken um sie anzuzeigen!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1038 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1086 msgid "There is a notice available regarding this plugin - click to show!" msgstr "Es gibt eine Nachricht zu diesem Plugin - hier klicken um sie anzuzeigen!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1052 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1100 #, python-format msgid "Important notice regarding plugin \"%(name)s\"" msgstr "Wichtige Nachricht zu Plugin \"%(name)s\"" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1054 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1102 #, python-format msgid "Notice regarding plugin \"%(name)s\"" msgstr "Nachricht zu Plugin \"%(name)s\"" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1061 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1109 #, python-format msgid "Affected versions: %(versions)s" msgstr "Betroffene Versionen: %(versions)s" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1063 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1111 msgid "Affected versions: all" msgstr "Betroffene Versionen: alle" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1068 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1116 msgid "Read more..." msgstr "Mehr..." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:3 -msgid "" -"Take note that all plugin management functionality is disabled while your" -" printer is printing or paused." -msgstr "" -"Bitte beachte, dass jegliche Pluginmanagementfunktionen während des " -"Druckens (auch bei Pausierung) deaktiviert sind." +msgid "Take note that all plugin management functionality is disabled while your printer is printing or paused." +msgstr "Bitte beachte, dass jegliche Pluginmanagementfunktionen während des Druckens (auch bei Pausierung) deaktiviert sind." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:8 -msgid "" -"\n" -" The pip command could not be found or does not work " -"correctly\n" -" for this installation of OctoPrint - please consult the log file for " -"details\n" -" and if necessary configure it manually. No installation and " -"uninstallation of plugin\n" +msgid "\n" +" The pip command could not be found or does not work correctly\n" +" for this installation of OctoPrint - please consult the log file for details\n" +" and if necessary configure it manually. No installation and uninstallation of plugin\n" " packages is possible while pip is unavailable.\n" -msgstr "" -"\n" -" Der pip Befehl konnte nicht gefunden werden oder " -"funktioniert nicht richtig - bitte konsultiere die Logdatei für Details " -"und fall nötig konfiguriere den Befehl manuell. Installation und " -"Deinstallation von Plugins ist nicht möglich, solange pip " -"nicht verfügbar ist.\n" +msgstr "\n" +" Der pip Befehl konnte nicht gefunden werden oder funktioniert nicht richtig - bitte konsultiere die Logdatei für Details und fall nötig konfiguriere den Befehl manuell. Installation und Deinstallation von Plugins ist nicht möglich, solange pip nicht verfügbar ist.\n" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:17 -msgid "" -"\n" -" Safe mode is currently active. All third party plugins are disabled " -"and cannot be\n" +msgid "\n" +" Safe mode is currently active. All third party plugins are disabled and cannot be\n" " enabled. Installation of plugin packages is disabled.\n" -msgstr "" -"Der Safe Mode ist aktuell aktiviert. Alle Third-Party-Plugins sind " -"deaktiviert und können nicht aktiviert werden. Installation von Plugins " -"ist deaktiviert." +msgstr "Der Safe Mode ist aktuell aktiviert. Alle Third-Party-Plugins sind deaktiviert und können nicht aktiviert werden. Installation von Plugins ist deaktiviert." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:24 -msgid "" -"\n" -" The system OctoPrint is running on is currently throttled. Due to " -"that it's not possible to install new\n" -" plugins in order to avoid possible issues caused by system " -"instability.\n" -msgstr "" -"Das System, auf dem OctoPrint läuft, ist aktuell leistungsbegrenzt. Um " -"mögliche Probleme in Folge von dadurch\n" -"verursachter Systeminstabilität zu verhindern, ist es daher aktuell nicht" -" möglich, neue Plugins zu installieren.\n" +msgid "\n" +" The system OctoPrint is running on is currently throttled. Due to that it's not possible to install new\n" +" plugins in order to avoid possible issues caused by system instability.\n" +msgstr "Das System, auf dem OctoPrint läuft, ist aktuell leistungsbegrenzt. Um mögliche Probleme in Folge von dadurch\n" +"verursachter Systeminstabilität zu verhindern, ist es daher aktuell nicht möglich, neue Plugins zu installieren.\n" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:31 -msgid "" -"\n" -" It looks like OctoPrint has currently no connection to the internet. " -"Due to that it's not possible\n" +msgid "\n" +" It looks like OctoPrint has currently no connection to the internet. Due to that it's not possible\n" " to install new plugins from the plugin repository or archive URLs.\n" -msgstr "" -"OctoPrint scheint zur Zeit keine Verbindung zum Internet zu haben. Daher " -"ist es nicht möglich, neue Plugins aus dem Pluginrepository oder von URL " -"zu installieren." +msgstr "OctoPrint scheint zur Zeit keine Verbindung zum Internet zu haben. Daher ist es nicht möglich, neue Plugins aus dem Pluginrepository oder von URL zu installieren." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:39 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:38 +msgid "\n" +" There appears to have been an error retrieving the plugin data from the backend. Please report this\n" +" in the bug tracker & be sure to include all requested logs.\n" +msgstr "Es gab einen Fehler beim Abruf der Plugindaten vom Backend. Bitte melde dies im Bugtracker mit allen erbetenen Logs.\n" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:46 #: src/octoprint/server/views.py:543 msgid "Plugins" msgstr "Plugins" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:42 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:147 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:49 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:157 msgid "Cleanup" msgstr "Löschen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:54 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:316 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:57 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:99 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:62 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:350 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:74 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:116 msgid "Plugin Configuration" msgstr "Pluginkonfiguration" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:57 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:65 msgid "Installed Plugins" msgstr "Installierte Plugins" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:60 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:221 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:68 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:219 #: src/octoprint/templates/sidebar/files.jinja2:3 msgid "Search..." msgstr "Suchen..." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:64 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:72 msgid "Show both bundled and third-party plugins" msgstr "Gebundlete und third-party Plugins anzeigen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:65 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:73 msgid "Show only bundled plugins" msgstr "Nur gebundlete Plugins anzeigen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:65 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:73 msgid "Bundled" msgstr "Gebundled" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:66 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:74 msgid "Show only third-party plugins" msgstr "Zeige nur Third-Party-Plugins" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:66 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:74 msgid "3rd party" msgstr "3rd party" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:69 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:77 msgid "Show both enabled and disabled plugins" msgstr "Aktivierte und deaktivierte Plugins anzeigen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:70 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:78 msgid "Show only enabled plugins" msgstr "Nur aktivierte Plugins anzeigen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:70 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:78 msgid "Enabled" msgstr "Aktiviert" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:71 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:79 msgid "Show only disabled plugins" msgstr "Nur deaktivierte Plugins anzeigen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Bundled with OctoPrint" msgstr "Mit OctoPrint gebundlet" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Cannot be uninstalled through OctoPrint" msgstr "Kann nicht aus OctoPrint heraus deinstalliert werden" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:256 msgid "Incompatible to OctoPrint or the underlying Python environment" msgstr "Inkompatibel zu OctoPrint oder der Pythonumgebung" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Restart of OctoPrint needed for changes to take effect" -msgstr "" -"Ein Neustart von OctoPrint ist notwendig, damit die Änderungen wirksam " -"werden" +msgstr "Ein Neustart von OctoPrint ist notwendig, damit die Änderungen wirksam werden" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Pending install" msgstr "Bevorstehende Installation" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Pending uninstall" msgstr "Bevorstehende Deinstallation" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Disabled due to safe mode" msgstr "Deaktiviert aufgrund von aktivem Sicherheitsmodus" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "There are notices available regarding this plugin" msgstr "Es gibt keine Nachrichten zu diesem Plugin" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "This plugin is blacklisted" msgstr "Das Plugin ist geblacklistet" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:91 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:233 -#: src/octoprint/templates/index.jinja2:160 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:97 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:261 +#: src/octoprint/templates/footer.jinja2:7 msgid "Homepage" msgstr "Homepage" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:99 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:164 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:109 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:174 msgid "Cleanup Plugin Data" msgstr "Plugindaten löschen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:99 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:109 msgid "Uninstall Plugin" msgstr "Plugin deinstallieren" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:106 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:116 msgid "Get More..." msgstr "Mehr..." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:135 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:145 msgid "Reshow current notices" msgstr "Aktuelle Nachrichten erneut anzeigen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:136 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:146 msgid "Refresh notices from repository" msgstr "Nachrichten von Repository neu laden" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:144 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:154 msgid "Refresh" msgstr "Auffrischen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:154 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:164 #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorGeneral.jinja2:10 msgid "Identifier" msgstr "ID" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:171 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:181 msgid "Cleanup all" msgstr "Alle Daten löschen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:174 -msgid "" -"Nothing to cleanup! There are no settings or data left over from plugins " -"which are no longer installed." -msgstr "" -"Nichts zu löschen! Es gibt keine Einstellungen oder Daten, die von " -"Plugins übrig geblieben sind, die nicht mehr installiert sind." +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:184 +msgid "Nothing to cleanup! There are no settings or data left over from plugins which are no longer installed." +msgstr "Nichts zu löschen! Es gibt keine Einstellungen oder Daten, die von Plugins übrig geblieben sind, die nicht mehr installiert sind." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:194 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:204 msgid "Install new Plugins..." msgstr "Installation neuer Plugins..." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:203 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:214 #, python-format msgid "... from the Plugin Repository" msgstr "... vom Plugin Repository" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:209 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:227 msgid "Sort by title" msgstr "Nach Titel sortieren" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:210 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:228 msgid "Sort by publication date" msgstr "Nach Veröffentlichungsdatum sortieren" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:212 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:229 +msgid "Sort by last release date" +msgstr "Nach letztem Releasedatum sortieren" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:230 +msgid "Sort by last push date" +msgstr "Nach letztem Pushdatum sortieren" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:231 +msgid "Sort by active instance count" +msgstr "Nach Anzahl aktiver Instanzen sortieren" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:232 +msgid "Sort by Github stars" +msgstr "Nach Anzahl Github Stars sortieren" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:234 msgid "Only show uninstalled plugins" msgstr "Nur uninstallierte Plugins anzeigen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:213 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:235 msgid "Only show compatible plugins" msgstr "Nur kompatible Plugins anzeigen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:215 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:236 +msgid "Only show unabandoned plugins" +msgstr "Nur ungepflegte Plugins anzeigen" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:238 msgid "Refresh list from repository" msgstr "Liste vom Repository neu laden" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:232 -#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:6 -#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:5 -msgid "Details" -msgstr "Details" - -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:241 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:251 msgid "\"Why?\"" msgstr "\"Warum?\"" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:250 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:255 +msgid "Abandoned by its maintainer" +msgstr "Vom Maintainer nicht mehr gepflegt" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:266 +msgid "License" +msgstr "Lizenz" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:267 +msgid "Publication date" +msgstr "Veröffentlichungsdatum" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:268 +msgid "Active instances past month" +msgstr "Aktive Instanzen im letzten Monat" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:269 +msgid "Github stars" +msgstr "Github Stars" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:270 +msgid "Last push to main branch" +msgstr "Letzter Push zum Hauptbranch" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:271 +msgid "Latest release & date" +msgstr "Letztes Release und Releasedatum" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:278 +msgid "plugins displayed" +msgstr "Plugins angezeigt" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:283 msgid "Sadly the repository is currently not available" msgstr "Das Repository ist leider zur Zeit nicht verfügbar" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:253 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:286 msgid "Is your OctoPrint installation connected to the internet?" msgstr "Ist Deine OctoPrint Installation mit dem Internet verbunden?" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:260 -msgid "It looks like there are no compatible plugins available" -msgstr "Es sieht so aus als wären keine kompatiblen Plugins verfügbar" +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:293 +msgid "It looks like there are no plugins that match your search criteria" +msgstr "Es sieht so aus als wären keine Plugins verfügbar, die der Suche entsprechen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:265 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:298 msgid "... from URL" msgstr "... von URL" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:270 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:303 msgid "Enter URL..." msgstr "URL eingeben..." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:274 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:307 #, python-format -msgid "" -"This does not look like a valid URL. Expected http, https or any of the " -"supported VCS URLs." -msgstr "" -"Das sieht nicht wie eine valide URL aus. Erwarte http, https oder eine " -"der unterstützten VCS URLs." +msgid "This does not look like a valid URL. Expected http, https or any of the supported VCS URLs." +msgstr "Das sieht nicht wie eine valide URL aus. Erwarte http, https oder eine der unterstützten VCS URLs." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:277 -msgid "... from an uploaded archive" -msgstr "... von einem hochgeladenen Archiv" +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:310 +msgid "... from an uploaded file" +msgstr "... von einer hochgeladenen Datei" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:290 -msgid "" -"This does not look like a valid plugin archive. Valid plugin archives " -"should be either zip files or tarballs and have the extension \".zip\", " -"\".tar.gz\", \".tgz\" or \".tar\"" -msgstr "" -"Das sieht nicht aus wie ein valides Pluginarchiv. Valide Pluginarchive " -"sollten entweder ZIP-Dateien oder Tarballs sein und die Dateiextension " -"\".zip\", \".tar.gz\", \".tgz\" oder \".tar\" haben" +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:323 +msgid "This does not look like a valid plugin. Valid plugins should be either zip files or tarballs installable via pip that have the extension \".zip\", \".tar.gz\", \".tgz\" or \".tar\", or single file python plugins with the extension \".py\"" +msgstr "Das sieht nicht wie valides Plugin aus. Valide Plugins sollten entweder Zipdateien oder Tarballs sein, die über pip installiert werden können und die Endungen \".zip\", \".tar.gz\", \".tgz\" oder \".tar\" haben, oder Single File Plugins mit der Endung \".py\"" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:300 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:333 msgid "Use --process-dependency-links with pip install" -msgstr "" -"--process-dependency-link mit pip install " -"verwenden" +msgstr "--process-dependency-link mit pip install verwenden" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:321 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:355 msgid "Confirmations" msgstr "Bestätigungsdialoge" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:323 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:326 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:357 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:360 msgid "Confirm before disabling a plugin" msgstr "Deaktivierung eines Plugins bestätigen lassen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:332 -msgid "" -"You should normally not have to change " -"any of the following settings, they are purely provided " -"for convenience here." -msgstr "" -"Du solltest keine der folgenden Einstellungen ändern " -"müssen, sie sind hier nur aus Gründen der Vollständigkeit aufgeführt." +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:366 +msgid "You should normally not have to change any of the following settings, they are purely provided for convenience here." +msgstr "Du solltest keine der folgenden Einstellungen ändern müssen, sie sind hier nur aus Gründen der Vollständigkeit aufgeführt." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:335 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:369 msgid "Plugin repository configuration" msgstr "Pluginrepositorykonfiguration" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:337 -msgid "" -"URL of the Plugin Repository to use. You should normally not have to " -"change this." -msgstr "" -"URL des zu nutzenden Pluginrepositories. Du solltest hier normalerweise " -"nichts ändern müssen." +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:371 +msgid "URL of the Plugin Repository to use. You should normally not have to change this." +msgstr "URL des zu nutzenden Pluginrepositories. Du solltest hier normalerweise nichts ändern müssen." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:338 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:372 msgid "Repository URL" msgstr "Repository-URL" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:343 -msgid "" -"How long to cache repository data, in minutes. You should normally not " -"have to change this." -msgstr "" -"Wie lange die Repositorydaten gecached werden sollen, in Minuten. Du " -"solltest hier normalerweise nichts ändern müssen." +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:377 +msgid "How long to cache repository data, in minutes. You should normally not have to change this." +msgstr "Wie lange die Repositorydaten gecached werden sollen, in Minuten. Du solltest hier normalerweise nichts ändern müssen." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:344 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:378 msgid "Repository cache TTL" msgstr "Repository-Cache TTL" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:355 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:389 msgid "Notices configuration" msgstr "Nachrichtenkonfiguration" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:357 -msgid "" -"URL of the Notices source to use. You should normally not have to change " -"this." -msgstr "" -"URL der zu nutzenden Nachrichtenquelle. Du solltest hier normalerweise " -"nichts ändern müssen." +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:391 +msgid "URL of the Notices source to use. You should normally not have to change this." +msgstr "URL der zu nutzenden Nachrichtenquelle. Du solltest hier normalerweise nichts ändern müssen." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:358 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:392 msgid "Notices URL" msgstr "Nachrichten URL" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:363 -msgid "" -"How long to cache notices, in minutes. You should normally not have to " -"change this." -msgstr "" -"Wie lange Nachrichten gecached werden sollen, in Minuten. Du solltest " -"hier normalerweise nichts ändern müssen." +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:397 +msgid "How long to cache notices, in minutes. You should normally not have to change this." +msgstr "Wie lange Nachrichten gecached werden sollen, in Minuten. Du solltest hier normalerweise nichts ändern müssen." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:364 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:398 msgid "Notices cache TTL" msgstr "Nachrichten-Cache TTL" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:375 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:409 msgid "pip configuration" msgstr "pip Konfiguration" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:377 -msgid "" -"Additional arguments for the pip command. You should normally not have to" -" change this." -msgstr "" -"Weitere Argument für den pip Befehl. Du solltest hier normalerweise " -"nichts ändern müssen." +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:411 +msgid "Additional arguments for the pip command. You should normally not have to change this." +msgstr "Weitere Argument für den pip Befehl. Du solltest hier normalerweise nichts ändern müssen." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:378 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:412 msgid "Additional arguments" msgstr "Weitere Argumente" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:386 -msgid "" -"Force the use of the --user flag with pip " -"install" +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:420 +msgid "Force the use of the --user flag with pip install" msgstr "--user mit pip install verwenden" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:395 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:129 -#: src/octoprint/static/js/app/helpers.js:742 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:429 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:156 +#: src/octoprint/static/js/app/helpers.js:751 #: src/octoprint/templates/dialogs/files.jinja2:18 +#: src/octoprint/templates/dialogs/files.jinja2:40 #: src/octoprint/templates/dialogs/slicing.jinja2:57 #: src/octoprint/templates/dialogs/temperature.jinja2:31 #: src/octoprint/templates/sidebar/state.jinja2:31 msgid "Cancel" msgstr "Abbruch" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:396 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:130 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:430 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:157 #: src/octoprint/templates/dialogs/settings.jinja2:53 #: src/octoprint/templates/dialogs/temperature.jinja2:32 msgid "Save" msgstr "Speichern" -#: src/octoprint/plugins/softwareupdate/__init__.py:103 +#: src/octoprint/plugins/softwareupdate/__init__.py:109 msgid "Allows to check for software updates" msgstr "Erlaubt das Prüfen auf Softwareaktualisierungen" -#: src/octoprint/plugins/softwareupdate/__init__.py:108 +#: src/octoprint/plugins/softwareupdate/__init__.py:114 msgid "Allows to perform software updates" msgstr "Erlaubt das Durchführen von Softwareaktualisierungen" -#: src/octoprint/plugins/softwareupdate/__init__.py:587 -#: src/octoprint/templates/index.jinja2:157 +#: src/octoprint/plugins/softwareupdate/__init__.py:638 +msgid "Python package installation folder" +msgstr "Python-Paket-Installationsverzeichnis" + +#: src/octoprint/plugins/softwareupdate/__init__.py:639 +msgid "Plugin folder" +msgstr "Pluginverzeichnis" + +#: src/octoprint/plugins/softwareupdate/__init__.py:640 +msgid "System temporary files" +msgstr "Temporäre Dateien" + +#: src/octoprint/plugins/softwareupdate/__init__.py:661 +#: src/octoprint/templates/footer.jinja2:4 msgid "Python" msgstr "Python" -#: src/octoprint/plugins/softwareupdate/__init__.py:588 -#: src/octoprint/plugins/softwareupdate/__init__.py:1195 +#: src/octoprint/plugins/softwareupdate/__init__.py:664 +#: src/octoprint/plugins/softwareupdate/__init__.py:1299 msgid "pip" msgstr "pip" -#: src/octoprint/plugins/softwareupdate/__init__.py:589 +#: src/octoprint/plugins/softwareupdate/__init__.py:667 msgid "setuptools" msgstr "setuptools" -#: src/octoprint/plugins/softwareupdate/__init__.py:689 +#: src/octoprint/plugins/softwareupdate/__init__.py:774 #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_wizard.jinja2:1 msgid "Software Update" msgstr "Software Update" -#: src/octoprint/plugins/softwareupdate/__init__.py:1137 +#: src/octoprint/plugins/softwareupdate/__init__.py:1241 #: src/octoprint/server/views.py:635 #: src/octoprint/static/js/app/viewmodels/appearance.js:99 #: src/octoprint/static/js/app/viewmodels/appearance.js:104 @@ -2622,366 +2214,268 @@ msgstr "Software Update" #: src/octoprint/static/js/app/viewmodels/appearance.js:111 #: src/octoprint/static/js/app/viewmodels/appearance.js:113 #: src/octoprint/templates/dialogs/about/about.jinja2:1 -#: src/octoprint/templates/index.jinja2:156 +#: src/octoprint/templates/footer.jinja2:3 msgid "OctoPrint" msgstr "OctoPrint" -#: src/octoprint/plugins/softwareupdate/__init__.py:1337 -msgid "" -"Without this plugin OctoPrint will no longer be able to update itself or " -"any of your installed plugins which might put your system at risk." -msgstr "" -"Ohne dieses Plugin wird OctoPrint nicht länger in der Lage sein, sich " -"selbst oder deine installierten Plugins zu aktualisierten. Das könnte " -"dein System gefährden." +#: src/octoprint/plugins/softwareupdate/__init__.py:1443 +msgid "Without this plugin OctoPrint will no longer be able to update itself or any of your installed plugins which might put your system at risk." +msgstr "Ohne dieses Plugin wird OctoPrint nicht länger in der Lage sein, sich selbst oder deine installierten Plugins zu aktualisierten. Das könnte dein System gefährden." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:187 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:192 msgid "Release" msgstr "Release" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:188 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:193 msgid "Github Commit" msgstr "Githubcommit" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:189 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:194 msgid "Local checkout" msgstr "Lokaler Checkout" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:232 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:239 #, python-format msgid "%(name)s: %(version)s" msgstr "%(name)s: %(version)s" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:235 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:242 msgid "unknown" msgstr "unbekannt" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:252 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:454 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:468 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:647 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:262 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:466 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:480 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:659 msgid "Updating..." msgstr "Aktualisiere..." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:252 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:468 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:647 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:262 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:480 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:659 msgid "Updating, please wait." msgstr "Aktualisiere gerade, bitte warten." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:259 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:269 msgid "There are updates available for the following components:" msgstr "Es gibt Aktualisierungen für die folgenden Komponenten:" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:267 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:520 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:277 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:532 msgid "Release Notes" msgstr "Release Notes" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:274 -msgid "" -"This version of the Python environment is not supported for direct " -"updates." -msgstr "" -"Diese Version der Pythonumgebung unterstützt keine direkten " -"Aktualisierungen." - -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:276 -msgid "" -"Those components marked with can be updated" -" directly." -msgstr "" -"Die mit markierten Komponenten können " -"direkt aktualisiert werden." - -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:280 -msgid "" -"To have updates applied, get in touch with an administrator of this " -"OctoPrint instance." -msgstr "" -"Um Updates durchzuführen wende dich bitte an einen Administrator dieser " -"OctoPrint Instanz." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:284 +msgid "This version of the Python environment is not supported for direct updates." +msgstr "Diese Version der Pythonumgebung unterstützt keine direkten Aktualisierungen." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:286 +msgid "There's currently not enough free disk space available for a direct update." +msgstr "Der Plattenplatz reicht aktuell nicht für ein Softwareupdate." + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:288 +msgid "Those components marked with can be updated directly." +msgstr "Die mit markierten Komponenten können direkt aktualisiert werden." + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:292 +msgid "To have updates applied, get in touch with an administrator of this OctoPrint instance." +msgstr "Um Updates durchzuführen wende dich bitte an einen Administrator dieser OctoPrint Instanz." + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:298 msgid "Update Available" msgstr "Aktualisierung verfügbar" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:302 -msgid "" -"You can make this message display again via \"Settings\" > \"Software " -"Update\" > \"Check for update now\"" -msgstr "" -"Du kannst diese Nachricht erneut anzeigen lassen mittels " -"\"Einstellungen\" > \"Software Update\" > \"Jetzt nach Aktualisierungen " -"suchen\"" +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:314 +msgid "You can make this message display again via \"Settings\" > \"Software Update\" > \"Check for update now\"" +msgstr "Du kannst diese Nachricht erneut anzeigen lassen mittels \"Einstellungen\" > \"Software Update\" > \"Jetzt nach Aktualisierungen suchen\"" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:306 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:318 msgid "Update now" msgstr "Jetzt aktualisieren" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:344 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:356 msgid "Everything is up-to-date" msgstr "Alles ist auf dem neusten Stand" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:368 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:380 msgid "No internet connection" msgstr "Keine Onlineverbindung" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:372 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:384 msgid "Update not possible" msgstr "Update nicht möglich" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:383 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:395 msgid "Unknown update check, configuration ok?" msgstr "Unbekannter Updatechecktyp, Konfiguration in Ordnung?" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:386 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:398 msgid "Cannot check for update, need online connection" msgstr "Updatecheck ist nicht möglich, benötige Onlineverbindung" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:389 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:401 msgid "Network error while checking for update" msgstr "Netzwerkfehler bei Updatecheck" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:392 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:404 msgid "Unknown error while checking for update, please check the logs" msgstr "Unbekannter Fehler beim Updatecheck, bitte prüfe die Logs" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:455 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:467 msgid "Now updating, please wait." msgstr "Aktualisiere gerade, bitte warten." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:473 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:485 msgid "Update not started!" msgstr "Aktualisierung nicht gestartet!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:474 -msgid "" -"The update could not be started. Is it already active? Please consult " -"octoprint.log for details." -msgstr "" -"Die Aktualisierung konnte nicht gestartet werden. Läuft bereits eine? " -"Bitte konsultiere octoprint.log für Details." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:486 +msgid "The update could not be started. Is it already active? Please consult octoprint.log for details." +msgstr "Die Aktualisierung konnte nicht gestartet werden. Läuft bereits eine? Bitte konsultiere octoprint.log für Details." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:496 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:508 msgid "Can't update while printing" msgstr "Aktualisierung nicht möglich während gedruckt wird" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:497 -msgid "" -"A print job is currently in progress. Updating will be prevented until it" -" is done." -msgstr "" -"Ein Druckjob ist zur Zeit aktiv. Aktualisierungen werden unterbunden bis " -"er fertig ist." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:509 +msgid "A print job is currently in progress. Updating will be prevented until it is done." +msgstr "Ein Druckjob ist zur Zeit aktiv. Aktualisierungen werden unterbunden bis er fertig ist." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:506 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:518 msgid "Can't update while throttled" msgstr "Aktualisierung nicht möglich bei reduzierter Systemleistung" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:507 -msgid "" -"Your system is currently throttled. OctoPrint refuses to run updates " -"while in this state due to possible stability issues." -msgstr "" -"Das System, auf dem OctoPrint läuft, ist aktuell leistungsbegrenzt. Um " -"mögliche Probleme in Folge von dadurch\n" -"verursachter Systeminstabilität zu verhindern, ist es daher aktuell nicht" -" möglich, Aktualisierungen durchzuführen." - -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:514 -msgid "This will update the following components and restart the server:" -msgstr "" -"Das wird die folgenden Komponenten aktualisieren und den Server neu " -"starten." - -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:525 -msgid "" -"Be sure to read through any linked release notes, especially those for " -"OctoPrint since they might contain important information you need to know" -" before upgrading." -msgstr "" -"Bitte lies alle verlinkten Release Notes, insbesondere die von OctoPrint," -" da diese wichtige Informationen behinhalten könnten, die Du " -"vor dem Softwareupdate wissen solltest." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:519 +msgid "Your system is currently throttled. OctoPrint refuses to run updates while in this state due to possible stability issues." +msgstr "Das System, auf dem OctoPrint läuft, ist aktuell leistungsbegrenzt. Um mögliche Probleme in Folge von dadurch\n" +"verursachter Systeminstabilität zu verhindern, ist es daher aktuell nicht möglich, Aktualisierungen durchzuführen." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:526 +msgid "This will update the following components and restart the server:" +msgstr "Das wird die folgenden Komponenten aktualisieren und den Server neu starten." + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:537 +msgid "Be sure to read through any linked release notes, especially those for OctoPrint since they might contain important information you need to know before upgrading." +msgstr "Bitte lies alle verlinkten Release Notes, insbesondere die von OctoPrint, da diese wichtige Informationen behinhalten könnten, die Du vor dem Softwareupdate wissen solltest." + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:538 msgid "This action may disrupt any ongoing print jobs." msgstr "Das könnte laufende Druckaufträge unterbrechen." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:527 -msgid "" -"Depending on your printer's controller and general setup, restarting " -"OctoPrint may cause your printer to be reset." -msgstr "" -"Abhängig von deinem Druckerkontroller und generellem Setup könnte ein " -"Neustart von OctoPrint auch zum Neustart deines Druckers führen." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:539 +msgid "Depending on your printer's controller and general setup, restarting OctoPrint may cause your printer to be reset." +msgstr "Abhängig von deinem Druckerkontroller und generellem Setup könnte ein Neustart von OctoPrint auch zum Neustart deines Druckers führen." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:528 -#: src/octoprint/static/js/app/helpers.js:736 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:540 +#: src/octoprint/static/js/app/helpers.js:745 msgid "Are you sure you want to proceed?" msgstr "Bist Du sicher, dass du fortfahren willst?" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:530 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:542 msgid "Are you sure you want to update now?" msgstr "Bist Du sicher, dass du jetzt aktualisieren willst?" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:532 -#: src/octoprint/static/js/app/helpers.js:743 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:544 +#: src/octoprint/static/js/app/helpers.js:752 msgid "Proceed" msgstr "Fortfahren" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:662 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:674 #, python-format msgid "Now updating %(name)s to %(version)s" msgstr "Aktualisiere %(name)s auf %(version)s" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:679 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:691 msgid "Update successful, restarting!" msgstr "Aktualisierung erfolgreich, starte neu!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:680 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:692 msgid "The update finished successfully and the server will now be restarted." -msgstr "" -"Die Aktualisierung wurde erfolgreich durchgeführt und der Server wird " -"jetzt neu gestartet." +msgstr "Die Aktualisierung wurde erfolgreich durchgeführt und der Server wird jetzt neu gestartet." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:697 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:744 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:709 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:756 msgid "Restart failed" msgstr "Neustart fehlgeschlagen" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:698 -msgid "" -"The server apparently did not restart by itself, you'll have to do it " -"manually. Please consult octoprint.log on what went wrong." -msgstr "" -"Der Server hat anscheinend nicht von selbst neu gestartet, Du wirst das " -"manuell tun müssen. Bitte konsultiere octoprint.log." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:710 +msgid "The server apparently did not restart by itself, you'll have to do it manually. Please consult octoprint.log on what went wrong." +msgstr "Der Server hat anscheinend nicht von selbst neu gestartet, Du wirst das manuell tun müssen. Bitte konsultiere octoprint.log." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:718 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:730 msgid "The update finished successfully, please restart OctoPrint now." -msgstr "" -"Die Aktualisierung wurde erfolgreich abgeschlossen, bitte starte " -"OctoPrint jetzt neu." +msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen, bitte starte OctoPrint jetzt neu." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:720 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:732 msgid "The update finished successfully, please reboot the server now." -msgstr "" -"Die Aktualisierung wurde erfolgreich abgeschlossen, bitte reboote den " -"Server jetzt." +msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen, bitte reboote den Server jetzt." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:723 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:735 msgid "Update successful, restart required!" msgstr "Aktualisierung erfolgreich, Neustart notwendig!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:739 -msgid "" -"Restarting OctoPrint failed, please restart it manually. You might also " -"want to consult octoprint.log on what went wrong here." -msgstr "" -"Der Neustart von OctoPrint ist fehlgeschlagen, bitte starte es manuell " -"neu. Du solltest auch octoprint.log konsultieren, um herauszufinden, was " -"hier schief gelaufen ist." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:751 +msgid "Restarting OctoPrint failed, please restart it manually. You might also want to consult octoprint.log on what went wrong here." +msgstr "Der Neustart von OctoPrint ist fehlgeschlagen, bitte starte es manuell neu. Du solltest auch octoprint.log konsultieren, um herauszufinden, was hier schief gelaufen ist." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:741 -msgid "" -"Rebooting the server failed, please reboot it manually. You might also " -"want to consult octoprint.log on what went wrong here." -msgstr "" -"Reboot des Servers fehlgeschlagen, bitte reboote ihn manuell. Du solltest" -" auch octoprint.log konsultieren, um herauszufinden, was hier gerade " -"schief gelaufen ist." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:753 +msgid "Rebooting the server failed, please reboot it manually. You might also want to consult octoprint.log on what went wrong here." +msgstr "Reboot des Servers fehlgeschlagen, bitte reboote ihn manuell. Du solltest auch octoprint.log konsultieren, um herauszufinden, was hier gerade schief gelaufen ist." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:760 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:772 msgid "Update successful!" msgstr "Aktualisierung erfolgreich!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:761 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:773 msgid "The update finished successfully." msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:776 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:788 msgid "Update failed!" msgstr "Aktualisierung fehlgeschlagen!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:777 -msgid "" -"The update did not finish successfully. Please consult " -"octoprint.log and " -"plugin_softwareupdate_console.log for details." -msgstr "" -"Die Aktualisierung wurde nicht erfolgreich abgeschlossen. Bitte " -"konsultiere octoprint.log und " -"plugin_softwareupdate_console.log für Details." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:789 +msgid "The update did not finish successfully. Please consult octoprint.log and plugin_softwareupdate_console.log for details." +msgstr "Die Aktualisierung wurde nicht erfolgreich abgeschlossen. Bitte konsultiere octoprint.log und plugin_softwareupdate_console.log für Details." #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:1 -msgid "" -"\n" -" Please configure the checkout folder of OctoPrint, " -"otherwise\n" -" this plugin won't be able to update it. Click on the button\n" -" to do this. Also refer to the Documentation.\n" -msgstr "" +msgid "\n" +" Please configure the checkout folder of OctoPrint, otherwise\n" +" this plugin won't be able to update it. Click on the button\n" +" to do this. Also refer to the Documentation.\n" +msgstr "Bitte konfiguriere das Checkoutverzeichnis von OctoPrint, andernfalls kann dieses Plugin es nicht updaten. Klick dafür auf den Button. Siehe auch die Dokumentation.\n" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:6 -msgid "" -"\n" +msgid "\n" "

    \n" -" You are running a non-release version of OctoPrint but " -"are tracking OctoPrint\n" +" You are running a non-release version of OctoPrint but are tracking OctoPrint\n" " releases.\n" "

    \n" -" You probably want OctoPrint to track the matching development " -"version instead.\n" -" If you have a local OctoPrint checkout folder switched to another" -" branch,\n" -" simply switching over to \"Commit\" tracking " -"will already\n" +" You probably want OctoPrint to track the matching development version instead.\n" +" If you have a local OctoPrint checkout folder switched to another branch,\n" +" simply switching over to \"Commit\" tracking will already\n" " take care of that. Otherwise please take a look at the\n" -" Documentation.\n" +" Documentation.\n" "

    \n" -msgstr "" -"\n" -"

    Du nutzt eine unveröffentlichte Version von OctoPrint, " -"trackst aber OctoPrint Releases.

    Du willst " -"vermutlich, dass OctoPrint stattdessen die entsprechende " -"Entwicklungsversion trackt. Falls Du dein lokales OctoPrint-" -"Checkoutverzeichnis auf einen anderen Branch gewechselt hast, dann " -"wechsle das Tracking einfach auf \"Commit\". Ansonsten " -"wirf einen Blick in die Dokumentation.

    \n" +msgstr "\n" +"

    Du nutzt eine unveröffentlichte Version von OctoPrint, trackst aber OctoPrint Releases.

    Du willst vermutlich, dass OctoPrint stattdessen die entsprechende Entwicklungsversion trackt. Falls Du dein lokales OctoPrint-Checkoutverzeichnis auf einen anderen Branch gewechselt hast, dann wechsle das Tracking einfach auf \"Commit\". Ansonsten wirf einen Blick in die Dokumentation.

    \n" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:18 -msgid "" -"\n" +msgid "\n" "

    \n" -" This version of the Python environment is not supported " -"for direct updates.\n" +" This version of the Python environment is not supported for direct updates.\n" "

    \n" "

    \n" -" To reduce the likelihood of running into update problems in " -"outdated environments, the following minimal\n" -" versions are required to use this updater to update OctoPrint or " -"any installed plugins:\n" +" To reduce the likelihood of running into update problems in outdated environments, the following minimal\n" +" versions are required to use this updater to update OctoPrint or any installed plugins:\n" "

    \n" -msgstr "" -"\n" +msgstr "\n" "

    \n" -" Diese Version der Pythonumgebung wird für direkt " -"Aktualisierungen nicht unterstützt.\n" +" Diese Version der Pythonumgebung wird für direkt Aktualisierungen nicht unterstützt.\n" "

    \n" "

    \n" -" Um die Wahrscheinlichkeit von Aktualisierungsproblemen in " -"veralteten Umgebungen zu reduzieren, werden die folgenden minimalen\n" -" Versionen vorausgesetzt, um diesen Updater zur Aktualisierung von" -" OctoPrint oder installierten Plugins zu nutzen:\n" +" Um die Wahrscheinlichkeit von Aktualisierungsproblemen in veralteten Umgebungen zu reduzieren, werden die folgenden minimalen\n" +" Versionen vorausgesetzt, um diesen Updater zur Aktualisierung von OctoPrint oder installierten Plugins zu nutzen:\n" "

    \n" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:28 @@ -2989,185 +2483,170 @@ msgid "you have" msgstr "du hast" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:30 -msgid "" -"\n" +msgid "\n" "

    \n" -" Please take a look at this FAQ entry on how" -" to proceed.\n" +" Please take a look at this FAQ entry on how to proceed.\n" "

    \n" -msgstr "" -"\n" +msgstr "\n" "

    \n" -" Bitte schau dir diesen FAQ Eintrag an.\n" +" Bitte schau dir diesen FAQ Eintrag an.\n" "

    \n" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:35 -msgid "" -"\n" +#, python-format +msgid "\n" "

    \n" -" OctoPrint is running on a throttled system, updates are " -"disabled.\n" +" There is not enough free disk space available to run an update.\n" "

    \n" "

    \n" -" To reduce the likelihood of running into update problems on " -"throttled and hence potentially unstable systems\n" -" as seen in the past, OctoPrint doesn't support updating under " -"such conditions. Please fix the current issue\n" -" before trying to update. Take a look at the displayed warning in " -"the navigation bar to learn about what is\n" +" To reduce the likelihood of running into update problems due to insuffient disk space, OctoPrint requires\n" +" a minimum of %(min_free_storage)s free disk space in various locations:\n" +"

    \n" +msgstr "

    \n" +" Es gibt nicht genug freien Speicherplatz für ein Softwareupdate.\n" +"

    \n" +"

    \n" +" Um die Wahrscheinlichkeit von Problemen im Rahmen des Updateprozesses durch mangelnden Speicherplatz zu reduzieren, benötigt OctoPrint mindestens\n" +" %(min_free_storage)s freien Speicher in diversen Verzeichnissen:\n" +"

    \n" + +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:47 +msgid "\n" +"

    \n" +" Please take a look at this FAQ entry on how to proceed.\n" +"

    \n" +msgstr "\n" +"

    \n" +" Bitte schau dir diesen FAQ Eintrag an.\n" +"

    \n" + +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:52 +msgid "\n" +"

    \n" +" OctoPrint is running on a throttled system, updates are disabled.\n" +"

    \n" +"

    \n" +" To reduce the likelihood of running into update problems on throttled and hence potentially unstable systems\n" +" as seen in the past, OctoPrint doesn't support updating under such conditions. Please fix the current issue\n" +" before trying to update. Take a look at the displayed warning in the navigation bar to learn about what is\n" " wrong and to get hints on how to solve the problem.\n" "

    \n" -msgstr "" -"\n" +msgstr "\n" "

    \n" -" OctoPrint läuft auf einem leistungsreduzierten System, " -"Updates sind deaktiviert.\n" +" OctoPrint läuft auf einem leistungsreduzierten System, Updates sind deaktiviert.\n" "

    \n" "

    \n" -" Um die Wahrscheinlichkeit von Updateproblemen aufgrund von durch " -"Leistungsreduktion möglicherweise verursachter\n" -" Systeminstabilität zu reduzieren, unterstützt OctoPrint keine " -"Updates unter solchen Bedingungen. Bitte löse das aktuelle\n" -" Problem bevor du ein Update durchführst. Schau dir die angezeigte" -" Warnung in der Navigationsleiste an, finde heraus,\n" +" Um die Wahrscheinlichkeit von Updateproblemen aufgrund von durch Leistungsreduktion möglicherweise verursachter\n" +" Systeminstabilität zu reduzieren, unterstützt OctoPrint keine Updates unter solchen Bedingungen. Bitte löse das aktuelle\n" +" Problem bevor du ein Update durchführst. Schau dir die angezeigte Warnung in der Navigationsleiste an, finde heraus,\n" " was nicht stimmt und wie du es möglicherweise beheben kannst.\n" "

    \n" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:46 -msgid "" -"\n" +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:63 +msgid "\n" "

    \n" -" OctoPrint is currently printing, updates are " -"disabled.\n" +" OctoPrint is currently printing, updates are disabled.\n" "

    \n" "

    \n" -" Running updates is not supported while printing in order to not " -"risk any kind of disruption to the print job.\n" +" Running updates is not supported while printing in order to not risk any kind of disruption to the print job.\n" " Please let the print finish before trying to update.\n" "

    \n" -msgstr "" -"\n" +msgstr "\n" "

    \n" -" OctoPrint druckt aktuell, Updates sind " -"deaktiviert.\n" +" OctoPrint druckt aktuell, Updates sind deaktiviert.\n" "

    \n" "

    \n" -" Updates sind nicht unterstützt, während OctoPrint druckt. Dadurch" -" werden Unterbrechungen des Druckauftrags vermieden.\n" -" Bitte lass den Druckauftrag erst vollenden, bevor du ein Update " -"anstößt.\n" +" Updates sind nicht unterstützt, während OctoPrint druckt. Dadurch werden Unterbrechungen des Druckauftrags vermieden.\n" +" Bitte lass den Druckauftrag erst vollenden, bevor du ein Update anstößt.\n" "

    \n" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:60 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:77 msgid "Current versions" msgstr "Aktuelle Versionen" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:67 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:84 msgid "Update available" msgstr "Aktualisierung verfügbar" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:70 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:87 msgid "Update" msgstr "Aktualisieren" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:73 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:90 msgid "Installed:" msgstr "Installiert:" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:74 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:91 msgid "Available:" msgstr "Verfügbar:" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:75 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:92 msgid "Release Notes:" msgstr "Release Notes:" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:84 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:101 msgid "Update all" msgstr "Alle aktualisieren" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:85 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:102 msgid "Check for update now" msgstr "Jetzt nach Aktualisierungen suchen" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:90 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:107 msgid "Last cache refresh:" msgstr "Letzter Cacherefresh:" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:91 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:108 msgid "Force check for update (overrides cache used for update checks)" -msgstr "" -"Suche nach Aktualisierungen forcieren (ignoriert den Cache für " -"Aktualisierungsinformationen)" +msgstr "Suche nach Aktualisierungen forcieren (ignoriert den Cache für Aktualisierungsinformationen)" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:92 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:109 msgid "Force update now (even if no new versions are available)" -msgstr "" -"Aktualisierung forcieren (selbst wenn keine neuen Versionen verfügbar " -"sind)" +msgstr "Aktualisierung forcieren (selbst wenn keine neuen Versionen verfügbar sind)" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:110 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:127 msgid "Version cache TTL" msgstr "TTL des Versionscaches" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:121 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:138 msgid "Show update notifications to users" msgstr "Updatebenachrichtigungen auch Usern anzeigen" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:122 -msgid "" -"If you uncheck this, only logged in admins will see update notifications." -" Update notifications shown to users do not include the \"Update now\" " -"button." -msgstr "" -"Wenn du das deselektierst werden nur eingeloggte Administratoren " -"Updatebenachrichtigungen sehen. Updatebenachrichtigungen, die Usern " -"gezeigt werden, beinhalten keinen \"Jetzt aktualisieren\" Button." +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:139 +msgid "If you uncheck this, only logged in admins will see update notifications. Update notifications shown to users do not include the \"Update now\" button." +msgstr "Wenn du das deselektierst werden nur eingeloggte Administratoren Updatebenachrichtigungen sehen. Updatebenachrichtigungen, die Usern gezeigt werden, beinhalten keinen \"Jetzt aktualisieren\" Button." -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:140 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:144 +msgid "Minimum free disk space" +msgstr "Benötigter freier Speicherplatz" + +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:149 +msgid "The minimum amount of free disk space that has to be available on various locations for OctoPrint to allow updates. Should not be set to 0." +msgstr "Der minimal benötigte freie Speicherplatz, der in diversen Verzeichnissen verfügbar sein muss, damit OctoPrint Softwareupdates erlaubt. Sollte nicht auf 0 gesetzt werden." + +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:167 msgid "Update in progress, please wait." msgstr "Aktualisiere gerade, bitte warten." -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:141 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:168 msgid "Update done, please close this window." msgstr "Update beendet, bitte schließe diesen Dialog." #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_wizard.jinja2:3 -msgid "" -"

    \n" -" By default, OctoPrint will update itself via pip to " -"published releases or commits pushed\n" -" to Github. OctoPrint can also update itself via git to " -"arbitrary development branches you need to check out manually.\n" -" If you want to do that though it needs to know its checkout folder. " -"You can configure that here.\n" +msgid "

    \n" +" By default, OctoPrint will update itself via pip to published releases or commits pushed\n" +" to Github. OctoPrint can also update itself via git to arbitrary development branches you need to check out manually.\n" +" If you want to do that though it needs to know its checkout folder. You can configure that here.\n" "

    " -msgstr "" -"

    Standardmäßig nutzt OctoPrint pip um sich bei neuen " -"Releases selbst zu aktualisieren. OctoPrint kann sich auch via " -"git von beliebigen manuell ausgecheckten " -"Entwicklungsbranches aktualisieren. Falls du das tun willst muss " -"OctoPrint allerdings auch sein Checkoutfolder kennen. Das kannst du hier " -"konfigurieren.

    " +msgstr "

    Standardmäßig nutzt OctoPrint pip um sich bei neuen Releases selbst zu aktualisieren. OctoPrint kann sich auch via git von beliebigen manuell ausgecheckten Entwicklungsbranches aktualisieren. Falls du das tun willst muss OctoPrint allerdings auch sein Checkoutfolder kennen. Das kannst du hier konfigurieren.

    " #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_wizard.jinja2:15 -msgid "" -"

    \n" -" If you are running a release version of OctoPrint, leave at " -"\"Release\" tracking. If you are running a different\n" -" branch however on a manual checkout, you should setup \"Local " -"Checkout\" tracking. For more special cases you might\n" -" want to select \"Github Commit\" tracking - you normally shouldn't " -"need to however.\n" +msgid "

    \n" +" If you are running a release version of OctoPrint, leave at \"Release\" tracking. If you are running a different\n" +" branch however on a manual checkout, you should setup \"Local Checkout\" tracking. For more special cases you might\n" +" want to select \"Github Commit\" tracking - you normally shouldn't need to however.\n" "

    " -msgstr "" -"

    Wenn du eine Releaseversion von OctoPrint nutzt, lass hier \"Release\"" -" Tracking eingestellt. Falls du allerdings einen anderen Branch nutzt " -"solltest du auf \"Lokaler Checkout\" tracking umstellen. Für speziellere " -"Szenarien möchtest evtl auch \"Githubcommit\" tracking auswählen - " -"normalerweise sollte das jedoch nicht nötig sein.

    " +msgstr "

    Wenn du eine Releaseversion von OctoPrint nutzt, lass hier \"Release\" Tracking eingestellt. Falls du allerdings einen anderen Branch nutzt solltest du auf \"Lokaler Checkout\" tracking umstellen. Für speziellere Szenarien möchtest evtl auch \"Githubcommit\" tracking auswählen - normalerweise sollte das jedoch nicht nötig sein.

    " #: src/octoprint/plugins/softwareupdate/templates/snippets/plugins/softwareupdate/checkoutFolder.jinja2:2 msgid "OctoPrint checkout folder" @@ -3182,17 +2661,8 @@ msgid "Enable pip update checks" msgstr "pip Updatechecks aktivieren" #: src/octoprint/plugins/softwareupdate/templates/snippets/plugins/softwareupdate/pipEnableCheck.jinja2:5 -msgid "" -"If you check this, OctoPrint will also notify you of updates of the " -"pip tool used by OctoPrint to install plugins and updates " -"and allow you to update it through OctoPrint. pip is outside" -" of the control of the OctoPrint maintainer, so enable at your own risk." -msgstr "" -"Wenn du das aktivierst wird dich OctoPrint auch auf Aktualisierungen für " -"das pip Tool hinweisen, das OctoPrint nutzt um Plugins und " -"Updates zu installieren, und dir erlauben, es über OctoPrint zu " -"aktualisieren. pip ist nicht unter der Kontrolle der " -"OctoPrint-Maintainer, aktiviere diese Prüfung auf eigene Gefahr." +msgid "If you check this, OctoPrint will also notify you of updates of the pip tool used by OctoPrint to install plugins and updates and allow you to update it through OctoPrint. pip is outside of the control of the OctoPrint maintainer, so enable at your own risk." +msgstr "Wenn du das aktivierst wird dich OctoPrint auch auf Aktualisierungen für das pip Tool hinweisen, das OctoPrint nutzt um Plugins und Updates zu installieren, und dir erlauben, es über OctoPrint zu aktualisieren. pip ist nicht unter der Kontrolle der OctoPrint-Maintainer, aktiviere diese Prüfung auf eigene Gefahr." #: src/octoprint/plugins/softwareupdate/templates/snippets/plugins/softwareupdate/pipTarget.jinja2:2 msgid "OctoPrint pip target" @@ -3208,16 +2678,8 @@ msgstr "OctoPrint Release Channel" #: src/octoprint/plugins/softwareupdate/templates/snippets/plugins/softwareupdate/releaseChannel.jinja2:5 #, python-format -msgid "" -"Make sure you have read \"How to use the release channels to help " -"test release candidates\" before switching to a release channel other" -" than \"Stable\"" -msgstr "" -"Stelle sicher, dass du \"How to use the release channels to help " -"test release candidates\" gelesen hast, bevor du einen anderen " -"Release Channel als \"Stable\" auswählst." +msgid "Make sure you have read \"How to use the release channels to help test release candidates\" before switching to a release channel other than \"Stable\"" +msgstr "Stelle sicher, dass du \"How to use the release channels to help test release candidates\" gelesen hast, bevor du einen anderen Release Channel als \"Stable\" auswählst." #: src/octoprint/plugins/softwareupdate/templates/snippets/plugins/softwareupdate/trackedBranch.jinja2:2 msgid "Tracked branch" @@ -3238,27 +2700,13 @@ msgid "Please set up anonymous usage tracking" msgstr "Bitte konfiguriere das Anonymous Usage Tracking" #: src/octoprint/plugins/tracking/static/js/usage.js:54 -msgid "" -"You haven't yet decided on whether to enable or disable anonymous usage " -"tracking. You need to either enable or disable it before continuing." -msgstr "" -"Du hast noch nicht entschieden, ob das Anonymous Usage Tracking aktiviert" -" werden soll. Du musst es entweder aktivieren oder deaktivieren bevor du " -"fortfahren kannst." +msgid "You haven't yet decided on whether to enable or disable anonymous usage tracking. You need to either enable or disable it before continuing." +msgstr "Du hast noch nicht entschieden, ob das Anonymous Usage Tracking aktiviert werden soll. Du musst es entweder aktivieren oder deaktivieren bevor du fortfahren kannst." #: src/octoprint/plugins/tracking/static/js/usage.js:78 #, python-format -msgid "" -"Please open a bug report on this. Make sure to include all requested " -"information, including your JS console and octoprint.log." -msgstr "" -"Bitte eröffne einen Bugreport zu diesem Problem. Stelle sicher, dass du alle" -" erbetenen Daten zur Verfügung stellst, inklusive deiner JS " -"console und octoprint.log." +msgid "Please open a bug report on this. Make sure to include all requested information, including your JS console and octoprint.log." +msgstr "Bitte eröffne einen Bugreport zu diesem Problem. Stelle sicher, dass du alle erbetenen Daten zur Verfügung stellst, inklusive deiner JS console und octoprint.log." #: src/octoprint/plugins/tracking/templates/tracking_settings.jinja2:9 msgid "Enable anonymous usage tracking" @@ -3297,12 +2745,8 @@ msgid "Print started/cancelled/finished" msgstr "Druck gestartet/abgebrochen/beendet" #: src/octoprint/plugins/tracking/templates/tracking_settings.jinja2:41 -msgid "" -"Errors in the communication with the printer and/or reported by the " -"firmware" -msgstr "" -"Fehler in der Kommunikation mit dem Drucker und/oder gemeldet von der " -"Firmware" +msgid "Errors in the communication with the printer and/or reported by the firmware" +msgstr "Fehler in der Kommunikation mit dem Drucker und/oder gemeldet von der Firmware" #: src/octoprint/plugins/tracking/templates/tracking_settings.jinja2:44 msgid "Plugin installed/uninstalled/enabled/disabled" @@ -3325,13 +2769,8 @@ msgid "Configure Anonymous Usage Tracking" msgstr "Anonymous Usage Tracking konfigurieren" #: src/octoprint/plugins/tracking/templates/tracking_wizard.jinja2:8 -msgid "" -"Note: You can always change your decision and also " -"access more granular controls via Settings > Anonymous Usage Tracking." -msgstr "" -"Hinweis: Du kannst unter Einstellungen > Anonymous Usage" -" Tracking deine Entscheidung jederzeit ändern und auch auf feinere " -"Einstellungen zugreifen." +msgid "Note: You can always change your decision and also access more granular controls via Settings > Anonymous Usage Tracking." +msgstr "Hinweis: Du kannst unter Einstellungen > Anonymous Usage Tracking deine Entscheidung jederzeit ändern und auch auf feinere Einstellungen zugreifen." #: src/octoprint/plugins/tracking/templates/tracking_wizard.jinja2:12 msgid "Disable Anonymous Usage Tracking" @@ -3342,74 +2781,56 @@ msgid "Enable Anonymous Usage Tracking" msgstr "Anonymous Usage Tracking aktivieren" #: src/octoprint/plugins/tracking/templates/tracking_wizard.jinja2:17 -msgid "" -"\n" -" Anonymous Usage Tracking is enabled.\n" +msgid "\n" +" Anonymous Usage Tracking is enabled.\n" " " -msgstr "" -"\n" -" Anonymous Usage Tracking aktiviert.\n" +msgstr "\n" +" Anonymous Usage Tracking aktiviert.\n" " " #: src/octoprint/plugins/tracking/templates/tracking_wizard.jinja2:20 -msgid "" -"\n" -" Anonymous Usage Tracking is disabled.\n" +msgid "\n" +" Anonymous Usage Tracking is disabled.\n" " " -msgstr "" -"\n" -" Anonymous Usage Tracking deaktiviert.\n" +msgstr "\n" +" Anonymous Usage Tracking deaktiviert.\n" " " #: src/octoprint/plugins/tracking/templates/snippets/plugins/tracking/trackingDescription.jinja2:1 -msgid "" -"\n" +msgid "\n" "

    \n" -" Anonymous usage tracking provides valuable insights into how many " -"instances running what versions of OctoPrint are out there,\n" -" whether they are successfully completing print jobs and various other" -" metrics.\n" +" Anonymous usage tracking provides valuable insights into how many instances running what versions of OctoPrint are out there,\n" +" whether they are successfully completing print jobs and various other metrics.\n" "

    \n" "

    \n" -" By enabling it you help to identify problems with new releases and " -"release candidates early on, and to better\n" +" By enabling it you help to identify problems with new releases and release candidates early on, and to better\n" " tailor OctoPrint's future development to actual use.\n" "

    \n" -msgstr "" -"\n" +msgstr "\n" "

    \n" -" Anonymous Usage Tracking liefert wertvolle Einblicke, wieviele " -"Instanzen welche Versionen von OctoPrint da draußen laufen haben,\n" +" Anonymous Usage Tracking liefert wertvolle Einblicke, wieviele Instanzen welche Versionen von OctoPrint da draußen laufen haben,\n" " ob sie erfolgreich Drucke beenden und weitere Metriken.\n" "

    \n" "

    \n" -" Wenn du es aktivierst, hilfst du, Probleme mit neuen Releases und " -"Release Candidates frühzeitig zu erkennen und OctoPrints\n" -" Weiterentwicklung besser auf seine tatsächliche Nutzung " -"zuzuschneiden.\n" +" Wenn du es aktivierst, hilfst du, Probleme mit neuen Releases und Release Candidates frühzeitig zu erkennen und OctoPrints\n" +" Weiterentwicklung besser auf seine tatsächliche Nutzung zuzuschneiden.\n" "

    \n" #: src/octoprint/plugins/tracking/templates/snippets/plugins/tracking/trackingDetails.jinja2:1 -msgid "" -"\n" -" For details on what gets tracked, please refer to tracking.octoprint.org\n" -" and also the Privacy Policy at " -"tracking.octoprint.org.\n" -msgstr "" -"\n" -" Für Details, was genau getrackt wird, schau bitte auf tracking.octoprint.org\n" -" sowie die Privacy Policy auf " -"tracking.octoprint.org.\n" +msgid "\n" +" For details on what gets tracked, please refer to tracking.octoprint.org\n" +" and also the Privacy Policy at tracking.octoprint.org.\n" +msgstr "\n" +" Für Details, was genau getrackt wird, schau bitte auf tracking.octoprint.org\n" +" sowie die Privacy Policy auf tracking.octoprint.org.\n" + +#: src/octoprint/plugins/virtual_printer/templates/virtual_printer_settings.jinja2:7 +msgid "Enable the virtual printer" +msgstr "Virtuellen Drucker aktivieren" + +#: src/octoprint/plugins/virtual_printer/templates/virtual_printer_settings.jinja2:8 +msgid "If enabled, an additional serial port VIRTUAL will be available for connecting, backed by a fake printer implementation. Useful for development." +msgstr "Wenn aktiviert, so wird ein zusätzlicher Serialport VIRTUAL zur Verbindung zur Verfügung gestellt, mit einer Fake-Druckerimplementierung. Sinnvoll für die Entwicklung." #: src/octoprint/server/views.py:602 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:12 @@ -3485,7 +2906,7 @@ msgstr "API" #: src/octoprint/server/views.py:638 #: src/octoprint/templates/dialogs/settings/folders.jinja2:2 -#: src/octoprint/templates/sidebar/files_header.jinja2:12 +#: src/octoprint/templates/sidebar/files_header.jinja2:13 msgid "Folders" msgstr "Verzeichnisse" @@ -3520,32 +2941,16 @@ msgid "Shutdown system" msgstr "System herunterfahren" #: src/octoprint/server/api/system.py:188 -msgid "" -"You are about to shutdown the system.

    This action " -"may disrupt any ongoing print jobs (depending on your printer's " -"controller and general setup that might also apply to prints run directly" -" from your printer's internal storage)." -msgstr "" -"Dies wird dein System herunterfahren.

    Diese Aktion" -" wird laufende Druckaufträge unterbrechen (abhängig von deinem " -"Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, " -"die du direkt von der SD deines Druckers laufen lässt)." +msgid "You are about to shutdown the system.

    This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." +msgstr "Dies wird dein System herunterfahren.

    Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." #: src/octoprint/server/api/system.py:191 msgid "Reboot system" msgstr "System neustarten" #: src/octoprint/server/api/system.py:192 -msgid "" -"You are about to reboot the system.

    This action " -"may disrupt any ongoing print jobs (depending on your printer's " -"controller and general setup that might also apply to prints run directly" -" from your printer's internal storage)." -msgstr "" -"Dies wird dein System neu starten.

    Diese Aktion " -"wird laufende Druckaufträge unterbrechen (abhängig von deinem " -"Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, " -"die du direkt von der SD deines Druckers laufen lässt)." +msgid "You are about to reboot the system.

    This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." +msgstr "Dies wird dein System neu starten.

    Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." #: src/octoprint/server/api/system.py:195 #: src/octoprint/templates/snippets/settings/server/serverCommandServerRestart.jinja2:2 @@ -3553,204 +2958,124 @@ msgid "Restart OctoPrint" msgstr "OctoPrint neustarten" #: src/octoprint/server/api/system.py:196 -msgid "" -"You are about to restart the OctoPrint " -"server.

    This action may disrupt any ongoing print jobs " -"(depending on your printer's controller and general setup that might also" -" apply to prints run directly from your printer's internal storage)." -msgstr "" -"Dies wird deinen OctoPrint Server neu " -"starten.

    Diese Aktion wird laufende Druckaufträge " -"unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup " -"gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers" -" laufen lässt)." +msgid "You are about to restart the OctoPrint server.

    This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." +msgstr "Dies wird deinen OctoPrint Server neu starten.

    Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." #: src/octoprint/server/api/system.py:199 msgid "Restart OctoPrint in safe mode" msgstr "OctoPrint im Sicherheitsmodus neustarten" #: src/octoprint/server/api/system.py:200 -msgid "" -"You are about to restart the OctoPrint server in safe " -"mode.

    This action may disrupt any ongoing print jobs " -"(depending on your printer's controller and general setup that might also" -" apply to prints run directly from your printer's internal storage)." -msgstr "" -"Dies wird deinen OctoPrint Server im Safemode neu " -"starten.

    Diese Aktion wird laufende Druckaufträge " -"unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup " -"gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers" -" laufen lässt)." +msgid "You are about to restart the OctoPrint server in safe mode.

    This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." +msgstr "Dies wird deinen OctoPrint Server im Safemode neu starten.

    Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." #: src/octoprint/static/js/app/dataupdater.js:90 #: src/octoprint/static/js/app/dataupdater.js:109 -#: src/octoprint/static/js/app/helpers.js:656 +#: src/octoprint/static/js/app/helpers.js:665 #: src/octoprint/templates/overlays/offline.jinja2:6 msgid "Server is offline" msgstr "Der Server ist offline" #: src/octoprint/static/js/app/dataupdater.js:91 -msgid "" -"The server appears to be offline, at least I'm not getting any response " -"from it. I'll try to reconnect automatically over the next couple" -" of minutes, however you are welcome to try a manual reconnect " -"anytime using the button below." -msgstr "" -"Der Server scheint offline zu sein, zumindest kann ich mich nicht mit ihm" -" verbinden. Ich werde in den nächsten Minuten versuchen " -"mich erneut zu verbinden, aber Du kannst mittels des folgenden Buttons " -"auch jederzeit einen manuellen Verbindungsversuch anstoßen." +msgid "The server appears to be offline, at least I'm not getting any response from it. I'll try to reconnect automatically over the next couple of minutes, however you are welcome to try a manual reconnect anytime using the button below." +msgstr "Der Server scheint offline zu sein, zumindest kann ich mich nicht mit ihm verbinden. Ich werde in den nächsten Minuten versuchen mich erneut zu verbinden, aber Du kannst mittels des folgenden Buttons auch jederzeit einen manuellen Verbindungsversuch anstoßen." #: src/octoprint/static/js/app/dataupdater.js:110 -msgid "" -"The server appears to be offline, at least I'm not getting any response " -"from it. I could not reconnect automatically, but you " -"may try a manual reconnect using the button below." -msgstr "" -"Der Server scheint offline zu sein, zumindest kann ich mich nicht mit ihm" -" verbinden. Ich konnte mich nicht automatisch neu " -"verbinden, aber Du kannst mittels des folgenden Buttons einen " -"manuellen Verbindungsversuch anstoßen." +msgid "The server appears to be offline, at least I'm not getting any response from it. I could not reconnect automatically, but you may try a manual reconnect using the button below." +msgstr "Der Server scheint offline zu sein, zumindest kann ich mich nicht mit ihm verbinden. Ich konnte mich nicht automatisch neu verbinden, aber Du kannst mittels des folgenden Buttons einen manuellen Verbindungsversuch anstoßen." -#: src/octoprint/static/js/app/dataupdater.js:168 +#: src/octoprint/static/js/app/dataupdater.js:176 msgid "Unknown" msgstr "Unbekannt" -#: src/octoprint/static/js/app/dataupdater.js:171 +#: src/octoprint/static/js/app/dataupdater.js:179 msgid "Command line flag" msgstr "Kommandozeilenflag" -#: src/octoprint/static/js/app/dataupdater.js:175 +#: src/octoprint/static/js/app/dataupdater.js:183 msgid "Setting in config.yaml" msgstr "Einstellung in config.yaml" -#: src/octoprint/static/js/app/dataupdater.js:179 +#: src/octoprint/static/js/app/dataupdater.js:187 msgid "Problem during last startup" msgstr "Problem während des letzten Starts" -#: src/octoprint/static/js/app/dataupdater.js:185 +#: src/octoprint/static/js/app/dataupdater.js:193 msgid "Safe mode is active" msgstr "Sicherheitsmodus ist aktiv" -#: src/octoprint/static/js/app/dataupdater.js:186 +#: src/octoprint/static/js/app/dataupdater.js:194 #, python-format -msgid "" -"

    The server is currently running in safe mode. Third party plugins and " -"language packs are disabled and cannot be enabled.

    Reason: " -"%(reason)s

    " -msgstr "" -"

    Der Server ist aktuell im Sicherheitsmodus. Third-Party-Plugins sind " -"deaktiviert und können nicht aktiviert werden.

    Grund: " -"%(reason)s

    " +msgid "

    The server is currently running in safe mode. Third party plugins and language packs are disabled and cannot be enabled.

    Reason: %(reason)s

    " +msgstr "

    Der Server ist aktuell im Sicherheitsmodus. Third-Party-Plugins sind deaktiviert und können nicht aktiviert werden.

    Grund: %(reason)s

    " -#: src/octoprint/static/js/app/dataupdater.js:235 -#: src/octoprint/static/js/app/viewmodels/files.js:962 -#: src/octoprint/static/js/app/viewmodels/files.js:969 +#: src/octoprint/static/js/app/dataupdater.js:238 +#: src/octoprint/static/js/app/viewmodels/files.js:1088 +#: src/octoprint/static/js/app/viewmodels/files.js:1095 #, python-format msgid "Slicing ... (%(percentage)d%%)" msgstr "Slice ... (%(percentage)d%%)" -#: src/octoprint/static/js/app/dataupdater.js:271 -#: src/octoprint/static/js/app/dataupdater.js:282 +#: src/octoprint/static/js/app/dataupdater.js:274 +#: src/octoprint/static/js/app/dataupdater.js:285 msgid "Error reported by printer" msgstr "Fehler vom Drucker gemeldet" -#: src/octoprint/static/js/app/dataupdater.js:272 +#: src/octoprint/static/js/app/dataupdater.js:275 #, python-format -msgid "" -"Your printer's firmware reported an error. Due to that the ongoing print " -"job will be cancelled. Reported error: %(firmwareError)s" -msgstr "" -"Es gab einen unbehandelten Fehler bei der Kommunikation mit dem Drucker. " -"Daher wird der laufende Druckauftrag abgebrochen. Fehler: " -"%(firmwareError)s" +msgid "Your printer's firmware reported an error. Due to that the ongoing print job will be cancelled. Reported error: %(firmwareError)s" +msgstr "Es gab einen unbehandelten Fehler bei der Kommunikation mit dem Drucker. Daher wird der laufende Druckauftrag abgebrochen. Fehler: %(firmwareError)s" -#: src/octoprint/static/js/app/dataupdater.js:283 +#: src/octoprint/static/js/app/dataupdater.js:286 #, python-format -msgid "" -"Your printer's firmware reported an error. Due to that OctoPrint will " -"disconnect. Reported error: %(error)s" -msgstr "" -"Die Firmware Deines Druckers hat einen Fehler gemeldet. Darum hat " -"OctoPrint die Verbindung geschlossen. Gemeldeter Fehler: %(error)s" +msgid "Your printer's firmware reported an error. Due to that OctoPrint will disconnect. Reported error: %(error)s" +msgstr "Die Firmware Deines Druckers hat einen Fehler gemeldet. Darum hat OctoPrint die Verbindung geschlossen. Gemeldeter Fehler: %(error)s" -#: src/octoprint/static/js/app/dataupdater.js:289 +#: src/octoprint/static/js/app/dataupdater.js:292 msgid "Communication error" msgstr "Kommunikationsfehler" -#: src/octoprint/static/js/app/dataupdater.js:290 +#: src/octoprint/static/js/app/dataupdater.js:293 #, python-format -msgid "" -"There was a communication error while talking to your printer. Please " -"consult the terminal output and octoprint.log for details. Error: " -"%(error)s" -msgstr "" -"Es gab einen Fehler bei der Kommunikation mit dem Drucker. Bitte " -"konsultiere den Terminaloutput und octoprint.log für Details. Fehler: " -"%(error)s" +msgid "There was a communication error while talking to your printer. Please consult the terminal output and octoprint.log for details. Error: %(error)s" +msgstr "Es gab einen Fehler bei der Kommunikation mit dem Drucker. Bitte konsultiere den Terminaloutput und octoprint.log für Details. Fehler: %(error)s" -#: src/octoprint/static/js/app/dataupdater.js:294 +#: src/octoprint/static/js/app/dataupdater.js:297 msgid "Error connecting to printer" msgstr "Fehler bei der Verbindung zum Drucker" -#: src/octoprint/static/js/app/dataupdater.js:295 +#: src/octoprint/static/js/app/dataupdater.js:298 #, python-format -msgid "" -"There was an error while trying to connect to your printer. Error: " -"%(error)s" +msgid "There was an error while trying to connect to your printer. Error: %(error)s" msgstr "Es gab einen Fehler bei der Verbindung zum Drucker. Fehler: %(error)s" -#: src/octoprint/static/js/app/dataupdater.js:299 +#: src/octoprint/static/js/app/dataupdater.js:302 msgid "Error starting a print" msgstr "Fehler beim Start eines Drucks" -#: src/octoprint/static/js/app/dataupdater.js:300 +#: src/octoprint/static/js/app/dataupdater.js:303 #, python-format msgid "There was an error while trying to start a print job. Error: %(error)s" msgstr "Es gab einen Fehler beim Start eines Drucks. Fehler: %(error)s" -#: src/octoprint/static/js/app/dataupdater.js:309 +#: src/octoprint/static/js/app/dataupdater.js:311 msgid "Unknown error" msgstr "Unbekannter Fehler" -#: src/octoprint/static/js/app/dataupdater.js:310 +#: src/octoprint/static/js/app/dataupdater.js:312 #, python-format -msgid "" -"There was an unknown error while talking to your printer. Please consult " -"the terminal output and octoprint.log for details. Error: %(error)s" -msgstr "" -"Es gab einen unbekannten Fehler bei der Kommunikation mit dem Drucker. " -"Bitte konsultiere den Terminaloutput und octoprint.log für Details. " -"Fehler: %(error)s" +msgid "There was an unknown error while talking to your printer. Please consult the terminal output and octoprint.log for details. Error: %(error)s" +msgstr "Es gab einen unbekannten Fehler bei der Kommunikation mit dem Drucker. Bitte konsultiere den Terminaloutput und octoprint.log für Details. Fehler: %(error)s" -#: src/octoprint/static/js/app/dataupdater.js:330 -msgid "" -"It looks like your printer reset while a connection was active. If this " -"was intentional you may safely ignore this message. Otherwise you should " -"investigate why your printer reset itself, since this will interrupt " -"prints and also file transfers to your printer's SD." -msgstr "" -"Es sieht so als hätte sich der Drucker resettet während eine Verbindung " -"offen war. Falls das Absicht war kannst du diese Nachricht ignorieren. " -"Andernfalls solltest du prüfen, warum sich dein Drucker resettet hat, da " -"dies Druckaufträge und Filetransfers zu der SD Karte deines Druckers " -"unterbrechen wird." +#: src/octoprint/static/js/app/dataupdater.js:332 +msgid "It looks like your printer reset while a connection was active. If this was intentional you may safely ignore this message. Otherwise you should investigate why your printer reset itself, since this will interrupt prints and also file transfers to your printer's SD." +msgstr "Es sieht so als hätte sich der Drucker resettet während eine Verbindung offen war. Falls das Absicht war kannst du diese Nachricht ignorieren. Andernfalls solltest du prüfen, warum sich dein Drucker resettet hat, da dies Druckaufträge und Filetransfers zu der SD Karte deines Druckers unterbrechen wird." -#: src/octoprint/static/js/app/dataupdater.js:333 -msgid "" -"It looks like your printer reset while a connection was active. Due to " -"this the ongoing job was aborted. If this was intentional you may safely " -"ignore this message. Otherwise you should investigate why your printer " -"reset itself, since this will interrupt prints and also file transfers to" -" your printer's SD." -msgstr "" -"Es sieht so als hätte sich der Drucker resettet während eine Verbindung " -"offen war. Darum wurde ein laufender Druckauftrag abgebrochen. Falls das " -"Absicht war kannst du diese Nachricht ignorieren. Andernfalls solltest du" -" prüfen, warum sich dein Drucker resettet hat, da dies Druckaufträge und " -"Filetransfers zu der SD Karte deines Druckers unterbrechen wird." +#: src/octoprint/static/js/app/dataupdater.js:335 +msgid "It looks like your printer reset while a connection was active. Due to this the ongoing job was aborted. If this was intentional you may safely ignore this message. Otherwise you should investigate why your printer reset itself, since this will interrupt prints and also file transfers to your printer's SD." +msgstr "Es sieht so als hätte sich der Drucker resettet während eine Verbindung offen war. Darum wurde ein laufender Druckauftrag abgebrochen. Falls das Absicht war kannst du diese Nachricht ignorieren. Andernfalls solltest du prüfen, warum sich dein Drucker resettet hat, da dies Druckaufträge und Filetransfers zu der SD Karte deines Druckers unterbrechen wird." -#: src/octoprint/static/js/app/dataupdater.js:341 +#: src/octoprint/static/js/app/dataupdater.js:343 msgid "Printer reset detected" msgstr "Druckerreset erkannt" @@ -3844,14 +3169,14 @@ msgstr "YYYY-MM-DD HH:mm:ss" msgid "off" msgstr "Aus" -#: src/octoprint/static/js/app/helpers.js:733 +#: src/octoprint/static/js/app/helpers.js:742 #: src/octoprint/static/js/app/viewmodels/access.js:278 -#: src/octoprint/static/js/app/viewmodels/access.js:577 +#: src/octoprint/static/js/app/viewmodels/access.js:566 #: src/octoprint/static/js/app/viewmodels/connection.js:162 msgid "Are you sure?" msgstr "Bist Du sicher?" -#: src/octoprint/static/js/app/helpers.js:972 +#: src/octoprint/static/js/app/helpers.js:981 msgid "Progress" msgstr "Fortschritt" @@ -3860,76 +3185,72 @@ msgid "Offline" msgstr "Offline" #: src/octoprint/static/js/app/main.js:206 -msgid "Opening serial port" -msgstr "Öffnet Serialport" +msgid "Opening serial connection" +msgstr "Öffne serielle Verbindung" #: src/octoprint/static/js/app/main.js:207 -msgid "Detecting serial port" -msgstr "Detektiere Serialport" +msgid "Detecting serial connection" +msgstr "Detektiere serielle Verbindung" #: src/octoprint/static/js/app/main.js:208 -msgid "Detecting baudrate" -msgstr "Detektiere Baudrate" - -#: src/octoprint/static/js/app/main.js:209 msgid "Connecting" msgstr "Verbinde" -#: src/octoprint/static/js/app/main.js:210 +#: src/octoprint/static/js/app/main.js:209 msgid "Operational" msgstr "Bereit" -#: src/octoprint/static/js/app/main.js:211 +#: src/octoprint/static/js/app/main.js:210 msgid "Starting" msgstr "Starte" -#: src/octoprint/static/js/app/main.js:212 +#: src/octoprint/static/js/app/main.js:211 msgid "Starting print from SD" msgstr "Starte Druck von SD" -#: src/octoprint/static/js/app/main.js:213 +#: src/octoprint/static/js/app/main.js:212 msgid "Printing from SD" msgstr "Drucke von SD" -#: src/octoprint/static/js/app/main.js:214 +#: src/octoprint/static/js/app/main.js:213 msgid "Sending file to SD" msgstr "Sende Datei zu SD" -#: src/octoprint/static/js/app/main.js:215 +#: src/octoprint/static/js/app/main.js:214 msgid "Printing" msgstr "Drucke" -#: src/octoprint/static/js/app/main.js:216 +#: src/octoprint/static/js/app/main.js:215 msgid "Paused" msgstr "Pausiert" -#: src/octoprint/static/js/app/main.js:217 +#: src/octoprint/static/js/app/main.js:216 msgid "Closed" msgstr "Geschlossen" -#: src/octoprint/static/js/app/main.js:218 +#: src/octoprint/static/js/app/main.js:217 msgid "Transferring file to SD" msgstr "Sende Datei zu SD" -#: src/octoprint/static/js/app/main.js:219 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:446 +#: src/octoprint/static/js/app/main.js:218 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:460 msgid "Pausing" msgstr "Pausiere" -#: src/octoprint/static/js/app/main.js:220 +#: src/octoprint/static/js/app/main.js:219 msgid "Resuming" msgstr "Setze fort" -#: src/octoprint/static/js/app/main.js:221 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:455 +#: src/octoprint/static/js/app/main.js:220 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:469 msgid "Cancelling" msgstr "Breche ab" -#: src/octoprint/static/js/app/main.js:222 +#: src/octoprint/static/js/app/main.js:221 msgid "Finishing" msgstr "Beende" -#: src/octoprint/static/js/app/main.js:816 +#: src/octoprint/static/js/app/main.js:815 msgid "Loading OctoPrint's UI, please wait..." msgstr "Lade OctoPrints Userinterface, bitte warten..." @@ -3966,7 +3287,7 @@ msgstr "Gruppe hinzufügen" msgid "Edit group \"%(name)s\"" msgstr "Gruppe \"%(name)s\" bearbeiten" -#: src/octoprint/static/js/app/viewmodels/access.js:578 +#: src/octoprint/static/js/app/viewmodels/access.js:567 #, python-format msgid "You are about to delete the group \"%(name)s\"." msgstr "Du bist im Begriff die Gruppe\"%(name)s\" zu löschen." @@ -3982,19 +3303,8 @@ msgid "Disconnect" msgstr "Trennen" #: src/octoprint/static/js/app/viewmodels/connection.js:163 -msgid "" -"

    You are about to disconnect from the printer while a print is " -"in progress.

    Disconnecting while a print is in progress " -"will prevent OctoPrint from completing the print. If you're printing from" -" an SD card attached directly to the printer, any attempt to restart " -"OctoPrint or reconnect to the printer could interrupt the print.

    " -msgstr "" -"

    Du bist im Begriff, die Verbindung zu deinem Drucker zu " -"trennen während ein Druck läuft.

    Das Trennen der " -"Verbindung während eines Drucks wird OctoPrint daran hindern, diesen zu " -"vollenden. Falls du von der SD deines Druckers druckst, könnte jeglicher " -"Versuch, OctoPrint neuzustarten oder erneut mit dem Drucker zu verbinden " -"den Druck unterbrechen.

    " +msgid "

    You are about to disconnect from the printer while a print is in progress.

    Disconnecting while a print is in progress will prevent OctoPrint from completing the print. If you're printing from an SD card attached directly to the printer, any attempt to restart OctoPrint or reconnect to the printer could interrupt the print.

    " +msgstr "

    Du bist im Begriff, die Verbindung zu deinem Drucker zu trennen während ein Druck läuft.

    Das Trennen der Verbindung während eines Drucks wird OctoPrint daran hindern, diesen zu vollenden. Falls du von der SD deines Druckers druckst, könnte jeglicher Versuch, OctoPrint neuzustarten oder erneut mit dem Drucker zu verbinden den Druck unterbrechen.

    " #: src/octoprint/static/js/app/viewmodels/connection.js:169 msgid "Are you sure you want to disconnect from the printer?" @@ -4005,7 +3315,7 @@ msgid "Stay Connected" msgstr "Verbunden bleiben" #: src/octoprint/static/js/app/viewmodels/control.js:73 -#: src/octoprint/static/js/app/viewmodels/files.js:688 +#: src/octoprint/static/js/app/viewmodels/files.js:813 #: src/octoprint/static/js/app/viewmodels/gcode.js:570 #: src/octoprint/static/js/app/viewmodels/printerstate.js:299 #: src/octoprint/static/js/app/viewmodels/temperature.js:130 @@ -4029,178 +3339,160 @@ msgstr "Dein verfügbarer freier Plattenplatz wird langsam knapp." msgid "Your current disk usage." msgstr "Dein aktuell verfügbarer freier Plattenplatz." -#: src/octoprint/static/js/app/viewmodels/files.js:144 +#: src/octoprint/static/js/app/viewmodels/files.js:191 msgid "Only show model files" msgstr "Nur Modelldateien anzeigen" -#: src/octoprint/static/js/app/viewmodels/files.js:145 +#: src/octoprint/static/js/app/viewmodels/files.js:192 msgid "Only show machine code files" msgstr "Nur geslicete Dateien anzeigen" -#: src/octoprint/static/js/app/viewmodels/files.js:153 +#: src/octoprint/static/js/app/viewmodels/files.js:200 #, python-format msgid "Only show %(type)s files" msgstr "Nur \"%(type)s\"-Dateien anzeigen" -#: src/octoprint/static/js/app/viewmodels/files.js:453 +#: src/octoprint/static/js/app/viewmodels/files.js:522 #, python-format -msgid "" -"You are about to delete the folder \"%(folder)s\" which still contains " -"files and/or sub folders." -msgstr "" -"Du bist im Begriff das Verzeichnis \"%(folder)s\" zu löschen, das noch " -"Dateien und/oder Unterverzeichnisse enthält." +msgid "You are about to delete the folder \"%(folder)s\" which still contains files and/or sub folders." +msgstr "Du bist im Begriff das Verzeichnis \"%(folder)s\" zu löschen, das noch Dateien und/oder Unterverzeichnisse enthält." -#: src/octoprint/static/js/app/viewmodels/files.js:481 +#: src/octoprint/static/js/app/viewmodels/files.js:550 #: src/octoprint/static/js/app/viewmodels/printerstate.js:348 msgid "This will start a new print job. Please check that the print bed is clear." -msgstr "" -"Dies started einen neuen Druckauftrag. Bitte prüfe, dass das Druckbett " -"frei ist." +msgstr "Dies started einen neuen Druckauftrag. Bitte prüfe, dass das Druckbett frei ist." -#: src/octoprint/static/js/app/viewmodels/files.js:482 +#: src/octoprint/static/js/app/viewmodels/files.js:551 #: src/octoprint/static/js/app/viewmodels/printerstate.js:349 msgid "Do you want to start the print job now?" msgstr "Möchtest du den Druckauftrag jetzt starten?" -#: src/octoprint/static/js/app/viewmodels/files.js:483 +#: src/octoprint/static/js/app/viewmodels/files.js:552 #: src/octoprint/static/js/app/viewmodels/printerstate.js:350 msgid "No" msgstr "Nein" -#: src/octoprint/static/js/app/viewmodels/files.js:484 +#: src/octoprint/static/js/app/viewmodels/files.js:553 #: src/octoprint/static/js/app/viewmodels/printerstate.js:351 msgid "Yes" msgstr "Ja" -#: src/octoprint/static/js/app/viewmodels/files.js:678 +#: src/octoprint/static/js/app/viewmodels/files.js:650 +msgid "Unable to move file or folder" +msgstr "Kann Datei oder Verzeichnis nicht verschieben" + +#: src/octoprint/static/js/app/viewmodels/files.js:650 +msgid "to" +msgstr "nach" + +#: src/octoprint/static/js/app/viewmodels/files.js:803 #: src/octoprint/static/js/app/viewmodels/gcode.js:528 msgid "Model size" msgstr "Modelgröße" -#: src/octoprint/static/js/app/viewmodels/files.js:684 -#: src/octoprint/static/js/app/viewmodels/files.js:688 +#: src/octoprint/static/js/app/viewmodels/files.js:809 +#: src/octoprint/static/js/app/viewmodels/files.js:813 #: src/octoprint/static/js/app/viewmodels/gcode.js:566 #: src/octoprint/static/js/app/viewmodels/gcode.js:570 msgid "Filament" msgstr "Filament" -#: src/octoprint/static/js/app/viewmodels/files.js:693 +#: src/octoprint/static/js/app/viewmodels/files.js:818 #: src/octoprint/static/js/app/viewmodels/gcode.js:575 msgid "Estimated print time" msgstr "Geschätzte Dauer" -#: src/octoprint/static/js/app/viewmodels/files.js:696 +#: src/octoprint/static/js/app/viewmodels/files.js:821 msgid "Last printed" msgstr "Zuletzt gedruckt" -#: src/octoprint/static/js/app/viewmodels/files.js:698 +#: src/octoprint/static/js/app/viewmodels/files.js:823 msgid "Last print time" msgstr "Letzte Dauer" -#: src/octoprint/static/js/app/viewmodels/files.js:758 +#: src/octoprint/static/js/app/viewmodels/files.js:883 #, python-format -msgid "" -"Object in %(name)s exceeds the print volume of the currently selected " -"printer profile, be careful when printing this." -msgstr "" -"Objekt in %(name)s überschreitet das Druckvolumen des aktuell gewählten " -"Druckerprofils, sei vorsichtig, das zu drucken." +msgid "Object in %(name)s exceeds the print volume of the currently selected printer profile, be careful when printing this." +msgstr "Objekt in %(name)s überschreitet das Druckvolumen des aktuell gewählten Druckerprofils, sei vorsichtig, das zu drucken." -#: src/octoprint/static/js/app/viewmodels/files.js:768 +#: src/octoprint/static/js/app/viewmodels/files.js:893 msgid "Object exceeds print volume in width.
    " msgstr "Objekt überschreitet Druckvolumen in der Breite.
    " -#: src/octoprint/static/js/app/viewmodels/files.js:771 +#: src/octoprint/static/js/app/viewmodels/files.js:896 msgid "Object exceeds print volume in depth.
    " msgstr "Objekt überschreitet Druckvolumen in der Tiefe.
    " -#: src/octoprint/static/js/app/viewmodels/files.js:774 +#: src/octoprint/static/js/app/viewmodels/files.js:899 msgid "Object exceeds print volume in height.
    " msgstr "Objekt überschreitet Druckvolumen in der Höhe.
    " -#: src/octoprint/static/js/app/viewmodels/files.js:780 -msgid "" -"Object's bounding box: (%(object.minX).2f, %(object.minY).2f, " -"%(object.minZ).2f) × (%(object.maxX).2f, %(object.maxY).2f, " -"%(object.maxZ).2f)" -msgstr "" -"Objektmaße: (%(object.minX).2f, %(object.minY).2f, %(object.minZ).2f) " -"× (%(object.maxX).2f, %(object.maxY).2f, %(object.maxZ).2f)" +#: src/octoprint/static/js/app/viewmodels/files.js:905 +msgid "Object's bounding box: (%(object.minX).2f, %(object.minY).2f, %(object.minZ).2f) × (%(object.maxX).2f, %(object.maxY).2f, %(object.maxZ).2f)" +msgstr "Objektmaße: (%(object.minX).2f, %(object.minY).2f, %(object.minZ).2f) × (%(object.maxX).2f, %(object.maxY).2f, %(object.maxZ).2f)" -#: src/octoprint/static/js/app/viewmodels/files.js:782 -msgid "" -"Print volume: (%(profile.minX).2f, %(profile.minY).2f, " -"%(profile.minZ).2f) × (%(profile.maxX).2f, %(profile.maxY).2f, " -"%(profile.maxZ).2f)" -msgstr "" -"Druckvolumen: (%(profile.minX).2f, %(profile.minY).2f, " -"%(profile.minZ).2f) × (%(profile.maxX).2f, %(profile.maxY).2f, " -"%(profile.maxZ).2f)" +#: src/octoprint/static/js/app/viewmodels/files.js:907 +msgid "Print volume: (%(profile.minX).2f, %(profile.minY).2f, %(profile.minZ).2f) × (%(profile.maxX).2f, %(profile.maxY).2f, %(profile.maxZ).2f)" +msgstr "Druckvolumen: (%(profile.minX).2f, %(profile.minY).2f, %(profile.minZ).2f) × (%(profile.maxX).2f, %(profile.maxY).2f, %(profile.maxZ).2f)" -#: src/octoprint/static/js/app/viewmodels/files.js:789 +#: src/octoprint/static/js/app/viewmodels/files.js:914 msgid "Object doesn't fit print volume" msgstr "Objekt passt nicht in Druckvolumen" -#: src/octoprint/static/js/app/viewmodels/files.js:964 +#: src/octoprint/static/js/app/viewmodels/files.js:1090 msgid "Slicing ..." msgstr "Slice ..." -#: src/octoprint/static/js/app/viewmodels/files.js:990 +#: src/octoprint/static/js/app/viewmodels/files.js:1116 msgid "Slicing done" msgstr "Slicing abgeschlossen" -#: src/octoprint/static/js/app/viewmodels/files.js:991 +#: src/octoprint/static/js/app/viewmodels/files.js:1117 #, python-format msgid "Sliced %(stl)s to %(gcode)s, took %(time).2f seconds" msgstr "%(stl)s nach %(gcode)s geslicet, dauerte %(time).2f Sekunden" -#: src/octoprint/static/js/app/viewmodels/files.js:1006 +#: src/octoprint/static/js/app/viewmodels/files.js:1132 #, python-format msgid "Could not slice %(stl)s to %(gcode)s: %(reason)s" msgstr "Konnte %(stl)s nicht nach %(gcode)s slicen: %(reason)s" -#: src/octoprint/static/js/app/viewmodels/files.js:1007 +#: src/octoprint/static/js/app/viewmodels/files.js:1133 msgid "Slicing failed" msgstr "Slicing fehlgeschlagen" -#: src/octoprint/static/js/app/viewmodels/files.js:1024 +#: src/octoprint/static/js/app/viewmodels/files.js:1150 msgid "Streaming ..." msgstr "Streaming ..." -#: src/octoprint/static/js/app/viewmodels/files.js:1036 +#: src/octoprint/static/js/app/viewmodels/files.js:1162 msgid "Streaming done" msgstr "Streaming abgeschlossen" -#: src/octoprint/static/js/app/viewmodels/files.js:1037 +#: src/octoprint/static/js/app/viewmodels/files.js:1163 #, python-format msgid "Streamed %(local)s to %(remote)s on SD, took %(time).2f seconds" msgstr "%(local)s nach %(remote)s gestreamt, dauerte %(time).2f Sekunden" -#: src/octoprint/static/js/app/viewmodels/files.js:1053 +#: src/octoprint/static/js/app/viewmodels/files.js:1179 msgid "Streaming failed" msgstr "Streaming fehlgeschlagen" -#: src/octoprint/static/js/app/viewmodels/files.js:1054 +#: src/octoprint/static/js/app/viewmodels/files.js:1180 #, python-format msgid "Did not finish streaming %(local)s to %(remote)s on SD" msgstr "Streaming von %(local)s nach %(remote)s nicht abgeschlossen." -#: src/octoprint/static/js/app/viewmodels/files.js:1154 +#: src/octoprint/static/js/app/viewmodels/files.js:1278 #, python-format -msgid "" -"Could not upload the file. Make sure that it is a readable, valid file " -"with one of these extensions: %(extensions)s" -msgstr "" -"Konnte die Datei nicht hochladen. Bitte stelle sicher, dass es sich um " -"eine lesbare valide Datei mit einer dieser Erweiterungen ist: " -"%(extensions)s" +msgid "Could not upload the file. Make sure that it is a readable, valid file with one of these extensions: %(extensions)s" +msgstr "Konnte die Datei nicht hochladen. Bitte stelle sicher, dass es sich um eine lesbare valide Datei mit einer dieser Erweiterungen ist: %(extensions)s" -#: src/octoprint/static/js/app/viewmodels/files.js:1177 +#: src/octoprint/static/js/app/viewmodels/files.js:1301 msgid "Saving ..." msgstr "Speichere ..." -#: src/octoprint/static/js/app/viewmodels/files.js:1177 +#: src/octoprint/static/js/app/viewmodels/files.js:1301 msgid "Uploading ..." msgstr "Uploade ..." @@ -4259,29 +3551,8 @@ msgstr "Eingeloggt als %(name)s" #: src/octoprint/static/js/app/viewmodels/loginstate.js:88 #, python-format -msgid "" -"

    It seems that you are connecting to OctoPrint over the public " -"internet.

    This is strongly discouraged unless you have taken proper" -" network security precautions. Your printer is an appliance you really " -"should not be giving access to everyone with an internet " -"connection.

    Please see this blog post for ways" -" to safely access your OctoPrint instance from " -"remote.

    If you know what you are doing or you are " -"sure this message is mistaken since you are in an isolated LAN, feel free" -" to ignore it.

    " -msgstr "" -"

    Es scheint, dass du auf OctoPrint über das öffentliche Internet " -"zugreifst.

    Davon wird nachdrücklich abgeraten, sofern du nicht " -"weitere Maßnahmen für ordentliche Netzwerkabsicherung getroffen hast. " -"Dein Drucker ist ein Gerät, zu dem du wirklich nicht jedem mit einer " -"Internetverbindung Zugriff geben solltest.

    Bitte lies diesen " -"Blog Post über sichere Wege, auf deine OctoPrint Instanz auch von " -"unterwegs zuzugreifen.

    Wenn du dir sicher bist, was" -" du hier tust oder dass diese Meldung ein Fehler ist und du dich " -"tatsächlich in einem isolierten LAN befindest, ignoriere sie " -"einfach.

    " +msgid "

    It seems that you are connecting to OctoPrint over the public internet.

    This is strongly discouraged unless you have taken proper network security precautions. Your printer is an appliance you really should not be giving access to everyone with an internet connection.

    Please see this blog post for ways to safely access your OctoPrint instance from remote.

    If you know what you are doing or you are sure this message is mistaken since you are in an isolated LAN, feel free to ignore it.

    " +msgstr "

    Es scheint, dass du auf OctoPrint über das öffentliche Internet zugreifst.

    Davon wird nachdrücklich abgeraten, sofern du nicht weitere Maßnahmen für ordentliche Netzwerkabsicherung getroffen hast. Dein Drucker ist ein Gerät, zu dem du wirklich nicht jedem mit einer Internetverbindung Zugriff geben solltest.

    Bitte lies diesen Blog Post über sichere Wege, auf deine OctoPrint Instanz auch von unterwegs zuzugreifen.

    Wenn du dir sicher bist, was du hier tust oder dass diese Meldung ein Fehler ist und du dich tatsächlich in einem isolierten LAN befindest, ignoriere sie einfach.

    " #: src/octoprint/static/js/app/viewmodels/loginstate.js:103 msgid "Possible external access detected" @@ -4375,9 +3646,7 @@ msgid "Center" msgstr "Mittelpunkt" #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:513 -msgid "" -"There was unexpected error while saving the printer profile, please " -"consult the logs." +msgid "There was unexpected error while saving the printer profile, please consult the logs." msgstr "Unerwarteter Fehler beim Speichern des Profils, bitte konsultiere das Log" #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:514 @@ -4389,9 +3658,7 @@ msgid "Cannot delete the default profile or the currently active profile." msgstr "Kann weder das Defaultprofil noch das aktuell ausgewählte Profil löschen." #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:536 -msgid "" -"There was unexpected error while removing the printer profile, please " -"consult the logs." +msgid "There was unexpected error while removing the printer profile, please consult the logs." msgstr "Unerwarteter Fehler beim Löschen des Profils, bitte konsultiere das Log" #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:538 @@ -4404,12 +3671,8 @@ msgid "You are about to delete the printer profile \"%(name)s\"." msgstr "Du bist im Begriff das Druckerprofil \"%(name)s\" zu löschen." #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:564 -msgid "" -"There was unexpected error while updating the printer profile, please " -"consult the logs." -msgstr "" -"Unerwarteter Fehler beim Aktualisieren des Profils, bitte konsultiere das" -" Log" +msgid "There was unexpected error while updating the printer profile, please consult the logs." +msgstr "Unerwarteter Fehler beim Aktualisieren des Profils, bitte konsultiere das Log" #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:565 msgid "Could not update profile" @@ -4445,12 +3708,8 @@ msgid "Still stabilizing..." msgstr "Noch zu ungenau..." #: src/octoprint/static/js/app/viewmodels/printerstate.js:129 -msgid "" -"Based on a linear approximation (very low accuracy, especially at the " -"beginning of the print)" -msgstr "" -"Basiert auf einer linearen Approximation (sehr geringe Genauigkeit, " -"insbesondere zu Beginn eines Drucks)" +msgid "Based on a linear approximation (very low accuracy, especially at the beginning of the print)" +msgstr "Basiert auf einer linearen Approximation (sehr geringe Genauigkeit, insbesondere zu Beginn eines Drucks)" #: src/octoprint/static/js/app/viewmodels/printerstate.js:132 msgid "Based on the estimate from analysis of file (medium accuracy)" @@ -4458,25 +3717,15 @@ msgstr "Basiert auf der Schätzung der Analyse der Datei (mittlere Genauigkeit)" #: src/octoprint/static/js/app/viewmodels/printerstate.js:135 msgid "Based on a mix of estimate from analysis and calculation (medium accuracy)" -msgstr "" -"Basiert auf einem Mix der Schätzung aus der Analyse und der Berechnung " -"(mittlere Genauigkeit)" +msgstr "Basiert auf einem Mix der Schätzung aus der Analyse und der Berechnung (mittlere Genauigkeit)" #: src/octoprint/static/js/app/viewmodels/printerstate.js:138 -msgid "" -"Based on the average total of past prints of this model with the same " -"printer profile (usually good accuracy)" -msgstr "" -"Basiert auf der durchschnittlichen Dauer vergangener Druckjobs dieses " -"Modells mit dem selben Druckerprofil (normalerweise gute Genauigkeit)" +msgid "Based on the average total of past prints of this model with the same printer profile (usually good accuracy)" +msgstr "Basiert auf der durchschnittlichen Dauer vergangener Druckjobs dieses Modells mit dem selben Druckerprofil (normalerweise gute Genauigkeit)" #: src/octoprint/static/js/app/viewmodels/printerstate.js:141 -msgid "" -"Based on a mix of average total from past prints and calculation (usually" -" good accuracy)" -msgstr "" -"Basiert auf einem Mix der durchschnittlichen Dauer vergangener Druckjobs " -"und der Berechnung (normalerweise gute Genauigkeit)" +msgid "Based on a mix of average total from past prints and calculation (usually good accuracy)" +msgstr "Basiert auf einem Mix der durchschnittlichen Dauer vergangener Druckjobs und der Berechnung (normalerweise gute Genauigkeit)" #: src/octoprint/static/js/app/viewmodels/printerstate.js:144 msgid "Based on the calculated estimate (best accuracy)" @@ -4517,14 +3766,12 @@ msgid "This will cancel your print." msgstr "Das wird deinen Druck abbrechen." #: src/octoprint/static/js/app/viewmodels/printerstate.js:380 -#, fuzzy msgid "No, continue the print" -msgstr "Fehler bei der Verbindung zum Drucker" +msgstr "Nein, mit dem Druck fortfahren" #: src/octoprint/static/js/app/viewmodels/printerstate.js:381 -#, fuzzy msgid "Yes, cancel the print" -msgstr "Bricht den Druckjob ab" +msgstr "Ja, den Druck abbrechen" #: src/octoprint/static/js/app/viewmodels/settings.js:72 #: src/octoprint/static/js/app/viewmodels/settings.js:90 @@ -4540,102 +3787,88 @@ msgstr "Weiß" msgid "Autodetect from browser" msgstr "Automatisch vom Browser erkennen" -#: src/octoprint/static/js/app/viewmodels/settings.js:351 +#: src/octoprint/static/js/app/viewmodels/settings.js:353 msgid "If you see your webcam stream below, the entered stream URL is ok." msgstr "Falls du unten den Webcamstream sehen kannst, ist die Stream-URL ok." -#: src/octoprint/static/js/app/viewmodels/settings.js:359 +#: src/octoprint/static/js/app/viewmodels/settings.js:361 msgid "Stream test" msgstr "Stream Test" -#: src/octoprint/static/js/app/viewmodels/settings.js:377 +#: src/octoprint/static/js/app/viewmodels/settings.js:379 msgid "Could not retrieve snapshot URL, please double check the URL" msgstr "Konnte die Snapshot-URL nicht abgreifen, bitte prüfen" -#: src/octoprint/static/js/app/viewmodels/settings.js:378 +#: src/octoprint/static/js/app/viewmodels/settings.js:380 msgid "Snapshot test failed" msgstr "Snapshot Test fehlgeschlagen" -#: src/octoprint/static/js/app/viewmodels/settings.js:393 +#: src/octoprint/static/js/app/viewmodels/settings.js:395 #, python-format -msgid "" -"Could retrieve the snapshot URL, but it didn't look like an image. Got " -"this as a content type header: %(content_type)s. Please " -"double check that the URL is returning static images, not multipart data " -"or videos." -msgstr "" -"Konnte die Snapshot URL abrufen, aber die Antwort sah nicht wie ein Bild " -"aus: %(content_type)s. Bitte überprüfe, dass die URL " -"einzelne Bilder zurückliefert, nicht multipart Daten oder Videos." - -#: src/octoprint/static/js/app/viewmodels/settings.js:418 -msgid "" -"If you see your webcam snapshot picture below, the entered snapshot URL " -"is ok." -msgstr "Falls du unten dein Snapshotbild sehen kannst, ist die Snapshot-URL ok." +msgid "Could retrieve the snapshot URL, but it didn't look like an image. Got this as a content type header: %(content_type)s. Please double check that the URL is returning static images, not multipart data or videos." +msgstr "Konnte die Snapshot URL abrufen, aber die Antwort sah nicht wie ein Bild aus: %(content_type)s. Bitte überprüfe, dass die URL einzelne Bilder zurückliefert, nicht multipart Daten oder Videos." #: src/octoprint/static/js/app/viewmodels/settings.js:420 +msgid "If you see your webcam snapshot picture below, the entered snapshot URL is ok." +msgstr "Falls du unten dein Snapshotbild sehen kannst, ist die Snapshot-URL ok." + +#: src/octoprint/static/js/app/viewmodels/settings.js:422 msgid "Snapshot test" msgstr "Snapshot Test" -#: src/octoprint/static/js/app/viewmodels/settings.js:453 +#: src/octoprint/static/js/app/viewmodels/settings.js:455 msgid "The path doesn't exist" msgstr "Der Pfad existiert nicht" -#: src/octoprint/static/js/app/viewmodels/settings.js:455 +#: src/octoprint/static/js/app/viewmodels/settings.js:457 msgid "The path is not a file" msgstr "Der Pfad ist keine Datei" -#: src/octoprint/static/js/app/viewmodels/settings.js:457 +#: src/octoprint/static/js/app/viewmodels/settings.js:459 msgid "The path is not an executable" msgstr "Der Pfad ist nicht ausführbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:460 -#: src/octoprint/static/js/app/viewmodels/settings.js:541 +#: src/octoprint/static/js/app/viewmodels/settings.js:462 +#: src/octoprint/static/js/app/viewmodels/settings.js:543 msgid "The path is valid" msgstr "Der Pfad ist valide" -#: src/octoprint/static/js/app/viewmodels/settings.js:480 +#: src/octoprint/static/js/app/viewmodels/settings.js:482 msgid "The server is not reachable" msgstr "Der Server ist nicht erreichbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:482 +#: src/octoprint/static/js/app/viewmodels/settings.js:484 msgid "The server is reachable" msgstr "Der Server ist erreichbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:501 -#, fuzzy -msgid "Name cannot be resolved" -msgstr "Kann nicht umgeschaltet werden" - #: src/octoprint/static/js/app/viewmodels/settings.js:503 -msgid "Name can be resolved" -msgstr "" +msgid "Name cannot be resolved" +msgstr "Name kann nicht aufgelöst werden" -#: src/octoprint/static/js/app/viewmodels/settings.js:532 +#: src/octoprint/static/js/app/viewmodels/settings.js:505 +msgid "Name can be resolved" +msgstr "Name kann aufgelöst werden" + +#: src/octoprint/static/js/app/viewmodels/settings.js:534 msgid "The path is a broken symlink." msgstr "Der Pfad ist ein kaputter Symlink" -#: src/octoprint/static/js/app/viewmodels/settings.js:534 +#: src/octoprint/static/js/app/viewmodels/settings.js:536 msgid "The path does not exist and cannot be created." msgstr "Der Pfad existiert nicht und kann nicht erstellt werden." -#: src/octoprint/static/js/app/viewmodels/settings.js:536 +#: src/octoprint/static/js/app/viewmodels/settings.js:538 msgid "The path is not a folder." msgstr "Der Pfad ist kein Verzeichnis" -#: src/octoprint/static/js/app/viewmodels/settings.js:538 +#: src/octoprint/static/js/app/viewmodels/settings.js:540 msgid "The path is not writable." msgstr "Der Pfad ist nicht beschreibbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:663 +#: src/octoprint/static/js/app/viewmodels/settings.js:665 #: src/octoprint/static/js/app/viewmodels/usersettings.js:101 -msgid "" -"This will generate a new API Key. The old API Key will cease to function " -"immediately." -msgstr "" -"Dies wird einen neuen API-Key generieren. Der alte wird sofort aufhören " -"zu funktionieren." +msgid "This will generate a new API Key. The old API Key will cease to function immediately." +msgstr "Dies wird einen neuen API-Key generieren. Der alte wird sofort aufhören zu funktionieren." #: src/octoprint/static/js/app/viewmodels/slicing.js:124 msgid "Do nothing" @@ -4692,12 +3925,8 @@ msgstr "Ändere Offset von %(name)s" #: src/octoprint/static/js/app/viewmodels/temperature.js:65 #, python-format -msgid "" -"Use the form below to specify a new offset to apply to all temperature " -"commands sent from printed files for \"%(name)s\"" -msgstr "" -"Definiere unten ein neues Offset für alle Temperaturkommandos für " -"\"%(name)s\", die aus zu druckenden Dateien gesendet werden" +msgid "Use the form below to specify a new offset to apply to all temperature commands sent from printed files for \"%(name)s\"" +msgstr "Definiere unten ein neues Offset für alle Temperaturkommandos für \"%(name)s\", die aus zu druckenden Dateien gesendet werden" #: src/octoprint/static/js/app/viewmodels/temperature.js:86 #: src/octoprint/static/js/app/viewmodels/temperature.js:148 @@ -4737,18 +3966,12 @@ msgstr "Soll" #: src/octoprint/static/js/app/viewmodels/terminal.js:105 #, python-format -msgid "" -"showing %(displayed)d lines (%(filtered)d of %(total)d total lines " -"filtered, buffer full)" -msgstr "" -"zeige %(displayed)d Zeilen (%(filtered)d von %(total)d Zeilen gefiltert, " -"Buffer voll)" +msgid "showing %(displayed)d lines (%(filtered)d of %(total)d total lines filtered, buffer full)" +msgstr "zeige %(displayed)d Zeilen (%(filtered)d von %(total)d Zeilen gefiltert, Buffer voll)" #: src/octoprint/static/js/app/viewmodels/terminal.js:107 #, python-format -msgid "" -"showing %(displayed)d lines (%(filtered)d of %(total)d total lines " -"filtered)" +msgid "showing %(displayed)d lines (%(filtered)d of %(total)d total lines filtered)" msgstr "zeige %(displayed)d Zeilen (%(filtered)d von %(total)d Zeilen gefiltert)" #: src/octoprint/static/js/app/viewmodels/terminal.js:111 @@ -4773,12 +3996,8 @@ msgstr "%(target)s wird gerendert... (%(progress)d%%)" #: src/octoprint/static/js/app/viewmodels/timelapse.js:284 #, python-format -msgid "" -"Failed to remove timelapse %(name)s.

    Please consult octoprint.log " -"for details.

    " -msgstr "" -"Konnte Zeitrafferaufnahme %(name)s nicht entfernen.

    Bitte " -"konsultiere octoprint.log für Details.

    " +msgid "Failed to remove timelapse %(name)s.

    Please consult octoprint.log for details.

    " +msgstr "Konnte Zeitrafferaufnahme %(name)s nicht entfernen.

    Bitte konsultiere octoprint.log für Details.

    " #: src/octoprint/static/js/app/viewmodels/timelapse.js:287 msgid "Could not remove timelapse" @@ -4797,9 +4016,7 @@ msgstr "Du bist im Begriff %(count)d Zeitrafferaufnahmen zu löschen." #: src/octoprint/static/js/app/viewmodels/timelapse.js:338 #, python-format msgid "You are about to delete unrendered timelapse \"%(name)s\"." -msgstr "" -"Du bist im Begriff die ungerenderte Zeitrafferaufnahme \"%(name)s\" zu " -"löschen." +msgstr "Du bist im Begriff die ungerenderte Zeitrafferaufnahme \"%(name)s\" zu löschen." #: src/octoprint/static/js/app/viewmodels/timelapse.js:353 #, python-format @@ -4839,12 +4056,8 @@ msgstr "%(minutes)d Min" #: src/octoprint/static/js/app/viewmodels/timelapse.js:488 #, python-format -msgid "" -"Now capturing timelapse post roll, this will take approximately " -"%(duration)s (so until %(time)s)..." -msgstr "" -"Zeichne jetzt Zeitraffernachlauf auf, dies wird voraussichtlich " -"%(duration)s dauern (also etwa bis %(time)s)..." +msgid "Now capturing timelapse post roll, this will take approximately %(duration)s (so until %(time)s)..." +msgstr "Zeichne jetzt Zeitraffernachlauf auf, dies wird voraussichtlich %(duration)s dauern (also etwa bis %(time)s)..." #: src/octoprint/static/js/app/viewmodels/timelapse.js:490 #, python-format @@ -4853,20 +4066,12 @@ msgstr "%(seconds)d Sek" #: src/octoprint/static/js/app/viewmodels/timelapse.js:491 #, python-format -msgid "" -"Now capturing timelapse post roll, this will take approximately " -"%(duration)s..." -msgstr "" -"Zeichne jetzt Zeitraffernachlauf auf, dies wird voraussichtlich " -"%(duration)s dauern..." +msgid "Now capturing timelapse post roll, this will take approximately %(duration)s..." +msgstr "Zeichne jetzt Zeitraffernachlauf auf, dies wird voraussichtlich %(duration)s dauern..." #: src/octoprint/static/js/app/viewmodels/timelapse.js:521 -msgid "" -"Failed repeatedly to capture timelapse frame from webcam - is the " -"snapshot URL configured correctly and the camera on?" -msgstr "" -"Konnte wiederholt kein Zeitrafferbild von der Webcam beziehen - ist die " -"Snapshot-URL korrekt konfiguriert und die Kamera an?" +msgid "Failed repeatedly to capture timelapse frame from webcam - is the snapshot URL configured correctly and the camera on?" +msgstr "Konnte wiederholt kein Zeitrafferbild von der Webcam beziehen - ist die Snapshot-URL korrekt konfiguriert und die Kamera an?" #: src/octoprint/static/js/app/viewmodels/timelapse.js:524 msgid "Could not capture snapshots" @@ -4878,13 +4083,8 @@ msgstr "Zeitrafferaufnahme wird gerendert" #: src/octoprint/static/js/app/viewmodels/timelapse.js:534 #, python-format -msgid "" -"Now rendering timelapse %(movie_prefix)s. Due to performance reasons it " -"is not recommended to start a print job while a movie is still rendering." -msgstr "" -"Rendere jetzt die Zeitrafferaufnahme %(movie_prefix)s. Aus Gründen der " -"Performance ist es nicht empfehlenswert, einen Druckauftrag zu starten, " -"so lange die Aufnahme noch gerendert wird." +msgid "Now rendering timelapse %(movie_prefix)s. Due to performance reasons it is not recommended to start a print job while a movie is still rendering." +msgstr "Rendere jetzt die Zeitrafferaufnahme %(movie_prefix)s. Aus Gründen der Performance ist es nicht empfehlenswert, einen Druckauftrag zu starten, so lange die Aufnahme noch gerendert wird." #: src/octoprint/static/js/app/viewmodels/timelapse.js:552 msgid "Cannot render timelapse" @@ -4892,12 +4092,8 @@ msgstr "Kann Zeitrafferaufnahme nicht rendern" #: src/octoprint/static/js/app/viewmodels/timelapse.js:553 #, python-format -msgid "" -"Rendering of timelapse %(movie_prefix)s is not possible since no frames " -"were captured. Is the snapshot URL configured correctly?" -msgstr "" -"Rendering des Zeitraffers %(movie_prefix)s ist nicht möglich, da keine " -"Frames gespeichert wurden. Ist die Snapshot-URL korrekt konfiguriert?" +msgid "Rendering of timelapse %(movie_prefix)s is not possible since no frames were captured. Is the snapshot URL configured correctly?" +msgstr "Rendering des Zeitraffers %(movie_prefix)s ist nicht möglich, da keine Frames gespeichert wurden. Ist die Snapshot-URL korrekt konfiguriert?" #: src/octoprint/static/js/app/viewmodels/timelapse.js:555 #: src/octoprint/static/js/app/viewmodels/timelapse.js:559 @@ -4906,21 +4102,13 @@ msgstr "Rendern von Zeitrafferaufnahme fehlgeschlagen" #: src/octoprint/static/js/app/viewmodels/timelapse.js:556 #, python-format -msgid "" -"Rendering of timelapse %(movie_prefix)s failed with return code " -"%(returncode)s" -msgstr "" -"Rendering der Zeitrafferaufnahme %(movie_prefix)s fehlgeschlagen mit " -"Returncode %(returncode)s" +msgid "Rendering of timelapse %(movie_prefix)s failed with return code %(returncode)s" +msgstr "Rendering der Zeitrafferaufnahme %(movie_prefix)s fehlgeschlagen mit Returncode %(returncode)s" #: src/octoprint/static/js/app/viewmodels/timelapse.js:560 #, python-format -msgid "" -"Rendering of timelapse %(movie_prefix)s failed due to an unknown error, " -"please consult the log file" -msgstr "" -"Rendering der Zeitrafferaufnahme %(movie_prefix)s fehlgeschlagen aufgrund" -" eines unbekannten Fehlers, bitte konsultiere die Logdatei" +msgid "Rendering of timelapse %(movie_prefix)s failed due to an unknown error, please consult the log file" +msgstr "Rendering der Zeitrafferaufnahme %(movie_prefix)s fehlgeschlagen aufgrund eines unbekannten Fehlers, bitte konsultiere die Logdatei" #: src/octoprint/static/js/app/viewmodels/timelapse.js:577 msgid "Timelapse ready" @@ -4939,43 +4127,42 @@ msgstr "Seitenvoreinstellung" msgid "This will delete the API Key. It will cease to to function immediately." msgstr "Dies wird den API-Key löschen. Er wird sofort aufhören, zu funktionieren." -#: src/octoprint/templates/index.jinja2:33 -msgid "You don't seem to have JavaScript enabled" -msgstr "" +#: src/octoprint/templates/footer.jinja2:8 +msgid "Forum" +msgstr "Forum" + +#: src/octoprint/templates/footer.jinja2:9 +msgid "Discord" +msgstr "Discord" + +#: src/octoprint/templates/footer.jinja2:10 +msgid "FAQ" +msgstr "FAQ" + +#: src/octoprint/templates/footer.jinja2:11 +msgid "Docs" +msgstr "Docs" + +#: src/octoprint/templates/footer.jinja2:12 +msgid "About" +msgstr "Über" #: src/octoprint/templates/index.jinja2:34 -msgid "" -"OctoPrint's UI requires JavaScript to work. Please enable JavaScript and " -"reload." -msgstr "" +msgid "You don't seem to have JavaScript enabled" +msgstr "Du scheintst JavaScript nicht aktiviert zu haben" -#: src/octoprint/templates/index.jinja2:48 -#, fuzzy +#: src/octoprint/templates/index.jinja2:35 +msgid "OctoPrint's UI requires JavaScript to work. Please enable JavaScript and reload." +msgstr "OctoPrints UI benötigt JavaScript, um zu funktionieren. Bitte aktiviere JavaScript und lade neu." + +#: src/octoprint/templates/index.jinja2:49 msgid "Connecting to OctoPrint's server..." -msgstr "Fehler bei der Verbindung zum Drucker" - -#: src/octoprint/templates/index.jinja2:161 -msgid "Forum" -msgstr "" - -#: src/octoprint/templates/index.jinja2:162 -msgid "FAQ" -msgstr "" - -#: src/octoprint/templates/index.jinja2:163 -msgid "Docs" -msgstr "" - -#: src/octoprint/templates/index.jinja2:164 -#, fuzzy -msgid "About" -msgstr "Abbrechen" +msgstr "Verbinde zum OctoPrint-Server..." #: src/octoprint/templates/dialogs/about.jinja2:4 #: src/octoprint/templates/dialogs/settings.jinja2:51 -#, fuzzy msgid "About OctoPrint" -msgstr "Über OctoPi" +msgstr "Über OctoPrint" #: src/octoprint/templates/dialogs/files.jinja2:4 msgid "Create Folder" @@ -4993,6 +4180,25 @@ msgstr "Verzeichnisname" msgid "Create" msgstr "Erstellen" +#: src/octoprint/templates/dialogs/files.jinja2:26 +msgid "Move File or Folder" +msgstr "Datei oder Verzeichnis verschieben" + +#: src/octoprint/templates/dialogs/files.jinja2:31 +msgid "Select destination folder for " +msgstr "Wähle Zielverzeichnis für" + +#: src/octoprint/templates/dialogs/files.jinja2:31 +msgid "Currently:" +msgstr "Aktuell:" + +#: src/octoprint/templates/dialogs/files.jinja2:41 +#: src/octoprint/templates/sidebar/files.jinja2:26 +#: src/octoprint/templates/sidebar/files.jinja2:40 +#: src/octoprint/templates/sidebar/files.jinja2:51 +msgid "Move" +msgstr "Verschieben" + #: src/octoprint/templates/dialogs/settings.jinja2:4 msgid "OctoPrint Settings" msgstr "OctoPrint Einstellungen" @@ -5002,22 +4208,15 @@ msgid "Settings update detected" msgstr "Einstellungsupdate erkannt" #: src/octoprint/templates/dialogs/settings.jinja2:62 -msgid "" -"\n" -" The settings have been updated on the server. You may reload " -"all settings,\n" -" overwriting any changes you might have done locally, or " -"alternatively\n" +msgid "\n" +" The settings have been updated on the server. You may reload all settings,\n" +" overwriting any changes you might have done locally, or alternatively\n" " only reload those settings you haven't changed locally.\n" " " -msgstr "Die Einstellungen wurden auf dem Server geändert. Du kannst " -"alle Einstellungen neu laden und dabei bereits gemachte lokale Änderungen " -"überschreiben oder nur die Änderungen neu laden, die nicht lokal geändert " -"wurden." +msgstr "Die Einstellungen wurden auf dem Server geändert. Du kannst alle Einstellungen neu laden und dabei bereits gemachte lokale Änderungen überschreiben oder nur die Änderungen neu laden, die nicht lokal geändert wurden." #: src/octoprint/templates/dialogs/settings.jinja2:67 -msgid "" -"\n" +msgid "\n" " How do you want to proceed?\n" " " msgstr "Wie möchtest du fortfahren?" @@ -5031,23 +4230,12 @@ msgid "Reload only non-conflicting changes" msgstr "Nur konfliktfreie Änderungen neu laden" #: src/octoprint/templates/dialogs/slicing.jinja2:8 -msgid "" -"Slicing is currently disabled since no slicer has been configured yet. " -"Please configure a slicer under \"Settings\"." -msgstr "" -"Slicing ist aktuell deaktiviert da noch kein Slicer konfiguriert wurde. " -"Bitte konfiguriere einen Slicer unter \"Settings\"." +msgid "Slicing is currently disabled since no slicer has been configured yet. Please configure a slicer under \"Settings\"." +msgstr "Slicing ist aktuell deaktiviert da noch kein Slicer konfiguriert wurde. Bitte konfiguriere einen Slicer unter \"Settings\"." #: src/octoprint/templates/dialogs/slicing.jinja2:11 -msgid "" -"Please configure which slicer and which slicing profile to use and name " -"the GCode file to slice to below, or click \"Cancel\" if you do not wish " -"to slice the file now." -msgstr "" -"Bitte wähle den zu nutzenden Slicer und das zu nutzende Slicerprofile und" -" wie die GCode Datei heißen soll, die erzeugt wird. Alternativ kannst du " -"auch auf \"Abbrechen\" klicken, wenn du die Datei jetzt nicht slicen " -"willst." +msgid "Please configure which slicer and which slicing profile to use and name the GCode file to slice to below, or click \"Cancel\" if you do not wish to slice the file now." +msgstr "Bitte wähle den zu nutzenden Slicer und das zu nutzende Slicerprofile und wie die GCode Datei heißen soll, die erzeugt wird. Alternativ kannst du auch auf \"Abbrechen\" klicken, wenn du die Datei jetzt nicht slicen willst." #: src/octoprint/templates/dialogs/slicing.jinja2:14 msgid "Slicer" @@ -5063,9 +4251,7 @@ msgstr "Gleicher Server" #: src/octoprint/templates/dialogs/slicing.jinja2:23 msgid "For performance reasons locally run slicers are disabled while printing" -msgstr "" -"Aus Gründen der Performanz sind Slicer, die auf dem gleichen Server " -"laufen, während des Druckens deaktiviert" +msgstr "Aus Gründen der Performanz sind Slicer, die auf dem gleichen Server laufen, während des Druckens deaktiviert" #: src/octoprint/templates/dialogs/slicing.jinja2:27 msgid "Slicing Profile" @@ -5093,7 +4279,7 @@ msgid "After slicing..." msgstr "Nach dem Slicing..." #: src/octoprint/templates/dialogs/slicing.jinja2:58 -#: src/octoprint/templates/sidebar/files.jinja2:40 +#: src/octoprint/templates/sidebar/files.jinja2:42 msgid "Slice" msgstr "Slicen" @@ -5119,9 +4305,7 @@ msgid "Delete Offset" msgstr "Offset löschen" #: src/octoprint/templates/dialogs/temperature.jinja2:25 -msgid "" -"Hint: Hitting Enter in the input field will also submit the " -"form" +msgid "Hint: Hitting Enter in the input field will also submit the form" msgstr "Hinweis: Enter im Eingabefeld speichert." #: src/octoprint/templates/dialogs/usersettings.jinja2:4 @@ -5150,10 +4334,8 @@ msgid "Setup Wizard" msgstr "Setup Wizard" #: src/octoprint/templates/dialogs/wizard.jinja2:41 -msgid "" -"\n" -" Mandatory " -"Step! You need to fill this out now.\n" +msgid "\n" +" Mandatory Step! You need to fill this out now.\n" " " msgstr "Obligatorischer Schritt! Du musst das jetzt ausfüllen." @@ -5166,12 +4348,8 @@ msgid "Previous" msgstr "Zurück" #: src/octoprint/templates/dialogs/wizard.jinja2:63 -msgid "" -"Unless otherwise noted, you may just skip any wizard page by clicking " -"\"Next\" or \"Finish\"." -msgstr "" -"Falls nicht anders vermerkt, kannst du jede Wizardseite durch Klicken auf" -" \"Weiter\" oder \"Beenden\" überspringen." +msgid "Unless otherwise noted, you may just skip any wizard page by clicking \"Next\" or \"Finish\"." +msgstr "Falls nicht anders vermerkt, kannst du jede Wizardseite durch Klicken auf \"Weiter\" oder \"Beenden\" überspringen." #: src/octoprint/templates/dialogs/about/about.jinja2:3 msgid "The snappy web interface for your 3D printer" @@ -5187,41 +4365,55 @@ msgstr "Nutzer" msgid "Groups" msgstr "Gruppen" -#: src/octoprint/templates/dialogs/settings/api.jinja2:5 +#: src/octoprint/templates/dialogs/settings/api.jinja2:3 +msgid "CORS" +msgstr "CORS" + +#: src/octoprint/templates/dialogs/settings/api.jinja2:7 #, python-format msgid "Allow Cross Origin Resource Sharing (CORS)" msgstr "Cross Origin Resource Sharing (CORS) erlauben" -#: src/octoprint/templates/dialogs/settings/api.jinja2:5 +#: src/octoprint/templates/dialogs/settings/api.jinja2:7 msgid "Needs restart" msgstr "Benötigt Neustart" #: src/octoprint/templates/dialogs/settings/api.jinja2:13 +#: src/octoprint/templates/dialogs/settings/api.jinja2:26 +msgid "Global API Key" +msgstr "Globaler API Key" + +#: src/octoprint/templates/dialogs/settings/api.jinja2:15 +msgid "\n" +" The global API key should best not be used anymore. It's one single key that gives full admin access to\n" +" your whole OctoPrint instance. Instead of using it you should create individual Application Keys for\n" +" your third party clients. That way they get permissions matching the user account used for key\n" +" creation and you can also revoke access to one app without having to change the keys for all other apps.\n" +" It's also recommended to create a user account without admin access and use that for third\n" +" party clients where possible.\n" +" " +msgstr "Der globale API Key sollte am Besten nicht mehr verwendet werden. Es ist ein einzelner Key, der vollen Adminzugriff auf die gesamte OctoPrint Instanz gibt.\n" +"Stattdessen solltest du individuelle Application Keys für Third-Party-Clients erstellen. Dadurch bekommen diese die Zugriffsrechte des jeweiligen für die Erstellung \n" +"des Keys genutzten Nutzeraccounts und du kannst einem Client auch einfach wieder den Zugriff entziehen, oder für alle anderen den Key ändern zu müssen.\n" +"Es ist außerdem empfohlen, einen Useraccount ohne Adminzugriff zu erstellen und so möglich für Third-Party-Clients zu verwenden." + +#: src/octoprint/templates/dialogs/settings/api.jinja2:23 +msgid "Access Application Keys" +msgstr "Auf Application Keys zugreifen" + +#: src/octoprint/templates/dialogs/settings/api.jinja2:29 #: src/octoprint/templates/dialogs/usersettings/access.jinja2:27 #: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:159 msgid "N/A" msgstr "(nicht vorhanden)" -#: src/octoprint/templates/dialogs/settings/api.jinja2:17 -msgid "" -"Please note that changes to the API key are applied immediately, without " -"having to \"Save\" first." -msgstr "" -"Bitte beachte, dass Änderungen am API-Key sofort angewandt werden, ohne " -"dass \"Speichern\" geklickt werden muss." - -#: src/octoprint/templates/dialogs/settings/api.jinja2:21 -#: src/octoprint/templates/dialogs/usersettings/access.jinja2:36 -msgid "QR Code" -msgstr "QR Code" +#: src/octoprint/templates/dialogs/settings/api.jinja2:33 +msgid "Please note that changes to the API key are applied immediately, without having to \"Save\" first." +msgstr "Bitte beachte, dass Änderungen am API-Key sofort angewandt werden, ohne dass \"Speichern\" geklickt werden muss." #: src/octoprint/templates/dialogs/settings/appearance.jinja2:2 -msgid "" -"Name of this OctoPrint instance, will be shown in the navigation bar and " -"broadcast on the network" -msgstr "" -"Name dieser OctoPrint-Instanz, wird in der Navigationsleiste angezeigt " -"und im Netzwerk announced." +msgid "Name of this OctoPrint instance, will be shown in the navigation bar and broadcast on the network" +msgstr "Name dieser OctoPrint-Instanz, wird in der Navigationsleiste angezeigt und im Netzwerk announced." #: src/octoprint/templates/dialogs/settings/appearance.jinja2:3 msgid "Title" @@ -5229,9 +4421,7 @@ msgstr "Titel" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:8 msgid "Personalize the color of the navigation bar - maybe to match your printer?" -msgstr "" -"Personalisiere die Farbe the Navigationsleiste - vielleicht um zum " -"Drucker zu passen?" +msgstr "Personalisiere die Farbe the Navigationsleiste - vielleicht um zum Drucker zu passen?" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:9 msgid "Color" @@ -5266,14 +4456,8 @@ msgid "Default Language" msgstr "Standardsprache" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:43 -msgid "" -"Changes to the default interface language will only become active after a" -" reload of the page and only be active if not overridden by the users " -"language settings." -msgstr "" -"Änderungen der Standardsprache werden erst nach einem Neuladen der Seite " -"aktiv, und nur dann, wenn sie nicht durch die Nutzereinstellungen " -"überschrieben sind." +msgid "Changes to the default interface language will only become active after a reload of the page and only be active if not overridden by the users language settings." +msgstr "Änderungen der Standardsprache werden erst nach einem Neuladen der Seite aktiv, und nur dann, wenn sie nicht durch die Nutzereinstellungen überschrieben sind." #: src/octoprint/templates/dialogs/settings/appearance.jinja2:49 msgid "Show temperatures in Fahrenheit as well as Celsius" @@ -5292,23 +4476,13 @@ msgid "Manage Language Packs..." msgstr "Sprachpakete verwalten" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:76 -msgid "" -"There is currently no central repository for language packs like there is" -" for plugins - any help to change that is appreciated!" -msgstr "" -"Es gibt aktuell kein zentrales Repository für Sprachpakete wie es eines " -"für Plugins gibt - jede Hilfe um das zu ändern ist gerne willkommen!" +msgid "There is currently no central repository for language packs like there is for plugins - any help to change that is appreciated!" +msgstr "Es gibt aktuell kein zentrales Repository für Sprachpakete wie es eines für Plugins gibt - jede Hilfe um das zu ändern ist gerne willkommen!" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:79 #, python-format -msgid "" -"Until a repository is available, please see the wiki for language packs provided by the " -"community." -msgstr "" -"Bis es ein Repository gibt, schau bitte im Wiki nach von der Community bereitgestellten " -"Sprachpaketen." +msgid "Until a repository is available, please see the wiki for language packs provided by the community." +msgstr "Bis es ein Repository gibt, schau bitte im Wiki nach von der Community bereitgestellten Sprachpaketen." #: src/octoprint/templates/dialogs/settings/appearance.jinja2:82 msgid "Available Language Packs" @@ -5328,28 +4502,18 @@ msgstr "Zusätzliche Sprachepakete hochladen" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:123 #: src/octoprint/templates/overlays/dragndrop.jinja2:10 -#: src/octoprint/templates/sidebar/files.jinja2:66 -#: src/octoprint/templates/sidebar/files.jinja2:77 +#: src/octoprint/templates/sidebar/files.jinja2:69 +#: src/octoprint/templates/sidebar/files.jinja2:80 msgid "Upload" msgstr "Upload" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:125 -msgid "" -"This does not look like a valid language pack. Valid language packs " -"should be either zip files or tarballs and have the extension \".zip\", " -"\".tar.gz\", \".tgz\" or \".tar\"" -msgstr "" -"Das sieht nicht aus wie ein valides Sprachpaket. Valide Sprachpakete " -"sollten entweder ZIP-Dateien oder Tarballs sein und die Dateiextension " -"\".zip\", \".tar.gz\", \".tgz\" oder \".tar\" haben" +msgid "This does not look like a valid language pack. Valid language packs should be either zip files or tarballs and have the extension \".zip\", \".tar.gz\", \".tgz\" or \".tar\"" +msgstr "Das sieht nicht aus wie ein valides Sprachpaket. Valide Sprachpakete sollten entweder ZIP-Dateien oder Tarballs sein und die Dateiextension \".zip\", \".tar.gz\", \".tgz\" oder \".tar\" haben" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:128 -msgid "" -"Please note that you will have to reload the page in order for any newly " -"added language packs to become available." -msgstr "" -"Bitte beachte, dass Du die Seite neu laden musst, damit neu hinzugefügte " -"Sprachepakete verfügbar werden." +msgid "Please note that you will have to reload the page in order for any newly added language packs to become available." +msgstr "Bitte beachte, dass Du die Seite neu laden musst, damit neu hinzugefügte Sprachepakete verfügbar werden." #: src/octoprint/templates/dialogs/settings/features.jinja2:5 msgid "Enable Temperature Graph" @@ -5357,9 +4521,7 @@ msgstr "Temperaturgraph aktivieren" #: src/octoprint/templates/dialogs/settings/features.jinja2:12 msgid "Enable model size detection and warn if model exceeds print bed" -msgstr "" -"Objektgrößenerkennung aktivieren und warnen, falls Objekt das " -"Druckvolumen überschreitet" +msgstr "Objektgrößenerkennung aktivieren und warnen, falls Objekt das Druckvolumen überschreitet" #: src/octoprint/templates/dialogs/settings/features.jinja2:12 msgid "Beta" @@ -5383,41 +4545,27 @@ msgstr "Tastatursteuerung aktivieren" #: src/octoprint/templates/dialogs/settings/features.jinja2:47 msgid "G90/G91 overrides relative extruder mode" -msgstr "" -"G90/G91 überschreibt relativen Modus des " -"Extruders" +msgstr "G90/G91 überschreibt relativen Modus des Extruders" #: src/octoprint/templates/dialogs/settings/features.jinja2:47 msgid "Smoothieware" msgstr "Smoothieware" #: src/octoprint/templates/dialogs/settings/features.jinja2:48 -msgid "" -"This is used by the GCODE analysis in the backend and the viewer in the " -"frontend to interpret your sliced files correctly." -msgstr "" -"Dies wird von der GCODE Analyse im Backend und dem GCODE Viewer im " -"Frontend verwendet, um die gesliceten Dateien korrekt zu interpretieren." +msgid "This is used by the GCODE analysis in the backend and the viewer in the frontend to interpret your sliced files correctly." +msgstr "Dies wird von der GCODE Analyse im Backend und dem GCODE Viewer im Frontend verwendet, um die gesliceten Dateien korrekt zu interpretieren." #: src/octoprint/templates/dialogs/settings/features.jinja2:52 msgid "Commands to not completely auto uppercase in the terminal tab" -msgstr "" -"Befehle, die im Terminaltab nicht vollständig in Großbuchstaben gewandelt" -" werden sollen" +msgstr "Befehle, die im Terminaltab nicht vollständig in Großbuchstaben gewandelt werden sollen" #: src/octoprint/templates/dialogs/settings/features.jinja2:53 msgid "Terminal Auto Uppercase Blacklist" msgstr "Terminal Auto Uppercase Blackliste" #: src/octoprint/templates/dialogs/settings/features.jinja2:56 -msgid "" -"Use this to specify the commands that should not have their parameters " -"automatically uppercased in the terminal tab. Just the G or M code, comma" -" separated." -msgstr "" -"Nutze diese Option um Befehle zu spezifizieren, deren Parameter nicht " -"automatisch im Terminaltab in Großbuchstaben überführt werden sollen. Nur" -" den G oder M code, kommasepariert." +msgid "Use this to specify the commands that should not have their parameters automatically uppercased in the terminal tab. Just the G or M code, comma separated." +msgstr "Nutze diese Option um Befehle zu spezifizieren, deren Parameter nicht automatisch im Terminaltab in Großbuchstaben überführt werden sollen. Nur den G oder M code, kommasepariert." #: src/octoprint/templates/dialogs/settings/features.jinja2:61 msgid "Analyze gcode for time and model size estimates" @@ -5465,32 +4613,24 @@ msgid "Watched Folder" msgstr "Beobachtetes Verzeichnis" #: src/octoprint/templates/dialogs/settings/folders.jinja2:57 -msgid "" -"Actively poll the watched folder. Check this if files in your watched " -"folder aren't automatically added otherwise." -msgstr "" -"Aktives Pollen des beobachteten Verzeichnisses. Einschalten wenn Dateien " -"in Deinem beobachteten Verzeichnis hinzugefügt werden sonst nicht " -"automatisch hinzugefügt werden." +msgid "Actively poll the watched folder. Check this if files in your watched folder aren't automatically added otherwise." +msgstr "Aktives Pollen des beobachteten Verzeichnisses. Einschalten wenn Dateien in Deinem beobachteten Verzeichnis hinzugefügt werden sonst nicht automatisch hinzugefügt werden." #: src/octoprint/templates/dialogs/settings/folders.jinja2:62 msgid "Disk space thresholds" msgstr "Plattenplatzschwellwerte" #: src/octoprint/templates/dialogs/settings/folders.jinja2:64 -msgid "" -"If the free disk space falls below these thresholds, OctoPrint will warn " -"the user." -msgstr "" -"Falls der freie Plattenplatz unter diese Schwellwerte fallen sollte wird " -"OctoPrint den Nutzer warnen." +msgid "If the free disk space falls below these thresholds, OctoPrint will warn the user." +msgstr "Falls der freie Plattenplatz unter diese Schwellwerte fallen sollte wird OctoPrint den Nutzer warnen." #: src/octoprint/templates/dialogs/settings/folders.jinja2:67 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:76 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:433 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:449 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:458 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:473 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:90 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:447 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:487 +#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87 #: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6 #: src/octoprint/templates/tabs/gcodeviewer.jinja2:117 msgid "Warning" @@ -5502,94 +4642,72 @@ msgstr "Kritisch" #: src/octoprint/templates/dialogs/settings/folders.jinja2:79 #: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:25 -msgid "" -"Provide values including size unit. Allowed units are: b, byte, bytes, " -"kb, mb, gb, tb (case insensitive). Example: 5MB, " -"500KB" -msgstr "" -"Wert inklusive Größeneinheit. Erlaubte Einheiten sind: b, byte, bytes, " -"kb, mb, gb, tb (Groß-/Kleinschreibung irrelevant). Beispiel: " -"5MB, 500KB" +msgid "Provide values including size unit. Allowed units are: b, byte, bytes, kb, mb, gb, tb (case insensitive). Example: 5MB, 500KB" +msgstr "Wert inklusive Größeneinheit. Erlaubte Einheiten sind: b, byte, bytes, kb, mb, gb, tb (Groß-/Kleinschreibung irrelevant). Beispiel: 5MB, 500KB" #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:3 msgid "Before print job starts" msgstr "Vor dem Start eines Druckjobs" #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:6 -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:34 -msgid "" -"Anything you put here will be executed before any lines in your " -"files." -msgstr "" -"Befehle, die du hier platzierst, werden vor Zeilen aus deinen " -"Druckdateien gesendet." +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:37 +msgid "Anything you put here will be executed before any lines in your files." +msgstr "Befehle, die du hier platzierst, werden vor Zeilen aus deinen Druckdateien gesendet." #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:10 msgid "After print job completes" msgstr "Nach Vollendung eines Druckjobs" #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:13 -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:20 -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:27 -msgid "" -"Anything you put here will be executed after any lines in your " -"files." -msgstr "" -"Befehle, die du hier platzierst, werden nach Zeilen aus deinen " -"Druckdateien gesendet." +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:21 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:30 +msgid "Anything you put here will be executed after any lines in your files." +msgstr "Befehle, die du hier platzierst, werden nach Zeilen aus deinen Druckdateien gesendet." #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:17 msgid "After print job is cancelled" msgstr "Nach dem Abbruch eines Druckjobs" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:24 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:22 +#, python-format +msgid "If you ever need to you can find the default cancel script that OctoPrint ships with here." +msgstr "Falls du jemals das Default-Abbruch-Skript benötigen solltest, mit dem OctoPrint ausgeliefert wird, so kannst du es hier finden." + +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:27 msgid "After print job is paused" msgstr "Nach dem Pausieren eines Druckjobs" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:31 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:34 msgid "Before print job is resumed" msgstr "Vor dem Fortsetzen eines Druckjobs" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:38 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:41 msgid "Before tool change" msgstr "Vor Toolwechsel" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:41 -msgid "" -"Anything you put here will be executed before any tool change " -"commands Tn." -msgstr "" -"Befehle, die du hier platzierst, werden vor " -"Werkzeugwechselbefehlen Tn gesendet." +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:44 +msgid "Anything you put here will be executed before any tool change commands Tn." +msgstr "Befehle, die du hier platzierst, werden vor Werkzeugwechselbefehlen Tn gesendet." -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:45 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:48 msgid "After tool change" msgstr "Nach Toolwechsel" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:48 -msgid "" -"Anything you put here will be executed after any tool change " -"commands Tn." -msgstr "" -"Befehle, die du hier platzierst, werden nach " -"Werkzeugwechselbefehlen Tn gesendet." +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:51 +msgid "Anything you put here will be executed after any tool change commands Tn." +msgstr "Befehle, die du hier platzierst, werden nach Werkzeugwechselbefehlen Tn gesendet." -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:52 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:55 msgid "After connection to printer is established" msgstr "Nach Verbindung mit dem Drucker" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:58 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:61 msgid "Before connection to printer is closed" msgstr "Bevor die Verbindung zum Drucker geschlossen wird" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:61 -msgid "" -"Anything you put here will only be executed when closing the connection " -"actively. If the connection to the printer is suddenly lost nothing will " -"be sent." -msgstr "" -"Das wird nur ausgeführt wenn die Verbindung aktiv geschlossen wird. Falls" -" die Verbindung zum Drucker plötzlich verloren geht wird nichts gesendet." +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:64 +msgid "Anything you put here will only be executed when closing the connection actively. If the connection to the printer is suddenly lost nothing will be sent." +msgstr "Das wird nur ausgeführt wenn die Verbindung aktiv geschlossen wird. Falls die Verbindung zum Drucker plötzlich verloren geht wird nichts gesendet." #: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:5 msgid "Enable GCode Visualizer" @@ -5597,9 +4715,7 @@ msgstr "GCode Viewer aktivieren" #: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:9 msgid "Maximum size the GCodeViewer autoloads the file for preview" -msgstr "" -"Maximale Größe für die der GCODE Viewer automatisch das Preview der Datei" -" lädt" +msgstr "Maximale Größe für die der GCODE Viewer automatisch das Preview der Datei lädt" #: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:10 msgid "GCode Visualizer file size threshold" @@ -5630,13 +4746,8 @@ msgid "Behaviour" msgstr "Verhalten" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:13 -msgid "" -"Serial port to connect to, setting this to AUTO will make OctoPrint try " -"to automatically find the right setting" -msgstr "" -"Serieller Port, mit der sich verbunden werden soll. Falls AUTO " -"konfiguriert ist wird OctoPrint versuchen, automatisch den richtigen Port" -" zu finden." +msgid "Serial port to connect to, setting this to AUTO will make OctoPrint try to automatically find the right setting" +msgstr "Serieller Port, mit der sich verbunden werden soll. Falls AUTO konfiguriert ist wird OctoPrint versuchen, automatisch den richtigen Port zu finden." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:14 #: src/octoprint/templates/sidebar/connection.jinja2:1 @@ -5644,12 +4755,8 @@ msgid "Serial Port" msgstr "Serialport" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:19 -msgid "" -"Serial baud rate to connect with, setting this to AUTO will make " -"OctoPrint try to automatically find the right setting" -msgstr "" -"Baudrate mit der sich verbunden werden soll. Falls AUTO konfiguriert ist " -"wird OctoPrint versuchen, automatisch die richtige Baudrate zu finden." +msgid "Serial baud rate to connect with, setting this to AUTO will make OctoPrint try to automatically find the right setting" +msgstr "Baudrate mit der sich verbunden werden soll. Falls AUTO konfiguriert ist wird OctoPrint versuchen, automatisch die richtige Baudrate zu finden." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:20 #: src/octoprint/templates/sidebar/connection.jinja2:3 @@ -5657,12 +4764,8 @@ msgid "Baudrate" msgstr "Baudrate" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:25 -msgid "" -"Makes OctoPrint try to connect to the printer automatically during start " -"up" -msgstr "" -"OctoPrint wird versuchen, sich beim Startup automatisch mit dem Drucker " -"zu verbinden" +msgid "Makes OctoPrint try to connect to the printer automatically during start up" +msgstr "OctoPrint wird versuchen, sich beim Startup automatisch mit dem Drucker zu verbinden" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:28 msgid "Auto-connect to printer on server start" @@ -5674,690 +4777,466 @@ msgstr "Zusätzliche serielle Ports" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:36 #, python-format -msgid "" -"Use this to define additional glob patterns" -" matching serial ports to list for connecting against, e.g. " -"/dev/ttyAMA*. One entry per line. Please note that ports " -"will only be offered to connect to if they get also detected by the " -"operating system. Adding a port here will not make it magically " -"appear in OctoPrint. If the operating system doesn't see your printer you" -" need to solve this first." -msgstr "" -"Nutze diese Einstellung um zusätzliche glob" -" patterns zu konfigurieren, die auf serielle Ports deines Druckers " -"matchen, z.B. /dev/ttyAMA*. Ein Eintrag pro Zeile. Bitte " -"beachte, dass nur solche Ports zur Auswahl angeboten werden können, die " -"auf vom darunter liegenden Betriebssystem erkannte werden. Einen" -" Port hier hinzuzufügen wird ihn nicht auf magische Weise in OctoPrint " -"erscheinen lassen. Wenn das Betriebssystem deinen Drucker nicht sieht, " -"musst du das erst lösen." +msgid "Use this to define additional glob patterns matching serial ports to list for connecting against, e.g. /dev/ttyAMA*. One entry per line. Please note that ports will only be offered to connect to if they get also detected by the operating system. Adding a port here will not make it magically appear in OctoPrint. If the operating system doesn't see your printer you need to solve this first." +msgstr "Nutze diese Einstellung um zusätzliche glob patterns zu konfigurieren, die auf serielle Ports deines Druckers matchen, z.B. /dev/ttyAMA*. Ein Eintrag pro Zeile. Bitte beachte, dass nur solche Ports zur Auswahl angeboten werden können, die auf vom darunter liegenden Betriebssystem erkannte werden. Einen Port hier hinzuzufügen wird ihn nicht auf magische Weise in OctoPrint erscheinen lassen. Wenn das Betriebssystem deinen Drucker nicht sieht, musst du das erst lösen." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:40 msgid "Additional baud rates" msgstr "Weitere Baudraten" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:43 -msgid "" -"Use this to define additional serial port baud rates to list for " -"connecting with, e.g. 123456. Comma separated." -msgstr "" -"Nutze diese Einstellung um zusätzliche Baudraten zur Verbindung zu " -"konfigurieren, 123456. Komma-separiert." +msgid "Use this to define additional serial port baud rates to list for connecting with, e.g. 123456. Comma separated." +msgstr "Nutze diese Einstellung um zusätzliche Baudraten zur Verbindung zu konfigurieren, 123456. Komma-separiert." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:49 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:47 +msgid "Blacklisted serial ports" +msgstr "Geblacklistete Serialports" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:50 +#, python-format +msgid "Use this to define glob patterns matching serial ports to blacklist for connecting against, e.g. /dev/ttyS*. One entry per line." +msgstr "Nutze diese Einstellung, um glob patterns für zusätzliche Serialports zur Verbindung zu konfigurieren, z.B. /dev/ttyS*. Ein Eintrag pro Zeile." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:54 +msgid "Blacklisted baud rates" +msgstr "Geblacklistete Baudraten" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:57 +msgid "Use this to define serial port baud rates to blacklist for connecting with, e.g. 123456. Comma separated." +msgstr "Nutze diese Einstellung um Baudraten zur Verbindung zu blacklisten, z.B. 123456. Komma-separiert." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:63 msgid "Request exclusive access to the serial port" msgstr "Exklusiven Zugriff auf die serielle Schnittstelle anfordern" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:50 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:64 msgid "Uncheck this if you are having problems connecting to your printer." msgstr "Deaktiviere das, falls du Probleme bei der Verbindung zum Drucker hast" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:55 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:69 msgid "Apply parity double open workaround" msgstr "Parity Double Open Workaround anwenden" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:59 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:73 #, python-format -msgid "" -"Use this if you are running into this problem." -msgstr "" -"Nutze dies, falls du dieses Problembeobachtest." +msgid "Use this if you are running into this problem." +msgstr "Nutze dies, falls du dieses Problembeobachtest." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:62 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:76 msgid "If detected as potentially needed" msgstr "Falls als potenziell nötig erkannt" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:66 -msgid "" -"Use this if connecting to your printer fails with (22, 'Invalid " -"argument')." -msgstr "" -"Nutze dies, falls der Verbindungsaufbau zu deinem Drucker mit (22, " -"'Invalid argument') fehlschlägt." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:80 +msgid "Use this if connecting to your printer fails with (22, 'Invalid argument')." +msgstr "Nutze dies, falls der Verbindungsaufbau zu deinem Drucker mit (22, 'Invalid argument') fehlschlägt." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:72 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:86 msgid "Serial logging" msgstr "Logging der seriellen Kommunikation" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:76 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:90 msgid "Log communication to serial.log" msgstr "Kommunikation nach serial.log loggen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:77 -msgid "" -"While this can negatively impact performance, a serial.log " -"can be incredibly useful for debugging any issues observed in the " -"communication between OctoPrint and your printer." -msgstr "" -"Dies kann zwar die Performance negativ beeinflussen, ein " -"serial.log ist jedoch unglaublich nützlich beim Debugging " -"jeglicher Probleme, die in der Kommunikation zwischen OctoPrint und " -"deinem Drucker auftreten." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:91 +msgid "While this can negatively impact performance, a serial.log can be incredibly useful for debugging any issues observed in the communication between OctoPrint and your printer." +msgstr "Dies kann zwar die Performance negativ beeinflussen, ein serial.log ist jedoch unglaublich nützlich beim Debugging jeglicher Probleme, die in der Kommunikation zwischen OctoPrint und deinem Drucker auftreten." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:85 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:99 msgid "Query intervals" msgstr "Abfrageintervalle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:86 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:100 msgid "Interval in which to poll for the temperature information from the printer" -msgstr "" -"Intervall in welchem die Temperaturdaten vom Drucker abgerufen werden " -"sollen" +msgstr "Intervall in welchem die Temperaturdaten vom Drucker abgerufen werden sollen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:87 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:101 msgid "Temperature interval (polling)" msgstr "Temperaturintervall (polling)" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:93 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:107 msgid "When printing or idle" msgstr "Beim Drucken oder Idle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:100 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:114 msgid "When idle and a target temperature is set" msgstr "Wenn im Leerlauf und eine Zieltemperatur eingestellt ist" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:103 -msgid "" -"Temperature report interval to request from autoreport capable firmwares." -" A value of 0 disables autoreporting by the firmware and forces polling." -msgstr "" -"Von der autoreportfähigen Firmware anzuforderndes " -"Temperaturupdateintervall. Ein Wert von 0 deaktiviert Autoreporting der " -"Firmware und forciert Polling." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:117 +msgid "Temperature report interval to request from autoreport capable firmwares. A value of 0 disables autoreporting by the firmware and forces polling." +msgstr "Von der autoreportfähigen Firmware anzuforderndes Temperaturupdateintervall. Ein Wert von 0 deaktiviert Autoreporting der Firmware und forciert Polling." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:104 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:118 msgid "Temperature interval (autoreport)" msgstr "Temperaturintervall (autoreport)" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:110 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:130 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:124 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:144 msgid "Autoreport interval to request from firmware" msgstr "Anzuforderndes Temperaturupdateintervall" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:113 -msgid "" -"Interval in which to poll for the SD printing status information from the" -" printer while printing" -msgstr "" -"Intervall in welchem die SD-Statusdaten vom Drucker während des Druckens " -"abgerufen werden sollen" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:127 +msgid "Interval in which to poll for the SD printing status information from the printer while printing" +msgstr "Intervall in welchem die SD-Statusdaten vom Drucker während des Druckens abgerufen werden sollen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:114 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:128 msgid "SD status interval (polling)" msgstr "SD-Statusintervall (polling)" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:120 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:134 msgid "When printing from the printer's SD" msgstr "Wenn von der SD des Druckers gedruckt wird" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:123 -msgid "" -"SD status interval to request from autoreport capable firmwares. A value " -"of 0 disables autoreporting by the firmware and forces polling." -msgstr "" -"Von der autoreportfähigen Firmware anzuforderndes SD-Statusintervall. Ein" -" Wert von 0 deaktiviert Autoreporting der Firmware und forciert Polling." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:137 +msgid "SD status interval to request from autoreport capable firmwares. A value of 0 disables autoreporting by the firmware and forces polling." +msgstr "Von der autoreportfähigen Firmware anzuforderndes SD-Statusintervall. Ein Wert von 0 deaktiviert Autoreporting der Firmware und forciert Polling." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:124 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:138 msgid "SD status interval (autoreport)" msgstr "SD-Statusintervall (autoreport)" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:135 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:149 msgid "Timeouts" msgstr "Timeouts" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:136 -msgid "" -"Time after which the communication with your printer will be considered " -"timed out if nothing was sent by your printer (and an attempt to get it " -"talking again will be done). Increase this if your printer takes longer " -"than this for some moves." -msgstr "" -"Zeit nach der OctoPrint davon ausgehen wird, dass die Kommunikation mit " -"deinem Drucker unterbrochen wurde falls Dein Drucker keine Daten sendet. " -"OctoPrint wird dann einen Versuch unternehmen, die Kommunikation wieder " -"zu reetablieren. Erhöhe diesen Wert falls Dein Drucker für manche " -"Bewegungen länger braucht." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:150 +msgid "Time after which the communication with your printer will be considered timed out if nothing was sent by your printer (and an attempt to get it talking again will be done). Increase this if your printer takes longer than this for some moves." +msgstr "Zeit nach der OctoPrint davon ausgehen wird, dass die Kommunikation mit deinem Drucker unterbrochen wurde falls Dein Drucker keine Daten sendet. OctoPrint wird dann einen Versuch unternehmen, die Kommunikation wieder zu reetablieren. Erhöhe diesen Wert falls Dein Drucker für manche Bewegungen länger braucht." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:137 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:151 msgid "Communication timeout" msgstr "Kommunikationstimeout" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:143 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:157 msgid "busy protocol support not detected" msgstr "busy Protokoll nicht unterstützt" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:150 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:164 msgid "busy protocol support detected" msgstr "busy Protokoll unterstützt" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:153 -msgid "" -"Time after which a connection attempt to the printer will be considered " -"as having failed" -msgstr "" -"Zeit nach der ein unbeantworteter Verbindungsversuch als gescheitert " -"angenommen wird" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:167 +msgid "Time after which a connection attempt to the printer will be considered as having failed" +msgstr "Zeit nach der ein unbeantworteter Verbindungsversuch als gescheitert angenommen wird" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:154 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:168 msgid "Connection timeout" msgstr "Verbindungstimeout" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:162 -msgid "" -"Time after which to consider an auto detection attempt to have failed if " -"no successful connection is detected" -msgstr "" -"Zeit nach der ein unbeantworteter Autodetektierungsversuch als " -"gescheitert angenommen wird" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:176 +msgid "Time after which to consider an auto detection attempt to have failed if no successful connection is detected" +msgstr "Zeit nach der ein unbeantworteter Autodetektierungsversuch als gescheitert angenommen wird" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:163 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:177 msgid "Autodetection timeout" msgstr "Autodetectiontimeout" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:171 -msgid "" -"Time after which to consider a position query on pause or cancel to have " -"failed" -msgstr "" -"Zeit nach der OctoPrint annimmt, dass die Positionsabfrage nach Pause " -"oder Abbruch fehlgeschlagen ist." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:185 +msgid "Time after which to consider a position query on pause or cancel to have failed" +msgstr "Zeit nach der OctoPrint annimmt, dass die Positionsabfrage nach Pause oder Abbruch fehlgeschlagen ist." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:172 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:186 msgid "Position query timeout" msgstr "Positionsabfragetimeout" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:183 -msgid "" -"Time to wait after opening the serial connection before starting baudrate" -" detection" -msgstr "" -"Zeit, die OctoPrint nach Öffnen der seriellen Schnittstelle warten soll, " -"bis es mit der Baudrateerkennung startet" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:197 +msgid "Time to wait after opening the serial connection before starting baudrate detection" +msgstr "Zeit, die OctoPrint nach Öffnen der seriellen Schnittstelle warten soll, bis es mit der Baudrateerkennung startet" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:184 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:198 msgid "Initial baudrate detection pause" msgstr "Baudrateerkennungsverzögerung" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:190 -msgid "" -"Some controllers need a bit of a breather before baudrate detection after" -" initial connect. If baudrate detection fails due to a hanging " -"controller, try increasing this value." -msgstr "" -"Einige Controller brauchen ein bisschen, bevor die Baudrateerkennung nach" -" initialer Verbindung durchgeführt werden kann. Versuche, diesen Wert zu " -"erhöhen, falls die Baudrateerkennung aufgrund eines hängenden Controllers" -" fehlschlägt." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:204 +msgid "Some controllers need a bit of a breather before baudrate detection after initial connect. If baudrate detection fails due to a hanging controller, try increasing this value." +msgstr "Einige Controller brauchen ein bisschen, bevor die Baudrateerkennung nach initialer Verbindung durchgeführt werden kann. Versuche, diesen Wert zu erhöhen, falls die Baudrateerkennung aufgrund eines hängenden Controllers fehlschlägt." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:193 -msgid "" -"Maximum consecutive communication timeouts while idle. More than this and" -" the printer will be considered to be gone. Set to 0 to disable." -msgstr "" -"Maximale Anzahl aufeinanderfolgender Communication Timeouts im " -"Idlezustand. Mehr als das und es wird angenommen, dass der Drucker " -"offline ist. Auf 0 setzen um das zu verhindern." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:207 +msgid "Maximum consecutive communication timeouts while idle. More than this and the printer will be considered to be gone. Set to 0 to disable." +msgstr "Maximale Anzahl aufeinanderfolgender Communication Timeouts im Idlezustand. Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0 setzen um das zu verhindern." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:194 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:208 msgid "Max. consecutive timeouts while idle" msgstr "Max. aufeinanderfolgende Timeouts wenn idle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:197 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:204 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:211 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:218 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:225 msgid "Set to 0 to disable consecutive timeout detection and handling." msgstr "Auf 0 setzen um aufeinanderfolgende Timeouts zu ignorieren" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:200 -msgid "" -"Maximum consecutive communication timeouts while printing. More than this" -" and the printer will be considered to be gone. Set to 0 to disable." -msgstr "" -"Maximale Anzahl aufeinanderfolgender Communication Timeouts beim Drucken." -" Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0" -" setzen um das zu verhindern." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:214 +msgid "Maximum consecutive communication timeouts while printing. More than this and the printer will be considered to be gone. Set to 0 to disable." +msgstr "Maximale Anzahl aufeinanderfolgender Communication Timeouts beim Drucken. Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0 setzen um das zu verhindern." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:201 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:215 msgid "Max. consecutive timeouts while printing" msgstr "Max. aufeinanderfolgende Timeouts beim Drucken" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:207 -msgid "" -"Maximum consecutive communication timeouts while a long running command " -"is active. More than this and the printer will be considered to be gone. " -"Set to 0 to disable." -msgstr "" -"Maximale Anzahl aufeinanderfolgender Communication Timeouts wenn ein lang" -" laufender Befehl aktiv ist. Mehr als das und es wird angenommen, dass " -"der Drucker offline ist. Auf 0 setzen um das zu verhindern." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:221 +msgid "Maximum consecutive communication timeouts while a long running command is active. More than this and the printer will be considered to be gone. Set to 0 to disable." +msgstr "Maximale Anzahl aufeinanderfolgender Communication Timeouts wenn ein lang laufender Befehl aktiv ist. Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0 setzen um das zu verhindern." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:208 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:222 msgid "Max. consecutive timeouts during long running commands" msgstr "Max. aufeinanderfolgende Timeouts während lang laufender Befehle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:220 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:234 msgid "Firmware specific settings" msgstr "Firmwarespezifische Einstellungen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:224 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:238 msgid "Enable automatic firmware detection" msgstr "Automatische Firmwareerkennung einschalten" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:225 -msgid "" -"\n" -" If enabled, OctoPrint will try to figure " -"out your printer's firmware automatically and adjust some communication " -"parameters based on that.\n" -" If that doesn't work out, or you want " -"more granular control, uncheck this and the parameters in question will " -"become visible for you to adjust.\n" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:239 +msgid "\n" +" If enabled, OctoPrint will try to figure out your printer's firmware automatically and adjust some communication parameters based on that.\n" +" If that doesn't work out, or you want more granular control, uncheck this and the parameters in question will become visible for you to adjust.\n" " " -msgstr "" -"Falls diese Option eingeschaltet ist, versucht OctoPrint die Firmware des" -" Druckers automatisch zu erkennen und darauf basierend diverse " -"Kommunikationsparameter zu konfigurieren. Falls das für dich nicht " -"korrekt funktioniert oder du mehr Kontrolle haben möchtest, schalte diese" -" Option aus und die entsprechenden Parameter werden zur manuellen " -"Konfiguration eingeblendet." +msgstr "Falls diese Option eingeschaltet ist, versucht OctoPrint die Firmware des Druckers automatisch zu erkennen und darauf basierend diverse Kommunikationsparameter zu konfigurieren. Falls das für dich nicht korrekt funktioniert oder du mehr Kontrolle haben möchtest, schalte diese Option aus und die entsprechenden Parameter werden zur manuellen Konfiguration eingeblendet." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:236 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250 msgid "Select SD files by relative path" msgstr "SD Dateien per relativem Pfad adressieren" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:236 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250 msgid "RepRap Firmware" msgstr "RepRap Firmware" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:243 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:257 msgid "Always assume SD card is present" msgstr "Immer davon ausgehen, dass eine SD-Karte vorhanden ist" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:243 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:257 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:264 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:271 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:278 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:289 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:285 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:292 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:303 msgid "Repetier" msgstr "Repetier" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:264 msgid "Disable SD printing detection" -msgstr "" +msgstr "SD-Druck-Erkennung deaktivieren" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:264 msgid "Ultimaker 2/2+" -msgstr "" +msgstr "Ultimaker 2/2+" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:257 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:271 msgid "Ignore consecutive resend requests for the same line" msgstr "Aufeinanderfolgende Resend Requests für die selbe Zeilennummer ignorieren" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:264 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:278 #, python-format -msgid "" -"Support TargetExtr%%n/TargetBed target " -"temperature format" -msgstr "" -"TargetExtr%%n/TargetBed Zieltemperaturformat " -"unterstützen" +msgid "Support TargetExtr%%n/TargetBed target temperature format" +msgstr "TargetExtr%%n/TargetBed Zieltemperaturformat unterstützen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:271 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:285 msgid "Disable detection of external heatups" msgstr "Detektierung externer Aufheizvorgänge deaktivieren" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:278 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:292 msgid "Actively pause communication during G4 dwell command" -msgstr "" -"Pausiere Kommunikation mit dem Drucker aktiv während eines " -"G4 dwell Befehls." +msgstr "Pausiere Kommunikation mit dem Drucker aktiv während eines G4 dwell Befehls." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:283 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:297 msgid "Send a checksum with the command" msgstr "Eine Prüfsumme mit dem Befehl senden" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:286 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:300 msgid "When printing" msgstr "Beim Drucken" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:303 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:317 msgid "Support temperature autoreporting by firmware, if detected" msgstr "Temperaturautoreporting durch die Firmware unterstützen, falls detektiert" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:310 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:324 msgid "Support sd status autoreporting by firmware, if detected" msgstr "SD-Status-Autoreporting durch die Firmware unterstützen, falls detektiert" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:317 -msgid "" -"Send emergency GCODES M108 and M410 without " -"waiting for acknowledgement, if detected as supported by the firmware" -msgstr "" -"Emergency GCODES M108 und M410 ohne warten auf" -" Bestätigung absenden, falls Unterstützung durch Firmware erkannt" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:331 +msgid "Send emergency GCODES M108 and M410 without waiting for acknowledgement, if detected as supported by the firmware" +msgstr "Emergency GCODES M108 und M410 ohne warten auf Bestätigung absenden, falls Unterstützung durch Firmware erkannt" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:324 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:338 msgid "Support busy protocol, if detected" msgstr "busy Protokoll unterstützen, falls detektiert" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:331 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:345 msgid "Simulate ok for M29" msgstr "Zusätzliches ok für M29 generieren" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:332 -msgid "" -"Most Marlin forks that were derived from Marlin versions < v1.1.0 do " -"not send an acknowledging ok for a M29. Check " -"this if you run into communication stalls following streaming of a file " -"to your printer's SD." -msgstr "" -"Die meisten Marlinforks, die von Marlin Versionen < v1.1.0 abgeleitet " -"wurden, senden kein bestätigendes ok für ein " -"M29. Aktiviere diese Option, falls du Kommunikationsprobleme" -" nach dem Streaming einer Datei zu der SD des Druckers beobachtest." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:346 +msgid "Most Marlin forks that were derived from Marlin versions < v1.1.0 do not send an acknowledging ok for a M29. Check this if you run into communication stalls following streaming of a file to your printer's SD." +msgstr "Die meisten Marlinforks, die von Marlin Versionen < v1.1.0 abgeleitet wurden, senden kein bestätigendes ok für ein M29. Aktiviere diese Option, falls du Kommunikationsprobleme nach dem Streaming einer Datei zu der SD des Druckers beobachtest." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:337 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:351 msgid "Simulate ok for resend requests" msgstr "Zusätzliches ok für Resendrequests simulieren" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:340 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:354 msgid "If detected as necessary" msgstr "Falls als notwendig erkannt" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:348 -msgid "" -"Some Marlin forks lack an acknowledging ok with their resend" -" requests. Set this to \"always\" or \"if detected as necessary\" if you " -"run into communication stalls on resend requests." -msgstr "" -"Einige Marlinforks senden bei einem Resendrequest kein bestätigendes " -"ok. Setze diese Option auf \"immer\" oder \"falls als " -"notwendig erkannt\" falls du Kommunikationsprobleme nach Resendrequests " -"beobachtest." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:362 +msgid "Some Marlin forks lack an acknowledging ok with their resend requests. Set this to \"always\" or \"if detected as necessary\" if you run into communication stalls on resend requests." +msgstr "Einige Marlinforks senden bei einem Resendrequest kein bestätigendes ok. Setze diese Option auf \"immer\" oder \"falls als notwendig erkannt\" falls du Kommunikationsprobleme nach Resendrequests beobachtest." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:355 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:369 msgid "Protocol fine tuning" msgstr "Protokollfinetuning" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:359 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:373 msgid "Wait for start on connect" msgstr "Bei der Verbindung auf start warten" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:360 -msgid "" -"Try checking this if you run into connection timeouts due to your printer" -" taking too long to respond to OctoPrint's handshake attempts on connect." -msgstr "" -"Versuche es mit dieser Option, falls du Kommunikationsprobleme " -"beobachtest, weil dein Drucker zu lange braucht, um auf OctoPrints " -"Handshake Versuche zu antworten." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:374 +msgid "Try checking this if you run into connection timeouts due to your printer taking too long to respond to OctoPrint's handshake attempts on connect." +msgstr "Versuche es mit dieser Option, falls du Kommunikationsprobleme beobachtest, weil dein Drucker zu lange braucht, um auf OctoPrints Handshake Versuche zu antworten." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:365 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:379 msgid "Blocked commands" msgstr "Blockierte Befehle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:368 -msgid "" -"Use this to specify commands that should never be sent to the printer. " -"Just the G or M code, comma separated. Defaults to M0 and " -"M1 since most firmware will block until a button on the " -"controller has been pressed if it receives either of those two commands." -msgstr "" -"Nutze dies um Befehle zu definieren, die niemals zum Drucker gesendet " -"werden sollen. Nur der G oder M Code, kommasepariert. Standard ist " -"M0 und M1 da die meisten Firmwarevarianten beim" -" Empfang dieser Befehle blockiert, bis der Button am Druckercontroller " -"betätigt wurde." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:382 +msgid "Use this to specify commands that should never be sent to the printer. Just the G or M code, comma separated. Defaults to M0 and M1 since most firmware will block until a button on the controller has been pressed if it receives either of those two commands." +msgstr "Nutze dies um Befehle zu definieren, die niemals zum Drucker gesendet werden sollen. Nur der G oder M Code, kommasepariert. Standard ist M0 und M1 da die meisten Firmwarevarianten beim Empfang dieser Befehle blockiert, bis der Button am Druckercontroller betätigt wurde." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:372 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:386 msgid "Pausing commands" msgstr "Pausierende Befehle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:375 -msgid "" -"Use this to specify commands on which OctoPrint should pause the print " -"job. Just the G or M code, comma separated. Defaults to M0, " -"M1 and M25." -msgstr "" -"Nutze die um Befehle zu definieren, bei denen OctoPrint den Druckjob " -"pausieren sollte. Nur der G oder M Code, kommasepariert. Standard ist " -"M0, M1 und M25." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:389 +msgid "Use this to specify commands on which OctoPrint should pause the print job. Just the G or M code, comma separated. Defaults to M0, M1 and M25." +msgstr "Nutze die um Befehle zu definieren, bei denen OctoPrint den Druckjob pausieren sollte. Nur der G oder M Code, kommasepariert. Standard ist M0, M1 und M25." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:379 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:393 msgid "Emergency commands" msgstr "Notfallbefehle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:382 -msgid "" -"Use this to specify emergency commands which should jump any queues and -" -" if supported by the firmware - be force sent. Just the G or M code, " -"comma separated. Defaults to M112, M108 and " -"M410." -msgstr "" -"Nutze dies um Notfallbefehle zu definieren, die interne Queues " -"überspringen und - falls von der Firmware unterstützt - forciert gesendet" -" werden sollen. Nur der G oder M Code, kommasepariert. Standard ist " -"M112, M108 und M410." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:396 +msgid "Use this to specify emergency commands which should jump any queues and - if supported by the firmware - be force sent. Just the G or M code, comma separated. Defaults to M112, M108 and M410." +msgstr "Nutze dies um Notfallbefehle zu definieren, die interne Queues überspringen und - falls von der Firmware unterstützt - forciert gesendet werden sollen. Nur der G oder M Code, kommasepariert. Standard ist M112, M108 und M410." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:387 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:401 msgid "Command to send to the firmware on first handshake attempt." -msgstr "" -"Kommando, das als erster Handshakeversuch an die Firmware gesendet werden" -" soll" +msgstr "Kommando, das als erster Handshakeversuch an die Firmware gesendet werden soll" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:388 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:402 msgid "\"Hello\" command" msgstr "\"Hallo\"-Befehl" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:391 -msgid "" -"Use this to specify a different command than the default " -"M110 to send to the printer on initial connection to trigger" -" a communication handshake." -msgstr "" -"Nutze diese Einstellung um einen anderen Befehl als M110 " -"beim initialen Verbindungsaufbau zum Drucker zu senden." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:405 +msgid "Use this to specify a different command than the default M110 to send to the printer on initial connection to trigger a communication handshake." +msgstr "Nutze diese Einstellung um einen anderen Befehl als M110 beim initialen Verbindungsaufbau zum Drucker zu senden." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:394 -msgid "" -"Commands that are know to run long and hence should suppress " -"communication timeouts from being triggered." -msgstr "" -"Befehle, von denen bekannt ist, dass sie lang zur Ausführung benötigen " -"und daher das Auslösen von Kommunikationstimeouts unterdrücken sollten." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:408 +msgid "Commands that are know to run long and hence should suppress communication timeouts from being triggered." +msgstr "Befehle, von denen bekannt ist, dass sie lang zur Ausführung benötigen und daher das Auslösen von Kommunikationstimeouts unterdrücken sollten." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:395 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:409 msgid "Long running commands" msgstr "Lang laufende Befehle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:398 -msgid "" -"Use this to specify the commands known to take a long time to complete " -"without output from your printer and hence might cause timeout issues. " -"Just the G or M code, comma separated." -msgstr "" -"Nutze diese Option, um solche Befehle zu definieren, von denen Du weißt, " -"dass sie eine längere Zeit lang laufen, währenddessen keinen Output " -"produzieren und daher Timeoutprobleme verursachen könnten. Nur den G- " -"oder M-Code, kommasepariert." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:412 +msgid "Use this to specify the commands known to take a long time to complete without output from your printer and hence might cause timeout issues. Just the G or M code, comma separated." +msgstr "Nutze diese Option, um solche Befehle zu definieren, von denen Du weißt, dass sie eine längere Zeit lang laufen, währenddessen keinen Output produzieren und daher Timeoutprobleme verursachen könnten. Nur den G- oder M-Code, kommasepariert." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:401 -msgid "" -"Commands that always require a line number and checksum to be sent with " -"them." -msgstr "" -"Befehle, die immer mit einer Prüfsumme und Zeilennummer gesendet werden " -"müssen." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:415 +msgid "Commands that always require a line number and checksum to be sent with them." +msgstr "Befehle, die immer mit einer Prüfsumme und Zeilennummer gesendet werden müssen." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:402 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:416 msgid "Commands that always require a checksum" msgstr "Befehle, die immer eine Prüfsumme benötigen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:405 -msgid "" -"Use this to specify which commands always need to be " -"sent with a checksum. Comma separated list." -msgstr "" -"Nutze diese Einstellung um Befehle zu spezifizieren, die " -"immer mit Prüfsumme gesendet werden müssen. Komma-" -"separierte Liste." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:419 +msgid "Use this to specify which commands always need to be sent with a checksum. Comma separated list." +msgstr "Nutze diese Einstellung um Befehle zu spezifizieren, die immer mit Prüfsumme gesendet werden müssen. Komma-separierte Liste." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:408 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:422 msgid "ok buffer size" msgstr "ok Buffergröße" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:409 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:423 msgid "ok buffer size" msgstr "ok Buffergröße" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:412 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:426 msgid "Only modify if told to do so" msgstr "Nur ändern wenn dazu aufgefordert" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:421 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:435 msgid "Error handling" msgstr "Fehlerbehandlung" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:423 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:437 msgid "What to do on a firmware error (Error: or !!)" -msgstr "" -"Was im Falle eines Firmwarefehlers (Error: oder " -"!!) gemacht werden soll" +msgstr "Was im Falle eines Firmwarefehlers (Error: oder !!) gemacht werden soll" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:426 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:440 msgid "Disconnect from the printer" msgstr "Verbindung zum Drucker trennen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:429 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:443 msgid "Cancel any ongoing prints but stay connected to the printer" msgstr "Laufende Druckaufträge abbrechen, aber mit dem Drucker verbunden bleiben" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:430 -msgid "" -"Please note that if you choose this, OctoPrint will still disconnect from" -" the printer in case of fatal errors reported by your firmware " -"(e.g. kill() called, fatal:)." -msgstr "" -"Bitte beachte, dass OctoPrint weiterhin die Verbindung zum Drucker " -"trennen wird, wenn fatale Fehler durch die Firmware gemeldet " -"werden (z.B. kill() called, fatal:)." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:444 +msgid "Please note that if you choose this, OctoPrint will still disconnect from the printer in case of fatal errors reported by your firmware (e.g. kill() called, fatal:)." +msgstr "Bitte beachte, dass OctoPrint weiterhin die Verbindung zum Drucker trennen wird, wenn fatale Fehler durch die Firmware gemeldet werden (z.B. kill() called, fatal:)." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:434 -msgid "" -"Only choose this if your firmware sends error messages that are not " -"actual errors. Might mask printer issues (even fatal errors!), be " -"careful!" -msgstr "" -"Wähle das nur aus, wenn deine Firmware Fehlermeldungen für Dinge sendet, " -"die gar keine wirklich Fehler sind. Könnte Druckerprobleme verbergen " -"(sogar fatale!), Vorsicht!" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:448 +msgid "Only choose this if your firmware sends error messages that are not actual errors. Might mask printer issues (even fatal errors!), be careful!" +msgstr "Wähle das nur aus, wenn deine Firmware Fehlermeldungen für Dinge sendet, die gar keine wirklich Fehler sind. Könnte Druckerprobleme verbergen (sogar fatale!), Vorsicht!" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:440 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:454 msgid "Send M112 on disconnect due to error" msgstr "Sende M112 bei fehlerbedingten Disconnects." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:441 -msgid "" -"If this is checked, OctoPrint will try to send an M112 prior" -" to a disconnect due to a (fatal) error in order to disable heaters and " -"motors." -msgstr "" -"Wenn dies ausgewählt ist, wird OctoPrint versuchen, vor Disconnects, die " -"durch einen (fatalen) Fehler verursacht wurden, ein M112 zum" -" Drucker zu senden, um Heizelemente und Motoren zu deaktivieren." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:455 +msgid "If this is checked, OctoPrint will try to send an M112 prior to a disconnect due to a (fatal) error in order to disable heaters and motors." +msgstr "Wenn dies ausgewählt ist, wird OctoPrint versuchen, vor Disconnects, die durch einen (fatalen) Fehler verursacht wurden, ein M112 zum Drucker zu senden, um Heizelemente und Motoren zu deaktivieren." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:449 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463 msgid "Log position on pause" msgstr "Position bei Pause loggen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:450 -msgid "" -"If you disable this, the pause_position placeholders in your" -" pause/resume GCODE scripts will stay unpopulated! However, pausing speed" -" might improve slightly." -msgstr "" -"Falls du das deaktivierst, werden die pause_position " -"Platzhalter in deinen Pausieren/Fortsetzen GCODE Scripts nicht befüllt! " -"Allerdings könnte sich die Pausierungsgeschwindigkeit einen Hauch " -"verbessern." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:464 +msgid "If you disable this, the pause_position placeholders in your pause/resume GCODE scripts will stay unpopulated! However, pausing speed might improve slightly." +msgstr "Falls du das deaktivierst, werden die pause_position Platzhalter in deinen Pausieren/Fortsetzen GCODE Scripts nicht befüllt! Allerdings könnte sich die Pausierungsgeschwindigkeit einen Hauch verbessern." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:458 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472 msgid "Log position on cancel" msgstr "Position bei Abbruch loggen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:459 -msgid "" -"If you disable this, the cancel_position placeholders in " -"your cancel GCODE script and the corresponding data in the print recovery" -" data will stay unpopulated! However, cancelling speed might improve " -"slightly." -msgstr "" -"Falls du das deaktivierst, werden die cancel_position " -"Platzhalter in deinem Abbruch GCODE Script nicht befüllt! Allerdings " -"könnte sich die Abbruchgeschwindigkeit einen Hauch verbessern." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:473 +msgid "If you disable this, the cancel_position placeholders in your cancel GCODE script and the corresponding data in the print recovery data will stay unpopulated! However, cancelling speed might improve slightly." +msgstr "Falls du das deaktivierst, werden die cancel_position Platzhalter in deinem Abbruch GCODE Script nicht befüllt! Allerdings könnte sich die Abbruchgeschwindigkeit einen Hauch verbessern." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:464 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:478 msgid "Attempt to abort any blocking heatups on cancel via M108." -msgstr "" -"Versuche, blockierende Aufheizprozesse beim Abbruch mittel " -"M108 zu stoppen." +msgstr "Versuche, blockierende Aufheizprozesse beim Abbruch mittel M108 zu stoppen." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:465 -msgid "" -"Uncheck this if your firmware doesn't support M108 for " -"aborting blocking heatups!" -msgstr "" -"Deaktiviere dies, falls deine Firmware M108 zum Stoppen " -"blockierender Aufheizprozesse nicht unterstützt!" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:479 +msgid "Uncheck this if your firmware doesn't support M108 for aborting blocking heatups!" +msgstr "Deaktiviere dies, falls deine Firmware M108 zum Stoppen blockierender Aufheizprozesse nicht unterstützt!" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:470 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:484 msgid "Sanity Checking" msgstr "Validitätsprüfung" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:473 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:487 msgid "Sanity check tool commands" msgstr "Validität von Tool-Befehlen prüfen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:474 -msgid "" -"If enabled, OctoPrint will not send tool commands to your printer that " -"exceed the number of extruders configured in the active printer profile, " -"or for which the firmware has reported an \"invalid extruder\" error. " -"Only uncheck this if OctoPrint or your firmware mistakingly mark valid " -"tools as invalid and be sure to investigate the reason for that, it might" -" be a misconfiguration you need to correct for proper operation." -msgstr "" -"Wenn das aktiviert ist, wird OctoPrint solche Tool-Befehle nicht zu deinem " -"Drucke senden, die über die Anzahl der im aktuellen Druckerprofile konfigurierten " -"Extruder hinausgehen oder für die die Firmware einen \"invalid extruder\" " -"Fehler zurückgegeben hat. Deaktiviere diese Option nur, wenn OctoPrint oder " -"deine Firmware Tools fälschlicherweise als nicht valide markieren, und stelle " -"sicher, dass du auch die Ursache dafür herausfindest, es könnte eine Fehlkonfiguration " -"sein, die du für korrekte Funktionsweise korrigieren musst." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:488 +msgid "If enabled, OctoPrint will not send tool commands to your printer that exceed the number of extruders configured in the active printer profile, or for which the firmware has reported an \"invalid extruder\" error. Only uncheck this if OctoPrint or your firmware mistakingly mark valid tools as invalid and be sure to investigate the reason for that, it might be a misconfiguration you need to correct for proper operation." +msgstr "Wenn das aktiviert ist, wird OctoPrint solche Tool-Befehle nicht zu deinem Drucke senden, die über die Anzahl der im aktuellen Druckerprofile konfigurierten Extruder hinausgehen oder für die die Firmware einen \"invalid extruder\" Fehler zurückgegeben hat. Deaktiviere diese Option nur, wenn OctoPrint oder deine Firmware Tools fälschlicherweise als nicht valide markieren, und stelle sicher, dass du auch die Ursache dafür herausfindest, es könnte eine Fehlkonfiguration sein, die du für korrekte Funktionsweise korrigieren musst." #: src/octoprint/templates/dialogs/settings/server.jinja2:4 msgid "Commands" @@ -6392,26 +5271,16 @@ msgid "Send temperature fine adjustments automatically" msgstr "Temperaturfeinjustierungen automatisch senden" #: src/octoprint/templates/dialogs/settings/temperatures.jinja2:19 -msgid "" -"Enable this to have temperature fine adjustments you do via the + or - " -"button be sent to the printer automatically." -msgstr "" -"Aktiviere dies, um die Temperaturfeinjustierungen, die du mittels der + " -"und - Buttons durchführen kannst, automatisch zum Drucker senden zu " -"lassen." +msgid "Enable this to have temperature fine adjustments you do via the + or - button be sent to the printer automatically." +msgstr "Aktiviere dies, um die Temperaturfeinjustierungen, die du mittels der + und - Buttons durchführen kannst, automatisch zum Drucker senden zu lassen." #: src/octoprint/templates/dialogs/settings/temperatures.jinja2:23 msgid "Sending delay" msgstr "Sendeverzögerung" #: src/octoprint/templates/dialogs/settings/temperatures.jinja2:29 -msgid "" -"OctoPrint will use this delay to limit the number of sent temperature " -"commands should you perform multiple fine adjustments in a short time." -msgstr "" -"OctoPrint wird diese Verzögerung nutzen, um die Anzahl der gesendeten " -"Temperaturkommandos zu reduzieren wenn du mehrere Feinjustierungen in " -"einer kurzen Zeit durchführst." +msgid "OctoPrint will use this delay to limit the number of sent temperature commands should you perform multiple fine adjustments in a short time." +msgstr "OctoPrint wird diese Verzögerung nutzen, um die Anzahl der gesendeten Temperaturkommandos zu reduzieren wenn du mehrere Feinjustierungen in einer kurzen Zeit durchführst." #: src/octoprint/templates/dialogs/settings/temperatures.jinja2:32 msgid "Presets" @@ -6426,12 +5295,8 @@ msgid "RegExp" msgstr "RegExp" #: src/octoprint/templates/dialogs/usersettings/access.jinja2:5 -msgid "" -"If you do not wish to change your password, just leave the following " -"fields empty." -msgstr "" -"Falls Du Dein Passwort nicht ändern willst, lass die folgenden Felder " -"leer." +msgid "If you do not wish to change your password, just leave the following fields empty." +msgstr "Falls Du Dein Passwort nicht ändern willst, lass die folgenden Felder leer." #: src/octoprint/templates/dialogs/usersettings/access.jinja2:8 #: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:141 @@ -6450,81 +5315,50 @@ msgid "Current API Key" msgstr "Aktueller API-Key" #: src/octoprint/templates/dialogs/usersettings/access.jinja2:32 -msgid "" -"Please note that changes to the API key are applied immediately, without " -"having to \"Confirm\" first." -msgstr "" -"Bitte beachte, dass Änderungen am API-Key sofort angewandt werden, ohne " -"dass \"Bestätigen\" geklickt werden muss." +msgid "Please note that changes to the API key are applied immediately, without having to \"Confirm\" first." +msgstr "Bitte beachte, dass Änderungen am API-Key sofort angewandt werden, ohne dass \"Bestätigen\" geklickt werden muss." #: src/octoprint/templates/dialogs/usersettings/interface.jinja2:3 msgid "Language" msgstr "Sprache" #: src/octoprint/templates/dialogs/usersettings/interface.jinja2:11 -msgid "" -"Changes to the interface language will only become active after a reload " -"of the page." -msgstr "" -"Änderungen der Oberflächensprache werden erst nach einem Neuladen der " -"Seite aktiv." +msgid "Changes to the interface language will only become active after a reload of the page." +msgstr "Änderungen der Oberflächensprache werden erst nach einem Neuladen der Seite aktiv." #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:1 msgid "All Done!" msgstr "Alles erledigt!" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:3 -msgid "" -"\n" +msgid "\n" " Your OctoPrint installation is now all set up and ready to go.\n" -msgstr "" -"Deine OctoPrint Installation ist jetzt eingerichtet und es kann losgehen." -"\n" +msgstr "Deine OctoPrint Installation ist jetzt eingerichtet und es kann losgehen.\n" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:7 msgid "For your printer's safety" msgstr "Über die Sicherheit deines Druckers" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:10 -msgid "" -"\n" -" Even with OctoPrint attached you should never leave\n" -" your printer running completely unattended. The electronics " -"in our consumer printers can and\n" -" sometimes sadly do catch fire, so stay or have someone else stay " -"close enough to physically intervene\n" +msgid "\n" +" Even with OctoPrint attached you should never leave\n" +" your printer running completely unattended. The electronics in our consumer printers can and\n" +" sometimes sadly do catch fire, so stay or have someone else stay close enough to physically intervene\n" " in case of such catastrophic failure.\n" -msgstr "" -"Auch mit angeschlossener OctoPrint-Instanz solltest du deinen Drucker " -"niemals unbeaufsichtigt laufen " -"lassen. Die Elektronik in unseren Konsumerdruckern kann Feuer " -"fangen, und tut das leider auch manchmal. Bleibe also in der Nähe deines " -"Druckers oder sorge dafür, dass jemand anderes in der Nähe bleibt, um im " -"Falle eines solch katastrophalen Fehlers einschreiten zu können.\n" +msgstr "Auch mit angeschlossener OctoPrint-Instanz solltest du deinen Drucker niemals unbeaufsichtigt laufen lassen. Die Elektronik in unseren Konsumerdruckern kann Feuer fangen, und tut das leider auch manchmal. Bleibe also in der Nähe deines Druckers oder sorge dafür, dass jemand anderes in der Nähe bleibt, um im Falle eines solch katastrophalen Fehlers einschreiten zu können.\n" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:16 #, python-format -msgid "" -"\n" -" You also should never make your " -"OctoPrint instance available for everyone on the\n" -" public internet, even with Access Control enabled. Your " -"instance will be found, and bad people\n" +msgid "\n" +" You also should never make your OctoPrint instance available for everyone on the\n" +" public internet, even with Access Control enabled. Your instance will be found, and bad people\n" " will try to abuse it. Don't put yourself at risk,\n" -" use" -" a safe way to access your instance remotely.\n" -msgstr "" -"\n" -" Du solltest ebenfalls deine OctoPrint " -"Instanz niemals für jeden im öffentlichen Internet verfügbar " -"machen,\n" -" auch nicht wenn die Zugriffsbeschränkung aktiviert ist. Deine Instanz" -" wird gefunden werden, und böse Menschen\n" +" use a safe way to access your instance remotely.\n" +msgstr "\n" +" Du solltest ebenfalls deine OctoPrint Instanz niemals für jeden im öffentlichen Internet verfügbar machen,\n" +" auch nicht wenn die Zugriffsbeschränkung aktiviert ist. Deine Instanz wird gefunden werden, und böse Menschen\n" " werden versuchen, einzubrechen. Gehe kein Risiko ein,\n" -" nutze einen sicheren Weg, auf deine Instanz von unterwegs " -"zuzugreifen.\n" +" nutze einen sicheren Weg, auf deine Instanz von unterwegs zuzugreifen.\n" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:23 msgid "If you enjoy OctoPrint..." @@ -6532,26 +5366,17 @@ msgstr "Falls dir OctoPrint gefällt..." #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:26 #, python-format -msgid "" -"\n" -" Please consider supporting OctoPrint's ongoing " -"development,\n" -" which can only continue with funding by users like you! You can also " -"find this link in the \"About\" dialog.
    \n" +msgid "\n" +" Please consider supporting OctoPrint's ongoing development,\n" +" which can only continue with funding by users like you! You can also find this link in the \"About\" dialog.
    \n" " Thank you!\n" -msgstr "" -"\n" -" Bitte denke darüber nach, OctoPrints laufende Entwicklung zu " -"unterstützen,\n" -" welche nur dank Unterstützung von Nutzern wie dir weitergehen kann! " -"Du kannst diesen Link auch im Aboutdialog finden.
    \n" +msgstr "\n" +" Bitte denke darüber nach, OctoPrints laufende Entwicklung zu unterstützen,\n" +" welche nur dank Unterstützung von Nutzern wie dir weitergehen kann! Du kannst diesen Link auch im Aboutdialog finden.
    \n" " Vielen Dank!\n" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:32 -msgid "" -"\n" +msgid "\n" " With all that being said, Happy and Safe Printing!\n" msgstr "Und jetzt fröhliches und sicheres Drucken!\n" @@ -6560,20 +5385,15 @@ msgid "Hello!" msgstr "Hallo!" #: src/octoprint/templates/dialogs/wizard/firstrun_start.jinja2:3 -msgid "" -"\n" +msgid "\n" " Thank you for installing OctoPrint!\n" msgstr "Danke, dass du OctoPrint installiert hast!\n" #: src/octoprint/templates/dialogs/wizard/firstrun_start.jinja2:6 -msgid "" -"\n" -" This wizard will guide you through the final steps to get your " -"OctoPrint instance all set up and ready to go. We'll\n" +msgid "\n" +" This wizard will guide you through the final steps to get your OctoPrint instance all set up and ready to go. We'll\n" " get you printing in no time!\n" -msgstr "" -"Dieser Wizard wird dich nun durch die letzten Schritte begleiten, um " -"deine OctoPrint Instanz fertig einzurichten.\n" +msgstr "Dieser Wizard wird dich nun durch die letzten Schritte begleiten, um deine OctoPrint Instanz fertig einzurichten.\n" #: src/octoprint/templates/navbar/login.jinja2:20 msgid "Logout" @@ -6592,7 +5412,7 @@ msgid "Upload locally" msgstr "Upload (lokal)" #: src/octoprint/templates/overlays/dragndrop.jinja2:7 -#: src/octoprint/templates/sidebar/files.jinja2:71 +#: src/octoprint/templates/sidebar/files.jinja2:74 msgid "Upload to SD" msgstr "Upload (SD)" @@ -6613,20 +5433,13 @@ msgid "Please reload" msgstr "Bitte die Seite neu laden" #: src/octoprint/templates/overlays/reloadui.jinja2:7 -msgid "" -"\n" -" There is a new version of the server active now, a " -"reload\n" -" of the user interface is needed. This will not " -"interrupt\n" -" any print jobs you might have ongoing. Please reload " -"the\n" +msgid "\n" +" There is a new version of the server active now, a reload\n" +" of the user interface is needed. This will not interrupt\n" +" any print jobs you might have ongoing. Please reload the\n" " web interface now by clicking the button below.\n" " " -msgstr "" -"Die Serverversion hat sich geändert, ein Neuladen des Webinterfaces ist " -"notwendig. Das wird evtl. laufenden Printjobs nicht unterbrechen. Bitte " -"lade das Webinterface jetzt neu, indem du auf den Button unten klickst." +msgstr "Die Serverversion hat sich geändert, ein Neuladen des Webinterfaces ist notwendig. Das wird evtl. laufenden Printjobs nicht unterbrechen. Bitte lade das Webinterface jetzt neu, indem du auf den Button unten klickst." #: src/octoprint/templates/sidebar/connection.jinja2:8 msgid "Save connection settings" @@ -6648,43 +5461,43 @@ msgstr "Zurück" msgid "Currently in" msgstr "Aktuell in" -#: src/octoprint/templates/sidebar/files.jinja2:19 -#: src/octoprint/templates/sidebar/files.jinja2:34 -#: src/octoprint/templates/sidebar/files.jinja2:46 -msgid "Internal" -msgstr "Intern" +#: src/octoprint/templates/sidebar/files.jinja2:18 +msgid "Additional data" +msgstr "Weitere Daten" #: src/octoprint/templates/sidebar/files.jinja2:20 #: src/octoprint/templates/sidebar/files.jinja2:35 +#: src/octoprint/templates/sidebar/files.jinja2:48 +msgid "Internal" +msgstr "Intern" + +#: src/octoprint/templates/sidebar/files.jinja2:21 +#: src/octoprint/templates/sidebar/files.jinja2:36 #: src/octoprint/templates/sidebar/state.jinja2:4 msgid "Uploaded" msgstr "Hochgeladen" -#: src/octoprint/templates/sidebar/files.jinja2:24 -msgid "Additional data" -msgstr "Weitere Daten" - -#: src/octoprint/templates/sidebar/files.jinja2:27 +#: src/octoprint/templates/sidebar/files.jinja2:28 msgid "Load" msgstr "Laden" -#: src/octoprint/templates/sidebar/files.jinja2:28 +#: src/octoprint/templates/sidebar/files.jinja2:29 msgid "Load and Print" msgstr "Laden und Drucken" -#: src/octoprint/templates/sidebar/files.jinja2:54 +#: src/octoprint/templates/sidebar/files.jinja2:57 msgid "Free" msgstr "Frei" -#: src/octoprint/templates/sidebar/files.jinja2:54 +#: src/octoprint/templates/sidebar/files.jinja2:57 msgid "Total" msgstr "Gesamt" -#: src/octoprint/templates/sidebar/files.jinja2:59 +#: src/octoprint/templates/sidebar/files.jinja2:62 msgid "Create folder..." msgstr "Neues Verzeichnis..." -#: src/octoprint/templates/sidebar/files.jinja2:89 +#: src/octoprint/templates/sidebar/files.jinja2:92 msgid "Hint: You can also drag and drop files on this page to upload them." msgstr "Hinweis: Du kannst auch Dateien auf diese Seite ziehen um sie hochzuladen." @@ -6700,47 +5513,51 @@ msgstr "Filter auf den Suchergebnissen anwenden" msgid "Sort by upload date" msgstr "Nach Uploaddatum sortieren" -#: src/octoprint/templates/sidebar/files_header.jinja2:14 +#: src/octoprint/templates/sidebar/files_header.jinja2:10 +msgid "Sort by date of last print" +msgstr "Nach Datum des letzten Drucks sortieren" + +#: src/octoprint/templates/sidebar/files_header.jinja2:15 msgid "Sort by Folders, Files" msgstr "Erst Verzeichnisse, dann Dateien" -#: src/octoprint/templates/sidebar/files_header.jinja2:15 +#: src/octoprint/templates/sidebar/files_header.jinja2:16 msgid "Sort by Files, Folders" msgstr "Erst Dateien, dann Verzeichnisse" -#: src/octoprint/templates/sidebar/files_header.jinja2:16 +#: src/octoprint/templates/sidebar/files_header.jinja2:17 msgid "Mixed" msgstr "Gemischt" -#: src/octoprint/templates/sidebar/files_header.jinja2:27 +#: src/octoprint/templates/sidebar/files_header.jinja2:28 msgid "Only show files stored locally" msgstr "Nur lokal abgelegte Dateien anzeigen" -#: src/octoprint/templates/sidebar/files_header.jinja2:28 +#: src/octoprint/templates/sidebar/files_header.jinja2:29 msgid "Only show files stored on SD" msgstr "Nur auf SD abgelegte Dateien anzeigen" -#: src/octoprint/templates/sidebar/files_header.jinja2:31 +#: src/octoprint/templates/sidebar/files_header.jinja2:32 msgid "Hide successfully printed files" msgstr "Erfolgreich gedruckte Dateien verbergen" -#: src/octoprint/templates/sidebar/files_header.jinja2:36 +#: src/octoprint/templates/sidebar/files_header.jinja2:37 msgid "Refresh file list" msgstr "Dateiliste aktualisieren" -#: src/octoprint/templates/sidebar/files_header.jinja2:43 +#: src/octoprint/templates/sidebar/files_header.jinja2:44 msgid "SD Card operations" msgstr "SD Card Operationen" -#: src/octoprint/templates/sidebar/files_header.jinja2:47 +#: src/octoprint/templates/sidebar/files_header.jinja2:48 msgid "Initialize SD card" msgstr "SD-Karte initialisieren" -#: src/octoprint/templates/sidebar/files_header.jinja2:48 +#: src/octoprint/templates/sidebar/files_header.jinja2:49 msgid "Refresh SD files" msgstr "SD-Dateien aktualisieren" -#: src/octoprint/templates/sidebar/files_header.jinja2:49 +#: src/octoprint/templates/sidebar/files_header.jinja2:50 msgid "Release SD card" msgstr "SD-Karte auswerfen" @@ -6770,9 +5587,7 @@ msgstr "Zeitraffer rendern" #: src/octoprint/templates/sidebar/state.jinja2:14 msgid "Estimated total print time based on analysis of the file or past prints" -msgstr "" -"Geschätzte Gesamtdauer basierend auf statischer Analyse oder vergangenen " -"Drucken" +msgstr "Geschätzte Gesamtdauer basierend auf statischer Analyse oder vergangenen Drucken" #: src/octoprint/templates/sidebar/state.jinja2:14 msgid "Approx. Total Print Time" @@ -6787,12 +5602,8 @@ msgid "Print Time" msgstr "Dauer" #: src/octoprint/templates/sidebar/state.jinja2:17 -msgid "" -"Estimated time until the print job is done. This is only an estimate and " -"accuracy depends heavily on various factors!" -msgstr "" -"Geschätzte Zeit, bis der Druck beendet ist. Dies ist nur eine Schätzung, " -"deren Genauigkeit stark von diversen Faktoren abhängt!" +msgid "Estimated time until the print job is done. This is only an estimate and accuracy depends heavily on various factors!" +msgstr "Geschätzte Zeit, bis der Druck beendet ist. Dies ist nur eine Schätzung, deren Genauigkeit stark von diversen Faktoren abhängt!" #: src/octoprint/templates/sidebar/state.jinja2:17 msgid "Print Time Left" @@ -6867,12 +5678,8 @@ msgid "Default" msgstr "Standard" #: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:89 -msgid "" -"Marking a group as default will make it get pre selected when creating " -"new users." -msgstr "" -"Eine als Standardgruppe deklarierte Gruppe wird bei der Erstellung neuer " -"Nutzer vorselektiert." +msgid "Marking a group as default will make it get pre selected when creating new users." +msgstr "Eine als Standardgruppe deklarierte Gruppe wird bei der Erstellung neuer Nutzer vorselektiert." #: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6 msgid "Plugin" @@ -6913,12 +5720,8 @@ msgid "Change password for user \"%(user)s\"" msgstr "Passwortänderung für Nutzer \"%(user)s\"" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorAxes.jinja2:4 -msgid "" -"Please define the maximum speed/feedrate of the individual axes and " -"whether their control should be inverted or not." -msgstr "" -"Bitte definiere die maximale Geschwindkeit/Feedrate der individuellen " -"Achsen und ob ihre Steuerung invertiert werden soll oder nicht." +msgid "Please define the maximum speed/feedrate of the individual axes and whether their control should be inverted or not." +msgstr "Bitte definiere die maximale Geschwindkeit/Feedrate der individuellen Achsen und ob ihre Steuerung invertiert werden soll oder nicht." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorAxes.jinja2:8 msgid "X" @@ -6944,9 +5747,7 @@ msgstr "E" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorAxes.jinja2:54 msgid "This information is used for manual control via the \"Control\" tab." -msgstr "" -"Diese Informationen werden für die manuelle Steuerung im \"Steuerung\" " -"Tab verwendet." +msgstr "Diese Informationen werden für die manuelle Steuerung im \"Steuerung\" Tab verwendet." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorBuildvolume.jinja2:3 msgid "Form Factor" @@ -6993,17 +5794,11 @@ msgid "Height (Z)" msgstr "Höhe (Z)" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorBuildvolume.jinja2:81 -msgid "" -"\n" -" If your printer's print head may move slightly outside the " -"print volume (e.g. for nozzle cleaning routines)\n" -" you can define a custom safe bounding box for its movements " -"below.\n" +msgid "\n" +" If your printer's print head may move slightly outside the print volume (e.g. for nozzle cleaning routines)\n" +" you can define a custom safe bounding box for its movements below.\n" " " -msgstr "" -"Wenn der Druckkopf des Druckers sich außerhalb des Druckvolumens bewegen " -"darf (z.B. für Nozzlereinigungsroutinen) kannst du hier eine als " -"gefahrlos geltende Bounding Box für seine Bewegung definieren." +msgstr "Wenn der Druckkopf des Druckers sich außerhalb des Druckvolumens bewegen darf (z.B. für Nozzlereinigungsroutinen) kannst du hier eine als gefahrlos geltende Bounding Box für seine Bewegung definieren." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorBuildvolume.jinja2:88 msgid "Custom bounding box" @@ -7022,12 +5817,8 @@ msgid "Z Coordinates" msgstr "Z Koordinaten" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorBuildvolume.jinja2:136 -msgid "" -"This information is used for the temperature tab, the bounding box check," -" the GCODE Viewer and/or when slicing from OctoPrint." -msgstr "" -"Diese Informationen werden für das Temperaturtab, den Bounding-Box-Check," -" den GCODE Viewer und/oder beim Slicen aus OctoPrint heraus verwendet." +msgid "This information is used for the temperature tab, the bounding box check, the GCODE Viewer and/or when slicing from OctoPrint." +msgstr "Diese Informationen werden für das Temperaturtab, den Bounding-Box-Check, den GCODE Viewer und/oder beim Slicen aus OctoPrint heraus verwendet." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:4 msgid "Nozzle Diameter" @@ -7038,35 +5829,20 @@ msgid "Number of Extruders" msgstr "Anzahl Extruder" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:16 -msgid "" -"Make sure to specify number of extruders available on your printer or you" -" might run into issues" -msgstr "" -"Stelle sicher, dass du die Anzahl an Extrudern deines Druckers " -"konfigurierst oder du könntest auf Probleme stoßen" +msgid "Make sure to specify number of extruders available on your printer or you might run into issues" +msgstr "Stelle sicher, dass du die Anzahl an Extrudern deines Druckers konfigurierst oder du könntest auf Probleme stoßen" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:21 msgid "Shared nozzle" msgstr "Geteilte Düse" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:24 -msgid "" -"Check this if your printer has a single nozzle and heater shared among " -"its extruders instead of one nozzle and heater per extruder" -msgstr "" -"Markiere dies wenn dein Drucker eine einzelne Düse und Heizelement hat, " -"die unter den Extrudern geteilt werden (anstatt einer Düse und " -"Heizelement je Extruder)" +msgid "Check this if your printer has a single nozzle and heater shared among its extruders instead of one nozzle and heater per extruder" +msgstr "Markiere dies wenn dein Drucker eine einzelne Düse und Heizelement hat, die unter den Extrudern geteilt werden (anstatt einer Düse und Heizelement je Extruder)" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:31 -msgid "" -"Please specify the nozzle offsets of the extruders relative to the first " -"nozzle T0 if you haven't already done so in your " -"firmware. Otherwise leave them at (0,0)." -msgstr "" -"Bitte spezifiziere die Düsenoffsets der Extruder relativ zur ersten Düse " -"T0 falls du das nicht bereits in der Firmware deines Druckers " -"getan hast. Andernfalls belasse sie bei (0,0)." +msgid "Please specify the nozzle offsets of the extruders relative to the first nozzle T0 if you haven't already done so in your firmware. Otherwise leave them at (0,0)." +msgstr "Bitte spezifiziere die Düsenoffsets der Extruder relativ zur ersten Düse T0 falls du das nicht bereits in der Firmware deines Druckers getan hast. Andernfalls belasse sie bei (0,0)." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:37 #: src/octoprint/templates/tabs/temperature.jinja2:13 @@ -7074,16 +5850,8 @@ msgid "Offset" msgstr "Offset" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:56 -msgid "" -"This information is used for the graph and controls available in the " -"\"Temperature\" tab, the GCODE viewer, when slicing from within OctoPrint" -" and for deciding which toolchange commands are safe to send to the " -"printer." -msgstr "" -"Diese Informationen werden für den Graph und die Bedienelemente des " -"\"Temperatur\"-Tabs, den GCODE Viewer, beim Slicen über OctoPrint sowie " -"bei der Prüfung, welche Toolbefehle zum Drucker gesendet werden dürfen, " -"verwendet." +msgid "This information is used for the graph and controls available in the \"Temperature\" tab, the GCODE viewer, when slicing from within OctoPrint and for deciding which toolchange commands are safe to send to the printer." +msgstr "Diese Informationen werden für den Graph und die Bedienelemente des \"Temperatur\"-Tabs, den GCODE Viewer, beim Slicen über OctoPrint sowie bei der Prüfung, welche Toolbefehle zum Drucker gesendet werden dürfen, verwendet." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorGeneral.jinja2:6 msgid "Name must be set" @@ -7127,52 +5895,29 @@ msgid "Command to shut down the system OctoPrint is running on" msgstr "Befehl zum Herunterfahren des Systems, auf dem OctoPrint läuft" #: src/octoprint/templates/snippets/settings/server/serverOnlineCheck.jinja2:6 -msgid "" -"\n" -" Define a check interval, a host and a port to check " -"against. If you don't know what to set here, the\n" -" default values (using Google's DNS server) should work. " -"If you have concerns about using\n" -" that, define the IP and port of a different online server" -" that you trust and that has a high\n" +msgid "\n" +" Define a check interval, a host and a port to check against. If you don't know what to set here, the\n" +" default values (using Google's DNS server) should work. If you have concerns about using\n" +" that, define the IP and port of a different online server that you trust and that has a high\n" " availability.\n" " " -msgstr "" -"Definiere ein Prüfungsintervall, einen Host und einen Port gegen die " -"geprüft werden soll. Falls du nicht weißt, was du hier einstellen sollte:" -" Die Defaultwerte (Googles DNS Server) sollten funktionieren. Falls du " -"Bedenken hast, diese zu nutzen, definiere IP und Port eines anderen " -"Servers im Netz, dem du vertraust und der eine hohe Verfügbarkeit hat." +msgstr "Definiere ein Prüfungsintervall, einen Host und einen Port gegen die geprüft werden soll. Falls du nicht weißt, was du hier einstellen sollte: Die Defaultwerte (Googles DNS Server) sollten funktionieren. Falls du Bedenken hast, diese zu nutzen, definiere IP und Port eines anderen Servers im Netz, dem du vertraust und der eine hohe Verfügbarkeit hat." #: src/octoprint/templates/snippets/settings/server/serverOnlineCheck.jinja2:22 -msgid "" -"\n" -" If you also want to check if name resolution works " -"(strongly recommended), define a host name\n" -" to check name resolution against. If you don't know what " -"to set here, the default value\n" -" (OctoPrint's domain) should work. If you don't want to " -"perform regular resolution checks along\n" -" side with the general connectivity check, leave the field" -" empty.\n" +msgid "\n" +" If you also want to check if name resolution works (strongly recommended), define a host name\n" +" to check name resolution against. If you don't know what to set here, the default value\n" +" (OctoPrint's domain) should work. If you don't want to perform regular resolution checks along\n" +" side with the general connectivity check, leave the field empty.\n" " " -msgstr "" +msgstr "Falls du auch Überprüfen willst, ob die Namensauflösung funktioniert (sehr empfehlenswert), definiere einen Hostnamen gegen den die Auflösung geprüft werden soll. Falls du nicht weißt, was du hier eintragen sollst, sollte der Defaultwert (OctoPrints Domain) funktionieren. Falls du keine regelmäßigen Prüfungen der Namensauflösung zusammen mit der generellen Konnektivitätsprüfung vornehmen willst, dann lass das Feld leer.\n" #: src/octoprint/templates/snippets/settings/server/serverOnlineCheckDescription.jinja2:1 -msgid "" -"\n" -" If the connectivity check is enabled, OctoPrint will regularly check " -"if it's connected to the internet.\n" -" This is useful to prevent resource intensive " -"operations (such as checking for updates) if it's already\n" +msgid "\n" +" If the connectivity check is enabled, OctoPrint will regularly check if it's connected to the internet.\n" +" This is useful to prevent resource intensive operations (such as checking for updates) if it's already\n" " clear that they won't succeed anyhow.\n" -msgstr "" -"Wenn die Onlineprüfung aktiviert ist, wird OctoPrint in regelmäßigen " -"Abständen prüfen, ob es mit dem Internet verbunden ist. Das ist " -"nützlich um resourcenintensive Operationen zu verhindern" -" (wie z.B. der Prüfung, ob Updates vorliegen), wenn es bereits klar ist, " -"dass diese Operationen mangels Verbindung nicht durchgeführt werden " -"können.\n" +msgstr "Wenn die Onlineprüfung aktiviert ist, wird OctoPrint in regelmäßigen Abständen prüfen, ob es mit dem Internet verbunden ist. Das ist nützlich um resourcenintensive Operationen zu verhindern (wie z.B. der Prüfung, ob Updates vorliegen), wenn es bereits klar ist, dass diese Operationen mangels Verbindung nicht durchgeführt werden können.\n" #: src/octoprint/templates/snippets/settings/server/serverOnlineCheckEnabled.jinja2:4 msgid "Enable regular connectivity check" @@ -7195,7 +5940,6 @@ msgid "Check interval" msgstr "Prüfungsintervall" #: src/octoprint/templates/snippets/settings/server/serverOnlineCheckName.jinja2:1 -#, fuzzy msgid "Hostname to try to resolve to check for internet connectivity" msgstr "Hostname, mit dem die Namensauflösung getestet werden soll" @@ -7220,19 +5964,11 @@ msgid "Test name resolution" msgstr "Namensauflösung testen" #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistDescription.jinja2:1 -msgid "" -"\n" -" To protect against known severe issues with certain versions " -"of third party plugins, OctoPrint supports\n" -" the use of a centralized plugin version blacklist to automatically " -"disable such plugins before they can interfere\n" +msgid "\n" +" To protect against known severe issues with certain versions of third party plugins, OctoPrint supports\n" +" the use of a centralized plugin version blacklist to automatically disable such plugins before they can interfere\n" " with normal operation.\n" -msgstr "" -"Um vor bekannten Probleme mit bestimmten Versionen von " -"Thirdpartyplugins zu schützen unterstützt OctoPrint die " -"Verwendung einer zentralen Pluginblackliste, über die automatisch solche " -"Plugins deaktiviert werden können, bevor sie mit dem normalen Betrieb " -"interferieren können.\n" +msgstr "Um vor bekannten Probleme mit bestimmten Versionen von Thirdpartyplugins zu schützen unterstützt OctoPrint die Verwendung einer zentralen Pluginblackliste, über die automatisch solche Plugins deaktiviert werden können, bevor sie mit dem normalen Betrieb interferieren können.\n" #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistEnabled.jinja2:4 msgid "Enable plugin blacklist processing on startup" @@ -7243,12 +5979,8 @@ msgid "Any changes take effect only on the next server start." msgstr "Alle Änderungen treten erst mit dem nächsten Serverstart in Kraft." #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistTtl.jinja2:1 -msgid "" -"How long to cache the blacklist, in minutes. You should normally not have" -" to change this." -msgstr "" -"Wie lange die Pluginblackliste gecached werden sollen, in Minuten. Du " -"solltest hier normalerweise nichts ändern müssen." +msgid "How long to cache the blacklist, in minutes. You should normally not have to change this." +msgstr "Wie lange die Pluginblackliste gecached werden sollen, in Minuten. Du solltest hier normalerweise nichts ändern müssen." #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistTtl.jinja2:2 msgid "Blacklist cache TTL" @@ -7256,9 +5988,7 @@ msgstr "Blacklistencache TTL" #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistUrl.jinja2:1 msgid "Plugin blacklist URL. You should normally not have to change this." -msgstr "" -"URL der Pluginblackliste. Du solltest hier normalerweise nichts ändern " -"müssen." +msgstr "URL der Pluginblackliste. Du solltest hier normalerweise nichts ändern müssen." #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistUrl.jinja2:2 msgid "Blacklist URL" @@ -7334,9 +6064,7 @@ msgstr "Snapshot Timeout" #: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotUrl.jinja2:1 msgid "URL to use for retrieving webcam snapshot images for timelapse creation" -msgstr "" -"URL, die genutzt werden soll, um Einzelaufnahmen für die " -"Zeitraffererstellung abzurufen" +msgstr "URL, die genutzt werden soll, um Einzelaufnahmen für die Zeitraffererstellung abzurufen" #: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotUrl.jinja2:2 msgid "Snapshot URL" @@ -7355,18 +6083,12 @@ msgid "Stream aspect ratio" msgstr "Seitenverhältnis des Streams" #: src/octoprint/templates/snippets/settings/webcam/webcamStreamRatio.jinja2:5 -msgid "" -"If the stream has a different aspect ratio than configured here it will " -"be letterboxed." -msgstr "" -"Falls der Stream ein anderes Seitenverhältnis hat als hier eingestellt " -"ist, wird er geletterboxed." +msgid "If the stream has a different aspect ratio than configured here it will be letterboxed." +msgstr "Falls der Stream ein anderes Seitenverhältnis hat als hier eingestellt ist, wird er geletterboxed." #: src/octoprint/templates/snippets/settings/webcam/webcamStreamTimeout.jinja2:1 msgid "Timeout after which to unload the stream if the control tab is not visible" -msgstr "" -"Timeout nach dem der Webcamstream deaktiviert werden soll wenn das " -"\"Steuerung\"-Tab nicht sichtbar ist" +msgstr "Timeout nach dem der Webcamstream deaktiviert werden soll wenn das \"Steuerung\"-Tab nicht sichtbar ist" #: src/octoprint/templates/snippets/settings/webcam/webcamStreamTimeout.jinja2:2 msgid "Stream timeout" @@ -7374,21 +6096,15 @@ msgstr "Streamtimeout" #: src/octoprint/templates/snippets/settings/webcam/webcamStreamUrl.jinja2:1 msgid "URL to embed into the UI for live viewing of the webcam stream" -msgstr "" -"URL, die in die Oberfläche zum Betrachten des Webcamstreams eingebunden " -"werden soll" +msgstr "URL, die in die Oberfläche zum Betrachten des Webcamstreams eingebunden werden soll" #: src/octoprint/templates/snippets/settings/webcam/webcamStreamUrl.jinja2:2 msgid "Stream URL" msgstr "Stream-URL" #: src/octoprint/templates/snippets/settings/webcam/webcamStreamUrl.jinja2:8 -msgid "" -"Needs to be reachable from the browser displaying the OctoPrint UI, used " -"to embed the webcam stream into the page." -msgstr "" -"Muss vom Browser erreichbar sein, in dem die OctoPrint UI angezeigt wird," -" wird genutzt, um den Webcam Stream in die Seite einzubetten." +msgid "Needs to be reachable from the browser displaying the OctoPrint UI, used to embed the webcam stream into the page." +msgstr "Muss vom Browser erreichbar sein, in dem die OctoPrint UI angezeigt wird, wird genutzt, um den Webcam Stream in die Seite einzubetten." #: src/octoprint/templates/tabs/control.jinja2:5 msgid "Webcam stream loading..." @@ -7399,26 +6115,12 @@ msgid "Webcam stream not loaded" msgstr "Webcamstream nicht geladen" #: src/octoprint/templates/tabs/control.jinja2:9 -msgid "" -"It might not be configured correctly or require authentication. To have " -"this fixed, get in touch with an administrator of this OctoPrint " -"instance." -msgstr "" -"Es liegt evtl. eine Fehlkonfiguration vor oder es werden Logindaten " -"benötigt. Um dies zu beheben wende dich bitte an einen Administrator " -"dieser OctoPrint Instanz." +msgid "It might not be configured correctly or require authentication. To have this fixed, get in touch with an administrator of this OctoPrint instance." +msgstr "Es liegt evtl. eine Fehlkonfiguration vor oder es werden Logindaten benötigt. Um dies zu beheben wende dich bitte an einen Administrator dieser OctoPrint Instanz." #: src/octoprint/templates/tabs/control.jinja2:10 -msgid "" -"It might not be configured correctly or require authentication. You can " -"change the URL of the stream under \"Settings\" > \"Webcam & Timelapse\" " -"> \"Webcam\" > \"Stream URL\". If you don't have a webcam you can also " -"just disable webcam support there." -msgstr "" -"Es liegt evtl. eine Fehlkonfiguration vor oder es werden Logindaten " -"benötigt. Du kannst die URL des Streams unter \"Einstellungen\" > " -"\"Webcam & Zeitraffer\" > \"Webcam\" > \"Stream-URL\" ändern. Falls du " -"keine Webcam hast kannst du Webcam-Unterstützung dort auch deaktivieren." +msgid "It might not be configured correctly or require authentication. You can change the URL of the stream under \"Settings\" > \"Webcam & Timelapse\" > \"Webcam\" > \"Stream URL\". If you don't have a webcam you can also just disable webcam support there." +msgstr "Es liegt evtl. eine Fehlkonfiguration vor oder es werden Logindaten benötigt. Du kannst die URL des Streams unter \"Einstellungen\" > \"Webcam & Zeitraffer\" > \"Webcam\" > \"Stream-URL\" ändern. Falls du keine Webcam hast kannst du Webcam-Unterstützung dort auch deaktivieren." #: src/octoprint/templates/tabs/control.jinja2:11 msgid "Currently configured stream URL" @@ -7461,9 +6163,7 @@ msgid "Stepsize" msgstr "Schrittgröße" #: src/octoprint/templates/tabs/control.jinja2:38 -msgid "" -"Hint: If you move your mouse over the picture, you enter keyboard control" -" mode." +msgid "Hint: If you move your mouse over the picture, you enter keyboard control mode." msgstr "Hinweis: Bewegen der Maus über das Bild aktiviert die Tastatursteuerung." #: src/octoprint/templates/tabs/control.jinja2:83 @@ -7476,14 +6176,8 @@ msgid "Please note!" msgstr "Bitte beachten!" #: src/octoprint/templates/tabs/control.jinja2:83 -msgid "" -"The feed rate can only be set, it cannot be read back from the firmware " -"due to a limitation of the communication protocol. The value shown on the" -" UI thus does not reflect the current setting." -msgstr "" -"Die Feedrate kann nur gesetzt werden, sie kann nicht von der Firmware " -"zurück gelesen werden. Dies ist eine Beschränkung im Kommunikationsprotokoll. " -"Der Wert in der UI spiegelt nicht die aktuellen Einstellungen wider." +msgid "The feed rate can only be set, it cannot be read back from the firmware due to a limitation of the communication protocol. There is no way to show the current setting." +msgstr "Die Feedrate kann nur gesetzt werden, sie kann nicht von der Firmware zurück gelesen werden. Dies ist eine Beschränkung im Kommunikationsprotokoll. Es gibt keine Möglichkeit, den aktuellen Wert anzuzeigen." #: src/octoprint/templates/tabs/control.jinja2:97 msgid "Select Tool..." @@ -7502,14 +6196,8 @@ msgid "Flow rate modifier:" msgstr "Flowrate-Modifier:" #: src/octoprint/templates/tabs/control.jinja2:113 -msgid "" -"The flow rate can only be set, it cannot be read back from the firmware " -"due to a limitation of the communication protocol. The value shown on the" -" UI thus does not reflect the current setting." -msgstr "" -"Die Flowrate kann nur gesetzt werden, sie kann nicht von der Firmware " -"zurück gelesen werden. Dies ist eine Beschränkung im Kommunikationsprotokoll. " -"Der Wert in der UI spiegelt nicht die aktuellen Einstellungen wider." +msgid "The flow rate can only be set, it cannot be read back from the firmware due to a limitation of the communication protocol. There is no way to show the current setting." +msgstr "Die Flowrate kann nur gesetzt werden, sie kann nicht von der Firmware zurück gelesen werden. Dies ist eine Beschränkung im Kommunikationsprotokoll. Es gibt keine Möglichkeit, den aktuellen Wert anzuzeigen." #: src/octoprint/templates/tabs/control.jinja2:126 msgid "Motors off" @@ -7609,56 +6297,35 @@ msgid "Reset options" msgstr "Optionen zurücksetzen" #: src/octoprint/templates/tabs/gcodeviewer.jinja2:107 -msgid "" -"\n" -" Note that the time and usage values in this tab are " -"estimated by the GCODE viewer in your\n" -" browser and might differ from the values " -"estimated by the server that are displayed in the\n" -" \"State\" and \"Files\" panels in the sidebar due to slightly" -" different implementations. Also note that these\n" -" estimated values may be inaccurate since " -"they can also take information present in the\n" +msgid "\n" +" Note that the time and usage values in this tab are estimated by the GCODE viewer in your\n" +" browser and might differ from the values estimated by the server that are displayed in the\n" +" \"State\" and \"Files\" panels in the sidebar due to slightly different implementations. Also note that these\n" +" estimated values may be inaccurate since they can also take information present in the\n" " GCODE file into account.\n" " " -msgstr "" -"\n" -" Bitte beachte, dass die Zeit- und Verbrauchsangaben in diesem" -" Tab vom GCODE Viewer in Deinem Browser\n" -" geschätzt wurden und sich von den vom Server" -" geschätzten Werten\n" -" in den \"Status\"- und \"Dateien\"-Panels in der Seitenleiste" -" aufgrund von leichten Unterschieden in der\n" -" Implementierung unterscheiden können. Beachte zudem, dass " -"diese geschätzten Werte\n" -" ungenau sein können, da sie nur auf Informationen aus den " -"GCODE Dateien basieren.\n" +msgstr "\n" +" Bitte beachte, dass die Zeit- und Verbrauchsangaben in diesem Tab vom GCODE Viewer in Deinem Browser\n" +" geschätzt wurden und sich von den vom Server geschätzten Werten\n" +" in den \"Status\"- und \"Dateien\"-Panels in der Seitenleiste aufgrund von leichten Unterschieden in der\n" +" Implementierung unterscheiden können. Beachte zudem, dass diese geschätzten Werte\n" +" ungenau sein können, da sie nur auf Informationen aus den GCODE Dateien basieren.\n" " " #: src/octoprint/templates/tabs/gcodeviewer.jinja2:118 -msgid "" -"

    \n" -" You've selected for printing which has a size of\n" -" . Depending on your machine " -"this\n" -" might be too large for rendering and cause your browser to become" -" unresponsive or crash.\n" +msgid "

    \n" +" You've selected for printing which has a size of\n" +" . Depending on your machine this\n" +" might be too large for rendering and cause your browser to become unresponsive or crash.\n" "

    \n" "\n" "

    \n" " Are you sure you want to visualize this file nevertheless?\n" "

    " -msgstr "" -"

    \n" -" Du hast " -"zum Drucken ausgewählt das\n" -" groß ist. Abhängig von Deinem" -"\n" -" System könnte das zu groß zum Rendern sein und Deinen Browser zum" -" Absturz bringen.\n" +msgstr "

    \n" +" Du hast zum Drucken ausgewählt das\n" +" groß ist. Abhängig von Deinem\n" +" System könnte das zu groß zum Rendern sein und Deinen Browser zum Absturz bringen.\n" "

    \n" "\n" "

    \n" @@ -7723,33 +6390,16 @@ msgid "Clear all" msgstr "Alles leeren" #: src/octoprint/templates/tabs/terminal.jinja2:20 -msgid "" -"For performance reasons only a limited amount of terminal functionality " -"is enabled right now." -msgstr "" -"Aus Gründen der Performance ist nur ein begrenzter Teil der " -"Terminalfunktionalität zur Zeit verfügbar." +msgid "For performance reasons only a limited amount of terminal functionality is enabled right now." +msgstr "Aus Gründen der Performance ist nur ein begrenzter Teil der Terminalfunktionalität zur Zeit verfügbar." #: src/octoprint/templates/tabs/terminal.jinja2:38 msgid "Fake Acknowledgement" msgstr "Bestätigung faken" #: src/octoprint/templates/tabs/terminal.jinja2:39 -msgid "" -"If acknowledgements (\"ok\"s) sent by the firmware get lost due to issues" -" with the serial communication to your printer, OctoPrint's communication" -" with it can become stuck. If that happens, this can help. Please be " -"advised that such occurrences hint at general communication issues with " -"your printer which will probably negatively influence your printing " -"results and which you should therefore try to resolve!" -msgstr "" -"Falls Bestätigungen (\"ok\"s) Deiner Firmware aufgrund von " -"Kommunikationsproblemen mit Deinem Drucker verloren gehen, kann die " -"Kommunikation zwischen OctoPrint und Deinem Drucker zum Stillstand " -"kommen. Falls das passiert, kann das hier helfen. Bitte bedenke, dass " -"solche Vorfälle ein Hinweis auf ein generelles Kommunikationsproblem mit " -"Deinem Drucker hindeuten, das wahrscheinlich Deine Druckergebnisse " -"negativ beeinflusst und das du daher versuchen solltest, zu beseitigen!" +msgid "If acknowledgements (\"ok\"s) sent by the firmware get lost due to issues with the serial communication to your printer, OctoPrint's communication with it can become stuck. If that happens, this can help. Please be advised that such occurrences hint at general communication issues with your printer which will probably negatively influence your printing results and which you should therefore try to resolve!" +msgstr "Falls Bestätigungen (\"ok\"s) Deiner Firmware aufgrund von Kommunikationsproblemen mit Deinem Drucker verloren gehen, kann die Kommunikation zwischen OctoPrint und Deinem Drucker zum Stillstand kommen. Falls das passiert, kann das hier helfen. Bitte bedenke, dass solche Vorfälle ein Hinweis auf ein generelles Kommunikationsproblem mit Deinem Drucker hindeuten, das wahrscheinlich Deine Druckergebnisse negativ beeinflusst und das du daher versuchen solltest, zu beseitigen!" #: src/octoprint/templates/tabs/terminal.jinja2:42 msgid "Force fancy functionality" @@ -7760,24 +6410,12 @@ msgid "Force terminal output during printing" msgstr "Terminalausgabe beim Druck erzwingen" #: src/octoprint/templates/tabs/terminal.jinja2:44 -msgid "" -"Some functionality of the terminal will be disabled if OctoPrint detects " -"that your browser is too slow for that. You may force it back on here, " -"but be aware that this might make your browser unresponsive." -msgstr "" -"Einige Funktionen des Terminals werden deaktiviert, wenn OctoPrint " -"erkennt, dass Dein Browser zu langsam dafür ist. Du kannst diese " -"Funktionen hier wieder zwangsweise aktivieren, aber bitte bedenke, dass " -"das zur Folge haben könnte, dass dein Browser nicht mehr oder nur sehr " -"langsam reagiert." +msgid "Some functionality of the terminal will be disabled if OctoPrint detects that your browser is too slow for that. You may force it back on here, but be aware that this might make your browser unresponsive." +msgstr "Einige Funktionen des Terminals werden deaktiviert, wenn OctoPrint erkennt, dass Dein Browser zu langsam dafür ist. Du kannst diese Funktionen hier wieder zwangsweise aktivieren, aber bitte bedenke, dass das zur Folge haben könnte, dass dein Browser nicht mehr oder nur sehr langsam reagiert." #: src/octoprint/templates/tabs/timelapse.jinja2:4 -msgid "" -"Take note that timelapse configuration is disabled while your printer is " -"printing." -msgstr "" -"Bitte beachte dass die Zeitrafferkonfiguration während des Druckens " -"deaktiviert ist." +msgid "Take note that timelapse configuration is disabled while your printer is printing." +msgstr "Bitte beachte dass die Zeitrafferkonfiguration während des Druckens deaktiviert ist." #: src/octoprint/templates/tabs/timelapse.jinja2:7 msgid "Timelapse Configuration" @@ -7792,26 +6430,16 @@ msgid "Note" msgstr "Bemerkung" #: src/octoprint/templates/tabs/timelapse.jinja2:18 -msgid "" -"Does not work when printing from the printer's SD Card (no way to detect " -"the change in Z reliably). Use \"Timed\" mode for those prints instead." -msgstr "" -"Funktioniert nicht, wenn von der SD-Karte des Druckers gedruckt wird " -"(keine Möglichkeit, Änderungen der Z-Achse zuverlässig zu detektieren). " -"Verwende stattdessen den \"Nach Zeit\"-Modus für solche Drucke." +msgid "Does not work when printing from the printer's SD Card (no way to detect the change in Z reliably). Use \"Timed\" mode for those prints instead." +msgstr "Funktioniert nicht, wenn von der SD-Karte des Druckers gedruckt wird (keine Möglichkeit, Änderungen der Z-Achse zuverlässig zu detektieren). Verwende stattdessen den \"Nach Zeit\"-Modus für solche Drucke." #: src/octoprint/templates/tabs/timelapse.jinja2:23 msgid "Minimum interval" msgstr "Minimales Intervall" #: src/octoprint/templates/tabs/timelapse.jinja2:29 -msgid "" -"OctoPrint will rate limit snapshots to this minimum interval. This it to " -"prevent against performance issues with vase mode/continuous z prints." -msgstr "" -"OctoPrint wird Zeitrafferaufnahmen auf dieses minimale Intervall " -"ratelimiten. Dies soll gegen Performanzprobleme bei Vase-" -"Mode/Continuous-Z-Drucken helfen." +msgid "OctoPrint will rate limit snapshots to this minimum interval. This it to prevent against performance issues with vase mode/continuous z prints." +msgstr "OctoPrint wird Zeitrafferaufnahmen auf dieses minimale Intervall ratelimiten. Dies soll gegen Performanzprobleme bei Vase-Mode/Continuous-Z-Drucken helfen." #: src/octoprint/templates/tabs/timelapse.jinja2:34 msgid "Snapshot interval" @@ -7830,40 +6458,24 @@ msgid "Timelapse post roll" msgstr "Timelapse-Postroll" #: src/octoprint/templates/tabs/timelapse.jinja2:60 -msgid "" -"OctoPrint will use the final picture to add this many seconds to the end " -"of your rendered timelapse." -msgstr "" -"OctoPrint wird die letzte Aufnahme verwenden um so viele zusätzliche " -"Sekunden zur gerenderten Zeitrafferaufnahme hinzuzufügen." +msgid "OctoPrint will use the final picture to add this many seconds to the end of your rendered timelapse." +msgstr "OctoPrint wird die letzte Aufnahme verwenden um so viele zusätzliche Sekunden zur gerenderten Zeitrafferaufnahme hinzuzufügen." #: src/octoprint/templates/tabs/timelapse.jinja2:65 msgid "Retraction Z-Hop" msgstr "Retraction Z-Hop" #: src/octoprint/templates/tabs/timelapse.jinja2:71 -msgid "" -"Enter the retraction z-hop used in the firmware or the gcode file to " -"trigger snapshots for the timelapse only if a real layer change happens. " -"For this to work properly your retraction z-hop has to be different from " -"your layerheight!" -msgstr "" -"Gib den Retraction Z-Hop Wert aus deiner Firmware oder den GCODE Dateien " -"hier ein, um Snapshots für Zeitraffer nur bei echten Schichtwechseln " -"auszulösen. Damit das korrekt funktionieren kann muss dein Retraction " -"Z-Hop Wert anders als deine Schichthöhe sein!" +msgid "Enter the retraction z-hop used in the firmware or the gcode file to trigger snapshots for the timelapse only if a real layer change happens. For this to work properly your retraction z-hop has to be different from your layerheight!" +msgstr "Gib den Retraction Z-Hop Wert aus deiner Firmware oder den GCODE Dateien hier ein, um Snapshots für Zeitraffer nur bei echten Schichtwechseln auszulösen. Damit das korrekt funktionieren kann muss dein Retraction Z-Hop Wert anders als deine Schichthöhe sein!" #: src/octoprint/templates/tabs/timelapse.jinja2:78 msgid "Save as default" msgstr "Als Standard speichern" #: src/octoprint/templates/tabs/timelapse.jinja2:79 -msgid "" -"Check this to make your selected timelapse mode and options persist " -"across restarts." -msgstr "" -"Auswählen um deinen gewählten Zeitraffermodus und -parameter über " -"Neustarts hinweg zu persistieren." +msgid "Check this to make your selected timelapse mode and options persist across restarts." +msgstr "Auswählen um deinen gewählten Zeitraffermodus und -parameter über Neustarts hinweg zu persistieren." #: src/octoprint/templates/tabs/timelapse.jinja2:86 msgid "You have unsaved changes. Don't forget to save them." @@ -7882,25 +6494,12 @@ msgid "Timelapse not fully configured" msgstr "Zeitraffer nicht vollständig konfiguriert" #: src/octoprint/templates/tabs/timelapse.jinja2:95 -msgid "" -"The snapshot URL and/or the path to FFMPEG are missing. To have this " -"fixed, get in touch with an administrator of this OctoPrint instance." -msgstr "" -"Die Snapshot-URL und/oder the Pfad zu FFMPEG fehlen. Setz dich mit einem " -"Administrator dieser OctoPrint-Instanz in Verbindung, um das korrigieren " -"zu lassen." +msgid "The snapshot URL and/or the path to FFMPEG are missing. To have this fixed, get in touch with an administrator of this OctoPrint instance." +msgstr "Die Snapshot-URL und/oder the Pfad zu FFMPEG fehlen. Setz dich mit einem Administrator dieser OctoPrint-Instanz in Verbindung, um das korrigieren zu lassen." #: src/octoprint/templates/tabs/timelapse.jinja2:96 -msgid "" -"The snapshot URL and/or the path to FFMPEG are missing. You can change " -"both under \"Settings\" > \"Webcam & Timelapse\" > \"Timelapse\". If you " -"don't have a webcam or don't want to enable timelapse support you can " -"also just disable it there." -msgstr "" -"Die Snapshot-URL und/oder the Pfad zu FFMPEG fehlen. Du kannst beide " -"unter \"Einstellungen\" > \"Webcam & Zeitraffer\" > \"Zeitraffer\" " -"anpassen. Falls du keine Webcam hast oder Zeitrafferunterstützung nicht " -"einschalten willst, kannst du beides auch dort abschalten." +msgid "The snapshot URL and/or the path to FFMPEG are missing. You can change both under \"Settings\" > \"Webcam & Timelapse\" > \"Timelapse\". If you don't have a webcam or don't want to enable timelapse support you can also just disable it there." +msgstr "Die Snapshot-URL und/oder the Pfad zu FFMPEG fehlen. Du kannst beide unter \"Einstellungen\" > \"Webcam & Zeitraffer\" > \"Zeitraffer\" anpassen. Falls du keine Webcam hast oder Zeitrafferunterstützung nicht einschalten willst, kannst du beides auch dort abschalten." #: src/octoprint/templates/tabs/timelapse.jinja2:98 msgid "Currently configured snapshot URL" @@ -8108,8 +6707,8 @@ msgstr "Zeitrafferaufnahme rendern" #~ "models." #~ msgstr "" #~ "Nicht mit spiralisierten Vasen (\"Joris\") " -#~ "oder ähnlichen Modellen mit ständigen " -#~ "Z-Achsen-Änderungen verwenden." +#~ "oder ähnlichen Modellen mit ständigen Z" +#~ "-Achsen-Änderungen verwenden." #~ msgid "Interval between snapshots (in seconds)" #~ msgstr "Intervall zwischen Schnappschüssen (in Sekunden) " @@ -8844,3 +7443,25 @@ msgstr "Zeitrafferaufnahme rendern" #~ "href=\"https://github.com/foosel/OctoPrint/wiki/Plugin:-Software-" #~ "Update\" target=\"_blank\">Dokumentation." +#~ msgid "Allows users to upload new files" +#~ msgstr "Erlaubt das Hochladen neuer Dateien" + +#~ msgid "Allows users to delete files" +#~ msgstr "Erlaubt Nutzern, Dateien zu löschen" + +#~ msgid "" +#~ "This does not look like a valid" +#~ " plugin archive. Valid plugin archives " +#~ "should be either zip files or " +#~ "tarballs and have the extension " +#~ "\".zip\", \".tar.gz\", \".tgz\" or \".tar\"" +#~ msgstr "" +#~ "Das sieht nicht aus wie ein " +#~ "valides Pluginarchiv. Valide Pluginarchive " +#~ "sollten entweder ZIP-Dateien oder " +#~ "Tarballs sein und die Dateiextension " +#~ "\".zip\", \".tar.gz\", \".tgz\" oder \".tar\"" +#~ " haben" + +#~ msgid "Detecting baudrate" +#~ msgstr "Detektiere Baudrate" diff --git a/translations/de/LC_MESSAGES/messages.mo b/translations/de/LC_MESSAGES/messages.mo index 4a6ac22c418a9db92cba1f6785ebf57b29146c4c..0b5d661807333ecd2a496b0ae2843a76fe20bf8f 100644 GIT binary patch delta 31992 zcmeI)cbF7a{_pXsh9L|&N)RY=oFPfhIp?SX+B4HL(=gLLbeI7|8w8ao>bSNbMnF+e zRFGE8qGAH$vSPxVGX@MR_x-6;1E{;dd++nyKkx5(c3*X>tE}=!~Wj-H2sxS zmBc%>%m2gT{~~FYbtdlYsM4wb>p#n~bin{zWLws&H~`0=ZCS;*<{Zn~g7zHCy1-{y z+vZwUSFUePC(50&Eo&mS%yCUv5e{Z^;&IPL0n3_7IqLZ|o=dr5 zt}%{nc;L%epBo>~v#f!XYs|N-vvJ}AD#!Wl1(tO)-}^CSS+`>{%r$&Iq{y<~r95RJ z&#@Dh)h%LK4{_p>sAUb}f}t_XIz;*6xMkI$Jf+yO@-R?hS-UuYa1kxX3m02f3(o(5 zqwtIiEUOBhx74!U;qwI-TGo{~_9DwVfNx=Y+{!cia@`?(fd5#Pmzx^y$4!(AFSe{< zTu^C+WsRXcekJEAUxULbcfHiIN+}oPwX`&S715x)WsPOc;Pd!8T8htO1$+}5;QOd9 z{tc^QgY}k`sK!BS4)lfY*b0YXbcWYosLIX7G7svGx>2NP+d9%Rk3kc31?#!^kZG}&no0#CMPaNCDReCf!|<#Jb`LK{ksV>W@1g8jLp!G zx^6jkz-v*-wjY)4Z+qomu_ooZ_n2gEjg@)6)r$j#atIE_QP>+-VQYLGC*dck2lTqv z4A(4FOTm*Wpq;g#B>b9@E8_VN1#{U|*hZeapcL?0BDLjmBN5mL10# z*nrF&fFV?t??koiMI4V`;>Fk}Wm(hlA?%E`?l%t_f~sf$>){&Az?(2JnS(zEnhVavk(8&RTDTFL;$7Gl527OQBPx{D9y5_?iK@_K)C14; z$}ucYIpMhym4vIYF>cZa8V-ALE z)#s~F*Ij|F@HQ-uFQ6*&GAe1mLgh;OQ|_opShYA%=q8{-IvZ^Ws0wb!q4+v3 z#l}yYmR*aPl<&q4codba=?BaMd!ZUO9V=iKsv$wFsPTWXcflI0!3Wo3OWck(;|n+g zL(iC&Jc-JUcTqFlj~K!7&zfOaf*OXuVkMmPoMpAc+1MJFVs7Ty+ zi1<4kJmp>ZF;=AfD=Nu+FPfUy@$7-kI6n)kVF~K`OHf_19@Fs_R2Saqm0w0>|688l zpc>$NiTLXVRbDcSMjg}#8K@ffL}l-IRMO<5`ffS)$IaLUkDxwJf0>Odw#1{DM1{QM z6;t7hus!8xJD2vnpJQ#q)^!CcgMU5JWEG3rJap^|R{D&)6e4&H}qS)+fN^UYBe z?2LNAKy+{%*1!T(B$r|pycW4{!rIC~6HYvYYQY<*=9H8-thbkds04*ZL#y~W`>)E z4&@N4WgAdkb|dQh`%s~O7S*t?yz^C#n2I$*T{jpjk$=`C4ji0~4RJB5Z%R=Wy8+cD z`>-B9;eGx(I+Q=aQCR*BQ_=CLu8iU3xEM7LRC?3oRCTl|pMeR5ydekbvp%Q?jKsP) z2Nm*#sJ>o_3hi2KgZH4m|2nEg$FU(+e9PoabI(4Q$@wX$99o8&2QGh${#W+j!-)pC zA9cgGP$B#s&p_vGQ?cH-iSk4ogr8vswtvUmcosIN9Ke6zWvGfZIcmD76GkbILOt)n zqX~YYa_|}_)be)knoti!MPwv?iqlXb?Ejv*;ZST$d5TvqM74Y=*2im55xWz|;~ww4 z{l1B81B`P%Bf&u<4z{5B@DWt9RrtWvFcX_n9))UYE^1g_jmn8_sCnW}EQfnhE#8O4 z_$r~*dpXbz9!AXrPkZGzusr1tP&x1^DgwWGW&0y@zAmalZBaMu zjk?bu)Nq@I>cY9GhQ=`sufSd!|JQKPg%gKReR2X7!Ui9k8+AsF*I}rdPeR>r7LLL& z&czg}3+jDha-%b<9LCnT8pq)-?2W%+O`dO^MF;BvBQOo8Un4mw!+a^5eu;r#!=6^2&?gYYYhkb!nLRyY(rIKk9U3_szL`) z^THw2bw|ANr{3qsP^0NrY=%`oH!bdjlPE93VfYNHB2~X2{TJp)ED9S@?q@^wtw{G>y5@nv6|VS3Zo#D5AWp5Vk* zE~xtrzuzf8@U8iIJnK8Uf$|-AE&9Hvl3aHkzDW80WBk6uRX=bI=Kg5DSL-L!_c^$X z^B3VnJb^=T;?HJ&xbkP>uNJjEZnjLB*oksBR>doDAYP9O>09XF@2FAH*2!qasv-io|NveXqvm__*f>2@X1NBJEc*KD%HQ$|JBcPC<3exp)@l;Q6=_$KtQp z07v|0eq7E&<;E85gZE+zzeKfs>+k$bBZ8k`Iwl(bVOdx4L7Nk7Jn;c+j5}E(RDowu zk$44lg6I9=RjjD)M&UU*j4RzyMsEV}3^ROGfidW${%q?#saxYfq z`PTCsXrlNh>c+q71FV{6yQ8B%_N1JTy6#47hfm@*{0diNX$9MTY1O2n?QYk1U_;J- zf|@byN~R$VQ4Q>X2_1CdKsD~^IRw9=Jl-q!t!!F40@cT3u^i6x&S#H?G z=)(jm>n}$2^+TSoqVDrK>U%$99{ye>VY@q#oT{b|FGF=fDXK5GVKzR9nnIgZv)y47 z#w#h`i|Uf$)opim3!<`rB`Q)^qsIGoY=+Nad;A|+7O81+ zVKM4PD^Pv94Hc0`z49vQ?acazx>&!oH$HQxW_mA^%;n$_x=&pUaJK_Z;6 zaye+i1xr0QdESqDz+u#bzeQE(cT|YW)i)DR9aIjS>Dksh-wl-m{ZPYtDk``9sQct$ zU5)<`2Ws&ORMxIVJzz5`7j~j5@Cc5@=THx)n|9G}tnZ_&uMj^h`o(ePnoldZE@>bRGcgBmVNo7nEoWetv`ydM?v^rmJ8 zY>OQ!Ps9vdf?aSs?#3gimalK-4NpvH+-~DQA=-ypB%VdB0aYFI;C84R_C$?}98?RJ zpdz;kHLPyI9(Wrn^lzh*_6O8;^_!b6Yl?ba+vbda^+``oD5U*Sp&x}xqFLx*5h{DH zMBS))3uAlK^<7a78G@?dOz(UFs!Nxma%?@SVmnZa*Ap!g=7Q%rp%%Y|dcbk-0;{FD zab-+$zA5U4dr_f0fGzM4>U-azD)b8~c`LUvUD*=#c^6by_QnfwWWu}PNmP=(jJoh` zR7*ZWJ@7YdgjHLcq-=}o`#z|yn2D-TF{&XKVq4sZ9q@6~n(`%T3jPTdi9~DumZk^x zN7ZaNy2Az45KgycIM9PPpjxs8d*Uwl0?YasFQWV-YO0QPFgLsbRl!?v67EGkutG=EHBGP& z<-Vv<5kn>Q9jHj{$9fw7&vBrZy^E^pXQ&W>VZ8_bN>izgR@b|mO%CO zM$~HeBOpp<>55vY@!bh^zANehLr^W6 zh{}yTR2M{0$+ip~T!ZSe9jN5ohpO1&Ovb-Xe8vggAg#0M)0(L4Z;eWxeyBd1hN@r$ zRiR6_5(5N4wqxWzmFD5|Ruqpm-i;6R}~jtX5`chizO zsAM|})yMNteRl~eQrl2{em81fc+M+-gqrD2c;zN%nfvy_Zk!*1ny?n3n={vOpcdYT z8Tb@-!egk4IXz6MGf-1?H#`e_qasv@8ip}cNLQn}>K~~4?m^w>NmPVi#t6P^&L^yC zJ2%b6vQd40 zA?p5@qAGMfrty61UJmqy`%xDj@Gf`>)z=@P9`r5hLFN0I>ucg5%FR#}I?p>_h>F-! z)G%C+(=dsh@eAyYjr%kH`*JXy1J!H;s!wl4?E~&a4Zm-_&npeEt$fPOa4N1sUH>Mk zV(+8Y`>#UKM-L9e6w{2Q-aZK&yzR;cp>hbGL4Ih;@q6yq{ng^y$9VP;mJQWq>7$Kf6C5ZMYp@7+ z;&^N_#&-XtG9MREz8`yGtFdO7&hcD>T88h(uJ{)A!Rq5o7mmh$l-J?}Jb=o%dgD#S z693>p4{STZ)G&tYC_jj^aP&mm{p;6FsPa!Z4ku1BKRP#|x~A1++ggs(aT^}S?{Mi9 zQ<2bA+j^byJ*d@m%``WH39IsS+x;gI&2b1HY(~v!@1P#^3u@{eF~fG>_hsP>%6Fh5 zX3aERvJl5o+=jZ(w>Sm6&9dD$pes=odK)LfE)LG|%> zs3fg?jv021P|4XIHNFR;7OUA<3q#)L%g~((QNwo+*1%^_6@49>s4rTcYlg)TR0YPO zLOmHZDzk6~gI2PZht z4M)v0!(t{5qa4F|ct2|Vo^hV-zUOO&?)r|3z#7zIwG|bqL#UP?MGeD0P#c?i=bMSD z3914e&u9F%@yq5Kk8qt9<9n02Tdmtqy%ikcbk_Rc?uS|wjVHRKqo!oDoq zaGR>EuyvN_R;6UC^SUx%vsKGXwWM$L3@qbl+tYRdf)9W0k^CZ<-X z3Y?3ozU*mTO-}uWs!+lTnc-6%+i_wj zs>TaY$r!^?%#CUqb8o~aV-vunEkl(`a zP)YX+cEuB@igmr%Bu_prpu8NH<5#!@!z)aeeU9p~FHv1~4AnLEN>i?lN^)lT|vGA@os>c;z^19$1X}{wmaSN>LTN9(BL1 z2@W)@wtMdLK6t_NB~vs4l2=iJ3X)p+bH?sv_^B8t@V7fnT92{)1Qk z6%~PmeW`67AkEWpG$&rUjNwGN@hY=kZ&*zqQ_f$*gn}=uwXH0kuzbB)mOtEJThH@7 z`wD)na{eH`MfsPj%rbqr)OPsRBZ#6CKzTLLAaN(!7oA-I^?qH_lb9)EF z2%GIR514(Y?fyIA6?fUzX0D&Q%eFqlZ?GdCxtk>B`m}p&>jTQ&?lrG?>+d$dfYzb% z&pN@u04`X0pKZNQ`3W3Ld0Wc1sJ!(p?x3YtJz(=!4wCXA6S2%kOp+}{_2pXBOnNnH z5xWbk;z86XcmuTo`4lz&k7Gi^qRFEs2{TbM*I?9z)4g&IDhU^P=PyUhP@XNN;1 zdZ0s1o_T^lFp%b-JxOwLe%$lq3~qVBB=z?P>0-Xu?-0q3+wo4uU(t&RvmI{ws%#&)rdK@u}%d=RQ&%m2CD?_qQN1kb_BAK3g2kaxYPiq-ni^l?2@k~K%= zL_gF_IK?aHc;zLY>roTjO*jYd^~yCqa+5M)HRnJxT4&F3s0~6MDjAodB5^h9cR>o9 z;VYisqeHp&$L6~3sPD~0CHH((q%J^rl;AMRSL0xf|JOOty4>&++segB*ai1u96#~O zb3ZjR*yX5Y^%K;h)aWy_!I**?w$GzxxcZ-)#VdsB^P6xJeuL9-%@-s$&$o_pa4uH= z(yZt6Q5CutmFvZ*7>pfJ4J$y6`&aQ% zJdO!v;r-v*)(NciomqA(eQ$2i!*e<|GvU<5>Xcic zy0j|}$FVpMHymU9=W*~gC$#07`GcwH9=w`z;~!0*-HqzY2e3Xqhi&maY=f15GM{(B zp_GSU2V9AY%q~<8e1QG%7|zDdKQsPy<5fSKP;c~n6dlfggc?p2j++UoF{*{bQ7xK; zn)&ik!z_jxju)UNtQDx_z8O`4hcO=yqPF!t6Tg^H?8dd6sQs&L^~D=-6dplkZS&tu zpLM|Uls`x9jJ`pQj^@9c2M$L)C<`@jL{Qf+MMYvcYAv`A)v&~V@5Jk<7JZBwW+zbN zy3xN)A7-F#*dNcpk*N7%9_j(h@GQIp`{O=TB!0#*cmnnPF@KmYoQ5Q6!kW*4zPK9I z@<(tS{(_3gh!du3UdBO`e@0#3izP@&SAfd)8&MT|1l1*n(ZTmoT~p5XxyhK0>hgxz zPUF7=2RCtI8cxR_P<=MW=d%>r04frzP+pQ*V;$hHs9{z;&D1m#HP;V7CEZw5#b%&dun-60#op(SV@Jv_ zpdxS_HC)SAFcnM349a~`4a&zvdk!w(pbu_C%~VHGq0Z!gxTQV}p}ts*Q*bL@g+Jlh zxVn;Q(FdqC;W%noR3b`5Icx!pT|KkEDYQ58Gref~pw!qlu>6?3DOcqSJNM@7bu z>a(?;PoT2?7c9lbRekP1MB0UVK%$z@UF}w5H_F$cy7myN;_svS{&!SFY9*?hmUKle zlYLQrJ04Ymxu~qZ413{?s22Xq^K(>^{@c^3VHz?F6_FfNq{65QEJEePRo?l;wH#=| zxEa+q_n<;|02kq5)D0%pG}p~WRWRQxFGfXVHEI~{z;^hY_xUl@gUi)26>EZ;Uj`yw zoUqR3K%q*YLUk|d0Z*f{{a>gX9z#Xo%-TM8CYz4Rl~t$;rf@YrhU$v3bN=;M$@VU&B=3)!x^vL|_y5;$pqkyF6ZkM{Dt-!8(|1r2_!38BJ^p8pop2s%;#rG_ z@CwxT&pX3JBoA%MMc4`>s2oe8lKgf|s4t%8Kz;rmDrvq&J@7YF61Hk!X0(Z@u8E-f zbOkCouSebRKJ0_9pzc?-p@~>y)aSiW&zp{#A;S$B{~b6e^*(q6b>kzr9gpF;xVe$3 z&~a1?nm0C~?2h+RJ{R@9>SvlRX@^%+9*JuCo0x-E6O)7iRE}KQgz>LFx`GqsiPcT0 z#bO)3EY*UYsEO!7RLkE(<-qr-F00xttIc5eOi(M#h zPH>>)IfzQSuh797&CTM`1=Xjcuo6x}ZO3P$DmVw1;sRWNpQ4g=dJB_ud8jUpdR~P3 zd^PHRiOn2nLfD4tqaCORK7-2Umpng4J@9w$^C~S($m^gYmVs*dS*V6gKqY4w$6yS{ z;UlQ7N^j*xBw@AUKsD-*>WWFItUnJGnL-TVdJN+4s6NeY?Q{2xYf&@cXQ=a4+xXml zL{}V7xd1h8Kmb@y-WOH;$u1oj@hwrPvm4 zK}|T%p+fx!j>XaK&3#Hy-`nh!x1gT06BE5T*yDZh751b26Y2}yI+!f(gGH3b;Uatp z7h{i(KFf!@P`Pt2zR4(h5mmt*8D^XxK<%u)K&A$3aHh}wN2zCbVf+X9pjKC(`y#Of zU#0ve&g4eBy7~Brr)==-^a|!AyoF>gc{#ZpvLWcs6PA!wMJCvYjUI;YCWHf`aFQ0 zFoH_T8&UUr0yFVL)TpY{&y1$_2@ce^y-^__irsJw`f(|a$9GV}relAf`>J&WR-wEW z`(qN{z}Ijh?i%28|3~Y8V0R*!JILq0)Y>$dcJd)EZ~T ze_d3AnxGog3RR(An5acE4Cg>CnaTg(1et}(-ViDxSE3@Y1r^%u*c_ik{lfVeGw|Q& z$Bq-sHhVqlfqU>$Jb)Ti6DOKQtZ*XZUo~0C35E6|RL$4pAiNpfu0Zwmr>Khjf_?E1 zR0aA>GB=)#x=$E2sxHD6xXSyy>SPo8j;JK=H<|ITRci_-!Z;si;v1-mqU#i&wGWq~ z=J;MyO=RYxBC`xNbzg=0{1)%?XYee_UwAsxeC{iq8K{|aEv~|}#B|fb%TYD{2Wr*3 z5tY4&{1C6h6Sxeoo9T03(4c#U^6OGkKpHc2p8f5 z^Gr^4JkRI8biNKX^=6;%v*z=8%+L3jf2^Y%4B&%rP<@_}ZTfZ;&Z4{;H6Of(ov~Vu z3Go1IM>!k&;yQc=51=A>MZk1r64m0{Q5%_uaWX!S?)(2UbIpYr*pm+ip}tUz+6k>e zO}X1q!|!g?zTrMpa(<2K(+YW}%Q~R0?}y5zVP1I#rcs`YnrE`}82_4j!<^6!R^kTS zj_SMK`Q}DLP+c=ZLu?I7|udnmxCJDA=EHkjcUjy%)k_`z>jbq217pg zCH6DuRy6Ehm#`Lbpaa)G55I&Ep;cMRc53nEQj6+2xf@)zBb)Ort z9qvIz;BC}A@FS}0sw~t_iSgHj1Dz5jRt8OH>7iqq-yqufpZn9qSgGt{aUBeKDH@g|GzGx0_KRz7 ztElAp2^F#OCFc72*q*Y3s?bVChX=7F{snXa6P z11T3^e@yJ)KuPu~YWVyc)zUN~qYJ8f5gLP5>j8dR=ai^`q5P&=Kc zP%R&{%s3v^u(OfxC9DM;=thfC$#D&;CAZ-bOyQS!<#NWmO-nB}YrwV@CfgtNd>55e z_DVBhwL&#)yjS+4Dz+LOya`)s{6Eft#_LC@zAk@>nOGX2ZZHVlK1Y2XMy+BiP!U^= zT9mFtMQ#V`x_eRIf7(0$CaUG{qjKN}tj+VSa+jJct&i%{=BUMC5Gu6ea4??jl{cZ1 zbUSK3cnlTdBRCyDM&&@i%giRW#PbPM_E%eFD%uqjqdC!=1Kn^rs*g8f9CzXjY_Zy` z`-@P+=|XgH6{^Cw<3>Dys)&D$naDz@E-68^coUY#+fmQCYYpRH4}P2zeeekO#5!xu zOf?o?qI{9(q;+OD>#R5P!9i36DqLAA;2&!V|pt^PuY7`|=U6aBK@%hWi&hI!F zvw`Fwx%ypUE}VL$c|R9H_3akygb(9p{2bG`{<5ol?*Ha%eW`f?;k(+ru)G7Oab1Of zmvV}8T!z`30G12ydCBuxc2;tN75Wl$Ip6v=bDwn>q5KJI z0y}5Bl9}v`)C6=rDp~GCElQ7Lb9@^$j!$@>*Sg(wNo!PAPe$cTHU{uQ zY>ywHmiKCRnE9hVo~!YHCI=c8i%=8Dg{TUwL_O$g)XaFRS5BcG^eoz022Oh^F%)Hxl^^JEk{?~KjF-~Zvn|O~2-5gYli%~ba z%samcGb!&ujq49kk@DSZCYsu)iuFKMY#gc!7ofT@ft~R>Y>Us|%lOv}b&M0bQT^Sf z3)-L-r3_RTj79B`=HOYl92J?psHyrX&zC*l#tEGN3^md8+GBnb-iKkzZSV704`4FE zK{X#g1ooO&tLNQs-gdu^8@OQ91Lg+*!pAAk*heyv-Df;VsBy?cKI<6g$35(G{~hq4 zN6hzrMCH;YkD3UqL(MBUp(diYQOTI7^_aP^5o&xlM=g`nP;>o!RD|N#1+PV|de5S! z+Luue`WzMN@6f@t$4ytXL9L$sQKMoO`f(vLoDXK#8=<@_K7Y9Vr zTJWrCSs^MJ^Ey3Or= z&&B~f-@1l_vG^MH!DcU*zjU6BQOZ}Mk}mC_>BGKQNVx=c!;f$Xo_Wa3r1MatHptrvd<4}sTaTD7yA{=CccHrGA=Gd_h#H=6dwzyW-XF0%{`*M63Yl z>1Nao_MwK&Q>ZQ4yEp^eziEEeCQvQdj+%1sM71o1s`#Vc=TCX(pF=CX)IY8L?#rf) zt8mry@`>sB0Vl5@oaHZYhD;vgEC?)iqWR%?L5`CZh{l{yIL3h!j|Orae`s-GI1Co2op31NM1!Hcf`I#_SiV2zo`)D5Gwv3w;IAJP7MT&}|nSXn-+bQ0Y zvcrXiflv;87UO0na{fQJ!hI?a_4;X?=_u8j#`0u>qc*ys``fer6iRwA5D7R%VIr4R z5Xej~J#R*%-LIVed*%K*AB?(56bOamdHGImBoJ_Ng3$#|w8)=LIEwwj0zY3U={_F*GYNj)}AmFEuB7vfC zB&HrRE#?c#)vP!<8_~59r;WyLG?`w_Zc@G=oEP2Qc+t&OYUKtC0#;^b=E++pYpu3h zCR=Z_8Gp!-!0!AY6Q^8-V=so^_tfJS9|DlTMr|P)-mb;c! z&LAxcc&2*NAJ1_jjI*dUwBXcfS`cJzRc1v?o89j(H)-m$-51^eQF>!dh2c~E$qK-= z#eoQkwELX>E6Z1kL>QU{i~H_=^FTqlTHcMa!=X?hTXXd8!1Ev4<+H<)oZTZ1#?op9 zoZ?_4rir{rqc;%Qz3Y`}>5Z5S<5>>99f?|_POVE!@b|v`pxq!E3;7G(=^z$i>ejRx z4Hpy#O4q&9X7_{d)J&`54S2mN|jqKtZ@jA7)x! z#_fLbgSKfC_#onh0%k_mvZi$*m(|S8%A7#1KVA^i$?QOZ6U~kUi!`#CgilRx(fnXh z)Lkt!URzaUR_Wi_KXCU~pMGCHq1%N5c~prSFh~oTU0KlFd66WdafQ0Kn|p4;#MGpC zk>h8gi)nuJCPi;v&IuGT*O=UN^1~%uMFP0%af~(73)IQx^oX1cj|K*PNP3uUL^wo! z%C-;+a!!CLis>ycv-Hic&TMPuI);r}>#n+bOoZ(6N3!!7KS6RM=r0}h&5+&Gzs@Y* zzbGEfSI=t_acE8iNgS;4FueJSt__rEzAVH|6=Y@^vUP`cs!VHJYeflxG1`qKCN zDwnmo@9s;F6{OYp%W|;$v*Q_dg9+i{fTjO369X+6X{MWczqYDC+}R@SZu{$Pc6F9& zCojOH$b)j4mp=R3#=4AurmA2_E12eW^~dh>e(zYx7YvnleW70Jvhwy^yQV*@Y=Sk> zNFGkJC#08UV>py*TfyF0x$?<@ntZ;7y|#jxeo_-_+U0!}hcj%M;ge%(+fA#TK9fdM z^J?4U?LP6Wle;BF!kWC8ZAZw1X*GKROQM-*3kuAx%6q`BI`$(KDh}m}c+sF#P9u9; z`7?6Z90o(DU*-;gl-?52`0x3lZlR)v&<1?omO zNXd8F*^S$pvijSta@n2S(`6mYC#i4R*&WK&o3@yljkPjR$n@oBdeBUrI-`@FS*~u` zM#Sv+!b;APD zr~9gBIy3zRLDoQbr;(gL$Zp@-U1aHd?Z%3Oe#cClMZu!7NmD~KIdHJut9K`dJA1o- zMcFBGv&p-inWfx}4=jo?*t8*Tky*63Me@oacGFbpVEbT|#$~%cmeqjURl281x#Z2` z?YgOjs!_u;}L?yGP*)=%<)0xCi5T;ssnkmjHU_X*NG1VULYj)Zy zcG^OxXu3B_9h+`9t)BdTu3a~|JIn4|m5`s@c_e+=_JW$;Onh?Crt-4wn=4d56@P8w zlIPB~8z#I3=d^uUVW2RJ3h}sDJQC6mnQ(5d7kGOe>Y#kbqWlEpiG%~P54?ZFi~m(8VYPKyfsivu}Ug#SbX z+5AWAdL~nZ_Bvjblkp<^7hf!#EL><`R=HqVU4nh3TKgb0cRqsbtvkO z=N9bW8;!GsgZrm=)SZ1Njk$@tPaRFW|ZoPPXqvKv)^MfZnA~L(b^1S@uIr zuS~E`jU4_Ut*k`CE&Y#G`)w+~UUuzf8D-E2(<{ z4RXe5`$Kz+gR%WvV^KFqib8QX5(?z&OJ(uOVIk4{7j+UjOeiA*`~oisu)RvRhU=d0 zR)`k!8=bw7+dyqk3!S0N#M~zo%+6>1R6I$b68-w)=WQTDs4|@qQF=Y5XzD*p0tHl1 zw^69Mo*;3DA^OF>B%YUu1eLAvTsOpd0b0kCPDacb8xvcx;J+G!a>z%@6sg z6KAVJRTmI?6CG9$QxTKc#46WM1xkVe#YtJ`Jy_Gul3*Y|5F*p{ncE;ng}cL|_d^Ny za&^`It@H)cz>>IAxc?yqDl^^d5Py9Cjq0L8cMOCz20D2;&#tnpqE0xUS)#0a+}`0{ zM9KupZ3ZtG3it2LV~OWCwu0OIKSh_Xl_f_gGj)8C-86kt|Du8XVD2A{McCmDq+;q< zFP#)QhHNCjuWn~rQGmNM(%Bs>F%MBfO$+D7N|?*c?kltO=&E|jsmtxAiOG>LD~WPE zSm;dkyV0PG)<`s3TH;eGqkK5{naUqRO^B5Zb>t7R)<+XH4E| zKf(k;OUi!d_xbA&{nOh(dXh)PLTNiQ5Lu$8g_v~%p}y(K$CuglO3w_Wr#i2&kN&rx z{mD+3*}Y0P`)j4%ywu)Y>Hp7(r_b{Lujj;Sf0`3hu?==#UvlA4U)=4zBrD>6 zH{v}>yIOXNyx`I9+I_h*G#Fz-D`fh2XF4WsK8)v;z0uJcqiKeTJd(u=3N4T0+4raJ zxz_GpHTl3~U(K}P+%=f`b*nwd*1Md>mHqAt#KM>Ab*sJGNzCMd6Ik@jE1c7pj=Vro zZb2YVuX3_9w+2F%ySkhIHX#h2UeFI3%bOG}mgB!q^{gn&A8ZYD8G}5Um8^BZ?%we9 z-zd%q?LC?Hwag~FAFz8gAEG)3$`%`1NgQ}1<4)rf!u;|`J$d`KiMZ1}=ZGJdApNYm#2Xa$4RH&8UPt!oM+$;72 z$;V%@yS8DyWL2S;xZFG<>du4t0bYeM^M%}pBtLw`K9+p_RlCP9@+9hvXTPKPneVAb z{?lVf8gDPfqUOGLGB0(K-#%}*9K%`=De%Xcj@^&SUP)=srAJU<9uW-C;{VN4l8+v; zo#c?$?7kJv5*SJ@dCfkPw;Ur*t|DsRpF&`wGA>-?&b&M!!dq#DjlI-=Yfq*#D`1Ax z=~Z@HGxjg7DSLbMf8UzS)HSc!N7K8H3b?y@_k|W?W+-p8^wT?J{pEvc?%vmZrIm~w zwe!jkr6{#5Qqc0XU^ z|L{2NoRvwbJ)hWiTEhU(FFZAwWzae%Jl?{k?)=jJsC*^b5oaXzO;PLiytoj=;0?WWU)XSn&CF(Sg$qb#QSWm82U`SVZqXS`L2>Wy9M=+E}tv|4UM zc=hQ`C+xJw{M-Ji_DsFU(=$#EkW}|S>`$tkY2E^`Lp=E|kMMXq*i?gb--C7^v$5~w z?VStV&E4O2*!*oq%X`^=*4<~OUaI12S7ElBZeLA*VG+%rBo{D0#(~cHI&D$PNUv^dnHyYS~XPzy5R; zBFOFJ7r7F3v zsc&X#dlTP7a~%E%4mPQC}!RhCg-;BHFUb)9NExltFT424+FT<*(Z%PGC3uYTiqul*533mGaIQ3q8-XkPPsIn>Aawkpm zYk|{cI}|nTpoNr%K7ClYNcsL8*UE@@+|LJZt|}e)~D+(6rO8bVo|6WQOmbRT8W*{`>;Rd$HT9_6O8iAGY3KVc|MOQ9|GTde827a`eyo03RMt}Bd3qn)(((`0yRvi|eWV_vwQNiCI zmn7c_`dXw81broy`;^7Siw6JXfHCr)_9U8;bM#@Mnc!2AsIPL`0Gd0QpX+Rj%&&HK z;(AR~c02QMcS2SZ{#@70)Z#_H?!Nw->5KKUnB?$&Ah7~@FOUP?DJ6Bi!AM_o8|2Qi51=fiI_8#yI`LbCd4xv#&Sd zo|=PGZ>;kDSh2ijv}Dt1cE=`ebWYz&oVJsQCV#%l*P`x{%%PdyrlK={0_+@%EuNOl zxzgt(50(1POuc%AufUglvDDW%`Sn%4Gi#pOwKC=M-DJ%f>_Rh3eb3ZL4!n`6?uuJ{ zo!b0u+ertVN~^N*kUVya@4Pz7dNXJH%YL_|CT#IJmFf(S^Un=fEy{YF-G_N=%?aL0 z(gkJHH22UiT>hTMMqO|4-A-guKW$UUN2-=ySh4DBC*!^3>EvyEIOBc5nyJ6>o!l(y zpSNgBVE+0S>*W?1%lrc$mT`VXQpwZS2X9!ERZ@#fzMm1Bx@L!ON5yVsU4L>@ZA}fw etZ9J-e}2*Jw%ar_IeNG6oARoCvgaOOoBsuHpR5`H delta 23145 zcmb{4cX(ArxbN|`RuXzIp~I$y9zqGd_ufH3S|A|_B?(Cgpu$E#0i_5Cn_i@MB;b}J zRX`9G5D^4HX;KA55JdETe|y%s_x^jI=bq;|=QA^_&Aju@td#`MIe*qGcd~e|<_Vr} z@jo>~EUPH)ub|rh`JaB>ElVf#$Fa6$J;jDNqNio0;ig`ewHizIwybKLcdU&vCS&OmwSj%co`yOmd{q;E7y)?9b%d%R~aQ$t|nn%6dJC?PO5$zjq zS!b#Dm}pr<+X|b+$nYJ^fHSZl&O=Sz7R-hxF*{yBoqrR{;GdWS3r#ld<0nOGOg+@qgITCobd8)s{F~9x zgoa8u8LQ%UEP~f?84-Ae_i@qtmer3Zyf@9V22j5~(@ag%*_PFm^QV7gS%dIv{0u8I zKWl?5>jrYFHGRHiMR8q$1(wwa$N8B5K@9Elg@l|F3N5j$4{#^`gAJFG$yjfhNvi70 zi3ArmTVYu*X>YmGvY0)q@hX$FdohA~_D@Vi8et9UlU@Btf2{kM5g&OeC}e-3Li!pt zw^>%3xytS8LA6)K;#doHgPv}Ce{4!U8p%&IZy{RHQv?~^x&?T z2?tb$8~5tm~jJc;Cv*Sg_0 zSnJG%g;7aa3Dv`f7=o>_33kLfI19_-3G9pyQ4eUi-s}T$ScZC@4Jm*_!%n6vu>q>Jm0EML7^RlRWJ>^;2Km&pP_D8U>l>yn&`nvSQ%HNrr-=}%I=`{ zh1Zw?L${k;DTW^EWl`ruu}Uxip2)Z-DTjb}V&#YM;q%UX-Q zF=#iV#C|vu*JA|c|IFk-D^x_MAbqfAVh}dm>JVi9r^;R z;t^CN{=mFweQr9I57l80>bh#E{h&UEVslg^`=TD`Mdi>ER8D-3N_y`>3Rx(;LWM5F z9<%(4qCy*v>PRnahVSD$coGX>tG%3q1F#~_M1}ry)B|s!2H@;756*=JsTV*x?6o2& z=!80$6I-E@q!+Hjx3DJ`-ET&cjQOa~!W_67lW`|b!m?kOWwrq|6|b>8W;kHhe^o3@ zy(ebW`cI;uk&Z=$cqMA?ccDUj2sP5Ps8w-V?#WG zft)#FrZyjzqP-$&C+vt`4}}y8I`L!7h#OEN-+?9Zu&z(sER zN>sF&IdhisgLVOJgzW^-)vl?L$GyFb*r>3RFkFM$O$7REQs8 zam;ketoL%L_1+70{ky0Utw$}#EtnZgd~G^V0X5J_)O{Nwk@Q+!C}<=@T}PurJq63* zKGcqO13maRYJ^2jn<=Y=y1o@E^gU4{9Ot(CP#s+7)=y(5>X*@@^?#Fsk}%{Olf5NS zp{t0R>sD@iKlD(K#nw0t)xk5Uk-xxM_!>iS#<%7{bJ3>01QqgSm<_+c{5;<}MM2Bw z7gT7Tq2@Z%cc$k#F^qa7>IVHV2fl;q_=l*RS?l@*hEx9mvt#fXv+nbtvOW?urLEDc z8xEqN&`m_$Xbo!Q`*AUz!^SxBtocCMin{S-EQxnW&Rj z_nm{vh4tSPe}!T@4R>%qDs*eln;UILO~qcfegQS&Td17)4;87)V=Rg(2W*iR@{Ob@#m-;9>Ugm5&NU(Co=^TP&u*C ztzX2l)c?TtSn#s>Opiu&d>QKg+fW_biwwkT9ipHJoWQnt8Z{N6SIqZ*Br4g`P&b-_ z3jKUk?ySKw_$jL67f_+TihAI0sOz7i9&GcS+~@u;l*z^#9T zipVmzz5(-7-;Fx&Yt(8wi+aEX48vQf>#{vH?FFzhb#E92&0%*`==-8>ILdV@>PE{@ z57>h0;7-(XJczpf3~I`LM0MaUX2su8_xl^wfn0x@pCOCj_gepNQ)thD&d*GUmZ0Wt z7nZ>Ts2ksK+n-@q>i=Oa?E2iCHx0{E-->JT0#3(w{vrV}!wd5j{V^)3&tNXC|9ccP zvRAJ5OViVgu6dB@w~D#-tbdz#KqzXYg)twNKt-e`Dzq&z3X?G$&trBBdS$+la$`B3 zZ%v^P2rVi^J5eG20;}OE)Pw$UkK6y4U&m#`y0quSP;863ZV>AHkr<1~SPFkaP04Fi zL^Ho8{`n~sp)drip?0+SsC9k|=V1ANO^EkmVd~dV$@(|u#Vr4sWmz0cP;Y`2a1d6+ z58V2098LWi&c&XV?F}T)9m@{P`6JZ&eu;&!h;0Wpibzzw4JP7XY=Gxb9m>h?v))I^1}J_dFyR4(*z9q6_XL(O#x zYFU1O%AG~1`>a4E<2uyNx(}6%Sa@-ZWIiiKxAQGlt`C)W~n59{38?v7k^B z`rN3Icu*sZKutky*JfCndPh{pN1@IekLvK0P}aW+^J&m}Ux&*21E{S24Lf0bQg$LP zMy=l>1PPNfv#mhBvS(jwog#uoU&69jIhGgj%+j-S%Hl4|t4Pey>qE5n9}Yz9cHgs-j2h zzb*xZxGyRz<544c&#f;+-C!4LE)Sw2a~_p5_fS*glrS9$#cI@xpa(nRhnRpG$ls_O zsOaH2TK{z@Xt}gU&24{7!+2E3e!)b1gbMY*k|qK}QISeRT|W;M>a`ez2T>6?ikkZ? z*chK;U`H&)`qzQZ6g0;}Q5PhlLO2c8)A{JZ)u`n95;eEKqoyo>X%nGHR0o=%rlzl3 zAC1cP*=~I+>b@sRv;M17_<;s}p=2s!Zcqs|$1Sl6_Qc9K8P%~Js5$=vwe=psn)nqe zLa$L%6(!}T#Lw69S;&KYKITnx1es-te$ z91mi5+=h9}+16=1g6hcZ@@5Lwxb8!B;GCC&9&im6x+m^|tQE{u6hu9^8Y;;eqjID> zYUBe^ITC}qJ{2{Uvrtp(Lv>&q>inaq^G~AA^ImjM_!X7q&ruJuE1C!8M_o`7l{^us z4kfwm6Ht+uiCR|6u{&roJ9u@O&%2 zx>=8dYuJH57EeG$VkcI{Q}_Y?h4*n%P4lUh5NSsK9k!x9s+O6e4X$@k5h!2VwvwrQu*Yb7E>$4YDqx~(ci(61rb{p$sg?i?OF{lBh;~cC} z-#qXbs)KnNn9uP(_y+ac4Oss@DKu(m8a~G9)E}UxBCU~ay^HH`EtYR=TkG*#R0qoE@99{#(;9j0SaNCn{8#T9~OA zhwZ3uMcwEHcEx%v?ZEH*X5bU*x3Dw**vbz4U9enhvkK;;mfc;{>Ue~j+Lx%L%vgyN3918`+u4Di*^1y;>f5jrmTPY!l7@|_e}#%@#t!Cwov}If z0XP6ZK`m3eqpe?Zd95526q;ce*uk&@^;xJ8eU2LONz}%12lXNHA8I4Y*vULNKbE83 z1N-1Rs0d!bKu)3dk+ja{zT+{g(sdRE?R<;f18Xsi`e&$!{EX`H1N7iaROkzLF@~eA zZ-)AA=!j)-5US(vp*p?>wSnzJb>sx*(sKEhf<|%;J@^o{0p;jwI?xi;fgY%xEedu1 zFl>usF%6GkZ>-zRwi0kI?y(7VcRTPW+kHK3YZUEudfL`9+=SlU6x#G+1LDMg@iz6s zy=`k3+I?(m34VsUuv=e~JYS+Za1v|ak60eFzG*sG6P0ugu`)JCaBsE}Vqh3FnCq))IU2KO^>#W2^#sGRAIO1flJ?(9W%@Fwc}{|{6yg!Z?s zeOMVY93v;qmF zm3xR8KweZw3ZvS~yX_U-_G(@V%JRmjr0RnDc8kVHjKc}I9Q$IiX!99878TmnSRK!x zUb8_lX6I~xIz9rm>=t1ae1WwwY^Yhj-T@SJ;#Sm+enQ+j&&7{EW)#-%wlVLsZiKfm;86qoyt-$()xNmApAo?WNGcFt=U-b7=in zp`aTyKs~56D*L;lF6@n3KKtpJnli6CSZ=PZY{@LEC_gNLR51DEQ{*E|nnr$toK4!XYeaU@7KjbAu{W9L8USg(g zkv>+IS=@Lv4P$1T-*OfCh@FW8A7N|UHpkrf`COZSEXr3fPhX0U@h;AsZ+;3Mvw&pe z{MC4a_A@^7^Te)&wnZPUa*OQ1Kgrm#*tV`yzlZHO?;Gz@+ge3K!DY6!nGx-!+mEOZ zrLiL?^dipM5!axmC>^!q?MJ;_E?_o%hDu^*jrktPg<7^AR8qG@j?cJxb6kf!}_zIOw_1BsXHbo_IJJ%klBpu)yj~ZAime=|} zLLr=n`>2;f;dOjy5P>@Ap$A{Dx2-6$^ub1whW1W7$OT;YsY%jjJDE$aYm`p%;%3~+ zvPs!xK1NG^Zd-42{wn1CW)<6OTSvKX>OSo+tiL)3%-(+*^KnA*K}LX65Ao8$Ifsc1 zrXL~Hc=D+EJ>G>cO%@M5W_G{>sAPVGO5R4tjk8e8_$q3@xQ>d@Jt7e{ra@VH5;gLlP$RvE&G9KV!P;M&x8hhFN_`tfVE)tQ3#b*U{ss2N-?1#V{>Ho; zMxtKlYf#It__wTo?L_h4nwQ97)EquVefc!|&g@)QQAt|kOyH~48jMw_A3(jPAD|vo z>Z~33V^bR(L;V7#V5f6t#7D3a^;@Xro7?-n8Ce9z(l83OZZEn1i%O=_=S>czU}fq) z)D6CLy@4gDJ3pA*DCJrn^;Qf=z20L`%W)xUO1-Nod&zuIG(ydNGSE7v9Xy7LM6)aAn{O4?qh94_^U)cHiogy$huA)JO+#%YJ}iK%uq5umns^x-V6I=xh&y6i z>OE1{t-!$V|29%kG95x)cnvkee7~A+zRvg|^(Ck*FUKpaF?K|qKNFQ)M^N{9hU!qh z8z%IX(L=osY6|+G1~BLb>tA!5NQ35XBCf=Z*aO?$G*hzz6~cX}2wcTve1fYm`j$z` z47W`rM`BgllTkb8C#a-6j+&~UQLEziZLbM&vER%NR^7D~mf(cGsGh!sdd*HpCD#Jf z#aj#Y2q3KZ=dN|Mu zi()J)B2!RvwaxVwD$9%hZhk&!gx^s=hkC##d_L(Vwgs!>0n}7IL3KFfu^C7S4E+7C zCIyY42kOH97)VM~2PUGjc@x&gBd8Jn?VA0GNluSzbM$b0C@LaTQ4gMr%7HDY=k3It zTL1ef=>7aPDrCRnSbU5+G5!yCXGC>ul3SmLio|Nv+#bX7c+)+e{i%6yG4#-08}(Z5 zjatSj=v9aoQBa6ZqaN@JYDav6x?%P|&B$w^HmC$tZhV63;8~oGKcS`|`k7fR38@ zQ60_smpQLFD#^Q}l6xRl!>NC<{?)@hG$@3JQ7?^OP(6H!ia^E}=3_Gg_4*x$+T+*Z zx40Q~pSNC`h)hD8`iH33`ApP6ccPN}OVm{S>ZPDL{|A*US^qW<3`HehW7G~7kD8j9 zsAO7>O3KesH#~!N@geGdV6+!Mf7fS4_rds_)pw`IsP$UI(}3H z^1e0^X@Cl0JKTxMsO!r9YrY2>qegrlqwytraKL{iH@v8+n~uTyLSIBdFNNj&xS^h} zMa}sx)QEpV&G~)Q6lJuXK&Zp86ZLS^l#NG)cmYnr4X6lJa-6_U*&HLN&qwWm$FZc| z|F*c0EuXdI5eqLQ;?uoFnKL8z%5;W`F&d=lz@ z^HKZ2axAL#zlMSyco>zvCta_h9{9{X9vtEXLY)m2u`txgt6)iNg-XgeY>OkYJ^E2o z6qLb4q!_A0k?7T2w4tDE?~Mx0P)xx0F&>|x=5!$cL8ra}r=VWP*HP^unVi7)LPhLA zJqESjccLP395v#zsE+@L>gd%>jyLefq8l`59oNq61U@W!qB=Am_1azS)_1t|1E?JN z8nxj(L521eDw4rj%yrpN4=#inXbIHus;Kj8XYrZ?O=!@Kx}bX47nO8TSPsXdHk7rf z&|boJSURh@Q3C3^F>ZYV>OoVn4$gMlze1gN7L}|Qy%drt+{3Z>W;Q4A6UupXsCUXv zl3-W7%#M

    R7v+PGB7mMSUrKfCahW8pcq6k=qIU1BL;49Q`vp>j?JZ`UQC%>m2om z`JBK%)A1h4?^u^;n9hGwtGOFez~sOVY)$sC}!UPCQgyRb<<59+)+$X4&QT2j#5k3xN5%yv&$gO#a&ib}Sts2kcvoWRScG-|bU zL#>iH)D(_Eh4@{pj?*v-_n`(@tf*NH!?2~+{}c*(Ih?`mF(YdX373{H4sui=jGRQFX2VCKPmGM^u&$ zKwXfa6EF=GnaQYCu@JSq)}gX{uj?UHQXR)|yokC_#?t2gIZ;#NK}D(?dX-H5C}@Ki zi|X-Q)Ppyn9^glH;0x3P&Y?nl6E)KNsP+6WYAS-tm=WedMYcSqU`@P@8&F9*yDaNp z-{m*Ung_l@B~zv_6Nw1a2%6vkY=cd4J(4`uUDQbPmvaKYfNX)EQqNW13H+zrN3a|9 zo{ zF$#BM7#65(?%N38r`{E{8ZM&VDSvq>DAcb|q03aoBwqnk$KF8Y#sJiV6Hz~!rJ^3Z z9d+Gt)SUi+lkpnrK|{h#BqyPgZZ7Jbu>lj&dzeBm3e~Eb^*jytQvV*y;;aa>{C1({ z{zp`j-bEdM=^igp%?bQ0*vxedMsj=$j>GFX4f|C$1G|NE*lRtYpqI{bR1${PFi9AJ z8bKR;3u94pe;qaQGBusR7fpR!LcJGG#6NHgrbIe{-z9r$nNW{H<=16oGpLQ{o!X{@D_jp^8QQO*A`o21bhIMs6RRzj#%Q-b4V7D~Q4jtMm3&`d z;O~FODJTbiL~X4%T_2%N{2R4QgX)^OE`eH>;i%&^QFGhSt#?Odc|TN#l2GrE4^g?Y z0ehk!y?S8wdQRZ~qd`HeO#Lr>56jdyTka-QWKQEfyn>_fL<5sVbsIW?U%hTb?Tn)u zIo2?aPikzgdx#Bbe~p^r`c2JL_H4@fe}e`e4O-8Suqqa5W8tMg+HJ| zxxBd<=~~pzxCgu73Dl}7*un|?>{tO6kwK_;O)4rE=C)w{YgsL(LGS4ms2%VkY7QTx zZj`U3xu7g6SE{)6#;B=ijoK$VqV|P8sOuAOHqJ#&RjF3yK9x}C)$meK&)cBprWYzi zG42UEu91F>I&TT;#v4&n_YLa77f~a;iAvrVsO#3WHV@p4>UcUTd5^j6-g^|(vp?Ju zUg0Oyv$ruf+<|(~m#7DQhf1c)sEy*rZXgI1PAE83;bC2&vuJc;w zDQM)+F&snMnJK7=nxhV=k@rBIHyE{?Mxl1RDQ^2LRFW>ka<~<>s(wJ7cOA7F9-yW) zV|xvR_isT8RcMIB$v6ZD;BPn+TXiraJdZl>IqE@WI+{7GiHcxbR0q4c?NL~tdKzlO z+KFL!5*3-p82I-TUY^?y(yU)R};>==%u zegUqNX4j6|%RmI(~>6@c~o^PoT2- zXVi}P2P!uTb~DSl8Y*H@s3aYQ9(=DG>t8)wM}v~;IL^fzSOe3#n>pKry6_k(beB+b z`Y$T9nR=Lxlt69Sk(eEOqarsHb^chafRj)i+R}sdudQ{zd*Ve@NA6)DNqU+a7DOda zeN?vhLOpmaD!XT+_KyXq2z-Y#@EIy+CiOBM+2MKwHK6le3JUcdoQ+RW>wEGWPT;TK z>roG=-`k9+8ET5UpgItTx{()k-aJ%C7o!HU8?|$uLq$4!A9K74Dni~iZbL8Bav6on z;t8mc%*0BVj(Rs-bKA4^H6yByfh0pkCfcpPk6Q2Ruqu9u3i+R?RT2DV;C^1K359SP zMxv5wDK^5L*Z`lPk}JHQNyg@=k+w%2@8;HLqxOXbsJY&Via>cUS^H#&&Qi7Tj)Jj6@*8Xw?~16bcSBOPeA@cV;ImWM$?*wXJWAjrlRKdB(}ql zXk!;tQZGSu^dPpu4&m=JGw%GFyR5@ic~T zL41M}_|I?>6P>`nfV_!sa(qUT6Zj3v9aQ8Rj4}h6i=(L@$1ZA5Ha`i?#QxNO!P@9; zlwvxNhD~W$k6Q0{u_ESAH4$inZK;pLhIkaap*`AcTs?3O^_$od)6&c`-jBaO@h1Ib9I4AJS)g>3Shi}KOcn3RRy@}>~U@9uh zZ(|*%r2e~3;4h)6lXN4#h%gyzO?EdRRPv^ylI{TJ#|xkM!nUlzh_oKKh!=EgUXTNsMT}=wfs(_I`BOP{{Mg7 zprD=Y8S23q-Zu{_i24?+gbMYyH~5g{3ThcmM}=-9YEM6mion;Xx7t;V#6lmM-=cL!5A{Ph z6Msc*WQj9O#Kxlr>Ol3OkIx6F>+;Pq_oK8B(+kC``9sVwWW2qmXYnEr@dFK4@@G$KiKPG2LVsFm*gqA|x1&;NU1I>Mo zwHs?MG#5TZ^?dvyGvX=OfciqLfj^+O-pq^5d3mrJ^+Kq(Tzk|i7>tU@NQ}UbkZ((` zb(n%)CMQu3x{eC%UG(5k|~s444=Q5cU}wqK*(1;I zzRbKk8sZ_X{~sx=<-o$_YT)1PtT3Vb4<}F`yV42#1Eari7WL>=jx`0JqW1Q&pE!ZP z^*l#LWW7KooweGu=RmdRLbVq}C1Dr_)_-jZOqtalmDQb4d;fIQ9EPniFR2w+o%#jT z7MyvldA+vAy42^Q_Vm-3g2C%dPK`xP*;X8h_fRjr-s@TaO)1Q#&BGHsn5k;7`oYPR3lMav~M%(e+`Ap zG%Uf1TO9rl#NT$eI)VT9dizkzYWFs?0o_8alCQkr~x!Zb+9dJAf4Uz3_U1VS>`o;qe6P@8|^cshY$KEb9(&n3qih9E9{7Q zv5B?PTPKytnEw6PzcQt#PV!~V5S2V6E)1Cyq|_bRLqL z*d^X-I%G&p%Dk_()|yv(TiNvJZNZu6rTQ<;8}<2vc_;QHrXSopG4s5{F9)Qb`|?JX z^h@8p9h^S!e0)&x!BL~5lcQ2&tQIk;F+)=06Jk9nG0E{!BRokwBK^{jH|_Lemy$x# zyIgCVC4KkZJ$Cw*`?*5W`#z}@lAhtOyTLU_Bqk0|@r;Nc9^*-ki%E|0MDf1~iJl>e zBa@<1;|Gt3@g$8H9UGsJ;)zO&iXRb0%e=z>Hcc=0Iy^Z0=%i?#UeD^l|4sJIvF+x* zE4KZ)f0bj$h4@Qmvdh@M0h#U6{zaMX`L?fVR{LZBgRFM>O#bkEc3<1KF2CJ4SY7o$ z%5QJU?Aubpp6qYvvH!7sZA;nt{i&t+?@mI-rN$*D_#ci&67?Z;2Qa#Br zLq`xW-@qpJ$N$e)6!vdzYOl%eU)I?Uaf%Z$&2CJ%r&rX7_-Hp=|I_N*(bcZtYueRr z;`^+dUC{qwH~X8c{8rX!5*3+ zV{%Nil@c?=cXx{Y(s%1U`~Aq8RjSwYREww=8Br;sdPGE)E}g4%i%E-5iBC+Z(n53L zsZM*9i0W0U*YZTvtye9wQbaZX%J=Omwq48r?Ns~Upme+68ry$!wp}dCyce;B{C$_$ z*Mj`yZhR*HosD*FC%wSi9c_RAt@fS}|BQ4yB3tN4Ph8@VxY(ExQPD98F$tcgfg$_P z9<&?V{#u9aPd&w(4j!BwGbAo1!8*Eha7^<5BzE7?vB~j6hx&5mbMpI=uiNE(N3Yvu z{F!gq-9zkfU%xx{hx10KhxrTNwG$oR#D{hc|APB=9w%eZq!Ecx(J8*~9@349payx#rZkdKQ^cHPf+n@|Mwyso*J)J)IG2Y1DQQFuT#~Y_wZtI z--Ue6Z~kNXoqi$NTPA2Bu}YIhC#CqR7jd5ZTNQOKXZ1HO@9eStH7h!0Gx&2?bAAo+ zFRtx04Ds!3=oBwL{C_XX1Wy-tRi?!x4?Vg+c5qa(|8+wrPe|?*PfvGMc27FGM(c7w zbEkvv)8@`u|Lhh{mkgh^cLv+OIUSs$z7d&OWcNEb>ulfJPRPn||2?MleVyl7eA{E3DgKs2ovep-xS-}On3FeRl2bkL37%-mEY*~x z_!x36)sqlEBreqx9nY>bJau%;h!M+Orvl5awpB#XqDsfmtW~bXZP>j z>in6}ANQG){MSx8MKbxiOt35Ze?I4I%9ycRVye|WX1H(9PtGIX J*2_-W{{\n" "Language: de\n" -"Language-Team: German " -"(http://www.transifex.com/projects/p/octoprint/language/de/)\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" +"Language-Team: German (http://www.transifex.com/projects/p/octoprint/language/de/)\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.6.0\n" +"Generated-By: Babel 2.8.0\n" +"X-Generator: Poedit 2.0.4\n" #: src/octoprint/access/permissions.py:272 msgid "Admin is allowed to do everything" msgstr "Admins dürfen alles tun" #: src/octoprint/access/permissions.py:278 -msgid "" -"Allows to gather basic status information, e.g. job progress, printer " -"state, temperatures, ... Mandatory for the default UI to work" -msgstr "" -"Erlaubt Zugriff auf Statusinformationen wie Druckfortschritt, " -"Druckerstatus, Temperaturen, ... Obligatorisch für die korrekte Funktion " -"des Userinterfaces." +msgid "Allows to gather basic status information, e.g. job progress, printer state, temperatures, ... Mandatory for the default UI to work" +msgstr "Erlaubt Zugriff auf Statusinformationen wie Druckfortschritt, Druckerstatus, Temperaturen, ... Obligatorisch für die korrekte Funktion des Userinterfaces" #: src/octoprint/access/permissions.py:285 msgid "Allows to connect to and disconnect from a printer" @@ -41,103 +36,70 @@ msgid "Allows to watch the webcam stream" msgstr "Erlaubt Einbettung des Webcamstreams" #: src/octoprint/access/permissions.py:295 -msgid "" -"Allows to run system commands, e.g. restart OctoPrint, shutdown or reboot" -" the system" -msgstr "" -"Erlaubt die Ausführung von Systembefehlen, z.B. OctoPrint neu starten, " -"System herunterfahren oder neu starten, ..." +msgid "Allows to run system commands, e.g. restart OctoPrint, shutdown or reboot the system" +msgstr "Erlaubt die Ausführung von Systembefehlen, z.B. OctoPrint neu starten, System herunterfahren oder neu starten" #: src/octoprint/access/permissions.py:301 -msgid "" -"Allows to retrieve a list of all uploaded files, includingtheir metadata " -"(e.g. date, file size, analysis results, ...)" -msgstr "" -"Erlaubt das Abrufen eines Liste aller Uploads, inkl. ihrer Metadaten " -"(z.B. Datum, Dateigröße, Analyseergebnisse, …)" +msgid "Allows to retrieve a list of all uploaded files and folders, includingtheir metadata (e.g. date, file size, analysis results, ...)" +msgstr "Erlaubt das Abrufen eines Liste aller hochgeladenen Dateien und Verzeichnisse, inkl. ihrer Metadaten (z.B. Datum, Dateigröße, Analyseergebnisse, …)" #: src/octoprint/access/permissions.py:306 -msgid "Allows users to upload new files" -msgstr "Erlaubt das Hochladen neuer Dateien" +msgid "Allows users to upload new files, create new folders and copy existing ones. If the File Delete permission is also set, File Upload also allows moving files and folders." +msgstr "Erlaubt Nutzern das Hochladen neuer Dateien, Erstellen von Verzeichnissen und Kopieren vorhandener Dateien und Verzeichnisse. Wenn die File Delete Berechtigung ebenfalls gesetzt ist, erlaubt File Upload auch das Verschieben von Dateien und Verzeichnissen." -#: src/octoprint/access/permissions.py:310 -msgid "" -"Allows users to download files. The GCODE viewer is affected by this as " -"well." -msgstr "" -"Erlaubt das Herunterladen von Dateien. Der GCODE viewer benötigt dieses " -"Recht." +#: src/octoprint/access/permissions.py:312 +msgid "Allows users to download files. The GCODE viewer is affected by this as well." +msgstr "Erlaubt das Herunterladen von Dateien. Der GCODE viewer benötigt dieses Recht." -#: src/octoprint/access/permissions.py:315 -msgid "Allows users to delete files" -msgstr "Erlaubt Nutzern, Dateien zu löschen" +#: src/octoprint/access/permissions.py:317 +msgid "Allows users to delete files and folders. If the File Upload permission is also set, File Delete also allows moving files and folders." +msgstr "Erlaubt Nutzern das Löschen von Dateien und Verzeichnissen. Falls die File Upload Berechtigung ebenfalls gesetzt ist, erlaubt File Delete auch das Verschieben von Dateien und Verzeichnissen." -#: src/octoprint/access/permissions.py:319 +#: src/octoprint/access/permissions.py:322 msgid "Allows to select a file for printing" msgstr "Erlaubt die Auswahl einer Datei zum Drucken" -#: src/octoprint/access/permissions.py:324 +#: src/octoprint/access/permissions.py:327 msgid "Allows to start, pause and cancel a print job" msgstr "Erlaubt das starten, pausieren und abbrechen eines Druckauftrags" -#: src/octoprint/access/permissions.py:329 -msgid "" -"Allows access to the GCODE viewer if the \"File Download\"permission is " -"also set." -msgstr "" -"Erlaubt den Zugriff auf den GCODE viewer falls die \"File Download\" " -"Berechtigung ebenfalls gesetzt ist." +#: src/octoprint/access/permissions.py:332 +msgid "Allows access to the GCODE viewer if the \"File Download\"permission is also set." +msgstr "Erlaubt den Zugriff auf den GCODE viewer falls die \"File Download\" Berechtigung ebenfalls gesetzt ist." -#: src/octoprint/access/permissions.py:335 -msgid "" -"Allows to watch the terminal tab but not to send commands to the printer " -"from it" -msgstr "" -"Erlaubt lesenden Zugriff auf das Terminal Tab. Das Senden von Befehlen " -"zum Drucker ist nicht gestattet." +#: src/octoprint/access/permissions.py:338 +msgid "Allows to watch the terminal tab but not to send commands to the printer from it" +msgstr "Erlaubt lesenden Zugriff auf das Terminal Tab. Das Senden von Befehlen zum Drucker ist nicht gestattet" -#: src/octoprint/access/permissions.py:341 -msgid "" -"Allows to control of the printer by using the temperature controls,the " -"control tab or sending commands through the terminal." -msgstr "" -"Erlaubt vollen Zugriff auf den Drucker, inkl. Temperatur, Steuerung oder " -"Senden individueller Befehle über das Terminal." +#: src/octoprint/access/permissions.py:344 +msgid "Allows to control of the printer by using the temperature controls,the control tab or sending commands through the terminal." +msgstr "Erlaubt vollen Zugriff auf den Drucker, inkl. Temperatur, Steuerung oder Senden individueller Befehle über das Terminal." -#: src/octoprint/access/permissions.py:347 +#: src/octoprint/access/permissions.py:350 msgid "Allows to slice files" msgstr "Erlaubt das Slicen von Dateien" -#: src/octoprint/access/permissions.py:352 +#: src/octoprint/access/permissions.py:355 msgid "Allows to list timelapse videos" msgstr "Erlaubt die Auflistung von Zeitrafferaufnahmen" -#: src/octoprint/access/permissions.py:356 +#: src/octoprint/access/permissions.py:359 msgid "Allows to download timelapse videos" msgstr "Erlaubt das Herunterladen von Zeitrafferaufnahmen" -#: src/octoprint/access/permissions.py:360 +#: src/octoprint/access/permissions.py:363 msgid "Allows to delete timelapse videos and unrendered timelapses" msgstr "Erlaubt das Löschen von Zeitrafferaufnahmen und ungerenderten Zeitraffern" -#: src/octoprint/access/permissions.py:364 -msgid "" -"Allows to change the timelapse settings and delete or render unrendered " -"timelapses. Includes the \"Timelapse List\",\"Timelapse Delete\" and " -"\"Timelapse Download\" permissions" -msgstr "" -"Erlaubt die Änderung von Zeitraffereinstellungen sowie das Löschen oder " -"Rendern unprozessierter Zeitrafferaufnahmen." +#: src/octoprint/access/permissions.py:367 +msgid "Allows to change the timelapse settings and delete or render unrendered timelapses. Includes the \"Timelapse List\",\"Timelapse Delete\" and \"Timelapse Download\" permissions" +msgstr "Erlaubt die Änderung von Zeitraffereinstellungen sowie das Löschen oder Rendern unprozessierter Zeitrafferaufnahmen" -#: src/octoprint/access/permissions.py:371 -msgid "" -"Allows to read non sensitive settings. Mandatory for the default UI to " -"work." -msgstr "" -"Erlaubt lesenden Zugriff auf allgemeine Einstellungen (jedoch keine " -"kritischen). Obligatorisch für die korrekte Funktion des Userinterfaces." +#: src/octoprint/access/permissions.py:374 +msgid "Allows to read non sensitive settings. Mandatory for the default UI to work." +msgstr "Erlaubt lesenden Zugriff auf allgemeine Einstellungen (jedoch keine kritischen). Obligatorisch für die korrekte Funktion des Userinterfaces." -#: src/octoprint/access/permissions.py:376 +#: src/octoprint/access/permissions.py:379 msgid "Allows to manage settings and also to read sensitive settings" msgstr "Erlaubt vollen Zugriff auf alle Einstellungen" @@ -151,26 +113,20 @@ msgstr "Erlaubt das Löschen von Druckerbenachrichtigungen" #: src/octoprint/plugins/action_command_notification/__init__.py:84 #: src/octoprint/plugins/action_command_notification/__init__.py:87 -#, fuzzy msgid "Printer Notifications" msgstr "Druckerbenachrichtigungen" #: src/octoprint/plugins/action_command_notification/__init__.py:120 -msgid "" -"Without this plugin your printer will no longer be able to trigger " -"notifications in OctoPrint" -msgstr "" -"Ohne dieses Plugin wird dein Drucker nicht mehr in der Lage sein, " -"Benachrichtigungen in OctoPrint anzuzeigen" +msgid "Without this plugin your printer will no longer be able to trigger notifications in OctoPrint" +msgstr "Ohne dieses Plugin wird dein Drucker nicht mehr in der Lage sein, Benachrichtigungen in OctoPrint anzuzeigen" #: src/octoprint/plugins/action_command_notification/static/js/action_command_notification.js:46 msgid "Printer Notification" msgstr "Druckerbenachrichtigungen" #: src/octoprint/plugins/action_command_notification/templates/action_command_notification_settings.jinja2:1 -#, fuzzy msgid "Action Command Notification Settings" -msgstr "Action Command Prompt Einstellungen" +msgstr "Action Command Notification Einstellungen" #: src/octoprint/plugins/action_command_notification/templates/action_command_notification_settings.jinja2:7 #: src/octoprint/plugins/errortracking/static/js/errortracking.js:59 @@ -182,12 +138,8 @@ msgid "Enable popups" msgstr "Popups aktivieren" #: src/octoprint/plugins/action_command_notification/templates/action_command_notification_settings.jinja2:15 -msgid "" -"Check this if you want notifications to also show up as popups in " -"addition to the notification list in the sidebar" -msgstr "" -"Aktiviere das, wenn du Benachrichtigungen zusätzlich zur Anzeige in der " -"Sidebar auch als Popup angezeigt bekommen möchtest" +msgid "Check this if you want notifications to also show up as popups in addition to the notification list in the sidebar" +msgstr "Aktiviere das, wenn du Benachrichtigungen zusätzlich zur Anzeige in der Sidebar auch als Popup angezeigt bekommen möchtest" #: src/octoprint/plugins/action_command_notification/templates/action_command_notification_sidebar.jinja2:8 msgid "Clear notifications" @@ -206,12 +158,8 @@ msgid "Printer Dialogs" msgstr "Printerdialoge" #: src/octoprint/plugins/action_command_prompt/__init__.py:233 -msgid "" -"Without this plugin your printer will no longer be able to trigger " -"confirmation or selection prompts in OctoPrint" -msgstr "" -"Ohne dieses Plugin wird dein Drucker nicht mehr in der Lage sein, " -"Bestätigungs- oder Auswahldialoge in OctoPrint auszulösen" +msgid "Without this plugin your printer will no longer be able to trigger confirmation or selection prompts in OctoPrint" +msgstr "Ohne dieses Plugin wird dein Drucker nicht mehr in der Lage sein, Bestätigungs- oder Auswahldialoge in OctoPrint auszulösen" #: src/octoprint/plugins/action_command_prompt/static/js/action_command_prompt.js:43 #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_navbar.jinja2:1 @@ -227,35 +175,31 @@ msgid "Enable support" msgstr "Unterstützung aktivieren" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:8 -msgid "" -"If detected as supported by the firmware (PROMPT_SUPPORT " -"capability)" -msgstr "" -"Falls Unterstützung durch Firmware erkannt (PROMPT_SUPPORT " -"Capability)" +msgid "If detected as supported by the firmware (PROMPT_SUPPORT capability)" +msgstr "Falls Unterstützung durch Firmware erkannt (PROMPT_SUPPORT Capability)" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:11 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:58 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:289 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:343 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:72 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:303 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:357 msgid "Always" msgstr "Immer" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:14 #: src/octoprint/templates/dialogs/settings/features.jinja2:70 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:65 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:292 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:346 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:79 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:306 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:360 msgid "Never" msgstr "Nie" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:19 #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:16 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:294 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:88 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:181 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:298 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:385 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:327 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:105 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:195 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:312 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:399 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:10 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:25 #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklist.jinja2:5 @@ -269,44 +213,24 @@ msgid "Dialog command" msgstr "Dialog-Befehl" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:25 -msgid "" -"Use this to define the dialog command. Default is M876. You " -"normally should not have to change this." -msgstr "" -"Benutze dies um den Dialogbefehl zu konfigurieren. Der Standardwert ist " -"M876. Du solltest das normalerweise nicht ändern müssen." +msgid "Use this to define the dialog command. Default is M876. You normally should not have to change this." +msgstr "Benutze dies um den Dialogbefehl zu konfigurieren. Der Standardwert ist M876. Du solltest das normalerweise nicht ändern müssen." #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:31 -msgid "" -"Enable force sending of the configured command to bypass blocking " -"firmware routines if detected as supported. You normally should not have " -"to change this." -msgstr "" -"Senden des konfigurierten Befehls forcieren um blockende Firmwareroutinen" -" zu umgehen, falls Unterstützung erkannt. Du solltest das normalerweise " -"nicht ändern müssen." +msgid "Enable force sending of the configured command to bypass blocking firmware routines if detected as supported. You normally should not have to change this." +msgstr "Senden des konfigurierten Befehls forcieren um blockende Firmwareroutinen zu umgehen, falls Unterstützung erkannt. Du solltest das normalerweise nicht ändern müssen." #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:38 -msgid "" -"Enable signaling to the firmware that we support prompt_* " -"actions if detected as supported. You normally should not have to change " -"this." -msgstr "" -"Der Firmware signalisieren, dass wir prompt_* Aktionen " -"unterstützen, falls Firmwareunterstützung erkannt wird. Du solltest das " -"normalerweise nicht ändern müssen." +msgid "Enable signaling to the firmware that we support prompt_* actions if detected as supported. You normally should not have to change this." +msgstr "Der Firmware signalisieren, dass wir prompt_* Aktionen unterstützen, falls Firmwareunterstützung erkannt wird. Du solltest das normalerweise nicht ändern müssen." #: src/octoprint/plugins/announcements/__init__.py:55 msgid "Allows to read announcements" msgstr "EJrlaubt das Lesen von Ankündigungen" #: src/octoprint/plugins/announcements/__init__.py:60 -msgid "" -"Allows to manage announcement subscriptions. Includes \"Read " -"announcements\" permission" -msgstr "" -"Erlaubt die Verwaltung von Ankündigungen. Beinhaltet die \"Read " -"announcements\" Berechtigung" +msgid "Allows to manage announcement subscriptions. Includes \"Read announcements\" permission" +msgstr "Erlaubt die Verwaltung von Ankündigungen. Beinhaltet die \"Read announcements\" Berechtigung" #: src/octoprint/plugins/announcements/__init__.py:151 #: src/octoprint/plugins/announcements/templates/announcements.jinja2:4 @@ -315,12 +239,8 @@ msgid "Announcements" msgstr "Ankündigungen" #: src/octoprint/plugins/announcements/__init__.py:536 -msgid "" -"Without this plugin you might miss important announcements regarding " -"security or other critical issues concerning OctoPrint." -msgstr "" -"Ohne dieses Plugin könntest du wichtige Benachrichtigung hinsichtlich " -"Security oder kritischer Fehler in OctoPrint verpassen." +msgid "Without this plugin you might miss important announcements regarding security or other critical issues concerning OctoPrint." +msgstr "Ohne dieses Plugin könntest du wichtige Benachrichtigung hinsichtlich Security oder kritischer Fehler in OctoPrint verpassen." #: src/octoprint/plugins/announcements/static/js/announcements.js:51 msgid "Cannot be toggled" @@ -335,21 +255,17 @@ msgid "Enable Channel" msgstr "Kanal aktivieren" #: src/octoprint/plugins/announcements/static/js/announcements.js:267 -msgid "" -"You can edit your announcement subscriptions under Settings > " -"Announcements." -msgstr "" -"Du kannst deine Benachrichtigungsabonnements unter Einstellungen > " -"Benachrichtigungen konfigurieren." +msgid "You can edit your announcement subscriptions under Settings > Announcements." +msgstr "Du kannst deine Benachrichtigungsabonnements unter Einstellungen > Benachrichtigungen konfigurieren." #: src/octoprint/plugins/announcements/static/js/announcements.js:276 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1085 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1133 #: src/octoprint/static/js/app/viewmodels/loginstate.js:117 msgid "Later" msgstr "Später" #: src/octoprint/plugins/announcements/static/js/announcements.js:282 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1092 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1140 msgid "Mark read" msgstr "Gelesen" @@ -362,12 +278,13 @@ msgid "Mark as last read" msgstr "Zuletzt gelesen" #: src/octoprint/plugins/announcements/templates/announcements.jinja2:44 +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:36 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:115 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:187 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:309 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:144 -#: src/octoprint/static/js/app/helpers.js:682 -#: src/octoprint/static/js/app/helpers.js:974 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:197 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:343 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:171 +#: src/octoprint/static/js/app/helpers.js:691 +#: src/octoprint/static/js/app/helpers.js:983 #: src/octoprint/templates/dialogs/about.jinja2:51 #: src/octoprint/templates/dialogs/settings.jinja2:52 #: src/octoprint/templates/dialogs/settings/appearance.jinja2:131 @@ -382,7 +299,7 @@ msgstr "Konfigurierte Kanäle" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:37 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:29 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:69 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:80 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:88 #: src/octoprint/templates/dialogs/settings/terminalfilters.jinja2:3 #: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:5 #: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:73 @@ -395,8 +312,8 @@ msgid "Name" msgstr "Name" #: src/octoprint/plugins/announcements/templates/announcements_settings.jinja2:7 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:81 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:155 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:89 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:165 msgid "Actions" msgstr "Aktionen" @@ -413,80 +330,117 @@ msgstr "Erlaubt die Administration aller Applicationkeys" msgid "Application Keys" msgstr "Application Keys" -#: src/octoprint/plugins/appkeys/__init__.py:438 -msgid "" -"Without this plugin third party clients will no longer be able to obtain " -"an API key without you manually copy-pasting it." -msgstr "" -"Ohne dieses Plugin können Third Party Clients keine API Keys mehr " -"erlangen, ohne dass du sie manuell übertragen musst." +#: src/octoprint/plugins/appkeys/__init__.py:443 +msgid "Without this plugin third party clients will no longer be able to obtain an API key without you manually copy-pasting it." +msgstr "Ohne dieses Plugin können Third Party Clients keine API Keys mehr erlangen, ohne dass du sie manuell übertragen musst." -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:55 -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:213 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:97 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:276 #, python-format msgid "You are about to revoke the application key \"%(key)s\"." msgstr "Du bist im Begriff, den Application Key \"%(key)s\" zu löschen." -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:70 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:112 #, python-format -msgid "" -"\"%(app)s\" has requested access to control OctoPrint " -"through the API." -msgstr "" -"\"%(app)s\" möchte Zugriff auf OctoPrint über die API " -"haben." +msgid "\"%(app)s\" has requested access to control OctoPrint through the API." +msgstr "\"%(app)s\" möchte Zugriff auf OctoPrint über die API haben." -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:72 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:114 msgid "Do you want to allow access to this application with your user account?" msgstr "Möchtest du dieser Applikation Zugriff mit deinem Nutzerkonto erlauben?" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:74 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:116 msgid "Access Request" msgstr "Zugriffsanfrage" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:81 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:123 msgid "Allow" msgstr "Erlauben" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:87 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:129 msgid "Deny" msgstr "Ablehnen" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:225 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:266 +msgid "New key generated!" +msgstr "Neuer Key erstellt!" + +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:288 #, python-format msgid "You are about to revoke %(count)d application keys." msgstr "Du bist im Begriff, %(count)d Application Keys zu löschen." -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:256 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:319 msgid "Revoking application keys" msgstr "Lösche Application Keys" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:257 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:320 #, python-format msgid "Revoking %(count)d application keys..." msgstr "Lösche %(count)d Application Keys..." -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:261 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:324 #, python-format msgid "Revoked %(key)s..." msgstr "%(key)s gelöscht..." -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:264 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:327 #, python-format msgid "Revocation of %(key)s failed, continuing..." msgstr "Löschen von %(key)s fehlgeschlagen, fahre fort..." -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:265 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:328 #, python-format msgid "Deletion of %(key)s failed: %(error)s" msgstr "Löschen von %(key)s fehlgeschlagen: %(error)s" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:2 +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:9 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:36 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:66 +#: src/octoprint/templates/sidebar/state.jinja2:6 +msgid "User" +msgstr "Nutzer" + +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:15 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:37 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:72 +#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:10 +#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:38 +msgid "Application identifier" +msgstr "Applikationsidentifier" + +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:21 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:45 +#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:16 +#: src/octoprint/templates/dialogs/usersettings/access.jinja2:22 +#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:24 +msgid "API Key" +msgstr "API Key" + +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:24 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:45 +#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:16 +#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:25 +msgid "Copy API Key to clipboard" +msgstr "API Key in die Zwischenablage kopieren" + +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:28 +#: src/octoprint/templates/dialogs/settings/api.jinja2:37 +#: src/octoprint/templates/dialogs/usersettings/access.jinja2:36 +msgid "QR Code" +msgstr "QR Code" + +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:1 +#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:1 +msgid "Registered application keys" +msgstr "Registrierte Application Keys" + +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:4 #: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:4 msgid "There are no application keys registered yet." msgstr "Es sind noch keine Application Keys registriert." -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:9 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:11 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:25 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:17 #: src/octoprint/templates/tabs/timelapse.jinja2:129 @@ -494,7 +448,7 @@ msgstr "Es sind noch keine Application Keys registriert." msgid "Select all on this page" msgstr "Alles auf dieser Seite auswählen" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:10 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:12 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:26 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:18 #: src/octoprint/templates/tabs/timelapse.jinja2:130 @@ -502,15 +456,15 @@ msgstr "Alles auf dieser Seite auswählen" msgid "Select all" msgstr "Alles auswählen" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:13 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:15 msgid "Select all by user..." msgstr "Alle von Nutzer wählen..." -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:19 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:21 msgid "Select all by app..." msgstr "Alle von Applikation auswählen..." -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:25 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:27 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:28 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:20 #: src/octoprint/templates/tabs/timelapse.jinja2:132 @@ -518,22 +472,11 @@ msgstr "Alle von Applikation auswählen..." msgid "Clear selection" msgstr "Auswahl aufheben" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:28 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:30 msgid "Revoke selected" msgstr "Ausgewählte löschen" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:34 -#: src/octoprint/templates/sidebar/state.jinja2:6 -msgid "User" -msgstr "Nutzer" - -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:35 -#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:10 -#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:38 -msgid "Application identifier" -msgstr "Applikationsidentifier" - -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:36 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:38 #: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:11 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:40 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:32 @@ -545,29 +488,19 @@ msgstr "Applikationsidentifier" msgid "Action" msgstr "Aktion" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:43 -#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:16 -#: src/octoprint/templates/dialogs/settings/api.jinja2:10 -#: src/octoprint/templates/dialogs/usersettings/access.jinja2:22 -#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:24 -msgid "API Key" -msgstr "API Key" - -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:43 -#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:16 -#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:25 -msgid "Copy API Key to clipboard" -msgstr "API Key in die Zwischenablage kopieren" - -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:44 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:46 #: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:17 msgid "Revoke" msgstr "Löschen" -#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:1 -msgid "Registered application keys" -msgstr "Registrierte Application Keys" +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:46 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:260 +#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:6 +#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:5 +msgid "Details" +msgstr "Details" +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:62 #: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:34 msgid "Manually generate an application key" msgstr "Generiere einen Application Key manuell" @@ -588,13 +521,9 @@ msgstr "Sicherung & Wiederherstellung" msgid "Restore Backup?" msgstr "Sicherung wiederherstellen?" -#: src/octoprint/plugins/backup/__init__.py:999 -msgid "" -"Without this plugin you will no longer be able to backup & restore your " -"OctoPrint settings and data." -msgstr "" -"Ohne dieses Plugin kannst du deine OctoPrint Einstellung und Daten nicht " -"länger sichern & wiederherstellen." +#: src/octoprint/plugins/backup/__init__.py:1006 +msgid "Without this plugin you will no longer be able to backup & restore your OctoPrint settings and data." +msgstr "Ohne dieses Plugin kannst du deine OctoPrint Einstellung und Daten nicht länger sichern & wiederherstellen." #: src/octoprint/plugins/backup/static/js/backup.js:92 #, python-format @@ -603,27 +532,17 @@ msgstr "Du bist im Begriff, die Sicherung \"%(name)s\" zu löschen." #: src/octoprint/plugins/backup/static/js/backup.js:108 #, python-format -msgid "" -"You are about to restore the backup file \"%(name)s\". This cannot be " -"undone." +msgid "You are about to restore the backup file \"%(name)s\". This cannot be undone." msgstr "Du bist im Begriff, die Sicherung \"%(name)s\" wiederherzustellen." #: src/octoprint/plugins/backup/static/js/backup.js:124 #, python-format -msgid "" -"You are about to upload and restore the backup file \"%(name)s\". This " -"cannot be undone." -msgstr "" -"Du bist im Begriff, die Sicherung \"%(name)s\" hochzuladen und " -"wiederherzustellen. Das kann nicht rückgängig gemacht werden." +msgid "You are about to upload and restore the backup file \"%(name)s\". This cannot be undone." +msgstr "Du bist im Begriff, die Sicherung \"%(name)s\" hochzuladen und wiederherzustellen. Das kann nicht rückgängig gemacht werden." #: src/octoprint/plugins/backup/static/js/backup.js:135 -msgid "" -"You are about to delete the record of plugins unknown during the last " -"restore." -msgstr "" -"Du bist dabei, die Liste der Plugins zu löschen, die während der letzten " -"Wiederherstellung unbekannt waren." +msgid "You are about to delete the record of plugins unknown during the last restore." +msgstr "Du bist dabei, die Liste der Plugins zu löschen, die während der letzten Wiederherstellung unbekannt waren." #: src/octoprint/plugins/backup/static/js/backup.js:159 #, python-format @@ -640,12 +559,8 @@ msgstr "Backuperstellung fehlgeschlagen" #: src/octoprint/plugins/backup/static/js/backup.js:189 #, python-format -msgid "" -"OctoPrint could not create your backup. Please consult " -"octoprint.log for details. Error: %(error)s" -msgstr "" -"OctoPrint konnte dein Backup nicht erstellen. Bitte konsultiere " -"octoprint.log für Details. Fehler: %(error)s" +msgid "OctoPrint could not create your backup. Please consult octoprint.log for details. Error: %(error)s" +msgstr "OctoPrint konnte dein Backup nicht erstellen. Bitte konsultiere octoprint.log für Details. Fehler: %(error)s" #: src/octoprint/plugins/backup/static/js/backup.js:194 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:109 @@ -653,12 +568,8 @@ msgid "Restoring from backup..." msgstr "Stelle Sicherung wieder her..." #: src/octoprint/plugins/backup/static/js/backup.js:198 -msgid "" -"Restore failed! Check the above output and octoprint.log for reasons as " -"to why." -msgstr "" -"Wiederherstellung fehlgeschlagen! Prüfe die obige Ausgabe sowie " -"octoprint.log für mögliche Gründe dafür." +msgid "Restore failed! Check the above output and octoprint.log for reasons as to why." +msgstr "Wiederherstellung fehlgeschlagen! Prüfe die obige Ausgabe sowie octoprint.log für mögliche Gründe dafür." #: src/octoprint/plugins/backup/static/js/backup.js:202 msgid "Restore successful! The server will now be restarted!" @@ -671,21 +582,13 @@ msgstr "Installiere Plugin \"%(plugin)s\"..." #: src/octoprint/plugins/backup/static/js/backup.js:213 #, python-format -msgid "" -"Cannot install plugin \"%(plugin)s\" due to it being incompatible to this" -" OctoPrint version and/or underlying operating system" -msgstr "" -"Kann Plugin \"%(plugin)s\" nicht installieren, da es mit dieser OctoPrint" -" Version oder dem darunter liegenden Betriebssystem inkompatibel ist" +msgid "Cannot install plugin \"%(plugin)s\" due to it being incompatible to this OctoPrint version and/or underlying operating system" +msgstr "Kann Plugin \"%(plugin)s\" nicht installieren, da es mit dieser OctoPrint Version oder dem darunter liegenden Betriebssystem inkompatibel ist" #: src/octoprint/plugins/backup/static/js/backup.js:219 #, python-format -msgid "" -"There are %(count)d plugins you'll need to install manually since they " -"aren't registered on the repository:" -msgstr "" -"Du musst %(count)d Plugins manuell installieren, da sie nicht im " -"Repository registriert sind:" +msgid "There are %(count)d plugins you'll need to install manually since they aren't registered on the repository:" +msgstr "Du musst %(count)d Plugins manuell installieren, da sie nicht im Repository registriert sind:" #: src/octoprint/plugins/backup/static/js/backup.js:247 msgid "Deleting backups" @@ -697,7 +600,7 @@ msgid "Deleting %(count)d backups..." msgstr "Lösche %(count)d Sicherungen..." #: src/octoprint/plugins/backup/static/js/backup.js:252 -#: src/octoprint/plugins/logging/static/js/logging.js:175 +#: src/octoprint/plugins/logging/static/js/logging.js:211 #: src/octoprint/static/js/app/viewmodels/timelapse.js:366 #: src/octoprint/static/js/app/viewmodels/timelapse.js:380 #, python-format @@ -705,7 +608,7 @@ msgid "Deleted %(filename)s..." msgstr "%(filename)s gelöscht..." #: src/octoprint/plugins/backup/static/js/backup.js:255 -#: src/octoprint/plugins/logging/static/js/logging.js:178 +#: src/octoprint/plugins/logging/static/js/logging.js:214 #: src/octoprint/static/js/app/viewmodels/timelapse.js:369 #: src/octoprint/static/js/app/viewmodels/timelapse.js:383 #, python-format @@ -713,26 +616,20 @@ msgid "Deletion of %(filename)s failed, continuing..." msgstr "Löschen von %(filename)s fehlgeschlagen, fahre fort..." #: src/octoprint/plugins/backup/static/js/backup.js:256 -#: src/octoprint/plugins/logging/static/js/logging.js:179 +#: src/octoprint/plugins/logging/static/js/logging.js:215 #: src/octoprint/static/js/app/viewmodels/timelapse.js:370 #, python-format msgid "Deletion of %(filename)s failed: %(error)s" msgstr "Löschen von %(filename)s fehlgeschlagen: %(error)s" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:2 -msgid "" -"\n" -" Some plugins during the last restore could not be identified and " -"hence not automatically installed.\n" -" Please install them manually, they are listed below including their " -"stated homepages:\n" +msgid "\n" +" Some plugins during the last restore could not be identified and hence not automatically installed.\n" +" Please install them manually, they are listed below including their stated homepages:\n" " " -msgstr "" -"\n" -" Einige Plugins konnten während der letzten Wiederherstellung nicht " -"identifiziert und somit nicht automatisch installiert werden.\n" -" Bitte installiere sie manuell, sie sind nachfolgend zusammen mit " -"ihrer Homepage gelistet:\n" +msgstr "\n" +" Einige Plugins konnten während der letzten Wiederherstellung nicht identifiziert und somit nicht automatisch installiert werden.\n" +" Bitte installiere sie manuell, sie sind nachfolgend zusammen mit ihrer Homepage gelistet:\n" " " #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:9 @@ -748,13 +645,8 @@ msgid "There are no backups. Maybe create one below?" msgstr "Es gibt keine Sicherungen. Erstelle vielleicht eine weiter unten?" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:19 -msgid "" -"These are the backups of your settings and files that already exist on " -"this OctoPrint instance. You may delete, download or restore them." -msgstr "" -"Dies sind die Sicherungen deiner Einstellungen und Dateien, die bereits " -"auf dieser OctoPrint Instanz existieren. Du kannst sie löschen, " -"herunterladen oder wiederherstellen." +msgid "These are the backups of your settings and files that already exist on this OctoPrint instance. You may delete, download or restore them." +msgstr "Dies sind die Sicherungen deiner Einstellungen und Dateien, die bereits auf dieser OctoPrint Instanz existieren. Du kannst sie löschen, herunterladen oder wiederherstellen." #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:31 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:23 @@ -770,9 +662,9 @@ msgstr "Datum" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:39 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:30 -#: src/octoprint/templates/sidebar/files.jinja2:21 -#: src/octoprint/templates/sidebar/files.jinja2:36 -#: src/octoprint/templates/sidebar/files.jinja2:47 +#: src/octoprint/templates/sidebar/files.jinja2:22 +#: src/octoprint/templates/sidebar/files.jinja2:37 +#: src/octoprint/templates/sidebar/files.jinja2:49 #: src/octoprint/templates/tabs/timelapse.jinja2:142 #: src/octoprint/templates/tabs/timelapse.jinja2:189 msgid "Size" @@ -780,14 +672,14 @@ msgstr "Größe" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:49 #: src/octoprint/static/js/app/viewmodels/access.js:280 -#: src/octoprint/static/js/app/viewmodels/access.js:579 +#: src/octoprint/static/js/app/viewmodels/access.js:568 #: src/octoprint/templates/dialogs/settings/appearance.jinja2:96 msgid "Delete" msgstr "Löschen" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:49 #: src/octoprint/templates/sidebar/files.jinja2:25 -#: src/octoprint/templates/sidebar/files.jinja2:38 +#: src/octoprint/templates/sidebar/files.jinja2:39 msgid "Download" msgstr "Download" @@ -821,44 +713,29 @@ msgstr "Von einer hochgeladenen Sicherung wiederherstellen" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:97 msgid "Restore settings & files from an uploaded backup archive." -msgstr "" -"Einstellungen und Dateien von einer hochgeladenen Sicherung " -"wiederherstellen." +msgstr "Einstellungen und Dateien von einer hochgeladenen Sicherung wiederherstellen." #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:104 #, python-format -msgid "" -"Please note that the operating system that this OctoPrint server is " -"running on does not support automatically restoring backups. You will " -"have to restore your backups manually for now." -msgstr "" -"Achtung: Das Betriebssystem, auf dem diese OctoPrint Instanz läuft, " -"unterstützt nicht die automatische Wiederherstellung von Sicherungen. Bis" -" auf weiteres kannst du Sicherungen nur manuell " -"wiederherstellen." +msgid "Please note that the operating system that this OctoPrint server is running on does not support automatically restoring backups. You will have to restore your backups manually for now." +msgstr "Achtung: Das Betriebssystem, auf dem diese OctoPrint Instanz läuft, unterstützt nicht die automatische Wiederherstellung von Sicherungen. Bis auf weiteres kannst du Sicherungen nur manuell wiederherstellen." #: src/octoprint/plugins/backup/templates/backup_wizard.jinja2:1 msgid "Restore from a backup?" msgstr "Von Sicherung wiederherstellen?" #: src/octoprint/plugins/backup/templates/backup_wizard.jinja2:3 -msgid "" -"

    \n" -" If you would like to restore OctoPrint configuration from a backup " -"now is the time.\n" +msgid "

    \n" +" If you would like to restore OctoPrint configuration from a backup now is the time.\n" "

    " -msgstr "" -"

    Falls du die Einstellungen aus einer Sicherung wiederherstellen möchtest " -"kannst du das jetzt machen.

    " +msgstr "

    Falls du die Einstellungen aus einer Sicherung wiederherstellen möchtest kannst du das jetzt machen.

    " #: src/octoprint/plugins/backup/templates/snippets/plugin/backup/backup_plugin_upload_form.jinja2:3 msgid "Backup file" msgstr "Sicherungsdatei" #: src/octoprint/plugins/backup/templates/snippets/plugin/backup/backup_plugin_upload_form.jinja2:7 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:283 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:316 #: src/octoprint/templates/dialogs/settings/appearance.jinja2:118 msgid "Browse..." msgstr "Durchsuchen..." @@ -868,13 +745,8 @@ msgid "Upload & restore" msgstr "Hochladen & wiederherstellen" #: src/octoprint/plugins/corewizard/__init__.py:123 -msgid "" -"Without this plugin OctoPrint will no longer be able to perform setup " -"steps that might be required after an update." -msgstr "" -"Ohne dieses Plugin wird OctoPrint nicht mehr in der Lage sein, wichtige " -"Konfigurationsschritte durchzuführen, die ggf. nach einem Update " -"notwendig sind." +msgid "Without this plugin OctoPrint will no longer be able to perform setup steps that might be required after an update." +msgstr "Ohne dieses Plugin wird OctoPrint nicht mehr in der Lage sein, wichtige Konfigurationsschritte durchzuführen, die ggf. nach einem Update notwendig sind." #: src/octoprint/plugins/corewizard/subwizards.py:31 #: src/octoprint/plugins/corewizard/templates/corewizard_servercommands_wizard.jinja2:1 @@ -893,12 +765,10 @@ msgid "Access Control" msgstr "Zugangsbeschränkung" #: src/octoprint/plugins/corewizard/subwizards.py:110 -#, fuzzy msgid "Online Connectivity Check" msgstr "Onlineprüfung" #: src/octoprint/plugins/corewizard/subwizards.py:128 -#, fuzzy msgid "Plugin Blacklist" msgstr "Plugin Blackliste" @@ -907,132 +777,78 @@ msgid "Default Printer Profile" msgstr "Default Druckerprofil" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:45 -msgid "" -"If you disable Access Control and your OctoPrint " -"installation is accessible from the internet, your printer will " -"be accessible by everyone - that also includes the bad guys!" -msgstr "" -"Wenn Du die Zugangsbeschränkung deaktivierst und Deine " -"OctoPrint Installation vom Internet aus erreichbar ist, kann " -"jeder auf Deinen Drucker zugreifen - auch die bösen " -"Jungs!" +msgid "If you disable Access Control and your OctoPrint installation is accessible from the internet, your printer will be accessible by everyone - that also includes the bad guys!" +msgstr "Wenn Du die Zugangsbeschränkung deaktivierst und Deine OctoPrint Installation vom Internet aus erreichbar ist, kann jeder auf Deinen Drucker zugreifen - auch die bösen Jungs!" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:83 msgid "Please set up Access Control" msgstr "Bitte konfiguriere die Zugangsbeschränkung" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:84 -msgid "" -"You haven't yet set up access control. You need to either setup a " -"username and password and click \"Keep Access Control Enabled\" or click " -"\"Disable Access Control\" before continuing" -msgstr "" -"Du hast noch keine Zugriffsbeschränkung konfiguriert. Du musst entweder " -"einen Nutzernamen und ein Passwort festlegen und auf " -"\"Zugriffsbeschränkung aktivieren\" klicken oder auf " -"\"Zugriffsbeschränkung deaktivieren\" klicken bevor du fortfahren kannst" +msgid "You haven't yet set up access control. You need to either setup a username and password and click \"Keep Access Control Enabled\" or click \"Disable Access Control\" before continuing" +msgstr "Du hast noch keine Zugriffsbeschränkung konfiguriert. Du musst entweder einen Nutzernamen und ein Passwort festlegen und auf \"Zugriffsbeschränkung aktivieren\" klicken oder auf \"Zugriffsbeschränkung deaktivieren\" klicken bevor du fortfahren kannst" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:179 msgid "Please set up the online connectivity check" msgstr "Bitte konfiguriere die Onlineprüfung" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:180 -msgid "" -"You haven't yet decided on whether to enable or disable the online " -"connectivity check. You need to either enable or disable it before " -"continuing." -msgstr "" -"Du hast noch nicht entschieden, ob die Onlineprüfung aktiviert werden " -"soll. Du musst sie entweder aktivieren oder deaktivieren bevor du " -"fortfahren kannst." +msgid "You haven't yet decided on whether to enable or disable the online connectivity check. You need to either enable or disable it before continuing." +msgstr "Du hast noch nicht entschieden, ob die Onlineprüfung aktiviert werden soll. Du musst sie entweder aktivieren oder deaktivieren bevor du fortfahren kannst." #: src/octoprint/plugins/corewizard/static/js/corewizard.js:257 msgid "Please set up the plugin blacklist processing" msgstr "Bitte konfiguriere die Plugin Blackliste" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:258 -msgid "" -"You haven't yet decided on whether to enable or disable the plugin " -"blacklist processing. You need to either enable or disable it before " -"continuing." -msgstr "" -"Du hast noch nicht entschieden, ob die Plugin Blackliste aktiviert werden" -" soll. Du musst sie entweder aktivieren oder deaktivieren bevor du " -"fortfahren kannst." +msgid "You haven't yet decided on whether to enable or disable the plugin blacklist processing. You need to either enable or disable it before continuing." +msgstr "Du hast noch nicht entschieden, ob die Plugin Blackliste aktiviert werden soll. Du musst sie entweder aktivieren oder deaktivieren bevor du fortfahren kannst." #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:3 #, python-format -msgid "" -"

    \n" -" Please read the following, it is very important for your " -"printer's health!\n" +msgid "

    \n" +" Please read the following, it is very important for your printer's health!\n" "

    \n" "

    \n" -" OctoPrint by default ships with Access Control enabled, meaning you " -"won't be able to do anything with the\n" -" printer unless you login first as a configured user. This is to " -"prevent strangers - possibly with\n" -" malicious intent - to gain access to your printer via an " -"untrustworthy network\n" -" and using it in such a way that it is damaged or worse (i.e. causes a" -" fire).\n" +" OctoPrint by default ships with Access Control enabled, meaning you won't be able to do anything with the\n" +" printer unless you login first as a configured user. This is to prevent strangers - possibly with\n" +" malicious intent - to gain access to your printer via an untrustworthy network\n" +" and using it in such a way that it is damaged or worse (i.e. causes a fire).\n" "

    \n" "

    \n" -" If you plan on accessing OctoPrint remotely over the internet, " -"you should not only rely on the built-in\n" +" If you plan on accessing OctoPrint remotely over the internet, you should not only rely on the built-in\n" " Access Control mechanisms however -\n" -" take additional precautions.\n" -" Your OctoPrint enabled printer is a critical home appliance you " -"really should not give anyone who happens to be\n" -" connected to the internet access to - even read-only! An " -"instance available publicly on the internet\n" +" take additional precautions.\n" +" Your OctoPrint enabled printer is a critical home appliance you really should not give anyone who happens to be\n" +" connected to the internet access to - even read-only! An instance available publicly on the internet\n" " will be found, and people will try to break it open.\n" "

    \n" "

    \n" -" It looks like you haven't configured access control yet. Please " -"set up a username and password for the\n" -" initial administrator account who will have full access to both the " -"printer and OctoPrint's settings, then click\n" +" It looks like you haven't configured access control yet. Please set up a username and password for the\n" +" initial administrator account who will have full access to both the printer and OctoPrint's settings, then click\n" " on \"Keep Access Control Enabled\":\n" "

    " -msgstr "" -"

    \n" -" Bitte lies die folgenden Zeilen aufmerksam durch, es ist sehr" -" wichtig für die Gesundheit Deines Druckers!\n" +msgstr "

    \n" +" Bitte lies die folgenden Zeilen aufmerksam durch, es ist sehr wichtig für die Gesundheit Deines Druckers!\n" "

    \n" "

    \n" -" OctoPrint wird standardmäßig mit aktivierter Zugangsbeschränkung " -"ausgeliefert, das heißt, dass Du mit dem Drucker nichts\n" -" anfangen kannst, wenn du nicht als einer der konfigurierten Nutzer " -"eingeloggt bist. Das dient dem Zweck, Fremde mit\n" -" möglicherweise böswilligen Absichten davon abzuhalten, auf " -"Deinen Drucker über ein\n" -" unsicheres Netzwerk zuzugreifen und ihn auf eine Art zu nutzen, die " -"ihn beschädigt oder schlimmeres (z.B. ein Feuer verursacht).\n" +" OctoPrint wird standardmäßig mit aktivierter Zugangsbeschränkung ausgeliefert, das heißt, dass Du mit dem Drucker nichts\n" +" anfangen kannst, wenn du nicht als einer der konfigurierten Nutzer eingeloggt bist. Das dient dem Zweck, Fremde mit\n" +" möglicherweise böswilligen Absichten davon abzuhalten, auf Deinen Drucker über ein\n" +" unsicheres Netzwerk zuzugreifen und ihn auf eine Art zu nutzen, die ihn beschädigt oder schlimmeres (z.B. ein Feuer verursacht).\n" "

    \n" "

    \n" -" Falls du vor hast, auf OctoPrint über das Internet zuzugreifen, " -"solltest du dich nicht nur auf die eingebaute " -"Zugriffsbeschränkung<\n" +" Falls du vor hast, auf OctoPrint über das Internet zuzugreifen, solltest du dich nicht nur auf die eingebaute Zugriffsbeschränkung<\n" ">\n" -" verlassen - triff weitere " -"Maßnahmen.\n" -" Dein mit OctoPrint erweiterter Drucker ist ein kritisches " -"Haushaltsgerät, auf das du wirklich nicht jedem, der Zugriff auf das " -"Internet hat, auch\n" -" nur einen reinen Lesezugriff geben solltest! Eine Instanz, " -"die öffentlich über das Internet erreichbar ist, wird gefunden werden, \n" +" verlassen - triff weitere Maßnahmen.\n" +" Dein mit OctoPrint erweiterter Drucker ist ein kritisches Haushaltsgerät, auf das du wirklich nicht jedem, der Zugriff auf das Internet hat, auch\n" +" nur einen reinen Lesezugriff geben solltest! Eine Instanz, die öffentlich über das Internet erreichbar ist, wird gefunden werden, \n" " und Menschen werden versuchen, in sie einzubrechen.\n" "

    \n" "

    \n" -" Es sieht so aus, als hättest Du die Zugriffsbeschränkung noch nicht " -"konfiguriert. Bitte konfiguriere einen Usernamen\n" -" und ein Passwort für das initiale Administratorkonto, das " -"vollen Zugang zu sowohl dem Drucker als auch OctoPrints\n" -" Einstellungen haben wird, und klicke dann auf \"Zugangsbeschränkung " -"aktivieren\".\n" +" Es sieht so aus, als hättest Du die Zugriffsbeschränkung noch nicht konfiguriert. Bitte konfiguriere einen Usernamen\n" +" und ein Passwort für das initiale Administratorkonto, das vollen Zugang zu sowohl dem Drucker als auch OctoPrints\n" +" Einstellungen haben wird, und klicke dann auf \"Zugangsbeschränkung aktivieren\".\n" "

    " #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:27 @@ -1064,32 +880,22 @@ msgid "Passwords do not match" msgstr "Passwörter nicht identisch" #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:46 -msgid "" -"

    \n" -" Note: In case that your OctoPrint installation is " -"only accessible from within a trustworthy local network and you don't\n" -" need Access Control for other reasons, you may alternatively disable " -"Access Control. You should only\n" -" do this if you are absolutely certain that only people you know and " -"trust will be able to connect to it.\n" +msgid "

    \n" +" Note: In case that your OctoPrint installation is only accessible from within a trustworthy local network and you don't\n" +" need Access Control for other reasons, you may alternatively disable Access Control. You should only\n" +" do this if you are absolutely certain that only people you know and trust will be able to connect to it.\n" "

    \n" "

    \n" -" Do NOT underestimate the risk of access from the internet to " -"your printer and OctoPrint instance!\n" +" Do NOT underestimate the risk of access from the internet to your printer and OctoPrint instance!\n" "

    " -msgstr "" -"

    \n" -" Beachte: Falls Deine OctoPrint Installation " -"ausschließlich innerhalb eines vertrauenswürdigen Netzwerks\n" -" erreicht werden kann und Du die Zugangsbeschränkung nicht für andere " -"Zwecke benötigst, kannst Du sie alternativ auch\n" -" deaktivieren. Du solltest das nur tun, wenn Du Dir absolut sicher " -"bist, dass nur Leute darauf zugreifen können, die du kennst\n" +msgstr "

    \n" +" Beachte: Falls Deine OctoPrint Installation ausschließlich innerhalb eines vertrauenswürdigen Netzwerks\n" +" erreicht werden kann und Du die Zugangsbeschränkung nicht für andere Zwecke benötigst, kannst Du sie alternativ auch\n" +" deaktivieren. Du solltest das nur tun, wenn Du Dir absolut sicher bist, dass nur Leute darauf zugreifen können, die du kennst\n" " und denen du vertraust\n" "

    \n" "

    \n" -" UNTERSCHÄTZE NICHT das Risiko eines ungesicherten Zugriffs " -"aus dem Internet auf Deinen Drucker!\n" +" UNTERSCHÄTZE NICHT das Risiko eines ungesicherten Zugriffs aus dem Internet auf Deinen Drucker!\n" "

    " #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:56 @@ -1101,27 +907,19 @@ msgid "Keep Access Control Enabled" msgstr "Zugangsbeschränkung aktiviert lassen" #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:61 -msgid "" -"\n" -" Access control is enabled.\n" +msgid "\n" +" Access control is enabled.\n" " " -msgstr "" -"\n" -" Zugriffsbeschränkung aktiviert.\n" +msgstr "\n" +" Zugriffsbeschränkung aktiviert.\n" " " #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:64 -msgid "" -"\n" -" Access control is disabled.\n" +msgid "\n" +" Access control is disabled.\n" " " -msgstr "" -"\n" -" Zugriffsbeschränkung deaktiviert.\n" +msgstr "\n" +" Zugriffsbeschränkung deaktiviert.\n" " " #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:1 @@ -1129,86 +927,66 @@ msgid "Configure the connectivity check" msgstr "Konfiguriere die Onlineprüfung" #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:5 -msgid "" -"\n" -" If it is disabled OctoPrint will always assume to have a working " -"connection to the internet.\n" -" If that should not actually be the case, server startups, update " -"checks and the like might take longer.\n" -msgstr "" -"\n" -" Falls der Onlineverbindungscheck deaktiviert ist, wird OctoPrint " -"stets annehmen, mit dem Internet verbunden zu sein.\n" -" Ist das nicht tatsächlich der Fall so können Serverstartups, " -"Updatechecks und dergleichen länger dauern.\n" +msgid "\n" +" If it is disabled OctoPrint will always assume to have a working connection to the internet.\n" +" If that should not actually be the case, server startups, update checks and the like might take longer.\n" +msgstr "\n" +" Falls der Onlineverbindungscheck deaktiviert ist, wird OctoPrint stets annehmen, mit dem Internet verbunden zu sein.\n" +" Ist das nicht tatsächlich der Fall so können Serverstartups, Updatechecks und dergleichen länger dauern.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:10 -msgid "" -"\n" -" OctoPrint comes preconfigured to perform the connectivity check every" -" 15 minutes. You may change the value here.\n" -msgstr "" -"\n" -" OctoPrint führt die Onlineprüfung standardmäßig alle 15 Minuten " -"durch. Du kannst diesen Wert hier ändern.\n" +msgid "\n" +" OctoPrint comes preconfigured to perform the connectivity check every 15 minutes. You may change the value here.\n" +msgstr "\n" +" OctoPrint führt die Onlineprüfung standardmäßig alle 15 Minuten durch. Du kannst diesen Wert hier ändern.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:18 -msgid "" -"\n" -" OctoPrint comes preconfigured to utilize Google's DNS server " -"8.8.8.8, port 53 for the connectivity check (if\n" -" it's enabled). If you have concerns about using that, define the IP " -"and port of a different online server that you\n" +msgid "\n" +" OctoPrint comes preconfigured to utilize Google's DNS server 8.8.8.8, port 53 for the connectivity check (if\n" +" it's enabled). If you have concerns about using that, define the IP and port of a different online server that you\n" " trust and that has a high availability.\n" -msgstr "" -"\n" -" OctoPrint nutzt standardmäßig Googles DNS server 8.8.8.8" -" auf Port 53 für die Onlineprüfung (wenn diese aktiviert ist).\n" -" Falls du diesbezüglich Bedenken hast, konfiguriere IP und Port eines " -"anderen Servers im Netz dem du vertraust und der hoch verfügbar ist.\n" +msgstr "\n" +" OctoPrint nutzt standardmäßig Googles DNS server 8.8.8.8 auf Port 53 für die Onlineprüfung (wenn diese aktiviert ist).\n" +" Falls du diesbezüglich Bedenken hast, konfiguriere IP und Port eines anderen Servers im Netz dem du vertraust und der hoch verfügbar ist.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:30 -msgid "" -"\n" -" Finally, please decide on whether to enable or disable the " -"connectivity check. You may change the configuration at\n" -" any time through Settings > Server right from within OctoPrint.\n" -msgstr "" -"\n" -" Zum Schluss entscheide noch, ob die Onlineprüfung aktiviert oder " -"deaktiviert werden soll. \n" -" Du kannst diese Entscheidung auch jederzeit unter Einstellungen > " -"Server später noch ändern.\n" +msgid "\n" +" If you also want to check if name resolution works (strongly recommended), define a host name\n" +" to check name resolution against. If you don't know what to set here, the default value\n" +" (OctoPrint's domain) should work. If you don't want to perform regular resolution checks along\n" +" side with the general connectivity check, leave the field empty.\n" +msgstr "Falls du auch Überprüfen willst, ob die Namensauflösung funktioniert (sehr empfehlenswert), definiere einen Hostnamen gegen den die Auflösung geprüft werden soll. Falls du nicht weißt, was du hier eintragen sollst, sollte der Defaultwert (OctoPrints Domain) funktionieren. Falls du keine regelmäßigen Prüfungen der Namensauflösung zusammen mit der generellen Konnektivitätsprüfung vornehmen willst, dann lass das Feld leer.\n" -#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:36 +#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:44 +msgid "\n" +" Finally, please decide on whether to enable or disable the connectivity check. You may change the configuration at\n" +" any time through Settings > Server right from within OctoPrint.\n" +msgstr "\n" +" Zum Schluss entscheide noch, ob die Onlineprüfung aktiviert oder deaktiviert werden soll. \n" +" Du kannst diese Entscheidung auch jederzeit unter Einstellungen > Server später noch ändern.\n" + +#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:50 msgid "Disable Connectivity Check" msgstr "Onlineprüfung deaktivieren" -#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:37 +#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:51 msgid "Enable Connectivity Check" msgstr "Onlineprüfung aktivieren" -#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:41 -msgid "" -"\n" -" Connectivity check is enabled.\n" +#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:55 +msgid "\n" +" Connectivity check is enabled.\n" " " -msgstr "" -"\n" +msgstr "\n" " Onlineprüfung aktiviert.\n" " " -#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:44 -msgid "" -"\n" -" Connectivity check is disabled.\n" +#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:58 +msgid "\n" +" Connectivity check is disabled.\n" " " -msgstr "" -"\n" -" Onlineprüfung deaktiviert." -"\n" +msgstr "\n" +" Onlineprüfung deaktiviert.\n" " " #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:1 @@ -1216,53 +994,33 @@ msgid "Configure plugin blacklist processing" msgstr "Pluginblackliste konfigurieren" #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:3 -msgid "" -"\n" -" To protect against known severe issues with certain versions of third" -" party plugins, OctoPrint supports the use\n" -" of a centralized plugin version blacklist to automatically disable " -"such plugin versions before they can interfere with\n" -" normal operation, allowing you to uninstall or update them to a newer" -" version.\n" -msgstr "" -"\n" -" Um vor bekannten schweren Fehler mit bestimmten Third-Party-Plugins " -"zu schützen, unterstützt OctoPrint \n" -" die Verwendung einer zentralen Pluginblackliste um automatisiert " -"solche Pluginversionen zu deaktivieren \n" -" bevor sie mit dem normalen Betrieb von OctoPrint interferieren " -"können. Du kannst solche Plugins dann \n" +msgid "\n" +" To protect against known severe issues with certain versions of third party plugins, OctoPrint supports the use\n" +" of a centralized plugin version blacklist to automatically disable such plugin versions before they can interfere with\n" +" normal operation, allowing you to uninstall or update them to a newer version.\n" +msgstr "\n" +" Um vor bekannten schweren Fehler mit bestimmten Third-Party-Plugins zu schützen, unterstützt OctoPrint \n" +" die Verwendung einer zentralen Pluginblackliste um automatisiert solche Pluginversionen zu deaktivieren \n" +" bevor sie mit dem normalen Betrieb von OctoPrint interferieren können. Du kannst solche Plugins dann \n" " deinstallieren oder auf eine neue Version aktualisieren.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:9 #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistDescription.jinja2:7 #, python-format -msgid "" -"\n" -" By default, OctoPrint will use the blacklist hosted at " -"plugins.octoprint.org/blacklist.json which you\n" -" can also take a look at in a more human readable format here.\n" -msgstr "" -"\n" -" Standardmäßig wird OctoPrint die Blackliste von " -"plugins.octoprint.org/blacklist.json verwenden, \n" -" auf die du hier auch einen " -"Blick in menschenlesbarer Form werfen kannst.\n" +msgid "\n" +" By default, OctoPrint will use the blacklist hosted at plugins.octoprint.org/blacklist.json which you\n" +" can also take a look at in a more human readable format here.\n" +msgstr "\n" +" Standardmäßig wird OctoPrint die Blackliste von plugins.octoprint.org/blacklist.json verwenden, \n" +" auf die du hier auch einen Blick in menschenlesbarer Form werfen kannst.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:14 -msgid "" -"\n" -" Please decide whether to allow fetch and use of this centralized " -"blacklist starting with the next server start.\n" -" You may also change your decision at any time through Settings > " -"Server right from within OctoPrint.\n" -msgstr "" -"\n" -" Bitte entscheide, ob die zentrale Pluginblackliste ab dem nächsten " -"Serverstart genutzt werden soll. \n" -" Du kannst diese Entscheidung auch jederzeit unter Einstellungen > " -"Server später noch ändern.\n" +msgid "\n" +" Please decide whether to allow fetch and use of this centralized blacklist starting with the next server start.\n" +" You may also change your decision at any time through Settings > Server right from within OctoPrint.\n" +msgstr "\n" +" Bitte entscheide, ob die zentrale Pluginblackliste ab dem nächsten Serverstart genutzt werden soll. \n" +" Du kannst diese Entscheidung auch jederzeit unter Einstellungen > Server später noch ändern.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:20 msgid "Disable Plugin Blacklist Processing" @@ -1273,27 +1031,19 @@ msgid "Enable Plugin Blacklist Processing" msgstr "Pluginblackliste aktivieren" #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:25 -msgid "" -"\n" -" Plugin blacklist processing is enabled.\n" +msgid "\n" +" Plugin blacklist processing is enabled.\n" " " -msgstr "" -"\n" -" Pluginblackliste aktiviert.\n" +msgstr "\n" +" Pluginblackliste aktiviert.\n" " " #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:28 -msgid "" -"\n" -" Plugin blacklist processing is disabled.\n" +msgid "\n" +" Plugin blacklist processing is disabled.\n" " " -msgstr "" -"\n" -" Pluginblackliste deaktiviert.\n" +msgstr "\n" +" Pluginblackliste deaktiviert.\n" " " #: src/octoprint/plugins/corewizard/templates/corewizard_printerprofile_wizard.jinja2:1 @@ -1301,16 +1051,10 @@ msgid "Set up your printer profile" msgstr "Konfiguriere dein Druckerprofil" #: src/octoprint/plugins/corewizard/templates/corewizard_printerprofile_wizard.jinja2:2 -msgid "" -"Please make sure the settings below match your printer. If you plan on " -"connecting more than one printer\n" -"to OctoPrint, you can also configure additional printer profiles under " -"Settings > Printer Profiles" -msgstr "" -"Bitte stelle sicher, dass die folgenden Einstellungen deinem Drucker " -"entsprechen. Falls du planst, mehr als \n" -"einen Drucker mit OctoPrint zu verbinden, kannst du weitere " -"Druckerprofile unter Einstellungen > Druckerprofile konfigurieren" +msgid "Please make sure the settings below match your printer. If you plan on connecting more than one printer\n" +"to OctoPrint, you can also configure additional printer profiles under Settings > Printer Profiles" +msgstr "Bitte stelle sicher, dass die folgenden Einstellungen deinem Drucker entsprechen. Falls du planst, mehr als \n" +"einen Drucker mit OctoPrint zu verbinden, kannst du weitere Druckerprofile unter Einstellungen > Druckerprofile konfigurieren" #: src/octoprint/plugins/corewizard/templates/corewizard_printerprofile_wizard.jinja2:7 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:3 @@ -1337,16 +1081,11 @@ msgid "Hotend & extruder" msgstr "Hotend & Extruder" #: src/octoprint/plugins/corewizard/templates/corewizard_servercommands_wizard.jinja2:3 -msgid "" -"

    \n" -" OctoPrint supports calling external commands in order to restart " -"itself or restarting and/or shutting\n" +msgid "

    \n" +" OctoPrint supports calling external commands in order to restart itself or restarting and/or shutting\n" " down the system it is running on. You may configure those here.\n" "

    " -msgstr "" -"

    OctoPrint kann externe Befehle aufrufen, um sich selbst neu zu starten" -" oder das System, auf dem es läuft, neu zu starten und/oder " -"herunterzufahren. Du kannst diese Befehle hier konfigurieren.

    " +msgstr "

    OctoPrint kann externe Befehle aufrufen, um sich selbst neu zu starten oder das System, auf dem es läuft, neu zu starten und/oder herunterzufahren. Du kannst diese Befehle hier konfigurieren.

    " #: src/octoprint/plugins/corewizard/templates/corewizard_servercommands_wizard.jinja2:8 msgid "OctoPrint related commands" @@ -1361,8 +1100,7 @@ msgid "Webcam & Timelapse Recordings" msgstr "Webcam & Zeitrafferaufnahmen" #: src/octoprint/plugins/corewizard/templates/corewizard_webcam_wizard.jinja2:3 -msgid "" -"

    \n" +msgid "

    \n" " If you have a webcam, you may now configure it here.\n" "

    " msgstr "

    Falls du eine Webcam hast kannst du diese nun hier konfigurieren.

    " @@ -1373,48 +1111,25 @@ msgid "Webcam" msgstr "Webcam" #: src/octoprint/plugins/corewizard/templates/corewizard_webcam_wizard.jinja2:9 -msgid "" -"

    \n" -" The Stream URL is the URL OctoPrint uses to embed " -"the\n" +msgid "

    \n" +" The Stream URL is the URL OctoPrint uses to embed the\n" " actual webcam stream (which should be an MJPG stream) into the web\n" -" interface. This needs to be reachable from your " -"browser.\n" +" interface. This needs to be reachable from your browser.\n" "

    \n" " It may be\n" "

      \n" -"
    • a fully qualified URL " -"(http://host:port/path),
    • \n" +"
    • a fully qualified URL (http://host:port/path),
    • \n" "
    • a URL defaulting to the protocol used for accessing the web\n" " interface (e.g. //host:port/path),
    • \n" -"
    • an absolute path on the same host as OctoPrint (e.g. " -"/absolute/path) or
    • \n" -"
    • a relative path on the same host as OctoPrint (e.g. " -"relative/path)
    • \n" +"
    • an absolute path on the same host as OctoPrint (e.g. /absolute/path) or
    • \n" +"
    • a relative path on the same host as OctoPrint (e.g. relative/path)
    • \n" "
    \n" "

    \n" -" The Snapshot URL is the URL OctoPrint uses to fetch " -"single\n" -" images from the webcam for creating timelapse recordings. This needs " -"to be\n" -" a fully qualified URL reachable from the OctoPrint " -"server.\n" +" The Snapshot URL is the URL OctoPrint uses to fetch single\n" +" images from the webcam for creating timelapse recordings. This needs to be\n" +" a fully qualified URL reachable from the OctoPrint server.\n" "

    " -msgstr "" -"

    Die Stream-URL ist eine URL, die OctoPrint verwendet " -"um den eigentlichen Webcamstream (der ein MJPG Stream sein sollte) in das" -" Webinterface einzubetten. Diese URL muss aus deinem " -"Browser erreichbar sein.

    Mögliche Formen sind:

    • eine" -" voll definierte URL (http://host:port/path)
    • eine " -"URL relative zum Protokoll, über das auf das Webinterface zugegriffen " -"wird (z.B. //host:port/path),
    • ein absoluter Pfad auf" -" dem selben Host wie OctoPrint (z.B. /absolute/path) " -"oder
    • ein relativer Pfad auf dem selben Host wie OctoPrint (z.B. " -"relative/path)

    Die Snapshot-" -"URL ist eine URL, die OctoPrint verwendet um einzelne Bilder von" -" der Webcam für die Erstellung von Zeitrafferaufnahmen zu beziehen. Das " -"muss eine voll definierte URL sein, die vom OctoPrint " -"Server erreichbar ist.

    " +msgstr "

    Die Stream-URL ist eine URL, die OctoPrint verwendet um den eigentlichen Webcamstream (der ein MJPG Stream sein sollte) in das Webinterface einzubetten. Diese URL muss aus deinem Browser erreichbar sein.

    Mögliche Formen sind:

    • eine voll definierte URL (http://host:port/path)
    • eine URL relative zum Protokoll, über das auf das Webinterface zugegriffen wird (z.B. //host:port/path),
    • ein absoluter Pfad auf dem selben Host wie OctoPrint (z.B. /absolute/path) oder
    • ein relativer Pfad auf dem selben Host wie OctoPrint (z.B. relative/path)

    Die Snapshot-URL ist eine URL, die OctoPrint verwendet um einzelne Bilder von der Webcam für die Erstellung von Zeitrafferaufnahmen zu beziehen. Das muss eine voll definierte URL sein, die vom OctoPrint Server erreichbar ist.

    " #: src/octoprint/plugins/corewizard/templates/corewizard_webcam_wizard.jinja2:33 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:17 @@ -1422,25 +1137,17 @@ msgid "Timelapse Recordings" msgstr "Zeitrafferaufnahmen" #: src/octoprint/plugins/corewizard/templates/corewizard_webcam_wizard.jinja2:35 -msgid "" -"

    \n" -" To render the snapshots into timelapse recordings, OctoPrint also " -"needs to\n" +msgid "

    \n" +" To render the snapshots into timelapse recordings, OctoPrint also needs to\n" " know the correct path to FFMPEG.\n" "

    " -msgstr "" -"

    Um Snapshots zu Zeitrafferaufnahmen zu rendern muss OctoPrint auch den" -" korrekten Pfad zu FFMPEG wissen.

    " +msgstr "

    Um Snapshots zu Zeitrafferaufnahmen zu rendern muss OctoPrint auch den korrekten Pfad zu FFMPEG wissen.

    " #: src/octoprint/plugins/discovery/__init__.py:714 -msgid "" -"Without this plugin your OctoPrint instance will no longer be " -"discoverable on the network via Bonjour and uPnP." -msgstr "" -"Ohne dieses Plugin wird deine OctoPrint Instanz nicht mehr in deinem " -"Netzwerk mittels Bonjour oder uPnP automatisch auffindbar sein." +msgid "Without this plugin your OctoPrint instance will no longer be discoverable on the network via Bonjour and uPnP." +msgstr "Ohne dieses Plugin wird deine OctoPrint Instanz nicht mehr in deinem Netzwerk mittels Bonjour oder uPnP automatisch auffindbar sein." -#: src/octoprint/plugins/errortracking/__init__.py:73 +#: src/octoprint/plugins/errortracking/__init__.py:69 #: src/octoprint/plugins/errortracking/templates/errortracking_settings.jinja2:1 msgid "Error Tracking" msgstr "Fehlertracking" @@ -1450,70 +1157,46 @@ msgid "Enable error reporting?" msgstr "Fehlertracking aktivieren?" #: src/octoprint/plugins/errortracking/static/js/errortracking.js:37 -msgid "" -"

    It looks like you are tracking an OctoPrint RC release channel. It " -"would be great if you would enable error reporting so that any kind of " -"errors that occur with an RC can be looked into more easily. Thank " -"you!

    You can find more information on error reporting under " -"Settings > Error Tracking

    " -msgstr "" -"

    Es sieht so also, als hättest du einen OctoPrint RC Release Channel " -"abonniert. Es wäre klasse, wenn du Fehlertracking einschalten würdest, so" -" dass jedwede Art von Fehler, die mit diesem RC auftritt, einfacher " -"untersucht werden kann. Danke!

    Du kannst mehr zum " -"Fehlertracking erfahren unter Einstellungen > Fehlertracking

    " +msgid "

    It looks like you are tracking an OctoPrint RC release channel. It would be great if you would enable error reporting so that any kind of errors that occur with an RC can be looked into more easily. Thank you!

    You can find more information on error reporting under Settings > Error Tracking

    " +msgstr "

    Es sieht so also, als hättest du einen OctoPrint RC Release Channel abonniert. Es wäre klasse, wenn du Fehlertracking einschalten würdest, so dass jedwede Art von Fehler, die mit diesem RC auftritt, einfacher untersucht werden kann. Danke!

    Du kannst mehr zum Fehlertracking erfahren unter Einstellungen > Fehlertracking

    " #: src/octoprint/plugins/errortracking/static/js/errortracking.js:46 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:298 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:324 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:310 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:336 #: src/octoprint/static/js/app/viewmodels/loginstate.js:110 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:433 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:447 msgid "Ignore" msgstr "Ignorieren" #: src/octoprint/plugins/errortracking/static/js/errortracking.js:51 msgid "You can still enable error tracking via \"Settings\" > \"Error Tracking\"" -msgstr "" -"Du kannst Fehlertracking immer noch einschalten via \"Einstellungen\" > " -"\"Fehlertracking\"" +msgstr "Du kannst Fehlertracking immer noch einschalten via \"Einstellungen\" > \"Fehlertracking\"" #: src/octoprint/plugins/errortracking/templates/errortracking_settings.jinja2:3 -msgid "" -"\n" +msgid "\n" "

    \n" -" Error tracking will cause any logged exceptions in the server and the" -" browser interface to be sent\n" -" to OctoPrint's Sentry instance.\n" +" Error tracking will cause any logged exceptions in the server and the browser interface to be sent\n" +" to OctoPrint's Sentry instance.\n" "

    \n" "

    \n" -" By enabling it you help to gather detailed information on the cause " -"of bugs or other issues. This is especially valuable\n" -" on release candidates, which is why this plugin will also prompt you " -"to enable error tracking if it detects that\n" +" By enabling it you help to gather detailed information on the cause of bugs or other issues. This is especially valuable\n" +" on release candidates, which is why this plugin will also prompt you to enable error tracking if it detects that\n" " you are subscribed to an RC release channel.\n" "

    \n" "

    \n" -" Please enable this if you are running a release candidate, or are " -"prompted to do so while debugging an issue that you reported.\n" +" Please enable this if you are running a release candidate, or are prompted to do so while debugging an issue that you reported.\n" "

    \n" -msgstr "" -"\n" +msgstr "\n" "

    \n" -" Fehlertracking sendet jede geloggte Exception in Server und " -"Webinterface zu OctoPrint's Sentry-Instanz.\n" +" Fehlertracking sendet jede geloggte Exception in Server und Webinterface zu OctoPrint's Sentry-Instanz.\n" "

    \n" "

    \n" -" Wenn du es einschaltest hilfst du, detaillierte Informationen zu den " -"Hintergründen von Bugs und anderen Problemen to sammeln. Das\n" -" ist besonders wertvoll bei Release Candidates, weshalb dich dieses " -"Plugin auch bittet, es einzuschalten, wenn es erkennt, dass du\n" +" Wenn du es einschaltest hilfst du, detaillierte Informationen zu den Hintergründen von Bugs und anderen Problemen to sammeln. Das\n" +" ist besonders wertvoll bei Release Candidates, weshalb dich dieses Plugin auch bittet, es einzuschalten, wenn es erkennt, dass du\n" " einen RC Release Channel abonniert hast.\n" "

    \n" "

    \n" -" Bitte aktiviere dieses Plugin, wenn du einen Release Candidate nutzt, " -"oder wenn du darum im Rahmen des Debuggings eines von dir gemeldeten\n" +" Bitte aktiviere dieses Plugin, wenn du einen Release Candidate nutzt, oder wenn du darum im Rahmen des Debuggings eines von dir gemeldeten\n" " Problems gebeten wirst.\n" "

    \n" @@ -1536,67 +1219,68 @@ msgid "Instance ID" msgstr "Instanzkennung" #: src/octoprint/plugins/errortracking/templates/errortracking_settings.jinja2:35 -msgid "" -"\n" +msgid "\n" "

    \n" -" The Error Tracking plugin is using a Sentry instance kindly provided " -"by\n" -" sentry.io. For information on their service\n" -" please refer to their Security & Compliance " -"documentation\n" -" and their Privacy Policy.\n" +" The Error Tracking plugin is using a Sentry instance kindly provided by\n" +" sentry.io. For information on their service\n" +" please refer to their Security & Compliance documentation\n" +" and their Privacy Policy.\n" "

    \n" -msgstr "" -"\n" +msgstr "\n" "

    \n" -" Das Fehlertrackingplugin nutzt eine Sentry-Instanz die " -"freundlicherweise von\n" -" sentry.io zur Verfügung gestellt wird. Für Informationen " -"zu ihrem Service\n" -" schau dir bitte ihre Security & Compliance " -"documentation und ihre\n" -" Privacy Policy an.\n" +" Das Fehlertrackingplugin nutzt eine Sentry-Instanz die freundlicherweise von\n" +" sentry.io zur Verfügung gestellt wird. Für Informationen zu ihrem Service\n" +" schau dir bitte ihre Security & Compliance documentation und ihre\n" +" Privacy Policy an.\n" "

    \n" #: src/octoprint/plugins/logging/__init__.py:41 msgid "Allows to download and delete log files and list and set log levels." -msgstr "" -"Erlaubt den Download von Logdateien sowie deren Löschung und das Setzen " -"von Loglevels." +msgstr "Erlaubt den Download von Logdateien sowie deren Löschung und das Setzen von Loglevels." -#: src/octoprint/plugins/logging/__init__.py:226 -msgid "" -"Without this plugin you will no longer be able to retrieve OctoPrint's " -"logs or modify the current logging levels through the web interface." -msgstr "" -"Ohne dieses Plugin kannst du OctoPrints Logfiles nicht mehr über das " -"Webinterface herunterladen und auch die aktuellen Loglevel modifizieren." +#: src/octoprint/plugins/logging/__init__.py:228 +msgid "Without this plugin you will no longer be able to retrieve OctoPrint's logs or modify the current logging levels through the web interface." +msgstr "Ohne dieses Plugin kannst du OctoPrints Logfiles nicht mehr über das Webinterface herunterladen und auch die aktuellen Loglevel modifizieren." + +#: src/octoprint/plugins/logging/static/js/logging.js:115 +msgid "You currently have serial.log enabled. Please remember to turn it off again once your are done debugging whatever issue prompted you to turn it on." +msgstr "Du hast aktuell das serial.log aktiviert. Bitte denk daran, es wieder zu deaktivieren, nachdem du das Problem, für das du das Logging aktiviert hast, debuggt hast." + +#: src/octoprint/plugins/logging/static/js/logging.js:118 +msgid "It can negatively impact print performance and also take up a lot of storage space depending on how long you stay connected to your printer and thus should only be used for debugging." +msgstr "Es kann die Druckperformance negativ beeinflussen und außerdem viel Speicherplatz belegen, abhängig davon wie lange du mit deinem Drucker verbunden bleibst, und sollte daher nur für Debuggingzwecke verwendet werden." #: src/octoprint/plugins/logging/static/js/logging.js:124 +msgid "Log storage:" +msgstr "Logspeicher:" + +#: src/octoprint/plugins/logging/static/js/logging.js:160 #, python-format msgid "You are about to delete log file \"%(name)s\"." msgstr "Du bist im Begriff, das Logfile \"%(name)s\" zu löschen." -#: src/octoprint/plugins/logging/static/js/logging.js:148 +#: src/octoprint/plugins/logging/static/js/logging.js:184 #, python-format msgid "You are about to delete %(count)d log files." msgstr "Du bist im Begriff %(count)d Logfiles zu löschen." -#: src/octoprint/plugins/logging/static/js/logging.js:170 +#: src/octoprint/plugins/logging/static/js/logging.js:206 msgid "Deleting log files" msgstr "Lösche Logfiles" -#: src/octoprint/plugins/logging/static/js/logging.js:171 +#: src/octoprint/plugins/logging/static/js/logging.js:207 #, python-format msgid "Deleting %(count)d log files..." msgstr "Lösche %(count)d Logfiles" +#: src/octoprint/plugins/logging/templates/logging_navbar.jinja2:1 +msgid "serial.log is enabled" +msgstr "serial.log ist aktiviert" + +#: src/octoprint/plugins/logging/templates/logging_navbar.jinja2:1 +msgid "serial.log is enabled" +msgstr "serial.log ist aktiviert" + #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:1 msgid "Logs" msgstr "Logs" @@ -1608,7 +1292,7 @@ msgid "Sort by name" msgstr "Nach Name sortieren" #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:7 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:209 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:227 #: src/octoprint/templates/sidebar/files_header.jinja2:8 #: src/octoprint/templates/tabs/timelapse.jinja2:119 msgid "ascending" @@ -1620,16 +1304,21 @@ msgstr "Nach Änderungsdatum sortieren" #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:8 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:9 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:210 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:228 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:229 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:230 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:231 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:232 #: src/octoprint/templates/sidebar/files_header.jinja2:9 #: src/octoprint/templates/sidebar/files_header.jinja2:10 +#: src/octoprint/templates/sidebar/files_header.jinja2:11 #: src/octoprint/templates/tabs/timelapse.jinja2:120 #: src/octoprint/templates/tabs/timelapse.jinja2:121 msgid "descending" msgstr "absteigend" #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:9 -#: src/octoprint/templates/sidebar/files_header.jinja2:10 +#: src/octoprint/templates/sidebar/files_header.jinja2:11 #: src/octoprint/templates/tabs/timelapse.jinja2:121 msgid "Sort by file size" msgstr "Nach Größe sortieren" @@ -1643,9 +1332,9 @@ msgid "Level" msgstr "Level" #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:87 -#: src/octoprint/templates/sidebar/files.jinja2:26 -#: src/octoprint/templates/sidebar/files.jinja2:39 -#: src/octoprint/templates/sidebar/files.jinja2:49 +#: src/octoprint/templates/sidebar/files.jinja2:27 +#: src/octoprint/templates/sidebar/files.jinja2:41 +#: src/octoprint/templates/sidebar/files.jinja2:52 msgid "Remove" msgstr "Entfernen" @@ -1654,14 +1343,8 @@ msgid "Add" msgstr "Hinzufügen" #: src/octoprint/plugins/loginui/__init__.py:115 -msgid "" -"Without this plugin there will be no dedicated login page for users in " -"case anonymous read only access is disabled - instead your non logged in " -"visitors will get a broken UI." -msgstr "" -"Ohne dieses Plugin wird es keine Loginpage für User geben, falls anonymer" -" Readonly-Zugriff deaktiviert ist - statt dessen wird deinen nicht " -"eingeloggten Nutzerne eine kaputte UI präsentiert." +msgid "Without this plugin there will be no dedicated login page for users in case anonymous read only access is disabled - instead your non logged in visitors will get a broken UI." +msgstr "Ohne dieses Plugin wird es keine Loginpage für User geben, falls anonymer Readonly-Zugriff deaktiviert ist - statt dessen wird deinen nicht eingeloggten Nutzerne eine kaputte UI präsentiert." #: src/octoprint/plugins/loginui/templates/loginui_index.jinja2:19 msgid "Please log in" @@ -1695,9 +1378,7 @@ msgstr "Einloggen" #: src/octoprint/plugins/pi_support/__init__.py:201 msgid "Allows to check for the Pi's throttling status and environment info" -msgstr "" -"Erlaubt die Abfrage des Throttlestatus und der Umgebungsinformationen des" -" Raspberry Pis." +msgstr "Erlaubt die Abfrage des Throttlestatus und der Umgebungsinformationen des Raspberry Pis." #: src/octoprint/plugins/pi_support/__init__.py:237 #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:1 @@ -1705,41 +1386,24 @@ msgid "Pi Support" msgstr "Pi Support" #: src/octoprint/plugins/pi_support/__init__.py:335 -msgid "" -"Without this plugin OctoPrint will no longer be able to provide " -"additional information about your Pi, which will make it more tricky to " -"help you if you need support." -msgstr "" -"Ohne dieses Plugin kann OctoPrint nicht mehr zusätzliche Informationen " -"über deinen Pi Instanz zur Verfügung stellen, was es ggf. schwieriger " -"macht, dir zu helfen, falls du Support brauchst." +msgid "Without this plugin OctoPrint will no longer be able to provide additional information about your Pi, which will make it more tricky to help you if you need support." +msgstr "Ohne dieses Plugin kann OctoPrint nicht mehr zusätzliche Informationen über deinen Pi Instanz zur Verfügung stellen, was es ggf. schwieriger macht, dir zu helfen, falls du Support brauchst." #: src/octoprint/plugins/pi_support/static/js/pi_support.js:35 msgid "OctoPi" msgstr "OctoPi" #: src/octoprint/plugins/pi_support/static/js/pi_support.js:72 -msgid "" -"Undervoltage. Make sure your power supply and cabling are providing " -"enough power to the Pi." -msgstr "" -"Zu niedrige Spannung. Stelle sicher, dass dein Netzteil und die " -"Verkabelung dem Pi genug Strom liefern." +msgid "Undervoltage. Make sure your power supply and cabling are providing enough power to the Pi." +msgstr "Zu niedrige Spannung. Stelle sicher, dass dein Netzteil und die Verkabelung dem Pi genug Strom liefern." #: src/octoprint/plugins/pi_support/static/js/pi_support.js:73 msgid "Frequency capping due to overheating. Improve cooling of the CPU and GPU." -msgstr "" -"Heruntertaktung aufgrund von Überhitzung. Verbessere die Kühlung von CPU " -"und GPU." +msgstr "Heruntertaktung aufgrund von Überhitzung. Verbessere die Kühlung von CPU und GPU." #: src/octoprint/plugins/pi_support/static/js/pi_support.js:74 -msgid "" -"A blinking symbol indicates a current issue, a non blinking symbol one " -"that was observed some time since the Pi booted up." -msgstr "" -"Ein blinkendes Symbol zeigt ein aktuelles Problem an, ein nicht " -"blinkendes ein Problem, das irgendwann seit dem Bootup des Pis " -"aufgetreten ist." +msgid "A blinking symbol indicates a current issue, a non blinking symbol one that was observed some time since the Pi booted up." +msgstr "Ein blinkendes Symbol zeigt ein aktuelles Problem an, ein nicht blinkendes ein Problem, das irgendwann seit dem Bootup des Pis aufgetreten ist." #: src/octoprint/plugins/pi_support/static/js/pi_support.js:75 msgid "Click the symbol in the navbar for more information." @@ -1763,856 +1427,786 @@ msgstr "Überhitzung" #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:3 msgid "Please restart OctoPrint after changing any of this plugin's settings." -msgstr "" -"Bitte starte OctoPrint neu, nachdem du die Einstellungen dieses Plugins " -"geändert hast." +msgstr "Bitte starte OctoPrint neu, nachdem du die Einstellungen dieses Plugins geändert hast." #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:9 -msgid "" -"Enable under voltage and overheat detection via vcgencmd " -"get_throttled" -msgstr "" -"Erkennung zu niedriger Spannung und Überhitzung via vcgencmd " -"get_throttled einschalten" +msgid "Enable under voltage and overheat detection via vcgencmd get_throttled" +msgstr "Erkennung zu niedriger Spannung und Überhitzung via vcgencmd get_throttled einschalten" #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:11 -msgid "" -"This will regularly check with the Pi if something is amiss either with " -"power regulation or CPU/GPU temperature." -msgstr "" -"Es wird regelmäßig geprüft, ob etwas mit der Spannungsversorgung oder der" -" CPU/GPU Temperatur des Pis nicht stimmt." +msgid "This will regularly check with the Pi if something is amiss either with power regulation or CPU/GPU temperature." +msgstr "Es wird regelmäßig geprüft, ob etwas mit der Spannungsversorgung oder der CPU/GPU Temperatur des Pis nicht stimmt." #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:20 msgid "Command for under voltage/overheat detection" msgstr "Befehl für Spannungs-/Überhitzungserkennung" #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:23 -msgid "" -"Defaults to /usr/bin/vcgencmd get_throttled. You usually " -"shouldn't have to change this." -msgstr "" -"Standardeinstellung ist /usr/bin/vcgencmd get_throttled. Du " -"solltest das gewöhnlich nicht ändern müssen." - -#: src/octoprint/plugins/pluginmanager/__init__.py:163 -msgid "Allows to enable, disable and uninstall installed plugins." -msgstr "" -"Erlaubt das aktivieren, deaktivieren und deinstallieren installierter " -"Plugins." +msgid "Defaults to /usr/bin/vcgencmd get_throttled. You usually shouldn't have to change this." +msgstr "Standardeinstellung ist /usr/bin/vcgencmd get_throttled. Du solltest das gewöhnlich nicht ändern müssen." #: src/octoprint/plugins/pluginmanager/__init__.py:168 -msgid "Allows to install new plugins. Includes the \"Manage plugins\" permission." -msgstr "" -"Erlaubt das Installieren neuer Plugins. Beinhaltet die \"Manage plugins\"" -" Berechtigung" +msgid "Allows to enable, disable and uninstall installed plugins." +msgstr "Erlaubt das aktivieren, deaktivieren und deinstallieren installierter Plugins." -#: src/octoprint/plugins/pluginmanager/__init__.py:234 +#: src/octoprint/plugins/pluginmanager/__init__.py:173 +msgid "Allows to install new plugins. Includes the \"Manage plugins\" permission." +msgstr "Erlaubt das Installieren neuer Plugins. Beinhaltet die \"Manage plugins\" Berechtigung" + +#: src/octoprint/plugins/pluginmanager/__init__.py:239 msgid "Plugin Manager" msgstr "Pluginmanager" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:178 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:219 msgid "There are no plugin notices. Great!" msgstr "Keine Nachrichten zu deinen Plugins. Super!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:180 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:221 msgid "There is a plugin notice for one of your installed plugins." msgstr "Es gibt eine Nachricht zu einem deiner installierten Plugins." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:182 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:223 #, python-format -msgid "" -"There are %(count)d plugin notices for one or more of your installed " -"plugins." -msgstr "" -"Es gibt %(count)d Nachrichten zu einem oder mehreren deiner installierten" -" Plugins." +msgid "There are %(count)d plugin notices for one or more of your installed plugins." +msgstr "Es gibt %(count)d Nachrichten zu einem oder mehreren deiner installierten Plugins." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:290 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:551 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:331 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:599 msgid "Installing plugin..." msgstr "Installiere Plugin..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:290 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:331 msgid "Installing plugin from uploaded archive..." msgstr "Installiere Plugin von hochgeladenem Archiv..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:311 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:459 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:575 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:616 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:666 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:698 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:907 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:352 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:504 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:623 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:664 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:714 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:746 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:955 #: src/octoprint/plugins/tracking/static/js/usage.js:83 msgid "Something went wrong" msgstr "Etwas ist schief gegangen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:312 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:460 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:576 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:617 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:667 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:699 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:353 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:505 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:624 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:665 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:715 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:747 msgid "Please consult octoprint.log for details" msgstr "Bitte konsultiere octoprint.log für Details" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:480 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:525 #, python-format msgid "You are about to disable \"%(name)s\"." msgstr "Du bist im Begriff \"%(name)s\" zu deaktivieren." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:483 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:528 msgid "This is not recommended" msgstr "Das ist nicht empfohlen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:485 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:530 msgid "Do you still want to disable it?" msgstr "Möchtest du es immer noch deaktivieren?" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:486 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:495 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:531 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:540 msgid "Keep enabled" msgstr "Aktiviert lassen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:487 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:532 msgid "Disable anyway" msgstr "Trotzdem deaktivieren" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:494 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:539 #, python-format msgid "You are about to disable \"%(name)s\"" msgstr "Du bist im Begriff \"%(name)s\" zu deaktivieren." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:496 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:541 msgid "Disable plugin" msgstr "Plugin disablen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:553 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:601 #, python-format msgid "Installing plugin \"%(name)s\" from %(url)s..." msgstr "Installiere Plugin \"%(name)s\" von %(url)s..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:555 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:603 #, python-format msgid "Installing plugin from %(url)s..." msgstr "Installiere Plugin von %(url)s..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:558 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:606 msgid "Reinstalling plugin..." msgstr "Reinstalliere Plugin..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:559 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:607 #, python-format msgid "Reinstalling plugin \"%(name)s\" from %(url)s..." msgstr "Reinstalliere Plugin \"%(name)s\" von %(url)s..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:608 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:656 msgid "Uninstalling plugin..." msgstr "Deinstalliere Plugin..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:608 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:656 #, python-format msgid "Uninstalling plugin \"%(name)s\"" msgstr "Deinstalliere Plugin \"%(name)s\"" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:628 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:676 #, python-format msgid "You are about to uninstall the plugin \"%(name)s\"" msgstr "Du bist im Begriff \"%(name)s\" zu deinstallieren." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:629 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:677 msgid "Keep installed" msgstr "Installiert lassen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:631 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:679 msgid "Uninstall" msgstr "Deinstallieren" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:632 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:680 msgid "Uninstall & clean up data" msgstr "Deinstallieren & Daten löschen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:658 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:706 msgid "Cleaning up plugin data..." msgstr "Lösche Plugindaten..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:658 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:706 #, python-format msgid "Cleaning up data of plugin \"%(name)s\"" msgstr "Lösche Daten von Plugin \"%(name)s\"" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:678 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:726 #, python-format -msgid "" -"You are about to cleanup the plugin data of \"%(name)s\". This operation " -"cannot be reversed." -msgstr "" -"Du bist im Begriff, die Daten des Plugins \"%(name)s\" zu löschen. Dieser" -" Vorgang kann nicht rückgängig gemacht werden." +msgid "You are about to cleanup the plugin data of \"%(name)s\". This operation cannot be reversed." +msgstr "Du bist im Begriff, die Daten des Plugins \"%(name)s\" zu löschen. Dieser Vorgang kann nicht rückgängig gemacht werden." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:679 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:711 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:727 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:759 msgid "Keep data" msgstr "Daten behalten" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:680 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:728 msgid "Cleanup data" msgstr "Daten löschen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:692 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:740 msgid "Cleaning up all left over plugin data..." msgstr "Übergebliebene Plugindaten werden gelöscht..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:710 -msgid "" -"You are about to cleanup left over plugin settings and data of plugins no" -" longer installed. This operation cannot be reversed." -msgstr "" -"Du bist im Begriff, Daten und Einstellungen von Plugins zu löschen, die " -"nicht mehr installiert sind. Dieser Vorgang kann nicht rückgängig gemacht" -" werden." +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:758 +msgid "You are about to cleanup left over plugin settings and data of plugins no longer installed. This operation cannot be reversed." +msgstr "Du bist im Begriff, Daten und Einstellungen von Plugins zu löschen, die nicht mehr installiert sind. Dieser Vorgang kann nicht rückgängig gemacht werden." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:712 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:760 msgid "Cleanup all data" msgstr "Alle Daten löschen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:815 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:863 msgid "Reinstall" msgstr "Reinstallieren" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:815 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:272 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:288 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:863 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:305 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:321 msgid "Install" msgstr "Installieren" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:815 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:71 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:863 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:79 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:257 msgid "Disabled" msgstr "Deaktiviert" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:815 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:863 msgid "Incompatible" msgstr "Inkompatibel" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:824 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:872 msgid "Plugin management log" msgstr "Pluginmanagementlog" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:832 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:880 #, python-format msgid "%(count)d earlier actions..." msgstr "%(count)d frühere Aktionen..." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:834 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:882 #, python-format msgid "%(count)d earlier action" msgstr "%(count)d frühere Aktion" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:845 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:893 #, python-format msgid "Install %(plugin)s: %(result)s" msgstr "%(plugin)s installiert: %(result)s" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:849 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:897 #, python-format msgid "Uninstall %(plugin)s: %(result)s" msgstr "%(plugin)s deinstalliert: %(result)s" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:853 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:901 #, python-format msgid "Enable %(plugin)s: %(result)s" msgstr "%(plugin)s aktiviert: %(result)s" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:857 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:905 #, python-format msgid "Disable %(plugin)s: %(result)s" msgstr "%(plugin)s deaktiviert: %(result)s" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:861 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:909 #, python-format msgid "Cleanup %(plugin)s: %(result)s" msgstr "Löschen der Daten von %(plugin)s: %(result)s" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:865 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:913 #, python-format msgid "Cleanup all: %(result)s" msgstr "Alle Daten löschen: %(result)s" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:882 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:930 msgid "A restart is needed for the changes to take effect." -msgstr "" -"Ein Neustart von OctoPrint ist notwendig, damit die Änderungen wirksam " -"werden." +msgstr "Ein Neustart von OctoPrint ist notwendig, damit die Änderungen wirksam werden." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:890 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:938 msgid "Restart now" msgstr "Jetzt neu starten" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:895 -msgid "" -"This will restart your OctoPrint server.

    This " -"action may disrupt any ongoing print jobs (depending on your printer's " -"controller and general setup that might also apply to prints run directly" -" from your printer's internal storage)." -msgstr "" -"Dies wird deinen OctoPrint Server neu " -"starten

    Diese Aktion wird laufende Druckaufträge " -"unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup " -"gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers" -" laufen lässt)." +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:943 +msgid "This will restart your OctoPrint server.

    This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." +msgstr "Dies wird deinen OctoPrint Server neu starten

    Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:901 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:949 msgid "Restart in progress" msgstr "Neustart findet statt" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:902 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:950 msgid "The server is now being restarted in the background" msgstr "Der Server wird nun im Hintergrund neu gestartet" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:908 -msgid "" -"Trying to restart the server produced an error, please check " -"octoprint.log for details. You'll have to restart manually." -msgstr "" -"Beim Versuch, den Server neu zu starten, ist ein Fehler aufgetreten. " -"Bitte konsultiere octoprint.log für Details. Du musst manuell neu " -"starten." +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:956 +msgid "Trying to restart the server produced an error, please check octoprint.log for details. You'll have to restart manually." +msgstr "Beim Versuch, den Server neu zu starten, ist ein Fehler aufgetreten. Bitte konsultiere octoprint.log für Details. Du musst manuell neu starten." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:921 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:969 msgid "A refresh is needed for the changes to take effect." -msgstr "" -"Ein Neuladen von OctoPrint ist notwendig, damit die Änderungen wirksam " -"werden." +msgstr "Ein Neuladen von OctoPrint ist notwendig, damit die Änderungen wirksam werden." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:928 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:976 #: src/octoprint/templates/overlays/reloadui.jinja2:14 msgid "Reload now" msgstr "Jetzt neu laden" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:937 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:985 msgid "A reconnect to the printer is needed for the changes to take effect." -msgstr "" -"Ein Reconnect zum Drucker ist notwendig, damit die Änderungen wirksam " -"werden." +msgstr "Ein Reconnect zum Drucker ist notwendig, damit die Änderungen wirksam werden." -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:974 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1022 msgid "Error!" msgstr "Fehler!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:977 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1025 msgid "Done!" msgstr "Fertig!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1003 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1051 msgid "Blacklisted" msgstr "Geblacklistet" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1005 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1053 msgid "Disabled due to active safe mode" msgstr "Deaktiviert wegen aktiviertem Safe Mode" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1007 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1055 msgid "Enable Plugin" msgstr "Plugin enablen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1010 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1058 msgid "Disable Plugin" msgstr "Plugin disablen" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1030 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1078 #, python-format -msgid "" -"There are %(count)d notices (%(important)d marked as important) available" -" regarding this plugin - click to show!" -msgstr "" -"Es gibt %(count)d Nachrichten (%(important)d als wichtig markiert) zu " -"diesem Plugin - hier klicken um sie anzuzeigen!" +msgid "There are %(count)d notices (%(important)d marked as important) available regarding this plugin - click to show!" +msgstr "Es gibt %(count)d Nachrichten (%(important)d als wichtig markiert) zu diesem Plugin - hier klicken um sie anzuzeigen!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1032 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1080 #, python-format -msgid "" -"There are %(count)d notices available regarding this plugin - click to " -"show!" -msgstr "" -"Es gibt %(count)d Nachrichten zu diesem Plugin - hier klicken um sie " -"anzuzeigen!" +msgid "There are %(count)d notices available regarding this plugin - click to show!" +msgstr "Es gibt %(count)d Nachrichten zu diesem Plugin - hier klicken um sie anzuzeigen!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1036 -msgid "" -"There is an important notice available regarding this plugin - click to " -"show!" -msgstr "" -"Es gibt eine wichtige Nachricht zu diesem Plugin - hier klicken um sie " -"anzuzeigen!" +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1084 +msgid "There is an important notice available regarding this plugin - click to show!" +msgstr "Es gibt eine wichtige Nachricht zu diesem Plugin - hier klicken um sie anzuzeigen!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1038 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1086 msgid "There is a notice available regarding this plugin - click to show!" msgstr "Es gibt eine Nachricht zu diesem Plugin - hier klicken um sie anzuzeigen!" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1052 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1100 #, python-format msgid "Important notice regarding plugin \"%(name)s\"" msgstr "Wichtige Nachricht zu Plugin \"%(name)s\"" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1054 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1102 #, python-format msgid "Notice regarding plugin \"%(name)s\"" msgstr "Nachricht zu Plugin \"%(name)s\"" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1061 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1109 #, python-format msgid "Affected versions: %(versions)s" msgstr "Betroffene Versionen: %(versions)s" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1063 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1111 msgid "Affected versions: all" msgstr "Betroffene Versionen: alle" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1068 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1116 msgid "Read more..." msgstr "Mehr..." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:3 -msgid "" -"Take note that all plugin management functionality is disabled while your" -" printer is printing or paused." -msgstr "" -"Bitte beachte, dass jegliche Pluginmanagementfunktionen während des " -"Druckens (auch bei Pausierung) deaktiviert sind." +msgid "Take note that all plugin management functionality is disabled while your printer is printing or paused." +msgstr "Bitte beachte, dass jegliche Pluginmanagementfunktionen während des Druckens (auch bei Pausierung) deaktiviert sind." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:8 -msgid "" -"\n" -" The pip command could not be found or does not work " -"correctly\n" -" for this installation of OctoPrint - please consult the log file for " -"details\n" -" and if necessary configure it manually. No installation and " -"uninstallation of plugin\n" +msgid "\n" +" The pip command could not be found or does not work correctly\n" +" for this installation of OctoPrint - please consult the log file for details\n" +" and if necessary configure it manually. No installation and uninstallation of plugin\n" " packages is possible while pip is unavailable.\n" -msgstr "" -"\n" -" Der pip Befehl konnte nicht gefunden werden oder " -"funktioniert nicht richtig - bitte konsultiere die Logdatei für Details " -"und fall nötig konfiguriere den Befehl manuell. Installation und " -"Deinstallation von Plugins ist nicht möglich, solange pip " -"nicht verfügbar ist.\n" +msgstr "\n" +" Der pip Befehl konnte nicht gefunden werden oder funktioniert nicht richtig - bitte konsultiere die Logdatei für Details und fall nötig konfiguriere den Befehl manuell. Installation und Deinstallation von Plugins ist nicht möglich, solange pip nicht verfügbar ist.\n" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:17 -msgid "" -"\n" -" Safe mode is currently active. All third party plugins are disabled " -"and cannot be\n" +msgid "\n" +" Safe mode is currently active. All third party plugins are disabled and cannot be\n" " enabled. Installation of plugin packages is disabled.\n" -msgstr "" -"Der Safe Mode ist aktuell aktiviert. Alle Third-Party-Plugins sind " -"deaktiviert und können nicht aktiviert werden. Installation von Plugins " -"ist deaktiviert." +msgstr "Der Safe Mode ist aktuell aktiviert. Alle Third-Party-Plugins sind deaktiviert und können nicht aktiviert werden. Installation von Plugins ist deaktiviert." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:24 -msgid "" -"\n" -" The system OctoPrint is running on is currently throttled. Due to " -"that it's not possible to install new\n" -" plugins in order to avoid possible issues caused by system " -"instability.\n" -msgstr "" -"Das System, auf dem OctoPrint läuft, ist aktuell leistungsbegrenzt. Um " -"mögliche Probleme in Folge von dadurch\n" -"verursachter Systeminstabilität zu verhindern, ist es daher aktuell nicht" -" möglich, neue Plugins zu installieren.\n" +msgid "\n" +" The system OctoPrint is running on is currently throttled. Due to that it's not possible to install new\n" +" plugins in order to avoid possible issues caused by system instability.\n" +msgstr "Das System, auf dem OctoPrint läuft, ist aktuell leistungsbegrenzt. Um mögliche Probleme in Folge von dadurch\n" +"verursachter Systeminstabilität zu verhindern, ist es daher aktuell nicht möglich, neue Plugins zu installieren.\n" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:31 -msgid "" -"\n" -" It looks like OctoPrint has currently no connection to the internet. " -"Due to that it's not possible\n" +msgid "\n" +" It looks like OctoPrint has currently no connection to the internet. Due to that it's not possible\n" " to install new plugins from the plugin repository or archive URLs.\n" -msgstr "" -"OctoPrint scheint zur Zeit keine Verbindung zum Internet zu haben. Daher " -"ist es nicht möglich, neue Plugins aus dem Pluginrepository oder von URL " -"zu installieren." +msgstr "OctoPrint scheint zur Zeit keine Verbindung zum Internet zu haben. Daher ist es nicht möglich, neue Plugins aus dem Pluginrepository oder von URL zu installieren." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:39 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:38 +msgid "\n" +" There appears to have been an error retrieving the plugin data from the backend. Please report this\n" +" in the bug tracker & be sure to include all requested logs.\n" +msgstr "Es gab einen Fehler beim Abruf der Plugindaten vom Backend. Bitte melde dies im Bugtracker mit allen erbetenen Logs.\n" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:46 #: src/octoprint/server/views.py:543 msgid "Plugins" msgstr "Plugins" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:42 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:147 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:49 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:157 msgid "Cleanup" msgstr "Löschen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:54 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:316 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:57 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:99 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:62 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:350 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:74 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:116 msgid "Plugin Configuration" msgstr "Pluginkonfiguration" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:57 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:65 msgid "Installed Plugins" msgstr "Installierte Plugins" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:60 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:221 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:68 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:219 #: src/octoprint/templates/sidebar/files.jinja2:3 msgid "Search..." msgstr "Suchen..." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:64 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:72 msgid "Show both bundled and third-party plugins" msgstr "Gebundlete und third-party Plugins anzeigen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:65 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:73 msgid "Show only bundled plugins" msgstr "Nur gebundlete Plugins anzeigen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:65 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:73 msgid "Bundled" msgstr "Gebundled" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:66 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:74 msgid "Show only third-party plugins" msgstr "Zeige nur Third-Party-Plugins" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:66 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:74 msgid "3rd party" msgstr "3rd party" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:69 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:77 msgid "Show both enabled and disabled plugins" msgstr "Aktivierte und deaktivierte Plugins anzeigen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:70 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:78 msgid "Show only enabled plugins" msgstr "Nur aktivierte Plugins anzeigen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:70 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:78 msgid "Enabled" msgstr "Aktiviert" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:71 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:79 msgid "Show only disabled plugins" msgstr "Nur deaktivierte Plugins anzeigen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Bundled with OctoPrint" msgstr "Mit OctoPrint gebundlet" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Cannot be uninstalled through OctoPrint" msgstr "Kann nicht aus OctoPrint heraus deinstalliert werden" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:256 msgid "Incompatible to OctoPrint or the underlying Python environment" msgstr "Inkompatibel zu OctoPrint oder der Pythonumgebung" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Restart of OctoPrint needed for changes to take effect" -msgstr "" -"Ein Neustart von OctoPrint ist notwendig, damit die Änderungen wirksam " -"werden" +msgstr "Ein Neustart von OctoPrint ist notwendig, damit die Änderungen wirksam werden" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Pending install" msgstr "Bevorstehende Installation" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Pending uninstall" msgstr "Bevorstehende Deinstallation" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Disabled due to safe mode" msgstr "Deaktiviert aufgrund von aktivem Sicherheitsmodus" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "There are notices available regarding this plugin" msgstr "Es gibt keine Nachrichten zu diesem Plugin" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "This plugin is blacklisted" msgstr "Das Plugin ist geblacklistet" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:91 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:233 -#: src/octoprint/templates/index.jinja2:160 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:97 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:261 +#: src/octoprint/templates/footer.jinja2:7 msgid "Homepage" msgstr "Homepage" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:99 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:164 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:109 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:174 msgid "Cleanup Plugin Data" msgstr "Plugindaten löschen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:99 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:109 msgid "Uninstall Plugin" msgstr "Plugin deinstallieren" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:106 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:116 msgid "Get More..." msgstr "Mehr..." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:135 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:145 msgid "Reshow current notices" msgstr "Aktuelle Nachrichten erneut anzeigen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:136 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:146 msgid "Refresh notices from repository" msgstr "Nachrichten von Repository neu laden" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:144 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:154 msgid "Refresh" msgstr "Auffrischen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:154 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:164 #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorGeneral.jinja2:10 msgid "Identifier" msgstr "ID" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:171 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:181 msgid "Cleanup all" msgstr "Alle Daten löschen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:174 -msgid "" -"Nothing to cleanup! There are no settings or data left over from plugins " -"which are no longer installed." -msgstr "" -"Nichts zu löschen! Es gibt keine Einstellungen oder Daten, die von " -"Plugins übrig geblieben sind, die nicht mehr installiert sind." +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:184 +msgid "Nothing to cleanup! There are no settings or data left over from plugins which are no longer installed." +msgstr "Nichts zu löschen! Es gibt keine Einstellungen oder Daten, die von Plugins übrig geblieben sind, die nicht mehr installiert sind." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:194 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:204 msgid "Install new Plugins..." msgstr "Installation neuer Plugins..." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:203 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:214 #, python-format msgid "... from the Plugin Repository" msgstr "... vom Plugin Repository" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:209 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:227 msgid "Sort by title" msgstr "Nach Titel sortieren" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:210 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:228 msgid "Sort by publication date" msgstr "Nach Veröffentlichungsdatum sortieren" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:212 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:229 +msgid "Sort by last release date" +msgstr "Nach letztem Releasedatum sortieren" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:230 +msgid "Sort by last push date" +msgstr "Nach letztem Pushdatum sortieren" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:231 +msgid "Sort by active instance count" +msgstr "Nach Anzahl aktiver Instanzen sortieren" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:232 +msgid "Sort by Github stars" +msgstr "Nach Anzahl Github Stars sortieren" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:234 msgid "Only show uninstalled plugins" msgstr "Nur uninstallierte Plugins anzeigen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:213 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:235 msgid "Only show compatible plugins" msgstr "Nur kompatible Plugins anzeigen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:215 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:236 +msgid "Only show unabandoned plugins" +msgstr "Nur ungepflegte Plugins anzeigen" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:238 msgid "Refresh list from repository" msgstr "Liste vom Repository neu laden" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:232 -#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:6 -#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:5 -msgid "Details" -msgstr "Details" - -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:241 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:251 msgid "\"Why?\"" msgstr "\"Warum?\"" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:250 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:255 +msgid "Abandoned by its maintainer" +msgstr "Vom Maintainer nicht mehr gepflegt" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:266 +msgid "License" +msgstr "Lizenz" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:267 +msgid "Publication date" +msgstr "Veröffentlichungsdatum" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:268 +msgid "Active instances past month" +msgstr "Aktive Instanzen im letzten Monat" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:269 +msgid "Github stars" +msgstr "Github Stars" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:270 +msgid "Last push to main branch" +msgstr "Letzter Push zum Hauptbranch" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:271 +msgid "Latest release & date" +msgstr "Letztes Release und Releasedatum" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:278 +msgid "plugins displayed" +msgstr "Plugins angezeigt" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:283 msgid "Sadly the repository is currently not available" msgstr "Das Repository ist leider zur Zeit nicht verfügbar" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:253 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:286 msgid "Is your OctoPrint installation connected to the internet?" msgstr "Ist Deine OctoPrint Installation mit dem Internet verbunden?" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:260 -msgid "It looks like there are no compatible plugins available" -msgstr "Es sieht so aus als wären keine kompatiblen Plugins verfügbar" +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:293 +msgid "It looks like there are no plugins that match your search criteria" +msgstr "Es sieht so aus als wären keine Plugins verfügbar, die der Suche entsprechen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:265 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:298 msgid "... from URL" msgstr "... von URL" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:270 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:303 msgid "Enter URL..." msgstr "URL eingeben..." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:274 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:307 #, python-format -msgid "" -"This does not look like a valid URL. Expected http, https or any of the " -"supported VCS URLs." -msgstr "" -"Das sieht nicht wie eine valide URL aus. Erwarte http, https oder eine " -"der unterstützten VCS URLs." +msgid "This does not look like a valid URL. Expected http, https or any of the supported VCS URLs." +msgstr "Das sieht nicht wie eine valide URL aus. Erwarte http, https oder eine der unterstützten VCS URLs." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:277 -msgid "... from an uploaded archive" -msgstr "... von einem hochgeladenen Archiv" +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:310 +msgid "... from an uploaded file" +msgstr "... von einer hochgeladenen Datei" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:290 -msgid "" -"This does not look like a valid plugin archive. Valid plugin archives " -"should be either zip files or tarballs and have the extension \".zip\", " -"\".tar.gz\", \".tgz\" or \".tar\"" -msgstr "" -"Das sieht nicht aus wie ein valides Pluginarchiv. Valide Pluginarchive " -"sollten entweder ZIP-Dateien oder Tarballs sein und die Dateiextension " -"\".zip\", \".tar.gz\", \".tgz\" oder \".tar\" haben" +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:323 +msgid "This does not look like a valid plugin. Valid plugins should be either zip files or tarballs installable via pip that have the extension \".zip\", \".tar.gz\", \".tgz\" or \".tar\", or single file python plugins with the extension \".py\"" +msgstr "Das sieht nicht wie valides Plugin aus. Valide Plugins sollten entweder Zipdateien oder Tarballs sein, die über pip installiert werden können und die Endungen \".zip\", \".tar.gz\", \".tgz\" oder \".tar\" haben, oder Single File Plugins mit der Endung \".py\"" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:300 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:333 msgid "Use --process-dependency-links with pip install" -msgstr "" -"--process-dependency-link mit pip install " -"verwenden" +msgstr "--process-dependency-link mit pip install verwenden" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:321 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:355 msgid "Confirmations" msgstr "Bestätigungsdialoge" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:323 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:326 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:357 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:360 msgid "Confirm before disabling a plugin" msgstr "Deaktivierung eines Plugins bestätigen lassen" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:332 -msgid "" -"You should normally not have to change " -"any of the following settings, they are purely provided " -"for convenience here." -msgstr "" -"Du solltest keine der folgenden Einstellungen ändern " -"müssen, sie sind hier nur aus Gründen der Vollständigkeit aufgeführt." +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:366 +msgid "You should normally not have to change any of the following settings, they are purely provided for convenience here." +msgstr "Du solltest keine der folgenden Einstellungen ändern müssen, sie sind hier nur aus Gründen der Vollständigkeit aufgeführt." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:335 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:369 msgid "Plugin repository configuration" msgstr "Pluginrepositorykonfiguration" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:337 -msgid "" -"URL of the Plugin Repository to use. You should normally not have to " -"change this." -msgstr "" -"URL des zu nutzenden Pluginrepositories. Du solltest hier normalerweise " -"nichts ändern müssen." +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:371 +msgid "URL of the Plugin Repository to use. You should normally not have to change this." +msgstr "URL des zu nutzenden Pluginrepositories. Du solltest hier normalerweise nichts ändern müssen." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:338 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:372 msgid "Repository URL" msgstr "Repository-URL" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:343 -msgid "" -"How long to cache repository data, in minutes. You should normally not " -"have to change this." -msgstr "" -"Wie lange die Repositorydaten gecached werden sollen, in Minuten. Du " -"solltest hier normalerweise nichts ändern müssen." +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:377 +msgid "How long to cache repository data, in minutes. You should normally not have to change this." +msgstr "Wie lange die Repositorydaten gecached werden sollen, in Minuten. Du solltest hier normalerweise nichts ändern müssen." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:344 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:378 msgid "Repository cache TTL" msgstr "Repository-Cache TTL" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:355 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:389 msgid "Notices configuration" msgstr "Nachrichtenkonfiguration" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:357 -msgid "" -"URL of the Notices source to use. You should normally not have to change " -"this." -msgstr "" -"URL der zu nutzenden Nachrichtenquelle. Du solltest hier normalerweise " -"nichts ändern müssen." +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:391 +msgid "URL of the Notices source to use. You should normally not have to change this." +msgstr "URL der zu nutzenden Nachrichtenquelle. Du solltest hier normalerweise nichts ändern müssen." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:358 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:392 msgid "Notices URL" msgstr "Nachrichten URL" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:363 -msgid "" -"How long to cache notices, in minutes. You should normally not have to " -"change this." -msgstr "" -"Wie lange Nachrichten gecached werden sollen, in Minuten. Du solltest " -"hier normalerweise nichts ändern müssen." +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:397 +msgid "How long to cache notices, in minutes. You should normally not have to change this." +msgstr "Wie lange Nachrichten gecached werden sollen, in Minuten. Du solltest hier normalerweise nichts ändern müssen." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:364 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:398 msgid "Notices cache TTL" msgstr "Nachrichten-Cache TTL" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:375 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:409 msgid "pip configuration" msgstr "pip Konfiguration" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:377 -msgid "" -"Additional arguments for the pip command. You should normally not have to" -" change this." -msgstr "" -"Weitere Argument für den pip Befehl. Du solltest hier normalerweise " -"nichts ändern müssen." +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:411 +msgid "Additional arguments for the pip command. You should normally not have to change this." +msgstr "Weitere Argument für den pip Befehl. Du solltest hier normalerweise nichts ändern müssen." -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:378 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:412 msgid "Additional arguments" msgstr "Weitere Argumente" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:386 -msgid "" -"Force the use of the --user flag with pip " -"install" +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:420 +msgid "Force the use of the --user flag with pip install" msgstr "--user mit pip install verwenden" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:395 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:129 -#: src/octoprint/static/js/app/helpers.js:742 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:429 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:156 +#: src/octoprint/static/js/app/helpers.js:751 #: src/octoprint/templates/dialogs/files.jinja2:18 +#: src/octoprint/templates/dialogs/files.jinja2:40 #: src/octoprint/templates/dialogs/slicing.jinja2:57 #: src/octoprint/templates/dialogs/temperature.jinja2:31 #: src/octoprint/templates/sidebar/state.jinja2:31 msgid "Cancel" msgstr "Abbruch" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:396 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:130 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:430 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:157 #: src/octoprint/templates/dialogs/settings.jinja2:53 #: src/octoprint/templates/dialogs/temperature.jinja2:32 msgid "Save" msgstr "Speichern" -#: src/octoprint/plugins/softwareupdate/__init__.py:103 +#: src/octoprint/plugins/softwareupdate/__init__.py:109 msgid "Allows to check for software updates" msgstr "Erlaubt das Prüfen auf Softwareaktualisierungen" -#: src/octoprint/plugins/softwareupdate/__init__.py:108 +#: src/octoprint/plugins/softwareupdate/__init__.py:114 msgid "Allows to perform software updates" msgstr "Erlaubt das Durchführen von Softwareaktualisierungen" -#: src/octoprint/plugins/softwareupdate/__init__.py:587 -#: src/octoprint/templates/index.jinja2:157 +#: src/octoprint/plugins/softwareupdate/__init__.py:638 +msgid "Python package installation folder" +msgstr "Python-Paket-Installationsverzeichnis" + +#: src/octoprint/plugins/softwareupdate/__init__.py:639 +msgid "Plugin folder" +msgstr "Pluginverzeichnis" + +#: src/octoprint/plugins/softwareupdate/__init__.py:640 +msgid "System temporary files" +msgstr "Temporäre Dateien" + +#: src/octoprint/plugins/softwareupdate/__init__.py:661 +#: src/octoprint/templates/footer.jinja2:4 msgid "Python" msgstr "Python" -#: src/octoprint/plugins/softwareupdate/__init__.py:588 -#: src/octoprint/plugins/softwareupdate/__init__.py:1195 +#: src/octoprint/plugins/softwareupdate/__init__.py:664 +#: src/octoprint/plugins/softwareupdate/__init__.py:1299 msgid "pip" msgstr "pip" -#: src/octoprint/plugins/softwareupdate/__init__.py:589 +#: src/octoprint/plugins/softwareupdate/__init__.py:667 msgid "setuptools" msgstr "setuptools" -#: src/octoprint/plugins/softwareupdate/__init__.py:689 +#: src/octoprint/plugins/softwareupdate/__init__.py:774 #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_wizard.jinja2:1 msgid "Software Update" msgstr "Software Update" -#: src/octoprint/plugins/softwareupdate/__init__.py:1137 +#: src/octoprint/plugins/softwareupdate/__init__.py:1241 #: src/octoprint/server/views.py:635 #: src/octoprint/static/js/app/viewmodels/appearance.js:99 #: src/octoprint/static/js/app/viewmodels/appearance.js:104 @@ -2620,366 +2214,268 @@ msgstr "Software Update" #: src/octoprint/static/js/app/viewmodels/appearance.js:111 #: src/octoprint/static/js/app/viewmodels/appearance.js:113 #: src/octoprint/templates/dialogs/about/about.jinja2:1 -#: src/octoprint/templates/index.jinja2:156 +#: src/octoprint/templates/footer.jinja2:3 msgid "OctoPrint" msgstr "OctoPrint" -#: src/octoprint/plugins/softwareupdate/__init__.py:1337 -msgid "" -"Without this plugin OctoPrint will no longer be able to update itself or " -"any of your installed plugins which might put your system at risk." -msgstr "" -"Ohne dieses Plugin wird OctoPrint nicht länger in der Lage sein, sich " -"selbst oder deine installierten Plugins zu aktualisierten. Das könnte " -"dein System gefährden." +#: src/octoprint/plugins/softwareupdate/__init__.py:1443 +msgid "Without this plugin OctoPrint will no longer be able to update itself or any of your installed plugins which might put your system at risk." +msgstr "Ohne dieses Plugin wird OctoPrint nicht länger in der Lage sein, sich selbst oder deine installierten Plugins zu aktualisierten. Das könnte dein System gefährden." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:187 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:192 msgid "Release" msgstr "Release" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:188 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:193 msgid "Github Commit" msgstr "Githubcommit" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:189 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:194 msgid "Local checkout" msgstr "Lokaler Checkout" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:232 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:239 #, python-format msgid "%(name)s: %(version)s" msgstr "%(name)s: %(version)s" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:235 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:242 msgid "unknown" msgstr "unbekannt" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:252 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:454 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:468 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:647 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:262 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:466 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:480 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:659 msgid "Updating..." msgstr "Aktualisiere..." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:252 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:468 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:647 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:262 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:480 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:659 msgid "Updating, please wait." msgstr "Aktualisiere gerade, bitte warten." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:259 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:269 msgid "There are updates available for the following components:" msgstr "Es gibt Aktualisierungen für die folgenden Komponenten:" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:267 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:520 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:277 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:532 msgid "Release Notes" msgstr "Release Notes" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:274 -msgid "" -"This version of the Python environment is not supported for direct " -"updates." -msgstr "" -"Diese Version der Pythonumgebung unterstützt keine direkten " -"Aktualisierungen." - -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:276 -msgid "" -"Those components marked with can be updated" -" directly." -msgstr "" -"Die mit markierten Komponenten können " -"direkt aktualisiert werden." - -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:280 -msgid "" -"To have updates applied, get in touch with an administrator of this " -"OctoPrint instance." -msgstr "" -"Um Updates durchzuführen wende dich bitte an einen Administrator dieser " -"OctoPrint Instanz." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:284 +msgid "This version of the Python environment is not supported for direct updates." +msgstr "Diese Version der Pythonumgebung unterstützt keine direkten Aktualisierungen." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:286 +msgid "There's currently not enough free disk space available for a direct update." +msgstr "Der Plattenplatz reicht aktuell nicht für ein Softwareupdate." + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:288 +msgid "Those components marked with can be updated directly." +msgstr "Die mit markierten Komponenten können direkt aktualisiert werden." + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:292 +msgid "To have updates applied, get in touch with an administrator of this OctoPrint instance." +msgstr "Um Updates durchzuführen wende dich bitte an einen Administrator dieser OctoPrint Instanz." + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:298 msgid "Update Available" msgstr "Aktualisierung verfügbar" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:302 -msgid "" -"You can make this message display again via \"Settings\" > \"Software " -"Update\" > \"Check for update now\"" -msgstr "" -"Du kannst diese Nachricht erneut anzeigen lassen mittels " -"\"Einstellungen\" > \"Software Update\" > \"Jetzt nach Aktualisierungen " -"suchen\"" +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:314 +msgid "You can make this message display again via \"Settings\" > \"Software Update\" > \"Check for update now\"" +msgstr "Du kannst diese Nachricht erneut anzeigen lassen mittels \"Einstellungen\" > \"Software Update\" > \"Jetzt nach Aktualisierungen suchen\"" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:306 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:318 msgid "Update now" msgstr "Jetzt aktualisieren" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:344 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:356 msgid "Everything is up-to-date" msgstr "Alles ist auf dem neusten Stand" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:368 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:380 msgid "No internet connection" msgstr "Keine Onlineverbindung" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:372 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:384 msgid "Update not possible" msgstr "Update nicht möglich" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:383 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:395 msgid "Unknown update check, configuration ok?" msgstr "Unbekannter Updatechecktyp, Konfiguration in Ordnung?" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:386 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:398 msgid "Cannot check for update, need online connection" msgstr "Updatecheck ist nicht möglich, benötige Onlineverbindung" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:389 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:401 msgid "Network error while checking for update" msgstr "Netzwerkfehler bei Updatecheck" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:392 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:404 msgid "Unknown error while checking for update, please check the logs" msgstr "Unbekannter Fehler beim Updatecheck, bitte prüfe die Logs" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:455 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:467 msgid "Now updating, please wait." msgstr "Aktualisiere gerade, bitte warten." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:473 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:485 msgid "Update not started!" msgstr "Aktualisierung nicht gestartet!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:474 -msgid "" -"The update could not be started. Is it already active? Please consult " -"octoprint.log for details." -msgstr "" -"Die Aktualisierung konnte nicht gestartet werden. Läuft bereits eine? " -"Bitte konsultiere octoprint.log für Details." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:486 +msgid "The update could not be started. Is it already active? Please consult octoprint.log for details." +msgstr "Die Aktualisierung konnte nicht gestartet werden. Läuft bereits eine? Bitte konsultiere octoprint.log für Details." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:496 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:508 msgid "Can't update while printing" msgstr "Aktualisierung nicht möglich während gedruckt wird" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:497 -msgid "" -"A print job is currently in progress. Updating will be prevented until it" -" is done." -msgstr "" -"Ein Druckjob ist zur Zeit aktiv. Aktualisierungen werden unterbunden bis " -"er fertig ist." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:509 +msgid "A print job is currently in progress. Updating will be prevented until it is done." +msgstr "Ein Druckjob ist zur Zeit aktiv. Aktualisierungen werden unterbunden bis er fertig ist." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:506 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:518 msgid "Can't update while throttled" msgstr "Aktualisierung nicht möglich bei reduzierter Systemleistung" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:507 -msgid "" -"Your system is currently throttled. OctoPrint refuses to run updates " -"while in this state due to possible stability issues." -msgstr "" -"Das System, auf dem OctoPrint läuft, ist aktuell leistungsbegrenzt. Um " -"mögliche Probleme in Folge von dadurch\n" -"verursachter Systeminstabilität zu verhindern, ist es daher aktuell nicht" -" möglich, Aktualisierungen durchzuführen." - -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:514 -msgid "This will update the following components and restart the server:" -msgstr "" -"Das wird die folgenden Komponenten aktualisieren und den Server neu " -"starten." - -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:525 -msgid "" -"Be sure to read through any linked release notes, especially those for " -"OctoPrint since they might contain important information you need to know" -" before upgrading." -msgstr "" -"Bitte lies alle verlinkten Release Notes, insbesondere die von OctoPrint," -" da diese wichtige Informationen behinhalten könnten, die Du " -"vor dem Softwareupdate wissen solltest." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:519 +msgid "Your system is currently throttled. OctoPrint refuses to run updates while in this state due to possible stability issues." +msgstr "Das System, auf dem OctoPrint läuft, ist aktuell leistungsbegrenzt. Um mögliche Probleme in Folge von dadurch\n" +"verursachter Systeminstabilität zu verhindern, ist es daher aktuell nicht möglich, Aktualisierungen durchzuführen." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:526 +msgid "This will update the following components and restart the server:" +msgstr "Das wird die folgenden Komponenten aktualisieren und den Server neu starten." + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:537 +msgid "Be sure to read through any linked release notes, especially those for OctoPrint since they might contain important information you need to know before upgrading." +msgstr "Bitte lies alle verlinkten Release Notes, insbesondere die von OctoPrint, da diese wichtige Informationen behinhalten könnten, die Du vor dem Softwareupdate wissen solltest." + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:538 msgid "This action may disrupt any ongoing print jobs." msgstr "Das könnte laufende Druckaufträge unterbrechen." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:527 -msgid "" -"Depending on your printer's controller and general setup, restarting " -"OctoPrint may cause your printer to be reset." -msgstr "" -"Abhängig von deinem Druckerkontroller und generellem Setup könnte ein " -"Neustart von OctoPrint auch zum Neustart deines Druckers führen." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:539 +msgid "Depending on your printer's controller and general setup, restarting OctoPrint may cause your printer to be reset." +msgstr "Abhängig von deinem Druckerkontroller und generellem Setup könnte ein Neustart von OctoPrint auch zum Neustart deines Druckers führen." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:528 -#: src/octoprint/static/js/app/helpers.js:736 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:540 +#: src/octoprint/static/js/app/helpers.js:745 msgid "Are you sure you want to proceed?" msgstr "Bist Du sicher, dass du fortfahren willst?" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:530 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:542 msgid "Are you sure you want to update now?" msgstr "Bist Du sicher, dass du jetzt aktualisieren willst?" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:532 -#: src/octoprint/static/js/app/helpers.js:743 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:544 +#: src/octoprint/static/js/app/helpers.js:752 msgid "Proceed" msgstr "Fortfahren" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:662 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:674 #, python-format msgid "Now updating %(name)s to %(version)s" msgstr "Aktualisiere %(name)s auf %(version)s" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:679 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:691 msgid "Update successful, restarting!" msgstr "Aktualisierung erfolgreich, starte neu!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:680 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:692 msgid "The update finished successfully and the server will now be restarted." -msgstr "" -"Die Aktualisierung wurde erfolgreich durchgeführt und der Server wird " -"jetzt neu gestartet." +msgstr "Die Aktualisierung wurde erfolgreich durchgeführt und der Server wird jetzt neu gestartet." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:697 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:744 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:709 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:756 msgid "Restart failed" msgstr "Neustart fehlgeschlagen" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:698 -msgid "" -"The server apparently did not restart by itself, you'll have to do it " -"manually. Please consult octoprint.log on what went wrong." -msgstr "" -"Der Server hat anscheinend nicht von selbst neu gestartet, Du wirst das " -"manuell tun müssen. Bitte konsultiere octoprint.log." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:710 +msgid "The server apparently did not restart by itself, you'll have to do it manually. Please consult octoprint.log on what went wrong." +msgstr "Der Server hat anscheinend nicht von selbst neu gestartet, Du wirst das manuell tun müssen. Bitte konsultiere octoprint.log." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:718 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:730 msgid "The update finished successfully, please restart OctoPrint now." -msgstr "" -"Die Aktualisierung wurde erfolgreich abgeschlossen, bitte starte " -"OctoPrint jetzt neu." +msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen, bitte starte OctoPrint jetzt neu." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:720 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:732 msgid "The update finished successfully, please reboot the server now." -msgstr "" -"Die Aktualisierung wurde erfolgreich abgeschlossen, bitte reboote den " -"Server jetzt." +msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen, bitte reboote den Server jetzt." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:723 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:735 msgid "Update successful, restart required!" msgstr "Aktualisierung erfolgreich, Neustart notwendig!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:739 -msgid "" -"Restarting OctoPrint failed, please restart it manually. You might also " -"want to consult octoprint.log on what went wrong here." -msgstr "" -"Der Neustart von OctoPrint ist fehlgeschlagen, bitte starte es manuell " -"neu. Du solltest auch octoprint.log konsultieren, um herauszufinden, was " -"hier schief gelaufen ist." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:751 +msgid "Restarting OctoPrint failed, please restart it manually. You might also want to consult octoprint.log on what went wrong here." +msgstr "Der Neustart von OctoPrint ist fehlgeschlagen, bitte starte es manuell neu. Du solltest auch octoprint.log konsultieren, um herauszufinden, was hier schief gelaufen ist." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:741 -msgid "" -"Rebooting the server failed, please reboot it manually. You might also " -"want to consult octoprint.log on what went wrong here." -msgstr "" -"Reboot des Servers fehlgeschlagen, bitte reboote ihn manuell. Du solltest" -" auch octoprint.log konsultieren, um herauszufinden, was hier gerade " -"schief gelaufen ist." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:753 +msgid "Rebooting the server failed, please reboot it manually. You might also want to consult octoprint.log on what went wrong here." +msgstr "Reboot des Servers fehlgeschlagen, bitte reboote ihn manuell. Du solltest auch octoprint.log konsultieren, um herauszufinden, was hier gerade schief gelaufen ist." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:760 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:772 msgid "Update successful!" msgstr "Aktualisierung erfolgreich!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:761 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:773 msgid "The update finished successfully." msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen." -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:776 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:788 msgid "Update failed!" msgstr "Aktualisierung fehlgeschlagen!" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:777 -msgid "" -"The update did not finish successfully. Please consult " -"octoprint.log and " -"plugin_softwareupdate_console.log for details." -msgstr "" -"Die Aktualisierung wurde nicht erfolgreich abgeschlossen. Bitte " -"konsultiere octoprint.log und " -"plugin_softwareupdate_console.log für Details." +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:789 +msgid "The update did not finish successfully. Please consult octoprint.log and plugin_softwareupdate_console.log for details." +msgstr "Die Aktualisierung wurde nicht erfolgreich abgeschlossen. Bitte konsultiere octoprint.log und plugin_softwareupdate_console.log für Details." #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:1 -msgid "" -"\n" -" Please configure the checkout folder of OctoPrint, " -"otherwise\n" -" this plugin won't be able to update it. Click on the button\n" -" to do this. Also refer to the Documentation.\n" -msgstr "" +msgid "\n" +" Please configure the checkout folder of OctoPrint, otherwise\n" +" this plugin won't be able to update it. Click on the button\n" +" to do this. Also refer to the Documentation.\n" +msgstr "Bitte konfiguriere das Checkoutverzeichnis von OctoPrint, andernfalls kann dieses Plugin es nicht updaten. Klick dafür auf den Button. Siehe auch die Dokumentation.\n" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:6 -msgid "" -"\n" +msgid "\n" "

    \n" -" You are running a non-release version of OctoPrint but " -"are tracking OctoPrint\n" +" You are running a non-release version of OctoPrint but are tracking OctoPrint\n" " releases.\n" "

    \n" -" You probably want OctoPrint to track the matching development " -"version instead.\n" -" If you have a local OctoPrint checkout folder switched to another" -" branch,\n" -" simply switching over to \"Commit\" tracking " -"will already\n" +" You probably want OctoPrint to track the matching development version instead.\n" +" If you have a local OctoPrint checkout folder switched to another branch,\n" +" simply switching over to \"Commit\" tracking will already\n" " take care of that. Otherwise please take a look at the\n" -" Documentation.\n" +" Documentation.\n" "

    \n" -msgstr "" -"\n" -"

    Du nutzt eine unveröffentlichte Version von OctoPrint, " -"trackst aber OctoPrint Releases.

    Du willst " -"vermutlich, dass OctoPrint stattdessen die entsprechende " -"Entwicklungsversion trackt. Falls Du dein lokales OctoPrint-" -"Checkoutverzeichnis auf einen anderen Branch gewechselt hast, dann " -"wechsle das Tracking einfach auf \"Commit\". Ansonsten " -"wirf einen Blick in die Dokumentation.

    \n" +msgstr "\n" +"

    Du nutzt eine unveröffentlichte Version von OctoPrint, trackst aber OctoPrint Releases.

    Du willst vermutlich, dass OctoPrint stattdessen die entsprechende Entwicklungsversion trackt. Falls Du dein lokales OctoPrint-Checkoutverzeichnis auf einen anderen Branch gewechselt hast, dann wechsle das Tracking einfach auf \"Commit\". Ansonsten wirf einen Blick in die Dokumentation.

    \n" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:18 -msgid "" -"\n" +msgid "\n" "

    \n" -" This version of the Python environment is not supported " -"for direct updates.\n" +" This version of the Python environment is not supported for direct updates.\n" "

    \n" "

    \n" -" To reduce the likelihood of running into update problems in " -"outdated environments, the following minimal\n" -" versions are required to use this updater to update OctoPrint or " -"any installed plugins:\n" +" To reduce the likelihood of running into update problems in outdated environments, the following minimal\n" +" versions are required to use this updater to update OctoPrint or any installed plugins:\n" "

    \n" -msgstr "" -"\n" +msgstr "\n" "

    \n" -" Diese Version der Pythonumgebung wird für direkt " -"Aktualisierungen nicht unterstützt.\n" +" Diese Version der Pythonumgebung wird für direkt Aktualisierungen nicht unterstützt.\n" "

    \n" "

    \n" -" Um die Wahrscheinlichkeit von Aktualisierungsproblemen in " -"veralteten Umgebungen zu reduzieren, werden die folgenden minimalen\n" -" Versionen vorausgesetzt, um diesen Updater zur Aktualisierung von" -" OctoPrint oder installierten Plugins zu nutzen:\n" +" Um die Wahrscheinlichkeit von Aktualisierungsproblemen in veralteten Umgebungen zu reduzieren, werden die folgenden minimalen\n" +" Versionen vorausgesetzt, um diesen Updater zur Aktualisierung von OctoPrint oder installierten Plugins zu nutzen:\n" "

    \n" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:28 @@ -2987,185 +2483,170 @@ msgid "you have" msgstr "du hast" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:30 -msgid "" -"\n" +msgid "\n" "

    \n" -" Please take a look at this FAQ entry on how" -" to proceed.\n" +" Please take a look at this FAQ entry on how to proceed.\n" "

    \n" -msgstr "" -"\n" +msgstr "\n" "

    \n" -" Bitte schau dir diesen FAQ Eintrag an.\n" +" Bitte schau dir diesen FAQ Eintrag an.\n" "

    \n" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:35 -msgid "" -"\n" +#, python-format +msgid "\n" "

    \n" -" OctoPrint is running on a throttled system, updates are " -"disabled.\n" +" There is not enough free disk space available to run an update.\n" "

    \n" "

    \n" -" To reduce the likelihood of running into update problems on " -"throttled and hence potentially unstable systems\n" -" as seen in the past, OctoPrint doesn't support updating under " -"such conditions. Please fix the current issue\n" -" before trying to update. Take a look at the displayed warning in " -"the navigation bar to learn about what is\n" +" To reduce the likelihood of running into update problems due to insuffient disk space, OctoPrint requires\n" +" a minimum of %(min_free_storage)s free disk space in various locations:\n" +"

    \n" +msgstr "

    \n" +" Es gibt nicht genug freien Speicherplatz für ein Softwareupdate.\n" +"

    \n" +"

    \n" +" Um die Wahrscheinlichkeit von Problemen im Rahmen des Updateprozesses durch mangelnden Speicherplatz zu reduzieren, benötigt OctoPrint mindestens\n" +" %(min_free_storage)s freien Speicher in diversen Verzeichnissen:\n" +"

    \n" + +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:47 +msgid "\n" +"

    \n" +" Please take a look at this FAQ entry on how to proceed.\n" +"

    \n" +msgstr "\n" +"

    \n" +" Bitte schau dir diesen FAQ Eintrag an.\n" +"

    \n" + +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:52 +msgid "\n" +"

    \n" +" OctoPrint is running on a throttled system, updates are disabled.\n" +"

    \n" +"

    \n" +" To reduce the likelihood of running into update problems on throttled and hence potentially unstable systems\n" +" as seen in the past, OctoPrint doesn't support updating under such conditions. Please fix the current issue\n" +" before trying to update. Take a look at the displayed warning in the navigation bar to learn about what is\n" " wrong and to get hints on how to solve the problem.\n" "

    \n" -msgstr "" -"\n" +msgstr "\n" "

    \n" -" OctoPrint läuft auf einem leistungsreduzierten System, " -"Updates sind deaktiviert.\n" +" OctoPrint läuft auf einem leistungsreduzierten System, Updates sind deaktiviert.\n" "

    \n" "

    \n" -" Um die Wahrscheinlichkeit von Updateproblemen aufgrund von durch " -"Leistungsreduktion möglicherweise verursachter\n" -" Systeminstabilität zu reduzieren, unterstützt OctoPrint keine " -"Updates unter solchen Bedingungen. Bitte löse das aktuelle\n" -" Problem bevor du ein Update durchführst. Schau dir die angezeigte" -" Warnung in der Navigationsleiste an, finde heraus,\n" +" Um die Wahrscheinlichkeit von Updateproblemen aufgrund von durch Leistungsreduktion möglicherweise verursachter\n" +" Systeminstabilität zu reduzieren, unterstützt OctoPrint keine Updates unter solchen Bedingungen. Bitte löse das aktuelle\n" +" Problem bevor du ein Update durchführst. Schau dir die angezeigte Warnung in der Navigationsleiste an, finde heraus,\n" " was nicht stimmt und wie du es möglicherweise beheben kannst.\n" "

    \n" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:46 -msgid "" -"\n" +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:63 +msgid "\n" "

    \n" -" OctoPrint is currently printing, updates are " -"disabled.\n" +" OctoPrint is currently printing, updates are disabled.\n" "

    \n" "

    \n" -" Running updates is not supported while printing in order to not " -"risk any kind of disruption to the print job.\n" +" Running updates is not supported while printing in order to not risk any kind of disruption to the print job.\n" " Please let the print finish before trying to update.\n" "

    \n" -msgstr "" -"\n" +msgstr "\n" "

    \n" -" OctoPrint druckt aktuell, Updates sind " -"deaktiviert.\n" +" OctoPrint druckt aktuell, Updates sind deaktiviert.\n" "

    \n" "

    \n" -" Updates sind nicht unterstützt, während OctoPrint druckt. Dadurch" -" werden Unterbrechungen des Druckauftrags vermieden.\n" -" Bitte lass den Druckauftrag erst vollenden, bevor du ein Update " -"anstößt.\n" +" Updates sind nicht unterstützt, während OctoPrint druckt. Dadurch werden Unterbrechungen des Druckauftrags vermieden.\n" +" Bitte lass den Druckauftrag erst vollenden, bevor du ein Update anstößt.\n" "

    \n" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:60 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:77 msgid "Current versions" msgstr "Aktuelle Versionen" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:67 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:84 msgid "Update available" msgstr "Aktualisierung verfügbar" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:70 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:87 msgid "Update" msgstr "Aktualisieren" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:73 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:90 msgid "Installed:" msgstr "Installiert:" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:74 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:91 msgid "Available:" msgstr "Verfügbar:" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:75 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:92 msgid "Release Notes:" msgstr "Release Notes:" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:84 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:101 msgid "Update all" msgstr "Alle aktualisieren" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:85 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:102 msgid "Check for update now" msgstr "Jetzt nach Aktualisierungen suchen" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:90 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:107 msgid "Last cache refresh:" msgstr "Letzter Cacherefresh:" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:91 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:108 msgid "Force check for update (overrides cache used for update checks)" -msgstr "" -"Suche nach Aktualisierungen forcieren (ignoriert den Cache für " -"Aktualisierungsinformationen)" +msgstr "Suche nach Aktualisierungen forcieren (ignoriert den Cache für Aktualisierungsinformationen)" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:92 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:109 msgid "Force update now (even if no new versions are available)" -msgstr "" -"Aktualisierung forcieren (selbst wenn keine neuen Versionen verfügbar " -"sind)" +msgstr "Aktualisierung forcieren (selbst wenn keine neuen Versionen verfügbar sind)" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:110 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:127 msgid "Version cache TTL" msgstr "TTL des Versionscaches" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:121 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:138 msgid "Show update notifications to users" msgstr "Updatebenachrichtigungen auch Usern anzeigen" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:122 -msgid "" -"If you uncheck this, only logged in admins will see update notifications." -" Update notifications shown to users do not include the \"Update now\" " -"button." -msgstr "" -"Wenn du das deselektierst werden nur eingeloggte Administratoren " -"Updatebenachrichtigungen sehen. Updatebenachrichtigungen, die Usern " -"gezeigt werden, beinhalten keinen \"Jetzt aktualisieren\" Button." +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:139 +msgid "If you uncheck this, only logged in admins will see update notifications. Update notifications shown to users do not include the \"Update now\" button." +msgstr "Wenn du das deselektierst werden nur eingeloggte Administratoren Updatebenachrichtigungen sehen. Updatebenachrichtigungen, die Usern gezeigt werden, beinhalten keinen \"Jetzt aktualisieren\" Button." -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:140 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:144 +msgid "Minimum free disk space" +msgstr "Benötigter freier Speicherplatz" + +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:149 +msgid "The minimum amount of free disk space that has to be available on various locations for OctoPrint to allow updates. Should not be set to 0." +msgstr "Der minimal benötigte freie Speicherplatz, der in diversen Verzeichnissen verfügbar sein muss, damit OctoPrint Softwareupdates erlaubt. Sollte nicht auf 0 gesetzt werden." + +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:167 msgid "Update in progress, please wait." msgstr "Aktualisiere gerade, bitte warten." -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:141 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:168 msgid "Update done, please close this window." msgstr "Update beendet, bitte schließe diesen Dialog." #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_wizard.jinja2:3 -msgid "" -"

    \n" -" By default, OctoPrint will update itself via pip to " -"published releases or commits pushed\n" -" to Github. OctoPrint can also update itself via git to " -"arbitrary development branches you need to check out manually.\n" -" If you want to do that though it needs to know its checkout folder. " -"You can configure that here.\n" +msgid "

    \n" +" By default, OctoPrint will update itself via pip to published releases or commits pushed\n" +" to Github. OctoPrint can also update itself via git to arbitrary development branches you need to check out manually.\n" +" If you want to do that though it needs to know its checkout folder. You can configure that here.\n" "

    " -msgstr "" -"

    Standardmäßig nutzt OctoPrint pip um sich bei neuen " -"Releases selbst zu aktualisieren. OctoPrint kann sich auch via " -"git von beliebigen manuell ausgecheckten " -"Entwicklungsbranches aktualisieren. Falls du das tun willst muss " -"OctoPrint allerdings auch sein Checkoutfolder kennen. Das kannst du hier " -"konfigurieren.

    " +msgstr "

    Standardmäßig nutzt OctoPrint pip um sich bei neuen Releases selbst zu aktualisieren. OctoPrint kann sich auch via git von beliebigen manuell ausgecheckten Entwicklungsbranches aktualisieren. Falls du das tun willst muss OctoPrint allerdings auch sein Checkoutfolder kennen. Das kannst du hier konfigurieren.

    " #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_wizard.jinja2:15 -msgid "" -"

    \n" -" If you are running a release version of OctoPrint, leave at " -"\"Release\" tracking. If you are running a different\n" -" branch however on a manual checkout, you should setup \"Local " -"Checkout\" tracking. For more special cases you might\n" -" want to select \"Github Commit\" tracking - you normally shouldn't " -"need to however.\n" +msgid "

    \n" +" If you are running a release version of OctoPrint, leave at \"Release\" tracking. If you are running a different\n" +" branch however on a manual checkout, you should setup \"Local Checkout\" tracking. For more special cases you might\n" +" want to select \"Github Commit\" tracking - you normally shouldn't need to however.\n" "

    " -msgstr "" -"

    Wenn du eine Releaseversion von OctoPrint nutzt, lass hier \"Release\"" -" Tracking eingestellt. Falls du allerdings einen anderen Branch nutzt " -"solltest du auf \"Lokaler Checkout\" tracking umstellen. Für speziellere " -"Szenarien möchtest evtl auch \"Githubcommit\" tracking auswählen - " -"normalerweise sollte das jedoch nicht nötig sein.

    " +msgstr "

    Wenn du eine Releaseversion von OctoPrint nutzt, lass hier \"Release\" Tracking eingestellt. Falls du allerdings einen anderen Branch nutzt solltest du auf \"Lokaler Checkout\" tracking umstellen. Für speziellere Szenarien möchtest evtl auch \"Githubcommit\" tracking auswählen - normalerweise sollte das jedoch nicht nötig sein.

    " #: src/octoprint/plugins/softwareupdate/templates/snippets/plugins/softwareupdate/checkoutFolder.jinja2:2 msgid "OctoPrint checkout folder" @@ -3180,17 +2661,8 @@ msgid "Enable pip update checks" msgstr "pip Updatechecks aktivieren" #: src/octoprint/plugins/softwareupdate/templates/snippets/plugins/softwareupdate/pipEnableCheck.jinja2:5 -msgid "" -"If you check this, OctoPrint will also notify you of updates of the " -"pip tool used by OctoPrint to install plugins and updates " -"and allow you to update it through OctoPrint. pip is outside" -" of the control of the OctoPrint maintainer, so enable at your own risk." -msgstr "" -"Wenn du das aktivierst wird dich OctoPrint auch auf Aktualisierungen für " -"das pip Tool hinweisen, das OctoPrint nutzt um Plugins und " -"Updates zu installieren, und dir erlauben, es über OctoPrint zu " -"aktualisieren. pip ist nicht unter der Kontrolle der " -"OctoPrint-Maintainer, aktiviere diese Prüfung auf eigene Gefahr." +msgid "If you check this, OctoPrint will also notify you of updates of the pip tool used by OctoPrint to install plugins and updates and allow you to update it through OctoPrint. pip is outside of the control of the OctoPrint maintainer, so enable at your own risk." +msgstr "Wenn du das aktivierst wird dich OctoPrint auch auf Aktualisierungen für das pip Tool hinweisen, das OctoPrint nutzt um Plugins und Updates zu installieren, und dir erlauben, es über OctoPrint zu aktualisieren. pip ist nicht unter der Kontrolle der OctoPrint-Maintainer, aktiviere diese Prüfung auf eigene Gefahr." #: src/octoprint/plugins/softwareupdate/templates/snippets/plugins/softwareupdate/pipTarget.jinja2:2 msgid "OctoPrint pip target" @@ -3206,16 +2678,8 @@ msgstr "OctoPrint Release Channel" #: src/octoprint/plugins/softwareupdate/templates/snippets/plugins/softwareupdate/releaseChannel.jinja2:5 #, python-format -msgid "" -"Make sure you have read \"How to use the release channels to help " -"test release candidates\" before switching to a release channel other" -" than \"Stable\"" -msgstr "" -"Stelle sicher, dass du \"How to use the release channels to help " -"test release candidates\" gelesen hast, bevor du einen anderen " -"Release Channel als \"Stable\" auswählst." +msgid "Make sure you have read \"How to use the release channels to help test release candidates\" before switching to a release channel other than \"Stable\"" +msgstr "Stelle sicher, dass du \"How to use the release channels to help test release candidates\" gelesen hast, bevor du einen anderen Release Channel als \"Stable\" auswählst." #: src/octoprint/plugins/softwareupdate/templates/snippets/plugins/softwareupdate/trackedBranch.jinja2:2 msgid "Tracked branch" @@ -3236,27 +2700,13 @@ msgid "Please set up anonymous usage tracking" msgstr "Bitte konfiguriere das Anonymous Usage Tracking" #: src/octoprint/plugins/tracking/static/js/usage.js:54 -msgid "" -"You haven't yet decided on whether to enable or disable anonymous usage " -"tracking. You need to either enable or disable it before continuing." -msgstr "" -"Du hast noch nicht entschieden, ob das Anonymous Usage Tracking aktiviert" -" werden soll. Du musst es entweder aktivieren oder deaktivieren bevor du " -"fortfahren kannst." +msgid "You haven't yet decided on whether to enable or disable anonymous usage tracking. You need to either enable or disable it before continuing." +msgstr "Du hast noch nicht entschieden, ob das Anonymous Usage Tracking aktiviert werden soll. Du musst es entweder aktivieren oder deaktivieren bevor du fortfahren kannst." #: src/octoprint/plugins/tracking/static/js/usage.js:78 #, python-format -msgid "" -"Please open a bug report on this. Make sure to include all requested " -"information, including your JS console and octoprint.log." -msgstr "" -"Bitte eröffne einen Bugreport zu diesem Problem. Stelle sicher, dass du alle" -" erbetenen Daten zur Verfügung stellst, inklusive deiner JS " -"console und octoprint.log." +msgid "Please open a bug report on this. Make sure to include all requested information, including your JS console and octoprint.log." +msgstr "Bitte eröffne einen Bugreport zu diesem Problem. Stelle sicher, dass du alle erbetenen Daten zur Verfügung stellst, inklusive deiner JS console und octoprint.log." #: src/octoprint/plugins/tracking/templates/tracking_settings.jinja2:9 msgid "Enable anonymous usage tracking" @@ -3295,12 +2745,8 @@ msgid "Print started/cancelled/finished" msgstr "Druck gestartet/abgebrochen/beendet" #: src/octoprint/plugins/tracking/templates/tracking_settings.jinja2:41 -msgid "" -"Errors in the communication with the printer and/or reported by the " -"firmware" -msgstr "" -"Fehler in der Kommunikation mit dem Drucker und/oder gemeldet von der " -"Firmware" +msgid "Errors in the communication with the printer and/or reported by the firmware" +msgstr "Fehler in der Kommunikation mit dem Drucker und/oder gemeldet von der Firmware" #: src/octoprint/plugins/tracking/templates/tracking_settings.jinja2:44 msgid "Plugin installed/uninstalled/enabled/disabled" @@ -3323,13 +2769,8 @@ msgid "Configure Anonymous Usage Tracking" msgstr "Anonymous Usage Tracking konfigurieren" #: src/octoprint/plugins/tracking/templates/tracking_wizard.jinja2:8 -msgid "" -"Note: You can always change your decision and also " -"access more granular controls via Settings > Anonymous Usage Tracking." -msgstr "" -"Hinweis: Du kannst unter Einstellungen > Anonymous Usage" -" Tracking deine Entscheidung jederzeit ändern und auch auf feinere " -"Einstellungen zugreifen." +msgid "Note: You can always change your decision and also access more granular controls via Settings > Anonymous Usage Tracking." +msgstr "Hinweis: Du kannst unter Einstellungen > Anonymous Usage Tracking deine Entscheidung jederzeit ändern und auch auf feinere Einstellungen zugreifen." #: src/octoprint/plugins/tracking/templates/tracking_wizard.jinja2:12 msgid "Disable Anonymous Usage Tracking" @@ -3340,74 +2781,56 @@ msgid "Enable Anonymous Usage Tracking" msgstr "Anonymous Usage Tracking aktivieren" #: src/octoprint/plugins/tracking/templates/tracking_wizard.jinja2:17 -msgid "" -"\n" -" Anonymous Usage Tracking is enabled.\n" +msgid "\n" +" Anonymous Usage Tracking is enabled.\n" " " -msgstr "" -"\n" -" Anonymous Usage Tracking aktiviert.\n" +msgstr "\n" +" Anonymous Usage Tracking aktiviert.\n" " " #: src/octoprint/plugins/tracking/templates/tracking_wizard.jinja2:20 -msgid "" -"\n" -" Anonymous Usage Tracking is disabled.\n" +msgid "\n" +" Anonymous Usage Tracking is disabled.\n" " " -msgstr "" -"\n" -" Anonymous Usage Tracking deaktiviert.\n" +msgstr "\n" +" Anonymous Usage Tracking deaktiviert.\n" " " #: src/octoprint/plugins/tracking/templates/snippets/plugins/tracking/trackingDescription.jinja2:1 -msgid "" -"\n" +msgid "\n" "

    \n" -" Anonymous usage tracking provides valuable insights into how many " -"instances running what versions of OctoPrint are out there,\n" -" whether they are successfully completing print jobs and various other" -" metrics.\n" +" Anonymous usage tracking provides valuable insights into how many instances running what versions of OctoPrint are out there,\n" +" whether they are successfully completing print jobs and various other metrics.\n" "

    \n" "

    \n" -" By enabling it you help to identify problems with new releases and " -"release candidates early on, and to better\n" +" By enabling it you help to identify problems with new releases and release candidates early on, and to better\n" " tailor OctoPrint's future development to actual use.\n" "

    \n" -msgstr "" -"\n" +msgstr "\n" "

    \n" -" Anonymous Usage Tracking liefert wertvolle Einblicke, wieviele " -"Instanzen welche Versionen von OctoPrint da draußen laufen haben,\n" +" Anonymous Usage Tracking liefert wertvolle Einblicke, wieviele Instanzen welche Versionen von OctoPrint da draußen laufen haben,\n" " ob sie erfolgreich Drucke beenden und weitere Metriken.\n" "

    \n" "

    \n" -" Wenn du es aktivierst, hilfst du, Probleme mit neuen Releases und " -"Release Candidates frühzeitig zu erkennen und OctoPrints\n" -" Weiterentwicklung besser auf seine tatsächliche Nutzung " -"zuzuschneiden.\n" +" Wenn du es aktivierst, hilfst du, Probleme mit neuen Releases und Release Candidates frühzeitig zu erkennen und OctoPrints\n" +" Weiterentwicklung besser auf seine tatsächliche Nutzung zuzuschneiden.\n" "

    \n" #: src/octoprint/plugins/tracking/templates/snippets/plugins/tracking/trackingDetails.jinja2:1 -msgid "" -"\n" -" For details on what gets tracked, please refer to tracking.octoprint.org\n" -" and also the Privacy Policy at " -"tracking.octoprint.org.\n" -msgstr "" -"\n" -" Für Details, was genau getrackt wird, schau bitte auf tracking.octoprint.org\n" -" sowie die Privacy Policy auf " -"tracking.octoprint.org.\n" +msgid "\n" +" For details on what gets tracked, please refer to tracking.octoprint.org\n" +" and also the Privacy Policy at tracking.octoprint.org.\n" +msgstr "\n" +" Für Details, was genau getrackt wird, schau bitte auf tracking.octoprint.org\n" +" sowie die Privacy Policy auf tracking.octoprint.org.\n" + +#: src/octoprint/plugins/virtual_printer/templates/virtual_printer_settings.jinja2:7 +msgid "Enable the virtual printer" +msgstr "Virtuellen Drucker aktivieren" + +#: src/octoprint/plugins/virtual_printer/templates/virtual_printer_settings.jinja2:8 +msgid "If enabled, an additional serial port VIRTUAL will be available for connecting, backed by a fake printer implementation. Useful for development." +msgstr "Wenn aktiviert, so wird ein zusätzlicher Serialport VIRTUAL zur Verbindung zur Verfügung gestellt, mit einer Fake-Druckerimplementierung. Sinnvoll für die Entwicklung." #: src/octoprint/server/views.py:602 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:12 @@ -3483,7 +2906,7 @@ msgstr "API" #: src/octoprint/server/views.py:638 #: src/octoprint/templates/dialogs/settings/folders.jinja2:2 -#: src/octoprint/templates/sidebar/files_header.jinja2:12 +#: src/octoprint/templates/sidebar/files_header.jinja2:13 msgid "Folders" msgstr "Verzeichnisse" @@ -3518,32 +2941,16 @@ msgid "Shutdown system" msgstr "System herunterfahren" #: src/octoprint/server/api/system.py:188 -msgid "" -"You are about to shutdown the system.

    This action " -"may disrupt any ongoing print jobs (depending on your printer's " -"controller and general setup that might also apply to prints run directly" -" from your printer's internal storage)." -msgstr "" -"Dies wird dein System herunterfahren.

    Diese Aktion" -" wird laufende Druckaufträge unterbrechen (abhängig von deinem " -"Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, " -"die du direkt von der SD deines Druckers laufen lässt)." +msgid "You are about to shutdown the system.

    This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." +msgstr "Dies wird dein System herunterfahren.

    Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." #: src/octoprint/server/api/system.py:191 msgid "Reboot system" msgstr "System neustarten" #: src/octoprint/server/api/system.py:192 -msgid "" -"You are about to reboot the system.

    This action " -"may disrupt any ongoing print jobs (depending on your printer's " -"controller and general setup that might also apply to prints run directly" -" from your printer's internal storage)." -msgstr "" -"Dies wird dein System neu starten.

    Diese Aktion " -"wird laufende Druckaufträge unterbrechen (abhängig von deinem " -"Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, " -"die du direkt von der SD deines Druckers laufen lässt)." +msgid "You are about to reboot the system.

    This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." +msgstr "Dies wird dein System neu starten.

    Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." #: src/octoprint/server/api/system.py:195 #: src/octoprint/templates/snippets/settings/server/serverCommandServerRestart.jinja2:2 @@ -3551,204 +2958,124 @@ msgid "Restart OctoPrint" msgstr "OctoPrint neustarten" #: src/octoprint/server/api/system.py:196 -msgid "" -"You are about to restart the OctoPrint " -"server.

    This action may disrupt any ongoing print jobs " -"(depending on your printer's controller and general setup that might also" -" apply to prints run directly from your printer's internal storage)." -msgstr "" -"Dies wird deinen OctoPrint Server neu " -"starten.

    Diese Aktion wird laufende Druckaufträge " -"unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup " -"gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers" -" laufen lässt)." +msgid "You are about to restart the OctoPrint server.

    This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." +msgstr "Dies wird deinen OctoPrint Server neu starten.

    Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." #: src/octoprint/server/api/system.py:199 msgid "Restart OctoPrint in safe mode" msgstr "OctoPrint im Sicherheitsmodus neustarten" #: src/octoprint/server/api/system.py:200 -msgid "" -"You are about to restart the OctoPrint server in safe " -"mode.

    This action may disrupt any ongoing print jobs " -"(depending on your printer's controller and general setup that might also" -" apply to prints run directly from your printer's internal storage)." -msgstr "" -"Dies wird deinen OctoPrint Server im Safemode neu " -"starten.

    Diese Aktion wird laufende Druckaufträge " -"unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup " -"gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers" -" laufen lässt)." +msgid "You are about to restart the OctoPrint server in safe mode.

    This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." +msgstr "Dies wird deinen OctoPrint Server im Safemode neu starten.

    Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." #: src/octoprint/static/js/app/dataupdater.js:90 #: src/octoprint/static/js/app/dataupdater.js:109 -#: src/octoprint/static/js/app/helpers.js:656 +#: src/octoprint/static/js/app/helpers.js:665 #: src/octoprint/templates/overlays/offline.jinja2:6 msgid "Server is offline" msgstr "Der Server ist offline" #: src/octoprint/static/js/app/dataupdater.js:91 -msgid "" -"The server appears to be offline, at least I'm not getting any response " -"from it. I'll try to reconnect automatically over the next couple" -" of minutes, however you are welcome to try a manual reconnect " -"anytime using the button below." -msgstr "" -"Der Server scheint offline zu sein, zumindest kann ich mich nicht mit ihm" -" verbinden. Ich werde in den nächsten Minuten versuchen " -"mich erneut zu verbinden, aber Du kannst mittels des folgenden Buttons " -"auch jederzeit einen manuellen Verbindungsversuch anstoßen." +msgid "The server appears to be offline, at least I'm not getting any response from it. I'll try to reconnect automatically over the next couple of minutes, however you are welcome to try a manual reconnect anytime using the button below." +msgstr "Der Server scheint offline zu sein, zumindest kann ich mich nicht mit ihm verbinden. Ich werde in den nächsten Minuten versuchen mich erneut zu verbinden, aber Du kannst mittels des folgenden Buttons auch jederzeit einen manuellen Verbindungsversuch anstoßen." #: src/octoprint/static/js/app/dataupdater.js:110 -msgid "" -"The server appears to be offline, at least I'm not getting any response " -"from it. I could not reconnect automatically, but you " -"may try a manual reconnect using the button below." -msgstr "" -"Der Server scheint offline zu sein, zumindest kann ich mich nicht mit ihm" -" verbinden. Ich konnte mich nicht automatisch neu " -"verbinden, aber Du kannst mittels des folgenden Buttons einen " -"manuellen Verbindungsversuch anstoßen." +msgid "The server appears to be offline, at least I'm not getting any response from it. I could not reconnect automatically, but you may try a manual reconnect using the button below." +msgstr "Der Server scheint offline zu sein, zumindest kann ich mich nicht mit ihm verbinden. Ich konnte mich nicht automatisch neu verbinden, aber Du kannst mittels des folgenden Buttons einen manuellen Verbindungsversuch anstoßen." -#: src/octoprint/static/js/app/dataupdater.js:168 +#: src/octoprint/static/js/app/dataupdater.js:176 msgid "Unknown" msgstr "Unbekannt" -#: src/octoprint/static/js/app/dataupdater.js:171 +#: src/octoprint/static/js/app/dataupdater.js:179 msgid "Command line flag" msgstr "Kommandozeilenflag" -#: src/octoprint/static/js/app/dataupdater.js:175 +#: src/octoprint/static/js/app/dataupdater.js:183 msgid "Setting in config.yaml" msgstr "Einstellung in config.yaml" -#: src/octoprint/static/js/app/dataupdater.js:179 +#: src/octoprint/static/js/app/dataupdater.js:187 msgid "Problem during last startup" msgstr "Problem während des letzten Starts" -#: src/octoprint/static/js/app/dataupdater.js:185 +#: src/octoprint/static/js/app/dataupdater.js:193 msgid "Safe mode is active" msgstr "Sicherheitsmodus ist aktiv" -#: src/octoprint/static/js/app/dataupdater.js:186 +#: src/octoprint/static/js/app/dataupdater.js:194 #, python-format -msgid "" -"

    The server is currently running in safe mode. Third party plugins and " -"language packs are disabled and cannot be enabled.

    Reason: " -"%(reason)s

    " -msgstr "" -"

    Der Server ist aktuell im Sicherheitsmodus. Third-Party-Plugins sind " -"deaktiviert und können nicht aktiviert werden.

    Grund: " -"%(reason)s

    " +msgid "

    The server is currently running in safe mode. Third party plugins and language packs are disabled and cannot be enabled.

    Reason: %(reason)s

    " +msgstr "

    Der Server ist aktuell im Sicherheitsmodus. Third-Party-Plugins sind deaktiviert und können nicht aktiviert werden.

    Grund: %(reason)s

    " -#: src/octoprint/static/js/app/dataupdater.js:235 -#: src/octoprint/static/js/app/viewmodels/files.js:962 -#: src/octoprint/static/js/app/viewmodels/files.js:969 +#: src/octoprint/static/js/app/dataupdater.js:238 +#: src/octoprint/static/js/app/viewmodels/files.js:1088 +#: src/octoprint/static/js/app/viewmodels/files.js:1095 #, python-format msgid "Slicing ... (%(percentage)d%%)" msgstr "Slice ... (%(percentage)d%%)" -#: src/octoprint/static/js/app/dataupdater.js:271 -#: src/octoprint/static/js/app/dataupdater.js:282 +#: src/octoprint/static/js/app/dataupdater.js:274 +#: src/octoprint/static/js/app/dataupdater.js:285 msgid "Error reported by printer" msgstr "Fehler vom Drucker gemeldet" -#: src/octoprint/static/js/app/dataupdater.js:272 +#: src/octoprint/static/js/app/dataupdater.js:275 #, python-format -msgid "" -"Your printer's firmware reported an error. Due to that the ongoing print " -"job will be cancelled. Reported error: %(firmwareError)s" -msgstr "" -"Es gab einen unbehandelten Fehler bei der Kommunikation mit dem Drucker. " -"Daher wird der laufende Druckauftrag abgebrochen. Fehler: " -"%(firmwareError)s" +msgid "Your printer's firmware reported an error. Due to that the ongoing print job will be cancelled. Reported error: %(firmwareError)s" +msgstr "Es gab einen unbehandelten Fehler bei der Kommunikation mit dem Drucker. Daher wird der laufende Druckauftrag abgebrochen. Fehler: %(firmwareError)s" -#: src/octoprint/static/js/app/dataupdater.js:283 +#: src/octoprint/static/js/app/dataupdater.js:286 #, python-format -msgid "" -"Your printer's firmware reported an error. Due to that OctoPrint will " -"disconnect. Reported error: %(error)s" -msgstr "" -"Die Firmware Deines Druckers hat einen Fehler gemeldet. Darum hat " -"OctoPrint die Verbindung geschlossen. Gemeldeter Fehler: %(error)s" +msgid "Your printer's firmware reported an error. Due to that OctoPrint will disconnect. Reported error: %(error)s" +msgstr "Die Firmware Deines Druckers hat einen Fehler gemeldet. Darum hat OctoPrint die Verbindung geschlossen. Gemeldeter Fehler: %(error)s" -#: src/octoprint/static/js/app/dataupdater.js:289 +#: src/octoprint/static/js/app/dataupdater.js:292 msgid "Communication error" msgstr "Kommunikationsfehler" -#: src/octoprint/static/js/app/dataupdater.js:290 +#: src/octoprint/static/js/app/dataupdater.js:293 #, python-format -msgid "" -"There was a communication error while talking to your printer. Please " -"consult the terminal output and octoprint.log for details. Error: " -"%(error)s" -msgstr "" -"Es gab einen Fehler bei der Kommunikation mit dem Drucker. Bitte " -"konsultiere den Terminaloutput und octoprint.log für Details. Fehler: " -"%(error)s" +msgid "There was a communication error while talking to your printer. Please consult the terminal output and octoprint.log for details. Error: %(error)s" +msgstr "Es gab einen Fehler bei der Kommunikation mit dem Drucker. Bitte konsultiere den Terminaloutput und octoprint.log für Details. Fehler: %(error)s" -#: src/octoprint/static/js/app/dataupdater.js:294 +#: src/octoprint/static/js/app/dataupdater.js:297 msgid "Error connecting to printer" msgstr "Fehler bei der Verbindung zum Drucker" -#: src/octoprint/static/js/app/dataupdater.js:295 +#: src/octoprint/static/js/app/dataupdater.js:298 #, python-format -msgid "" -"There was an error while trying to connect to your printer. Error: " -"%(error)s" +msgid "There was an error while trying to connect to your printer. Error: %(error)s" msgstr "Es gab einen Fehler bei der Verbindung zum Drucker. Fehler: %(error)s" -#: src/octoprint/static/js/app/dataupdater.js:299 +#: src/octoprint/static/js/app/dataupdater.js:302 msgid "Error starting a print" msgstr "Fehler beim Start eines Drucks" -#: src/octoprint/static/js/app/dataupdater.js:300 +#: src/octoprint/static/js/app/dataupdater.js:303 #, python-format msgid "There was an error while trying to start a print job. Error: %(error)s" msgstr "Es gab einen Fehler beim Start eines Drucks. Fehler: %(error)s" -#: src/octoprint/static/js/app/dataupdater.js:309 +#: src/octoprint/static/js/app/dataupdater.js:311 msgid "Unknown error" msgstr "Unbekannter Fehler" -#: src/octoprint/static/js/app/dataupdater.js:310 +#: src/octoprint/static/js/app/dataupdater.js:312 #, python-format -msgid "" -"There was an unknown error while talking to your printer. Please consult " -"the terminal output and octoprint.log for details. Error: %(error)s" -msgstr "" -"Es gab einen unbekannten Fehler bei der Kommunikation mit dem Drucker. " -"Bitte konsultiere den Terminaloutput und octoprint.log für Details. " -"Fehler: %(error)s" +msgid "There was an unknown error while talking to your printer. Please consult the terminal output and octoprint.log for details. Error: %(error)s" +msgstr "Es gab einen unbekannten Fehler bei der Kommunikation mit dem Drucker. Bitte konsultiere den Terminaloutput und octoprint.log für Details. Fehler: %(error)s" -#: src/octoprint/static/js/app/dataupdater.js:330 -msgid "" -"It looks like your printer reset while a connection was active. If this " -"was intentional you may safely ignore this message. Otherwise you should " -"investigate why your printer reset itself, since this will interrupt " -"prints and also file transfers to your printer's SD." -msgstr "" -"Es sieht so als hätte sich der Drucker resettet während eine Verbindung " -"offen war. Falls das Absicht war kannst du diese Nachricht ignorieren. " -"Andernfalls solltest du prüfen, warum sich dein Drucker resettet hat, da " -"dies Druckaufträge und Filetransfers zu der SD Karte deines Druckers " -"unterbrechen wird." +#: src/octoprint/static/js/app/dataupdater.js:332 +msgid "It looks like your printer reset while a connection was active. If this was intentional you may safely ignore this message. Otherwise you should investigate why your printer reset itself, since this will interrupt prints and also file transfers to your printer's SD." +msgstr "Es sieht so als hätte sich der Drucker resettet während eine Verbindung offen war. Falls das Absicht war kannst du diese Nachricht ignorieren. Andernfalls solltest du prüfen, warum sich dein Drucker resettet hat, da dies Druckaufträge und Filetransfers zu der SD Karte deines Druckers unterbrechen wird." -#: src/octoprint/static/js/app/dataupdater.js:333 -msgid "" -"It looks like your printer reset while a connection was active. Due to " -"this the ongoing job was aborted. If this was intentional you may safely " -"ignore this message. Otherwise you should investigate why your printer " -"reset itself, since this will interrupt prints and also file transfers to" -" your printer's SD." -msgstr "" -"Es sieht so als hätte sich der Drucker resettet während eine Verbindung " -"offen war. Darum wurde ein laufender Druckauftrag abgebrochen. Falls das " -"Absicht war kannst du diese Nachricht ignorieren. Andernfalls solltest du" -" prüfen, warum sich dein Drucker resettet hat, da dies Druckaufträge und " -"Filetransfers zu der SD Karte deines Druckers unterbrechen wird." +#: src/octoprint/static/js/app/dataupdater.js:335 +msgid "It looks like your printer reset while a connection was active. Due to this the ongoing job was aborted. If this was intentional you may safely ignore this message. Otherwise you should investigate why your printer reset itself, since this will interrupt prints and also file transfers to your printer's SD." +msgstr "Es sieht so als hätte sich der Drucker resettet während eine Verbindung offen war. Darum wurde ein laufender Druckauftrag abgebrochen. Falls das Absicht war kannst du diese Nachricht ignorieren. Andernfalls solltest du prüfen, warum sich dein Drucker resettet hat, da dies Druckaufträge und Filetransfers zu der SD Karte deines Druckers unterbrechen wird." -#: src/octoprint/static/js/app/dataupdater.js:341 +#: src/octoprint/static/js/app/dataupdater.js:343 msgid "Printer reset detected" msgstr "Druckerreset erkannt" @@ -3842,14 +3169,14 @@ msgstr "YYYY-MM-DD HH:mm:ss" msgid "off" msgstr "Aus" -#: src/octoprint/static/js/app/helpers.js:733 +#: src/octoprint/static/js/app/helpers.js:742 #: src/octoprint/static/js/app/viewmodels/access.js:278 -#: src/octoprint/static/js/app/viewmodels/access.js:577 +#: src/octoprint/static/js/app/viewmodels/access.js:566 #: src/octoprint/static/js/app/viewmodels/connection.js:162 msgid "Are you sure?" msgstr "Bist Du sicher?" -#: src/octoprint/static/js/app/helpers.js:972 +#: src/octoprint/static/js/app/helpers.js:981 msgid "Progress" msgstr "Fortschritt" @@ -3858,76 +3185,72 @@ msgid "Offline" msgstr "Offline" #: src/octoprint/static/js/app/main.js:206 -msgid "Opening serial port" -msgstr "Öffnet Serialport" +msgid "Opening serial connection" +msgstr "Öffne serielle Verbindung" #: src/octoprint/static/js/app/main.js:207 -msgid "Detecting serial port" -msgstr "Detektiere Serialport" +msgid "Detecting serial connection" +msgstr "Detektiere serielle Verbindung" #: src/octoprint/static/js/app/main.js:208 -msgid "Detecting baudrate" -msgstr "Detektiere Baudrate" - -#: src/octoprint/static/js/app/main.js:209 msgid "Connecting" msgstr "Verbinde" -#: src/octoprint/static/js/app/main.js:210 +#: src/octoprint/static/js/app/main.js:209 msgid "Operational" msgstr "Bereit" -#: src/octoprint/static/js/app/main.js:211 +#: src/octoprint/static/js/app/main.js:210 msgid "Starting" msgstr "Starte" -#: src/octoprint/static/js/app/main.js:212 +#: src/octoprint/static/js/app/main.js:211 msgid "Starting print from SD" msgstr "Starte Druck von SD" -#: src/octoprint/static/js/app/main.js:213 +#: src/octoprint/static/js/app/main.js:212 msgid "Printing from SD" msgstr "Drucke von SD" -#: src/octoprint/static/js/app/main.js:214 +#: src/octoprint/static/js/app/main.js:213 msgid "Sending file to SD" msgstr "Sende Datei zu SD" -#: src/octoprint/static/js/app/main.js:215 +#: src/octoprint/static/js/app/main.js:214 msgid "Printing" msgstr "Drucke" -#: src/octoprint/static/js/app/main.js:216 +#: src/octoprint/static/js/app/main.js:215 msgid "Paused" msgstr "Pausiert" -#: src/octoprint/static/js/app/main.js:217 +#: src/octoprint/static/js/app/main.js:216 msgid "Closed" msgstr "Geschlossen" -#: src/octoprint/static/js/app/main.js:218 +#: src/octoprint/static/js/app/main.js:217 msgid "Transferring file to SD" msgstr "Sende Datei zu SD" -#: src/octoprint/static/js/app/main.js:219 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:446 +#: src/octoprint/static/js/app/main.js:218 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:460 msgid "Pausing" msgstr "Pausiere" -#: src/octoprint/static/js/app/main.js:220 +#: src/octoprint/static/js/app/main.js:219 msgid "Resuming" msgstr "Setze fort" -#: src/octoprint/static/js/app/main.js:221 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:455 +#: src/octoprint/static/js/app/main.js:220 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:469 msgid "Cancelling" msgstr "Breche ab" -#: src/octoprint/static/js/app/main.js:222 +#: src/octoprint/static/js/app/main.js:221 msgid "Finishing" msgstr "Beende" -#: src/octoprint/static/js/app/main.js:816 +#: src/octoprint/static/js/app/main.js:815 msgid "Loading OctoPrint's UI, please wait..." msgstr "Lade OctoPrints Userinterface, bitte warten..." @@ -3964,7 +3287,7 @@ msgstr "Gruppe hinzufügen" msgid "Edit group \"%(name)s\"" msgstr "Gruppe \"%(name)s\" bearbeiten" -#: src/octoprint/static/js/app/viewmodels/access.js:578 +#: src/octoprint/static/js/app/viewmodels/access.js:567 #, python-format msgid "You are about to delete the group \"%(name)s\"." msgstr "Du bist im Begriff die Gruppe\"%(name)s\" zu löschen." @@ -3980,19 +3303,8 @@ msgid "Disconnect" msgstr "Trennen" #: src/octoprint/static/js/app/viewmodels/connection.js:163 -msgid "" -"

    You are about to disconnect from the printer while a print is " -"in progress.

    Disconnecting while a print is in progress " -"will prevent OctoPrint from completing the print. If you're printing from" -" an SD card attached directly to the printer, any attempt to restart " -"OctoPrint or reconnect to the printer could interrupt the print.

    " -msgstr "" -"

    Du bist im Begriff, die Verbindung zu deinem Drucker zu " -"trennen während ein Druck läuft.

    Das Trennen der " -"Verbindung während eines Drucks wird OctoPrint daran hindern, diesen zu " -"vollenden. Falls du von der SD deines Druckers druckst, könnte jeglicher " -"Versuch, OctoPrint neuzustarten oder erneut mit dem Drucker zu verbinden " -"den Druck unterbrechen.

    " +msgid "

    You are about to disconnect from the printer while a print is in progress.

    Disconnecting while a print is in progress will prevent OctoPrint from completing the print. If you're printing from an SD card attached directly to the printer, any attempt to restart OctoPrint or reconnect to the printer could interrupt the print.

    " +msgstr "

    Du bist im Begriff, die Verbindung zu deinem Drucker zu trennen während ein Druck läuft.

    Das Trennen der Verbindung während eines Drucks wird OctoPrint daran hindern, diesen zu vollenden. Falls du von der SD deines Druckers druckst, könnte jeglicher Versuch, OctoPrint neuzustarten oder erneut mit dem Drucker zu verbinden den Druck unterbrechen.

    " #: src/octoprint/static/js/app/viewmodels/connection.js:169 msgid "Are you sure you want to disconnect from the printer?" @@ -4003,7 +3315,7 @@ msgid "Stay Connected" msgstr "Verbunden bleiben" #: src/octoprint/static/js/app/viewmodels/control.js:73 -#: src/octoprint/static/js/app/viewmodels/files.js:688 +#: src/octoprint/static/js/app/viewmodels/files.js:813 #: src/octoprint/static/js/app/viewmodels/gcode.js:570 #: src/octoprint/static/js/app/viewmodels/printerstate.js:299 #: src/octoprint/static/js/app/viewmodels/temperature.js:130 @@ -4027,178 +3339,160 @@ msgstr "Dein verfügbarer freier Plattenplatz wird langsam knapp." msgid "Your current disk usage." msgstr "Dein aktuell verfügbarer freier Plattenplatz." -#: src/octoprint/static/js/app/viewmodels/files.js:144 +#: src/octoprint/static/js/app/viewmodels/files.js:191 msgid "Only show model files" msgstr "Nur Modelldateien anzeigen" -#: src/octoprint/static/js/app/viewmodels/files.js:145 +#: src/octoprint/static/js/app/viewmodels/files.js:192 msgid "Only show machine code files" msgstr "Nur geslicete Dateien anzeigen" -#: src/octoprint/static/js/app/viewmodels/files.js:153 +#: src/octoprint/static/js/app/viewmodels/files.js:200 #, python-format msgid "Only show %(type)s files" msgstr "Nur \"%(type)s\"-Dateien anzeigen" -#: src/octoprint/static/js/app/viewmodels/files.js:453 +#: src/octoprint/static/js/app/viewmodels/files.js:522 #, python-format -msgid "" -"You are about to delete the folder \"%(folder)s\" which still contains " -"files and/or sub folders." -msgstr "" -"Du bist im Begriff das Verzeichnis \"%(folder)s\" zu löschen, das noch " -"Dateien und/oder Unterverzeichnisse enthält." +msgid "You are about to delete the folder \"%(folder)s\" which still contains files and/or sub folders." +msgstr "Du bist im Begriff das Verzeichnis \"%(folder)s\" zu löschen, das noch Dateien und/oder Unterverzeichnisse enthält." -#: src/octoprint/static/js/app/viewmodels/files.js:481 +#: src/octoprint/static/js/app/viewmodels/files.js:550 #: src/octoprint/static/js/app/viewmodels/printerstate.js:348 msgid "This will start a new print job. Please check that the print bed is clear." -msgstr "" -"Dies started einen neuen Druckauftrag. Bitte prüfe, dass das Druckbett " -"frei ist." +msgstr "Dies started einen neuen Druckauftrag. Bitte prüfe, dass das Druckbett frei ist." -#: src/octoprint/static/js/app/viewmodels/files.js:482 +#: src/octoprint/static/js/app/viewmodels/files.js:551 #: src/octoprint/static/js/app/viewmodels/printerstate.js:349 msgid "Do you want to start the print job now?" msgstr "Möchtest du den Druckauftrag jetzt starten?" -#: src/octoprint/static/js/app/viewmodels/files.js:483 +#: src/octoprint/static/js/app/viewmodels/files.js:552 #: src/octoprint/static/js/app/viewmodels/printerstate.js:350 msgid "No" msgstr "Nein" -#: src/octoprint/static/js/app/viewmodels/files.js:484 +#: src/octoprint/static/js/app/viewmodels/files.js:553 #: src/octoprint/static/js/app/viewmodels/printerstate.js:351 msgid "Yes" msgstr "Ja" -#: src/octoprint/static/js/app/viewmodels/files.js:678 +#: src/octoprint/static/js/app/viewmodels/files.js:650 +msgid "Unable to move file or folder" +msgstr "Kann Datei oder Verzeichnis nicht verschieben" + +#: src/octoprint/static/js/app/viewmodels/files.js:650 +msgid "to" +msgstr "nach" + +#: src/octoprint/static/js/app/viewmodels/files.js:803 #: src/octoprint/static/js/app/viewmodels/gcode.js:528 msgid "Model size" msgstr "Modelgröße" -#: src/octoprint/static/js/app/viewmodels/files.js:684 -#: src/octoprint/static/js/app/viewmodels/files.js:688 +#: src/octoprint/static/js/app/viewmodels/files.js:809 +#: src/octoprint/static/js/app/viewmodels/files.js:813 #: src/octoprint/static/js/app/viewmodels/gcode.js:566 #: src/octoprint/static/js/app/viewmodels/gcode.js:570 msgid "Filament" msgstr "Filament" -#: src/octoprint/static/js/app/viewmodels/files.js:693 +#: src/octoprint/static/js/app/viewmodels/files.js:818 #: src/octoprint/static/js/app/viewmodels/gcode.js:575 msgid "Estimated print time" msgstr "Geschätzte Dauer" -#: src/octoprint/static/js/app/viewmodels/files.js:696 +#: src/octoprint/static/js/app/viewmodels/files.js:821 msgid "Last printed" msgstr "Zuletzt gedruckt" -#: src/octoprint/static/js/app/viewmodels/files.js:698 +#: src/octoprint/static/js/app/viewmodels/files.js:823 msgid "Last print time" msgstr "Letzte Dauer" -#: src/octoprint/static/js/app/viewmodels/files.js:758 +#: src/octoprint/static/js/app/viewmodels/files.js:883 #, python-format -msgid "" -"Object in %(name)s exceeds the print volume of the currently selected " -"printer profile, be careful when printing this." -msgstr "" -"Objekt in %(name)s überschreitet das Druckvolumen des aktuell gewählten " -"Druckerprofils, sei vorsichtig, das zu drucken." +msgid "Object in %(name)s exceeds the print volume of the currently selected printer profile, be careful when printing this." +msgstr "Objekt in %(name)s überschreitet das Druckvolumen des aktuell gewählten Druckerprofils, sei vorsichtig, das zu drucken." -#: src/octoprint/static/js/app/viewmodels/files.js:768 +#: src/octoprint/static/js/app/viewmodels/files.js:893 msgid "Object exceeds print volume in width.
    " msgstr "Objekt überschreitet Druckvolumen in der Breite.
    " -#: src/octoprint/static/js/app/viewmodels/files.js:771 +#: src/octoprint/static/js/app/viewmodels/files.js:896 msgid "Object exceeds print volume in depth.
    " msgstr "Objekt überschreitet Druckvolumen in der Tiefe.
    " -#: src/octoprint/static/js/app/viewmodels/files.js:774 +#: src/octoprint/static/js/app/viewmodels/files.js:899 msgid "Object exceeds print volume in height.
    " msgstr "Objekt überschreitet Druckvolumen in der Höhe.
    " -#: src/octoprint/static/js/app/viewmodels/files.js:780 -msgid "" -"Object's bounding box: (%(object.minX).2f, %(object.minY).2f, " -"%(object.minZ).2f) × (%(object.maxX).2f, %(object.maxY).2f, " -"%(object.maxZ).2f)" -msgstr "" -"Objektmaße: (%(object.minX).2f, %(object.minY).2f, %(object.minZ).2f) " -"× (%(object.maxX).2f, %(object.maxY).2f, %(object.maxZ).2f)" +#: src/octoprint/static/js/app/viewmodels/files.js:905 +msgid "Object's bounding box: (%(object.minX).2f, %(object.minY).2f, %(object.minZ).2f) × (%(object.maxX).2f, %(object.maxY).2f, %(object.maxZ).2f)" +msgstr "Objektmaße: (%(object.minX).2f, %(object.minY).2f, %(object.minZ).2f) × (%(object.maxX).2f, %(object.maxY).2f, %(object.maxZ).2f)" -#: src/octoprint/static/js/app/viewmodels/files.js:782 -msgid "" -"Print volume: (%(profile.minX).2f, %(profile.minY).2f, " -"%(profile.minZ).2f) × (%(profile.maxX).2f, %(profile.maxY).2f, " -"%(profile.maxZ).2f)" -msgstr "" -"Druckvolumen: (%(profile.minX).2f, %(profile.minY).2f, " -"%(profile.minZ).2f) × (%(profile.maxX).2f, %(profile.maxY).2f, " -"%(profile.maxZ).2f)" +#: src/octoprint/static/js/app/viewmodels/files.js:907 +msgid "Print volume: (%(profile.minX).2f, %(profile.minY).2f, %(profile.minZ).2f) × (%(profile.maxX).2f, %(profile.maxY).2f, %(profile.maxZ).2f)" +msgstr "Druckvolumen: (%(profile.minX).2f, %(profile.minY).2f, %(profile.minZ).2f) × (%(profile.maxX).2f, %(profile.maxY).2f, %(profile.maxZ).2f)" -#: src/octoprint/static/js/app/viewmodels/files.js:789 +#: src/octoprint/static/js/app/viewmodels/files.js:914 msgid "Object doesn't fit print volume" msgstr "Objekt passt nicht in Druckvolumen" -#: src/octoprint/static/js/app/viewmodels/files.js:964 +#: src/octoprint/static/js/app/viewmodels/files.js:1090 msgid "Slicing ..." msgstr "Slice ..." -#: src/octoprint/static/js/app/viewmodels/files.js:990 +#: src/octoprint/static/js/app/viewmodels/files.js:1116 msgid "Slicing done" msgstr "Slicing abgeschlossen" -#: src/octoprint/static/js/app/viewmodels/files.js:991 +#: src/octoprint/static/js/app/viewmodels/files.js:1117 #, python-format msgid "Sliced %(stl)s to %(gcode)s, took %(time).2f seconds" msgstr "%(stl)s nach %(gcode)s geslicet, dauerte %(time).2f Sekunden" -#: src/octoprint/static/js/app/viewmodels/files.js:1006 +#: src/octoprint/static/js/app/viewmodels/files.js:1132 #, python-format msgid "Could not slice %(stl)s to %(gcode)s: %(reason)s" msgstr "Konnte %(stl)s nicht nach %(gcode)s slicen: %(reason)s" -#: src/octoprint/static/js/app/viewmodels/files.js:1007 +#: src/octoprint/static/js/app/viewmodels/files.js:1133 msgid "Slicing failed" msgstr "Slicing fehlgeschlagen" -#: src/octoprint/static/js/app/viewmodels/files.js:1024 +#: src/octoprint/static/js/app/viewmodels/files.js:1150 msgid "Streaming ..." msgstr "Streaming ..." -#: src/octoprint/static/js/app/viewmodels/files.js:1036 +#: src/octoprint/static/js/app/viewmodels/files.js:1162 msgid "Streaming done" msgstr "Streaming abgeschlossen" -#: src/octoprint/static/js/app/viewmodels/files.js:1037 +#: src/octoprint/static/js/app/viewmodels/files.js:1163 #, python-format msgid "Streamed %(local)s to %(remote)s on SD, took %(time).2f seconds" msgstr "%(local)s nach %(remote)s gestreamt, dauerte %(time).2f Sekunden" -#: src/octoprint/static/js/app/viewmodels/files.js:1053 +#: src/octoprint/static/js/app/viewmodels/files.js:1179 msgid "Streaming failed" msgstr "Streaming fehlgeschlagen" -#: src/octoprint/static/js/app/viewmodels/files.js:1054 +#: src/octoprint/static/js/app/viewmodels/files.js:1180 #, python-format msgid "Did not finish streaming %(local)s to %(remote)s on SD" msgstr "Streaming von %(local)s nach %(remote)s nicht abgeschlossen." -#: src/octoprint/static/js/app/viewmodels/files.js:1154 +#: src/octoprint/static/js/app/viewmodels/files.js:1278 #, python-format -msgid "" -"Could not upload the file. Make sure that it is a readable, valid file " -"with one of these extensions: %(extensions)s" -msgstr "" -"Konnte die Datei nicht hochladen. Bitte stelle sicher, dass es sich um " -"eine lesbare valide Datei mit einer dieser Erweiterungen ist: " -"%(extensions)s" +msgid "Could not upload the file. Make sure that it is a readable, valid file with one of these extensions: %(extensions)s" +msgstr "Konnte die Datei nicht hochladen. Bitte stelle sicher, dass es sich um eine lesbare valide Datei mit einer dieser Erweiterungen ist: %(extensions)s" -#: src/octoprint/static/js/app/viewmodels/files.js:1177 +#: src/octoprint/static/js/app/viewmodels/files.js:1301 msgid "Saving ..." msgstr "Speichere ..." -#: src/octoprint/static/js/app/viewmodels/files.js:1177 +#: src/octoprint/static/js/app/viewmodels/files.js:1301 msgid "Uploading ..." msgstr "Uploade ..." @@ -4257,29 +3551,8 @@ msgstr "Eingeloggt als %(name)s" #: src/octoprint/static/js/app/viewmodels/loginstate.js:88 #, python-format -msgid "" -"

    It seems that you are connecting to OctoPrint over the public " -"internet.

    This is strongly discouraged unless you have taken proper" -" network security precautions. Your printer is an appliance you really " -"should not be giving access to everyone with an internet " -"connection.

    Please see this blog post for ways" -" to safely access your OctoPrint instance from " -"remote.

    If you know what you are doing or you are " -"sure this message is mistaken since you are in an isolated LAN, feel free" -" to ignore it.

    " -msgstr "" -"

    Es scheint, dass du auf OctoPrint über das öffentliche Internet " -"zugreifst.

    Davon wird nachdrücklich abgeraten, sofern du nicht " -"weitere Maßnahmen für ordentliche Netzwerkabsicherung getroffen hast. " -"Dein Drucker ist ein Gerät, zu dem du wirklich nicht jedem mit einer " -"Internetverbindung Zugriff geben solltest.

    Bitte lies diesen " -"Blog Post über sichere Wege, auf deine OctoPrint Instanz auch von " -"unterwegs zuzugreifen.

    Wenn du dir sicher bist, was" -" du hier tust oder dass diese Meldung ein Fehler ist und du dich " -"tatsächlich in einem isolierten LAN befindest, ignoriere sie " -"einfach.

    " +msgid "

    It seems that you are connecting to OctoPrint over the public internet.

    This is strongly discouraged unless you have taken proper network security precautions. Your printer is an appliance you really should not be giving access to everyone with an internet connection.

    Please see this blog post for ways to safely access your OctoPrint instance from remote.

    If you know what you are doing or you are sure this message is mistaken since you are in an isolated LAN, feel free to ignore it.

    " +msgstr "

    Es scheint, dass du auf OctoPrint über das öffentliche Internet zugreifst.

    Davon wird nachdrücklich abgeraten, sofern du nicht weitere Maßnahmen für ordentliche Netzwerkabsicherung getroffen hast. Dein Drucker ist ein Gerät, zu dem du wirklich nicht jedem mit einer Internetverbindung Zugriff geben solltest.

    Bitte lies diesen Blog Post über sichere Wege, auf deine OctoPrint Instanz auch von unterwegs zuzugreifen.

    Wenn du dir sicher bist, was du hier tust oder dass diese Meldung ein Fehler ist und du dich tatsächlich in einem isolierten LAN befindest, ignoriere sie einfach.

    " #: src/octoprint/static/js/app/viewmodels/loginstate.js:103 msgid "Possible external access detected" @@ -4373,9 +3646,7 @@ msgid "Center" msgstr "Mittelpunkt" #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:513 -msgid "" -"There was unexpected error while saving the printer profile, please " -"consult the logs." +msgid "There was unexpected error while saving the printer profile, please consult the logs." msgstr "Unerwarteter Fehler beim Speichern des Profils, bitte konsultiere das Log" #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:514 @@ -4387,9 +3658,7 @@ msgid "Cannot delete the default profile or the currently active profile." msgstr "Kann weder das Defaultprofil noch das aktuell ausgewählte Profil löschen." #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:536 -msgid "" -"There was unexpected error while removing the printer profile, please " -"consult the logs." +msgid "There was unexpected error while removing the printer profile, please consult the logs." msgstr "Unerwarteter Fehler beim Löschen des Profils, bitte konsultiere das Log" #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:538 @@ -4402,12 +3671,8 @@ msgid "You are about to delete the printer profile \"%(name)s\"." msgstr "Du bist im Begriff das Druckerprofil \"%(name)s\" zu löschen." #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:564 -msgid "" -"There was unexpected error while updating the printer profile, please " -"consult the logs." -msgstr "" -"Unerwarteter Fehler beim Aktualisieren des Profils, bitte konsultiere das" -" Log" +msgid "There was unexpected error while updating the printer profile, please consult the logs." +msgstr "Unerwarteter Fehler beim Aktualisieren des Profils, bitte konsultiere das Log" #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:565 msgid "Could not update profile" @@ -4443,12 +3708,8 @@ msgid "Still stabilizing..." msgstr "Noch zu ungenau..." #: src/octoprint/static/js/app/viewmodels/printerstate.js:129 -msgid "" -"Based on a linear approximation (very low accuracy, especially at the " -"beginning of the print)" -msgstr "" -"Basiert auf einer linearen Approximation (sehr geringe Genauigkeit, " -"insbesondere zu Beginn eines Drucks)" +msgid "Based on a linear approximation (very low accuracy, especially at the beginning of the print)" +msgstr "Basiert auf einer linearen Approximation (sehr geringe Genauigkeit, insbesondere zu Beginn eines Drucks)" #: src/octoprint/static/js/app/viewmodels/printerstate.js:132 msgid "Based on the estimate from analysis of file (medium accuracy)" @@ -4456,25 +3717,15 @@ msgstr "Basiert auf der Schätzung der Analyse der Datei (mittlere Genauigkeit)" #: src/octoprint/static/js/app/viewmodels/printerstate.js:135 msgid "Based on a mix of estimate from analysis and calculation (medium accuracy)" -msgstr "" -"Basiert auf einem Mix der Schätzung aus der Analyse und der Berechnung " -"(mittlere Genauigkeit)" +msgstr "Basiert auf einem Mix der Schätzung aus der Analyse und der Berechnung (mittlere Genauigkeit)" #: src/octoprint/static/js/app/viewmodels/printerstate.js:138 -msgid "" -"Based on the average total of past prints of this model with the same " -"printer profile (usually good accuracy)" -msgstr "" -"Basiert auf der durchschnittlichen Dauer vergangener Druckjobs dieses " -"Modells mit dem selben Druckerprofil (normalerweise gute Genauigkeit)" +msgid "Based on the average total of past prints of this model with the same printer profile (usually good accuracy)" +msgstr "Basiert auf der durchschnittlichen Dauer vergangener Druckjobs dieses Modells mit dem selben Druckerprofil (normalerweise gute Genauigkeit)" #: src/octoprint/static/js/app/viewmodels/printerstate.js:141 -msgid "" -"Based on a mix of average total from past prints and calculation (usually" -" good accuracy)" -msgstr "" -"Basiert auf einem Mix der durchschnittlichen Dauer vergangener Druckjobs " -"und der Berechnung (normalerweise gute Genauigkeit)" +msgid "Based on a mix of average total from past prints and calculation (usually good accuracy)" +msgstr "Basiert auf einem Mix der durchschnittlichen Dauer vergangener Druckjobs und der Berechnung (normalerweise gute Genauigkeit)" #: src/octoprint/static/js/app/viewmodels/printerstate.js:144 msgid "Based on the calculated estimate (best accuracy)" @@ -4515,14 +3766,12 @@ msgid "This will cancel your print." msgstr "Das wird deinen Druck abbrechen." #: src/octoprint/static/js/app/viewmodels/printerstate.js:380 -#, fuzzy msgid "No, continue the print" -msgstr "Fehler bei der Verbindung zum Drucker" +msgstr "Nein, mit dem Druck fortfahren" #: src/octoprint/static/js/app/viewmodels/printerstate.js:381 -#, fuzzy msgid "Yes, cancel the print" -msgstr "Bricht den Druckjob ab" +msgstr "Ja, den Druck abbrechen" #: src/octoprint/static/js/app/viewmodels/settings.js:72 #: src/octoprint/static/js/app/viewmodels/settings.js:90 @@ -4538,102 +3787,88 @@ msgstr "Weiß" msgid "Autodetect from browser" msgstr "Automatisch vom Browser erkennen" -#: src/octoprint/static/js/app/viewmodels/settings.js:351 +#: src/octoprint/static/js/app/viewmodels/settings.js:353 msgid "If you see your webcam stream below, the entered stream URL is ok." msgstr "Falls du unten den Webcamstream sehen kannst, ist die Stream-URL ok." -#: src/octoprint/static/js/app/viewmodels/settings.js:359 +#: src/octoprint/static/js/app/viewmodels/settings.js:361 msgid "Stream test" msgstr "Stream Test" -#: src/octoprint/static/js/app/viewmodels/settings.js:377 +#: src/octoprint/static/js/app/viewmodels/settings.js:379 msgid "Could not retrieve snapshot URL, please double check the URL" msgstr "Konnte die Snapshot-URL nicht abgreifen, bitte prüfen" -#: src/octoprint/static/js/app/viewmodels/settings.js:378 +#: src/octoprint/static/js/app/viewmodels/settings.js:380 msgid "Snapshot test failed" msgstr "Snapshot Test fehlgeschlagen" -#: src/octoprint/static/js/app/viewmodels/settings.js:393 +#: src/octoprint/static/js/app/viewmodels/settings.js:395 #, python-format -msgid "" -"Could retrieve the snapshot URL, but it didn't look like an image. Got " -"this as a content type header: %(content_type)s. Please " -"double check that the URL is returning static images, not multipart data " -"or videos." -msgstr "" -"Konnte die Snapshot URL abrufen, aber die Antwort sah nicht wie ein Bild " -"aus: %(content_type)s. Bitte überprüfe, dass die URL " -"einzelne Bilder zurückliefert, nicht multipart Daten oder Videos." - -#: src/octoprint/static/js/app/viewmodels/settings.js:418 -msgid "" -"If you see your webcam snapshot picture below, the entered snapshot URL " -"is ok." -msgstr "Falls du unten dein Snapshotbild sehen kannst, ist die Snapshot-URL ok." +msgid "Could retrieve the snapshot URL, but it didn't look like an image. Got this as a content type header: %(content_type)s. Please double check that the URL is returning static images, not multipart data or videos." +msgstr "Konnte die Snapshot URL abrufen, aber die Antwort sah nicht wie ein Bild aus: %(content_type)s. Bitte überprüfe, dass die URL einzelne Bilder zurückliefert, nicht multipart Daten oder Videos." #: src/octoprint/static/js/app/viewmodels/settings.js:420 +msgid "If you see your webcam snapshot picture below, the entered snapshot URL is ok." +msgstr "Falls du unten dein Snapshotbild sehen kannst, ist die Snapshot-URL ok." + +#: src/octoprint/static/js/app/viewmodels/settings.js:422 msgid "Snapshot test" msgstr "Snapshot Test" -#: src/octoprint/static/js/app/viewmodels/settings.js:453 +#: src/octoprint/static/js/app/viewmodels/settings.js:455 msgid "The path doesn't exist" msgstr "Der Pfad existiert nicht" -#: src/octoprint/static/js/app/viewmodels/settings.js:455 +#: src/octoprint/static/js/app/viewmodels/settings.js:457 msgid "The path is not a file" msgstr "Der Pfad ist keine Datei" -#: src/octoprint/static/js/app/viewmodels/settings.js:457 +#: src/octoprint/static/js/app/viewmodels/settings.js:459 msgid "The path is not an executable" msgstr "Der Pfad ist nicht ausführbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:460 -#: src/octoprint/static/js/app/viewmodels/settings.js:541 +#: src/octoprint/static/js/app/viewmodels/settings.js:462 +#: src/octoprint/static/js/app/viewmodels/settings.js:543 msgid "The path is valid" msgstr "Der Pfad ist valide" -#: src/octoprint/static/js/app/viewmodels/settings.js:480 +#: src/octoprint/static/js/app/viewmodels/settings.js:482 msgid "The server is not reachable" msgstr "Der Server ist nicht erreichbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:482 +#: src/octoprint/static/js/app/viewmodels/settings.js:484 msgid "The server is reachable" msgstr "Der Server ist erreichbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:501 -#, fuzzy -msgid "Name cannot be resolved" -msgstr "Kann nicht umgeschaltet werden" - #: src/octoprint/static/js/app/viewmodels/settings.js:503 -msgid "Name can be resolved" -msgstr "" +msgid "Name cannot be resolved" +msgstr "Name kann nicht aufgelöst werden" -#: src/octoprint/static/js/app/viewmodels/settings.js:532 +#: src/octoprint/static/js/app/viewmodels/settings.js:505 +msgid "Name can be resolved" +msgstr "Name kann aufgelöst werden" + +#: src/octoprint/static/js/app/viewmodels/settings.js:534 msgid "The path is a broken symlink." msgstr "Der Pfad ist ein kaputter Symlink" -#: src/octoprint/static/js/app/viewmodels/settings.js:534 +#: src/octoprint/static/js/app/viewmodels/settings.js:536 msgid "The path does not exist and cannot be created." msgstr "Der Pfad existiert nicht und kann nicht erstellt werden." -#: src/octoprint/static/js/app/viewmodels/settings.js:536 +#: src/octoprint/static/js/app/viewmodels/settings.js:538 msgid "The path is not a folder." msgstr "Der Pfad ist kein Verzeichnis" -#: src/octoprint/static/js/app/viewmodels/settings.js:538 +#: src/octoprint/static/js/app/viewmodels/settings.js:540 msgid "The path is not writable." msgstr "Der Pfad ist nicht beschreibbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:663 +#: src/octoprint/static/js/app/viewmodels/settings.js:665 #: src/octoprint/static/js/app/viewmodels/usersettings.js:101 -msgid "" -"This will generate a new API Key. The old API Key will cease to function " -"immediately." -msgstr "" -"Dies wird einen neuen API-Key generieren. Der alte wird sofort aufhören " -"zu funktionieren." +msgid "This will generate a new API Key. The old API Key will cease to function immediately." +msgstr "Dies wird einen neuen API-Key generieren. Der alte wird sofort aufhören zu funktionieren." #: src/octoprint/static/js/app/viewmodels/slicing.js:124 msgid "Do nothing" @@ -4690,12 +3925,8 @@ msgstr "Ändere Offset von %(name)s" #: src/octoprint/static/js/app/viewmodels/temperature.js:65 #, python-format -msgid "" -"Use the form below to specify a new offset to apply to all temperature " -"commands sent from printed files for \"%(name)s\"" -msgstr "" -"Definiere unten ein neues Offset für alle Temperaturkommandos für " -"\"%(name)s\", die aus zu druckenden Dateien gesendet werden" +msgid "Use the form below to specify a new offset to apply to all temperature commands sent from printed files for \"%(name)s\"" +msgstr "Definiere unten ein neues Offset für alle Temperaturkommandos für \"%(name)s\", die aus zu druckenden Dateien gesendet werden" #: src/octoprint/static/js/app/viewmodels/temperature.js:86 #: src/octoprint/static/js/app/viewmodels/temperature.js:148 @@ -4735,18 +3966,12 @@ msgstr "Soll" #: src/octoprint/static/js/app/viewmodels/terminal.js:105 #, python-format -msgid "" -"showing %(displayed)d lines (%(filtered)d of %(total)d total lines " -"filtered, buffer full)" -msgstr "" -"zeige %(displayed)d Zeilen (%(filtered)d von %(total)d Zeilen gefiltert, " -"Buffer voll)" +msgid "showing %(displayed)d lines (%(filtered)d of %(total)d total lines filtered, buffer full)" +msgstr "zeige %(displayed)d Zeilen (%(filtered)d von %(total)d Zeilen gefiltert, Buffer voll)" #: src/octoprint/static/js/app/viewmodels/terminal.js:107 #, python-format -msgid "" -"showing %(displayed)d lines (%(filtered)d of %(total)d total lines " -"filtered)" +msgid "showing %(displayed)d lines (%(filtered)d of %(total)d total lines filtered)" msgstr "zeige %(displayed)d Zeilen (%(filtered)d von %(total)d Zeilen gefiltert)" #: src/octoprint/static/js/app/viewmodels/terminal.js:111 @@ -4771,12 +3996,8 @@ msgstr "%(target)s wird gerendert... (%(progress)d%%)" #: src/octoprint/static/js/app/viewmodels/timelapse.js:284 #, python-format -msgid "" -"Failed to remove timelapse %(name)s.

    Please consult octoprint.log " -"for details.

    " -msgstr "" -"Konnte Zeitrafferaufnahme %(name)s nicht entfernen.

    Bitte " -"konsultiere octoprint.log für Details.

    " +msgid "Failed to remove timelapse %(name)s.

    Please consult octoprint.log for details.

    " +msgstr "Konnte Zeitrafferaufnahme %(name)s nicht entfernen.

    Bitte konsultiere octoprint.log für Details.

    " #: src/octoprint/static/js/app/viewmodels/timelapse.js:287 msgid "Could not remove timelapse" @@ -4795,9 +4016,7 @@ msgstr "Du bist im Begriff %(count)d Zeitrafferaufnahmen zu löschen." #: src/octoprint/static/js/app/viewmodels/timelapse.js:338 #, python-format msgid "You are about to delete unrendered timelapse \"%(name)s\"." -msgstr "" -"Du bist im Begriff die ungerenderte Zeitrafferaufnahme \"%(name)s\" zu " -"löschen." +msgstr "Du bist im Begriff die ungerenderte Zeitrafferaufnahme \"%(name)s\" zu löschen." #: src/octoprint/static/js/app/viewmodels/timelapse.js:353 #, python-format @@ -4837,12 +4056,8 @@ msgstr "%(minutes)d Min" #: src/octoprint/static/js/app/viewmodels/timelapse.js:488 #, python-format -msgid "" -"Now capturing timelapse post roll, this will take approximately " -"%(duration)s (so until %(time)s)..." -msgstr "" -"Zeichne jetzt Zeitraffernachlauf auf, dies wird voraussichtlich " -"%(duration)s dauern (also etwa bis %(time)s)..." +msgid "Now capturing timelapse post roll, this will take approximately %(duration)s (so until %(time)s)..." +msgstr "Zeichne jetzt Zeitraffernachlauf auf, dies wird voraussichtlich %(duration)s dauern (also etwa bis %(time)s)..." #: src/octoprint/static/js/app/viewmodels/timelapse.js:490 #, python-format @@ -4851,20 +4066,12 @@ msgstr "%(seconds)d Sek" #: src/octoprint/static/js/app/viewmodels/timelapse.js:491 #, python-format -msgid "" -"Now capturing timelapse post roll, this will take approximately " -"%(duration)s..." -msgstr "" -"Zeichne jetzt Zeitraffernachlauf auf, dies wird voraussichtlich " -"%(duration)s dauern..." +msgid "Now capturing timelapse post roll, this will take approximately %(duration)s..." +msgstr "Zeichne jetzt Zeitraffernachlauf auf, dies wird voraussichtlich %(duration)s dauern..." #: src/octoprint/static/js/app/viewmodels/timelapse.js:521 -msgid "" -"Failed repeatedly to capture timelapse frame from webcam - is the " -"snapshot URL configured correctly and the camera on?" -msgstr "" -"Konnte wiederholt kein Zeitrafferbild von der Webcam beziehen - ist die " -"Snapshot-URL korrekt konfiguriert und die Kamera an?" +msgid "Failed repeatedly to capture timelapse frame from webcam - is the snapshot URL configured correctly and the camera on?" +msgstr "Konnte wiederholt kein Zeitrafferbild von der Webcam beziehen - ist die Snapshot-URL korrekt konfiguriert und die Kamera an?" #: src/octoprint/static/js/app/viewmodels/timelapse.js:524 msgid "Could not capture snapshots" @@ -4876,13 +4083,8 @@ msgstr "Zeitrafferaufnahme wird gerendert" #: src/octoprint/static/js/app/viewmodels/timelapse.js:534 #, python-format -msgid "" -"Now rendering timelapse %(movie_prefix)s. Due to performance reasons it " -"is not recommended to start a print job while a movie is still rendering." -msgstr "" -"Rendere jetzt die Zeitrafferaufnahme %(movie_prefix)s. Aus Gründen der " -"Performance ist es nicht empfehlenswert, einen Druckauftrag zu starten, " -"so lange die Aufnahme noch gerendert wird." +msgid "Now rendering timelapse %(movie_prefix)s. Due to performance reasons it is not recommended to start a print job while a movie is still rendering." +msgstr "Rendere jetzt die Zeitrafferaufnahme %(movie_prefix)s. Aus Gründen der Performance ist es nicht empfehlenswert, einen Druckauftrag zu starten, so lange die Aufnahme noch gerendert wird." #: src/octoprint/static/js/app/viewmodels/timelapse.js:552 msgid "Cannot render timelapse" @@ -4890,12 +4092,8 @@ msgstr "Kann Zeitrafferaufnahme nicht rendern" #: src/octoprint/static/js/app/viewmodels/timelapse.js:553 #, python-format -msgid "" -"Rendering of timelapse %(movie_prefix)s is not possible since no frames " -"were captured. Is the snapshot URL configured correctly?" -msgstr "" -"Rendering des Zeitraffers %(movie_prefix)s ist nicht möglich, da keine " -"Frames gespeichert wurden. Ist die Snapshot-URL korrekt konfiguriert?" +msgid "Rendering of timelapse %(movie_prefix)s is not possible since no frames were captured. Is the snapshot URL configured correctly?" +msgstr "Rendering des Zeitraffers %(movie_prefix)s ist nicht möglich, da keine Frames gespeichert wurden. Ist die Snapshot-URL korrekt konfiguriert?" #: src/octoprint/static/js/app/viewmodels/timelapse.js:555 #: src/octoprint/static/js/app/viewmodels/timelapse.js:559 @@ -4904,21 +4102,13 @@ msgstr "Rendern von Zeitrafferaufnahme fehlgeschlagen" #: src/octoprint/static/js/app/viewmodels/timelapse.js:556 #, python-format -msgid "" -"Rendering of timelapse %(movie_prefix)s failed with return code " -"%(returncode)s" -msgstr "" -"Rendering der Zeitrafferaufnahme %(movie_prefix)s fehlgeschlagen mit " -"Returncode %(returncode)s" +msgid "Rendering of timelapse %(movie_prefix)s failed with return code %(returncode)s" +msgstr "Rendering der Zeitrafferaufnahme %(movie_prefix)s fehlgeschlagen mit Returncode %(returncode)s" #: src/octoprint/static/js/app/viewmodels/timelapse.js:560 #, python-format -msgid "" -"Rendering of timelapse %(movie_prefix)s failed due to an unknown error, " -"please consult the log file" -msgstr "" -"Rendering der Zeitrafferaufnahme %(movie_prefix)s fehlgeschlagen aufgrund" -" eines unbekannten Fehlers, bitte konsultiere die Logdatei" +msgid "Rendering of timelapse %(movie_prefix)s failed due to an unknown error, please consult the log file" +msgstr "Rendering der Zeitrafferaufnahme %(movie_prefix)s fehlgeschlagen aufgrund eines unbekannten Fehlers, bitte konsultiere die Logdatei" #: src/octoprint/static/js/app/viewmodels/timelapse.js:577 msgid "Timelapse ready" @@ -4937,43 +4127,42 @@ msgstr "Seitenvoreinstellung" msgid "This will delete the API Key. It will cease to to function immediately." msgstr "Dies wird den API-Key löschen. Er wird sofort aufhören, zu funktionieren." -#: src/octoprint/templates/index.jinja2:33 -msgid "You don't seem to have JavaScript enabled" -msgstr "" +#: src/octoprint/templates/footer.jinja2:8 +msgid "Forum" +msgstr "Forum" + +#: src/octoprint/templates/footer.jinja2:9 +msgid "Discord" +msgstr "Discord" + +#: src/octoprint/templates/footer.jinja2:10 +msgid "FAQ" +msgstr "FAQ" + +#: src/octoprint/templates/footer.jinja2:11 +msgid "Docs" +msgstr "Docs" + +#: src/octoprint/templates/footer.jinja2:12 +msgid "About" +msgstr "Über" #: src/octoprint/templates/index.jinja2:34 -msgid "" -"OctoPrint's UI requires JavaScript to work. Please enable JavaScript and " -"reload." -msgstr "" +msgid "You don't seem to have JavaScript enabled" +msgstr "Du scheintst JavaScript nicht aktiviert zu haben" -#: src/octoprint/templates/index.jinja2:48 -#, fuzzy +#: src/octoprint/templates/index.jinja2:35 +msgid "OctoPrint's UI requires JavaScript to work. Please enable JavaScript and reload." +msgstr "OctoPrints UI benötigt JavaScript, um zu funktionieren. Bitte aktiviere JavaScript und lade neu." + +#: src/octoprint/templates/index.jinja2:49 msgid "Connecting to OctoPrint's server..." -msgstr "Fehler bei der Verbindung zum Drucker" - -#: src/octoprint/templates/index.jinja2:161 -msgid "Forum" -msgstr "" - -#: src/octoprint/templates/index.jinja2:162 -msgid "FAQ" -msgstr "" - -#: src/octoprint/templates/index.jinja2:163 -msgid "Docs" -msgstr "" - -#: src/octoprint/templates/index.jinja2:164 -#, fuzzy -msgid "About" -msgstr "Abbrechen" +msgstr "Verbinde zum OctoPrint-Server..." #: src/octoprint/templates/dialogs/about.jinja2:4 #: src/octoprint/templates/dialogs/settings.jinja2:51 -#, fuzzy msgid "About OctoPrint" -msgstr "Über OctoPi" +msgstr "Über OctoPrint" #: src/octoprint/templates/dialogs/files.jinja2:4 msgid "Create Folder" @@ -4991,6 +4180,25 @@ msgstr "Verzeichnisname" msgid "Create" msgstr "Erstellen" +#: src/octoprint/templates/dialogs/files.jinja2:26 +msgid "Move File or Folder" +msgstr "Datei oder Verzeichnis verschieben" + +#: src/octoprint/templates/dialogs/files.jinja2:31 +msgid "Select destination folder for " +msgstr "Wähle Zielverzeichnis für" + +#: src/octoprint/templates/dialogs/files.jinja2:31 +msgid "Currently:" +msgstr "Aktuell:" + +#: src/octoprint/templates/dialogs/files.jinja2:41 +#: src/octoprint/templates/sidebar/files.jinja2:26 +#: src/octoprint/templates/sidebar/files.jinja2:40 +#: src/octoprint/templates/sidebar/files.jinja2:51 +msgid "Move" +msgstr "Verschieben" + #: src/octoprint/templates/dialogs/settings.jinja2:4 msgid "OctoPrint Settings" msgstr "OctoPrint Einstellungen" @@ -5000,22 +4208,15 @@ msgid "Settings update detected" msgstr "Einstellungsupdate erkannt" #: src/octoprint/templates/dialogs/settings.jinja2:62 -msgid "" -"\n" -" The settings have been updated on the server. You may reload " -"all settings,\n" -" overwriting any changes you might have done locally, or " -"alternatively\n" +msgid "\n" +" The settings have been updated on the server. You may reload all settings,\n" +" overwriting any changes you might have done locally, or alternatively\n" " only reload those settings you haven't changed locally.\n" " " -msgstr "Die Einstellungen wurden auf dem Server geändert. Du kannst " -"alle Einstellungen neu laden und dabei bereits gemachte lokale Änderungen " -"überschreiben oder nur die Änderungen neu laden, die nicht lokal geändert " -"wurden." +msgstr "Die Einstellungen wurden auf dem Server geändert. Du kannst alle Einstellungen neu laden und dabei bereits gemachte lokale Änderungen überschreiben oder nur die Änderungen neu laden, die nicht lokal geändert wurden." #: src/octoprint/templates/dialogs/settings.jinja2:67 -msgid "" -"\n" +msgid "\n" " How do you want to proceed?\n" " " msgstr "Wie möchtest du fortfahren?" @@ -5029,23 +4230,12 @@ msgid "Reload only non-conflicting changes" msgstr "Nur konfliktfreie Änderungen neu laden" #: src/octoprint/templates/dialogs/slicing.jinja2:8 -msgid "" -"Slicing is currently disabled since no slicer has been configured yet. " -"Please configure a slicer under \"Settings\"." -msgstr "" -"Slicing ist aktuell deaktiviert da noch kein Slicer konfiguriert wurde. " -"Bitte konfiguriere einen Slicer unter \"Settings\"." +msgid "Slicing is currently disabled since no slicer has been configured yet. Please configure a slicer under \"Settings\"." +msgstr "Slicing ist aktuell deaktiviert da noch kein Slicer konfiguriert wurde. Bitte konfiguriere einen Slicer unter \"Settings\"." #: src/octoprint/templates/dialogs/slicing.jinja2:11 -msgid "" -"Please configure which slicer and which slicing profile to use and name " -"the GCode file to slice to below, or click \"Cancel\" if you do not wish " -"to slice the file now." -msgstr "" -"Bitte wähle den zu nutzenden Slicer und das zu nutzende Slicerprofile und" -" wie die GCode Datei heißen soll, die erzeugt wird. Alternativ kannst du " -"auch auf \"Abbrechen\" klicken, wenn du die Datei jetzt nicht slicen " -"willst." +msgid "Please configure which slicer and which slicing profile to use and name the GCode file to slice to below, or click \"Cancel\" if you do not wish to slice the file now." +msgstr "Bitte wähle den zu nutzenden Slicer und das zu nutzende Slicerprofile und wie die GCode Datei heißen soll, die erzeugt wird. Alternativ kannst du auch auf \"Abbrechen\" klicken, wenn du die Datei jetzt nicht slicen willst." #: src/octoprint/templates/dialogs/slicing.jinja2:14 msgid "Slicer" @@ -5061,9 +4251,7 @@ msgstr "Gleicher Server" #: src/octoprint/templates/dialogs/slicing.jinja2:23 msgid "For performance reasons locally run slicers are disabled while printing" -msgstr "" -"Aus Gründen der Performanz sind Slicer, die auf dem gleichen Server " -"laufen, während des Druckens deaktiviert" +msgstr "Aus Gründen der Performanz sind Slicer, die auf dem gleichen Server laufen, während des Druckens deaktiviert" #: src/octoprint/templates/dialogs/slicing.jinja2:27 msgid "Slicing Profile" @@ -5091,7 +4279,7 @@ msgid "After slicing..." msgstr "Nach dem Slicing..." #: src/octoprint/templates/dialogs/slicing.jinja2:58 -#: src/octoprint/templates/sidebar/files.jinja2:40 +#: src/octoprint/templates/sidebar/files.jinja2:42 msgid "Slice" msgstr "Slicen" @@ -5117,9 +4305,7 @@ msgid "Delete Offset" msgstr "Offset löschen" #: src/octoprint/templates/dialogs/temperature.jinja2:25 -msgid "" -"Hint: Hitting Enter in the input field will also submit the " -"form" +msgid "Hint: Hitting Enter in the input field will also submit the form" msgstr "Hinweis: Enter im Eingabefeld speichert." #: src/octoprint/templates/dialogs/usersettings.jinja2:4 @@ -5148,10 +4334,8 @@ msgid "Setup Wizard" msgstr "Setup Wizard" #: src/octoprint/templates/dialogs/wizard.jinja2:41 -msgid "" -"\n" -" Mandatory " -"Step! You need to fill this out now.\n" +msgid "\n" +" Mandatory Step! You need to fill this out now.\n" " " msgstr "Obligatorischer Schritt! Du musst das jetzt ausfüllen." @@ -5164,12 +4348,8 @@ msgid "Previous" msgstr "Zurück" #: src/octoprint/templates/dialogs/wizard.jinja2:63 -msgid "" -"Unless otherwise noted, you may just skip any wizard page by clicking " -"\"Next\" or \"Finish\"." -msgstr "" -"Falls nicht anders vermerkt, kannst du jede Wizardseite durch Klicken auf" -" \"Weiter\" oder \"Beenden\" überspringen." +msgid "Unless otherwise noted, you may just skip any wizard page by clicking \"Next\" or \"Finish\"." +msgstr "Falls nicht anders vermerkt, kannst du jede Wizardseite durch Klicken auf \"Weiter\" oder \"Beenden\" überspringen." #: src/octoprint/templates/dialogs/about/about.jinja2:3 msgid "The snappy web interface for your 3D printer" @@ -5185,41 +4365,55 @@ msgstr "Nutzer" msgid "Groups" msgstr "Gruppen" -#: src/octoprint/templates/dialogs/settings/api.jinja2:5 +#: src/octoprint/templates/dialogs/settings/api.jinja2:3 +msgid "CORS" +msgstr "CORS" + +#: src/octoprint/templates/dialogs/settings/api.jinja2:7 #, python-format msgid "Allow Cross Origin Resource Sharing (CORS)" msgstr "Cross Origin Resource Sharing (CORS) erlauben" -#: src/octoprint/templates/dialogs/settings/api.jinja2:5 +#: src/octoprint/templates/dialogs/settings/api.jinja2:7 msgid "Needs restart" msgstr "Benötigt Neustart" #: src/octoprint/templates/dialogs/settings/api.jinja2:13 +#: src/octoprint/templates/dialogs/settings/api.jinja2:26 +msgid "Global API Key" +msgstr "Globaler API Key" + +#: src/octoprint/templates/dialogs/settings/api.jinja2:15 +msgid "\n" +" The global API key should best not be used anymore. It's one single key that gives full admin access to\n" +" your whole OctoPrint instance. Instead of using it you should create individual Application Keys for\n" +" your third party clients. That way they get permissions matching the user account used for key\n" +" creation and you can also revoke access to one app without having to change the keys for all other apps.\n" +" It's also recommended to create a user account without admin access and use that for third\n" +" party clients where possible.\n" +" " +msgstr "Der globale API Key sollte am Besten nicht mehr verwendet werden. Es ist ein einzelner Key, der vollen Adminzugriff auf die gesamte OctoPrint Instanz gibt.\n" +"Stattdessen solltest du individuelle Application Keys für Third-Party-Clients erstellen. Dadurch bekommen diese die Zugriffsrechte des jeweiligen für die Erstellung \n" +"des Keys genutzten Nutzeraccounts und du kannst einem Client auch einfach wieder den Zugriff entziehen, oder für alle anderen den Key ändern zu müssen.\n" +"Es ist außerdem empfohlen, einen Useraccount ohne Adminzugriff zu erstellen und so möglich für Third-Party-Clients zu verwenden." + +#: src/octoprint/templates/dialogs/settings/api.jinja2:23 +msgid "Access Application Keys" +msgstr "Auf Application Keys zugreifen" + +#: src/octoprint/templates/dialogs/settings/api.jinja2:29 #: src/octoprint/templates/dialogs/usersettings/access.jinja2:27 #: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:159 msgid "N/A" msgstr "(nicht vorhanden)" -#: src/octoprint/templates/dialogs/settings/api.jinja2:17 -msgid "" -"Please note that changes to the API key are applied immediately, without " -"having to \"Save\" first." -msgstr "" -"Bitte beachte, dass Änderungen am API-Key sofort angewandt werden, ohne " -"dass \"Speichern\" geklickt werden muss." - -#: src/octoprint/templates/dialogs/settings/api.jinja2:21 -#: src/octoprint/templates/dialogs/usersettings/access.jinja2:36 -msgid "QR Code" -msgstr "QR Code" +#: src/octoprint/templates/dialogs/settings/api.jinja2:33 +msgid "Please note that changes to the API key are applied immediately, without having to \"Save\" first." +msgstr "Bitte beachte, dass Änderungen am API-Key sofort angewandt werden, ohne dass \"Speichern\" geklickt werden muss." #: src/octoprint/templates/dialogs/settings/appearance.jinja2:2 -msgid "" -"Name of this OctoPrint instance, will be shown in the navigation bar and " -"broadcast on the network" -msgstr "" -"Name dieser OctoPrint-Instanz, wird in der Navigationsleiste angezeigt " -"und im Netzwerk announced." +msgid "Name of this OctoPrint instance, will be shown in the navigation bar and broadcast on the network" +msgstr "Name dieser OctoPrint-Instanz, wird in der Navigationsleiste angezeigt und im Netzwerk announced." #: src/octoprint/templates/dialogs/settings/appearance.jinja2:3 msgid "Title" @@ -5227,9 +4421,7 @@ msgstr "Titel" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:8 msgid "Personalize the color of the navigation bar - maybe to match your printer?" -msgstr "" -"Personalisiere die Farbe the Navigationsleiste - vielleicht um zum " -"Drucker zu passen?" +msgstr "Personalisiere die Farbe the Navigationsleiste - vielleicht um zum Drucker zu passen?" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:9 msgid "Color" @@ -5264,14 +4456,8 @@ msgid "Default Language" msgstr "Standardsprache" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:43 -msgid "" -"Changes to the default interface language will only become active after a" -" reload of the page and only be active if not overridden by the users " -"language settings." -msgstr "" -"Änderungen der Standardsprache werden erst nach einem Neuladen der Seite " -"aktiv, und nur dann, wenn sie nicht durch die Nutzereinstellungen " -"überschrieben sind." +msgid "Changes to the default interface language will only become active after a reload of the page and only be active if not overridden by the users language settings." +msgstr "Änderungen der Standardsprache werden erst nach einem Neuladen der Seite aktiv, und nur dann, wenn sie nicht durch die Nutzereinstellungen überschrieben sind." #: src/octoprint/templates/dialogs/settings/appearance.jinja2:49 msgid "Show temperatures in Fahrenheit as well as Celsius" @@ -5290,23 +4476,13 @@ msgid "Manage Language Packs..." msgstr "Sprachpakete verwalten" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:76 -msgid "" -"There is currently no central repository for language packs like there is" -" for plugins - any help to change that is appreciated!" -msgstr "" -"Es gibt aktuell kein zentrales Repository für Sprachpakete wie es eines " -"für Plugins gibt - jede Hilfe um das zu ändern ist gerne willkommen!" +msgid "There is currently no central repository for language packs like there is for plugins - any help to change that is appreciated!" +msgstr "Es gibt aktuell kein zentrales Repository für Sprachpakete wie es eines für Plugins gibt - jede Hilfe um das zu ändern ist gerne willkommen!" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:79 #, python-format -msgid "" -"Until a repository is available, please see the wiki for language packs provided by the " -"community." -msgstr "" -"Bis es ein Repository gibt, schau bitte im Wiki nach von der Community bereitgestellten " -"Sprachpaketen." +msgid "Until a repository is available, please see the wiki for language packs provided by the community." +msgstr "Bis es ein Repository gibt, schau bitte im Wiki nach von der Community bereitgestellten Sprachpaketen." #: src/octoprint/templates/dialogs/settings/appearance.jinja2:82 msgid "Available Language Packs" @@ -5326,28 +4502,18 @@ msgstr "Zusätzliche Sprachepakete hochladen" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:123 #: src/octoprint/templates/overlays/dragndrop.jinja2:10 -#: src/octoprint/templates/sidebar/files.jinja2:66 -#: src/octoprint/templates/sidebar/files.jinja2:77 +#: src/octoprint/templates/sidebar/files.jinja2:69 +#: src/octoprint/templates/sidebar/files.jinja2:80 msgid "Upload" msgstr "Upload" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:125 -msgid "" -"This does not look like a valid language pack. Valid language packs " -"should be either zip files or tarballs and have the extension \".zip\", " -"\".tar.gz\", \".tgz\" or \".tar\"" -msgstr "" -"Das sieht nicht aus wie ein valides Sprachpaket. Valide Sprachpakete " -"sollten entweder ZIP-Dateien oder Tarballs sein und die Dateiextension " -"\".zip\", \".tar.gz\", \".tgz\" oder \".tar\" haben" +msgid "This does not look like a valid language pack. Valid language packs should be either zip files or tarballs and have the extension \".zip\", \".tar.gz\", \".tgz\" or \".tar\"" +msgstr "Das sieht nicht aus wie ein valides Sprachpaket. Valide Sprachpakete sollten entweder ZIP-Dateien oder Tarballs sein und die Dateiextension \".zip\", \".tar.gz\", \".tgz\" oder \".tar\" haben" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:128 -msgid "" -"Please note that you will have to reload the page in order for any newly " -"added language packs to become available." -msgstr "" -"Bitte beachte, dass Du die Seite neu laden musst, damit neu hinzugefügte " -"Sprachepakete verfügbar werden." +msgid "Please note that you will have to reload the page in order for any newly added language packs to become available." +msgstr "Bitte beachte, dass Du die Seite neu laden musst, damit neu hinzugefügte Sprachepakete verfügbar werden." #: src/octoprint/templates/dialogs/settings/features.jinja2:5 msgid "Enable Temperature Graph" @@ -5355,9 +4521,7 @@ msgstr "Temperaturgraph aktivieren" #: src/octoprint/templates/dialogs/settings/features.jinja2:12 msgid "Enable model size detection and warn if model exceeds print bed" -msgstr "" -"Objektgrößenerkennung aktivieren und warnen, falls Objekt das " -"Druckvolumen überschreitet" +msgstr "Objektgrößenerkennung aktivieren und warnen, falls Objekt das Druckvolumen überschreitet" #: src/octoprint/templates/dialogs/settings/features.jinja2:12 msgid "Beta" @@ -5381,41 +4545,27 @@ msgstr "Tastatursteuerung aktivieren" #: src/octoprint/templates/dialogs/settings/features.jinja2:47 msgid "G90/G91 overrides relative extruder mode" -msgstr "" -"G90/G91 überschreibt relativen Modus des " -"Extruders" +msgstr "G90/G91 überschreibt relativen Modus des Extruders" #: src/octoprint/templates/dialogs/settings/features.jinja2:47 msgid "Smoothieware" msgstr "Smoothieware" #: src/octoprint/templates/dialogs/settings/features.jinja2:48 -msgid "" -"This is used by the GCODE analysis in the backend and the viewer in the " -"frontend to interpret your sliced files correctly." -msgstr "" -"Dies wird von der GCODE Analyse im Backend und dem GCODE Viewer im " -"Frontend verwendet, um die gesliceten Dateien korrekt zu interpretieren." +msgid "This is used by the GCODE analysis in the backend and the viewer in the frontend to interpret your sliced files correctly." +msgstr "Dies wird von der GCODE Analyse im Backend und dem GCODE Viewer im Frontend verwendet, um die gesliceten Dateien korrekt zu interpretieren." #: src/octoprint/templates/dialogs/settings/features.jinja2:52 msgid "Commands to not completely auto uppercase in the terminal tab" -msgstr "" -"Befehle, die im Terminaltab nicht vollständig in Großbuchstaben gewandelt" -" werden sollen" +msgstr "Befehle, die im Terminaltab nicht vollständig in Großbuchstaben gewandelt werden sollen" #: src/octoprint/templates/dialogs/settings/features.jinja2:53 msgid "Terminal Auto Uppercase Blacklist" msgstr "Terminal Auto Uppercase Blackliste" #: src/octoprint/templates/dialogs/settings/features.jinja2:56 -msgid "" -"Use this to specify the commands that should not have their parameters " -"automatically uppercased in the terminal tab. Just the G or M code, comma" -" separated." -msgstr "" -"Nutze diese Option um Befehle zu spezifizieren, deren Parameter nicht " -"automatisch im Terminaltab in Großbuchstaben überführt werden sollen. Nur" -" den G oder M code, kommasepariert." +msgid "Use this to specify the commands that should not have their parameters automatically uppercased in the terminal tab. Just the G or M code, comma separated." +msgstr "Nutze diese Option um Befehle zu spezifizieren, deren Parameter nicht automatisch im Terminaltab in Großbuchstaben überführt werden sollen. Nur den G oder M code, kommasepariert." #: src/octoprint/templates/dialogs/settings/features.jinja2:61 msgid "Analyze gcode for time and model size estimates" @@ -5463,32 +4613,24 @@ msgid "Watched Folder" msgstr "Beobachtetes Verzeichnis" #: src/octoprint/templates/dialogs/settings/folders.jinja2:57 -msgid "" -"Actively poll the watched folder. Check this if files in your watched " -"folder aren't automatically added otherwise." -msgstr "" -"Aktives Pollen des beobachteten Verzeichnisses. Einschalten wenn Dateien " -"in Deinem beobachteten Verzeichnis hinzugefügt werden sonst nicht " -"automatisch hinzugefügt werden." +msgid "Actively poll the watched folder. Check this if files in your watched folder aren't automatically added otherwise." +msgstr "Aktives Pollen des beobachteten Verzeichnisses. Einschalten wenn Dateien in Deinem beobachteten Verzeichnis hinzugefügt werden sonst nicht automatisch hinzugefügt werden." #: src/octoprint/templates/dialogs/settings/folders.jinja2:62 msgid "Disk space thresholds" msgstr "Plattenplatzschwellwerte" #: src/octoprint/templates/dialogs/settings/folders.jinja2:64 -msgid "" -"If the free disk space falls below these thresholds, OctoPrint will warn " -"the user." -msgstr "" -"Falls der freie Plattenplatz unter diese Schwellwerte fallen sollte wird " -"OctoPrint den Nutzer warnen." +msgid "If the free disk space falls below these thresholds, OctoPrint will warn the user." +msgstr "Falls der freie Plattenplatz unter diese Schwellwerte fallen sollte wird OctoPrint den Nutzer warnen." #: src/octoprint/templates/dialogs/settings/folders.jinja2:67 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:76 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:433 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:449 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:458 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:473 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:90 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:447 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:487 +#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87 #: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6 #: src/octoprint/templates/tabs/gcodeviewer.jinja2:117 msgid "Warning" @@ -5500,94 +4642,72 @@ msgstr "Kritisch" #: src/octoprint/templates/dialogs/settings/folders.jinja2:79 #: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:25 -msgid "" -"Provide values including size unit. Allowed units are: b, byte, bytes, " -"kb, mb, gb, tb (case insensitive). Example: 5MB, " -"500KB" -msgstr "" -"Wert inklusive Größeneinheit. Erlaubte Einheiten sind: b, byte, bytes, " -"kb, mb, gb, tb (Groß-/Kleinschreibung irrelevant). Beispiel: " -"5MB, 500KB" +msgid "Provide values including size unit. Allowed units are: b, byte, bytes, kb, mb, gb, tb (case insensitive). Example: 5MB, 500KB" +msgstr "Wert inklusive Größeneinheit. Erlaubte Einheiten sind: b, byte, bytes, kb, mb, gb, tb (Groß-/Kleinschreibung irrelevant). Beispiel: 5MB, 500KB" #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:3 msgid "Before print job starts" msgstr "Vor dem Start eines Druckjobs" #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:6 -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:34 -msgid "" -"Anything you put here will be executed before any lines in your " -"files." -msgstr "" -"Befehle, die du hier platzierst, werden vor Zeilen aus deinen " -"Druckdateien gesendet." +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:37 +msgid "Anything you put here will be executed before any lines in your files." +msgstr "Befehle, die du hier platzierst, werden vor Zeilen aus deinen Druckdateien gesendet." #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:10 msgid "After print job completes" msgstr "Nach Vollendung eines Druckjobs" #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:13 -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:20 -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:27 -msgid "" -"Anything you put here will be executed after any lines in your " -"files." -msgstr "" -"Befehle, die du hier platzierst, werden nach Zeilen aus deinen " -"Druckdateien gesendet." +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:21 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:30 +msgid "Anything you put here will be executed after any lines in your files." +msgstr "Befehle, die du hier platzierst, werden nach Zeilen aus deinen Druckdateien gesendet." #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:17 msgid "After print job is cancelled" msgstr "Nach dem Abbruch eines Druckjobs" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:24 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:22 +#, python-format +msgid "If you ever need to you can find the default cancel script that OctoPrint ships with here." +msgstr "Falls du jemals das Default-Abbruch-Skript benötigen solltest, mit dem OctoPrint ausgeliefert wird, so kannst du es hier finden." + +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:27 msgid "After print job is paused" msgstr "Nach dem Pausieren eines Druckjobs" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:31 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:34 msgid "Before print job is resumed" msgstr "Vor dem Fortsetzen eines Druckjobs" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:38 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:41 msgid "Before tool change" msgstr "Vor Toolwechsel" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:41 -msgid "" -"Anything you put here will be executed before any tool change " -"commands Tn." -msgstr "" -"Befehle, die du hier platzierst, werden vor " -"Werkzeugwechselbefehlen Tn gesendet." +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:44 +msgid "Anything you put here will be executed before any tool change commands Tn." +msgstr "Befehle, die du hier platzierst, werden vor Werkzeugwechselbefehlen Tn gesendet." -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:45 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:48 msgid "After tool change" msgstr "Nach Toolwechsel" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:48 -msgid "" -"Anything you put here will be executed after any tool change " -"commands Tn." -msgstr "" -"Befehle, die du hier platzierst, werden nach " -"Werkzeugwechselbefehlen Tn gesendet." +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:51 +msgid "Anything you put here will be executed after any tool change commands Tn." +msgstr "Befehle, die du hier platzierst, werden nach Werkzeugwechselbefehlen Tn gesendet." -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:52 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:55 msgid "After connection to printer is established" msgstr "Nach Verbindung mit dem Drucker" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:58 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:61 msgid "Before connection to printer is closed" msgstr "Bevor die Verbindung zum Drucker geschlossen wird" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:61 -msgid "" -"Anything you put here will only be executed when closing the connection " -"actively. If the connection to the printer is suddenly lost nothing will " -"be sent." -msgstr "" -"Das wird nur ausgeführt wenn die Verbindung aktiv geschlossen wird. Falls" -" die Verbindung zum Drucker plötzlich verloren geht wird nichts gesendet." +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:64 +msgid "Anything you put here will only be executed when closing the connection actively. If the connection to the printer is suddenly lost nothing will be sent." +msgstr "Das wird nur ausgeführt wenn die Verbindung aktiv geschlossen wird. Falls die Verbindung zum Drucker plötzlich verloren geht wird nichts gesendet." #: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:5 msgid "Enable GCode Visualizer" @@ -5595,9 +4715,7 @@ msgstr "GCode Viewer aktivieren" #: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:9 msgid "Maximum size the GCodeViewer autoloads the file for preview" -msgstr "" -"Maximale Größe für die der GCODE Viewer automatisch das Preview der Datei" -" lädt" +msgstr "Maximale Größe für die der GCODE Viewer automatisch das Preview der Datei lädt" #: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:10 msgid "GCode Visualizer file size threshold" @@ -5628,13 +4746,8 @@ msgid "Behaviour" msgstr "Verhalten" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:13 -msgid "" -"Serial port to connect to, setting this to AUTO will make OctoPrint try " -"to automatically find the right setting" -msgstr "" -"Serieller Port, mit der sich verbunden werden soll. Falls AUTO " -"konfiguriert ist wird OctoPrint versuchen, automatisch den richtigen Port" -" zu finden." +msgid "Serial port to connect to, setting this to AUTO will make OctoPrint try to automatically find the right setting" +msgstr "Serieller Port, mit der sich verbunden werden soll. Falls AUTO konfiguriert ist wird OctoPrint versuchen, automatisch den richtigen Port zu finden." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:14 #: src/octoprint/templates/sidebar/connection.jinja2:1 @@ -5642,12 +4755,8 @@ msgid "Serial Port" msgstr "Serialport" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:19 -msgid "" -"Serial baud rate to connect with, setting this to AUTO will make " -"OctoPrint try to automatically find the right setting" -msgstr "" -"Baudrate mit der sich verbunden werden soll. Falls AUTO konfiguriert ist " -"wird OctoPrint versuchen, automatisch die richtige Baudrate zu finden." +msgid "Serial baud rate to connect with, setting this to AUTO will make OctoPrint try to automatically find the right setting" +msgstr "Baudrate mit der sich verbunden werden soll. Falls AUTO konfiguriert ist wird OctoPrint versuchen, automatisch die richtige Baudrate zu finden." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:20 #: src/octoprint/templates/sidebar/connection.jinja2:3 @@ -5655,12 +4764,8 @@ msgid "Baudrate" msgstr "Baudrate" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:25 -msgid "" -"Makes OctoPrint try to connect to the printer automatically during start " -"up" -msgstr "" -"OctoPrint wird versuchen, sich beim Startup automatisch mit dem Drucker " -"zu verbinden" +msgid "Makes OctoPrint try to connect to the printer automatically during start up" +msgstr "OctoPrint wird versuchen, sich beim Startup automatisch mit dem Drucker zu verbinden" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:28 msgid "Auto-connect to printer on server start" @@ -5672,690 +4777,466 @@ msgstr "Zusätzliche serielle Ports" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:36 #, python-format -msgid "" -"Use this to define additional glob patterns" -" matching serial ports to list for connecting against, e.g. " -"/dev/ttyAMA*. One entry per line. Please note that ports " -"will only be offered to connect to if they get also detected by the " -"operating system. Adding a port here will not make it magically " -"appear in OctoPrint. If the operating system doesn't see your printer you" -" need to solve this first." -msgstr "" -"Nutze diese Einstellung um zusätzliche glob" -" patterns zu konfigurieren, die auf serielle Ports deines Druckers " -"matchen, z.B. /dev/ttyAMA*. Ein Eintrag pro Zeile. Bitte " -"beachte, dass nur solche Ports zur Auswahl angeboten werden können, die " -"auf vom darunter liegenden Betriebssystem erkannte werden. Einen" -" Port hier hinzuzufügen wird ihn nicht auf magische Weise in OctoPrint " -"erscheinen lassen. Wenn das Betriebssystem deinen Drucker nicht sieht, " -"musst du das erst lösen." +msgid "Use this to define additional glob patterns matching serial ports to list for connecting against, e.g. /dev/ttyAMA*. One entry per line. Please note that ports will only be offered to connect to if they get also detected by the operating system. Adding a port here will not make it magically appear in OctoPrint. If the operating system doesn't see your printer you need to solve this first." +msgstr "Nutze diese Einstellung um zusätzliche glob patterns zu konfigurieren, die auf serielle Ports deines Druckers matchen, z.B. /dev/ttyAMA*. Ein Eintrag pro Zeile. Bitte beachte, dass nur solche Ports zur Auswahl angeboten werden können, die auf vom darunter liegenden Betriebssystem erkannte werden. Einen Port hier hinzuzufügen wird ihn nicht auf magische Weise in OctoPrint erscheinen lassen. Wenn das Betriebssystem deinen Drucker nicht sieht, musst du das erst lösen." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:40 msgid "Additional baud rates" msgstr "Weitere Baudraten" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:43 -msgid "" -"Use this to define additional serial port baud rates to list for " -"connecting with, e.g. 123456. Comma separated." -msgstr "" -"Nutze diese Einstellung um zusätzliche Baudraten zur Verbindung zu " -"konfigurieren, 123456. Komma-separiert." +msgid "Use this to define additional serial port baud rates to list for connecting with, e.g. 123456. Comma separated." +msgstr "Nutze diese Einstellung um zusätzliche Baudraten zur Verbindung zu konfigurieren, 123456. Komma-separiert." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:49 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:47 +msgid "Blacklisted serial ports" +msgstr "Geblacklistete Serialports" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:50 +#, python-format +msgid "Use this to define glob patterns matching serial ports to blacklist for connecting against, e.g. /dev/ttyS*. One entry per line." +msgstr "Nutze diese Einstellung, um glob patterns für zusätzliche Serialports zur Verbindung zu konfigurieren, z.B. /dev/ttyS*. Ein Eintrag pro Zeile." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:54 +msgid "Blacklisted baud rates" +msgstr "Geblacklistete Baudraten" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:57 +msgid "Use this to define serial port baud rates to blacklist for connecting with, e.g. 123456. Comma separated." +msgstr "Nutze diese Einstellung um Baudraten zur Verbindung zu blacklisten, z.B. 123456. Komma-separiert." + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:63 msgid "Request exclusive access to the serial port" msgstr "Exklusiven Zugriff auf die serielle Schnittstelle anfordern" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:50 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:64 msgid "Uncheck this if you are having problems connecting to your printer." msgstr "Deaktiviere das, falls du Probleme bei der Verbindung zum Drucker hast" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:55 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:69 msgid "Apply parity double open workaround" msgstr "Parity Double Open Workaround anwenden" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:59 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:73 #, python-format -msgid "" -"Use this if you are running into this problem." -msgstr "" -"Nutze dies, falls du dieses Problembeobachtest." +msgid "Use this if you are running into this problem." +msgstr "Nutze dies, falls du dieses Problembeobachtest." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:62 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:76 msgid "If detected as potentially needed" msgstr "Falls als potenziell nötig erkannt" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:66 -msgid "" -"Use this if connecting to your printer fails with (22, 'Invalid " -"argument')." -msgstr "" -"Nutze dies, falls der Verbindungsaufbau zu deinem Drucker mit (22, " -"'Invalid argument') fehlschlägt." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:80 +msgid "Use this if connecting to your printer fails with (22, 'Invalid argument')." +msgstr "Nutze dies, falls der Verbindungsaufbau zu deinem Drucker mit (22, 'Invalid argument') fehlschlägt." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:72 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:86 msgid "Serial logging" msgstr "Logging der seriellen Kommunikation" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:76 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:90 msgid "Log communication to serial.log" msgstr "Kommunikation nach serial.log loggen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:77 -msgid "" -"While this can negatively impact performance, a serial.log " -"can be incredibly useful for debugging any issues observed in the " -"communication between OctoPrint and your printer." -msgstr "" -"Dies kann zwar die Performance negativ beeinflussen, ein " -"serial.log ist jedoch unglaublich nützlich beim Debugging " -"jeglicher Probleme, die in der Kommunikation zwischen OctoPrint und " -"deinem Drucker auftreten." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:91 +msgid "While this can negatively impact performance, a serial.log can be incredibly useful for debugging any issues observed in the communication between OctoPrint and your printer." +msgstr "Dies kann zwar die Performance negativ beeinflussen, ein serial.log ist jedoch unglaublich nützlich beim Debugging jeglicher Probleme, die in der Kommunikation zwischen OctoPrint und deinem Drucker auftreten." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:85 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:99 msgid "Query intervals" msgstr "Abfrageintervalle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:86 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:100 msgid "Interval in which to poll for the temperature information from the printer" -msgstr "" -"Intervall in welchem die Temperaturdaten vom Drucker abgerufen werden " -"sollen" +msgstr "Intervall in welchem die Temperaturdaten vom Drucker abgerufen werden sollen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:87 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:101 msgid "Temperature interval (polling)" msgstr "Temperaturintervall (polling)" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:93 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:107 msgid "When printing or idle" msgstr "Beim Drucken oder Idle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:100 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:114 msgid "When idle and a target temperature is set" msgstr "Wenn im Leerlauf und eine Zieltemperatur eingestellt ist" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:103 -msgid "" -"Temperature report interval to request from autoreport capable firmwares." -" A value of 0 disables autoreporting by the firmware and forces polling." -msgstr "" -"Von der autoreportfähigen Firmware anzuforderndes " -"Temperaturupdateintervall. Ein Wert von 0 deaktiviert Autoreporting der " -"Firmware und forciert Polling." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:117 +msgid "Temperature report interval to request from autoreport capable firmwares. A value of 0 disables autoreporting by the firmware and forces polling." +msgstr "Von der autoreportfähigen Firmware anzuforderndes Temperaturupdateintervall. Ein Wert von 0 deaktiviert Autoreporting der Firmware und forciert Polling." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:104 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:118 msgid "Temperature interval (autoreport)" msgstr "Temperaturintervall (autoreport)" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:110 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:130 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:124 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:144 msgid "Autoreport interval to request from firmware" msgstr "Anzuforderndes Temperaturupdateintervall" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:113 -msgid "" -"Interval in which to poll for the SD printing status information from the" -" printer while printing" -msgstr "" -"Intervall in welchem die SD-Statusdaten vom Drucker während des Druckens " -"abgerufen werden sollen" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:127 +msgid "Interval in which to poll for the SD printing status information from the printer while printing" +msgstr "Intervall in welchem die SD-Statusdaten vom Drucker während des Druckens abgerufen werden sollen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:114 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:128 msgid "SD status interval (polling)" msgstr "SD-Statusintervall (polling)" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:120 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:134 msgid "When printing from the printer's SD" msgstr "Wenn von der SD des Druckers gedruckt wird" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:123 -msgid "" -"SD status interval to request from autoreport capable firmwares. A value " -"of 0 disables autoreporting by the firmware and forces polling." -msgstr "" -"Von der autoreportfähigen Firmware anzuforderndes SD-Statusintervall. Ein" -" Wert von 0 deaktiviert Autoreporting der Firmware und forciert Polling." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:137 +msgid "SD status interval to request from autoreport capable firmwares. A value of 0 disables autoreporting by the firmware and forces polling." +msgstr "Von der autoreportfähigen Firmware anzuforderndes SD-Statusintervall. Ein Wert von 0 deaktiviert Autoreporting der Firmware und forciert Polling." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:124 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:138 msgid "SD status interval (autoreport)" msgstr "SD-Statusintervall (autoreport)" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:135 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:149 msgid "Timeouts" msgstr "Timeouts" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:136 -msgid "" -"Time after which the communication with your printer will be considered " -"timed out if nothing was sent by your printer (and an attempt to get it " -"talking again will be done). Increase this if your printer takes longer " -"than this for some moves." -msgstr "" -"Zeit nach der OctoPrint davon ausgehen wird, dass die Kommunikation mit " -"deinem Drucker unterbrochen wurde falls Dein Drucker keine Daten sendet. " -"OctoPrint wird dann einen Versuch unternehmen, die Kommunikation wieder " -"zu reetablieren. Erhöhe diesen Wert falls Dein Drucker für manche " -"Bewegungen länger braucht." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:150 +msgid "Time after which the communication with your printer will be considered timed out if nothing was sent by your printer (and an attempt to get it talking again will be done). Increase this if your printer takes longer than this for some moves." +msgstr "Zeit nach der OctoPrint davon ausgehen wird, dass die Kommunikation mit deinem Drucker unterbrochen wurde falls Dein Drucker keine Daten sendet. OctoPrint wird dann einen Versuch unternehmen, die Kommunikation wieder zu reetablieren. Erhöhe diesen Wert falls Dein Drucker für manche Bewegungen länger braucht." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:137 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:151 msgid "Communication timeout" msgstr "Kommunikationstimeout" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:143 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:157 msgid "busy protocol support not detected" msgstr "busy Protokoll nicht unterstützt" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:150 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:164 msgid "busy protocol support detected" msgstr "busy Protokoll unterstützt" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:153 -msgid "" -"Time after which a connection attempt to the printer will be considered " -"as having failed" -msgstr "" -"Zeit nach der ein unbeantworteter Verbindungsversuch als gescheitert " -"angenommen wird" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:167 +msgid "Time after which a connection attempt to the printer will be considered as having failed" +msgstr "Zeit nach der ein unbeantworteter Verbindungsversuch als gescheitert angenommen wird" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:154 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:168 msgid "Connection timeout" msgstr "Verbindungstimeout" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:162 -msgid "" -"Time after which to consider an auto detection attempt to have failed if " -"no successful connection is detected" -msgstr "" -"Zeit nach der ein unbeantworteter Autodetektierungsversuch als " -"gescheitert angenommen wird" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:176 +msgid "Time after which to consider an auto detection attempt to have failed if no successful connection is detected" +msgstr "Zeit nach der ein unbeantworteter Autodetektierungsversuch als gescheitert angenommen wird" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:163 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:177 msgid "Autodetection timeout" msgstr "Autodetectiontimeout" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:171 -msgid "" -"Time after which to consider a position query on pause or cancel to have " -"failed" -msgstr "" -"Zeit nach der OctoPrint annimmt, dass die Positionsabfrage nach Pause " -"oder Abbruch fehlgeschlagen ist." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:185 +msgid "Time after which to consider a position query on pause or cancel to have failed" +msgstr "Zeit nach der OctoPrint annimmt, dass die Positionsabfrage nach Pause oder Abbruch fehlgeschlagen ist." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:172 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:186 msgid "Position query timeout" msgstr "Positionsabfragetimeout" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:183 -msgid "" -"Time to wait after opening the serial connection before starting baudrate" -" detection" -msgstr "" -"Zeit, die OctoPrint nach Öffnen der seriellen Schnittstelle warten soll, " -"bis es mit der Baudrateerkennung startet" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:197 +msgid "Time to wait after opening the serial connection before starting baudrate detection" +msgstr "Zeit, die OctoPrint nach Öffnen der seriellen Schnittstelle warten soll, bis es mit der Baudrateerkennung startet" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:184 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:198 msgid "Initial baudrate detection pause" msgstr "Baudrateerkennungsverzögerung" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:190 -msgid "" -"Some controllers need a bit of a breather before baudrate detection after" -" initial connect. If baudrate detection fails due to a hanging " -"controller, try increasing this value." -msgstr "" -"Einige Controller brauchen ein bisschen, bevor die Baudrateerkennung nach" -" initialer Verbindung durchgeführt werden kann. Versuche, diesen Wert zu " -"erhöhen, falls die Baudrateerkennung aufgrund eines hängenden Controllers" -" fehlschlägt." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:204 +msgid "Some controllers need a bit of a breather before baudrate detection after initial connect. If baudrate detection fails due to a hanging controller, try increasing this value." +msgstr "Einige Controller brauchen ein bisschen, bevor die Baudrateerkennung nach initialer Verbindung durchgeführt werden kann. Versuche, diesen Wert zu erhöhen, falls die Baudrateerkennung aufgrund eines hängenden Controllers fehlschlägt." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:193 -msgid "" -"Maximum consecutive communication timeouts while idle. More than this and" -" the printer will be considered to be gone. Set to 0 to disable." -msgstr "" -"Maximale Anzahl aufeinanderfolgender Communication Timeouts im " -"Idlezustand. Mehr als das und es wird angenommen, dass der Drucker " -"offline ist. Auf 0 setzen um das zu verhindern." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:207 +msgid "Maximum consecutive communication timeouts while idle. More than this and the printer will be considered to be gone. Set to 0 to disable." +msgstr "Maximale Anzahl aufeinanderfolgender Communication Timeouts im Idlezustand. Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0 setzen um das zu verhindern." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:194 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:208 msgid "Max. consecutive timeouts while idle" msgstr "Max. aufeinanderfolgende Timeouts wenn idle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:197 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:204 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:211 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:218 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:225 msgid "Set to 0 to disable consecutive timeout detection and handling." msgstr "Auf 0 setzen um aufeinanderfolgende Timeouts zu ignorieren" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:200 -msgid "" -"Maximum consecutive communication timeouts while printing. More than this" -" and the printer will be considered to be gone. Set to 0 to disable." -msgstr "" -"Maximale Anzahl aufeinanderfolgender Communication Timeouts beim Drucken." -" Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0" -" setzen um das zu verhindern." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:214 +msgid "Maximum consecutive communication timeouts while printing. More than this and the printer will be considered to be gone. Set to 0 to disable." +msgstr "Maximale Anzahl aufeinanderfolgender Communication Timeouts beim Drucken. Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0 setzen um das zu verhindern." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:201 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:215 msgid "Max. consecutive timeouts while printing" msgstr "Max. aufeinanderfolgende Timeouts beim Drucken" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:207 -msgid "" -"Maximum consecutive communication timeouts while a long running command " -"is active. More than this and the printer will be considered to be gone. " -"Set to 0 to disable." -msgstr "" -"Maximale Anzahl aufeinanderfolgender Communication Timeouts wenn ein lang" -" laufender Befehl aktiv ist. Mehr als das und es wird angenommen, dass " -"der Drucker offline ist. Auf 0 setzen um das zu verhindern." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:221 +msgid "Maximum consecutive communication timeouts while a long running command is active. More than this and the printer will be considered to be gone. Set to 0 to disable." +msgstr "Maximale Anzahl aufeinanderfolgender Communication Timeouts wenn ein lang laufender Befehl aktiv ist. Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0 setzen um das zu verhindern." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:208 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:222 msgid "Max. consecutive timeouts during long running commands" msgstr "Max. aufeinanderfolgende Timeouts während lang laufender Befehle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:220 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:234 msgid "Firmware specific settings" msgstr "Firmwarespezifische Einstellungen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:224 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:238 msgid "Enable automatic firmware detection" msgstr "Automatische Firmwareerkennung einschalten" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:225 -msgid "" -"\n" -" If enabled, OctoPrint will try to figure " -"out your printer's firmware automatically and adjust some communication " -"parameters based on that.\n" -" If that doesn't work out, or you want " -"more granular control, uncheck this and the parameters in question will " -"become visible for you to adjust.\n" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:239 +msgid "\n" +" If enabled, OctoPrint will try to figure out your printer's firmware automatically and adjust some communication parameters based on that.\n" +" If that doesn't work out, or you want more granular control, uncheck this and the parameters in question will become visible for you to adjust.\n" " " -msgstr "" -"Falls diese Option eingeschaltet ist, versucht OctoPrint die Firmware des" -" Druckers automatisch zu erkennen und darauf basierend diverse " -"Kommunikationsparameter zu konfigurieren. Falls das für dich nicht " -"korrekt funktioniert oder du mehr Kontrolle haben möchtest, schalte diese" -" Option aus und die entsprechenden Parameter werden zur manuellen " -"Konfiguration eingeblendet." +msgstr "Falls diese Option eingeschaltet ist, versucht OctoPrint die Firmware des Druckers automatisch zu erkennen und darauf basierend diverse Kommunikationsparameter zu konfigurieren. Falls das für dich nicht korrekt funktioniert oder du mehr Kontrolle haben möchtest, schalte diese Option aus und die entsprechenden Parameter werden zur manuellen Konfiguration eingeblendet." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:236 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250 msgid "Select SD files by relative path" msgstr "SD Dateien per relativem Pfad adressieren" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:236 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250 msgid "RepRap Firmware" msgstr "RepRap Firmware" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:243 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:257 msgid "Always assume SD card is present" msgstr "Immer davon ausgehen, dass eine SD-Karte vorhanden ist" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:243 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:257 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:264 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:271 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:278 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:289 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:285 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:292 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:303 msgid "Repetier" msgstr "Repetier" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:264 msgid "Disable SD printing detection" -msgstr "" +msgstr "SD-Druck-Erkennung deaktivieren" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:264 msgid "Ultimaker 2/2+" -msgstr "" +msgstr "Ultimaker 2/2+" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:257 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:271 msgid "Ignore consecutive resend requests for the same line" msgstr "Aufeinanderfolgende Resend Requests für die selbe Zeilennummer ignorieren" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:264 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:278 #, python-format -msgid "" -"Support TargetExtr%%n/TargetBed target " -"temperature format" -msgstr "" -"TargetExtr%%n/TargetBed Zieltemperaturformat " -"unterstützen" +msgid "Support TargetExtr%%n/TargetBed target temperature format" +msgstr "TargetExtr%%n/TargetBed Zieltemperaturformat unterstützen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:271 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:285 msgid "Disable detection of external heatups" msgstr "Detektierung externer Aufheizvorgänge deaktivieren" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:278 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:292 msgid "Actively pause communication during G4 dwell command" -msgstr "" -"Pausiere Kommunikation mit dem Drucker aktiv während eines " -"G4 dwell Befehls." +msgstr "Pausiere Kommunikation mit dem Drucker aktiv während eines G4 dwell Befehls." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:283 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:297 msgid "Send a checksum with the command" msgstr "Eine Prüfsumme mit dem Befehl senden" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:286 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:300 msgid "When printing" msgstr "Beim Drucken" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:303 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:317 msgid "Support temperature autoreporting by firmware, if detected" msgstr "Temperaturautoreporting durch die Firmware unterstützen, falls detektiert" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:310 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:324 msgid "Support sd status autoreporting by firmware, if detected" msgstr "SD-Status-Autoreporting durch die Firmware unterstützen, falls detektiert" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:317 -msgid "" -"Send emergency GCODES M108 and M410 without " -"waiting for acknowledgement, if detected as supported by the firmware" -msgstr "" -"Emergency GCODES M108 und M410 ohne warten auf" -" Bestätigung absenden, falls Unterstützung durch Firmware erkannt" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:331 +msgid "Send emergency GCODES M108 and M410 without waiting for acknowledgement, if detected as supported by the firmware" +msgstr "Emergency GCODES M108 und M410 ohne warten auf Bestätigung absenden, falls Unterstützung durch Firmware erkannt" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:324 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:338 msgid "Support busy protocol, if detected" msgstr "busy Protokoll unterstützen, falls detektiert" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:331 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:345 msgid "Simulate ok for M29" msgstr "Zusätzliches ok für M29 generieren" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:332 -msgid "" -"Most Marlin forks that were derived from Marlin versions < v1.1.0 do " -"not send an acknowledging ok for a M29. Check " -"this if you run into communication stalls following streaming of a file " -"to your printer's SD." -msgstr "" -"Die meisten Marlinforks, die von Marlin Versionen < v1.1.0 abgeleitet " -"wurden, senden kein bestätigendes ok für ein " -"M29. Aktiviere diese Option, falls du Kommunikationsprobleme" -" nach dem Streaming einer Datei zu der SD des Druckers beobachtest." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:346 +msgid "Most Marlin forks that were derived from Marlin versions < v1.1.0 do not send an acknowledging ok for a M29. Check this if you run into communication stalls following streaming of a file to your printer's SD." +msgstr "Die meisten Marlinforks, die von Marlin Versionen < v1.1.0 abgeleitet wurden, senden kein bestätigendes ok für ein M29. Aktiviere diese Option, falls du Kommunikationsprobleme nach dem Streaming einer Datei zu der SD des Druckers beobachtest." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:337 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:351 msgid "Simulate ok for resend requests" msgstr "Zusätzliches ok für Resendrequests simulieren" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:340 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:354 msgid "If detected as necessary" msgstr "Falls als notwendig erkannt" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:348 -msgid "" -"Some Marlin forks lack an acknowledging ok with their resend" -" requests. Set this to \"always\" or \"if detected as necessary\" if you " -"run into communication stalls on resend requests." -msgstr "" -"Einige Marlinforks senden bei einem Resendrequest kein bestätigendes " -"ok. Setze diese Option auf \"immer\" oder \"falls als " -"notwendig erkannt\" falls du Kommunikationsprobleme nach Resendrequests " -"beobachtest." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:362 +msgid "Some Marlin forks lack an acknowledging ok with their resend requests. Set this to \"always\" or \"if detected as necessary\" if you run into communication stalls on resend requests." +msgstr "Einige Marlinforks senden bei einem Resendrequest kein bestätigendes ok. Setze diese Option auf \"immer\" oder \"falls als notwendig erkannt\" falls du Kommunikationsprobleme nach Resendrequests beobachtest." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:355 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:369 msgid "Protocol fine tuning" msgstr "Protokollfinetuning" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:359 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:373 msgid "Wait for start on connect" msgstr "Bei der Verbindung auf start warten" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:360 -msgid "" -"Try checking this if you run into connection timeouts due to your printer" -" taking too long to respond to OctoPrint's handshake attempts on connect." -msgstr "" -"Versuche es mit dieser Option, falls du Kommunikationsprobleme " -"beobachtest, weil dein Drucker zu lange braucht, um auf OctoPrints " -"Handshake Versuche zu antworten." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:374 +msgid "Try checking this if you run into connection timeouts due to your printer taking too long to respond to OctoPrint's handshake attempts on connect." +msgstr "Versuche es mit dieser Option, falls du Kommunikationsprobleme beobachtest, weil dein Drucker zu lange braucht, um auf OctoPrints Handshake Versuche zu antworten." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:365 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:379 msgid "Blocked commands" msgstr "Blockierte Befehle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:368 -msgid "" -"Use this to specify commands that should never be sent to the printer. " -"Just the G or M code, comma separated. Defaults to M0 and " -"M1 since most firmware will block until a button on the " -"controller has been pressed if it receives either of those two commands." -msgstr "" -"Nutze dies um Befehle zu definieren, die niemals zum Drucker gesendet " -"werden sollen. Nur der G oder M Code, kommasepariert. Standard ist " -"M0 und M1 da die meisten Firmwarevarianten beim" -" Empfang dieser Befehle blockiert, bis der Button am Druckercontroller " -"betätigt wurde." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:382 +msgid "Use this to specify commands that should never be sent to the printer. Just the G or M code, comma separated. Defaults to M0 and M1 since most firmware will block until a button on the controller has been pressed if it receives either of those two commands." +msgstr "Nutze dies um Befehle zu definieren, die niemals zum Drucker gesendet werden sollen. Nur der G oder M Code, kommasepariert. Standard ist M0 und M1 da die meisten Firmwarevarianten beim Empfang dieser Befehle blockiert, bis der Button am Druckercontroller betätigt wurde." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:372 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:386 msgid "Pausing commands" msgstr "Pausierende Befehle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:375 -msgid "" -"Use this to specify commands on which OctoPrint should pause the print " -"job. Just the G or M code, comma separated. Defaults to M0, " -"M1 and M25." -msgstr "" -"Nutze die um Befehle zu definieren, bei denen OctoPrint den Druckjob " -"pausieren sollte. Nur der G oder M Code, kommasepariert. Standard ist " -"M0, M1 und M25." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:389 +msgid "Use this to specify commands on which OctoPrint should pause the print job. Just the G or M code, comma separated. Defaults to M0, M1 and M25." +msgstr "Nutze die um Befehle zu definieren, bei denen OctoPrint den Druckjob pausieren sollte. Nur der G oder M Code, kommasepariert. Standard ist M0, M1 und M25." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:379 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:393 msgid "Emergency commands" msgstr "Notfallbefehle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:382 -msgid "" -"Use this to specify emergency commands which should jump any queues and -" -" if supported by the firmware - be force sent. Just the G or M code, " -"comma separated. Defaults to M112, M108 and " -"M410." -msgstr "" -"Nutze dies um Notfallbefehle zu definieren, die interne Queues " -"überspringen und - falls von der Firmware unterstützt - forciert gesendet" -" werden sollen. Nur der G oder M Code, kommasepariert. Standard ist " -"M112, M108 und M410." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:396 +msgid "Use this to specify emergency commands which should jump any queues and - if supported by the firmware - be force sent. Just the G or M code, comma separated. Defaults to M112, M108 and M410." +msgstr "Nutze dies um Notfallbefehle zu definieren, die interne Queues überspringen und - falls von der Firmware unterstützt - forciert gesendet werden sollen. Nur der G oder M Code, kommasepariert. Standard ist M112, M108 und M410." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:387 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:401 msgid "Command to send to the firmware on first handshake attempt." -msgstr "" -"Kommando, das als erster Handshakeversuch an die Firmware gesendet werden" -" soll" +msgstr "Kommando, das als erster Handshakeversuch an die Firmware gesendet werden soll" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:388 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:402 msgid "\"Hello\" command" msgstr "\"Hallo\"-Befehl" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:391 -msgid "" -"Use this to specify a different command than the default " -"M110 to send to the printer on initial connection to trigger" -" a communication handshake." -msgstr "" -"Nutze diese Einstellung um einen anderen Befehl als M110 " -"beim initialen Verbindungsaufbau zum Drucker zu senden." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:405 +msgid "Use this to specify a different command than the default M110 to send to the printer on initial connection to trigger a communication handshake." +msgstr "Nutze diese Einstellung um einen anderen Befehl als M110 beim initialen Verbindungsaufbau zum Drucker zu senden." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:394 -msgid "" -"Commands that are know to run long and hence should suppress " -"communication timeouts from being triggered." -msgstr "" -"Befehle, von denen bekannt ist, dass sie lang zur Ausführung benötigen " -"und daher das Auslösen von Kommunikationstimeouts unterdrücken sollten." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:408 +msgid "Commands that are know to run long and hence should suppress communication timeouts from being triggered." +msgstr "Befehle, von denen bekannt ist, dass sie lang zur Ausführung benötigen und daher das Auslösen von Kommunikationstimeouts unterdrücken sollten." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:395 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:409 msgid "Long running commands" msgstr "Lang laufende Befehle" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:398 -msgid "" -"Use this to specify the commands known to take a long time to complete " -"without output from your printer and hence might cause timeout issues. " -"Just the G or M code, comma separated." -msgstr "" -"Nutze diese Option, um solche Befehle zu definieren, von denen Du weißt, " -"dass sie eine längere Zeit lang laufen, währenddessen keinen Output " -"produzieren und daher Timeoutprobleme verursachen könnten. Nur den G- " -"oder M-Code, kommasepariert." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:412 +msgid "Use this to specify the commands known to take a long time to complete without output from your printer and hence might cause timeout issues. Just the G or M code, comma separated." +msgstr "Nutze diese Option, um solche Befehle zu definieren, von denen Du weißt, dass sie eine längere Zeit lang laufen, währenddessen keinen Output produzieren und daher Timeoutprobleme verursachen könnten. Nur den G- oder M-Code, kommasepariert." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:401 -msgid "" -"Commands that always require a line number and checksum to be sent with " -"them." -msgstr "" -"Befehle, die immer mit einer Prüfsumme und Zeilennummer gesendet werden " -"müssen." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:415 +msgid "Commands that always require a line number and checksum to be sent with them." +msgstr "Befehle, die immer mit einer Prüfsumme und Zeilennummer gesendet werden müssen." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:402 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:416 msgid "Commands that always require a checksum" msgstr "Befehle, die immer eine Prüfsumme benötigen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:405 -msgid "" -"Use this to specify which commands always need to be " -"sent with a checksum. Comma separated list." -msgstr "" -"Nutze diese Einstellung um Befehle zu spezifizieren, die " -"immer mit Prüfsumme gesendet werden müssen. Komma-" -"separierte Liste." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:419 +msgid "Use this to specify which commands always need to be sent with a checksum. Comma separated list." +msgstr "Nutze diese Einstellung um Befehle zu spezifizieren, die immer mit Prüfsumme gesendet werden müssen. Komma-separierte Liste." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:408 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:422 msgid "ok buffer size" msgstr "ok Buffergröße" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:409 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:423 msgid "ok buffer size" msgstr "ok Buffergröße" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:412 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:426 msgid "Only modify if told to do so" msgstr "Nur ändern wenn dazu aufgefordert" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:421 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:435 msgid "Error handling" msgstr "Fehlerbehandlung" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:423 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:437 msgid "What to do on a firmware error (Error: or !!)" -msgstr "" -"Was im Falle eines Firmwarefehlers (Error: oder " -"!!) gemacht werden soll" +msgstr "Was im Falle eines Firmwarefehlers (Error: oder !!) gemacht werden soll" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:426 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:440 msgid "Disconnect from the printer" msgstr "Verbindung zum Drucker trennen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:429 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:443 msgid "Cancel any ongoing prints but stay connected to the printer" msgstr "Laufende Druckaufträge abbrechen, aber mit dem Drucker verbunden bleiben" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:430 -msgid "" -"Please note that if you choose this, OctoPrint will still disconnect from" -" the printer in case of fatal errors reported by your firmware " -"(e.g. kill() called, fatal:)." -msgstr "" -"Bitte beachte, dass OctoPrint weiterhin die Verbindung zum Drucker " -"trennen wird, wenn fatale Fehler durch die Firmware gemeldet " -"werden (z.B. kill() called, fatal:)." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:444 +msgid "Please note that if you choose this, OctoPrint will still disconnect from the printer in case of fatal errors reported by your firmware (e.g. kill() called, fatal:)." +msgstr "Bitte beachte, dass OctoPrint weiterhin die Verbindung zum Drucker trennen wird, wenn fatale Fehler durch die Firmware gemeldet werden (z.B. kill() called, fatal:)." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:434 -msgid "" -"Only choose this if your firmware sends error messages that are not " -"actual errors. Might mask printer issues (even fatal errors!), be " -"careful!" -msgstr "" -"Wähle das nur aus, wenn deine Firmware Fehlermeldungen für Dinge sendet, " -"die gar keine wirklich Fehler sind. Könnte Druckerprobleme verbergen " -"(sogar fatale!), Vorsicht!" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:448 +msgid "Only choose this if your firmware sends error messages that are not actual errors. Might mask printer issues (even fatal errors!), be careful!" +msgstr "Wähle das nur aus, wenn deine Firmware Fehlermeldungen für Dinge sendet, die gar keine wirklich Fehler sind. Könnte Druckerprobleme verbergen (sogar fatale!), Vorsicht!" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:440 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:454 msgid "Send M112 on disconnect due to error" msgstr "Sende M112 bei fehlerbedingten Disconnects." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:441 -msgid "" -"If this is checked, OctoPrint will try to send an M112 prior" -" to a disconnect due to a (fatal) error in order to disable heaters and " -"motors." -msgstr "" -"Wenn dies ausgewählt ist, wird OctoPrint versuchen, vor Disconnects, die " -"durch einen (fatalen) Fehler verursacht wurden, ein M112 zum" -" Drucker zu senden, um Heizelemente und Motoren zu deaktivieren." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:455 +msgid "If this is checked, OctoPrint will try to send an M112 prior to a disconnect due to a (fatal) error in order to disable heaters and motors." +msgstr "Wenn dies ausgewählt ist, wird OctoPrint versuchen, vor Disconnects, die durch einen (fatalen) Fehler verursacht wurden, ein M112 zum Drucker zu senden, um Heizelemente und Motoren zu deaktivieren." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:449 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463 msgid "Log position on pause" msgstr "Position bei Pause loggen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:450 -msgid "" -"If you disable this, the pause_position placeholders in your" -" pause/resume GCODE scripts will stay unpopulated! However, pausing speed" -" might improve slightly." -msgstr "" -"Falls du das deaktivierst, werden die pause_position " -"Platzhalter in deinen Pausieren/Fortsetzen GCODE Scripts nicht befüllt! " -"Allerdings könnte sich die Pausierungsgeschwindigkeit einen Hauch " -"verbessern." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:464 +msgid "If you disable this, the pause_position placeholders in your pause/resume GCODE scripts will stay unpopulated! However, pausing speed might improve slightly." +msgstr "Falls du das deaktivierst, werden die pause_position Platzhalter in deinen Pausieren/Fortsetzen GCODE Scripts nicht befüllt! Allerdings könnte sich die Pausierungsgeschwindigkeit einen Hauch verbessern." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:458 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472 msgid "Log position on cancel" msgstr "Position bei Abbruch loggen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:459 -msgid "" -"If you disable this, the cancel_position placeholders in " -"your cancel GCODE script and the corresponding data in the print recovery" -" data will stay unpopulated! However, cancelling speed might improve " -"slightly." -msgstr "" -"Falls du das deaktivierst, werden die cancel_position " -"Platzhalter in deinem Abbruch GCODE Script nicht befüllt! Allerdings " -"könnte sich die Abbruchgeschwindigkeit einen Hauch verbessern." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:473 +msgid "If you disable this, the cancel_position placeholders in your cancel GCODE script and the corresponding data in the print recovery data will stay unpopulated! However, cancelling speed might improve slightly." +msgstr "Falls du das deaktivierst, werden die cancel_position Platzhalter in deinem Abbruch GCODE Script nicht befüllt! Allerdings könnte sich die Abbruchgeschwindigkeit einen Hauch verbessern." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:464 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:478 msgid "Attempt to abort any blocking heatups on cancel via M108." -msgstr "" -"Versuche, blockierende Aufheizprozesse beim Abbruch mittel " -"M108 zu stoppen." +msgstr "Versuche, blockierende Aufheizprozesse beim Abbruch mittel M108 zu stoppen." -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:465 -msgid "" -"Uncheck this if your firmware doesn't support M108 for " -"aborting blocking heatups!" -msgstr "" -"Deaktiviere dies, falls deine Firmware M108 zum Stoppen " -"blockierender Aufheizprozesse nicht unterstützt!" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:479 +msgid "Uncheck this if your firmware doesn't support M108 for aborting blocking heatups!" +msgstr "Deaktiviere dies, falls deine Firmware M108 zum Stoppen blockierender Aufheizprozesse nicht unterstützt!" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:470 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:484 msgid "Sanity Checking" msgstr "Validitätsprüfung" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:473 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:487 msgid "Sanity check tool commands" msgstr "Validität von Tool-Befehlen prüfen" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:474 -msgid "" -"If enabled, OctoPrint will not send tool commands to your printer that " -"exceed the number of extruders configured in the active printer profile, " -"or for which the firmware has reported an \"invalid extruder\" error. " -"Only uncheck this if OctoPrint or your firmware mistakingly mark valid " -"tools as invalid and be sure to investigate the reason for that, it might" -" be a misconfiguration you need to correct for proper operation." -msgstr "" -"Wenn das aktiviert ist, wird OctoPrint solche Tool-Befehle nicht zu deinem " -"Drucke senden, die über die Anzahl der im aktuellen Druckerprofile konfigurierten " -"Extruder hinausgehen oder für die die Firmware einen \"invalid extruder\" " -"Fehler zurückgegeben hat. Deaktiviere diese Option nur, wenn OctoPrint oder " -"deine Firmware Tools fälschlicherweise als nicht valide markieren, und stelle " -"sicher, dass du auch die Ursache dafür herausfindest, es könnte eine Fehlkonfiguration " -"sein, die du für korrekte Funktionsweise korrigieren musst." +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:488 +msgid "If enabled, OctoPrint will not send tool commands to your printer that exceed the number of extruders configured in the active printer profile, or for which the firmware has reported an \"invalid extruder\" error. Only uncheck this if OctoPrint or your firmware mistakingly mark valid tools as invalid and be sure to investigate the reason for that, it might be a misconfiguration you need to correct for proper operation." +msgstr "Wenn das aktiviert ist, wird OctoPrint solche Tool-Befehle nicht zu deinem Drucke senden, die über die Anzahl der im aktuellen Druckerprofile konfigurierten Extruder hinausgehen oder für die die Firmware einen \"invalid extruder\" Fehler zurückgegeben hat. Deaktiviere diese Option nur, wenn OctoPrint oder deine Firmware Tools fälschlicherweise als nicht valide markieren, und stelle sicher, dass du auch die Ursache dafür herausfindest, es könnte eine Fehlkonfiguration sein, die du für korrekte Funktionsweise korrigieren musst." #: src/octoprint/templates/dialogs/settings/server.jinja2:4 msgid "Commands" @@ -6390,26 +5271,16 @@ msgid "Send temperature fine adjustments automatically" msgstr "Temperaturfeinjustierungen automatisch senden" #: src/octoprint/templates/dialogs/settings/temperatures.jinja2:19 -msgid "" -"Enable this to have temperature fine adjustments you do via the + or - " -"button be sent to the printer automatically." -msgstr "" -"Aktiviere dies, um die Temperaturfeinjustierungen, die du mittels der + " -"und - Buttons durchführen kannst, automatisch zum Drucker senden zu " -"lassen." +msgid "Enable this to have temperature fine adjustments you do via the + or - button be sent to the printer automatically." +msgstr "Aktiviere dies, um die Temperaturfeinjustierungen, die du mittels der + und - Buttons durchführen kannst, automatisch zum Drucker senden zu lassen." #: src/octoprint/templates/dialogs/settings/temperatures.jinja2:23 msgid "Sending delay" msgstr "Sendeverzögerung" #: src/octoprint/templates/dialogs/settings/temperatures.jinja2:29 -msgid "" -"OctoPrint will use this delay to limit the number of sent temperature " -"commands should you perform multiple fine adjustments in a short time." -msgstr "" -"OctoPrint wird diese Verzögerung nutzen, um die Anzahl der gesendeten " -"Temperaturkommandos zu reduzieren wenn du mehrere Feinjustierungen in " -"einer kurzen Zeit durchführst." +msgid "OctoPrint will use this delay to limit the number of sent temperature commands should you perform multiple fine adjustments in a short time." +msgstr "OctoPrint wird diese Verzögerung nutzen, um die Anzahl der gesendeten Temperaturkommandos zu reduzieren wenn du mehrere Feinjustierungen in einer kurzen Zeit durchführst." #: src/octoprint/templates/dialogs/settings/temperatures.jinja2:32 msgid "Presets" @@ -6424,12 +5295,8 @@ msgid "RegExp" msgstr "RegExp" #: src/octoprint/templates/dialogs/usersettings/access.jinja2:5 -msgid "" -"If you do not wish to change your password, just leave the following " -"fields empty." -msgstr "" -"Falls Du Dein Passwort nicht ändern willst, lass die folgenden Felder " -"leer." +msgid "If you do not wish to change your password, just leave the following fields empty." +msgstr "Falls Du Dein Passwort nicht ändern willst, lass die folgenden Felder leer." #: src/octoprint/templates/dialogs/usersettings/access.jinja2:8 #: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:141 @@ -6448,81 +5315,50 @@ msgid "Current API Key" msgstr "Aktueller API-Key" #: src/octoprint/templates/dialogs/usersettings/access.jinja2:32 -msgid "" -"Please note that changes to the API key are applied immediately, without " -"having to \"Confirm\" first." -msgstr "" -"Bitte beachte, dass Änderungen am API-Key sofort angewandt werden, ohne " -"dass \"Bestätigen\" geklickt werden muss." +msgid "Please note that changes to the API key are applied immediately, without having to \"Confirm\" first." +msgstr "Bitte beachte, dass Änderungen am API-Key sofort angewandt werden, ohne dass \"Bestätigen\" geklickt werden muss." #: src/octoprint/templates/dialogs/usersettings/interface.jinja2:3 msgid "Language" msgstr "Sprache" #: src/octoprint/templates/dialogs/usersettings/interface.jinja2:11 -msgid "" -"Changes to the interface language will only become active after a reload " -"of the page." -msgstr "" -"Änderungen der Oberflächensprache werden erst nach einem Neuladen der " -"Seite aktiv." +msgid "Changes to the interface language will only become active after a reload of the page." +msgstr "Änderungen der Oberflächensprache werden erst nach einem Neuladen der Seite aktiv." #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:1 msgid "All Done!" msgstr "Alles erledigt!" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:3 -msgid "" -"\n" +msgid "\n" " Your OctoPrint installation is now all set up and ready to go.\n" -msgstr "" -"Deine OctoPrint Installation ist jetzt eingerichtet und es kann losgehen." -"\n" +msgstr "Deine OctoPrint Installation ist jetzt eingerichtet und es kann losgehen.\n" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:7 msgid "For your printer's safety" msgstr "Über die Sicherheit deines Druckers" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:10 -msgid "" -"\n" -" Even with OctoPrint attached you should never leave\n" -" your printer running completely unattended. The electronics " -"in our consumer printers can and\n" -" sometimes sadly do catch fire, so stay or have someone else stay " -"close enough to physically intervene\n" +msgid "\n" +" Even with OctoPrint attached you should never leave\n" +" your printer running completely unattended. The electronics in our consumer printers can and\n" +" sometimes sadly do catch fire, so stay or have someone else stay close enough to physically intervene\n" " in case of such catastrophic failure.\n" -msgstr "" -"Auch mit angeschlossener OctoPrint-Instanz solltest du deinen Drucker " -"niemals unbeaufsichtigt laufen " -"lassen. Die Elektronik in unseren Konsumerdruckern kann Feuer " -"fangen, und tut das leider auch manchmal. Bleibe also in der Nähe deines " -"Druckers oder sorge dafür, dass jemand anderes in der Nähe bleibt, um im " -"Falle eines solch katastrophalen Fehlers einschreiten zu können.\n" +msgstr "Auch mit angeschlossener OctoPrint-Instanz solltest du deinen Drucker niemals unbeaufsichtigt laufen lassen. Die Elektronik in unseren Konsumerdruckern kann Feuer fangen, und tut das leider auch manchmal. Bleibe also in der Nähe deines Druckers oder sorge dafür, dass jemand anderes in der Nähe bleibt, um im Falle eines solch katastrophalen Fehlers einschreiten zu können.\n" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:16 #, python-format -msgid "" -"\n" -" You also should never make your " -"OctoPrint instance available for everyone on the\n" -" public internet, even with Access Control enabled. Your " -"instance will be found, and bad people\n" +msgid "\n" +" You also should never make your OctoPrint instance available for everyone on the\n" +" public internet, even with Access Control enabled. Your instance will be found, and bad people\n" " will try to abuse it. Don't put yourself at risk,\n" -" use" -" a safe way to access your instance remotely.\n" -msgstr "" -"\n" -" Du solltest ebenfalls deine OctoPrint " -"Instanz niemals für jeden im öffentlichen Internet verfügbar " -"machen,\n" -" auch nicht wenn die Zugriffsbeschränkung aktiviert ist. Deine Instanz" -" wird gefunden werden, und böse Menschen\n" +" use a safe way to access your instance remotely.\n" +msgstr "\n" +" Du solltest ebenfalls deine OctoPrint Instanz niemals für jeden im öffentlichen Internet verfügbar machen,\n" +" auch nicht wenn die Zugriffsbeschränkung aktiviert ist. Deine Instanz wird gefunden werden, und böse Menschen\n" " werden versuchen, einzubrechen. Gehe kein Risiko ein,\n" -" nutze einen sicheren Weg, auf deine Instanz von unterwegs " -"zuzugreifen.\n" +" nutze einen sicheren Weg, auf deine Instanz von unterwegs zuzugreifen.\n" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:23 msgid "If you enjoy OctoPrint..." @@ -6530,26 +5366,17 @@ msgstr "Falls dir OctoPrint gefällt..." #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:26 #, python-format -msgid "" -"\n" -" Please consider supporting OctoPrint's ongoing " -"development,\n" -" which can only continue with funding by users like you! You can also " -"find this link in the \"About\" dialog.
    \n" +msgid "\n" +" Please consider supporting OctoPrint's ongoing development,\n" +" which can only continue with funding by users like you! You can also find this link in the \"About\" dialog.
    \n" " Thank you!\n" -msgstr "" -"\n" -" Bitte denke darüber nach, OctoPrints laufende Entwicklung zu " -"unterstützen,\n" -" welche nur dank Unterstützung von Nutzern wie dir weitergehen kann! " -"Du kannst diesen Link auch im Aboutdialog finden.
    \n" +msgstr "\n" +" Bitte denke darüber nach, OctoPrints laufende Entwicklung zu unterstützen,\n" +" welche nur dank Unterstützung von Nutzern wie dir weitergehen kann! Du kannst diesen Link auch im Aboutdialog finden.
    \n" " Vielen Dank!\n" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:32 -msgid "" -"\n" +msgid "\n" " With all that being said, Happy and Safe Printing!\n" msgstr "Und jetzt fröhliches und sicheres Drucken!\n" @@ -6558,20 +5385,15 @@ msgid "Hello!" msgstr "Hallo!" #: src/octoprint/templates/dialogs/wizard/firstrun_start.jinja2:3 -msgid "" -"\n" +msgid "\n" " Thank you for installing OctoPrint!\n" msgstr "Danke, dass du OctoPrint installiert hast!\n" #: src/octoprint/templates/dialogs/wizard/firstrun_start.jinja2:6 -msgid "" -"\n" -" This wizard will guide you through the final steps to get your " -"OctoPrint instance all set up and ready to go. We'll\n" +msgid "\n" +" This wizard will guide you through the final steps to get your OctoPrint instance all set up and ready to go. We'll\n" " get you printing in no time!\n" -msgstr "" -"Dieser Wizard wird dich nun durch die letzten Schritte begleiten, um " -"deine OctoPrint Instanz fertig einzurichten.\n" +msgstr "Dieser Wizard wird dich nun durch die letzten Schritte begleiten, um deine OctoPrint Instanz fertig einzurichten.\n" #: src/octoprint/templates/navbar/login.jinja2:20 msgid "Logout" @@ -6590,7 +5412,7 @@ msgid "Upload locally" msgstr "Upload (lokal)" #: src/octoprint/templates/overlays/dragndrop.jinja2:7 -#: src/octoprint/templates/sidebar/files.jinja2:71 +#: src/octoprint/templates/sidebar/files.jinja2:74 msgid "Upload to SD" msgstr "Upload (SD)" @@ -6611,20 +5433,13 @@ msgid "Please reload" msgstr "Bitte die Seite neu laden" #: src/octoprint/templates/overlays/reloadui.jinja2:7 -msgid "" -"\n" -" There is a new version of the server active now, a " -"reload\n" -" of the user interface is needed. This will not " -"interrupt\n" -" any print jobs you might have ongoing. Please reload " -"the\n" +msgid "\n" +" There is a new version of the server active now, a reload\n" +" of the user interface is needed. This will not interrupt\n" +" any print jobs you might have ongoing. Please reload the\n" " web interface now by clicking the button below.\n" " " -msgstr "" -"Die Serverversion hat sich geändert, ein Neuladen des Webinterfaces ist " -"notwendig. Das wird evtl. laufenden Printjobs nicht unterbrechen. Bitte " -"lade das Webinterface jetzt neu, indem du auf den Button unten klickst." +msgstr "Die Serverversion hat sich geändert, ein Neuladen des Webinterfaces ist notwendig. Das wird evtl. laufenden Printjobs nicht unterbrechen. Bitte lade das Webinterface jetzt neu, indem du auf den Button unten klickst." #: src/octoprint/templates/sidebar/connection.jinja2:8 msgid "Save connection settings" @@ -6646,43 +5461,43 @@ msgstr "Zurück" msgid "Currently in" msgstr "Aktuell in" -#: src/octoprint/templates/sidebar/files.jinja2:19 -#: src/octoprint/templates/sidebar/files.jinja2:34 -#: src/octoprint/templates/sidebar/files.jinja2:46 -msgid "Internal" -msgstr "Intern" +#: src/octoprint/templates/sidebar/files.jinja2:18 +msgid "Additional data" +msgstr "Weitere Daten" #: src/octoprint/templates/sidebar/files.jinja2:20 #: src/octoprint/templates/sidebar/files.jinja2:35 +#: src/octoprint/templates/sidebar/files.jinja2:48 +msgid "Internal" +msgstr "Intern" + +#: src/octoprint/templates/sidebar/files.jinja2:21 +#: src/octoprint/templates/sidebar/files.jinja2:36 #: src/octoprint/templates/sidebar/state.jinja2:4 msgid "Uploaded" msgstr "Hochgeladen" -#: src/octoprint/templates/sidebar/files.jinja2:24 -msgid "Additional data" -msgstr "Weitere Daten" - -#: src/octoprint/templates/sidebar/files.jinja2:27 +#: src/octoprint/templates/sidebar/files.jinja2:28 msgid "Load" msgstr "Laden" -#: src/octoprint/templates/sidebar/files.jinja2:28 +#: src/octoprint/templates/sidebar/files.jinja2:29 msgid "Load and Print" msgstr "Laden und Drucken" -#: src/octoprint/templates/sidebar/files.jinja2:54 +#: src/octoprint/templates/sidebar/files.jinja2:57 msgid "Free" msgstr "Frei" -#: src/octoprint/templates/sidebar/files.jinja2:54 +#: src/octoprint/templates/sidebar/files.jinja2:57 msgid "Total" msgstr "Gesamt" -#: src/octoprint/templates/sidebar/files.jinja2:59 +#: src/octoprint/templates/sidebar/files.jinja2:62 msgid "Create folder..." msgstr "Neues Verzeichnis..." -#: src/octoprint/templates/sidebar/files.jinja2:89 +#: src/octoprint/templates/sidebar/files.jinja2:92 msgid "Hint: You can also drag and drop files on this page to upload them." msgstr "Hinweis: Du kannst auch Dateien auf diese Seite ziehen um sie hochzuladen." @@ -6698,47 +5513,51 @@ msgstr "Filter auf den Suchergebnissen anwenden" msgid "Sort by upload date" msgstr "Nach Uploaddatum sortieren" -#: src/octoprint/templates/sidebar/files_header.jinja2:14 +#: src/octoprint/templates/sidebar/files_header.jinja2:10 +msgid "Sort by date of last print" +msgstr "Nach Datum des letzten Drucks sortieren" + +#: src/octoprint/templates/sidebar/files_header.jinja2:15 msgid "Sort by Folders, Files" msgstr "Erst Verzeichnisse, dann Dateien" -#: src/octoprint/templates/sidebar/files_header.jinja2:15 +#: src/octoprint/templates/sidebar/files_header.jinja2:16 msgid "Sort by Files, Folders" msgstr "Erst Dateien, dann Verzeichnisse" -#: src/octoprint/templates/sidebar/files_header.jinja2:16 +#: src/octoprint/templates/sidebar/files_header.jinja2:17 msgid "Mixed" msgstr "Gemischt" -#: src/octoprint/templates/sidebar/files_header.jinja2:27 +#: src/octoprint/templates/sidebar/files_header.jinja2:28 msgid "Only show files stored locally" msgstr "Nur lokal abgelegte Dateien anzeigen" -#: src/octoprint/templates/sidebar/files_header.jinja2:28 +#: src/octoprint/templates/sidebar/files_header.jinja2:29 msgid "Only show files stored on SD" msgstr "Nur auf SD abgelegte Dateien anzeigen" -#: src/octoprint/templates/sidebar/files_header.jinja2:31 +#: src/octoprint/templates/sidebar/files_header.jinja2:32 msgid "Hide successfully printed files" msgstr "Erfolgreich gedruckte Dateien verbergen" -#: src/octoprint/templates/sidebar/files_header.jinja2:36 +#: src/octoprint/templates/sidebar/files_header.jinja2:37 msgid "Refresh file list" msgstr "Dateiliste aktualisieren" -#: src/octoprint/templates/sidebar/files_header.jinja2:43 +#: src/octoprint/templates/sidebar/files_header.jinja2:44 msgid "SD Card operations" msgstr "SD Card Operationen" -#: src/octoprint/templates/sidebar/files_header.jinja2:47 +#: src/octoprint/templates/sidebar/files_header.jinja2:48 msgid "Initialize SD card" msgstr "SD-Karte initialisieren" -#: src/octoprint/templates/sidebar/files_header.jinja2:48 +#: src/octoprint/templates/sidebar/files_header.jinja2:49 msgid "Refresh SD files" msgstr "SD-Dateien aktualisieren" -#: src/octoprint/templates/sidebar/files_header.jinja2:49 +#: src/octoprint/templates/sidebar/files_header.jinja2:50 msgid "Release SD card" msgstr "SD-Karte auswerfen" @@ -6768,9 +5587,7 @@ msgstr "Zeitraffer rendern" #: src/octoprint/templates/sidebar/state.jinja2:14 msgid "Estimated total print time based on analysis of the file or past prints" -msgstr "" -"Geschätzte Gesamtdauer basierend auf statischer Analyse oder vergangenen " -"Drucken" +msgstr "Geschätzte Gesamtdauer basierend auf statischer Analyse oder vergangenen Drucken" #: src/octoprint/templates/sidebar/state.jinja2:14 msgid "Approx. Total Print Time" @@ -6785,12 +5602,8 @@ msgid "Print Time" msgstr "Dauer" #: src/octoprint/templates/sidebar/state.jinja2:17 -msgid "" -"Estimated time until the print job is done. This is only an estimate and " -"accuracy depends heavily on various factors!" -msgstr "" -"Geschätzte Zeit, bis der Druck beendet ist. Dies ist nur eine Schätzung, " -"deren Genauigkeit stark von diversen Faktoren abhängt!" +msgid "Estimated time until the print job is done. This is only an estimate and accuracy depends heavily on various factors!" +msgstr "Geschätzte Zeit, bis der Druck beendet ist. Dies ist nur eine Schätzung, deren Genauigkeit stark von diversen Faktoren abhängt!" #: src/octoprint/templates/sidebar/state.jinja2:17 msgid "Print Time Left" @@ -6865,12 +5678,8 @@ msgid "Default" msgstr "Standard" #: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:89 -msgid "" -"Marking a group as default will make it get pre selected when creating " -"new users." -msgstr "" -"Eine als Standardgruppe deklarierte Gruppe wird bei der Erstellung neuer " -"Nutzer vorselektiert." +msgid "Marking a group as default will make it get pre selected when creating new users." +msgstr "Eine als Standardgruppe deklarierte Gruppe wird bei der Erstellung neuer Nutzer vorselektiert." #: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6 msgid "Plugin" @@ -6911,12 +5720,8 @@ msgid "Change password for user \"%(user)s\"" msgstr "Passwortänderung für Nutzer \"%(user)s\"" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorAxes.jinja2:4 -msgid "" -"Please define the maximum speed/feedrate of the individual axes and " -"whether their control should be inverted or not." -msgstr "" -"Bitte definiere die maximale Geschwindkeit/Feedrate der individuellen " -"Achsen und ob ihre Steuerung invertiert werden soll oder nicht." +msgid "Please define the maximum speed/feedrate of the individual axes and whether their control should be inverted or not." +msgstr "Bitte definiere die maximale Geschwindkeit/Feedrate der individuellen Achsen und ob ihre Steuerung invertiert werden soll oder nicht." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorAxes.jinja2:8 msgid "X" @@ -6942,9 +5747,7 @@ msgstr "E" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorAxes.jinja2:54 msgid "This information is used for manual control via the \"Control\" tab." -msgstr "" -"Diese Informationen werden für die manuelle Steuerung im \"Steuerung\" " -"Tab verwendet." +msgstr "Diese Informationen werden für die manuelle Steuerung im \"Steuerung\" Tab verwendet." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorBuildvolume.jinja2:3 msgid "Form Factor" @@ -6991,17 +5794,11 @@ msgid "Height (Z)" msgstr "Höhe (Z)" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorBuildvolume.jinja2:81 -msgid "" -"\n" -" If your printer's print head may move slightly outside the " -"print volume (e.g. for nozzle cleaning routines)\n" -" you can define a custom safe bounding box for its movements " -"below.\n" +msgid "\n" +" If your printer's print head may move slightly outside the print volume (e.g. for nozzle cleaning routines)\n" +" you can define a custom safe bounding box for its movements below.\n" " " -msgstr "" -"Wenn der Druckkopf des Druckers sich außerhalb des Druckvolumens bewegen " -"darf (z.B. für Nozzlereinigungsroutinen) kannst du hier eine als " -"gefahrlos geltende Bounding Box für seine Bewegung definieren." +msgstr "Wenn der Druckkopf des Druckers sich außerhalb des Druckvolumens bewegen darf (z.B. für Nozzlereinigungsroutinen) kannst du hier eine als gefahrlos geltende Bounding Box für seine Bewegung definieren." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorBuildvolume.jinja2:88 msgid "Custom bounding box" @@ -7020,12 +5817,8 @@ msgid "Z Coordinates" msgstr "Z Koordinaten" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorBuildvolume.jinja2:136 -msgid "" -"This information is used for the temperature tab, the bounding box check," -" the GCODE Viewer and/or when slicing from OctoPrint." -msgstr "" -"Diese Informationen werden für das Temperaturtab, den Bounding-Box-Check," -" den GCODE Viewer und/oder beim Slicen aus OctoPrint heraus verwendet." +msgid "This information is used for the temperature tab, the bounding box check, the GCODE Viewer and/or when slicing from OctoPrint." +msgstr "Diese Informationen werden für das Temperaturtab, den Bounding-Box-Check, den GCODE Viewer und/oder beim Slicen aus OctoPrint heraus verwendet." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:4 msgid "Nozzle Diameter" @@ -7036,35 +5829,20 @@ msgid "Number of Extruders" msgstr "Anzahl Extruder" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:16 -msgid "" -"Make sure to specify number of extruders available on your printer or you" -" might run into issues" -msgstr "" -"Stelle sicher, dass du die Anzahl an Extrudern deines Druckers " -"konfigurierst oder du könntest auf Probleme stoßen" +msgid "Make sure to specify number of extruders available on your printer or you might run into issues" +msgstr "Stelle sicher, dass du die Anzahl an Extrudern deines Druckers konfigurierst oder du könntest auf Probleme stoßen" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:21 msgid "Shared nozzle" msgstr "Geteilte Düse" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:24 -msgid "" -"Check this if your printer has a single nozzle and heater shared among " -"its extruders instead of one nozzle and heater per extruder" -msgstr "" -"Markiere dies wenn dein Drucker eine einzelne Düse und Heizelement hat, " -"die unter den Extrudern geteilt werden (anstatt einer Düse und " -"Heizelement je Extruder)" +msgid "Check this if your printer has a single nozzle and heater shared among its extruders instead of one nozzle and heater per extruder" +msgstr "Markiere dies wenn dein Drucker eine einzelne Düse und Heizelement hat, die unter den Extrudern geteilt werden (anstatt einer Düse und Heizelement je Extruder)" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:31 -msgid "" -"Please specify the nozzle offsets of the extruders relative to the first " -"nozzle T0 if you haven't already done so in your " -"firmware. Otherwise leave them at (0,0)." -msgstr "" -"Bitte spezifiziere die Düsenoffsets der Extruder relativ zur ersten Düse " -"T0 falls du das nicht bereits in der Firmware deines Druckers " -"getan hast. Andernfalls belasse sie bei (0,0)." +msgid "Please specify the nozzle offsets of the extruders relative to the first nozzle T0 if you haven't already done so in your firmware. Otherwise leave them at (0,0)." +msgstr "Bitte spezifiziere die Düsenoffsets der Extruder relativ zur ersten Düse T0 falls du das nicht bereits in der Firmware deines Druckers getan hast. Andernfalls belasse sie bei (0,0)." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:37 #: src/octoprint/templates/tabs/temperature.jinja2:13 @@ -7072,16 +5850,8 @@ msgid "Offset" msgstr "Offset" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:56 -msgid "" -"This information is used for the graph and controls available in the " -"\"Temperature\" tab, the GCODE viewer, when slicing from within OctoPrint" -" and for deciding which toolchange commands are safe to send to the " -"printer." -msgstr "" -"Diese Informationen werden für den Graph und die Bedienelemente des " -"\"Temperatur\"-Tabs, den GCODE Viewer, beim Slicen über OctoPrint sowie " -"bei der Prüfung, welche Toolbefehle zum Drucker gesendet werden dürfen, " -"verwendet." +msgid "This information is used for the graph and controls available in the \"Temperature\" tab, the GCODE viewer, when slicing from within OctoPrint and for deciding which toolchange commands are safe to send to the printer." +msgstr "Diese Informationen werden für den Graph und die Bedienelemente des \"Temperatur\"-Tabs, den GCODE Viewer, beim Slicen über OctoPrint sowie bei der Prüfung, welche Toolbefehle zum Drucker gesendet werden dürfen, verwendet." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorGeneral.jinja2:6 msgid "Name must be set" @@ -7125,52 +5895,29 @@ msgid "Command to shut down the system OctoPrint is running on" msgstr "Befehl zum Herunterfahren des Systems, auf dem OctoPrint läuft" #: src/octoprint/templates/snippets/settings/server/serverOnlineCheck.jinja2:6 -msgid "" -"\n" -" Define a check interval, a host and a port to check " -"against. If you don't know what to set here, the\n" -" default values (using Google's DNS server) should work. " -"If you have concerns about using\n" -" that, define the IP and port of a different online server" -" that you trust and that has a high\n" +msgid "\n" +" Define a check interval, a host and a port to check against. If you don't know what to set here, the\n" +" default values (using Google's DNS server) should work. If you have concerns about using\n" +" that, define the IP and port of a different online server that you trust and that has a high\n" " availability.\n" " " -msgstr "" -"Definiere ein Prüfungsintervall, einen Host und einen Port gegen die " -"geprüft werden soll. Falls du nicht weißt, was du hier einstellen sollte:" -" Die Defaultwerte (Googles DNS Server) sollten funktionieren. Falls du " -"Bedenken hast, diese zu nutzen, definiere IP und Port eines anderen " -"Servers im Netz, dem du vertraust und der eine hohe Verfügbarkeit hat." +msgstr "Definiere ein Prüfungsintervall, einen Host und einen Port gegen die geprüft werden soll. Falls du nicht weißt, was du hier einstellen sollte: Die Defaultwerte (Googles DNS Server) sollten funktionieren. Falls du Bedenken hast, diese zu nutzen, definiere IP und Port eines anderen Servers im Netz, dem du vertraust und der eine hohe Verfügbarkeit hat." #: src/octoprint/templates/snippets/settings/server/serverOnlineCheck.jinja2:22 -msgid "" -"\n" -" If you also want to check if name resolution works " -"(strongly recommended), define a host name\n" -" to check name resolution against. If you don't know what " -"to set here, the default value\n" -" (OctoPrint's domain) should work. If you don't want to " -"perform regular resolution checks along\n" -" side with the general connectivity check, leave the field" -" empty.\n" +msgid "\n" +" If you also want to check if name resolution works (strongly recommended), define a host name\n" +" to check name resolution against. If you don't know what to set here, the default value\n" +" (OctoPrint's domain) should work. If you don't want to perform regular resolution checks along\n" +" side with the general connectivity check, leave the field empty.\n" " " -msgstr "" +msgstr "Falls du auch Überprüfen willst, ob die Namensauflösung funktioniert (sehr empfehlenswert), definiere einen Hostnamen gegen den die Auflösung geprüft werden soll. Falls du nicht weißt, was du hier eintragen sollst, sollte der Defaultwert (OctoPrints Domain) funktionieren. Falls du keine regelmäßigen Prüfungen der Namensauflösung zusammen mit der generellen Konnektivitätsprüfung vornehmen willst, dann lass das Feld leer.\n" #: src/octoprint/templates/snippets/settings/server/serverOnlineCheckDescription.jinja2:1 -msgid "" -"\n" -" If the connectivity check is enabled, OctoPrint will regularly check " -"if it's connected to the internet.\n" -" This is useful to prevent resource intensive " -"operations (such as checking for updates) if it's already\n" +msgid "\n" +" If the connectivity check is enabled, OctoPrint will regularly check if it's connected to the internet.\n" +" This is useful to prevent resource intensive operations (such as checking for updates) if it's already\n" " clear that they won't succeed anyhow.\n" -msgstr "" -"Wenn die Onlineprüfung aktiviert ist, wird OctoPrint in regelmäßigen " -"Abständen prüfen, ob es mit dem Internet verbunden ist. Das ist " -"nützlich um resourcenintensive Operationen zu verhindern" -" (wie z.B. der Prüfung, ob Updates vorliegen), wenn es bereits klar ist, " -"dass diese Operationen mangels Verbindung nicht durchgeführt werden " -"können.\n" +msgstr "Wenn die Onlineprüfung aktiviert ist, wird OctoPrint in regelmäßigen Abständen prüfen, ob es mit dem Internet verbunden ist. Das ist nützlich um resourcenintensive Operationen zu verhindern (wie z.B. der Prüfung, ob Updates vorliegen), wenn es bereits klar ist, dass diese Operationen mangels Verbindung nicht durchgeführt werden können.\n" #: src/octoprint/templates/snippets/settings/server/serverOnlineCheckEnabled.jinja2:4 msgid "Enable regular connectivity check" @@ -7193,7 +5940,6 @@ msgid "Check interval" msgstr "Prüfungsintervall" #: src/octoprint/templates/snippets/settings/server/serverOnlineCheckName.jinja2:1 -#, fuzzy msgid "Hostname to try to resolve to check for internet connectivity" msgstr "Hostname, mit dem die Namensauflösung getestet werden soll" @@ -7218,19 +5964,11 @@ msgid "Test name resolution" msgstr "Namensauflösung testen" #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistDescription.jinja2:1 -msgid "" -"\n" -" To protect against known severe issues with certain versions " -"of third party plugins, OctoPrint supports\n" -" the use of a centralized plugin version blacklist to automatically " -"disable such plugins before they can interfere\n" +msgid "\n" +" To protect against known severe issues with certain versions of third party plugins, OctoPrint supports\n" +" the use of a centralized plugin version blacklist to automatically disable such plugins before they can interfere\n" " with normal operation.\n" -msgstr "" -"Um vor bekannten Probleme mit bestimmten Versionen von " -"Thirdpartyplugins zu schützen unterstützt OctoPrint die " -"Verwendung einer zentralen Pluginblackliste, über die automatisch solche " -"Plugins deaktiviert werden können, bevor sie mit dem normalen Betrieb " -"interferieren können.\n" +msgstr "Um vor bekannten Probleme mit bestimmten Versionen von Thirdpartyplugins zu schützen unterstützt OctoPrint die Verwendung einer zentralen Pluginblackliste, über die automatisch solche Plugins deaktiviert werden können, bevor sie mit dem normalen Betrieb interferieren können.\n" #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistEnabled.jinja2:4 msgid "Enable plugin blacklist processing on startup" @@ -7241,12 +5979,8 @@ msgid "Any changes take effect only on the next server start." msgstr "Alle Änderungen treten erst mit dem nächsten Serverstart in Kraft." #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistTtl.jinja2:1 -msgid "" -"How long to cache the blacklist, in minutes. You should normally not have" -" to change this." -msgstr "" -"Wie lange die Pluginblackliste gecached werden sollen, in Minuten. Du " -"solltest hier normalerweise nichts ändern müssen." +msgid "How long to cache the blacklist, in minutes. You should normally not have to change this." +msgstr "Wie lange die Pluginblackliste gecached werden sollen, in Minuten. Du solltest hier normalerweise nichts ändern müssen." #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistTtl.jinja2:2 msgid "Blacklist cache TTL" @@ -7254,9 +5988,7 @@ msgstr "Blacklistencache TTL" #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistUrl.jinja2:1 msgid "Plugin blacklist URL. You should normally not have to change this." -msgstr "" -"URL der Pluginblackliste. Du solltest hier normalerweise nichts ändern " -"müssen." +msgstr "URL der Pluginblackliste. Du solltest hier normalerweise nichts ändern müssen." #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistUrl.jinja2:2 msgid "Blacklist URL" @@ -7332,9 +6064,7 @@ msgstr "Snapshot Timeout" #: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotUrl.jinja2:1 msgid "URL to use for retrieving webcam snapshot images for timelapse creation" -msgstr "" -"URL, die genutzt werden soll, um Einzelaufnahmen für die " -"Zeitraffererstellung abzurufen" +msgstr "URL, die genutzt werden soll, um Einzelaufnahmen für die Zeitraffererstellung abzurufen" #: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotUrl.jinja2:2 msgid "Snapshot URL" @@ -7353,18 +6083,12 @@ msgid "Stream aspect ratio" msgstr "Seitenverhältnis des Streams" #: src/octoprint/templates/snippets/settings/webcam/webcamStreamRatio.jinja2:5 -msgid "" -"If the stream has a different aspect ratio than configured here it will " -"be letterboxed." -msgstr "" -"Falls der Stream ein anderes Seitenverhältnis hat als hier eingestellt " -"ist, wird er geletterboxed." +msgid "If the stream has a different aspect ratio than configured here it will be letterboxed." +msgstr "Falls der Stream ein anderes Seitenverhältnis hat als hier eingestellt ist, wird er geletterboxed." #: src/octoprint/templates/snippets/settings/webcam/webcamStreamTimeout.jinja2:1 msgid "Timeout after which to unload the stream if the control tab is not visible" -msgstr "" -"Timeout nach dem der Webcamstream deaktiviert werden soll wenn das " -"\"Steuerung\"-Tab nicht sichtbar ist" +msgstr "Timeout nach dem der Webcamstream deaktiviert werden soll wenn das \"Steuerung\"-Tab nicht sichtbar ist" #: src/octoprint/templates/snippets/settings/webcam/webcamStreamTimeout.jinja2:2 msgid "Stream timeout" @@ -7372,21 +6096,15 @@ msgstr "Streamtimeout" #: src/octoprint/templates/snippets/settings/webcam/webcamStreamUrl.jinja2:1 msgid "URL to embed into the UI for live viewing of the webcam stream" -msgstr "" -"URL, die in die Oberfläche zum Betrachten des Webcamstreams eingebunden " -"werden soll" +msgstr "URL, die in die Oberfläche zum Betrachten des Webcamstreams eingebunden werden soll" #: src/octoprint/templates/snippets/settings/webcam/webcamStreamUrl.jinja2:2 msgid "Stream URL" msgstr "Stream-URL" #: src/octoprint/templates/snippets/settings/webcam/webcamStreamUrl.jinja2:8 -msgid "" -"Needs to be reachable from the browser displaying the OctoPrint UI, used " -"to embed the webcam stream into the page." -msgstr "" -"Muss vom Browser erreichbar sein, in dem die OctoPrint UI angezeigt wird," -" wird genutzt, um den Webcam Stream in die Seite einzubetten." +msgid "Needs to be reachable from the browser displaying the OctoPrint UI, used to embed the webcam stream into the page." +msgstr "Muss vom Browser erreichbar sein, in dem die OctoPrint UI angezeigt wird, wird genutzt, um den Webcam Stream in die Seite einzubetten." #: src/octoprint/templates/tabs/control.jinja2:5 msgid "Webcam stream loading..." @@ -7397,26 +6115,12 @@ msgid "Webcam stream not loaded" msgstr "Webcamstream nicht geladen" #: src/octoprint/templates/tabs/control.jinja2:9 -msgid "" -"It might not be configured correctly or require authentication. To have " -"this fixed, get in touch with an administrator of this OctoPrint " -"instance." -msgstr "" -"Es liegt evtl. eine Fehlkonfiguration vor oder es werden Logindaten " -"benötigt. Um dies zu beheben wende dich bitte an einen Administrator " -"dieser OctoPrint Instanz." +msgid "It might not be configured correctly or require authentication. To have this fixed, get in touch with an administrator of this OctoPrint instance." +msgstr "Es liegt evtl. eine Fehlkonfiguration vor oder es werden Logindaten benötigt. Um dies zu beheben wende dich bitte an einen Administrator dieser OctoPrint Instanz." #: src/octoprint/templates/tabs/control.jinja2:10 -msgid "" -"It might not be configured correctly or require authentication. You can " -"change the URL of the stream under \"Settings\" > \"Webcam & Timelapse\" " -"> \"Webcam\" > \"Stream URL\". If you don't have a webcam you can also " -"just disable webcam support there." -msgstr "" -"Es liegt evtl. eine Fehlkonfiguration vor oder es werden Logindaten " -"benötigt. Du kannst die URL des Streams unter \"Einstellungen\" > " -"\"Webcam & Zeitraffer\" > \"Webcam\" > \"Stream-URL\" ändern. Falls du " -"keine Webcam hast kannst du Webcam-Unterstützung dort auch deaktivieren." +msgid "It might not be configured correctly or require authentication. You can change the URL of the stream under \"Settings\" > \"Webcam & Timelapse\" > \"Webcam\" > \"Stream URL\". If you don't have a webcam you can also just disable webcam support there." +msgstr "Es liegt evtl. eine Fehlkonfiguration vor oder es werden Logindaten benötigt. Du kannst die URL des Streams unter \"Einstellungen\" > \"Webcam & Zeitraffer\" > \"Webcam\" > \"Stream-URL\" ändern. Falls du keine Webcam hast kannst du Webcam-Unterstützung dort auch deaktivieren." #: src/octoprint/templates/tabs/control.jinja2:11 msgid "Currently configured stream URL" @@ -7459,9 +6163,7 @@ msgid "Stepsize" msgstr "Schrittgröße" #: src/octoprint/templates/tabs/control.jinja2:38 -msgid "" -"Hint: If you move your mouse over the picture, you enter keyboard control" -" mode." +msgid "Hint: If you move your mouse over the picture, you enter keyboard control mode." msgstr "Hinweis: Bewegen der Maus über das Bild aktiviert die Tastatursteuerung." #: src/octoprint/templates/tabs/control.jinja2:83 @@ -7474,14 +6176,8 @@ msgid "Please note!" msgstr "Bitte beachten!" #: src/octoprint/templates/tabs/control.jinja2:83 -msgid "" -"The feed rate can only be set, it cannot be read back from the firmware " -"due to a limitation of the communication protocol. The value shown on the" -" UI thus does not reflect the current setting." -msgstr "" -"Die Feedrate kann nur gesetzt werden, sie kann nicht von der Firmware " -"zurück gelesen werden. Dies ist eine Beschränkung im Kommunikationsprotokoll. " -"Der Wert in der UI spiegelt nicht die aktuellen Einstellungen wider." +msgid "The feed rate can only be set, it cannot be read back from the firmware due to a limitation of the communication protocol. There is no way to show the current setting." +msgstr "Die Feedrate kann nur gesetzt werden, sie kann nicht von der Firmware zurück gelesen werden. Dies ist eine Beschränkung im Kommunikationsprotokoll. Es gibt keine Möglichkeit, den aktuellen Wert anzuzeigen." #: src/octoprint/templates/tabs/control.jinja2:97 msgid "Select Tool..." @@ -7500,14 +6196,8 @@ msgid "Flow rate modifier:" msgstr "Flowrate-Modifier:" #: src/octoprint/templates/tabs/control.jinja2:113 -msgid "" -"The flow rate can only be set, it cannot be read back from the firmware " -"due to a limitation of the communication protocol. The value shown on the" -" UI thus does not reflect the current setting." -msgstr "" -"Die Flowrate kann nur gesetzt werden, sie kann nicht von der Firmware " -"zurück gelesen werden. Dies ist eine Beschränkung im Kommunikationsprotokoll. " -"Der Wert in der UI spiegelt nicht die aktuellen Einstellungen wider." +msgid "The flow rate can only be set, it cannot be read back from the firmware due to a limitation of the communication protocol. There is no way to show the current setting." +msgstr "Die Flowrate kann nur gesetzt werden, sie kann nicht von der Firmware zurück gelesen werden. Dies ist eine Beschränkung im Kommunikationsprotokoll. Es gibt keine Möglichkeit, den aktuellen Wert anzuzeigen." #: src/octoprint/templates/tabs/control.jinja2:126 msgid "Motors off" @@ -7607,56 +6297,35 @@ msgid "Reset options" msgstr "Optionen zurücksetzen" #: src/octoprint/templates/tabs/gcodeviewer.jinja2:107 -msgid "" -"\n" -" Note that the time and usage values in this tab are " -"estimated by the GCODE viewer in your\n" -" browser and might differ from the values " -"estimated by the server that are displayed in the\n" -" \"State\" and \"Files\" panels in the sidebar due to slightly" -" different implementations. Also note that these\n" -" estimated values may be inaccurate since " -"they can also take information present in the\n" +msgid "\n" +" Note that the time and usage values in this tab are estimated by the GCODE viewer in your\n" +" browser and might differ from the values estimated by the server that are displayed in the\n" +" \"State\" and \"Files\" panels in the sidebar due to slightly different implementations. Also note that these\n" +" estimated values may be inaccurate since they can also take information present in the\n" " GCODE file into account.\n" " " -msgstr "" -"\n" -" Bitte beachte, dass die Zeit- und Verbrauchsangaben in diesem" -" Tab vom GCODE Viewer in Deinem Browser\n" -" geschätzt wurden und sich von den vom Server" -" geschätzten Werten\n" -" in den \"Status\"- und \"Dateien\"-Panels in der Seitenleiste" -" aufgrund von leichten Unterschieden in der\n" -" Implementierung unterscheiden können. Beachte zudem, dass " -"diese geschätzten Werte\n" -" ungenau sein können, da sie nur auf Informationen aus den " -"GCODE Dateien basieren.\n" +msgstr "\n" +" Bitte beachte, dass die Zeit- und Verbrauchsangaben in diesem Tab vom GCODE Viewer in Deinem Browser\n" +" geschätzt wurden und sich von den vom Server geschätzten Werten\n" +" in den \"Status\"- und \"Dateien\"-Panels in der Seitenleiste aufgrund von leichten Unterschieden in der\n" +" Implementierung unterscheiden können. Beachte zudem, dass diese geschätzten Werte\n" +" ungenau sein können, da sie nur auf Informationen aus den GCODE Dateien basieren.\n" " " #: src/octoprint/templates/tabs/gcodeviewer.jinja2:118 -msgid "" -"

    \n" -" You've selected for printing which has a size of\n" -" . Depending on your machine " -"this\n" -" might be too large for rendering and cause your browser to become" -" unresponsive or crash.\n" +msgid "

    \n" +" You've selected for printing which has a size of\n" +" . Depending on your machine this\n" +" might be too large for rendering and cause your browser to become unresponsive or crash.\n" "

    \n" "\n" "

    \n" " Are you sure you want to visualize this file nevertheless?\n" "

    " -msgstr "" -"

    \n" -" Du hast " -"zum Drucken ausgewählt das\n" -" groß ist. Abhängig von Deinem" -"\n" -" System könnte das zu groß zum Rendern sein und Deinen Browser zum" -" Absturz bringen.\n" +msgstr "

    \n" +" Du hast zum Drucken ausgewählt das\n" +" groß ist. Abhängig von Deinem\n" +" System könnte das zu groß zum Rendern sein und Deinen Browser zum Absturz bringen.\n" "

    \n" "\n" "

    \n" @@ -7721,33 +6390,16 @@ msgid "Clear all" msgstr "Alles leeren" #: src/octoprint/templates/tabs/terminal.jinja2:20 -msgid "" -"For performance reasons only a limited amount of terminal functionality " -"is enabled right now." -msgstr "" -"Aus Gründen der Performance ist nur ein begrenzter Teil der " -"Terminalfunktionalität zur Zeit verfügbar." +msgid "For performance reasons only a limited amount of terminal functionality is enabled right now." +msgstr "Aus Gründen der Performance ist nur ein begrenzter Teil der Terminalfunktionalität zur Zeit verfügbar." #: src/octoprint/templates/tabs/terminal.jinja2:38 msgid "Fake Acknowledgement" msgstr "Bestätigung faken" #: src/octoprint/templates/tabs/terminal.jinja2:39 -msgid "" -"If acknowledgements (\"ok\"s) sent by the firmware get lost due to issues" -" with the serial communication to your printer, OctoPrint's communication" -" with it can become stuck. If that happens, this can help. Please be " -"advised that such occurrences hint at general communication issues with " -"your printer which will probably negatively influence your printing " -"results and which you should therefore try to resolve!" -msgstr "" -"Falls Bestätigungen (\"ok\"s) Deiner Firmware aufgrund von " -"Kommunikationsproblemen mit Deinem Drucker verloren gehen, kann die " -"Kommunikation zwischen OctoPrint und Deinem Drucker zum Stillstand " -"kommen. Falls das passiert, kann das hier helfen. Bitte bedenke, dass " -"solche Vorfälle ein Hinweis auf ein generelles Kommunikationsproblem mit " -"Deinem Drucker hindeuten, das wahrscheinlich Deine Druckergebnisse " -"negativ beeinflusst und das du daher versuchen solltest, zu beseitigen!" +msgid "If acknowledgements (\"ok\"s) sent by the firmware get lost due to issues with the serial communication to your printer, OctoPrint's communication with it can become stuck. If that happens, this can help. Please be advised that such occurrences hint at general communication issues with your printer which will probably negatively influence your printing results and which you should therefore try to resolve!" +msgstr "Falls Bestätigungen (\"ok\"s) Deiner Firmware aufgrund von Kommunikationsproblemen mit Deinem Drucker verloren gehen, kann die Kommunikation zwischen OctoPrint und Deinem Drucker zum Stillstand kommen. Falls das passiert, kann das hier helfen. Bitte bedenke, dass solche Vorfälle ein Hinweis auf ein generelles Kommunikationsproblem mit Deinem Drucker hindeuten, das wahrscheinlich Deine Druckergebnisse negativ beeinflusst und das du daher versuchen solltest, zu beseitigen!" #: src/octoprint/templates/tabs/terminal.jinja2:42 msgid "Force fancy functionality" @@ -7758,24 +6410,12 @@ msgid "Force terminal output during printing" msgstr "Terminalausgabe beim Druck erzwingen" #: src/octoprint/templates/tabs/terminal.jinja2:44 -msgid "" -"Some functionality of the terminal will be disabled if OctoPrint detects " -"that your browser is too slow for that. You may force it back on here, " -"but be aware that this might make your browser unresponsive." -msgstr "" -"Einige Funktionen des Terminals werden deaktiviert, wenn OctoPrint " -"erkennt, dass Dein Browser zu langsam dafür ist. Du kannst diese " -"Funktionen hier wieder zwangsweise aktivieren, aber bitte bedenke, dass " -"das zur Folge haben könnte, dass dein Browser nicht mehr oder nur sehr " -"langsam reagiert." +msgid "Some functionality of the terminal will be disabled if OctoPrint detects that your browser is too slow for that. You may force it back on here, but be aware that this might make your browser unresponsive." +msgstr "Einige Funktionen des Terminals werden deaktiviert, wenn OctoPrint erkennt, dass Dein Browser zu langsam dafür ist. Du kannst diese Funktionen hier wieder zwangsweise aktivieren, aber bitte bedenke, dass das zur Folge haben könnte, dass dein Browser nicht mehr oder nur sehr langsam reagiert." #: src/octoprint/templates/tabs/timelapse.jinja2:4 -msgid "" -"Take note that timelapse configuration is disabled while your printer is " -"printing." -msgstr "" -"Bitte beachte dass die Zeitrafferkonfiguration während des Druckens " -"deaktiviert ist." +msgid "Take note that timelapse configuration is disabled while your printer is printing." +msgstr "Bitte beachte dass die Zeitrafferkonfiguration während des Druckens deaktiviert ist." #: src/octoprint/templates/tabs/timelapse.jinja2:7 msgid "Timelapse Configuration" @@ -7790,26 +6430,16 @@ msgid "Note" msgstr "Bemerkung" #: src/octoprint/templates/tabs/timelapse.jinja2:18 -msgid "" -"Does not work when printing from the printer's SD Card (no way to detect " -"the change in Z reliably). Use \"Timed\" mode for those prints instead." -msgstr "" -"Funktioniert nicht, wenn von der SD-Karte des Druckers gedruckt wird " -"(keine Möglichkeit, Änderungen der Z-Achse zuverlässig zu detektieren). " -"Verwende stattdessen den \"Nach Zeit\"-Modus für solche Drucke." +msgid "Does not work when printing from the printer's SD Card (no way to detect the change in Z reliably). Use \"Timed\" mode for those prints instead." +msgstr "Funktioniert nicht, wenn von der SD-Karte des Druckers gedruckt wird (keine Möglichkeit, Änderungen der Z-Achse zuverlässig zu detektieren). Verwende stattdessen den \"Nach Zeit\"-Modus für solche Drucke." #: src/octoprint/templates/tabs/timelapse.jinja2:23 msgid "Minimum interval" msgstr "Minimales Intervall" #: src/octoprint/templates/tabs/timelapse.jinja2:29 -msgid "" -"OctoPrint will rate limit snapshots to this minimum interval. This it to " -"prevent against performance issues with vase mode/continuous z prints." -msgstr "" -"OctoPrint wird Zeitrafferaufnahmen auf dieses minimale Intervall " -"ratelimiten. Dies soll gegen Performanzprobleme bei Vase-" -"Mode/Continuous-Z-Drucken helfen." +msgid "OctoPrint will rate limit snapshots to this minimum interval. This it to prevent against performance issues with vase mode/continuous z prints." +msgstr "OctoPrint wird Zeitrafferaufnahmen auf dieses minimale Intervall ratelimiten. Dies soll gegen Performanzprobleme bei Vase-Mode/Continuous-Z-Drucken helfen." #: src/octoprint/templates/tabs/timelapse.jinja2:34 msgid "Snapshot interval" @@ -7828,40 +6458,24 @@ msgid "Timelapse post roll" msgstr "Timelapse-Postroll" #: src/octoprint/templates/tabs/timelapse.jinja2:60 -msgid "" -"OctoPrint will use the final picture to add this many seconds to the end " -"of your rendered timelapse." -msgstr "" -"OctoPrint wird die letzte Aufnahme verwenden um so viele zusätzliche " -"Sekunden zur gerenderten Zeitrafferaufnahme hinzuzufügen." +msgid "OctoPrint will use the final picture to add this many seconds to the end of your rendered timelapse." +msgstr "OctoPrint wird die letzte Aufnahme verwenden um so viele zusätzliche Sekunden zur gerenderten Zeitrafferaufnahme hinzuzufügen." #: src/octoprint/templates/tabs/timelapse.jinja2:65 msgid "Retraction Z-Hop" msgstr "Retraction Z-Hop" #: src/octoprint/templates/tabs/timelapse.jinja2:71 -msgid "" -"Enter the retraction z-hop used in the firmware or the gcode file to " -"trigger snapshots for the timelapse only if a real layer change happens. " -"For this to work properly your retraction z-hop has to be different from " -"your layerheight!" -msgstr "" -"Gib den Retraction Z-Hop Wert aus deiner Firmware oder den GCODE Dateien " -"hier ein, um Snapshots für Zeitraffer nur bei echten Schichtwechseln " -"auszulösen. Damit das korrekt funktionieren kann muss dein Retraction " -"Z-Hop Wert anders als deine Schichthöhe sein!" +msgid "Enter the retraction z-hop used in the firmware or the gcode file to trigger snapshots for the timelapse only if a real layer change happens. For this to work properly your retraction z-hop has to be different from your layerheight!" +msgstr "Gib den Retraction Z-Hop Wert aus deiner Firmware oder den GCODE Dateien hier ein, um Snapshots für Zeitraffer nur bei echten Schichtwechseln auszulösen. Damit das korrekt funktionieren kann muss dein Retraction Z-Hop Wert anders als deine Schichthöhe sein!" #: src/octoprint/templates/tabs/timelapse.jinja2:78 msgid "Save as default" msgstr "Als Standard speichern" #: src/octoprint/templates/tabs/timelapse.jinja2:79 -msgid "" -"Check this to make your selected timelapse mode and options persist " -"across restarts." -msgstr "" -"Auswählen um deinen gewählten Zeitraffermodus und -parameter über " -"Neustarts hinweg zu persistieren." +msgid "Check this to make your selected timelapse mode and options persist across restarts." +msgstr "Auswählen um deinen gewählten Zeitraffermodus und -parameter über Neustarts hinweg zu persistieren." #: src/octoprint/templates/tabs/timelapse.jinja2:86 msgid "You have unsaved changes. Don't forget to save them." @@ -7880,25 +6494,12 @@ msgid "Timelapse not fully configured" msgstr "Zeitraffer nicht vollständig konfiguriert" #: src/octoprint/templates/tabs/timelapse.jinja2:95 -msgid "" -"The snapshot URL and/or the path to FFMPEG are missing. To have this " -"fixed, get in touch with an administrator of this OctoPrint instance." -msgstr "" -"Die Snapshot-URL und/oder the Pfad zu FFMPEG fehlen. Setz dich mit einem " -"Administrator dieser OctoPrint-Instanz in Verbindung, um das korrigieren " -"zu lassen." +msgid "The snapshot URL and/or the path to FFMPEG are missing. To have this fixed, get in touch with an administrator of this OctoPrint instance." +msgstr "Die Snapshot-URL und/oder the Pfad zu FFMPEG fehlen. Setz dich mit einem Administrator dieser OctoPrint-Instanz in Verbindung, um das korrigieren zu lassen." #: src/octoprint/templates/tabs/timelapse.jinja2:96 -msgid "" -"The snapshot URL and/or the path to FFMPEG are missing. You can change " -"both under \"Settings\" > \"Webcam & Timelapse\" > \"Timelapse\". If you " -"don't have a webcam or don't want to enable timelapse support you can " -"also just disable it there." -msgstr "" -"Die Snapshot-URL und/oder the Pfad zu FFMPEG fehlen. Du kannst beide " -"unter \"Einstellungen\" > \"Webcam & Zeitraffer\" > \"Zeitraffer\" " -"anpassen. Falls du keine Webcam hast oder Zeitrafferunterstützung nicht " -"einschalten willst, kannst du beides auch dort abschalten." +msgid "The snapshot URL and/or the path to FFMPEG are missing. You can change both under \"Settings\" > \"Webcam & Timelapse\" > \"Timelapse\". If you don't have a webcam or don't want to enable timelapse support you can also just disable it there." +msgstr "Die Snapshot-URL und/oder the Pfad zu FFMPEG fehlen. Du kannst beide unter \"Einstellungen\" > \"Webcam & Zeitraffer\" > \"Zeitraffer\" anpassen. Falls du keine Webcam hast oder Zeitrafferunterstützung nicht einschalten willst, kannst du beides auch dort abschalten." #: src/octoprint/templates/tabs/timelapse.jinja2:98 msgid "Currently configured snapshot URL" @@ -8106,8 +6707,8 @@ msgstr "Zeitrafferaufnahme rendern" #~ "models." #~ msgstr "" #~ "Nicht mit spiralisierten Vasen (\"Joris\") " -#~ "oder ähnlichen Modellen mit ständigen " -#~ "Z-Achsen-Änderungen verwenden." +#~ "oder ähnlichen Modellen mit ständigen Z" +#~ "-Achsen-Änderungen verwenden." #~ msgid "Interval between snapshots (in seconds)" #~ msgstr "Intervall zwischen Schnappschüssen (in Sekunden) " @@ -8842,3 +7443,25 @@ msgstr "Zeitrafferaufnahme rendern" #~ "href=\"https://github.com/foosel/OctoPrint/wiki/Plugin:-Software-" #~ "Update\" target=\"_blank\">Dokumentation." +#~ msgid "Allows users to upload new files" +#~ msgstr "Erlaubt das Hochladen neuer Dateien" + +#~ msgid "Allows users to delete files" +#~ msgstr "Erlaubt Nutzern, Dateien zu löschen" + +#~ msgid "" +#~ "This does not look like a valid" +#~ " plugin archive. Valid plugin archives " +#~ "should be either zip files or " +#~ "tarballs and have the extension " +#~ "\".zip\", \".tar.gz\", \".tgz\" or \".tar\"" +#~ msgstr "" +#~ "Das sieht nicht aus wie ein " +#~ "valides Pluginarchiv. Valide Pluginarchive " +#~ "sollten entweder ZIP-Dateien oder " +#~ "Tarballs sein und die Dateiextension " +#~ "\".zip\", \".tar.gz\", \".tgz\" oder \".tar\"" +#~ " haben" + +#~ msgid "Detecting baudrate" +#~ msgstr "Detektiere Baudrate" diff --git a/translations/messages.pot b/translations/messages.pot index 9131a5e8c..2cbdd37d4 100644 --- a/translations/messages.pot +++ b/translations/messages.pot @@ -6,16 +6,16 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: OctoPrint 1.4.1.dev187+g1c371a24f.dirty\n" +"Project-Id-Version: OctoPrint 1.4.1.dev359+g27d2e2243.dirty\n" "Report-Msgid-Bugs-To: i18n@octoprint.org\n" -"POT-Creation-Date: 2020-04-24 10:50+0200\n" +"POT-Creation-Date: 2020-06-26 12:30+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.6.0\n" +"Generated-By: Babel 2.8.0\n" #: src/octoprint/access/permissions.py:272 msgid "Admin is allowed to do everything" @@ -43,80 +43,85 @@ msgstr "" #: src/octoprint/access/permissions.py:301 msgid "" -"Allows to retrieve a list of all uploaded files, includingtheir metadata " -"(e.g. date, file size, analysis results, ...)" +"Allows to retrieve a list of all uploaded files and folders, " +"includingtheir metadata (e.g. date, file size, analysis results, ...)" msgstr "" #: src/octoprint/access/permissions.py:306 -msgid "Allows users to upload new files" +msgid "" +"Allows users to upload new files, create new folders and copy existing " +"ones. If the File Delete permission is also set, File Upload also allows " +"moving files and folders." msgstr "" -#: src/octoprint/access/permissions.py:310 +#: src/octoprint/access/permissions.py:312 msgid "" "Allows users to download files. The GCODE viewer is affected by this as " "well." msgstr "" -#: src/octoprint/access/permissions.py:315 -msgid "Allows users to delete files" +#: src/octoprint/access/permissions.py:317 +msgid "" +"Allows users to delete files and folders. If the File Upload permission " +"is also set, File Delete also allows moving files and folders." msgstr "" -#: src/octoprint/access/permissions.py:319 +#: src/octoprint/access/permissions.py:322 msgid "Allows to select a file for printing" msgstr "" -#: src/octoprint/access/permissions.py:324 +#: src/octoprint/access/permissions.py:327 msgid "Allows to start, pause and cancel a print job" msgstr "" -#: src/octoprint/access/permissions.py:329 +#: src/octoprint/access/permissions.py:332 msgid "" "Allows access to the GCODE viewer if the \"File Download\"permission is " "also set." msgstr "" -#: src/octoprint/access/permissions.py:335 +#: src/octoprint/access/permissions.py:338 msgid "" "Allows to watch the terminal tab but not to send commands to the printer " "from it" msgstr "" -#: src/octoprint/access/permissions.py:341 +#: src/octoprint/access/permissions.py:344 msgid "" "Allows to control of the printer by using the temperature controls,the " "control tab or sending commands through the terminal." msgstr "" -#: src/octoprint/access/permissions.py:347 +#: src/octoprint/access/permissions.py:350 msgid "Allows to slice files" msgstr "" -#: src/octoprint/access/permissions.py:352 +#: src/octoprint/access/permissions.py:355 msgid "Allows to list timelapse videos" msgstr "" -#: src/octoprint/access/permissions.py:356 +#: src/octoprint/access/permissions.py:359 msgid "Allows to download timelapse videos" msgstr "" -#: src/octoprint/access/permissions.py:360 +#: src/octoprint/access/permissions.py:363 msgid "Allows to delete timelapse videos and unrendered timelapses" msgstr "" -#: src/octoprint/access/permissions.py:364 +#: src/octoprint/access/permissions.py:367 msgid "" "Allows to change the timelapse settings and delete or render unrendered " "timelapses. Includes the \"Timelapse List\",\"Timelapse Delete\" and " "\"Timelapse Download\" permissions" msgstr "" -#: src/octoprint/access/permissions.py:371 +#: src/octoprint/access/permissions.py:374 msgid "" "Allows to read non sensitive settings. Mandatory for the default UI to " "work." msgstr "" -#: src/octoprint/access/permissions.py:376 +#: src/octoprint/access/permissions.py:379 msgid "Allows to manage settings and also to read sensitive settings" msgstr "" @@ -204,27 +209,27 @@ msgid "" msgstr "" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:11 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:58 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:289 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:343 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:72 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:303 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:357 msgid "Always" msgstr "" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:14 #: src/octoprint/templates/dialogs/settings/features.jinja2:70 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:65 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:292 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:346 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:79 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:306 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:360 msgid "Never" msgstr "" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:19 #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:16 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:294 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:88 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:181 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:298 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:385 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:327 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:105 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:195 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:312 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:399 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:10 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:25 #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklist.jinja2:5 @@ -298,13 +303,13 @@ msgid "" msgstr "" #: src/octoprint/plugins/announcements/static/js/announcements.js:276 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1085 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1133 #: src/octoprint/static/js/app/viewmodels/loginstate.js:117 msgid "Later" msgstr "" #: src/octoprint/plugins/announcements/static/js/announcements.js:282 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1092 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1140 msgid "Mark read" msgstr "" @@ -317,12 +322,13 @@ msgid "Mark as last read" msgstr "" #: src/octoprint/plugins/announcements/templates/announcements.jinja2:44 +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:36 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:115 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:187 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:309 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:144 -#: src/octoprint/static/js/app/helpers.js:682 -#: src/octoprint/static/js/app/helpers.js:974 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:197 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:343 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:171 +#: src/octoprint/static/js/app/helpers.js:691 +#: src/octoprint/static/js/app/helpers.js:983 #: src/octoprint/templates/dialogs/about.jinja2:51 #: src/octoprint/templates/dialogs/settings.jinja2:52 #: src/octoprint/templates/dialogs/settings/appearance.jinja2:131 @@ -337,7 +343,7 @@ msgstr "" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:37 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:29 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:69 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:80 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:88 #: src/octoprint/templates/dialogs/settings/terminalfilters.jinja2:3 #: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:5 #: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:73 @@ -350,8 +356,8 @@ msgid "Name" msgstr "" #: src/octoprint/plugins/announcements/templates/announcements_settings.jinja2:7 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:81 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:155 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:89 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:165 msgid "Actions" msgstr "" @@ -368,76 +374,121 @@ msgstr "" msgid "Application Keys" msgstr "" -#: src/octoprint/plugins/appkeys/__init__.py:438 +#: src/octoprint/plugins/appkeys/__init__.py:443 msgid "" "Without this plugin third party clients will no longer be able to obtain " "an API key without you manually copy-pasting it." msgstr "" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:55 -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:213 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:97 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:276 #, python-format msgid "You are about to revoke the application key \"%(key)s\"." msgstr "" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:70 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:112 #, python-format msgid "" "\"%(app)s\" has requested access to control OctoPrint " "through the API." msgstr "" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:72 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:114 msgid "Do you want to allow access to this application with your user account?" msgstr "" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:74 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:116 msgid "Access Request" msgstr "" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:81 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:123 msgid "Allow" msgstr "" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:87 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:129 msgid "Deny" msgstr "" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:225 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:266 +msgid "New key generated!" +msgstr "" + +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:288 #, python-format msgid "You are about to revoke %(count)d application keys." msgstr "" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:256 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:319 msgid "Revoking application keys" msgstr "" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:257 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:320 #, python-format msgid "Revoking %(count)d application keys..." msgstr "" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:261 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:324 #, python-format msgid "Revoked %(key)s..." msgstr "" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:264 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:327 #, python-format msgid "Revocation of %(key)s failed, continuing..." msgstr "" -#: src/octoprint/plugins/appkeys/static/js/appkeys.js:265 +#: src/octoprint/plugins/appkeys/static/js/appkeys.js:328 #, python-format msgid "Deletion of %(key)s failed: %(error)s" msgstr "" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:2 +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:9 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:36 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:66 +#: src/octoprint/templates/sidebar/state.jinja2:6 +msgid "User" +msgstr "" + +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:15 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:37 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:72 +#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:10 +#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:38 +msgid "Application identifier" +msgstr "" + +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:21 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:45 +#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:16 +#: src/octoprint/templates/dialogs/usersettings/access.jinja2:22 +#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:24 +msgid "API Key" +msgstr "" + +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:24 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:45 +#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:16 +#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:25 +msgid "Copy API Key to clipboard" +msgstr "" + +#: src/octoprint/plugins/appkeys/templates/appkeys.jinja2:28 +#: src/octoprint/templates/dialogs/settings/api.jinja2:37 +#: src/octoprint/templates/dialogs/usersettings/access.jinja2:36 +msgid "QR Code" +msgstr "" + +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:1 +#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:1 +msgid "Registered application keys" +msgstr "" + +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:4 #: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:4 msgid "There are no application keys registered yet." msgstr "" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:9 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:11 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:25 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:17 #: src/octoprint/templates/tabs/timelapse.jinja2:129 @@ -445,7 +496,7 @@ msgstr "" msgid "Select all on this page" msgstr "" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:10 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:12 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:26 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:18 #: src/octoprint/templates/tabs/timelapse.jinja2:130 @@ -453,15 +504,15 @@ msgstr "" msgid "Select all" msgstr "" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:13 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:15 msgid "Select all by user..." msgstr "" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:19 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:21 msgid "Select all by app..." msgstr "" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:25 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:27 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:28 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:20 #: src/octoprint/templates/tabs/timelapse.jinja2:132 @@ -469,22 +520,11 @@ msgstr "" msgid "Clear selection" msgstr "" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:28 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:30 msgid "Revoke selected" msgstr "" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:34 -#: src/octoprint/templates/sidebar/state.jinja2:6 -msgid "User" -msgstr "" - -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:35 -#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:10 -#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:38 -msgid "Application identifier" -msgstr "" - -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:36 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:38 #: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:11 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:40 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:32 @@ -496,29 +536,19 @@ msgstr "" msgid "Action" msgstr "" -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:43 -#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:16 -#: src/octoprint/templates/dialogs/settings/api.jinja2:10 -#: src/octoprint/templates/dialogs/usersettings/access.jinja2:22 -#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:24 -msgid "API Key" -msgstr "" - -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:43 -#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:16 -#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:25 -msgid "Copy API Key to clipboard" -msgstr "" - -#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:44 +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:46 #: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:17 msgid "Revoke" msgstr "" -#: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:1 -msgid "Registered application keys" +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:46 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:260 +#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:6 +#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:5 +msgid "Details" msgstr "" +#: src/octoprint/plugins/appkeys/templates/appkeys_settings.jinja2:62 #: src/octoprint/plugins/appkeys/templates/appkeys_usersettings.jinja2:34 msgid "Manually generate an application key" msgstr "" @@ -539,7 +569,7 @@ msgstr "" msgid "Restore Backup?" msgstr "" -#: src/octoprint/plugins/backup/__init__.py:999 +#: src/octoprint/plugins/backup/__init__.py:1006 msgid "" "Without this plugin you will no longer be able to backup & restore your " "OctoPrint settings and data." @@ -634,7 +664,7 @@ msgid "Deleting %(count)d backups..." msgstr "" #: src/octoprint/plugins/backup/static/js/backup.js:252 -#: src/octoprint/plugins/logging/static/js/logging.js:175 +#: src/octoprint/plugins/logging/static/js/logging.js:211 #: src/octoprint/static/js/app/viewmodels/timelapse.js:366 #: src/octoprint/static/js/app/viewmodels/timelapse.js:380 #, python-format @@ -642,7 +672,7 @@ msgid "Deleted %(filename)s..." msgstr "" #: src/octoprint/plugins/backup/static/js/backup.js:255 -#: src/octoprint/plugins/logging/static/js/logging.js:178 +#: src/octoprint/plugins/logging/static/js/logging.js:214 #: src/octoprint/static/js/app/viewmodels/timelapse.js:369 #: src/octoprint/static/js/app/viewmodels/timelapse.js:383 #, python-format @@ -650,7 +680,7 @@ msgid "Deletion of %(filename)s failed, continuing..." msgstr "" #: src/octoprint/plugins/backup/static/js/backup.js:256 -#: src/octoprint/plugins/logging/static/js/logging.js:179 +#: src/octoprint/plugins/logging/static/js/logging.js:215 #: src/octoprint/static/js/app/viewmodels/timelapse.js:370 #, python-format msgid "Deletion of %(filename)s failed: %(error)s" @@ -698,9 +728,9 @@ msgstr "" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:39 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:30 -#: src/octoprint/templates/sidebar/files.jinja2:21 -#: src/octoprint/templates/sidebar/files.jinja2:36 -#: src/octoprint/templates/sidebar/files.jinja2:47 +#: src/octoprint/templates/sidebar/files.jinja2:22 +#: src/octoprint/templates/sidebar/files.jinja2:37 +#: src/octoprint/templates/sidebar/files.jinja2:49 #: src/octoprint/templates/tabs/timelapse.jinja2:142 #: src/octoprint/templates/tabs/timelapse.jinja2:189 msgid "Size" @@ -708,14 +738,14 @@ msgstr "" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:49 #: src/octoprint/static/js/app/viewmodels/access.js:280 -#: src/octoprint/static/js/app/viewmodels/access.js:579 +#: src/octoprint/static/js/app/viewmodels/access.js:568 #: src/octoprint/templates/dialogs/settings/appearance.jinja2:96 msgid "Delete" msgstr "" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:49 #: src/octoprint/templates/sidebar/files.jinja2:25 -#: src/octoprint/templates/sidebar/files.jinja2:38 +#: src/octoprint/templates/sidebar/files.jinja2:39 msgid "Download" msgstr "" @@ -777,7 +807,7 @@ msgid "Backup file" msgstr "" #: src/octoprint/plugins/backup/templates/snippets/plugin/backup/backup_plugin_upload_form.jinja2:7 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:283 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:316 #: src/octoprint/templates/dialogs/settings/appearance.jinja2:118 msgid "Browse..." msgstr "" @@ -999,20 +1029,32 @@ msgstr "" #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:30 msgid "" "\n" +" If you also want to check if name resolution works (strongly " +"recommended), define a host name\n" +" to check name resolution against. If you don't know what to set here," +" the default value\n" +" (OctoPrint's domain) should work. If you don't want to perform " +"regular resolution checks along\n" +" side with the general connectivity check, leave the field empty.\n" +msgstr "" + +#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:44 +msgid "" +"\n" " Finally, please decide on whether to enable or disable the " "connectivity check. You may change the configuration at\n" " any time through Settings > Server right from within OctoPrint.\n" msgstr "" -#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:36 +#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:50 msgid "Disable Connectivity Check" msgstr "" -#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:37 +#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:51 msgid "Enable Connectivity Check" msgstr "" -#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:41 +#: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:55 msgid "" "\n" " Connectivity check is serial.log enabled. Please remember to " +"turn it off again once your are done debugging whatever issue prompted " +"you to turn it on." +msgstr "" + +#: src/octoprint/plugins/logging/static/js/logging.js:118 +msgid "" +"It can negatively impact print performance and also take up a lot of " +"storage space depending on how long you stay connected to your printer " +"and thus should only be used for debugging." +msgstr "" + #: src/octoprint/plugins/logging/static/js/logging.js:124 +msgid "Log storage:" +msgstr "" + +#: src/octoprint/plugins/logging/static/js/logging.js:160 #, python-format msgid "You are about to delete log file \"%(name)s\"." msgstr "" -#: src/octoprint/plugins/logging/static/js/logging.js:148 +#: src/octoprint/plugins/logging/static/js/logging.js:184 #, python-format msgid "You are about to delete %(count)d log files." msgstr "" -#: src/octoprint/plugins/logging/static/js/logging.js:170 +#: src/octoprint/plugins/logging/static/js/logging.js:206 msgid "Deleting log files" msgstr "" -#: src/octoprint/plugins/logging/static/js/logging.js:171 +#: src/octoprint/plugins/logging/static/js/logging.js:207 #, python-format msgid "Deleting %(count)d log files..." msgstr "" +#: src/octoprint/plugins/logging/templates/logging_navbar.jinja2:1 +msgid "serial.log is enabled" +msgstr "" + +#: src/octoprint/plugins/logging/templates/logging_navbar.jinja2:1 +msgid "serial.log is enabled" +msgstr "" + #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:1 msgid "Logs" msgstr "" @@ -1332,7 +1400,7 @@ msgid "Sort by name" msgstr "" #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:7 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:209 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:227 #: src/octoprint/templates/sidebar/files_header.jinja2:8 #: src/octoprint/templates/tabs/timelapse.jinja2:119 msgid "ascending" @@ -1344,16 +1412,21 @@ msgstr "" #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:8 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:9 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:210 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:228 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:229 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:230 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:231 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:232 #: src/octoprint/templates/sidebar/files_header.jinja2:9 #: src/octoprint/templates/sidebar/files_header.jinja2:10 +#: src/octoprint/templates/sidebar/files_header.jinja2:11 #: src/octoprint/templates/tabs/timelapse.jinja2:120 #: src/octoprint/templates/tabs/timelapse.jinja2:121 msgid "descending" msgstr "" #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:9 -#: src/octoprint/templates/sidebar/files_header.jinja2:10 +#: src/octoprint/templates/sidebar/files_header.jinja2:11 #: src/octoprint/templates/tabs/timelapse.jinja2:121 msgid "Sort by file size" msgstr "" @@ -1367,9 +1440,9 @@ msgid "Level" msgstr "" #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:87 -#: src/octoprint/templates/sidebar/files.jinja2:26 -#: src/octoprint/templates/sidebar/files.jinja2:39 -#: src/octoprint/templates/sidebar/files.jinja2:49 +#: src/octoprint/templates/sidebar/files.jinja2:27 +#: src/octoprint/templates/sidebar/files.jinja2:41 +#: src/octoprint/templates/sidebar/files.jinja2:52 msgid "Remove" msgstr "" @@ -1496,249 +1569,250 @@ msgid "" "shouldn't have to change this." msgstr "" -#: src/octoprint/plugins/pluginmanager/__init__.py:163 +#: src/octoprint/plugins/pluginmanager/__init__.py:168 msgid "Allows to enable, disable and uninstall installed plugins." msgstr "" -#: src/octoprint/plugins/pluginmanager/__init__.py:168 +#: src/octoprint/plugins/pluginmanager/__init__.py:173 msgid "Allows to install new plugins. Includes the \"Manage plugins\" permission." msgstr "" -#: src/octoprint/plugins/pluginmanager/__init__.py:234 +#: src/octoprint/plugins/pluginmanager/__init__.py:239 msgid "Plugin Manager" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:178 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:219 msgid "There are no plugin notices. Great!" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:180 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:221 msgid "There is a plugin notice for one of your installed plugins." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:182 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:223 #, python-format msgid "" "There are %(count)d plugin notices for one or more of your installed " "plugins." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:290 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:551 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:331 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:599 msgid "Installing plugin..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:290 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:331 msgid "Installing plugin from uploaded archive..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:311 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:459 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:575 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:616 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:666 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:698 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:907 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:352 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:504 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:623 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:664 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:714 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:746 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:955 #: src/octoprint/plugins/tracking/static/js/usage.js:83 msgid "Something went wrong" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:312 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:460 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:576 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:617 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:667 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:699 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:353 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:505 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:624 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:665 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:715 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:747 msgid "Please consult octoprint.log for details" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:480 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:525 #, python-format msgid "You are about to disable \"%(name)s\"." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:483 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:528 msgid "This is not recommended" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:485 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:530 msgid "Do you still want to disable it?" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:486 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:495 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:531 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:540 msgid "Keep enabled" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:487 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:532 msgid "Disable anyway" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:494 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:539 #, python-format msgid "You are about to disable \"%(name)s\"" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:496 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:541 msgid "Disable plugin" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:553 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:601 #, python-format msgid "Installing plugin \"%(name)s\" from %(url)s..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:555 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:603 #, python-format msgid "Installing plugin from %(url)s..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:558 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:606 msgid "Reinstalling plugin..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:559 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:607 #, python-format msgid "Reinstalling plugin \"%(name)s\" from %(url)s..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:608 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:656 msgid "Uninstalling plugin..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:608 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:656 #, python-format msgid "Uninstalling plugin \"%(name)s\"" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:628 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:676 #, python-format msgid "You are about to uninstall the plugin \"%(name)s\"" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:629 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:677 msgid "Keep installed" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:631 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:679 msgid "Uninstall" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:632 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:680 msgid "Uninstall & clean up data" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:658 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:706 msgid "Cleaning up plugin data..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:658 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:706 #, python-format msgid "Cleaning up data of plugin \"%(name)s\"" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:678 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:726 #, python-format msgid "" "You are about to cleanup the plugin data of \"%(name)s\". This operation " "cannot be reversed." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:679 -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:711 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:727 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:759 msgid "Keep data" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:680 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:728 msgid "Cleanup data" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:692 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:740 msgid "Cleaning up all left over plugin data..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:710 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:758 msgid "" "You are about to cleanup left over plugin settings and data of plugins no" " longer installed. This operation cannot be reversed." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:712 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:760 msgid "Cleanup all data" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:815 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:863 msgid "Reinstall" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:815 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:272 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:288 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:863 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:305 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:321 msgid "Install" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:815 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:71 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:863 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:79 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:257 msgid "Disabled" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:815 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:863 msgid "Incompatible" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:824 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:872 msgid "Plugin management log" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:832 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:880 #, python-format msgid "%(count)d earlier actions..." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:834 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:882 #, python-format msgid "%(count)d earlier action" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:845 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:893 #, python-format msgid "Install %(plugin)s: %(result)s" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:849 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:897 #, python-format msgid "Uninstall %(plugin)s: %(result)s" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:853 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:901 #, python-format msgid "Enable %(plugin)s: %(result)s" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:857 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:905 #, python-format msgid "Disable %(plugin)s: %(result)s" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:861 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:909 #, python-format msgid "Cleanup %(plugin)s: %(result)s" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:865 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:913 #, python-format msgid "Cleanup all: %(result)s" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:882 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:930 msgid "A restart is needed for the changes to take effect." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:890 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:938 msgid "Restart now" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:895 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:943 msgid "" "This will restart your OctoPrint server.

    This " "action may disrupt any ongoing print jobs (depending on your printer's " @@ -1746,101 +1820,101 @@ msgid "" " from your printer's internal storage)." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:901 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:949 msgid "Restart in progress" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:902 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:950 msgid "The server is now being restarted in the background" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:908 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:956 msgid "" "Trying to restart the server produced an error, please check " "octoprint.log for details. You'll have to restart manually." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:921 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:969 msgid "A refresh is needed for the changes to take effect." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:928 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:976 #: src/octoprint/templates/overlays/reloadui.jinja2:14 msgid "Reload now" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:937 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:985 msgid "A reconnect to the printer is needed for the changes to take effect." msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:974 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1022 msgid "Error!" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:977 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1025 msgid "Done!" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1003 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1051 msgid "Blacklisted" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1005 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1053 msgid "Disabled due to active safe mode" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1007 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1055 msgid "Enable Plugin" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1010 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1058 msgid "Disable Plugin" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1030 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1078 #, python-format msgid "" "There are %(count)d notices (%(important)d marked as important) available" " regarding this plugin - click to show!" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1032 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1080 #, python-format msgid "" "There are %(count)d notices available regarding this plugin - click to " "show!" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1036 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1084 msgid "" "There is an important notice available regarding this plugin - click to " "show!" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1038 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1086 msgid "There is a notice available regarding this plugin - click to show!" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1052 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1100 #, python-format msgid "Important notice regarding plugin \"%(name)s\"" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1054 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1102 #, python-format msgid "Notice regarding plugin \"%(name)s\"" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1061 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1109 #, python-format msgid "Affected versions: %(versions)s" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1063 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1111 msgid "Affected versions: all" msgstr "" -#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1068 +#: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1116 msgid "Read more..." msgstr "" @@ -1887,361 +1961,430 @@ msgid "" " to install new plugins from the plugin repository or archive URLs.\n" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:39 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:38 +msgid "" +"\n" +" There appears to have been an error retrieving the plugin data from " +"the backend. Please report this\n" +" in the bug tracker & be sure to include all requested logs.\n" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:46 #: src/octoprint/server/views.py:543 msgid "Plugins" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:42 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:147 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:49 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:157 msgid "Cleanup" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:54 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:316 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:57 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:99 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:62 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:350 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:74 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:116 msgid "Plugin Configuration" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:57 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:65 msgid "Installed Plugins" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:60 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:221 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:68 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:219 #: src/octoprint/templates/sidebar/files.jinja2:3 msgid "Search..." msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:64 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:72 msgid "Show both bundled and third-party plugins" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:65 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:73 msgid "Show only bundled plugins" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:65 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:73 msgid "Bundled" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:66 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:74 msgid "Show only third-party plugins" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:66 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:74 msgid "3rd party" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:69 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:77 msgid "Show both enabled and disabled plugins" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:70 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:78 msgid "Show only enabled plugins" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:70 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:78 msgid "Enabled" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:71 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:79 msgid "Show only disabled plugins" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Bundled with OctoPrint" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Cannot be uninstalled through OctoPrint" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:256 msgid "Incompatible to OctoPrint or the underlying Python environment" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Restart of OctoPrint needed for changes to take effect" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Pending install" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Pending uninstall" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Disabled due to safe mode" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "There are notices available regarding this plugin" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:87 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "This plugin is blacklisted" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:91 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:233 -#: src/octoprint/templates/index.jinja2:160 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:97 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:261 +#: src/octoprint/templates/footer.jinja2:7 msgid "Homepage" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:99 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:164 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:109 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:174 msgid "Cleanup Plugin Data" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:99 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:109 msgid "Uninstall Plugin" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:106 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:116 msgid "Get More..." msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:135 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:145 msgid "Reshow current notices" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:136 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:146 msgid "Refresh notices from repository" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:144 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:154 msgid "Refresh" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:154 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:164 #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorGeneral.jinja2:10 msgid "Identifier" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:171 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:181 msgid "Cleanup all" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:174 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:184 msgid "" "Nothing to cleanup! There are no settings or data left over from plugins " "which are no longer installed." msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:194 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:204 msgid "Install new Plugins..." msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:203 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:214 #, python-format msgid "... from the Plugin Repository" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:209 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:227 msgid "Sort by title" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:210 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:228 msgid "Sort by publication date" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:212 -msgid "Only show uninstalled plugins" +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:229 +msgid "Sort by last release date" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:213 -msgid "Only show compatible plugins" +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:230 +msgid "Sort by last push date" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:215 -msgid "Refresh list from repository" +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:231 +msgid "Sort by active instance count" msgstr "" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:232 -#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:6 -#: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:5 -msgid "Details" +msgid "Sort by Github stars" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:241 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:234 +msgid "Only show uninstalled plugins" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:235 +msgid "Only show compatible plugins" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:236 +msgid "Only show unabandoned plugins" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:238 +msgid "Refresh list from repository" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:251 msgid "\"Why?\"" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:250 -msgid "Sadly the repository is currently not available" +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:255 +msgid "Abandoned by its maintainer" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:253 -msgid "Is your OctoPrint installation connected to the internet?" +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:266 +msgid "License" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:260 -msgid "It looks like there are no compatible plugins available" +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:267 +msgid "Publication date" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:265 -msgid "... from URL" +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:268 +msgid "Active instances past month" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:269 +msgid "Github stars" msgstr "" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:270 +msgid "Last push to main branch" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:271 +msgid "Latest release & date" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:278 +msgid "plugins displayed" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:283 +msgid "Sadly the repository is currently not available" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:286 +msgid "Is your OctoPrint installation connected to the internet?" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:293 +msgid "It looks like there are no plugins that match your search criteria" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:298 +msgid "... from URL" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:303 msgid "Enter URL..." msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:274 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:307 #, python-format msgid "" "This does not look like a valid URL. Expected http, https or any of the " "supported VCS URLs." msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:277 -msgid "... from an uploaded archive" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:290 -msgid "" -"This does not look like a valid plugin archive. Valid plugin archives " -"should be either zip files or tarballs and have the extension \".zip\", " -"\".tar.gz\", \".tgz\" or \".tar\"" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:300 -msgid "Use --process-dependency-links with pip install" -msgstr "" - -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:321 -msgid "Confirmations" +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:310 +msgid "... from an uploaded file" msgstr "" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:323 -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:326 +msgid "" +"This does not look like a valid plugin. Valid plugins should be either " +"zip files or tarballs installable via pip that have the " +"extension \".zip\", \".tar.gz\", \".tgz\" or \".tar\", or single file " +"python plugins with the extension \".py\"" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:333 +msgid "Use --process-dependency-links with pip install" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:355 +msgid "Confirmations" +msgstr "" + +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:357 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:360 msgid "Confirm before disabling a plugin" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:332 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:366 msgid "" "You should normally not have to change " "any of the following settings, they are purely provided " "for convenience here." msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:335 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:369 msgid "Plugin repository configuration" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:337 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:371 msgid "" "URL of the Plugin Repository to use. You should normally not have to " "change this." msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:338 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:372 msgid "Repository URL" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:343 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:377 msgid "" "How long to cache repository data, in minutes. You should normally not " "have to change this." msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:344 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:378 msgid "Repository cache TTL" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:355 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:389 msgid "Notices configuration" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:357 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:391 msgid "" "URL of the Notices source to use. You should normally not have to change " "this." msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:358 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:392 msgid "Notices URL" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:363 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:397 msgid "" "How long to cache notices, in minutes. You should normally not have to " "change this." msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:364 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:398 msgid "Notices cache TTL" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:375 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:409 msgid "pip configuration" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:377 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:411 msgid "" "Additional arguments for the pip command. You should normally not have to" " change this." msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:378 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:412 msgid "Additional arguments" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:386 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:420 msgid "" "Force the use of the --user flag with pip " "install" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:395 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:129 -#: src/octoprint/static/js/app/helpers.js:742 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:429 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:156 +#: src/octoprint/static/js/app/helpers.js:751 #: src/octoprint/templates/dialogs/files.jinja2:18 +#: src/octoprint/templates/dialogs/files.jinja2:40 #: src/octoprint/templates/dialogs/slicing.jinja2:57 #: src/octoprint/templates/dialogs/temperature.jinja2:31 #: src/octoprint/templates/sidebar/state.jinja2:31 msgid "Cancel" msgstr "" -#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:396 -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:130 +#: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:430 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:157 #: src/octoprint/templates/dialogs/settings.jinja2:53 #: src/octoprint/templates/dialogs/temperature.jinja2:32 msgid "Save" msgstr "" -#: src/octoprint/plugins/softwareupdate/__init__.py:103 +#: src/octoprint/plugins/softwareupdate/__init__.py:109 msgid "Allows to check for software updates" msgstr "" -#: src/octoprint/plugins/softwareupdate/__init__.py:108 +#: src/octoprint/plugins/softwareupdate/__init__.py:114 msgid "Allows to perform software updates" msgstr "" -#: src/octoprint/plugins/softwareupdate/__init__.py:587 -#: src/octoprint/templates/index.jinja2:157 +#: src/octoprint/plugins/softwareupdate/__init__.py:638 +msgid "Python package installation folder" +msgstr "" + +#: src/octoprint/plugins/softwareupdate/__init__.py:639 +msgid "Plugin folder" +msgstr "" + +#: src/octoprint/plugins/softwareupdate/__init__.py:640 +msgid "System temporary files" +msgstr "" + +#: src/octoprint/plugins/softwareupdate/__init__.py:661 +#: src/octoprint/templates/footer.jinja2:4 msgid "Python" msgstr "" -#: src/octoprint/plugins/softwareupdate/__init__.py:588 -#: src/octoprint/plugins/softwareupdate/__init__.py:1195 +#: src/octoprint/plugins/softwareupdate/__init__.py:664 +#: src/octoprint/plugins/softwareupdate/__init__.py:1299 msgid "pip" msgstr "" -#: src/octoprint/plugins/softwareupdate/__init__.py:589 +#: src/octoprint/plugins/softwareupdate/__init__.py:667 msgid "setuptools" msgstr "" -#: src/octoprint/plugins/softwareupdate/__init__.py:689 +#: src/octoprint/plugins/softwareupdate/__init__.py:774 #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_wizard.jinja2:1 msgid "Software Update" msgstr "" -#: src/octoprint/plugins/softwareupdate/__init__.py:1137 +#: src/octoprint/plugins/softwareupdate/__init__.py:1241 #: src/octoprint/server/views.py:635 #: src/octoprint/static/js/app/viewmodels/appearance.js:99 #: src/octoprint/static/js/app/viewmodels/appearance.js:104 @@ -2249,249 +2392,255 @@ msgstr "" #: src/octoprint/static/js/app/viewmodels/appearance.js:111 #: src/octoprint/static/js/app/viewmodels/appearance.js:113 #: src/octoprint/templates/dialogs/about/about.jinja2:1 -#: src/octoprint/templates/index.jinja2:156 +#: src/octoprint/templates/footer.jinja2:3 msgid "OctoPrint" msgstr "" -#: src/octoprint/plugins/softwareupdate/__init__.py:1337 +#: src/octoprint/plugins/softwareupdate/__init__.py:1443 msgid "" "Without this plugin OctoPrint will no longer be able to update itself or " "any of your installed plugins which might put your system at risk." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:187 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:192 msgid "Release" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:188 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:193 msgid "Github Commit" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:189 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:194 msgid "Local checkout" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:232 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:239 #, python-format msgid "%(name)s: %(version)s" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:235 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:242 msgid "unknown" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:252 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:454 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:468 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:647 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:262 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:466 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:480 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:659 msgid "Updating..." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:252 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:468 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:647 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:262 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:480 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:659 msgid "Updating, please wait." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:259 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:269 msgid "There are updates available for the following components:" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:267 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:520 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:277 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:532 msgid "Release Notes" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:274 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:284 msgid "" "This version of the Python environment is not supported for direct " "updates." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:276 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:286 +msgid "" +"There's currently not enough free disk space available for a direct " +"update." +msgstr "" + +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:288 msgid "" "Those components marked with can be updated" " directly." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:280 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:292 msgid "" "To have updates applied, get in touch with an administrator of this " "OctoPrint instance." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:286 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:298 msgid "Update Available" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:302 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:314 msgid "" "You can make this message display again via \"Settings\" > \"Software " "Update\" > \"Check for update now\"" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:306 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:318 msgid "Update now" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:344 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:356 msgid "Everything is up-to-date" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:368 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:380 msgid "No internet connection" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:372 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:384 msgid "Update not possible" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:383 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:395 msgid "Unknown update check, configuration ok?" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:386 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:398 msgid "Cannot check for update, need online connection" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:389 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:401 msgid "Network error while checking for update" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:392 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:404 msgid "Unknown error while checking for update, please check the logs" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:455 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:467 msgid "Now updating, please wait." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:473 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:485 msgid "Update not started!" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:474 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:486 msgid "" "The update could not be started. Is it already active? Please consult " "octoprint.log for details." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:496 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:508 msgid "Can't update while printing" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:497 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:509 msgid "" "A print job is currently in progress. Updating will be prevented until it" " is done." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:506 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:518 msgid "Can't update while throttled" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:507 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:519 msgid "" "Your system is currently throttled. OctoPrint refuses to run updates " "while in this state due to possible stability issues." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:514 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:526 msgid "This will update the following components and restart the server:" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:525 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:537 msgid "" "Be sure to read through any linked release notes, especially those for " "OctoPrint since they might contain important information you need to know" " before upgrading." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:526 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:538 msgid "This action may disrupt any ongoing print jobs." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:527 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:539 msgid "" "Depending on your printer's controller and general setup, restarting " "OctoPrint may cause your printer to be reset." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:528 -#: src/octoprint/static/js/app/helpers.js:736 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:540 +#: src/octoprint/static/js/app/helpers.js:745 msgid "Are you sure you want to proceed?" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:530 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:542 msgid "Are you sure you want to update now?" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:532 -#: src/octoprint/static/js/app/helpers.js:743 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:544 +#: src/octoprint/static/js/app/helpers.js:752 msgid "Proceed" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:662 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:674 #, python-format msgid "Now updating %(name)s to %(version)s" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:679 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:691 msgid "Update successful, restarting!" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:680 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:692 msgid "The update finished successfully and the server will now be restarted." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:697 -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:744 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:709 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:756 msgid "Restart failed" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:698 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:710 msgid "" "The server apparently did not restart by itself, you'll have to do it " "manually. Please consult octoprint.log on what went wrong." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:718 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:730 msgid "The update finished successfully, please restart OctoPrint now." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:720 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:732 msgid "The update finished successfully, please reboot the server now." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:723 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:735 msgid "Update successful, restart required!" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:739 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:751 msgid "" "Restarting OctoPrint failed, please restart it manually. You might also " "want to consult octoprint.log on what went wrong here." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:741 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:753 msgid "" "Rebooting the server failed, please reboot it manually. You might also " "want to consult octoprint.log on what went wrong here." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:760 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:772 msgid "Update successful!" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:761 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:773 msgid "The update finished successfully." msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:776 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:788 msgid "Update failed!" msgstr "" -#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:777 +#: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:789 msgid "" "The update did not finish successfully. Please consult " "octoprint.log and " @@ -2561,6 +2710,32 @@ msgid "" msgstr "" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:35 +#, python-format +msgid "" +"\n" +"

    \n" +" There is not enough free disk space available to run an " +"update.\n" +"

    \n" +"

    \n" +" To reduce the likelihood of running into update problems due to " +"insuffient disk space, OctoPrint requires\n" +" a minimum of %(min_free_storage)s free disk space in various " +"locations:\n" +"

    \n" +msgstr "" + +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:47 +msgid "" +"\n" +"

    \n" +" Please take a look at this FAQ entry on how to " +"proceed.\n" +"

    \n" +msgstr "" + +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:52 msgid "" "\n" "

    \n" @@ -2578,7 +2753,7 @@ msgid "" "

    \n" msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:46 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:63 msgid "" "\n" "

    \n" @@ -2592,70 +2767,80 @@ msgid "" "

    \n" msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:60 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:77 msgid "Current versions" msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:67 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:84 msgid "Update available" msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:70 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:87 msgid "Update" msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:73 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:90 msgid "Installed:" msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:74 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:91 msgid "Available:" msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:75 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:92 msgid "Release Notes:" msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:84 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:101 msgid "Update all" msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:85 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:102 msgid "Check for update now" msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:90 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:107 msgid "Last cache refresh:" msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:91 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:108 msgid "Force check for update (overrides cache used for update checks)" msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:92 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:109 msgid "Force update now (even if no new versions are available)" msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:110 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:127 msgid "Version cache TTL" msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:121 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:138 msgid "Show update notifications to users" msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:122 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:139 msgid "" "If you uncheck this, only logged in admins will see update notifications." " Update notifications shown to users do not include the \"Update now\" " "button." msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:140 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:144 +msgid "Minimum free disk space" +msgstr "" + +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:149 +msgid "" +"The minimum amount of free disk space that has to be available on various" +" locations for OctoPrint to allow updates. Should not be set to 0." +msgstr "" + +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:167 msgid "Update in progress, please wait." msgstr "" -#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:141 +#: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:168 msgid "Update done, please close this window." msgstr "" @@ -2876,6 +3061,17 @@ msgid "" "tracking.octoprint.org.\n" msgstr "" +#: src/octoprint/plugins/virtual_printer/templates/virtual_printer_settings.jinja2:7 +msgid "Enable the virtual printer" +msgstr "" + +#: src/octoprint/plugins/virtual_printer/templates/virtual_printer_settings.jinja2:8 +msgid "" +"If enabled, an additional serial port VIRTUAL will be " +"available for connecting, backed by a fake printer implementation. Useful" +" for development." +msgstr "" + #: src/octoprint/server/views.py:602 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:12 msgid "Connection" @@ -2950,7 +3146,7 @@ msgstr "" #: src/octoprint/server/views.py:638 #: src/octoprint/templates/dialogs/settings/folders.jinja2:2 -#: src/octoprint/templates/sidebar/files_header.jinja2:12 +#: src/octoprint/templates/sidebar/files_header.jinja2:13 msgid "Folders" msgstr "" @@ -3031,7 +3227,7 @@ msgstr "" #: src/octoprint/static/js/app/dataupdater.js:90 #: src/octoprint/static/js/app/dataupdater.js:109 -#: src/octoprint/static/js/app/helpers.js:656 +#: src/octoprint/static/js/app/helpers.js:665 #: src/octoprint/templates/overlays/offline.jinja2:6 msgid "Server is offline" msgstr "" @@ -3051,27 +3247,27 @@ msgid "" "may try a manual reconnect using the button below." msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:168 +#: src/octoprint/static/js/app/dataupdater.js:176 msgid "Unknown" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:171 +#: src/octoprint/static/js/app/dataupdater.js:179 msgid "Command line flag" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:175 +#: src/octoprint/static/js/app/dataupdater.js:183 msgid "Setting in config.yaml" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:179 +#: src/octoprint/static/js/app/dataupdater.js:187 msgid "Problem during last startup" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:185 +#: src/octoprint/static/js/app/dataupdater.js:193 msgid "Safe mode is active" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:186 +#: src/octoprint/static/js/app/dataupdater.js:194 #, python-format msgid "" "

    The server is currently running in safe mode. Third party plugins and " @@ -3079,37 +3275,37 @@ msgid "" "%(reason)s

    " msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:235 -#: src/octoprint/static/js/app/viewmodels/files.js:962 -#: src/octoprint/static/js/app/viewmodels/files.js:969 +#: src/octoprint/static/js/app/dataupdater.js:238 +#: src/octoprint/static/js/app/viewmodels/files.js:1088 +#: src/octoprint/static/js/app/viewmodels/files.js:1095 #, python-format msgid "Slicing ... (%(percentage)d%%)" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:271 -#: src/octoprint/static/js/app/dataupdater.js:282 +#: src/octoprint/static/js/app/dataupdater.js:274 +#: src/octoprint/static/js/app/dataupdater.js:285 msgid "Error reported by printer" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:272 +#: src/octoprint/static/js/app/dataupdater.js:275 #, python-format msgid "" "Your printer's firmware reported an error. Due to that the ongoing print " "job will be cancelled. Reported error: %(firmwareError)s" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:283 +#: src/octoprint/static/js/app/dataupdater.js:286 #, python-format msgid "" "Your printer's firmware reported an error. Due to that OctoPrint will " "disconnect. Reported error: %(error)s" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:289 +#: src/octoprint/static/js/app/dataupdater.js:292 msgid "Communication error" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:290 +#: src/octoprint/static/js/app/dataupdater.js:293 #, python-format msgid "" "There was a communication error while talking to your printer. Please " @@ -3117,38 +3313,38 @@ msgid "" "%(error)s" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:294 +#: src/octoprint/static/js/app/dataupdater.js:297 msgid "Error connecting to printer" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:295 +#: src/octoprint/static/js/app/dataupdater.js:298 #, python-format msgid "" "There was an error while trying to connect to your printer. Error: " "%(error)s" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:299 +#: src/octoprint/static/js/app/dataupdater.js:302 msgid "Error starting a print" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:300 +#: src/octoprint/static/js/app/dataupdater.js:303 #, python-format msgid "There was an error while trying to start a print job. Error: %(error)s" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:309 +#: src/octoprint/static/js/app/dataupdater.js:311 msgid "Unknown error" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:310 +#: src/octoprint/static/js/app/dataupdater.js:312 #, python-format msgid "" "There was an unknown error while talking to your printer. Please consult " "the terminal output and octoprint.log for details. Error: %(error)s" msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:330 +#: src/octoprint/static/js/app/dataupdater.js:332 msgid "" "It looks like your printer reset while a connection was active. If this " "was intentional you may safely ignore this message. Otherwise you should " @@ -3156,7 +3352,7 @@ msgid "" "prints and also file transfers to your printer's SD." msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:333 +#: src/octoprint/static/js/app/dataupdater.js:335 msgid "" "It looks like your printer reset while a connection was active. Due to " "this the ongoing job was aborted. If this was intentional you may safely " @@ -3165,7 +3361,7 @@ msgid "" " your printer's SD." msgstr "" -#: src/octoprint/static/js/app/dataupdater.js:341 +#: src/octoprint/static/js/app/dataupdater.js:343 msgid "Printer reset detected" msgstr "" @@ -3259,14 +3455,14 @@ msgstr "" msgid "off" msgstr "" -#: src/octoprint/static/js/app/helpers.js:733 +#: src/octoprint/static/js/app/helpers.js:742 #: src/octoprint/static/js/app/viewmodels/access.js:278 -#: src/octoprint/static/js/app/viewmodels/access.js:577 +#: src/octoprint/static/js/app/viewmodels/access.js:566 #: src/octoprint/static/js/app/viewmodels/connection.js:162 msgid "Are you sure?" msgstr "" -#: src/octoprint/static/js/app/helpers.js:972 +#: src/octoprint/static/js/app/helpers.js:981 msgid "Progress" msgstr "" @@ -3275,76 +3471,72 @@ msgid "Offline" msgstr "" #: src/octoprint/static/js/app/main.js:206 -msgid "Opening serial port" +msgid "Opening serial connection" msgstr "" #: src/octoprint/static/js/app/main.js:207 -msgid "Detecting serial port" +msgid "Detecting serial connection" msgstr "" #: src/octoprint/static/js/app/main.js:208 -msgid "Detecting baudrate" -msgstr "" - -#: src/octoprint/static/js/app/main.js:209 msgid "Connecting" msgstr "" -#: src/octoprint/static/js/app/main.js:210 +#: src/octoprint/static/js/app/main.js:209 msgid "Operational" msgstr "" -#: src/octoprint/static/js/app/main.js:211 +#: src/octoprint/static/js/app/main.js:210 msgid "Starting" msgstr "" -#: src/octoprint/static/js/app/main.js:212 +#: src/octoprint/static/js/app/main.js:211 msgid "Starting print from SD" msgstr "" -#: src/octoprint/static/js/app/main.js:213 +#: src/octoprint/static/js/app/main.js:212 msgid "Printing from SD" msgstr "" -#: src/octoprint/static/js/app/main.js:214 +#: src/octoprint/static/js/app/main.js:213 msgid "Sending file to SD" msgstr "" -#: src/octoprint/static/js/app/main.js:215 +#: src/octoprint/static/js/app/main.js:214 msgid "Printing" msgstr "" -#: src/octoprint/static/js/app/main.js:216 +#: src/octoprint/static/js/app/main.js:215 msgid "Paused" msgstr "" -#: src/octoprint/static/js/app/main.js:217 +#: src/octoprint/static/js/app/main.js:216 msgid "Closed" msgstr "" -#: src/octoprint/static/js/app/main.js:218 +#: src/octoprint/static/js/app/main.js:217 msgid "Transferring file to SD" msgstr "" -#: src/octoprint/static/js/app/main.js:219 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:446 +#: src/octoprint/static/js/app/main.js:218 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:460 msgid "Pausing" msgstr "" -#: src/octoprint/static/js/app/main.js:220 +#: src/octoprint/static/js/app/main.js:219 msgid "Resuming" msgstr "" -#: src/octoprint/static/js/app/main.js:221 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:455 +#: src/octoprint/static/js/app/main.js:220 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:469 msgid "Cancelling" msgstr "" -#: src/octoprint/static/js/app/main.js:222 +#: src/octoprint/static/js/app/main.js:221 msgid "Finishing" msgstr "" -#: src/octoprint/static/js/app/main.js:816 +#: src/octoprint/static/js/app/main.js:815 msgid "Loading OctoPrint's UI, please wait..." msgstr "" @@ -3381,7 +3573,7 @@ msgstr "" msgid "Edit group \"%(name)s\"" msgstr "" -#: src/octoprint/static/js/app/viewmodels/access.js:578 +#: src/octoprint/static/js/app/viewmodels/access.js:567 #, python-format msgid "You are about to delete the group \"%(name)s\"." msgstr "" @@ -3414,7 +3606,7 @@ msgid "Stay Connected" msgstr "" #: src/octoprint/static/js/app/viewmodels/control.js:73 -#: src/octoprint/static/js/app/viewmodels/files.js:688 +#: src/octoprint/static/js/app/viewmodels/files.js:813 #: src/octoprint/static/js/app/viewmodels/gcode.js:570 #: src/octoprint/static/js/app/viewmodels/printerstate.js:299 #: src/octoprint/static/js/app/viewmodels/temperature.js:130 @@ -3438,164 +3630,172 @@ msgstr "" msgid "Your current disk usage." msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:144 +#: src/octoprint/static/js/app/viewmodels/files.js:191 msgid "Only show model files" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:145 +#: src/octoprint/static/js/app/viewmodels/files.js:192 msgid "Only show machine code files" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:153 +#: src/octoprint/static/js/app/viewmodels/files.js:200 #, python-format msgid "Only show %(type)s files" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:453 +#: src/octoprint/static/js/app/viewmodels/files.js:522 #, python-format msgid "" "You are about to delete the folder \"%(folder)s\" which still contains " "files and/or sub folders." msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:481 +#: src/octoprint/static/js/app/viewmodels/files.js:550 #: src/octoprint/static/js/app/viewmodels/printerstate.js:348 msgid "This will start a new print job. Please check that the print bed is clear." msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:482 +#: src/octoprint/static/js/app/viewmodels/files.js:551 #: src/octoprint/static/js/app/viewmodels/printerstate.js:349 msgid "Do you want to start the print job now?" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:483 +#: src/octoprint/static/js/app/viewmodels/files.js:552 #: src/octoprint/static/js/app/viewmodels/printerstate.js:350 msgid "No" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:484 +#: src/octoprint/static/js/app/viewmodels/files.js:553 #: src/octoprint/static/js/app/viewmodels/printerstate.js:351 msgid "Yes" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:678 +#: src/octoprint/static/js/app/viewmodels/files.js:650 +msgid "Unable to move file or folder" +msgstr "" + +#: src/octoprint/static/js/app/viewmodels/files.js:650 +msgid "to" +msgstr "" + +#: src/octoprint/static/js/app/viewmodels/files.js:803 #: src/octoprint/static/js/app/viewmodels/gcode.js:528 msgid "Model size" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:684 -#: src/octoprint/static/js/app/viewmodels/files.js:688 +#: src/octoprint/static/js/app/viewmodels/files.js:809 +#: src/octoprint/static/js/app/viewmodels/files.js:813 #: src/octoprint/static/js/app/viewmodels/gcode.js:566 #: src/octoprint/static/js/app/viewmodels/gcode.js:570 msgid "Filament" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:693 +#: src/octoprint/static/js/app/viewmodels/files.js:818 #: src/octoprint/static/js/app/viewmodels/gcode.js:575 msgid "Estimated print time" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:696 +#: src/octoprint/static/js/app/viewmodels/files.js:821 msgid "Last printed" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:698 +#: src/octoprint/static/js/app/viewmodels/files.js:823 msgid "Last print time" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:758 +#: src/octoprint/static/js/app/viewmodels/files.js:883 #, python-format msgid "" "Object in %(name)s exceeds the print volume of the currently selected " "printer profile, be careful when printing this." msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:768 +#: src/octoprint/static/js/app/viewmodels/files.js:893 msgid "Object exceeds print volume in width.
    " msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:771 +#: src/octoprint/static/js/app/viewmodels/files.js:896 msgid "Object exceeds print volume in depth.
    " msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:774 +#: src/octoprint/static/js/app/viewmodels/files.js:899 msgid "Object exceeds print volume in height.
    " msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:780 +#: src/octoprint/static/js/app/viewmodels/files.js:905 msgid "" "Object's bounding box: (%(object.minX).2f, %(object.minY).2f, " "%(object.minZ).2f) × (%(object.maxX).2f, %(object.maxY).2f, " "%(object.maxZ).2f)" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:782 +#: src/octoprint/static/js/app/viewmodels/files.js:907 msgid "" "Print volume: (%(profile.minX).2f, %(profile.minY).2f, " "%(profile.minZ).2f) × (%(profile.maxX).2f, %(profile.maxY).2f, " "%(profile.maxZ).2f)" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:789 +#: src/octoprint/static/js/app/viewmodels/files.js:914 msgid "Object doesn't fit print volume" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:964 +#: src/octoprint/static/js/app/viewmodels/files.js:1090 msgid "Slicing ..." msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:990 +#: src/octoprint/static/js/app/viewmodels/files.js:1116 msgid "Slicing done" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:991 +#: src/octoprint/static/js/app/viewmodels/files.js:1117 #, python-format msgid "Sliced %(stl)s to %(gcode)s, took %(time).2f seconds" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:1006 +#: src/octoprint/static/js/app/viewmodels/files.js:1132 #, python-format msgid "Could not slice %(stl)s to %(gcode)s: %(reason)s" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:1007 +#: src/octoprint/static/js/app/viewmodels/files.js:1133 msgid "Slicing failed" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:1024 +#: src/octoprint/static/js/app/viewmodels/files.js:1150 msgid "Streaming ..." msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:1036 +#: src/octoprint/static/js/app/viewmodels/files.js:1162 msgid "Streaming done" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:1037 +#: src/octoprint/static/js/app/viewmodels/files.js:1163 #, python-format msgid "Streamed %(local)s to %(remote)s on SD, took %(time).2f seconds" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:1053 +#: src/octoprint/static/js/app/viewmodels/files.js:1179 msgid "Streaming failed" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:1054 +#: src/octoprint/static/js/app/viewmodels/files.js:1180 #, python-format msgid "Did not finish streaming %(local)s to %(remote)s on SD" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:1154 +#: src/octoprint/static/js/app/viewmodels/files.js:1278 #, python-format msgid "" "Could not upload the file. Make sure that it is a readable, valid file " "with one of these extensions: %(extensions)s" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:1177 +#: src/octoprint/static/js/app/viewmodels/files.js:1301 msgid "Saving ..." msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:1177 +#: src/octoprint/static/js/app/viewmodels/files.js:1301 msgid "Uploading ..." msgstr "" @@ -3912,23 +4112,23 @@ msgstr "" msgid "Autodetect from browser" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:351 +#: src/octoprint/static/js/app/viewmodels/settings.js:353 msgid "If you see your webcam stream below, the entered stream URL is ok." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:359 +#: src/octoprint/static/js/app/viewmodels/settings.js:361 msgid "Stream test" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:377 +#: src/octoprint/static/js/app/viewmodels/settings.js:379 msgid "Could not retrieve snapshot URL, please double check the URL" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:378 +#: src/octoprint/static/js/app/viewmodels/settings.js:380 msgid "Snapshot test failed" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:393 +#: src/octoprint/static/js/app/viewmodels/settings.js:395 #, python-format msgid "" "Could retrieve the snapshot URL, but it didn't look like an image. Got " @@ -3937,66 +4137,66 @@ msgid "" "or videos." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:418 +#: src/octoprint/static/js/app/viewmodels/settings.js:420 msgid "" "If you see your webcam snapshot picture below, the entered snapshot URL " "is ok." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:420 +#: src/octoprint/static/js/app/viewmodels/settings.js:422 msgid "Snapshot test" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:453 +#: src/octoprint/static/js/app/viewmodels/settings.js:455 msgid "The path doesn't exist" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:455 +#: src/octoprint/static/js/app/viewmodels/settings.js:457 msgid "The path is not a file" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:457 +#: src/octoprint/static/js/app/viewmodels/settings.js:459 msgid "The path is not an executable" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:460 -#: src/octoprint/static/js/app/viewmodels/settings.js:541 +#: src/octoprint/static/js/app/viewmodels/settings.js:462 +#: src/octoprint/static/js/app/viewmodels/settings.js:543 msgid "The path is valid" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:480 +#: src/octoprint/static/js/app/viewmodels/settings.js:482 msgid "The server is not reachable" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:482 +#: src/octoprint/static/js/app/viewmodels/settings.js:484 msgid "The server is reachable" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:501 +#: src/octoprint/static/js/app/viewmodels/settings.js:503 msgid "Name cannot be resolved" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:503 +#: src/octoprint/static/js/app/viewmodels/settings.js:505 msgid "Name can be resolved" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:532 +#: src/octoprint/static/js/app/viewmodels/settings.js:534 msgid "The path is a broken symlink." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:534 +#: src/octoprint/static/js/app/viewmodels/settings.js:536 msgid "The path does not exist and cannot be created." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:536 +#: src/octoprint/static/js/app/viewmodels/settings.js:538 msgid "The path is not a folder." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:538 +#: src/octoprint/static/js/app/viewmodels/settings.js:540 msgid "The path is not writable." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:663 +#: src/octoprint/static/js/app/viewmodels/settings.js:665 #: src/octoprint/static/js/app/viewmodels/usersettings.js:101 msgid "" "This will generate a new API Key. The old API Key will cease to function " @@ -4282,36 +4482,40 @@ msgstr "" msgid "This will delete the API Key. It will cease to to function immediately." msgstr "" -#: src/octoprint/templates/index.jinja2:33 -msgid "You don't seem to have JavaScript enabled" +#: src/octoprint/templates/footer.jinja2:8 +msgid "Forum" +msgstr "" + +#: src/octoprint/templates/footer.jinja2:9 +msgid "Discord" +msgstr "" + +#: src/octoprint/templates/footer.jinja2:10 +msgid "FAQ" +msgstr "" + +#: src/octoprint/templates/footer.jinja2:11 +msgid "Docs" +msgstr "" + +#: src/octoprint/templates/footer.jinja2:12 +msgid "About" msgstr "" #: src/octoprint/templates/index.jinja2:34 +msgid "You don't seem to have JavaScript enabled" +msgstr "" + +#: src/octoprint/templates/index.jinja2:35 msgid "" "OctoPrint's UI requires JavaScript to work. Please enable JavaScript and " "reload." msgstr "" -#: src/octoprint/templates/index.jinja2:48 +#: src/octoprint/templates/index.jinja2:49 msgid "Connecting to OctoPrint's server..." msgstr "" -#: src/octoprint/templates/index.jinja2:161 -msgid "Forum" -msgstr "" - -#: src/octoprint/templates/index.jinja2:162 -msgid "FAQ" -msgstr "" - -#: src/octoprint/templates/index.jinja2:163 -msgid "Docs" -msgstr "" - -#: src/octoprint/templates/index.jinja2:164 -msgid "About" -msgstr "" - #: src/octoprint/templates/dialogs/about.jinja2:4 #: src/octoprint/templates/dialogs/settings.jinja2:51 msgid "About OctoPrint" @@ -4333,6 +4537,25 @@ msgstr "" msgid "Create" msgstr "" +#: src/octoprint/templates/dialogs/files.jinja2:26 +msgid "Move File or Folder" +msgstr "" + +#: src/octoprint/templates/dialogs/files.jinja2:31 +msgid "Select destination folder for " +msgstr "" + +#: src/octoprint/templates/dialogs/files.jinja2:31 +msgid "Currently:" +msgstr "" + +#: src/octoprint/templates/dialogs/files.jinja2:41 +#: src/octoprint/templates/sidebar/files.jinja2:26 +#: src/octoprint/templates/sidebar/files.jinja2:40 +#: src/octoprint/templates/sidebar/files.jinja2:51 +msgid "Move" +msgstr "" + #: src/octoprint/templates/dialogs/settings.jinja2:4 msgid "OctoPrint Settings" msgstr "" @@ -4422,7 +4645,7 @@ msgid "After slicing..." msgstr "" #: src/octoprint/templates/dialogs/slicing.jinja2:58 -#: src/octoprint/templates/sidebar/files.jinja2:40 +#: src/octoprint/templates/sidebar/files.jinja2:42 msgid "Slice" msgstr "" @@ -4514,32 +4737,57 @@ msgstr "" msgid "Groups" msgstr "" -#: src/octoprint/templates/dialogs/settings/api.jinja2:5 +#: src/octoprint/templates/dialogs/settings/api.jinja2:3 +msgid "CORS" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/api.jinja2:7 #, python-format msgid "Allow Cross Origin Resource Sharing (CORS)" msgstr "" -#: src/octoprint/templates/dialogs/settings/api.jinja2:5 +#: src/octoprint/templates/dialogs/settings/api.jinja2:7 msgid "Needs restart" msgstr "" #: src/octoprint/templates/dialogs/settings/api.jinja2:13 +#: src/octoprint/templates/dialogs/settings/api.jinja2:26 +msgid "Global API Key" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/api.jinja2:15 +msgid "" +"\n" +" The global API key should best not be used anymore. It's " +"one single key that gives full admin access to\n" +" your whole OctoPrint instance. Instead of using it you " +"should create individual Application Keys for\n" +" your third party clients. That way they get permissions " +"matching the user account used for key\n" +" creation and you can also revoke access to one app " +"without having to change the keys for all other apps.\n" +" It's also recommended to create a user account without " +"admin access and use that for third\n" +" party clients where possible.\n" +" " +msgstr "" + +#: src/octoprint/templates/dialogs/settings/api.jinja2:23 +msgid "Access Application Keys" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/api.jinja2:29 #: src/octoprint/templates/dialogs/usersettings/access.jinja2:27 #: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:159 msgid "N/A" msgstr "" -#: src/octoprint/templates/dialogs/settings/api.jinja2:17 +#: src/octoprint/templates/dialogs/settings/api.jinja2:33 msgid "" "Please note that changes to the API key are applied immediately, without " "having to \"Save\" first." msgstr "" -#: src/octoprint/templates/dialogs/settings/api.jinja2:21 -#: src/octoprint/templates/dialogs/usersettings/access.jinja2:36 -msgid "QR Code" -msgstr "" - #: src/octoprint/templates/dialogs/settings/appearance.jinja2:2 msgid "" "Name of this OctoPrint instance, will be shown in the navigation bar and " @@ -4641,8 +4889,8 @@ msgstr "" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:123 #: src/octoprint/templates/overlays/dragndrop.jinja2:10 -#: src/octoprint/templates/sidebar/files.jinja2:66 -#: src/octoprint/templates/sidebar/files.jinja2:77 +#: src/octoprint/templates/sidebar/files.jinja2:69 +#: src/octoprint/templates/sidebar/files.jinja2:80 msgid "Upload" msgstr "" @@ -4778,11 +5026,12 @@ msgid "" msgstr "" #: src/octoprint/templates/dialogs/settings/folders.jinja2:67 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:76 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:433 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:449 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:458 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:473 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:90 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:447 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:487 +#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87 #: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6 #: src/octoprint/templates/tabs/gcodeviewer.jinja2:117 msgid "Warning" @@ -4805,7 +5054,7 @@ msgid "Before print job starts" msgstr "" #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:6 -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:34 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:37 msgid "" "Anything you put here will be executed before any lines in your " "files." @@ -4816,8 +5065,8 @@ msgid "After print job completes" msgstr "" #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:13 -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:20 -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:27 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:21 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:30 msgid "" "Anything you put here will be executed after any lines in your " "files." @@ -4827,43 +5076,50 @@ msgstr "" msgid "After print job is cancelled" msgstr "" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:24 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:22 +#, python-format +msgid "" +"If you ever need to you can find the default cancel script that OctoPrint" +" ships with here." +msgstr "" + +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:27 msgid "After print job is paused" msgstr "" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:31 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:34 msgid "Before print job is resumed" msgstr "" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:38 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:41 msgid "Before tool change" msgstr "" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:41 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:44 msgid "" "Anything you put here will be executed before any tool change " "commands Tn." msgstr "" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:45 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:48 msgid "After tool change" msgstr "" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:48 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:51 msgid "" "Anything you put here will be executed after any tool change " "commands Tn." msgstr "" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:52 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:55 msgid "After connection to printer is established" msgstr "" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:58 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:61 msgid "Before connection to printer is closed" msgstr "" -#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:61 +#: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:64 msgid "" "Anything you put here will only be executed when closing the connection " "actively. If the connection to the printer is suddenly lost nothing will " @@ -4964,114 +5220,136 @@ msgid "" "connecting with, e.g. 123456. Comma separated." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:49 -msgid "Request exclusive access to the serial port" +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:47 +msgid "Blacklisted serial ports" msgstr "" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:50 +#, python-format +msgid "" +"Use this to define glob patterns matching " +"serial ports to blacklist for connecting against, e.g. " +"/dev/ttyS*. One entry per line." +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:54 +msgid "Blacklisted baud rates" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:57 +msgid "" +"Use this to define serial port baud rates to blacklist for connecting " +"with, e.g. 123456. Comma separated." +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:63 +msgid "Request exclusive access to the serial port" +msgstr "" + +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:64 msgid "Uncheck this if you are having problems connecting to your printer." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:55 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:69 msgid "Apply parity double open workaround" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:59 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:73 #, python-format msgid "" "Use this if you are running into this problem." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:62 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:76 msgid "If detected as potentially needed" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:66 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:80 msgid "" "Use this if connecting to your printer fails with (22, 'Invalid " "argument')." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:72 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:86 msgid "Serial logging" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:76 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:90 msgid "Log communication to serial.log" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:77 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:91 msgid "" "While this can negatively impact performance, a serial.log " "can be incredibly useful for debugging any issues observed in the " "communication between OctoPrint and your printer." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:85 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:99 msgid "Query intervals" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:86 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:100 msgid "Interval in which to poll for the temperature information from the printer" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:87 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:101 msgid "Temperature interval (polling)" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:93 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:107 msgid "When printing or idle" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:100 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:114 msgid "When idle and a target temperature is set" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:103 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:117 msgid "" "Temperature report interval to request from autoreport capable firmwares." " A value of 0 disables autoreporting by the firmware and forces polling." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:104 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:118 msgid "Temperature interval (autoreport)" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:110 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:130 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:124 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:144 msgid "Autoreport interval to request from firmware" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:113 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:127 msgid "" "Interval in which to poll for the SD printing status information from the" " printer while printing" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:114 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:128 msgid "SD status interval (polling)" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:120 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:134 msgid "When printing from the printer's SD" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:123 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:137 msgid "" "SD status interval to request from autoreport capable firmwares. A value " "of 0 disables autoreporting by the firmware and forces polling." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:124 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:138 msgid "SD status interval (autoreport)" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:135 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:149 msgid "Timeouts" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:136 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:150 msgid "" "Time after which the communication with your printer will be considered " "timed out if nothing was sent by your printer (and an attempt to get it " @@ -5079,111 +5357,111 @@ msgid "" "than this for some moves." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:137 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:151 msgid "Communication timeout" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:143 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:157 msgid "busy protocol support not detected" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:150 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:164 msgid "busy protocol support detected" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:153 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:167 msgid "" "Time after which a connection attempt to the printer will be considered " "as having failed" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:154 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:168 msgid "Connection timeout" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:162 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:176 msgid "" "Time after which to consider an auto detection attempt to have failed if " "no successful connection is detected" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:163 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:177 msgid "Autodetection timeout" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:171 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:185 msgid "" "Time after which to consider a position query on pause or cancel to have " "failed" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:172 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:186 msgid "Position query timeout" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:183 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:197 msgid "" "Time to wait after opening the serial connection before starting baudrate" " detection" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:184 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:198 msgid "Initial baudrate detection pause" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:190 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:204 msgid "" "Some controllers need a bit of a breather before baudrate detection after" " initial connect. If baudrate detection fails due to a hanging " "controller, try increasing this value." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:193 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:207 msgid "" "Maximum consecutive communication timeouts while idle. More than this and" " the printer will be considered to be gone. Set to 0 to disable." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:194 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:208 msgid "Max. consecutive timeouts while idle" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:197 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:204 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:211 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:218 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:225 msgid "Set to 0 to disable consecutive timeout detection and handling." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:200 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:214 msgid "" "Maximum consecutive communication timeouts while printing. More than this" " and the printer will be considered to be gone. Set to 0 to disable." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:201 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:215 msgid "Max. consecutive timeouts while printing" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:207 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:221 msgid "" "Maximum consecutive communication timeouts while a long running command " "is active. More than this and the printer will be considered to be gone. " "Set to 0 to disable." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:208 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:222 msgid "Max. consecutive timeouts during long running commands" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:220 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:234 msgid "Firmware specific settings" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:224 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:238 msgid "Enable automatic firmware detection" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:225 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:239 msgid "" "\n" " If enabled, OctoPrint will try to figure " @@ -5195,85 +5473,85 @@ msgid "" " " msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:236 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250 msgid "Select SD files by relative path" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:236 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250 msgid "RepRap Firmware" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:243 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:257 msgid "Always assume SD card is present" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:243 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:257 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:264 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:271 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:278 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:289 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:285 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:292 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:303 msgid "Repetier" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:264 msgid "Disable SD printing detection" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:264 msgid "Ultimaker 2/2+" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:257 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:271 msgid "Ignore consecutive resend requests for the same line" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:264 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:278 #, python-format msgid "" "Support TargetExtr%%n/TargetBed target " "temperature format" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:271 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:285 msgid "Disable detection of external heatups" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:278 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:292 msgid "Actively pause communication during G4 dwell command" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:283 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:297 msgid "Send a checksum with the command" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:286 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:300 msgid "When printing" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:303 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:317 msgid "Support temperature autoreporting by firmware, if detected" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:310 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:324 msgid "Support sd status autoreporting by firmware, if detected" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:317 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:331 msgid "" "Send emergency GCODES M108 and M410 without " "waiting for acknowledgement, if detected as supported by the firmware" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:324 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:338 msgid "Support busy protocol, if detected" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:331 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:345 msgid "Simulate ok for M29" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:332 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:346 msgid "" "Most Marlin forks that were derived from Marlin versions < v1.1.0 do " "not send an acknowledging ok for a M29. Check " @@ -5281,40 +5559,40 @@ msgid "" "to your printer's SD." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:337 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:351 msgid "Simulate ok for resend requests" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:340 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:354 msgid "If detected as necessary" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:348 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:362 msgid "" "Some Marlin forks lack an acknowledging ok with their resend" " requests. Set this to \"always\" or \"if detected as necessary\" if you " "run into communication stalls on resend requests." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:355 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:369 msgid "Protocol fine tuning" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:359 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:373 msgid "Wait for start on connect" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:360 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:374 msgid "" "Try checking this if you run into connection timeouts due to your printer" " taking too long to respond to OctoPrint's handshake attempts on connect." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:365 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:379 msgid "Blocked commands" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:368 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:382 msgid "" "Use this to specify commands that should never be sent to the printer. " "Just the G or M code, comma separated. Defaults to M0 and " @@ -5322,22 +5600,22 @@ msgid "" "controller has been pressed if it receives either of those two commands." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:372 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:386 msgid "Pausing commands" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:375 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:389 msgid "" "Use this to specify commands on which OctoPrint should pause the print " "job. Just the G or M code, comma separated. Defaults to M0, " "M1 and M25." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:379 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:393 msgid "Emergency commands" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:382 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:396 msgid "" "Use this to specify emergency commands which should jump any queues and -" " if supported by the firmware - be force sent. Just the G or M code, " @@ -5345,123 +5623,123 @@ msgid "" "M410." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:387 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:401 msgid "Command to send to the firmware on first handshake attempt." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:388 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:402 msgid "\"Hello\" command" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:391 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:405 msgid "" "Use this to specify a different command than the default " "M110 to send to the printer on initial connection to trigger" " a communication handshake." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:394 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:408 msgid "" "Commands that are know to run long and hence should suppress " "communication timeouts from being triggered." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:395 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:409 msgid "Long running commands" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:398 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:412 msgid "" "Use this to specify the commands known to take a long time to complete " "without output from your printer and hence might cause timeout issues. " "Just the G or M code, comma separated." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:401 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:415 msgid "" "Commands that always require a line number and checksum to be sent with " "them." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:402 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:416 msgid "Commands that always require a checksum" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:405 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:419 msgid "" "Use this to specify which commands always need to be " "sent with a checksum. Comma separated list." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:408 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:422 msgid "ok buffer size" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:409 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:423 msgid "ok buffer size" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:412 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:426 msgid "Only modify if told to do so" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:421 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:435 msgid "Error handling" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:423 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:437 msgid "What to do on a firmware error (Error: or !!)" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:426 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:440 msgid "Disconnect from the printer" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:429 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:443 msgid "Cancel any ongoing prints but stay connected to the printer" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:430 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:444 msgid "" "Please note that if you choose this, OctoPrint will still disconnect from" " the printer in case of fatal errors reported by your firmware " "(e.g. kill() called, fatal:)." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:434 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:448 msgid "" "Only choose this if your firmware sends error messages that are not " "actual errors. Might mask printer issues (even fatal errors!), be " "careful!" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:440 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:454 msgid "Send M112 on disconnect due to error" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:441 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:455 msgid "" "If this is checked, OctoPrint will try to send an M112 prior" " to a disconnect due to a (fatal) error in order to disable heaters and " "motors." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:449 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463 msgid "Log position on pause" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:450 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:464 msgid "" "If you disable this, the pause_position placeholders in your" " pause/resume GCODE scripts will stay unpopulated! However, pausing speed" " might improve slightly." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:458 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472 msgid "Log position on cancel" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:459 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:473 msgid "" "If you disable this, the cancel_position placeholders in " "your cancel GCODE script and the corresponding data in the print recovery" @@ -5469,25 +5747,25 @@ msgid "" "slightly." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:464 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:478 msgid "Attempt to abort any blocking heatups on cancel via M108." msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:465 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:479 msgid "" "Uncheck this if your firmware doesn't support M108 for " "aborting blocking heatups!" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:470 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:484 msgid "Sanity Checking" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:473 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:487 msgid "Sanity check tool commands" msgstr "" -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:474 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:488 msgid "" "If enabled, OctoPrint will not send tool commands to your printer that " "exceed the number of extruders configured in the active printer profile, " @@ -5691,7 +5969,7 @@ msgid "Upload locally" msgstr "" #: src/octoprint/templates/overlays/dragndrop.jinja2:7 -#: src/octoprint/templates/sidebar/files.jinja2:71 +#: src/octoprint/templates/sidebar/files.jinja2:74 msgid "Upload to SD" msgstr "" @@ -5744,43 +6022,43 @@ msgstr "" msgid "Currently in" msgstr "" -#: src/octoprint/templates/sidebar/files.jinja2:19 -#: src/octoprint/templates/sidebar/files.jinja2:34 -#: src/octoprint/templates/sidebar/files.jinja2:46 -msgid "Internal" +#: src/octoprint/templates/sidebar/files.jinja2:18 +msgid "Additional data" msgstr "" #: src/octoprint/templates/sidebar/files.jinja2:20 #: src/octoprint/templates/sidebar/files.jinja2:35 +#: src/octoprint/templates/sidebar/files.jinja2:48 +msgid "Internal" +msgstr "" + +#: src/octoprint/templates/sidebar/files.jinja2:21 +#: src/octoprint/templates/sidebar/files.jinja2:36 #: src/octoprint/templates/sidebar/state.jinja2:4 msgid "Uploaded" msgstr "" -#: src/octoprint/templates/sidebar/files.jinja2:24 -msgid "Additional data" -msgstr "" - -#: src/octoprint/templates/sidebar/files.jinja2:27 +#: src/octoprint/templates/sidebar/files.jinja2:28 msgid "Load" msgstr "" -#: src/octoprint/templates/sidebar/files.jinja2:28 +#: src/octoprint/templates/sidebar/files.jinja2:29 msgid "Load and Print" msgstr "" -#: src/octoprint/templates/sidebar/files.jinja2:54 +#: src/octoprint/templates/sidebar/files.jinja2:57 msgid "Free" msgstr "" -#: src/octoprint/templates/sidebar/files.jinja2:54 +#: src/octoprint/templates/sidebar/files.jinja2:57 msgid "Total" msgstr "" -#: src/octoprint/templates/sidebar/files.jinja2:59 +#: src/octoprint/templates/sidebar/files.jinja2:62 msgid "Create folder..." msgstr "" -#: src/octoprint/templates/sidebar/files.jinja2:89 +#: src/octoprint/templates/sidebar/files.jinja2:92 msgid "Hint: You can also drag and drop files on this page to upload them." msgstr "" @@ -5796,47 +6074,51 @@ msgstr "" msgid "Sort by upload date" msgstr "" -#: src/octoprint/templates/sidebar/files_header.jinja2:14 -msgid "Sort by Folders, Files" +#: src/octoprint/templates/sidebar/files_header.jinja2:10 +msgid "Sort by date of last print" msgstr "" #: src/octoprint/templates/sidebar/files_header.jinja2:15 -msgid "Sort by Files, Folders" +msgid "Sort by Folders, Files" msgstr "" #: src/octoprint/templates/sidebar/files_header.jinja2:16 +msgid "Sort by Files, Folders" +msgstr "" + +#: src/octoprint/templates/sidebar/files_header.jinja2:17 msgid "Mixed" msgstr "" -#: src/octoprint/templates/sidebar/files_header.jinja2:27 +#: src/octoprint/templates/sidebar/files_header.jinja2:28 msgid "Only show files stored locally" msgstr "" -#: src/octoprint/templates/sidebar/files_header.jinja2:28 +#: src/octoprint/templates/sidebar/files_header.jinja2:29 msgid "Only show files stored on SD" msgstr "" -#: src/octoprint/templates/sidebar/files_header.jinja2:31 +#: src/octoprint/templates/sidebar/files_header.jinja2:32 msgid "Hide successfully printed files" msgstr "" -#: src/octoprint/templates/sidebar/files_header.jinja2:36 +#: src/octoprint/templates/sidebar/files_header.jinja2:37 msgid "Refresh file list" msgstr "" -#: src/octoprint/templates/sidebar/files_header.jinja2:43 +#: src/octoprint/templates/sidebar/files_header.jinja2:44 msgid "SD Card operations" msgstr "" -#: src/octoprint/templates/sidebar/files_header.jinja2:47 +#: src/octoprint/templates/sidebar/files_header.jinja2:48 msgid "Initialize SD card" msgstr "" -#: src/octoprint/templates/sidebar/files_header.jinja2:48 +#: src/octoprint/templates/sidebar/files_header.jinja2:49 msgid "Refresh SD files" msgstr "" -#: src/octoprint/templates/sidebar/files_header.jinja2:49 +#: src/octoprint/templates/sidebar/files_header.jinja2:50 msgid "Release SD card" msgstr "" @@ -6222,20 +6504,6 @@ msgid "" " " msgstr "" -#: src/octoprint/templates/snippets/settings/server/serverOnlineCheck.jinja2:22 -msgid "" -"\n" -" If you also want to check if name resolution works " -"(strongly recommended), define a host name\n" -" to check name resolution against. If you don't know what " -"to set here, the default value\n" -" (OctoPrint's domain) should work. If you don't want to " -"perform regular resolution checks along\n" -" side with the general connectivity check, leave the field" -" empty.\n" -" " -msgstr "" - #: src/octoprint/templates/snippets/settings/server/serverOnlineCheckDescription.jinja2:1 msgid "" "\n" @@ -6523,8 +6791,8 @@ msgstr "" #: src/octoprint/templates/tabs/control.jinja2:83 msgid "" "The feed rate can only be set, it cannot be read back from the firmware " -"due to a limitation of the communication protocol. The value shown on the" -" UI thus does not reflect the current setting." +"due to a limitation of the communication protocol. There is no way to " +"show the current setting." msgstr "" #: src/octoprint/templates/tabs/control.jinja2:97 @@ -6546,8 +6814,8 @@ msgstr "" #: src/octoprint/templates/tabs/control.jinja2:113 msgid "" "The flow rate can only be set, it cannot be read back from the firmware " -"due to a limitation of the communication protocol. The value shown on the" -" UI thus does not reflect the current setting." +"due to a limitation of the communication protocol. There is no way to " +"show the current setting." msgstr "" #: src/octoprint/templates/tabs/control.jinja2:126 From 32b655451cd170d50e4c2e2d561141b20a6bf75b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Sat, 4 Jul 2020 13:06:44 +0200 Subject: [PATCH 81/85] =?UTF-8?q?=F0=9F=94=A7=20Update=20errortracking=20D?= =?UTF-8?q?SNs=20for=201.4.1rc1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/plugins/errortracking/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/octoprint/plugins/errortracking/__init__.py b/src/octoprint/plugins/errortracking/__init__.py index 32d4d761d..d205c3a78 100644 --- a/src/octoprint/plugins/errortracking/__init__.py +++ b/src/octoprint/plugins/errortracking/__init__.py @@ -13,8 +13,8 @@ from octoprint.util.version import get_octoprint_version_string, is_released_oct from flask import jsonify from flask_babel import gettext -SENTRY_URL_SERVER = "https://2e668ba966024cfc962ba97eef89dc15@sentry.io/1373987" -SENTRY_URL_COREUI = "https://dccc2e2f3c6b4adda72f376bbb7fe561@sentry.io/1374096" +SENTRY_URL_SERVER = "https://a928e3eb40864ed086f765d6976bf792@o118517.ingest.sentry.io/1373987" +SENTRY_URL_COREUI = "https://26fe846c0ff34995a39bbb67a04b3f42@o118517.ingest.sentry.io/1374096" SETTINGS_DEFAULTS = dict(enabled=False, enabled_unreleased=False, From d2110c30139c26e20a4a646f259612fb9e4b98c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 6 Jul 2020 09:42:58 +0200 Subject: [PATCH 82/85] =?UTF-8?q?=F0=9F=94=96=20Prepare=20release=20of=201?= =?UTF-8?q?.4.1rc1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SUPPORTERS.md | 23 +- src/octoprint/static/css/octoprint.css | 2 +- translations/de/LC_MESSAGES/messages.po | 4053 ++++++++++++++++------- translations/messages.pot | 632 ++-- 4 files changed, 3244 insertions(+), 1466 deletions(-) diff --git a/SUPPORTERS.md b/SUPPORTERS.md index a06ccfb07..8876adb44 100644 --- a/SUPPORTERS.md +++ b/SUPPORTERS.md @@ -1,14 +1,14 @@ -# Supporters +# Supporters Development of this version of OctoPrint wouldn't have been possible without -[the financial support by the community](https://octoprint.org/support-octoprint/) - +[the financial support by the community](https://support.octoprint.org) - thanks to everyone who contributed! -## Patreon Patrons +## Patrons & Sponsors - * Alex Krilov * Andrew Moorby * Arnljot Arntsen + * Ash King * BigTreeTech * Boris Hussein * Brad Jackson @@ -27,13 +27,15 @@ thanks to everyone who contributed! * Hog Duske * Hugh Blemings * jean-claude migneault - * Jeff Renfer - * Jeremiah Avery + * Jeremy Cole + * Joe Pasqua + * John Robinson * Joshua Wills * Justin Kaufman * Kaile Riser * Kale Stedman * Kazuhiro Ogura + * Kelly C McNiece * Kenneth Jiang * Kurt Wubbels * Kyle Menigoz @@ -41,7 +43,7 @@ thanks to everyone who contributed! * Lee Dohm * Makespace Madrid * Mark Walker - * Martin Majewski + * Marvin Nahmias * Michael Aumock * Miles Flavel * Mosaic Manufacturing @@ -49,6 +51,7 @@ thanks to everyone who contributed! * Patrick Glyré * Patrick McGinnis * Prof Yuh Wen Chen + * Raise3D * Randy C. Will * Ranjib Dey * Richard Michaud @@ -56,11 +59,11 @@ thanks to everyone who contributed! * Robert Gusek * Ronald Griehsler * Sacha Telgenhof - * Simon Hallam + * Sebastien Andrivet * Stefan Krister * Steve Thompson + * Stewart Danos * Sven Mueller - * Trent Shumay * Ulrich Kempken -and 1741 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [Github Sponsors](https://github.com/users/foosel/sponsorship)! +and 1886 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [Github Sponsors](https://github.com/users/foosel/sponsorship)! \ No newline at end of file diff --git a/src/octoprint/static/css/octoprint.css b/src/octoprint/static/css/octoprint.css index efd45bbbc..db4d7065e 100644 --- a/src/octoprint/static/css/octoprint.css +++ b/src/octoprint/static/css/octoprint.css @@ -1 +1 @@ -.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;margin-bottom:0;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.btn:hover,.btn:focus,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn:active,.btn.active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:hover,.btn:focus{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.btn-large [class^=icon-],.btn-large [class*=" icon-"]{margin-top:4px}.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-small [class^=icon-],.btn-small [class*=" icon-"]{margin-top:0}.btn-mini [class^=icon-],.btn-mini [class*=" icon-"]{margin-top:-1px}.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,.75)}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary:active,.btn-primary.active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning:active,.btn-warning.active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{color:#fff;background-color:#bd362f;*background-color:#a9302a}.btn-danger:active,.btn-danger.active{background-color:#942a25 \9}.btn-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(to bottom,#62c462,#51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{color:#fff;background-color:#51a351;*background-color:#499249}.btn-success:active,.btn-success.active{background-color:#408140 \9}.btn-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(to bottom,#5bc0de,#2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{color:#fff;background-color:#2f96b4;*background-color:#2a85a0}.btn-info:active,.btn-info.active{background-color:#24748c \9}.btn-inverse{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#363636;background-image:-moz-linear-gradient(top,#444,#222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#444),to(#222));background-image:-webkit-linear-gradient(top,#444,#222);background-image:-o-linear-gradient(top,#444,#222);background-image:linear-gradient(to bottom,#444,#222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0);border-color:#222 #222 #000;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse:hover,.btn-inverse:focus,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{color:#fff;background-color:#222;*background-color:#151515}.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9}button.btn,input[type=submit].btn{*padding-top:3px;*padding-bottom:3px}button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type=submit].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type=submit].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type=submit].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-link,.btn-link:active,.btn-link[disabled]{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-link{border-color:transparent;cursor:pointer;color:#08c;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-link:hover,.btn-link:focus{color:#005580;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,.btn-link[disabled]:focus{color:#333;text-decoration:none}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.nowrap{white-space:nowrap}.actioncol{text-align:center;white-space:nowrap}.actioncol a{text-decoration:none;color:#000}.actioncol a.disabled{color:#ccc;cursor:default}#navbar .navbar-inner{background-color:#ebebeb;background-image:-moz-linear-gradient(top,#fff,#ccc);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#ccc));background-image:-webkit-linear-gradient(top,#fff,#ccc);background-image:-o-linear-gradient(top,#fff,#ccc);background-image:linear-gradient(to bottom,#fff,#ccc);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffcccccc', GradientType=0)}#navbar .navbar-inner .brand,#navbar .navbar-inner .nav>li>a{text-shadow:0 1px 0 #ccc;color:#333}#navbar .navbar-inner .brand .caret,#navbar .navbar-inner .nav>li>a .caret{border-bottom-color:#939393;border-top-color:#939393}#navbar .navbar-inner .brand:hover .caret,#navbar .navbar-inner .nav>li>a:hover .caret,#navbar .navbar-inner .brand:focus .caret,#navbar .navbar-inner .nav>li>a:focus .caret{border-bottom-color:#636363;border-top-color:#636363}#navbar .navbar-inner .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#e0e0e0;background-image:-moz-linear-gradient(top,#ccc,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ccc),to(#fff));background-image:-webkit-linear-gradient(top,#ccc,#fff);background-image:-o-linear-gradient(top,#ccc,#fff);background-image:linear-gradient(to bottom,#ccc,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcccccc', endColorstr='#ffffffff', GradientType=0)}#navbar .navbar-inner .nav>li>a:hover{background-color:#dedede;background-image:-moz-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#bfbfbf));background-image:-webkit-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:-o-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:linear-gradient(to bottom,#f2f2f2,#bfbfbf);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffbfbfbf', GradientType=0)}#navbar .navbar-inner.transparent{background-color:rgba(235,235,235,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.6)),to(rgba(204,204,204,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#99cccccc', GradientType=0)}#navbar .navbar-inner.transparent .brand,#navbar .navbar-inner.transparent .nav>li>a{text-shadow:0 1px 0 #ccc;color:#333}#navbar .navbar-inner.transparent .brand .caret,#navbar .navbar-inner.transparent .nav>li>a .caret{border-bottom-color:#939393;border-top-color:#939393}#navbar .navbar-inner.transparent .brand:hover .caret,#navbar .navbar-inner.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.transparent .brand:focus .caret,#navbar .navbar-inner.transparent .nav>li>a:focus .caret{border-bottom-color:#636363;border-top-color:#636363}#navbar .navbar-inner.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(224,224,224,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(204,204,204,.6)),to(rgba(255,255,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99cccccc', endColorstr='#99ffffff', GradientType=0)}#navbar .navbar-inner.transparent .nav>li>a:hover{background-color:rgba(222,222,222,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(242,242,242,.6)),to(rgba(191,191,191,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f2f2f2', endColorstr='#99bfbfbf', GradientType=0)}#navbar .navbar-inner.red{background-color:#bb645f;background-image:-moz-linear-gradient(top,#e28e8a,#802420);background-image:-webkit-gradient(linear,0 0,0 100%,from(#e28e8a),to(#802420));background-image:-webkit-linear-gradient(top,#e28e8a,#802420);background-image:-o-linear-gradient(top,#e28e8a,#802420);background-image:linear-gradient(to bottom,#e28e8a,#802420);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe28e8a', endColorstr='#ff802420', GradientType=0)}#navbar .navbar-inner.red .brand,#navbar .navbar-inner.red .nav>li>a{text-shadow:0 1px 0 #d86761;color:#f2f2f2}#navbar .navbar-inner.red .brand .caret,#navbar .navbar-inner.red .nav>li>a .caret{border-bottom-color:#d89491;border-top-color:#d89491}#navbar .navbar-inner.red .brand:hover .caret,#navbar .navbar-inner.red .nav>li>a:hover .caret,#navbar .navbar-inner.red .brand:focus .caret,#navbar .navbar-inner.red .nav>li>a:focus .caret{border-bottom-color:#e5c3c1;border-top-color:#e5c3c1}#navbar .navbar-inner.red .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.red .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.red .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.red .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.red .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#a74f4a;background-image:-moz-linear-gradient(top,#802420,#e28e8a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#802420),to(#e28e8a));background-image:-webkit-linear-gradient(top,#802420,#e28e8a);background-image:-o-linear-gradient(top,#802420,#e28e8a);background-image:linear-gradient(to bottom,#802420,#e28e8a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff802420', endColorstr='#ffe28e8a', GradientType=0)}#navbar .navbar-inner.red .nav>li>a:hover{background-color:#af5651;background-image:-moz-linear-gradient(top,#dd7a75,#6b1f1b);background-image:-webkit-gradient(linear,0 0,0 100%,from(#dd7a75),to(#6b1f1b));background-image:-webkit-linear-gradient(top,#dd7a75,#6b1f1b);background-image:-o-linear-gradient(top,#dd7a75,#6b1f1b);background-image:linear-gradient(to bottom,#dd7a75,#6b1f1b);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdd7a75', endColorstr='#ff6b1f1b', GradientType=0)}#navbar .navbar-inner.red.transparent{background-color:rgba(187,100,95,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(226,142,138,.6)),to(rgba(128,36,32,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99e28e8a', endColorstr='#99802420', GradientType=0)}#navbar .navbar-inner.red.transparent .brand,#navbar .navbar-inner.red.transparent .nav>li>a{text-shadow:0 1px 0 #d86761;color:#f2f2f2}#navbar .navbar-inner.red.transparent .brand .caret,#navbar .navbar-inner.red.transparent .nav>li>a .caret{border-bottom-color:#d89491;border-top-color:#d89491}#navbar .navbar-inner.red.transparent .brand:hover .caret,#navbar .navbar-inner.red.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.red.transparent .brand:focus .caret,#navbar .navbar-inner.red.transparent .nav>li>a:focus .caret{border-bottom-color:#e5c3c1;border-top-color:#e5c3c1}#navbar .navbar-inner.red.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.red.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.red.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.red.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.red.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(167,79,74,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(128,36,32,.6)),to(rgba(226,142,138,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99802420', endColorstr='#99e28e8a', GradientType=0)}#navbar .navbar-inner.red.transparent .nav>li>a:hover{background-color:rgba(175,86,81,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(221,122,117,.6)),to(rgba(107,31,27,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99dd7a75', endColorstr='#996b1f1b', GradientType=0)}#navbar .navbar-inner.orange{background-color:#e39665;background-image:-moz-linear-gradient(top,#f9c3a0,#c2530c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9c3a0),to(#c2530c));background-image:-webkit-linear-gradient(top,#f9c3a0,#c2530c);background-image:-o-linear-gradient(top,#f9c3a0,#c2530c);background-image:linear-gradient(to bottom,#f9c3a0,#c2530c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9c3a0', endColorstr='#ffc2530c', GradientType=0)}#navbar .navbar-inner.orange .brand,#navbar .navbar-inner.orange .nav>li>a{text-shadow:0 1px 0 #c2530c;color:#f2f2f2}#navbar .navbar-inner.orange .brand .caret,#navbar .navbar-inner.orange .nav>li>a .caret{border-bottom-color:#f2b58d;border-top-color:#f2b58d}#navbar .navbar-inner.orange .brand:hover .caret,#navbar .navbar-inner.orange .nav>li>a:hover .caret,#navbar .navbar-inner.orange .brand:focus .caret,#navbar .navbar-inner.orange .nav>li>a:focus .caret{border-bottom-color:#f2d3bf;border-top-color:#f2d3bf}#navbar .navbar-inner.orange .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.orange .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.orange .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.orange .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.orange .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#d88047;background-image:-moz-linear-gradient(top,#c2530c,#f9c3a0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c2530c),to(#f9c3a0));background-image:-webkit-linear-gradient(top,#c2530c,#f9c3a0);background-image:-o-linear-gradient(top,#c2530c,#f9c3a0);background-image:linear-gradient(to bottom,#c2530c,#f9c3a0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2530c', endColorstr='#fff9c3a0', GradientType=0)}#navbar .navbar-inner.orange .nav>li>a:hover{background-color:#d98956;background-image:-moz-linear-gradient(top,#f8b488,#aa490a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f8b488),to(#aa490a));background-image:-webkit-linear-gradient(top,#f8b488,#aa490a);background-image:-o-linear-gradient(top,#f8b488,#aa490a);background-image:linear-gradient(to bottom,#f8b488,#aa490a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8b488', endColorstr='#ffaa490a', GradientType=0)}#navbar .navbar-inner.orange.transparent{background-color:rgba(227,150,101,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(249,195,160,.6)),to(rgba(194,83,12,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f9c3a0', endColorstr='#99c2530c', GradientType=0)}#navbar .navbar-inner.orange.transparent .brand,#navbar .navbar-inner.orange.transparent .nav>li>a{text-shadow:0 1px 0 #c2530c;color:#f2f2f2}#navbar .navbar-inner.orange.transparent .brand .caret,#navbar .navbar-inner.orange.transparent .nav>li>a .caret{border-bottom-color:#f2b58d;border-top-color:#f2b58d}#navbar .navbar-inner.orange.transparent .brand:hover .caret,#navbar .navbar-inner.orange.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.orange.transparent .brand:focus .caret,#navbar .navbar-inner.orange.transparent .nav>li>a:focus .caret{border-bottom-color:#f2d3bf;border-top-color:#f2d3bf}#navbar .navbar-inner.orange.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.orange.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.orange.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.orange.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.orange.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(216,128,71,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(194,83,12,.6)),to(rgba(249,195,160,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c2530c', endColorstr='#99f9c3a0', GradientType=0)}#navbar .navbar-inner.orange.transparent .nav>li>a:hover{background-color:rgba(217,137,86,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(248,180,136,.6)),to(rgba(170,73,10,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f8b488', endColorstr='#99aa490a', GradientType=0)}#navbar .navbar-inner.yellow{background-color:#e3d765;background-image:-moz-linear-gradient(top,#f9f0a0,#c2b00c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9f0a0),to(#c2b00c));background-image:-webkit-linear-gradient(top,#f9f0a0,#c2b00c);background-image:-o-linear-gradient(top,#f9f0a0,#c2b00c);background-image:linear-gradient(to bottom,#f9f0a0,#c2b00c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f0a0', endColorstr='#ffc2b00c', GradientType=0)}#navbar .navbar-inner.yellow .brand,#navbar .navbar-inner.yellow .nav>li>a{text-shadow:0 1px 0 #c2b00c;color:#333}#navbar .navbar-inner.yellow .brand .caret,#navbar .navbar-inner.yellow .nav>li>a .caret{border-bottom-color:#93892e;border-top-color:#93892e}#navbar .navbar-inner.yellow .brand:hover .caret,#navbar .navbar-inner.yellow .nav>li>a:hover .caret,#navbar .navbar-inner.yellow .brand:focus .caret,#navbar .navbar-inner.yellow .nav>li>a:focus .caret{border-bottom-color:#635e30;border-top-color:#635e30}#navbar .navbar-inner.yellow .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.yellow .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.yellow .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.yellow .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.yellow .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#d8ca47;background-image:-moz-linear-gradient(top,#c2b00c,#f9f0a0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c2b00c),to(#f9f0a0));background-image:-webkit-linear-gradient(top,#c2b00c,#f9f0a0);background-image:-o-linear-gradient(top,#c2b00c,#f9f0a0);background-image:linear-gradient(to bottom,#c2b00c,#f9f0a0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2b00c', endColorstr='#fff9f0a0', GradientType=0)}#navbar .navbar-inner.yellow .nav>li>a:hover{background-color:#d9cc56;background-image:-moz-linear-gradient(top,#f8ed88,#aa9a0a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f8ed88),to(#aa9a0a));background-image:-webkit-linear-gradient(top,#f8ed88,#aa9a0a);background-image:-o-linear-gradient(top,#f8ed88,#aa9a0a);background-image:linear-gradient(to bottom,#f8ed88,#aa9a0a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8ed88', endColorstr='#ffaa9a0a', GradientType=0)}#navbar .navbar-inner.yellow.transparent{background-color:rgba(227,215,101,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(249,240,160,.6)),to(rgba(194,176,12,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f9f0a0', endColorstr='#99c2b00c', GradientType=0)}#navbar .navbar-inner.yellow.transparent .brand,#navbar .navbar-inner.yellow.transparent .nav>li>a{text-shadow:0 1px 0 #c2b00c;color:#333}#navbar .navbar-inner.yellow.transparent .brand .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a .caret{border-bottom-color:#93892e;border-top-color:#93892e}#navbar .navbar-inner.yellow.transparent .brand:hover .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.yellow.transparent .brand:focus .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a:focus .caret{border-bottom-color:#635e30;border-top-color:#635e30}#navbar .navbar-inner.yellow.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.yellow.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(216,202,71,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(194,176,12,.6)),to(rgba(249,240,160,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c2b00c', endColorstr='#99f9f0a0', GradientType=0)}#navbar .navbar-inner.yellow.transparent .nav>li>a:hover{background-color:rgba(217,204,86,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(248,237,136,.6)),to(rgba(170,154,10,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f8ed88', endColorstr='#99aa9a0a', GradientType=0)}#navbar .navbar-inner.green{background-color:#98f064;background-image:-moz-linear-gradient(top,#c8ffa7,#50da00);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8ffa7),to(#50da00));background-image:-webkit-linear-gradient(top,#c8ffa7,#50da00);background-image:-o-linear-gradient(top,#c8ffa7,#50da00);background-image:linear-gradient(to bottom,#c8ffa7,#50da00);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8ffa7', endColorstr='#ff50da00', GradientType=0)}#navbar .navbar-inner.green .brand,#navbar .navbar-inner.green .nav>li>a{text-shadow:0 1px 0 #50da00;color:#333}#navbar .navbar-inner.green .brand .caret,#navbar .navbar-inner.green .nav>li>a .caret{border-bottom-color:#55992e;border-top-color:#55992e}#navbar .navbar-inner.green .brand:hover .caret,#navbar .navbar-inner.green .nav>li>a:hover .caret,#navbar .navbar-inner.green .brand:focus .caret,#navbar .navbar-inner.green .nav>li>a:focus .caret{border-bottom-color:#446630;border-top-color:#446630}#navbar .navbar-inner.green .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.green .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.green .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.green .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.green .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#80e943;background-image:-moz-linear-gradient(top,#50da00,#c8ffa7);background-image:-webkit-gradient(linear,0 0,0 100%,from(#50da00),to(#c8ffa7));background-image:-webkit-linear-gradient(top,#50da00,#c8ffa7);background-image:-o-linear-gradient(top,#50da00,#c8ffa7);background-image:linear-gradient(to bottom,#50da00,#c8ffa7);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff50da00', endColorstr='#ffc8ffa7', GradientType=0)}#navbar .navbar-inner.green .nav>li>a:hover{background-color:#8ae655;background-image:-moz-linear-gradient(top,#b8ff8e,#47c100);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b8ff8e),to(#47c100));background-image:-webkit-linear-gradient(top,#b8ff8e,#47c100);background-image:-o-linear-gradient(top,#b8ff8e,#47c100);background-image:linear-gradient(to bottom,#b8ff8e,#47c100);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb8ff8e', endColorstr='#ff47c100', GradientType=0)}#navbar .navbar-inner.green.transparent{background-color:rgba(152,240,100,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,255,167,.6)),to(rgba(80,218,0,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8ffa7', endColorstr='#9950da00', GradientType=0)}#navbar .navbar-inner.green.transparent .brand,#navbar .navbar-inner.green.transparent .nav>li>a{text-shadow:0 1px 0 #50da00;color:#333}#navbar .navbar-inner.green.transparent .brand .caret,#navbar .navbar-inner.green.transparent .nav>li>a .caret{border-bottom-color:#55992e;border-top-color:#55992e}#navbar .navbar-inner.green.transparent .brand:hover .caret,#navbar .navbar-inner.green.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.green.transparent .brand:focus .caret,#navbar .navbar-inner.green.transparent .nav>li>a:focus .caret{border-bottom-color:#446630;border-top-color:#446630}#navbar .navbar-inner.green.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.green.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.green.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.green.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.green.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(128,233,67,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(80,218,0,.6)),to(rgba(200,255,167,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9950da00', endColorstr='#99c8ffa7', GradientType=0)}#navbar .navbar-inner.green.transparent .nav>li>a:hover{background-color:rgba(138,230,85,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(184,255,142,.6)),to(rgba(71,193,0,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99b8ff8e', endColorstr='#9947c100', GradientType=0)}#navbar .navbar-inner.blue{background-color:#2e63cc;background-image:-moz-linear-gradient(top,#4d88ff,#002b80);background-image:-webkit-gradient(linear,0 0,0 100%,from(#4d88ff),to(#002b80));background-image:-webkit-linear-gradient(top,#4d88ff,#002b80);background-image:-o-linear-gradient(top,#4d88ff,#002b80);background-image:linear-gradient(to bottom,#4d88ff,#002b80);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4d88ff', endColorstr='#ff002b80', GradientType=0)}#navbar .navbar-inner.blue .brand,#navbar .navbar-inner.blue .nav>li>a{text-shadow:0 1px 0 #1a66ff;color:#f2f2f2}#navbar .navbar-inner.blue .brand .caret,#navbar .navbar-inner.blue .nav>li>a .caret{border-bottom-color:#799bdf;border-top-color:#799bdf}#navbar .navbar-inner.blue .brand:hover .caret,#navbar .navbar-inner.blue .nav>li>a:hover .caret,#navbar .navbar-inner.blue .brand:focus .caret,#navbar .navbar-inner.blue .nav>li>a:focus .caret{border-bottom-color:#b6c7e9;border-top-color:#b6c7e9}#navbar .navbar-inner.blue .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.blue .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.blue .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.blue .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.blue .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#1f50b3;background-image:-moz-linear-gradient(top,#002b80,#4d88ff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#002b80),to(#4d88ff));background-image:-webkit-linear-gradient(top,#002b80,#4d88ff);background-image:-o-linear-gradient(top,#002b80,#4d88ff);background-image:linear-gradient(to bottom,#002b80,#4d88ff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff002b80', endColorstr='#ff4d88ff', GradientType=0)}#navbar .navbar-inner.blue .nav>li>a:hover{background-color:#1f55c2;background-image:-moz-linear-gradient(top,#37f,#026);background-image:-webkit-gradient(linear,0 0,0 100%,from(#37f),to(#026));background-image:-webkit-linear-gradient(top,#37f,#026);background-image:-o-linear-gradient(top,#37f,#026);background-image:linear-gradient(to bottom,#37f,#026);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3377ff', endColorstr='#ff002266', GradientType=0)}#navbar .navbar-inner.blue.transparent{background-color:rgba(46,99,204,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(77,136,255,.6)),to(rgba(0,43,128,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#994d88ff', endColorstr='#99002b80', GradientType=0)}#navbar .navbar-inner.blue.transparent .brand,#navbar .navbar-inner.blue.transparent .nav>li>a{text-shadow:0 1px 0 #1a66ff;color:#f2f2f2}#navbar .navbar-inner.blue.transparent .brand .caret,#navbar .navbar-inner.blue.transparent .nav>li>a .caret{border-bottom-color:#799bdf;border-top-color:#799bdf}#navbar .navbar-inner.blue.transparent .brand:hover .caret,#navbar .navbar-inner.blue.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.blue.transparent .brand:focus .caret,#navbar .navbar-inner.blue.transparent .nav>li>a:focus .caret{border-bottom-color:#b6c7e9;border-top-color:#b6c7e9}#navbar .navbar-inner.blue.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.blue.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.blue.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.blue.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.blue.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(31,80,179,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,43,128,.6)),to(rgba(77,136,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99002b80', endColorstr='#994d88ff', GradientType=0)}#navbar .navbar-inner.blue.transparent .nav>li>a:hover{background-color:rgba(31,85,194,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(51,119,255,.6)),to(rgba(0,34,102,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#993377ff', endColorstr='#99002266', GradientType=0)}#navbar .navbar-inner.violet{background-color:#9864f0;background-image:-moz-linear-gradient(top,#c8a7ff,#5000da);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8a7ff),to(#5000da));background-image:-webkit-linear-gradient(top,#c8a7ff,#5000da);background-image:-o-linear-gradient(top,#c8a7ff,#5000da);background-image:linear-gradient(to bottom,#c8a7ff,#5000da);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8a7ff', endColorstr='#ff5000da', GradientType=0)}#navbar .navbar-inner.violet .brand,#navbar .navbar-inner.violet .nav>li>a{text-shadow:0 1px 0 #a774ff;color:#f2f2f2}#navbar .navbar-inner.violet .brand .caret,#navbar .navbar-inner.violet .nav>li>a .caret{border-bottom-color:#b58df9;border-top-color:#b58df9}#navbar .navbar-inner.violet .brand:hover .caret,#navbar .navbar-inner.violet .nav>li>a:hover .caret,#navbar .navbar-inner.violet .brand:focus .caret,#navbar .navbar-inner.violet .nav>li>a:focus .caret{border-bottom-color:#d3bff5;border-top-color:#d3bff5}#navbar .navbar-inner.violet .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.violet .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.violet .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.violet .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.violet .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#8043e9;background-image:-moz-linear-gradient(top,#5000da,#c8a7ff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5000da),to(#c8a7ff));background-image:-webkit-linear-gradient(top,#5000da,#c8a7ff);background-image:-o-linear-gradient(top,#5000da,#c8a7ff);background-image:linear-gradient(to bottom,#5000da,#c8a7ff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5000da', endColorstr='#ffc8a7ff', GradientType=0)}#navbar .navbar-inner.violet .nav>li>a:hover{background-color:#8a55e6;background-image:-moz-linear-gradient(top,#b88eff,#4700c1);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b88eff),to(#4700c1));background-image:-webkit-linear-gradient(top,#b88eff,#4700c1);background-image:-o-linear-gradient(top,#b88eff,#4700c1);background-image:linear-gradient(to bottom,#b88eff,#4700c1);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb88eff', endColorstr='#ff4700c1', GradientType=0)}#navbar .navbar-inner.violet.transparent{background-color:rgba(152,100,240,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,167,255,.6)),to(rgba(80,0,218,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8a7ff', endColorstr='#995000da', GradientType=0)}#navbar .navbar-inner.violet.transparent .brand,#navbar .navbar-inner.violet.transparent .nav>li>a{text-shadow:0 1px 0 #a774ff;color:#f2f2f2}#navbar .navbar-inner.violet.transparent .brand .caret,#navbar .navbar-inner.violet.transparent .nav>li>a .caret{border-bottom-color:#b58df9;border-top-color:#b58df9}#navbar .navbar-inner.violet.transparent .brand:hover .caret,#navbar .navbar-inner.violet.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.violet.transparent .brand:focus .caret,#navbar .navbar-inner.violet.transparent .nav>li>a:focus .caret{border-bottom-color:#d3bff5;border-top-color:#d3bff5}#navbar .navbar-inner.violet.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.violet.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.violet.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.violet.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.violet.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(128,67,233,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(80,0,218,.6)),to(rgba(200,167,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#995000da', endColorstr='#99c8a7ff', GradientType=0)}#navbar .navbar-inner.violet.transparent .nav>li>a:hover{background-color:rgba(138,85,230,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(184,142,255,.6)),to(rgba(71,0,193,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99b88eff', endColorstr='#994700c1', GradientType=0)}#navbar .navbar-inner.black{background-color:#4f4f4f;background-image:-moz-linear-gradient(top,#787878,#121212);background-image:-webkit-gradient(linear,0 0,0 100%,from(#787878),to(#121212));background-image:-webkit-linear-gradient(top,#787878,#121212);background-image:-o-linear-gradient(top,#787878,#121212);background-image:linear-gradient(to bottom,#787878,#121212);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff787878', endColorstr='#ff121212', GradientType=0)}#navbar .navbar-inner.black .brand,#navbar .navbar-inner.black .nav>li>a{text-shadow:0 1px 0 #5e5e5e;color:#f2f2f2}#navbar .navbar-inner.black .brand .caret,#navbar .navbar-inner.black .nav>li>a .caret{border-bottom-color:#959595;border-top-color:#959595}#navbar .navbar-inner.black .brand:hover .caret,#navbar .navbar-inner.black .nav>li>a:hover .caret,#navbar .navbar-inner.black .brand:focus .caret,#navbar .navbar-inner.black .nav>li>a:focus .caret{border-bottom-color:#c4c4c4;border-top-color:#c4c4c4}#navbar .navbar-inner.black .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.black .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.black .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.black .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.black .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#3b3b3b;background-image:-moz-linear-gradient(top,#121212,#787878);background-image:-webkit-gradient(linear,0 0,0 100%,from(#121212),to(#787878));background-image:-webkit-linear-gradient(top,#121212,#787878);background-image:-o-linear-gradient(top,#121212,#787878);background-image:linear-gradient(to bottom,#121212,#787878);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff121212', endColorstr='#ff787878', GradientType=0)}#navbar .navbar-inner.black .nav>li>a:hover{background-color:#424242;background-image:-moz-linear-gradient(top,#6b6b6b,#050505);background-image:-webkit-gradient(linear,0 0,0 100%,from(#6b6b6b),to(#050505));background-image:-webkit-linear-gradient(top,#6b6b6b,#050505);background-image:-o-linear-gradient(top,#6b6b6b,#050505);background-image:linear-gradient(to bottom,#6b6b6b,#050505);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6b6b6b', endColorstr='#ff050505', GradientType=0)}#navbar .navbar-inner.black.transparent{background-color:rgba(79,79,79,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(120,120,120,.6)),to(rgba(18,18,18,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99787878', endColorstr='#99121212', GradientType=0)}#navbar .navbar-inner.black.transparent .brand,#navbar .navbar-inner.black.transparent .nav>li>a{text-shadow:0 1px 0 #5e5e5e;color:#f2f2f2}#navbar .navbar-inner.black.transparent .brand .caret,#navbar .navbar-inner.black.transparent .nav>li>a .caret{border-bottom-color:#959595;border-top-color:#959595}#navbar .navbar-inner.black.transparent .brand:hover .caret,#navbar .navbar-inner.black.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.black.transparent .brand:focus .caret,#navbar .navbar-inner.black.transparent .nav>li>a:focus .caret{border-bottom-color:#c4c4c4;border-top-color:#c4c4c4}#navbar .navbar-inner.black.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.black.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.black.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.black.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.black.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(59,59,59,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(18,18,18,.6)),to(rgba(120,120,120,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99121212', endColorstr='#99787878', GradientType=0)}#navbar .navbar-inner.black.transparent .nav>li>a:hover{background-color:rgba(66,66,66,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(107,107,107,.6)),to(rgba(5,5,5,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#996b6b6b', endColorstr='#99050505', GradientType=0)}#navbar .navbar-inner.white{background-color:#e9e9e9;background-image:-moz-linear-gradient(top,#fff,#c8c8c8);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#c8c8c8));background-image:-webkit-linear-gradient(top,#fff,#c8c8c8);background-image:-o-linear-gradient(top,#fff,#c8c8c8);background-image:linear-gradient(to bottom,#fff,#c8c8c8);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffc8c8c8', GradientType=0)}#navbar .navbar-inner.white .brand,#navbar .navbar-inner.white .nav>li>a{text-shadow:0 1px 0 #c8c8c8;color:#333}#navbar .navbar-inner.white .brand .caret,#navbar .navbar-inner.white .nav>li>a .caret{border-bottom-color:#919191;border-top-color:#919191}#navbar .navbar-inner.white .brand:hover .caret,#navbar .navbar-inner.white .nav>li>a:hover .caret,#navbar .navbar-inner.white .brand:focus .caret,#navbar .navbar-inner.white .nav>li>a:focus .caret{border-bottom-color:#626262;border-top-color:#626262}#navbar .navbar-inner.white .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.white .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.white .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.white .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.white .nav>li.dropdown.open.active>.dropdown-toggle{background-color:#dedede;background-image:-moz-linear-gradient(top,#c8c8c8,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8c8c8),to(#fff));background-image:-webkit-linear-gradient(top,#c8c8c8,#fff);background-image:-o-linear-gradient(top,#c8c8c8,#fff);background-image:linear-gradient(to bottom,#c8c8c8,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8c8c8', endColorstr='#ffffffff', GradientType=0)}#navbar .navbar-inner.white .nav>li>a:hover{background-color:#dcdcdc;background-image:-moz-linear-gradient(top,#f2f2f2,#bbb);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#bbb));background-image:-webkit-linear-gradient(top,#f2f2f2,#bbb);background-image:-o-linear-gradient(top,#f2f2f2,#bbb);background-image:linear-gradient(to bottom,#f2f2f2,#bbb);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffbbbbbb', GradientType=0)}#navbar .navbar-inner.white.transparent{background-color:rgba(233,233,233,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.6)),to(rgba(200,200,200,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#99c8c8c8', GradientType=0)}#navbar .navbar-inner.white.transparent .brand,#navbar .navbar-inner.white.transparent .nav>li>a{text-shadow:0 1px 0 #c8c8c8;color:#333}#navbar .navbar-inner.white.transparent .brand .caret,#navbar .navbar-inner.white.transparent .nav>li>a .caret{border-bottom-color:#919191;border-top-color:#919191}#navbar .navbar-inner.white.transparent .brand:hover .caret,#navbar .navbar-inner.white.transparent .nav>li>a:hover .caret,#navbar .navbar-inner.white.transparent .brand:focus .caret,#navbar .navbar-inner.white.transparent .nav>li>a:focus .caret{border-bottom-color:#626262;border-top-color:#626262}#navbar .navbar-inner.white.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.white.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.white.transparent .nav>li.dropdown.open>.dropdown-toggle,#navbar .navbar-inner.white.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.white.transparent .nav>li.dropdown.open.active>.dropdown-toggle{background-color:rgba(222,222,222,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,200,200,.6)),to(rgba(255,255,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8c8c8', endColorstr='#99ffffff', GradientType=0)}#navbar .navbar-inner.white.transparent .nav>li>a:hover{background-color:rgba(220,220,220,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(242,242,242,.6)),to(rgba(187,187,187,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f2f2f2', endColorstr='#99bbbbbb', GradientType=0)}#navbar .navbar-inner .brand{padding:10px 20px 6px}#navbar .navbar-inner .brand span{padding-left:26px;background-size:20px 20px;background-repeat:no-repeat;display:inline-block;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top;line-height:20px;height:24px}#navbar_login a.dropdown-toggle span{display:inline-block;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top}.octoprint-container{margin-top:20px}.octoprint-container .tab-content{padding:9px 15px;border-left:1px solid #DDD;border-right:1px solid #DDD;border-bottom:1px solid #DDD;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.octoprint-container .nav{margin-bottom:0}.octoprint-container .tab-content h1{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:40px;color:#333;border:0;border-bottom:1px solid #E5E5E5;font-weight:400}.octoprint-container .accordion-heading .accordion-heading-button{float:right}.octoprint-container .accordion-heading .accordion-heading-button a{display:inline-block;padding:8px 15px;font-size:14px;line-height:20px;color:#000;text-decoration:none;background:0 0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.octoprint-container .accordion-heading a.accordion-toggle{display:inline-block}.octoprint-container .accordion-heading [class^=icon-],.octoprint-container .accordion-heading [class*=" icon-"]{color:#000}.print-control .btn{padding-left:4px;padding-right:4px}.upload-buttons .btn{margin-right:0}table{table-layout:fixed}table .popover-title{text-overflow:ellipsis;word-break:break-all}table th,table td{overflow:hidden}table th.gcode_files_name,table td.gcode_files_name{text-overflow:ellipsis;text-align:left;white-space:nowrap}table th.gcode_files_action,table td.gcode_files_action{width:90px;text-align:center;white-space:nowrap}table th.gcode_files_action a,table td.gcode_files_action a{text-decoration:none;color:#000}table th.gcode_files_action a.disabled,table td.gcode_files_action a.disabled{color:#ccc;cursor:default}table th.timelapse_files_checkbox,table td.timelapse_files_checkbox,table th.timelapse_unrendered_checkbox,table td.timelapse_unrendered_checkbox{text-align:center;width:10px}table th.timelapse_files_checkbox input[type=checkbox],table td.timelapse_files_checkbox input[type=checkbox],table th.timelapse_unrendered_checkbox input[type=checkbox],table td.timelapse_unrendered_checkbox input[type=checkbox]{margin-top:0}table th.timelapse_files_name,table td.timelapse_files_name,table th.timelapse_unrendered_name,table td.timelapse_unrendered_name{text-overflow:ellipsis;text-align:left}table th.timelapse_files_size,table td.timelapse_files_size{text-align:right;width:55px}table th.timelapse_unrendered_size,table td.timelapse_unrendered_size{text-align:right;width:55px}table th.timelapse_unrendered_count,table td.timelapse_unrendered_count{text-align:right;width:45px}table th.timelapse_files_action,table td.timelapse_files_action,table th.timelapse_unrendered_action,table td.timelapse_unrendered_action{width:45px;text-align:center;white-space:nowrap}table th.timelapse_files_action a,table td.timelapse_files_action a,table th.timelapse_unrendered_action a,table td.timelapse_unrendered_action a{text-decoration:none;color:#000}table th.timelapse_files_action a.disabled,table td.timelapse_files_action a.disabled,table th.timelapse_unrendered_action a.disabled,table td.timelapse_unrendered_action a.disabled{color:#ccc;cursor:default}table th.settings_users_name,table td.settings_users_name{text-overflow:ellipsis;text-align:left;width:100px}table th.settings_users_active,table td.settings_users_active{text-align:center;width:55px}table th table.settings_users_details_table,table td table.settings_users_details_table{font-size:.8em;margin-bottom:0}table th table.settings_users_details_table .settings_users_details_key,table td table.settings_users_details_table .settings_users_details_key{width:100px}table th table.settings_users_details_table th,table td table.settings_users_details_table th,table th table.settings_users_details_table td,table td table.settings_users_details_table td{border:0;padding:0}table th.settings_groups_default,table td.settings_groups_default{text-align:center;width:20px}table th.settings_groups_name,table td.settings_groups_name{width:180px}table th table.settings_groups_details_table,table td table.settings_groups_details_table{font-size:.8em;margin-bottom:0}table th table.settings_groups_details_table .settings_groups_details_key,table td table.settings_groups_details_table .settings_groups_details_key{width:100px}table th table.settings_groups_details_table th,table td table.settings_groups_details_table th,table th table.settings_groups_details_table td,table td table.settings_groups_details_table td{border:0;padding:0}table th.settings_users_actions,table td.settings_users_actions,table th.settings_groups_actions,table td.settings_groups_actions{width:60px;text-align:center;white-space:nowrap}table th.settings_users_actions a,table td.settings_users_actions a,table th.settings_groups_actions a,table td.settings_groups_actions a{text-decoration:none;color:#000}table th.settings_users_actions a.disabled,table td.settings_users_actions a.disabled,table th.settings_groups_actions a.disabled,table td.settings_groups_actions a.disabled{color:#ccc;cursor:default}table th.settings_accesscontrol_permissions_list_checkbox,table td.settings_accesscontrol_permissions_list_checkbox{width:20px}table th.settings_accesscontrol_groups_list_checkbox,table td.settings_accesscontrol_groups_list_checkbox{width:20px}table th.settings_accesscontrol_subgroups_list_checkbox,table td.settings_accesscontrol_subgroups_list_checkbox{width:20px}table th #settings-usersDialogAddUser,table td #settings-usersDialogAddUser,table th #settings-usersDialogEditUser,table td #settings-usersDialogEditUser{position:relative;top:50%;transform:translateY(-50%);margin-top:0!important}table th.settings_printerProfiles_profiles_name,table td.settings_printerProfiles_profiles_name{text-overflow:ellipsis;text-align:left}table th.settings_printerProfiles_profiles_model,table td.settings_printerProfiles_profiles_model{text-align:left;width:250px}table th.settings_printerProfiles_profiles_action,table td.settings_printerProfiles_profiles_action{width:80px;text-align:center;white-space:nowrap}table th.settings_printerProfiles_profiles_action a,table td.settings_printerProfiles_profiles_action a{text-decoration:none;color:#000}table th.settings_printerProfiles_profiles_action a.disabled,table td.settings_printerProfiles_profiles_action a.disabled{color:#ccc;cursor:default}#temperature-graph{height:350px;width:100%;background:url(../img/graph-background.png) no-repeat center}#temperature-table{table-layout:fixed;width:100%;margin-top:20px}#temperature-table th,#temperature-table td{line-height:25px}#temperature-table th.temperature_tool,#temperature-table td.temperature_tool,#temperature-table th.temperature_actual,#temperature-table td.temperature_actual,#temperature-table th.temperature_target,#temperature-table td.temperature_target,#temperature-table th.temperature_offset,#temperature-table td.temperature_offset{vertical-align:middle;text-align:center}#temperature-table th.temperature_tool form,#temperature-table td.temperature_tool form,#temperature-table th.temperature_actual form,#temperature-table td.temperature_actual form,#temperature-table th.temperature_target form,#temperature-table td.temperature_target form,#temperature-table th.temperature_offset form,#temperature-table td.temperature_offset form{margin:0}#temperature-table th.temperature_tool .dropdown-menu,#temperature-table td.temperature_tool .dropdown-menu,#temperature-table th.temperature_actual .dropdown-menu,#temperature-table td.temperature_actual .dropdown-menu,#temperature-table th.temperature_target .dropdown-menu,#temperature-table td.temperature_target .dropdown-menu,#temperature-table th.temperature_offset .dropdown-menu,#temperature-table td.temperature_offset .dropdown-menu{text-align:left}#temperature-table th.temperature_tool,#temperature-table td.temperature_tool{width:16%;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#temperature-table th.temperature_actual,#temperature-table td.temperature_actual{width:12%}#temperature-table th.temperature_target,#temperature-table td.temperature_target{width:42%;overflow:visible}#temperature-table th.temperature_offset,#temperature-table td.temperature_offset{width:30%}.tab-content,.tab-pane{overflow:visible}#temp_newTemp,#temp_newBedTemp,#speed_innerWall,#speed_outerWall,#speed_fill,#speed_support,#webcam_timelapse_interval,#webcam_timelapse_postRoll,#webcam_timelapse_fps,#webcam_timelapse_retractionZHop{text-align:right}ul.dropdown-menu li a{cursor:pointer}#connection_ports,#connection_baudrates,#connection_printers{width:100%}#offline_overlay,#reloadui_overlay{position:fixed;top:0;left:0;width:100%;height:100%;display:none}#offline_overlay{z-index:10002}#reloadui_overlay{z-index:10001}#offline_overlay_background,#reloadui_overlay_background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#offline_overlay_wrapper,#reloadui_overlay_wrapper{position:absolute;top:0;bottom:0;left:0;right:0;padding-top:60px}#offline_overlay_wrapper .container,#reloadui_overlay_wrapper .container{margin:auto}#webcam_container{width:100%;position:relative;outline:0;background-color:#000}#webcam_container .keycontrol_overlay{position:absolute;left:10px;right:10px;bottom:10px;background:rgba(0,0,0,.5);font-size:85%;color:#fff;padding:0}#webcam_container .keycontrol_overlay kbd{border:1px solid #eee;border-radius:3px;margin-left:2px;margin-right:2px;font-size:90%;padding:2px;min-width:1em}#webcam_container .keycontrol_overlay .keycontrol_overlay_heading{position:relative;padding:10px;font-weight:700}#webcam_container .keycontrol_overlay .keycontrol_overlay_column{position:relative;width:45%;padding:10px;float:left}#webcam_container .nowebcam{position:absolute;top:0;left:0;right:0;bottom:0}#webcam_container .nowebcam .text{color:#fff;text-align:center;position:relative;margin:auto;width:80%;top:50%;transform:translateY(-50%);display:block}#webcam_container .nowebcam .text.webcam_loading{animation:pulsate 3s ease-out;animation-iteration-count:infinite}#webcam_container .webcam_rotated{position:relative;width:100%;padding-bottom:100%;pointer-events:none}#webcam_container .webcam_rotated .webcam_fixed_ratio{position:absolute;transform:rotate(-90deg);top:0;bottom:0;pointer-events:none}#webcam_container .webcam_rotated .webcam_fixed_ratio .webcam_fixed_ratio_inner{width:100%;height:100%;pointer-events:none}#webcam_container .webcam_unrotated .webcam_fixed_ratio{width:100%;pointer-events:none;padding-bottom:100%;position:relative}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio43{padding-bottom:75%}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio169{padding-bottom:56.25%}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio1610{padding-bottom:62.5%}#webcam_container .webcam_unrotated .webcam_fixed_ratio .webcam_fixed_ratio_inner{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none}#webcam_container img{width:100%;height:100%;object-fit:contain}#state_wrapper hr{margin:5px 0}#files .gcode_files .scroll-wrapper{overflow-x:hidden;overflow-y:scroll;height:306px;padding-right:2px}#files .gcode_files .entry{padding:5px;line-height:20px;border-bottom:1px solid #ddd;position:relative}#files .gcode_files .entry:hover{background-color:#f5f5f5}#files .gcode_files .entry .title{text-overflow:ellipsis;word-break:break-all}#files .gcode_files .entry .toggleAdditionalData{margin-left:5px}#files .gcode_files .entry .internal,#files .gcode_files .entry .uploaded,#files .gcode_files .entry .size,#files .gcode_files .entry .additionalInfo{font-size:85%;color:#999}#files .gcode_files .entry .uploaded [title]{cursor:help}#files .gcode_files .entry .internal{word-break:break-all}#files .gcode_files .entry .action-buttons{position:absolute;bottom:5px;right:5px}#files .gcode_files .entry .additionalInfo{padding-bottom:22px}@keyframes highlightframes{0%{background:#ff0}100%{background:0 0}}#files .gcode_files .entry.highlight{animation:highlightframes 2s}#files .gcode_files .back .back-path{white-space:nowrap}#files .gcode_files .back .back-path span{word-wrap:break-word;white-space:pre-line}#files .upload-buttons{margin-top:10px}#files .form-search{text-align:center;margin-bottom:5px!important}#control{overflow:hidden}#control .jog-panel{float:left;margin-right:19px}#control h1{text-align:left}#control .jog-panel>div{text-align:center}#control .jog-panel>div.distance{text-align:left}#control .jog-panel .slider{margin-bottom:10px}#control .box{width:30px;height:30px;margin-right:10px;margin-bottom:10px;padding-left:8px}#control .control-box{display:block;height:30px;margin-bottom:10px}#control .btn-group{margin-bottom:10px}#control .btn-group.distance>.btn{width:43px;padding:3px 0;height:30px}#control .slider-handle{width:14px;height:14px;margin-left:-7px;margin-top:-3px}#control .custom_section h1{cursor:pointer}#control .custom_section_horizontal>.custom_control{display:inline-block}#control .custom_section_vertical>.custom_control{display:block}#control .custom_control .slider{margin-left:10px;margin-right:10px;margin-bottom:2px}#control .pulsate_text_opacity{animation:pulsate_input 1s ease-out;animation-iteration-count:infinite}@keyframes pulsate_input{0%{color:#555}50%{color:rgba(85,85,85,.2)}100%{color:#555}}#term .terminal{margin-bottom:30px}#term .terminal #terminal-output,#term .terminal #terminal-output-lowfi{min-height:340px;margin-bottom:5px}#settings_dialog .aboutlink{float:left}#settings_dialog_menu,#wizard_dialog_menu{margin-left:0}#wizard_firstrun_acl .acl_decision{margin-top:1em}#wizard_firstrun_start p,#wizard_firstrun_end p{margin-bottom:1.5em;line-height:1.5}#settings_appearance_managelanguagesdialog_list{width:auto;height:300px;overflow-x:hidden;overflow-y:scroll;padding-right:2px}#settings_appearance_managelanguagesdialog_emptylist{overflow:hidden;width:100%;height:300px;text-align:center;display:table}#settings_appearance_managelanguagesdialog_emptylist div{display:table-cell;vertical-align:middle}#about_sponsors ul{columns:3;-webkit-columns:3;-moz-columns:3}#about_authors ul{columns:3;-webkit-columns:3;-moz-columns:3}.footer ul{margin:0}.footer ul li{display:inline;margin-left:1em;font-size:85%}.footer ul li:first-child{margin-left:0}.footer ul li a{color:#555}.footer #footer_version,.footer #footer_link{max-width:50%}.ui-pnotify{position:fixed}.ui-pnotify .alert a{color:#c09853}.ui-pnotify .alert-error a,.ui-pnotify .alert-danger a{color:#b94a48}.ui-pnotify .alert-success a{color:#468847}.ui-pnotify .alert-info a{color:#3a87ad}.pnotify_additional_info .pnotify_more{font-size:85%}.text-right{text-align:right}.text-center{text-align:center}.text-block{display:block}.overflow_visible{overflow:visible!important}.clickable{cursor:pointer}.border_box{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.hidden{display:none}textarea.block{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}@keyframes pulsate{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}#drop_overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:none}#drop_overlay.in{display:block}#drop_overlay #drop_overlay_background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#drop_overlay #drop_overlay_wrapper{position:absolute;top:0;bottom:0;left:0;right:0;padding-top:60px}#drop_overlay #drop_overlay_wrapper #drop,#drop_overlay #drop_overlay_wrapper #drop_background{position:absolute;top:0;left:0;margin-left:0;width:100%}#drop_overlay #drop_overlay_wrapper #drop_locally,#drop_overlay #drop_overlay_wrapper #drop_locally_background{position:absolute;top:0;left:50%;margin-left:-50%;width:50%;border-right:2px dashed #ccc}#drop_overlay #drop_overlay_wrapper #drop_sd,#drop_overlay #drop_overlay_wrapper #drop_sd_background{position:absolute;top:0;left:50%;margin-left:0;width:50%;border-left:2px dashed #ccc}#drop_overlay #drop_overlay_wrapper .dropzone{height:100%;z-index:10001;color:#fff;font-size:30px}#drop_overlay #drop_overlay_wrapper .dropzone i{font-size:50px}#drop_overlay #drop_overlay_wrapper .dropzone .text{display:block;text-align:center;line-height:40px;position:absolute;width:100%;bottom:5%;filter:alpha(opacity=100);-moz-opacity:1;-khtml-opacity:1;opacity:1}#drop_overlay #drop_overlay_wrapper .dropzone_background{width:50%;height:100%;background-color:#000;filter:alpha(opacity=25);-moz-opacity:.25;-khtml-opacity:.25;opacity:.25}#drop_overlay #drop_overlay_wrapper .dropzone_background.hover{background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#drop_overlay #drop_overlay_wrapper .dropzone_background.fade{-webkit-transition:all .3s ease-out;-moz-transition:all .3s ease-out;-ms-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out;opacity:1}.icon-sd-black-14{background:url(../img/icon-sd-black-14.png) 0 3px no-repeat;width:11px;height:17px;display:inline-block!important}.center{float:none;margin-left:auto;margin-right:auto}.flipH{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1)}.flipV{-webkit-transform:scaleY(-1);-moz-transform:scaleY(-1);-ms-transform:scaleY(-1);transform:scaleY(-1)}.flipH.flipV{-webkit-transform:scaleX(-1) scaleY(-1);-moz-transform:scaleX(-1) scaleY(-1);-ms-transform:scaleX(-1) scaleY(-1);transform:scaleX(-1) scaleY(-1)}.rotate90{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ui-pnotify a{text-decoration:underline}.btn-mini .caret,.btn-small .caret{margin-top:8px}.dropdown-menu-right{right:0;left:auto}.slider .slider-selection{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.slider .slider-selection:hover,.slider .slider-selection:focus,.slider .slider-selection:active,.slider .slider-selection.active,.slider .slider-selection.disabled,.slider .slider-selection[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.slider .slider-selection:active,.slider .slider-selection.active{background-color:#039 \9}.slider.slider-disabled .slider-selection{background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-track{background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.slider.slider-disabled .slider-track{background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-handle{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);padding:0;margin-bottom:0;opacity:1;filter:alpha(opacity=100)}.slider .slider-handle:hover,.slider .slider-handle:focus,.slider .slider-handle:active,.slider .slider-handle.active,.slider .slider-handle.disabled,.slider .slider-handle[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.slider .slider-handle:active,.slider .slider-handle.active{background-color:#ccc \9}.slider .slider-handle:first-child{*margin-left:0}.slider .slider-handle:hover,.slider .slider-handle:focus{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.slider .slider-handle:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.slider .slider-handle.active,.slider .slider-handle:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.slider .slider-handle.disabled,.slider .slider-handle[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-handle.hide{display:none}.slider .slider-handle.round{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.modal.large{width:975px;margin-left:-487px}.full-sized-box{position:absolute;bottom:0;left:0;right:0;top:0;padding:15px}.full-sized-box .row-fluid{height:100%}@media (max-width:979px){.full-sized-box{position:static}}_::-webkit-full-page-media,_:future,:root .full-sized-box{position:static}.scrollable{height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.pre-output span{display:block}.input-append .add-on.add-on-limited,.input-prepend .add-on.add-on-limited{overflow-x:hidden;text-overflow:ellipsis;width:inherit}.input-append .btn-group:first-child .btn:first-child,.input-prepend .btn-group:first-child .btn:first-child{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-append .btn-group .btn:first-child,.input-prepend .btn-group .btn:first-child{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append.input-block-level,.input-prepend.input-block-level{display:table}.input-append.input-block-level .add-on,.input-prepend.input-block-level .add-on{display:table-cell;width:1%}.input-append.input-block-level>input,.input-prepend.input-block-level>input{box-sizing:border-box;display:table;min-height:inherit;width:100%}.input-append.input-block-level :not(:last-child),.input-prepend.input-block-level :not(:last-child){border-right:0}.control-group.error .input-prepend .fileinput-button,.control-group.error .input-append .fileinput-button{border-color:#b94a48}.control-text{padding-top:5px;cursor:default}input[type=number]{text-align:right}input[type=number].input-nospin::-webkit-outer-spin-button,input[type=number].input-nospin::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number].input-nospin{-moz-appearance:textfield}.progress-text,.progress-text-centered{position:relative}.progress-text .progress-text-front,.progress-text-centered .progress-text-front,.progress-text .progress-text-back,.progress-text-centered .progress-text-back{white-space:nowrap}.progress-text .progress-text-front,.progress-text-centered .progress-text-front{box-sizing:border-box;padding:0 10px;width:100%;display:block}.progress-text .progress-text-back,.progress-text-centered .progress-text-back{position:absolute;font-size:12px;line-height:20px;display:block;box-sizing:border-box;text-align:center;padding:0 10px}.progress-text .bar,.progress-text-centered .bar{position:absolute;overflow:hidden}.progress-text-centered .progress-text-front{position:absolute;font-size:12px;line-height:20px;display:block;text-align:center;color:#fff}.progress-text-centered .progress-text-back{width:100%}.search-query-with-clear{position:relative}.search-query-with-clear .search-clear{display:inline-block;color:#ccc;position:absolute;right:28px;height:20px;padding:4px 0;cursor:pointer;visibility:hidden}.search-query-with-clear.active-clear .search-query{padding-right:28px;width:192px}.search-query-with-clear.active-clear .search-clear{visibility:visible}.search-query-with-clear input::-ms-clear{display:none}.search-query-with-clear input[type=search]::-webkit-search-decoration,.search-query-with-clear input[type=search]::-webkit-search-cancel-button,.search-query-with-clear input[type=search]::-webkit-search-results-button,.search-query-with-clear input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}#navbar_login:not(.open) #login_dropdown_loggedout{display:block;z-index:-1;height:0;width:0;padding:0!important;overflow:hidden;border:0;box-shadow:none;left:-9999px}#navbar_login:not(.open) #login_dropdown_loggedout.hide{display:none}#loginForm{margin:0}#loginForm button{margin-top:20px}#page-container-loading{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:12301}#page-container-loading .wrapper{position:absolute;top:0;bottom:0;left:0;right:0}#page-container-loading .wrapper .outer{display:table;width:100%;height:100%}#page-container-loading .wrapper .outer .inner{display:table-cell;vertical-align:middle}#page-container-loading .wrapper .outer .inner .content{text-align:center}#page-container-noscript{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:12310}#page-container-noscript .wrapper{position:absolute;top:0;bottom:0;left:0;right:0}#page-container-noscript .wrapper .outer{display:table;width:100%;height:100%}#page-container-noscript .wrapper .outer .inner{display:table-cell;vertical-align:middle}#page-container-noscript .wrapper .outer .inner .content{text-align:center} \ No newline at end of file +.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;margin-bottom:0;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.btn.active,.btn.disabled,.btn:active,.btn:focus,.btn:hover,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.btn.active,.btn:active{background-color:#ccc \9}.btn:first-child{*margin-left:0}.btn:focus,.btn:hover{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.btn:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-large{padding:11px 19px;font-size:17.5px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.btn-large [class*=" icon-"],.btn-large [class^=icon-]{margin-top:4px}.btn-small{padding:2px 10px;font-size:11.9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-small [class*=" icon-"],.btn-small [class^=icon-]{margin-top:0}.btn-mini [class*=" icon-"],.btn-mini [class^=icon-]{margin-top:-1px}.btn-mini{padding:0 6px;font-size:10.5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-primary.active,.btn-primary.disabled,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.btn-primary.active,.btn-primary:active{background-color:#039 \9}.btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#faa732;background-image:-moz-linear-gradient(top,#fbb450,#f89406);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fbb450),to(#f89406));background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:-o-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406);background-repeat:repeat-x;border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-warning.active,.btn-warning.disabled,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505}.btn-warning.active,.btn-warning:active{background-color:#c67605 \9}.btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#da4f49;background-image:-moz-linear-gradient(top,#ee5f5b,#bd362f);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ee5f5b),to(#bd362f));background-image:-webkit-linear-gradient(top,#ee5f5b,#bd362f);background-image:-o-linear-gradient(top,#ee5f5b,#bd362f);background-image:linear-gradient(to bottom,#ee5f5b,#bd362f);background-repeat:repeat-x;border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-danger.active,.btn-danger.disabled,.btn-danger:active,.btn-danger:focus,.btn-danger:hover,.btn-danger[disabled]{color:#fff;background-color:#bd362f;*background-color:#a9302a}.btn-danger.active,.btn-danger:active{background-color:#942a25 \9}.btn-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top,#62c462,#51a351);background-image:-webkit-gradient(linear,0 0,0 100%,from(#62c462),to(#51a351));background-image:-webkit-linear-gradient(top,#62c462,#51a351);background-image:-o-linear-gradient(top,#62c462,#51a351);background-image:linear-gradient(to bottom,#62c462,#51a351);background-repeat:repeat-x;border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-success.active,.btn-success.disabled,.btn-success:active,.btn-success:focus,.btn-success:hover,.btn-success[disabled]{color:#fff;background-color:#51a351;*background-color:#499249}.btn-success.active,.btn-success:active{background-color:#408140 \9}.btn-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#49afcd;background-image:-moz-linear-gradient(top,#5bc0de,#2f96b4);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#2f96b4));background-image:-webkit-linear-gradient(top,#5bc0de,#2f96b4);background-image:-o-linear-gradient(top,#5bc0de,#2f96b4);background-image:linear-gradient(to bottom,#5bc0de,#2f96b4);background-repeat:repeat-x;border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-info.active,.btn-info.disabled,.btn-info:active,.btn-info:focus,.btn-info:hover,.btn-info[disabled]{color:#fff;background-color:#2f96b4;*background-color:#2a85a0}.btn-info.active,.btn-info:active{background-color:#24748c \9}.btn-inverse{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#363636;background-image:-moz-linear-gradient(top,#444,#222);background-image:-webkit-gradient(linear,0 0,0 100%,from(#444),to(#222));background-image:-webkit-linear-gradient(top,#444,#222);background-image:-o-linear-gradient(top,#444,#222);background-image:linear-gradient(to bottom,#444,#222);background-repeat:repeat-x;border-color:#222 #222 #000;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#222;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.btn-inverse.active,.btn-inverse.disabled,.btn-inverse:active,.btn-inverse:focus,.btn-inverse:hover,.btn-inverse[disabled]{color:#fff;background-color:#222;*background-color:#151515}.btn-inverse.active,.btn-inverse:active{background-color:#080808 \9}button.btn,input[type=submit].btn{*padding-top:3px;*padding-bottom:3px}button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;border:0}button.btn.btn-large,input[type=submit].btn.btn-large{*padding-top:7px;*padding-bottom:7px}button.btn.btn-small,input[type=submit].btn.btn-small{*padding-top:3px;*padding-bottom:3px}button.btn.btn-mini,input[type=submit].btn.btn-mini{*padding-top:1px;*padding-bottom:1px}.btn-link,.btn-link:active,.btn-link[disabled]{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.btn-link{border-color:transparent;cursor:pointer;color:#08c;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.btn-link:focus,.btn-link:hover{color:#005580;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover{color:#333;text-decoration:none}.clearfix{*zoom:1}.clearfix:after,.clearfix:before{display:table;content:"";line-height:0}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.nowrap{white-space:nowrap}.actioncol{text-align:center;white-space:nowrap}.actioncol a{text-decoration:none;color:#000}.actioncol a.disabled{color:#ccc;cursor:default}#navbar .navbar-inner{background-color:#ebebeb;background-image:-moz-linear-gradient(top,#fff,#ccc);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#ccc));background-image:-webkit-linear-gradient(top,#fff,#ccc);background-image:-o-linear-gradient(top,#fff,#ccc);background-image:linear-gradient(to bottom,#fff,#ccc);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffcccccc', GradientType=0)}#navbar .navbar-inner .brand,#navbar .navbar-inner .nav>li>a{text-shadow:0 1px 0 #ccc;color:#333}#navbar .navbar-inner .brand .caret,#navbar .navbar-inner .nav>li>a .caret{border-bottom-color:#939393;border-top-color:#939393}#navbar .navbar-inner .brand:focus .caret,#navbar .navbar-inner .brand:hover .caret,#navbar .navbar-inner .nav>li>a:focus .caret,#navbar .navbar-inner .nav>li>a:hover .caret{border-bottom-color:#636363;border-top-color:#636363}#navbar .navbar-inner .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner .nav>li.dropdown.open>.dropdown-toggle{background-color:#e0e0e0;background-image:-moz-linear-gradient(top,#ccc,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#ccc),to(#fff));background-image:-webkit-linear-gradient(top,#ccc,#fff);background-image:-o-linear-gradient(top,#ccc,#fff);background-image:linear-gradient(to bottom,#ccc,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcccccc', endColorstr='#ffffffff', GradientType=0)}#navbar .navbar-inner .nav>li>a:hover{background-color:#dedede;background-image:-moz-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#bfbfbf));background-image:-webkit-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:-o-linear-gradient(top,#f2f2f2,#bfbfbf);background-image:linear-gradient(to bottom,#f2f2f2,#bfbfbf);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffbfbfbf', GradientType=0)}#navbar .navbar-inner.transparent{background-color:rgba(235,235,235,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.6)),to(rgba(204,204,204,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(204,204,204,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#99cccccc', GradientType=0)}#navbar .navbar-inner.transparent .brand,#navbar .navbar-inner.transparent .nav>li>a{text-shadow:0 1px 0 #ccc;color:#333}#navbar .navbar-inner.transparent .brand .caret,#navbar .navbar-inner.transparent .nav>li>a .caret{border-bottom-color:#939393;border-top-color:#939393}#navbar .navbar-inner.transparent .brand:focus .caret,#navbar .navbar-inner.transparent .brand:hover .caret,#navbar .navbar-inner.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.transparent .nav>li>a:hover .caret{border-bottom-color:#636363;border-top-color:#636363}#navbar .navbar-inner.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(224,224,224,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(204,204,204,.6)),to(rgba(255,255,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(204,204,204,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99cccccc', endColorstr='#99ffffff', GradientType=0)}#navbar .navbar-inner.transparent .nav>li>a:hover{background-color:rgba(222,222,222,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(242,242,242,.6)),to(rgba(191,191,191,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(242,242,242,.6),rgba(191,191,191,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f2f2f2', endColorstr='#99bfbfbf', GradientType=0)}#navbar .navbar-inner.red{background-color:#bb645f;background-image:-moz-linear-gradient(top,#e28e8a,#802420);background-image:-webkit-gradient(linear,0 0,0 100%,from(#e28e8a),to(#802420));background-image:-webkit-linear-gradient(top,#e28e8a,#802420);background-image:-o-linear-gradient(top,#e28e8a,#802420);background-image:linear-gradient(to bottom,#e28e8a,#802420);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe28e8a', endColorstr='#ff802420', GradientType=0)}#navbar .navbar-inner.red .brand,#navbar .navbar-inner.red .nav>li>a{text-shadow:0 1px 0 #d86761;color:#f2f2f2}#navbar .navbar-inner.red .brand .caret,#navbar .navbar-inner.red .nav>li>a .caret{border-bottom-color:#d89491;border-top-color:#d89491}#navbar .navbar-inner.red .brand:focus .caret,#navbar .navbar-inner.red .brand:hover .caret,#navbar .navbar-inner.red .nav>li>a:focus .caret,#navbar .navbar-inner.red .nav>li>a:hover .caret{border-bottom-color:#e5c3c1;border-top-color:#e5c3c1}#navbar .navbar-inner.red .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.red .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.red .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.red .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.red .nav>li.dropdown.open>.dropdown-toggle{background-color:#a74f4a;background-image:-moz-linear-gradient(top,#802420,#e28e8a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#802420),to(#e28e8a));background-image:-webkit-linear-gradient(top,#802420,#e28e8a);background-image:-o-linear-gradient(top,#802420,#e28e8a);background-image:linear-gradient(to bottom,#802420,#e28e8a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff802420', endColorstr='#ffe28e8a', GradientType=0)}#navbar .navbar-inner.red .nav>li>a:hover{background-color:#af5651;background-image:-moz-linear-gradient(top,#dd7a75,#6b1f1b);background-image:-webkit-gradient(linear,0 0,0 100%,from(#dd7a75),to(#6b1f1b));background-image:-webkit-linear-gradient(top,#dd7a75,#6b1f1b);background-image:-o-linear-gradient(top,#dd7a75,#6b1f1b);background-image:linear-gradient(to bottom,#dd7a75,#6b1f1b);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdd7a75', endColorstr='#ff6b1f1b', GradientType=0)}#navbar .navbar-inner.red.transparent{background-color:rgba(187,100,95,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(226,142,138,.6)),to(rgba(128,36,32,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(226,142,138,.6),rgba(128,36,32,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99e28e8a', endColorstr='#99802420', GradientType=0)}#navbar .navbar-inner.red.transparent .brand,#navbar .navbar-inner.red.transparent .nav>li>a{text-shadow:0 1px 0 #d86761;color:#f2f2f2}#navbar .navbar-inner.red.transparent .brand .caret,#navbar .navbar-inner.red.transparent .nav>li>a .caret{border-bottom-color:#d89491;border-top-color:#d89491}#navbar .navbar-inner.red.transparent .brand:focus .caret,#navbar .navbar-inner.red.transparent .brand:hover .caret,#navbar .navbar-inner.red.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.red.transparent .nav>li>a:hover .caret{border-bottom-color:#e5c3c1;border-top-color:#e5c3c1}#navbar .navbar-inner.red.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.red.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.red.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.red.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.red.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(167,79,74,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(128,36,32,.6)),to(rgba(226,142,138,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(128,36,32,.6),rgba(226,142,138,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99802420', endColorstr='#99e28e8a', GradientType=0)}#navbar .navbar-inner.red.transparent .nav>li>a:hover{background-color:rgba(175,86,81,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(221,122,117,.6)),to(rgba(107,31,27,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(221,122,117,.6),rgba(107,31,27,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99dd7a75', endColorstr='#996b1f1b', GradientType=0)}#navbar .navbar-inner.orange{background-color:#e39665;background-image:-moz-linear-gradient(top,#f9c3a0,#c2530c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9c3a0),to(#c2530c));background-image:-webkit-linear-gradient(top,#f9c3a0,#c2530c);background-image:-o-linear-gradient(top,#f9c3a0,#c2530c);background-image:linear-gradient(to bottom,#f9c3a0,#c2530c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9c3a0', endColorstr='#ffc2530c', GradientType=0)}#navbar .navbar-inner.orange .brand,#navbar .navbar-inner.orange .nav>li>a{text-shadow:0 1px 0 #f6a570;color:#f2f2f2}#navbar .navbar-inner.orange .brand .caret,#navbar .navbar-inner.orange .nav>li>a .caret{border-bottom-color:#f2b58d;border-top-color:#f2b58d}#navbar .navbar-inner.orange .brand:focus .caret,#navbar .navbar-inner.orange .brand:hover .caret,#navbar .navbar-inner.orange .nav>li>a:focus .caret,#navbar .navbar-inner.orange .nav>li>a:hover .caret{border-bottom-color:#f2d3bf;border-top-color:#f2d3bf}#navbar .navbar-inner.orange .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.orange .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.orange .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.orange .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.orange .nav>li.dropdown.open>.dropdown-toggle{background-color:#d88047;background-image:-moz-linear-gradient(top,#c2530c,#f9c3a0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c2530c),to(#f9c3a0));background-image:-webkit-linear-gradient(top,#c2530c,#f9c3a0);background-image:-o-linear-gradient(top,#c2530c,#f9c3a0);background-image:linear-gradient(to bottom,#c2530c,#f9c3a0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2530c', endColorstr='#fff9c3a0', GradientType=0)}#navbar .navbar-inner.orange .nav>li>a:hover{background-color:#d98956;background-image:-moz-linear-gradient(top,#f8b488,#aa490a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f8b488),to(#aa490a));background-image:-webkit-linear-gradient(top,#f8b488,#aa490a);background-image:-o-linear-gradient(top,#f8b488,#aa490a);background-image:linear-gradient(to bottom,#f8b488,#aa490a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8b488', endColorstr='#ffaa490a', GradientType=0)}#navbar .navbar-inner.orange.transparent{background-color:rgba(227,150,101,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(249,195,160,.6)),to(rgba(194,83,12,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(249,195,160,.6),rgba(194,83,12,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f9c3a0', endColorstr='#99c2530c', GradientType=0)}#navbar .navbar-inner.orange.transparent .brand,#navbar .navbar-inner.orange.transparent .nav>li>a{text-shadow:0 1px 0 #f6a570;color:#f2f2f2}#navbar .navbar-inner.orange.transparent .brand .caret,#navbar .navbar-inner.orange.transparent .nav>li>a .caret{border-bottom-color:#f2b58d;border-top-color:#f2b58d}#navbar .navbar-inner.orange.transparent .brand:focus .caret,#navbar .navbar-inner.orange.transparent .brand:hover .caret,#navbar .navbar-inner.orange.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.orange.transparent .nav>li>a:hover .caret{border-bottom-color:#f2d3bf;border-top-color:#f2d3bf}#navbar .navbar-inner.orange.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.orange.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.orange.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.orange.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.orange.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(216,128,71,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(194,83,12,.6)),to(rgba(249,195,160,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(194,83,12,.6),rgba(249,195,160,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c2530c', endColorstr='#99f9c3a0', GradientType=0)}#navbar .navbar-inner.orange.transparent .nav>li>a:hover{background-color:rgba(217,137,86,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(248,180,136,.6)),to(rgba(170,73,10,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(248,180,136,.6),rgba(170,73,10,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f8b488', endColorstr='#99aa490a', GradientType=0)}#navbar .navbar-inner.yellow{background-color:#e3d765;background-image:-moz-linear-gradient(top,#f9f0a0,#c2b00c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f9f0a0),to(#c2b00c));background-image:-webkit-linear-gradient(top,#f9f0a0,#c2b00c);background-image:-o-linear-gradient(top,#f9f0a0,#c2b00c);background-image:linear-gradient(to bottom,#f9f0a0,#c2b00c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f0a0', endColorstr='#ffc2b00c', GradientType=0)}#navbar .navbar-inner.yellow .brand,#navbar .navbar-inner.yellow .nav>li>a{text-shadow:0 1px 0 #c2b00c;color:#f2f2f2}#navbar .navbar-inner.yellow .brand .caret,#navbar .navbar-inner.yellow .nav>li>a .caret{border-bottom-color:#f2e88d;border-top-color:#f2e88d}#navbar .navbar-inner.yellow .brand:focus .caret,#navbar .navbar-inner.yellow .brand:hover .caret,#navbar .navbar-inner.yellow .nav>li>a:focus .caret,#navbar .navbar-inner.yellow .nav>li>a:hover .caret{border-bottom-color:#f2edbf;border-top-color:#f2edbf}#navbar .navbar-inner.yellow .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.yellow .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.yellow .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.yellow .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.yellow .nav>li.dropdown.open>.dropdown-toggle{background-color:#d8ca47;background-image:-moz-linear-gradient(top,#c2b00c,#f9f0a0);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c2b00c),to(#f9f0a0));background-image:-webkit-linear-gradient(top,#c2b00c,#f9f0a0);background-image:-o-linear-gradient(top,#c2b00c,#f9f0a0);background-image:linear-gradient(to bottom,#c2b00c,#f9f0a0);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc2b00c', endColorstr='#fff9f0a0', GradientType=0)}#navbar .navbar-inner.yellow .nav>li>a:hover{background-color:#d9cc56;background-image:-moz-linear-gradient(top,#f8ed88,#aa9a0a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f8ed88),to(#aa9a0a));background-image:-webkit-linear-gradient(top,#f8ed88,#aa9a0a);background-image:-o-linear-gradient(top,#f8ed88,#aa9a0a);background-image:linear-gradient(to bottom,#f8ed88,#aa9a0a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8ed88', endColorstr='#ffaa9a0a', GradientType=0)}#navbar .navbar-inner.yellow.transparent{background-color:rgba(227,215,101,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(249,240,160,.6)),to(rgba(194,176,12,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(249,240,160,.6),rgba(194,176,12,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f9f0a0', endColorstr='#99c2b00c', GradientType=0)}#navbar .navbar-inner.yellow.transparent .brand,#navbar .navbar-inner.yellow.transparent .nav>li>a{text-shadow:0 1px 0 #c2b00c;color:#f2f2f2}#navbar .navbar-inner.yellow.transparent .brand .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a .caret{border-bottom-color:#f2e88d;border-top-color:#f2e88d}#navbar .navbar-inner.yellow.transparent .brand:focus .caret,#navbar .navbar-inner.yellow.transparent .brand:hover .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.yellow.transparent .nav>li>a:hover .caret{border-bottom-color:#f2edbf;border-top-color:#f2edbf}#navbar .navbar-inner.yellow.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.yellow.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.yellow.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(216,202,71,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(194,176,12,.6)),to(rgba(249,240,160,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(194,176,12,.6),rgba(249,240,160,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c2b00c', endColorstr='#99f9f0a0', GradientType=0)}#navbar .navbar-inner.yellow.transparent .nav>li>a:hover{background-color:rgba(217,204,86,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(248,237,136,.6)),to(rgba(170,154,10,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(248,237,136,.6),rgba(170,154,10,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f8ed88', endColorstr='#99aa9a0a', GradientType=0)}#navbar .navbar-inner.green{background-color:#98f064;background-image:-moz-linear-gradient(top,#c8ffa7,#50da00);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8ffa7),to(#50da00));background-image:-webkit-linear-gradient(top,#c8ffa7,#50da00);background-image:-o-linear-gradient(top,#c8ffa7,#50da00);background-image:linear-gradient(to bottom,#c8ffa7,#50da00);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8ffa7', endColorstr='#ff50da00', GradientType=0)}#navbar .navbar-inner.green .brand,#navbar .navbar-inner.green .nav>li>a{text-shadow:0 1px 0 #50da00;color:#333}#navbar .navbar-inner.green .brand .caret,#navbar .navbar-inner.green .nav>li>a .caret{border-bottom-color:#55992e;border-top-color:#55992e}#navbar .navbar-inner.green .brand:focus .caret,#navbar .navbar-inner.green .brand:hover .caret,#navbar .navbar-inner.green .nav>li>a:focus .caret,#navbar .navbar-inner.green .nav>li>a:hover .caret{border-bottom-color:#446630;border-top-color:#446630}#navbar .navbar-inner.green .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.green .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.green .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.green .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.green .nav>li.dropdown.open>.dropdown-toggle{background-color:#80e943;background-image:-moz-linear-gradient(top,#50da00,#c8ffa7);background-image:-webkit-gradient(linear,0 0,0 100%,from(#50da00),to(#c8ffa7));background-image:-webkit-linear-gradient(top,#50da00,#c8ffa7);background-image:-o-linear-gradient(top,#50da00,#c8ffa7);background-image:linear-gradient(to bottom,#50da00,#c8ffa7);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff50da00', endColorstr='#ffc8ffa7', GradientType=0)}#navbar .navbar-inner.green .nav>li>a:hover{background-color:#8ae655;background-image:-moz-linear-gradient(top,#b8ff8e,#47c100);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b8ff8e),to(#47c100));background-image:-webkit-linear-gradient(top,#b8ff8e,#47c100);background-image:-o-linear-gradient(top,#b8ff8e,#47c100);background-image:linear-gradient(to bottom,#b8ff8e,#47c100);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb8ff8e', endColorstr='#ff47c100', GradientType=0)}#navbar .navbar-inner.green.transparent{background-color:rgba(152,240,100,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,255,167,.6)),to(rgba(80,218,0,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,255,167,.6),rgba(80,218,0,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8ffa7', endColorstr='#9950da00', GradientType=0)}#navbar .navbar-inner.green.transparent .brand,#navbar .navbar-inner.green.transparent .nav>li>a{text-shadow:0 1px 0 #50da00;color:#333}#navbar .navbar-inner.green.transparent .brand .caret,#navbar .navbar-inner.green.transparent .nav>li>a .caret{border-bottom-color:#55992e;border-top-color:#55992e}#navbar .navbar-inner.green.transparent .brand:focus .caret,#navbar .navbar-inner.green.transparent .brand:hover .caret,#navbar .navbar-inner.green.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.green.transparent .nav>li>a:hover .caret{border-bottom-color:#446630;border-top-color:#446630}#navbar .navbar-inner.green.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.green.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.green.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.green.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.green.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(128,233,67,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(80,218,0,.6)),to(rgba(200,255,167,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(80,218,0,.6),rgba(200,255,167,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9950da00', endColorstr='#99c8ffa7', GradientType=0)}#navbar .navbar-inner.green.transparent .nav>li>a:hover{background-color:rgba(138,230,85,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(184,255,142,.6)),to(rgba(71,193,0,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(184,255,142,.6),rgba(71,193,0,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99b8ff8e', endColorstr='#9947c100', GradientType=0)}#navbar .navbar-inner.blue{background-color:#2e63cc;background-image:-moz-linear-gradient(top,#4d88ff,#002b80);background-image:-webkit-gradient(linear,0 0,0 100%,from(#4d88ff),to(#002b80));background-image:-webkit-linear-gradient(top,#4d88ff,#002b80);background-image:-o-linear-gradient(top,#4d88ff,#002b80);background-image:linear-gradient(to bottom,#4d88ff,#002b80);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4d88ff', endColorstr='#ff002b80', GradientType=0)}#navbar .navbar-inner.blue .brand,#navbar .navbar-inner.blue .nav>li>a{text-shadow:0 1px 0 #1a66ff;color:#f2f2f2}#navbar .navbar-inner.blue .brand .caret,#navbar .navbar-inner.blue .nav>li>a .caret{border-bottom-color:#799bdf;border-top-color:#799bdf}#navbar .navbar-inner.blue .brand:focus .caret,#navbar .navbar-inner.blue .brand:hover .caret,#navbar .navbar-inner.blue .nav>li>a:focus .caret,#navbar .navbar-inner.blue .nav>li>a:hover .caret{border-bottom-color:#b6c7e9;border-top-color:#b6c7e9}#navbar .navbar-inner.blue .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.blue .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.blue .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.blue .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.blue .nav>li.dropdown.open>.dropdown-toggle{background-color:#1f50b3;background-image:-moz-linear-gradient(top,#002b80,#4d88ff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#002b80),to(#4d88ff));background-image:-webkit-linear-gradient(top,#002b80,#4d88ff);background-image:-o-linear-gradient(top,#002b80,#4d88ff);background-image:linear-gradient(to bottom,#002b80,#4d88ff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff002b80', endColorstr='#ff4d88ff', GradientType=0)}#navbar .navbar-inner.blue .nav>li>a:hover{background-color:#1f55c2;background-image:-moz-linear-gradient(top,#37f,#026);background-image:-webkit-gradient(linear,0 0,0 100%,from(#37f),to(#026));background-image:-webkit-linear-gradient(top,#37f,#026);background-image:-o-linear-gradient(top,#37f,#026);background-image:linear-gradient(to bottom,#37f,#026);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3377ff', endColorstr='#ff002266', GradientType=0)}#navbar .navbar-inner.blue.transparent{background-color:rgba(46,99,204,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(77,136,255,.6)),to(rgba(0,43,128,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(77,136,255,.6),rgba(0,43,128,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#994d88ff', endColorstr='#99002b80', GradientType=0)}#navbar .navbar-inner.blue.transparent .brand,#navbar .navbar-inner.blue.transparent .nav>li>a{text-shadow:0 1px 0 #1a66ff;color:#f2f2f2}#navbar .navbar-inner.blue.transparent .brand .caret,#navbar .navbar-inner.blue.transparent .nav>li>a .caret{border-bottom-color:#799bdf;border-top-color:#799bdf}#navbar .navbar-inner.blue.transparent .brand:focus .caret,#navbar .navbar-inner.blue.transparent .brand:hover .caret,#navbar .navbar-inner.blue.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.blue.transparent .nav>li>a:hover .caret{border-bottom-color:#b6c7e9;border-top-color:#b6c7e9}#navbar .navbar-inner.blue.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.blue.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.blue.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.blue.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.blue.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(31,80,179,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,43,128,.6)),to(rgba(77,136,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(0,43,128,.6),rgba(77,136,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99002b80', endColorstr='#994d88ff', GradientType=0)}#navbar .navbar-inner.blue.transparent .nav>li>a:hover{background-color:rgba(31,85,194,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(51,119,255,.6)),to(rgba(0,34,102,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(51,119,255,.6),rgba(0,34,102,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#993377ff', endColorstr='#99002266', GradientType=0)}#navbar .navbar-inner.violet{background-color:#9864f0;background-image:-moz-linear-gradient(top,#c8a7ff,#5000da);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8a7ff),to(#5000da));background-image:-webkit-linear-gradient(top,#c8a7ff,#5000da);background-image:-o-linear-gradient(top,#c8a7ff,#5000da);background-image:linear-gradient(to bottom,#c8a7ff,#5000da);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8a7ff', endColorstr='#ff5000da', GradientType=0)}#navbar .navbar-inner.violet .brand,#navbar .navbar-inner.violet .nav>li>a{text-shadow:0 1px 0 #a774ff;color:#f2f2f2}#navbar .navbar-inner.violet .brand .caret,#navbar .navbar-inner.violet .nav>li>a .caret{border-bottom-color:#b58df9;border-top-color:#b58df9}#navbar .navbar-inner.violet .brand:focus .caret,#navbar .navbar-inner.violet .brand:hover .caret,#navbar .navbar-inner.violet .nav>li>a:focus .caret,#navbar .navbar-inner.violet .nav>li>a:hover .caret{border-bottom-color:#d3bff5;border-top-color:#d3bff5}#navbar .navbar-inner.violet .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.violet .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.violet .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.violet .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.violet .nav>li.dropdown.open>.dropdown-toggle{background-color:#8043e9;background-image:-moz-linear-gradient(top,#5000da,#c8a7ff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#5000da),to(#c8a7ff));background-image:-webkit-linear-gradient(top,#5000da,#c8a7ff);background-image:-o-linear-gradient(top,#5000da,#c8a7ff);background-image:linear-gradient(to bottom,#5000da,#c8a7ff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5000da', endColorstr='#ffc8a7ff', GradientType=0)}#navbar .navbar-inner.violet .nav>li>a:hover{background-color:#8a55e6;background-image:-moz-linear-gradient(top,#b88eff,#4700c1);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b88eff),to(#4700c1));background-image:-webkit-linear-gradient(top,#b88eff,#4700c1);background-image:-o-linear-gradient(top,#b88eff,#4700c1);background-image:linear-gradient(to bottom,#b88eff,#4700c1);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb88eff', endColorstr='#ff4700c1', GradientType=0)}#navbar .navbar-inner.violet.transparent{background-color:rgba(152,100,240,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,167,255,.6)),to(rgba(80,0,218,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,167,255,.6),rgba(80,0,218,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8a7ff', endColorstr='#995000da', GradientType=0)}#navbar .navbar-inner.violet.transparent .brand,#navbar .navbar-inner.violet.transparent .nav>li>a{text-shadow:0 1px 0 #a774ff;color:#f2f2f2}#navbar .navbar-inner.violet.transparent .brand .caret,#navbar .navbar-inner.violet.transparent .nav>li>a .caret{border-bottom-color:#b58df9;border-top-color:#b58df9}#navbar .navbar-inner.violet.transparent .brand:focus .caret,#navbar .navbar-inner.violet.transparent .brand:hover .caret,#navbar .navbar-inner.violet.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.violet.transparent .nav>li>a:hover .caret{border-bottom-color:#d3bff5;border-top-color:#d3bff5}#navbar .navbar-inner.violet.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.violet.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.violet.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.violet.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.violet.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(128,67,233,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(80,0,218,.6)),to(rgba(200,167,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(80,0,218,.6),rgba(200,167,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#995000da', endColorstr='#99c8a7ff', GradientType=0)}#navbar .navbar-inner.violet.transparent .nav>li>a:hover{background-color:rgba(138,85,230,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(184,142,255,.6)),to(rgba(71,0,193,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(184,142,255,.6),rgba(71,0,193,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99b88eff', endColorstr='#994700c1', GradientType=0)}#navbar .navbar-inner.black{background-color:#4f4f4f;background-image:-moz-linear-gradient(top,#787878,#121212);background-image:-webkit-gradient(linear,0 0,0 100%,from(#787878),to(#121212));background-image:-webkit-linear-gradient(top,#787878,#121212);background-image:-o-linear-gradient(top,#787878,#121212);background-image:linear-gradient(to bottom,#787878,#121212);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff787878', endColorstr='#ff121212', GradientType=0)}#navbar .navbar-inner.black .brand,#navbar .navbar-inner.black .nav>li>a{text-shadow:0 1px 0 #5e5e5e;color:#f2f2f2}#navbar .navbar-inner.black .brand .caret,#navbar .navbar-inner.black .nav>li>a .caret{border-bottom-color:#959595;border-top-color:#959595}#navbar .navbar-inner.black .brand:focus .caret,#navbar .navbar-inner.black .brand:hover .caret,#navbar .navbar-inner.black .nav>li>a:focus .caret,#navbar .navbar-inner.black .nav>li>a:hover .caret{border-bottom-color:#c4c4c4;border-top-color:#c4c4c4}#navbar .navbar-inner.black .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.black .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.black .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.black .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.black .nav>li.dropdown.open>.dropdown-toggle{background-color:#3b3b3b;background-image:-moz-linear-gradient(top,#121212,#787878);background-image:-webkit-gradient(linear,0 0,0 100%,from(#121212),to(#787878));background-image:-webkit-linear-gradient(top,#121212,#787878);background-image:-o-linear-gradient(top,#121212,#787878);background-image:linear-gradient(to bottom,#121212,#787878);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff121212', endColorstr='#ff787878', GradientType=0)}#navbar .navbar-inner.black .nav>li>a:hover{background-color:#424242;background-image:-moz-linear-gradient(top,#6b6b6b,#050505);background-image:-webkit-gradient(linear,0 0,0 100%,from(#6b6b6b),to(#050505));background-image:-webkit-linear-gradient(top,#6b6b6b,#050505);background-image:-o-linear-gradient(top,#6b6b6b,#050505);background-image:linear-gradient(to bottom,#6b6b6b,#050505);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6b6b6b', endColorstr='#ff050505', GradientType=0)}#navbar .navbar-inner.black.transparent{background-color:rgba(79,79,79,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(120,120,120,.6)),to(rgba(18,18,18,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(120,120,120,.6),rgba(18,18,18,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99787878', endColorstr='#99121212', GradientType=0)}#navbar .navbar-inner.black.transparent .brand,#navbar .navbar-inner.black.transparent .nav>li>a{text-shadow:0 1px 0 #5e5e5e;color:#f2f2f2}#navbar .navbar-inner.black.transparent .brand .caret,#navbar .navbar-inner.black.transparent .nav>li>a .caret{border-bottom-color:#959595;border-top-color:#959595}#navbar .navbar-inner.black.transparent .brand:focus .caret,#navbar .navbar-inner.black.transparent .brand:hover .caret,#navbar .navbar-inner.black.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.black.transparent .nav>li>a:hover .caret{border-bottom-color:#c4c4c4;border-top-color:#c4c4c4}#navbar .navbar-inner.black.transparent .brand span{background-image:url(../img/tentacle-20x20-light.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.black.transparent .brand span{background-image:url(../img/tentacle-20x20-light@2x.png)}}#navbar .navbar-inner.black.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.black.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.black.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(59,59,59,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(18,18,18,.6)),to(rgba(120,120,120,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(18,18,18,.6),rgba(120,120,120,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99121212', endColorstr='#99787878', GradientType=0)}#navbar .navbar-inner.black.transparent .nav>li>a:hover{background-color:rgba(66,66,66,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(107,107,107,.6)),to(rgba(5,5,5,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(107,107,107,.6),rgba(5,5,5,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#996b6b6b', endColorstr='#99050505', GradientType=0)}#navbar .navbar-inner.white{background-color:#e9e9e9;background-image:-moz-linear-gradient(top,#fff,#c8c8c8);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#c8c8c8));background-image:-webkit-linear-gradient(top,#fff,#c8c8c8);background-image:-o-linear-gradient(top,#fff,#c8c8c8);background-image:linear-gradient(to bottom,#fff,#c8c8c8);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffc8c8c8', GradientType=0)}#navbar .navbar-inner.white .brand,#navbar .navbar-inner.white .nav>li>a{text-shadow:0 1px 0 #c8c8c8;color:#333}#navbar .navbar-inner.white .brand .caret,#navbar .navbar-inner.white .nav>li>a .caret{border-bottom-color:#919191;border-top-color:#919191}#navbar .navbar-inner.white .brand:focus .caret,#navbar .navbar-inner.white .brand:hover .caret,#navbar .navbar-inner.white .nav>li>a:focus .caret,#navbar .navbar-inner.white .nav>li>a:hover .caret{border-bottom-color:#626262;border-top-color:#626262}#navbar .navbar-inner.white .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.white .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.white .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.white .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.white .nav>li.dropdown.open>.dropdown-toggle{background-color:#dedede;background-image:-moz-linear-gradient(top,#c8c8c8,#fff);background-image:-webkit-gradient(linear,0 0,0 100%,from(#c8c8c8),to(#fff));background-image:-webkit-linear-gradient(top,#c8c8c8,#fff);background-image:-o-linear-gradient(top,#c8c8c8,#fff);background-image:linear-gradient(to bottom,#c8c8c8,#fff);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc8c8c8', endColorstr='#ffffffff', GradientType=0)}#navbar .navbar-inner.white .nav>li>a:hover{background-color:#dcdcdc;background-image:-moz-linear-gradient(top,#f2f2f2,#bbb);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f2f2f2),to(#bbb));background-image:-webkit-linear-gradient(top,#f2f2f2,#bbb);background-image:-o-linear-gradient(top,#f2f2f2,#bbb);background-image:linear-gradient(to bottom,#f2f2f2,#bbb);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffbbbbbb', GradientType=0)}#navbar .navbar-inner.white.transparent{background-color:rgba(233,233,233,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,.6)),to(rgba(200,200,200,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(200,200,200,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99ffffff', endColorstr='#99c8c8c8', GradientType=0)}#navbar .navbar-inner.white.transparent .brand,#navbar .navbar-inner.white.transparent .nav>li>a{text-shadow:0 1px 0 #c8c8c8;color:#333}#navbar .navbar-inner.white.transparent .brand .caret,#navbar .navbar-inner.white.transparent .nav>li>a .caret{border-bottom-color:#919191;border-top-color:#919191}#navbar .navbar-inner.white.transparent .brand:focus .caret,#navbar .navbar-inner.white.transparent .brand:hover .caret,#navbar .navbar-inner.white.transparent .nav>li>a:focus .caret,#navbar .navbar-inner.white.transparent .nav>li>a:hover .caret{border-bottom-color:#626262;border-top-color:#626262}#navbar .navbar-inner.white.transparent .brand span{background-image:url(../img/tentacle-20x20.png)}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){#navbar .navbar-inner.white.transparent .brand span{background-image:url(../img/tentacle-20x20@2x.png)}}#navbar .navbar-inner.white.transparent .nav>li.dropdown.active>.dropdown-toggle,#navbar .navbar-inner.white.transparent .nav>li.dropdown.open.active>.dropdown-toggle,#navbar .navbar-inner.white.transparent .nav>li.dropdown.open>.dropdown-toggle{background-color:rgba(222,222,222,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(200,200,200,.6)),to(rgba(255,255,255,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(200,200,200,.6),rgba(255,255,255,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99c8c8c8', endColorstr='#99ffffff', GradientType=0)}#navbar .navbar-inner.white.transparent .nav>li>a:hover{background-color:rgba(220,220,220,.6);background-image:"../img/trans-background.png";background-image:-moz-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(242,242,242,.6)),to(rgba(187,187,187,.6))),url(../img/trans-background.png);background-image:-webkit-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:-o-linear-gradient(top,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-image:linear-gradient(to bottom,rgba(242,242,242,.6),rgba(187,187,187,.6)),url(../img/trans-background.png);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#99f2f2f2', endColorstr='#99bbbbbb', GradientType=0)}#navbar .navbar-inner .brand{padding:10px 20px 6px}#navbar .navbar-inner .brand span{padding-left:26px;background-size:20px 20px;background-repeat:no-repeat;display:inline-block;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top;line-height:20px;height:24px}#navbar_login a.dropdown-toggle span{display:inline-block;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:top}.octoprint-container{margin-top:20px}.octoprint-container .tab-content{padding:9px 15px;border-left:1px solid #DDD;border-right:1px solid #DDD;border-bottom:1px solid #DDD;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px}.octoprint-container .nav{margin-bottom:0}.octoprint-container .tab-content h1{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:40px;color:#333;border:0;border-bottom:1px solid #E5E5E5;font-weight:400}.octoprint-container .accordion-heading .accordion-heading-button{float:right}.octoprint-container .accordion-heading .accordion-heading-button a{display:inline-block;padding:8px 15px;font-size:14px;line-height:20px;color:#000;text-decoration:none;background:0 0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.octoprint-container .accordion-heading a.accordion-toggle{display:inline-block}.octoprint-container .accordion-heading [class*=" icon-"],.octoprint-container .accordion-heading [class^=icon-]{color:#000}.print-control .btn{padding-left:4px;padding-right:4px}.upload-buttons .btn{margin-right:0}table{table-layout:fixed}table .popover-title{text-overflow:ellipsis;word-break:break-all}table td,table th{overflow:hidden}table td.gcode_files_name,table th.gcode_files_name{text-overflow:ellipsis;text-align:left;white-space:nowrap}table td.gcode_files_action,table th.gcode_files_action{width:90px;text-align:center;white-space:nowrap}table td.gcode_files_action a,table th.gcode_files_action a{text-decoration:none;color:#000}table td.gcode_files_action a.disabled,table th.gcode_files_action a.disabled{color:#ccc;cursor:default}table td.timelapse_files_checkbox,table td.timelapse_unrendered_checkbox,table th.timelapse_files_checkbox,table th.timelapse_unrendered_checkbox{text-align:center;width:10px}table td.timelapse_files_checkbox input[type=checkbox],table td.timelapse_unrendered_checkbox input[type=checkbox],table th.timelapse_files_checkbox input[type=checkbox],table th.timelapse_unrendered_checkbox input[type=checkbox]{margin-top:0}table td.timelapse_files_name,table td.timelapse_unrendered_name,table th.timelapse_files_name,table th.timelapse_unrendered_name{text-overflow:ellipsis;text-align:left}table td.timelapse_files_size,table td.timelapse_unrendered_size,table th.timelapse_files_size,table th.timelapse_unrendered_size{text-align:right;width:55px}table td.timelapse_unrendered_count,table th.timelapse_unrendered_count{text-align:right;width:45px}table td.timelapse_files_action,table td.timelapse_unrendered_action,table th.timelapse_files_action,table th.timelapse_unrendered_action{width:45px;text-align:center;white-space:nowrap}table td.timelapse_files_action a,table td.timelapse_unrendered_action a,table th.timelapse_files_action a,table th.timelapse_unrendered_action a{text-decoration:none;color:#000}table td.timelapse_files_action a.disabled,table td.timelapse_unrendered_action a.disabled,table th.timelapse_files_action a.disabled,table th.timelapse_unrendered_action a.disabled{color:#ccc;cursor:default}table td.settings_users_name,table th.settings_users_name{text-overflow:ellipsis;text-align:left;width:100px}table td.settings_users_active,table th.settings_users_active{text-align:center;width:55px}table td table.settings_users_details_table,table th table.settings_users_details_table{font-size:.8em;margin-bottom:0}table td table.settings_users_details_table .settings_users_details_key,table th table.settings_users_details_table .settings_users_details_key{width:100px}table td table.settings_users_details_table td,table td table.settings_users_details_table th,table th table.settings_users_details_table td,table th table.settings_users_details_table th{border:0;padding:0}table td.settings_groups_default,table th.settings_groups_default{text-align:center;width:20px}table td.settings_groups_name,table th.settings_groups_name{width:180px}table td table.settings_groups_details_table,table th table.settings_groups_details_table{font-size:.8em;margin-bottom:0}table td table.settings_groups_details_table .settings_groups_details_key,table th table.settings_groups_details_table .settings_groups_details_key{width:100px}table td table.settings_groups_details_table td,table td table.settings_groups_details_table th,table th table.settings_groups_details_table td,table th table.settings_groups_details_table th{border:0;padding:0}table td.settings_groups_actions,table td.settings_users_actions,table th.settings_groups_actions,table th.settings_users_actions{width:60px;text-align:center;white-space:nowrap}table td.settings_groups_actions a,table td.settings_users_actions a,table th.settings_groups_actions a,table th.settings_users_actions a{text-decoration:none;color:#000}table td.settings_groups_actions a.disabled,table td.settings_users_actions a.disabled,table th.settings_groups_actions a.disabled,table th.settings_users_actions a.disabled{color:#ccc;cursor:default}table td.settings_accesscontrol_groups_list_checkbox,table td.settings_accesscontrol_permissions_list_checkbox,table td.settings_accesscontrol_subgroups_list_checkbox,table th.settings_accesscontrol_groups_list_checkbox,table th.settings_accesscontrol_permissions_list_checkbox,table th.settings_accesscontrol_subgroups_list_checkbox{width:20px}table td #settings-usersDialogAddUser,table td #settings-usersDialogEditUser,table th #settings-usersDialogAddUser,table th #settings-usersDialogEditUser{position:relative;top:50%;transform:translateY(-50%);margin-top:0!important}table td.settings_printerProfiles_profiles_name,table th.settings_printerProfiles_profiles_name{text-overflow:ellipsis;text-align:left}table td.settings_printerProfiles_profiles_model,table th.settings_printerProfiles_profiles_model{text-align:left;width:250px}table td.settings_printerProfiles_profiles_action,table th.settings_printerProfiles_profiles_action{width:80px;text-align:center;white-space:nowrap}table td.settings_printerProfiles_profiles_action a,table th.settings_printerProfiles_profiles_action a{text-decoration:none;color:#000}table td.settings_printerProfiles_profiles_action a.disabled,table th.settings_printerProfiles_profiles_action a.disabled{color:#ccc;cursor:default}#temperature-graph{height:350px;width:100%;background:url(../img/graph-background.png) center no-repeat}#temperature-table{table-layout:fixed;width:100%;margin-top:20px}#temperature-table td,#temperature-table th{line-height:25px}#temperature-table td.temperature_actual,#temperature-table td.temperature_offset,#temperature-table td.temperature_target,#temperature-table td.temperature_tool,#temperature-table th.temperature_actual,#temperature-table th.temperature_offset,#temperature-table th.temperature_target,#temperature-table th.temperature_tool{vertical-align:middle;text-align:center}#temperature-table td.temperature_actual form,#temperature-table td.temperature_offset form,#temperature-table td.temperature_target form,#temperature-table td.temperature_tool form,#temperature-table th.temperature_actual form,#temperature-table th.temperature_offset form,#temperature-table th.temperature_target form,#temperature-table th.temperature_tool form{margin:0}#temperature-table td.temperature_actual .dropdown-menu,#temperature-table td.temperature_offset .dropdown-menu,#temperature-table td.temperature_target .dropdown-menu,#temperature-table td.temperature_tool .dropdown-menu,#temperature-table th.temperature_actual .dropdown-menu,#temperature-table th.temperature_offset .dropdown-menu,#temperature-table th.temperature_target .dropdown-menu,#temperature-table th.temperature_tool .dropdown-menu{text-align:left}#temperature-table td.temperature_tool,#temperature-table th.temperature_tool{width:16%;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#temperature-table td.temperature_actual,#temperature-table th.temperature_actual{width:12%}#temperature-table td.temperature_target,#temperature-table th.temperature_target{width:42%;overflow:visible}#temperature-table td.temperature_offset,#temperature-table th.temperature_offset{width:30%}.tab-content,.tab-pane{overflow:visible}#speed_fill,#speed_innerWall,#speed_outerWall,#speed_support,#temp_newBedTemp,#temp_newTemp,#webcam_timelapse_fps,#webcam_timelapse_interval,#webcam_timelapse_postRoll,#webcam_timelapse_retractionZHop{text-align:right}ul.dropdown-menu li a{cursor:pointer}#connection_baudrates,#connection_ports,#connection_printers{width:100%}#offline_overlay,#reloadui_overlay{position:fixed;top:0;left:0;width:100%;height:100%;display:none}#offline_overlay{z-index:10002}#reloadui_overlay{z-index:10001}#offline_overlay_background,#reloadui_overlay_background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#offline_overlay_wrapper,#reloadui_overlay_wrapper{position:absolute;top:0;bottom:0;left:0;right:0;padding-top:60px}#offline_overlay_wrapper .container,#reloadui_overlay_wrapper .container{margin:auto}#webcam_container{width:100%;position:relative;outline:0;background-color:#000}#webcam_container .keycontrol_overlay{position:absolute;left:10px;right:10px;bottom:10px;background:rgba(0,0,0,.5);font-size:85%;color:#fff;padding:0}#webcam_container .keycontrol_overlay kbd{border:1px solid #eee;border-radius:3px;margin-left:2px;margin-right:2px;font-size:90%;padding:2px;min-width:1em}#webcam_container .keycontrol_overlay .keycontrol_overlay_heading{position:relative;padding:10px;font-weight:700}#webcam_container .keycontrol_overlay .keycontrol_overlay_column{position:relative;width:45%;padding:10px;float:left}#webcam_container .nowebcam{position:absolute;top:0;left:0;right:0;bottom:0}#webcam_container .nowebcam .text{color:#fff;text-align:center;position:relative;margin:auto;width:80%;top:50%;transform:translateY(-50%);display:block}#webcam_container .nowebcam .text.webcam_loading{animation:pulsate 3s ease-out;animation-iteration-count:infinite}#webcam_container .webcam_rotated{position:relative;width:100%;padding-bottom:100%;pointer-events:none}#webcam_container .webcam_rotated .webcam_fixed_ratio{position:absolute;transform:rotate(-90deg);top:0;bottom:0;pointer-events:none}#webcam_container .webcam_rotated .webcam_fixed_ratio .webcam_fixed_ratio_inner{width:100%;height:100%;pointer-events:none}#webcam_container .webcam_unrotated .webcam_fixed_ratio{width:100%;pointer-events:none;padding-bottom:100%;position:relative}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio43{padding-bottom:75%}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio169{padding-bottom:56.25%}#webcam_container .webcam_unrotated .webcam_fixed_ratio.ratio1610{padding-bottom:62.5%}#webcam_container .webcam_unrotated .webcam_fixed_ratio .webcam_fixed_ratio_inner{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none}#webcam_container img{width:100%;height:100%;object-fit:contain}#state_wrapper hr{margin:5px 0}#files .gcode_files .scroll-wrapper{overflow-x:hidden;overflow-y:scroll;height:306px;padding-right:2px}#files .gcode_files .entry{padding:5px;line-height:20px;border-bottom:1px solid #ddd;position:relative}#files .gcode_files .entry:hover{background-color:#f5f5f5}#files .gcode_files .entry .title{text-overflow:ellipsis;word-break:break-all}#files .gcode_files .entry .toggleAdditionalData{margin-left:5px}#files .gcode_files .entry .additionalInfo,#files .gcode_files .entry .internal,#files .gcode_files .entry .size,#files .gcode_files .entry .uploaded{font-size:85%;color:#999}#files .gcode_files .entry .uploaded [title]{cursor:help}#files .gcode_files .entry .internal{word-break:break-all}#files .gcode_files .entry .action-buttons{position:absolute;bottom:5px;right:5px}#files .gcode_files .entry .additionalInfo{padding-bottom:22px}@keyframes highlightframes{0%{background:#ff0}100%{background:0 0}}#files .gcode_files .entry.highlight{animation:highlightframes 2s}#files .gcode_files .back .back-path{white-space:nowrap}#files .gcode_files .back .back-path span{word-wrap:break-word;white-space:pre-line}#files .upload-buttons{margin-top:10px}#files .form-search{text-align:center;margin-bottom:5px!important}#control{overflow:hidden}#control .jog-panel{float:left;margin-right:19px}#control h1{text-align:left}#control .jog-panel>div{text-align:center}#control .jog-panel>div.distance{text-align:left}#control .jog-panel .slider{margin-bottom:10px}#control .box{width:30px;height:30px;margin-right:10px;margin-bottom:10px;padding-left:8px}#control .control-box{display:block;height:30px;margin-bottom:10px}#control .btn-group{margin-bottom:10px}#control .btn-group.distance>.btn{width:43px;padding:3px 0;height:30px}#control .slider-handle{width:14px;height:14px;margin-left:-7px;margin-top:-3px}#control .custom_section h1{cursor:pointer}#control .custom_section_horizontal>.custom_control{display:inline-block}#control .custom_section_vertical>.custom_control{display:block}#control .custom_control .slider{margin-left:10px;margin-right:10px;margin-bottom:2px}#control .pulsate_text_opacity{animation:pulsate_input 1s ease-out;animation-iteration-count:infinite}@keyframes pulsate_input{0%{color:#555}50%{color:rgba(85,85,85,.2)}100%{color:#555}}#term .terminal{margin-bottom:30px}#term .terminal #terminal-output,#term .terminal #terminal-output-lowfi{min-height:340px;margin-bottom:5px}#settings_dialog .aboutlink{float:left}#settings_dialog_menu,#wizard_dialog_menu{margin-left:0}#wizard_firstrun_acl .acl_decision{margin-top:1em}#wizard_firstrun_end p,#wizard_firstrun_start p{margin-bottom:1.5em;line-height:1.5}#settings_appearance_managelanguagesdialog_list{width:auto;height:300px;overflow-x:hidden;overflow-y:scroll;padding-right:2px}#settings_appearance_managelanguagesdialog_emptylist{overflow:hidden;width:100%;height:300px;text-align:center;display:table}#settings_appearance_managelanguagesdialog_emptylist div{display:table-cell;vertical-align:middle}#about_authors ul,#about_sponsors ul{columns:3;-webkit-columns:3;-moz-columns:3}.footer ul{margin:0}.footer ul li{display:inline;margin-left:1em;font-size:85%}.footer ul li:first-child{margin-left:0}.footer ul li a{color:#555}.footer #footer_link,.footer #footer_version{max-width:50%}.ui-pnotify{position:fixed}.ui-pnotify .alert a{color:#c09853}.ui-pnotify .alert-danger a,.ui-pnotify .alert-error a{color:#b94a48}.ui-pnotify .alert-success a{color:#468847}.ui-pnotify .alert-info a{color:#3a87ad}.pnotify_additional_info .pnotify_more{font-size:85%}.text-right{text-align:right}.text-center{text-align:center}.text-block{display:block}.overflow_visible{overflow:visible!important}.clickable{cursor:pointer}.border_box{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.hidden{display:none}textarea.block{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}@keyframes pulsate{0%{opacity:.5}50%{opacity:1}100%{opacity:.5}}#drop_overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:none}#drop_overlay.in{display:block}#drop_overlay #drop_overlay_background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#drop_overlay #drop_overlay_wrapper{position:absolute;top:0;bottom:0;left:0;right:0;padding-top:60px}#drop_overlay #drop_overlay_wrapper #drop,#drop_overlay #drop_overlay_wrapper #drop_background{position:absolute;top:0;left:0;margin-left:0;width:100%}#drop_overlay #drop_overlay_wrapper #drop_locally,#drop_overlay #drop_overlay_wrapper #drop_locally_background{position:absolute;top:0;left:50%;margin-left:-50%;width:50%;border-right:2px dashed #ccc}#drop_overlay #drop_overlay_wrapper #drop_sd,#drop_overlay #drop_overlay_wrapper #drop_sd_background{position:absolute;top:0;left:50%;margin-left:0;width:50%;border-left:2px dashed #ccc}#drop_overlay #drop_overlay_wrapper .dropzone{height:100%;z-index:10001;color:#fff;font-size:30px}#drop_overlay #drop_overlay_wrapper .dropzone i{font-size:50px}#drop_overlay #drop_overlay_wrapper .dropzone .text{display:block;text-align:center;line-height:40px;position:absolute;width:100%;bottom:5%;filter:alpha(opacity=100);-moz-opacity:1;-khtml-opacity:1;opacity:1}#drop_overlay #drop_overlay_wrapper .dropzone_background{width:50%;height:100%;background-color:#000;filter:alpha(opacity=25);-moz-opacity:.25;-khtml-opacity:.25;opacity:.25}#drop_overlay #drop_overlay_wrapper .dropzone_background.hover{background-color:#000;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}#drop_overlay #drop_overlay_wrapper .dropzone_background.fade{-webkit-transition:all .3s ease-out;-moz-transition:all .3s ease-out;-ms-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out;opacity:1}.icon-sd-black-14{background:url(../img/icon-sd-black-14.png) 0 3px no-repeat;width:11px;height:17px;display:inline-block!important}.center{float:none;margin-left:auto;margin-right:auto}.flipH{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1)}.flipV{-webkit-transform:scaleY(-1);-moz-transform:scaleY(-1);-ms-transform:scaleY(-1);transform:scaleY(-1)}.flipH.flipV{-webkit-transform:scaleX(-1) scaleY(-1);-moz-transform:scaleX(-1) scaleY(-1);-ms-transform:scaleX(-1) scaleY(-1);transform:scaleX(-1) scaleY(-1)}.rotate90{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.ui-pnotify a{text-decoration:underline}.btn-mini .caret,.btn-small .caret{margin-top:8px}.dropdown-menu-right{right:0;left:auto}.slider .slider-selection{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.slider .slider-selection.active,.slider .slider-selection.disabled,.slider .slider-selection:active,.slider .slider-selection:focus,.slider .slider-selection:hover,.slider .slider-selection[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.slider .slider-selection.active,.slider .slider-selection:active{background-color:#039 \9}.slider.slider-disabled .slider-selection{background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-track{background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.slider.slider-disabled .slider-track{background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-handle{display:inline-block;*display:inline;*zoom:1;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;*background-color:#e6e6e6;border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);padding:0;margin-bottom:0;opacity:1;filter:alpha(opacity=100)}.slider .slider-handle.active,.slider .slider-handle.disabled,.slider .slider-handle:active,.slider .slider-handle:focus,.slider .slider-handle:hover,.slider .slider-handle[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9}.slider .slider-handle.active,.slider .slider-handle:active{background-color:#ccc \9}.slider .slider-handle:first-child{*margin-left:0}.slider .slider-handle:focus,.slider .slider-handle:hover{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.slider .slider-handle:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.slider .slider-handle.active,.slider .slider-handle:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.slider .slider-handle.disabled,.slider .slider-handle[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.slider .slider-handle.hide{display:none}.slider .slider-handle.round{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.modal.large{width:975px;margin-left:-487px}.full-sized-box{position:absolute;bottom:0;left:0;right:0;top:0;padding:15px}.full-sized-box .row-fluid{height:100%}@media (max-width:979px){.full-sized-box{position:static}}:root .full-sized-box,_::-webkit-full-page-media,_:future{position:static}.scrollable{height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.pre-output span{display:block}.input-append .add-on.add-on-limited,.input-prepend .add-on.add-on-limited{overflow-x:hidden;text-overflow:ellipsis;width:inherit}.input-append .btn-group:first-child .btn:first-child,.input-prepend .btn-group:first-child .btn:first-child{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-append .btn-group .btn:first-child,.input-prepend .btn-group .btn:first-child{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-append.input-block-level,.input-prepend.input-block-level{display:table}.input-append.input-block-level .add-on,.input-prepend.input-block-level .add-on{display:table-cell;width:1%}.input-append.input-block-level>input,.input-prepend.input-block-level>input{box-sizing:border-box;display:table;min-height:inherit;width:100%}.input-append.input-block-level :not(:last-child),.input-prepend.input-block-level :not(:last-child){border-right:0}.control-group.error .input-append .fileinput-button,.control-group.error .input-prepend .fileinput-button{border-color:#b94a48}.control-text{padding-top:5px;cursor:default}input[type=number]{text-align:right}input[type=number].input-nospin::-webkit-inner-spin-button,input[type=number].input-nospin::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number].input-nospin{-moz-appearance:textfield}.progress-text,.progress-text-centered{position:relative}.progress-text .progress-text-back,.progress-text .progress-text-front,.progress-text-centered .progress-text-back,.progress-text-centered .progress-text-front{white-space:nowrap}.progress-text .progress-text-front,.progress-text-centered .progress-text-front{box-sizing:border-box;padding:0 10px;width:100%;display:block}.progress-text .progress-text-back,.progress-text-centered .progress-text-back{position:absolute;font-size:12px;line-height:20px;display:block;box-sizing:border-box;text-align:center;padding:0 10px}.progress-text .bar,.progress-text-centered .bar{position:absolute;overflow:hidden}.progress-text-centered .progress-text-front{position:absolute;font-size:12px;line-height:20px;display:block;text-align:center;color:#fff}.progress-text-centered .progress-text-back{width:100%}.search-query-with-clear{position:relative}.search-query-with-clear .search-clear{display:inline-block;color:#ccc;position:absolute;right:28px;height:20px;padding:4px 0;cursor:pointer;visibility:hidden}.search-query-with-clear.active-clear .search-query{padding-right:28px;width:192px}.search-query-with-clear.active-clear .search-clear{visibility:visible}.search-query-with-clear input::-ms-clear{display:none}.search-query-with-clear input[type=search]::-webkit-search-cancel-button,.search-query-with-clear input[type=search]::-webkit-search-decoration,.search-query-with-clear input[type=search]::-webkit-search-results-button,.search-query-with-clear input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}#navbar_login:not(.open) #login_dropdown_loggedout{display:block;z-index:-1;height:0;width:0;padding:0!important;overflow:hidden;border:0;box-shadow:none;left:-9999px}#navbar_login:not(.open) #login_dropdown_loggedout.hide{display:none}#loginForm{margin:0}#loginForm button{margin-top:20px}#page-container-loading{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:12301}#page-container-loading .wrapper{position:absolute;top:0;bottom:0;left:0;right:0}#page-container-loading .wrapper .outer{display:table;width:100%;height:100%}#page-container-loading .wrapper .outer .inner{display:table-cell;vertical-align:middle}#page-container-loading .wrapper .outer .inner .content{text-align:center}#page-container-noscript{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#fff;z-index:12310}#page-container-noscript .wrapper{position:absolute;top:0;bottom:0;left:0;right:0}#page-container-noscript .wrapper .outer{display:table;width:100%;height:100%}#page-container-noscript .wrapper .outer .inner{display:table-cell;vertical-align:middle}#page-container-noscript .wrapper .outer .inner .content{text-align:center} \ No newline at end of file diff --git a/translations/de/LC_MESSAGES/messages.po b/translations/de/LC_MESSAGES/messages.po index 18dde43fd..41bc699e7 100644 --- a/translations/de/LC_MESSAGES/messages.po +++ b/translations/de/LC_MESSAGES/messages.po @@ -5,27 +5,32 @@ # msgid "" msgstr "" -"Project-Id-Version: OctoPrint\n" +"Project-Id-Version: OctoPrint\n" "Report-Msgid-Bugs-To: i18n@octoprint.org\n" -"POT-Creation-Date: 2020-06-26 12:30+0200\n" +"POT-Creation-Date: 2020-07-06 09:41+0200\n" "PO-Revision-Date: 2020-06-26 13:57+0200\n" "Last-Translator: Gina Häußge \n" "Language: de\n" -"Language-Team: German (http://www.transifex.com/projects/p/octoprint/language/de/)\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language-Team: German " +"(http://www.transifex.com/projects/p/octoprint/language/de/)\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.8.0\n" -"X-Generator: Poedit 2.0.4\n" #: src/octoprint/access/permissions.py:272 msgid "Admin is allowed to do everything" msgstr "Admins dürfen alles tun" #: src/octoprint/access/permissions.py:278 -msgid "Allows to gather basic status information, e.g. job progress, printer state, temperatures, ... Mandatory for the default UI to work" -msgstr "Erlaubt Zugriff auf Statusinformationen wie Druckfortschritt, Druckerstatus, Temperaturen, ... Obligatorisch für die korrekte Funktion des Userinterfaces" +msgid "" +"Allows to gather basic status information, e.g. job progress, printer " +"state, temperatures, ... Mandatory for the default UI to work" +msgstr "" +"Erlaubt Zugriff auf Statusinformationen wie Druckfortschritt, " +"Druckerstatus, Temperaturen, ... Obligatorisch für die korrekte Funktion " +"des Userinterfaces" #: src/octoprint/access/permissions.py:285 msgid "Allows to connect to and disconnect from a printer" @@ -36,24 +41,49 @@ msgid "Allows to watch the webcam stream" msgstr "Erlaubt Einbettung des Webcamstreams" #: src/octoprint/access/permissions.py:295 -msgid "Allows to run system commands, e.g. restart OctoPrint, shutdown or reboot the system" -msgstr "Erlaubt die Ausführung von Systembefehlen, z.B. OctoPrint neu starten, System herunterfahren oder neu starten" +msgid "" +"Allows to run system commands, e.g. restart OctoPrint, shutdown or reboot" +" the system" +msgstr "" +"Erlaubt die Ausführung von Systembefehlen, z.B. OctoPrint neu starten, " +"System herunterfahren oder neu starten" #: src/octoprint/access/permissions.py:301 -msgid "Allows to retrieve a list of all uploaded files and folders, includingtheir metadata (e.g. date, file size, analysis results, ...)" -msgstr "Erlaubt das Abrufen eines Liste aller hochgeladenen Dateien und Verzeichnisse, inkl. ihrer Metadaten (z.B. Datum, Dateigröße, Analyseergebnisse, …)" +msgid "" +"Allows to retrieve a list of all uploaded files and folders, " +"includingtheir metadata (e.g. date, file size, analysis results, ...)" +msgstr "" +"Erlaubt das Abrufen eines Liste aller hochgeladenen Dateien und " +"Verzeichnisse, inkl. ihrer Metadaten (z.B. Datum, Dateigröße, " +"Analyseergebnisse, …)" #: src/octoprint/access/permissions.py:306 -msgid "Allows users to upload new files, create new folders and copy existing ones. If the File Delete permission is also set, File Upload also allows moving files and folders." -msgstr "Erlaubt Nutzern das Hochladen neuer Dateien, Erstellen von Verzeichnissen und Kopieren vorhandener Dateien und Verzeichnisse. Wenn die File Delete Berechtigung ebenfalls gesetzt ist, erlaubt File Upload auch das Verschieben von Dateien und Verzeichnissen." +msgid "" +"Allows users to upload new files, create new folders and copy existing " +"ones. If the File Delete permission is also set, File Upload also allows " +"moving files and folders." +msgstr "" +"Erlaubt Nutzern das Hochladen neuer Dateien, Erstellen von Verzeichnissen" +" und Kopieren vorhandener Dateien und Verzeichnisse. Wenn die File Delete" +" Berechtigung ebenfalls gesetzt ist, erlaubt File Upload auch das " +"Verschieben von Dateien und Verzeichnissen." #: src/octoprint/access/permissions.py:312 -msgid "Allows users to download files. The GCODE viewer is affected by this as well." -msgstr "Erlaubt das Herunterladen von Dateien. Der GCODE viewer benötigt dieses Recht." +msgid "" +"Allows users to download files. The GCODE viewer is affected by this as " +"well." +msgstr "" +"Erlaubt das Herunterladen von Dateien. Der GCODE viewer benötigt dieses " +"Recht." #: src/octoprint/access/permissions.py:317 -msgid "Allows users to delete files and folders. If the File Upload permission is also set, File Delete also allows moving files and folders." -msgstr "Erlaubt Nutzern das Löschen von Dateien und Verzeichnissen. Falls die File Upload Berechtigung ebenfalls gesetzt ist, erlaubt File Delete auch das Verschieben von Dateien und Verzeichnissen." +msgid "" +"Allows users to delete files and folders. If the File Upload permission " +"is also set, File Delete also allows moving files and folders." +msgstr "" +"Erlaubt Nutzern das Löschen von Dateien und Verzeichnissen. Falls die " +"File Upload Berechtigung ebenfalls gesetzt ist, erlaubt File Delete auch " +"das Verschieben von Dateien und Verzeichnissen." #: src/octoprint/access/permissions.py:322 msgid "Allows to select a file for printing" @@ -64,16 +94,28 @@ msgid "Allows to start, pause and cancel a print job" msgstr "Erlaubt das starten, pausieren und abbrechen eines Druckauftrags" #: src/octoprint/access/permissions.py:332 -msgid "Allows access to the GCODE viewer if the \"File Download\"permission is also set." -msgstr "Erlaubt den Zugriff auf den GCODE viewer falls die \"File Download\" Berechtigung ebenfalls gesetzt ist." +msgid "" +"Allows access to the GCODE viewer if the \"File Download\"permission is " +"also set." +msgstr "" +"Erlaubt den Zugriff auf den GCODE viewer falls die \"File Download\" " +"Berechtigung ebenfalls gesetzt ist." #: src/octoprint/access/permissions.py:338 -msgid "Allows to watch the terminal tab but not to send commands to the printer from it" -msgstr "Erlaubt lesenden Zugriff auf das Terminal Tab. Das Senden von Befehlen zum Drucker ist nicht gestattet" +msgid "" +"Allows to watch the terminal tab but not to send commands to the printer " +"from it" +msgstr "" +"Erlaubt lesenden Zugriff auf das Terminal Tab. Das Senden von Befehlen " +"zum Drucker ist nicht gestattet" #: src/octoprint/access/permissions.py:344 -msgid "Allows to control of the printer by using the temperature controls,the control tab or sending commands through the terminal." -msgstr "Erlaubt vollen Zugriff auf den Drucker, inkl. Temperatur, Steuerung oder Senden individueller Befehle über das Terminal." +msgid "" +"Allows to control of the printer by using the temperature controls,the " +"control tab or sending commands through the terminal." +msgstr "" +"Erlaubt vollen Zugriff auf den Drucker, inkl. Temperatur, Steuerung oder " +"Senden individueller Befehle über das Terminal." #: src/octoprint/access/permissions.py:350 msgid "Allows to slice files" @@ -92,12 +134,21 @@ msgid "Allows to delete timelapse videos and unrendered timelapses" msgstr "Erlaubt das Löschen von Zeitrafferaufnahmen und ungerenderten Zeitraffern" #: src/octoprint/access/permissions.py:367 -msgid "Allows to change the timelapse settings and delete or render unrendered timelapses. Includes the \"Timelapse List\",\"Timelapse Delete\" and \"Timelapse Download\" permissions" -msgstr "Erlaubt die Änderung von Zeitraffereinstellungen sowie das Löschen oder Rendern unprozessierter Zeitrafferaufnahmen" +msgid "" +"Allows to change the timelapse settings and delete or render unrendered " +"timelapses. Includes the \"Timelapse List\",\"Timelapse Delete\" and " +"\"Timelapse Download\" permissions" +msgstr "" +"Erlaubt die Änderung von Zeitraffereinstellungen sowie das Löschen oder " +"Rendern unprozessierter Zeitrafferaufnahmen" #: src/octoprint/access/permissions.py:374 -msgid "Allows to read non sensitive settings. Mandatory for the default UI to work." -msgstr "Erlaubt lesenden Zugriff auf allgemeine Einstellungen (jedoch keine kritischen). Obligatorisch für die korrekte Funktion des Userinterfaces." +msgid "" +"Allows to read non sensitive settings. Mandatory for the default UI to " +"work." +msgstr "" +"Erlaubt lesenden Zugriff auf allgemeine Einstellungen (jedoch keine " +"kritischen). Obligatorisch für die korrekte Funktion des Userinterfaces." #: src/octoprint/access/permissions.py:379 msgid "Allows to manage settings and also to read sensitive settings" @@ -116,9 +167,13 @@ msgstr "Erlaubt das Löschen von Druckerbenachrichtigungen" msgid "Printer Notifications" msgstr "Druckerbenachrichtigungen" -#: src/octoprint/plugins/action_command_notification/__init__.py:120 -msgid "Without this plugin your printer will no longer be able to trigger notifications in OctoPrint" -msgstr "Ohne dieses Plugin wird dein Drucker nicht mehr in der Lage sein, Benachrichtigungen in OctoPrint anzuzeigen" +#: src/octoprint/plugins/action_command_notification/__init__.py:124 +msgid "" +"Without this plugin your printer will no longer be able to trigger " +"notifications in OctoPrint" +msgstr "" +"Ohne dieses Plugin wird dein Drucker nicht mehr in der Lage sein, " +"Benachrichtigungen in OctoPrint anzuzeigen" #: src/octoprint/plugins/action_command_notification/static/js/action_command_notification.js:46 msgid "Printer Notification" @@ -138,8 +193,12 @@ msgid "Enable popups" msgstr "Popups aktivieren" #: src/octoprint/plugins/action_command_notification/templates/action_command_notification_settings.jinja2:15 -msgid "Check this if you want notifications to also show up as popups in addition to the notification list in the sidebar" -msgstr "Aktiviere das, wenn du Benachrichtigungen zusätzlich zur Anzeige in der Sidebar auch als Popup angezeigt bekommen möchtest" +msgid "" +"Check this if you want notifications to also show up as popups in " +"addition to the notification list in the sidebar" +msgstr "" +"Aktiviere das, wenn du Benachrichtigungen zusätzlich zur Anzeige in der " +"Sidebar auch als Popup angezeigt bekommen möchtest" #: src/octoprint/plugins/action_command_notification/templates/action_command_notification_sidebar.jinja2:8 msgid "Clear notifications" @@ -158,8 +217,12 @@ msgid "Printer Dialogs" msgstr "Printerdialoge" #: src/octoprint/plugins/action_command_prompt/__init__.py:233 -msgid "Without this plugin your printer will no longer be able to trigger confirmation or selection prompts in OctoPrint" -msgstr "Ohne dieses Plugin wird dein Drucker nicht mehr in der Lage sein, Bestätigungs- oder Auswahldialoge in OctoPrint auszulösen" +msgid "" +"Without this plugin your printer will no longer be able to trigger " +"confirmation or selection prompts in OctoPrint" +msgstr "" +"Ohne dieses Plugin wird dein Drucker nicht mehr in der Lage sein, " +"Bestätigungs- oder Auswahldialoge in OctoPrint auszulösen" #: src/octoprint/plugins/action_command_prompt/static/js/action_command_prompt.js:43 #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_navbar.jinja2:1 @@ -175,8 +238,12 @@ msgid "Enable support" msgstr "Unterstützung aktivieren" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:8 -msgid "If detected as supported by the firmware (PROMPT_SUPPORT capability)" -msgstr "Falls Unterstützung durch Firmware erkannt (PROMPT_SUPPORT Capability)" +msgid "" +"If detected as supported by the firmware (PROMPT_SUPPORT " +"capability)" +msgstr "" +"Falls Unterstützung durch Firmware erkannt (PROMPT_SUPPORT " +"Capability)" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:11 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:72 @@ -194,6 +261,7 @@ msgid "Never" msgstr "Nie" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:19 +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:80 #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:16 #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:327 #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:105 @@ -203,7 +271,6 @@ msgstr "Nie" #: src/octoprint/templates/dialogs/settings/webcam.jinja2:10 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:25 #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklist.jinja2:5 -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:80 #: src/octoprint/templates/tabs/terminal.jinja2:35 msgid "Advanced options" msgstr "Erweiterte Optionen" @@ -213,24 +280,44 @@ msgid "Dialog command" msgstr "Dialog-Befehl" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:25 -msgid "Use this to define the dialog command. Default is M876. You normally should not have to change this." -msgstr "Benutze dies um den Dialogbefehl zu konfigurieren. Der Standardwert ist M876. Du solltest das normalerweise nicht ändern müssen." +msgid "" +"Use this to define the dialog command. Default is M876. You " +"normally should not have to change this." +msgstr "" +"Benutze dies um den Dialogbefehl zu konfigurieren. Der Standardwert ist " +"M876. Du solltest das normalerweise nicht ändern müssen." #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:31 -msgid "Enable force sending of the configured command to bypass blocking firmware routines if detected as supported. You normally should not have to change this." -msgstr "Senden des konfigurierten Befehls forcieren um blockende Firmwareroutinen zu umgehen, falls Unterstützung erkannt. Du solltest das normalerweise nicht ändern müssen." +msgid "" +"Enable force sending of the configured command to bypass blocking " +"firmware routines if detected as supported. You normally should not have " +"to change this." +msgstr "" +"Senden des konfigurierten Befehls forcieren um blockende Firmwareroutinen" +" zu umgehen, falls Unterstützung erkannt. Du solltest das normalerweise " +"nicht ändern müssen." #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:38 -msgid "Enable signaling to the firmware that we support prompt_* actions if detected as supported. You normally should not have to change this." -msgstr "Der Firmware signalisieren, dass wir prompt_* Aktionen unterstützen, falls Firmwareunterstützung erkannt wird. Du solltest das normalerweise nicht ändern müssen." +msgid "" +"Enable signaling to the firmware that we support prompt_* " +"actions if detected as supported. You normally should not have to change " +"this." +msgstr "" +"Der Firmware signalisieren, dass wir prompt_* Aktionen " +"unterstützen, falls Firmwareunterstützung erkannt wird. Du solltest das " +"normalerweise nicht ändern müssen." #: src/octoprint/plugins/announcements/__init__.py:55 msgid "Allows to read announcements" msgstr "EJrlaubt das Lesen von Ankündigungen" #: src/octoprint/plugins/announcements/__init__.py:60 -msgid "Allows to manage announcement subscriptions. Includes \"Read announcements\" permission" -msgstr "Erlaubt die Verwaltung von Ankündigungen. Beinhaltet die \"Read announcements\" Berechtigung" +msgid "" +"Allows to manage announcement subscriptions. Includes \"Read " +"announcements\" permission" +msgstr "" +"Erlaubt die Verwaltung von Ankündigungen. Beinhaltet die \"Read " +"announcements\" Berechtigung" #: src/octoprint/plugins/announcements/__init__.py:151 #: src/octoprint/plugins/announcements/templates/announcements.jinja2:4 @@ -239,8 +326,12 @@ msgid "Announcements" msgstr "Ankündigungen" #: src/octoprint/plugins/announcements/__init__.py:536 -msgid "Without this plugin you might miss important announcements regarding security or other critical issues concerning OctoPrint." -msgstr "Ohne dieses Plugin könntest du wichtige Benachrichtigung hinsichtlich Security oder kritischer Fehler in OctoPrint verpassen." +msgid "" +"Without this plugin you might miss important announcements regarding " +"security or other critical issues concerning OctoPrint." +msgstr "" +"Ohne dieses Plugin könntest du wichtige Benachrichtigung hinsichtlich " +"Security oder kritischer Fehler in OctoPrint verpassen." #: src/octoprint/plugins/announcements/static/js/announcements.js:51 msgid "Cannot be toggled" @@ -255,8 +346,12 @@ msgid "Enable Channel" msgstr "Kanal aktivieren" #: src/octoprint/plugins/announcements/static/js/announcements.js:267 -msgid "You can edit your announcement subscriptions under Settings > Announcements." -msgstr "Du kannst deine Benachrichtigungsabonnements unter Einstellungen > Benachrichtigungen konfigurieren." +msgid "" +"You can edit your announcement subscriptions under Settings > " +"Announcements." +msgstr "" +"Du kannst deine Benachrichtigungsabonnements unter Einstellungen > " +"Benachrichtigungen konfigurieren." #: src/octoprint/plugins/announcements/static/js/announcements.js:276 #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1133 @@ -331,8 +426,12 @@ msgid "Application Keys" msgstr "Application Keys" #: src/octoprint/plugins/appkeys/__init__.py:443 -msgid "Without this plugin third party clients will no longer be able to obtain an API key without you manually copy-pasting it." -msgstr "Ohne dieses Plugin können Third Party Clients keine API Keys mehr erlangen, ohne dass du sie manuell übertragen musst." +msgid "" +"Without this plugin third party clients will no longer be able to obtain " +"an API key without you manually copy-pasting it." +msgstr "" +"Ohne dieses Plugin können Third Party Clients keine API Keys mehr " +"erlangen, ohne dass du sie manuell übertragen musst." #: src/octoprint/plugins/appkeys/static/js/appkeys.js:97 #: src/octoprint/plugins/appkeys/static/js/appkeys.js:276 @@ -342,8 +441,12 @@ msgstr "Du bist im Begriff, den Application Key \"%(key)s\" zu löschen." #: src/octoprint/plugins/appkeys/static/js/appkeys.js:112 #, python-format -msgid "\"%(app)s\" has requested access to control OctoPrint through the API." -msgstr "\"%(app)s\" möchte Zugriff auf OctoPrint über die API haben." +msgid "" +"\"%(app)s\" has requested access to control OctoPrint " +"through the API." +msgstr "" +"\"%(app)s\" möchte Zugriff auf OctoPrint über die API " +"haben." #: src/octoprint/plugins/appkeys/static/js/appkeys.js:114 msgid "Do you want to allow access to this application with your user account?" @@ -522,8 +625,12 @@ msgid "Restore Backup?" msgstr "Sicherung wiederherstellen?" #: src/octoprint/plugins/backup/__init__.py:1006 -msgid "Without this plugin you will no longer be able to backup & restore your OctoPrint settings and data." -msgstr "Ohne dieses Plugin kannst du deine OctoPrint Einstellung und Daten nicht länger sichern & wiederherstellen." +msgid "" +"Without this plugin you will no longer be able to backup & restore your " +"OctoPrint settings and data." +msgstr "" +"Ohne dieses Plugin kannst du deine OctoPrint Einstellung und Daten nicht " +"länger sichern & wiederherstellen." #: src/octoprint/plugins/backup/static/js/backup.js:92 #, python-format @@ -532,17 +639,27 @@ msgstr "Du bist im Begriff, die Sicherung \"%(name)s\" zu löschen." #: src/octoprint/plugins/backup/static/js/backup.js:108 #, python-format -msgid "You are about to restore the backup file \"%(name)s\". This cannot be undone." +msgid "" +"You are about to restore the backup file \"%(name)s\". This cannot be " +"undone." msgstr "Du bist im Begriff, die Sicherung \"%(name)s\" wiederherzustellen." #: src/octoprint/plugins/backup/static/js/backup.js:124 #, python-format -msgid "You are about to upload and restore the backup file \"%(name)s\". This cannot be undone." -msgstr "Du bist im Begriff, die Sicherung \"%(name)s\" hochzuladen und wiederherzustellen. Das kann nicht rückgängig gemacht werden." +msgid "" +"You are about to upload and restore the backup file \"%(name)s\". This " +"cannot be undone." +msgstr "" +"Du bist im Begriff, die Sicherung \"%(name)s\" hochzuladen und " +"wiederherzustellen. Das kann nicht rückgängig gemacht werden." #: src/octoprint/plugins/backup/static/js/backup.js:135 -msgid "You are about to delete the record of plugins unknown during the last restore." -msgstr "Du bist dabei, die Liste der Plugins zu löschen, die während der letzten Wiederherstellung unbekannt waren." +msgid "" +"You are about to delete the record of plugins unknown during the last " +"restore." +msgstr "" +"Du bist dabei, die Liste der Plugins zu löschen, die während der letzten " +"Wiederherstellung unbekannt waren." #: src/octoprint/plugins/backup/static/js/backup.js:159 #, python-format @@ -559,8 +676,12 @@ msgstr "Backuperstellung fehlgeschlagen" #: src/octoprint/plugins/backup/static/js/backup.js:189 #, python-format -msgid "OctoPrint could not create your backup. Please consult octoprint.log for details. Error: %(error)s" -msgstr "OctoPrint konnte dein Backup nicht erstellen. Bitte konsultiere octoprint.log für Details. Fehler: %(error)s" +msgid "" +"OctoPrint could not create your backup. Please consult " +"octoprint.log for details. Error: %(error)s" +msgstr "" +"OctoPrint konnte dein Backup nicht erstellen. Bitte konsultiere " +"octoprint.log für Details. Fehler: %(error)s" #: src/octoprint/plugins/backup/static/js/backup.js:194 #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:109 @@ -568,8 +689,12 @@ msgid "Restoring from backup..." msgstr "Stelle Sicherung wieder her..." #: src/octoprint/plugins/backup/static/js/backup.js:198 -msgid "Restore failed! Check the above output and octoprint.log for reasons as to why." -msgstr "Wiederherstellung fehlgeschlagen! Prüfe die obige Ausgabe sowie octoprint.log für mögliche Gründe dafür." +msgid "" +"Restore failed! Check the above output and octoprint.log for reasons as " +"to why." +msgstr "" +"Wiederherstellung fehlgeschlagen! Prüfe die obige Ausgabe sowie " +"octoprint.log für mögliche Gründe dafür." #: src/octoprint/plugins/backup/static/js/backup.js:202 msgid "Restore successful! The server will now be restarted!" @@ -582,13 +707,21 @@ msgstr "Installiere Plugin \"%(plugin)s\"..." #: src/octoprint/plugins/backup/static/js/backup.js:213 #, python-format -msgid "Cannot install plugin \"%(plugin)s\" due to it being incompatible to this OctoPrint version and/or underlying operating system" -msgstr "Kann Plugin \"%(plugin)s\" nicht installieren, da es mit dieser OctoPrint Version oder dem darunter liegenden Betriebssystem inkompatibel ist" +msgid "" +"Cannot install plugin \"%(plugin)s\" due to it being incompatible to this" +" OctoPrint version and/or underlying operating system" +msgstr "" +"Kann Plugin \"%(plugin)s\" nicht installieren, da es mit dieser OctoPrint" +" Version oder dem darunter liegenden Betriebssystem inkompatibel ist" #: src/octoprint/plugins/backup/static/js/backup.js:219 #, python-format -msgid "There are %(count)d plugins you'll need to install manually since they aren't registered on the repository:" -msgstr "Du musst %(count)d Plugins manuell installieren, da sie nicht im Repository registriert sind:" +msgid "" +"There are %(count)d plugins you'll need to install manually since they " +"aren't registered on the repository:" +msgstr "" +"Du musst %(count)d Plugins manuell installieren, da sie nicht im " +"Repository registriert sind:" #: src/octoprint/plugins/backup/static/js/backup.js:247 msgid "Deleting backups" @@ -600,7 +733,7 @@ msgid "Deleting %(count)d backups..." msgstr "Lösche %(count)d Sicherungen..." #: src/octoprint/plugins/backup/static/js/backup.js:252 -#: src/octoprint/plugins/logging/static/js/logging.js:211 +#: src/octoprint/plugins/logging/static/js/logging.js:242 #: src/octoprint/static/js/app/viewmodels/timelapse.js:366 #: src/octoprint/static/js/app/viewmodels/timelapse.js:380 #, python-format @@ -608,7 +741,7 @@ msgid "Deleted %(filename)s..." msgstr "%(filename)s gelöscht..." #: src/octoprint/plugins/backup/static/js/backup.js:255 -#: src/octoprint/plugins/logging/static/js/logging.js:214 +#: src/octoprint/plugins/logging/static/js/logging.js:245 #: src/octoprint/static/js/app/viewmodels/timelapse.js:369 #: src/octoprint/static/js/app/viewmodels/timelapse.js:383 #, python-format @@ -616,20 +749,26 @@ msgid "Deletion of %(filename)s failed, continuing..." msgstr "Löschen von %(filename)s fehlgeschlagen, fahre fort..." #: src/octoprint/plugins/backup/static/js/backup.js:256 -#: src/octoprint/plugins/logging/static/js/logging.js:215 +#: src/octoprint/plugins/logging/static/js/logging.js:246 #: src/octoprint/static/js/app/viewmodels/timelapse.js:370 #, python-format msgid "Deletion of %(filename)s failed: %(error)s" msgstr "Löschen von %(filename)s fehlgeschlagen: %(error)s" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:2 -msgid "\n" -" Some plugins during the last restore could not be identified and hence not automatically installed.\n" -" Please install them manually, they are listed below including their stated homepages:\n" +msgid "" +"\n" +" Some plugins during the last restore could not be identified and " +"hence not automatically installed.\n" +" Please install them manually, they are listed below including their " +"stated homepages:\n" " " -msgstr "\n" -" Einige Plugins konnten während der letzten Wiederherstellung nicht identifiziert und somit nicht automatisch installiert werden.\n" -" Bitte installiere sie manuell, sie sind nachfolgend zusammen mit ihrer Homepage gelistet:\n" +msgstr "" +"\n" +" Einige Plugins konnten während der letzten Wiederherstellung nicht " +"identifiziert und somit nicht automatisch installiert werden.\n" +" Bitte installiere sie manuell, sie sind nachfolgend zusammen mit " +"ihrer Homepage gelistet:\n" " " #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:9 @@ -645,8 +784,13 @@ msgid "There are no backups. Maybe create one below?" msgstr "Es gibt keine Sicherungen. Erstelle vielleicht eine weiter unten?" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:19 -msgid "These are the backups of your settings and files that already exist on this OctoPrint instance. You may delete, download or restore them." -msgstr "Dies sind die Sicherungen deiner Einstellungen und Dateien, die bereits auf dieser OctoPrint Instanz existieren. Du kannst sie löschen, herunterladen oder wiederherstellen." +msgid "" +"These are the backups of your settings and files that already exist on " +"this OctoPrint instance. You may delete, download or restore them." +msgstr "" +"Dies sind die Sicherungen deiner Einstellungen und Dateien, die bereits " +"auf dieser OctoPrint Instanz existieren. Du kannst sie löschen, " +"herunterladen oder wiederherstellen." #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:31 #: src/octoprint/plugins/logging/templates/logging_settings.jinja2:23 @@ -713,22 +857,37 @@ msgstr "Von einer hochgeladenen Sicherung wiederherstellen" #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:97 msgid "Restore settings & files from an uploaded backup archive." -msgstr "Einstellungen und Dateien von einer hochgeladenen Sicherung wiederherstellen." +msgstr "" +"Einstellungen und Dateien von einer hochgeladenen Sicherung " +"wiederherstellen." #: src/octoprint/plugins/backup/templates/backup_settings.jinja2:104 #, python-format -msgid "Please note that the operating system that this OctoPrint server is running on does not support automatically restoring backups. You will have to restore your backups manually for now." -msgstr "Achtung: Das Betriebssystem, auf dem diese OctoPrint Instanz läuft, unterstützt nicht die automatische Wiederherstellung von Sicherungen. Bis auf weiteres kannst du Sicherungen nur manuell wiederherstellen." +msgid "" +"Please note that the operating system that this OctoPrint server is " +"running on does not support automatically restoring backups. You will " +"have to restore your backups manually for now." +msgstr "" +"Achtung: Das Betriebssystem, auf dem diese OctoPrint Instanz läuft, " +"unterstützt nicht die automatische Wiederherstellung von Sicherungen. Bis" +" auf weiteres kannst du Sicherungen nur manuell " +"wiederherstellen." #: src/octoprint/plugins/backup/templates/backup_wizard.jinja2:1 msgid "Restore from a backup?" msgstr "Von Sicherung wiederherstellen?" #: src/octoprint/plugins/backup/templates/backup_wizard.jinja2:3 -msgid "

    \n" -" If you would like to restore OctoPrint configuration from a backup now is the time.\n" +msgid "" +"

    \n" +" If you would like to restore OctoPrint configuration from a backup " +"now is the time.\n" "

    " -msgstr "

    Falls du die Einstellungen aus einer Sicherung wiederherstellen möchtest kannst du das jetzt machen.

    " +msgstr "" +"

    Falls du die Einstellungen aus einer Sicherung wiederherstellen " +"möchtest kannst du das jetzt machen.

    " #: src/octoprint/plugins/backup/templates/snippets/plugin/backup/backup_plugin_upload_form.jinja2:3 msgid "Backup file" @@ -745,8 +904,13 @@ msgid "Upload & restore" msgstr "Hochladen & wiederherstellen" #: src/octoprint/plugins/corewizard/__init__.py:123 -msgid "Without this plugin OctoPrint will no longer be able to perform setup steps that might be required after an update." -msgstr "Ohne dieses Plugin wird OctoPrint nicht mehr in der Lage sein, wichtige Konfigurationsschritte durchzuführen, die ggf. nach einem Update notwendig sind." +msgid "" +"Without this plugin OctoPrint will no longer be able to perform setup " +"steps that might be required after an update." +msgstr "" +"Ohne dieses Plugin wird OctoPrint nicht mehr in der Lage sein, wichtige " +"Konfigurationsschritte durchzuführen, die ggf. nach einem Update " +"notwendig sind." #: src/octoprint/plugins/corewizard/subwizards.py:31 #: src/octoprint/plugins/corewizard/templates/corewizard_servercommands_wizard.jinja2:1 @@ -754,13 +918,13 @@ msgid "Server Commands" msgstr "Serverbefehle" #: src/octoprint/plugins/corewizard/subwizards.py:50 -#: src/octoprint/server/views.py:631 +#: src/octoprint/server/views.py:621 msgid "Webcam & Timelapse" msgstr "Webcam & Zeitraffer" #: src/octoprint/plugins/corewizard/subwizards.py:65 #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:1 -#: src/octoprint/server/views.py:637 +#: src/octoprint/server/views.py:626 msgid "Access Control" msgstr "Zugangsbeschränkung" @@ -777,78 +941,132 @@ msgid "Default Printer Profile" msgstr "Default Druckerprofil" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:45 -msgid "If you disable Access Control and your OctoPrint installation is accessible from the internet, your printer will be accessible by everyone - that also includes the bad guys!" -msgstr "Wenn Du die Zugangsbeschränkung deaktivierst und Deine OctoPrint Installation vom Internet aus erreichbar ist, kann jeder auf Deinen Drucker zugreifen - auch die bösen Jungs!" +msgid "" +"If you disable Access Control and your OctoPrint " +"installation is accessible from the internet, your printer will " +"be accessible by everyone - that also includes the bad guys!" +msgstr "" +"Wenn Du die Zugangsbeschränkung deaktivierst und Deine " +"OctoPrint Installation vom Internet aus erreichbar ist, kann " +"jeder auf Deinen Drucker zugreifen - auch die bösen " +"Jungs!" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:83 msgid "Please set up Access Control" msgstr "Bitte konfiguriere die Zugangsbeschränkung" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:84 -msgid "You haven't yet set up access control. You need to either setup a username and password and click \"Keep Access Control Enabled\" or click \"Disable Access Control\" before continuing" -msgstr "Du hast noch keine Zugriffsbeschränkung konfiguriert. Du musst entweder einen Nutzernamen und ein Passwort festlegen und auf \"Zugriffsbeschränkung aktivieren\" klicken oder auf \"Zugriffsbeschränkung deaktivieren\" klicken bevor du fortfahren kannst" +msgid "" +"You haven't yet set up access control. You need to either setup a " +"username and password and click \"Keep Access Control Enabled\" or click " +"\"Disable Access Control\" before continuing" +msgstr "" +"Du hast noch keine Zugriffsbeschränkung konfiguriert. Du musst entweder " +"einen Nutzernamen und ein Passwort festlegen und auf " +"\"Zugriffsbeschränkung aktivieren\" klicken oder auf " +"\"Zugriffsbeschränkung deaktivieren\" klicken bevor du fortfahren kannst" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:179 msgid "Please set up the online connectivity check" msgstr "Bitte konfiguriere die Onlineprüfung" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:180 -msgid "You haven't yet decided on whether to enable or disable the online connectivity check. You need to either enable or disable it before continuing." -msgstr "Du hast noch nicht entschieden, ob die Onlineprüfung aktiviert werden soll. Du musst sie entweder aktivieren oder deaktivieren bevor du fortfahren kannst." +msgid "" +"You haven't yet decided on whether to enable or disable the online " +"connectivity check. You need to either enable or disable it before " +"continuing." +msgstr "" +"Du hast noch nicht entschieden, ob die Onlineprüfung aktiviert werden " +"soll. Du musst sie entweder aktivieren oder deaktivieren bevor du " +"fortfahren kannst." #: src/octoprint/plugins/corewizard/static/js/corewizard.js:257 msgid "Please set up the plugin blacklist processing" msgstr "Bitte konfiguriere die Plugin Blackliste" #: src/octoprint/plugins/corewizard/static/js/corewizard.js:258 -msgid "You haven't yet decided on whether to enable or disable the plugin blacklist processing. You need to either enable or disable it before continuing." -msgstr "Du hast noch nicht entschieden, ob die Plugin Blackliste aktiviert werden soll. Du musst sie entweder aktivieren oder deaktivieren bevor du fortfahren kannst." +msgid "" +"You haven't yet decided on whether to enable or disable the plugin " +"blacklist processing. You need to either enable or disable it before " +"continuing." +msgstr "" +"Du hast noch nicht entschieden, ob die Plugin Blackliste aktiviert werden" +" soll. Du musst sie entweder aktivieren oder deaktivieren bevor du " +"fortfahren kannst." #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:3 #, python-format -msgid "

    \n" -" Please read the following, it is very important for your printer's health!\n" +msgid "" +"

    \n" +" Please read the following, it is very important for your " +"printer's health!\n" "

    \n" "

    \n" -" OctoPrint by default ships with Access Control enabled, meaning you won't be able to do anything with the\n" -" printer unless you login first as a configured user. This is to prevent strangers - possibly with\n" -" malicious intent - to gain access to your printer via an untrustworthy network\n" -" and using it in such a way that it is damaged or worse (i.e. causes a fire).\n" +" OctoPrint by default ships with Access Control enabled, meaning you " +"won't be able to do anything with the\n" +" printer unless you login first as a configured user. This is to " +"prevent strangers - possibly with\n" +" malicious intent - to gain access to your printer via an " +"untrustworthy network\n" +" and using it in such a way that it is damaged or worse (i.e. causes a" +" fire).\n" "

    \n" "

    \n" -" If you plan on accessing OctoPrint remotely over the internet, you should not only rely on the built-in\n" +" If you plan on accessing OctoPrint remotely over the internet, " +"you should not only rely on the built-in\n" " Access Control mechanisms however -\n" -" take additional precautions.\n" -" Your OctoPrint enabled printer is a critical home appliance you really should not give anyone who happens to be\n" -" connected to the internet access to - even read-only! An instance available publicly on the internet\n" +" take additional precautions.\n" +" Your OctoPrint enabled printer is a critical home appliance you " +"really should not give anyone who happens to be\n" +" connected to the internet access to - even read-only! An " +"instance available publicly on the internet\n" " will be found, and people will try to break it open.\n" "

    \n" "

    \n" -" It looks like you haven't configured access control yet. Please set up a username and password for the\n" -" initial administrator account who will have full access to both the printer and OctoPrint's settings, then click\n" +" It looks like you haven't configured access control yet. Please " +"set up a username and password for the\n" +" initial administrator account who will have full access to both the " +"printer and OctoPrint's settings, then click\n" " on \"Keep Access Control Enabled\":\n" "

    " -msgstr "

    \n" -" Bitte lies die folgenden Zeilen aufmerksam durch, es ist sehr wichtig für die Gesundheit Deines Druckers!\n" +msgstr "" +"

    \n" +" Bitte lies die folgenden Zeilen aufmerksam durch, es ist sehr" +" wichtig für die Gesundheit Deines Druckers!\n" "

    \n" "

    \n" -" OctoPrint wird standardmäßig mit aktivierter Zugangsbeschränkung ausgeliefert, das heißt, dass Du mit dem Drucker nichts\n" -" anfangen kannst, wenn du nicht als einer der konfigurierten Nutzer eingeloggt bist. Das dient dem Zweck, Fremde mit\n" -" möglicherweise böswilligen Absichten davon abzuhalten, auf Deinen Drucker über ein\n" -" unsicheres Netzwerk zuzugreifen und ihn auf eine Art zu nutzen, die ihn beschädigt oder schlimmeres (z.B. ein Feuer verursacht).\n" +" OctoPrint wird standardmäßig mit aktivierter Zugangsbeschränkung " +"ausgeliefert, das heißt, dass Du mit dem Drucker nichts\n" +" anfangen kannst, wenn du nicht als einer der konfigurierten Nutzer " +"eingeloggt bist. Das dient dem Zweck, Fremde mit\n" +" möglicherweise böswilligen Absichten davon abzuhalten, auf " +"Deinen Drucker über ein\n" +" unsicheres Netzwerk zuzugreifen und ihn auf eine Art zu nutzen, die " +"ihn beschädigt oder schlimmeres (z.B. ein Feuer verursacht).\n" "

    \n" "

    \n" -" Falls du vor hast, auf OctoPrint über das Internet zuzugreifen, solltest du dich nicht nur auf die eingebaute Zugriffsbeschränkung<\n" +" Falls du vor hast, auf OctoPrint über das Internet zuzugreifen, " +"solltest du dich nicht nur auf die eingebaute " +"Zugriffsbeschränkung<\n" ">\n" -" verlassen - triff weitere Maßnahmen.\n" -" Dein mit OctoPrint erweiterter Drucker ist ein kritisches Haushaltsgerät, auf das du wirklich nicht jedem, der Zugriff auf das Internet hat, auch\n" -" nur einen reinen Lesezugriff geben solltest! Eine Instanz, die öffentlich über das Internet erreichbar ist, wird gefunden werden, \n" +" verlassen - triff weitere " +"Maßnahmen.\n" +" Dein mit OctoPrint erweiterter Drucker ist ein kritisches " +"Haushaltsgerät, auf das du wirklich nicht jedem, der Zugriff auf das " +"Internet hat, auch\n" +" nur einen reinen Lesezugriff geben solltest! Eine Instanz, " +"die öffentlich über das Internet erreichbar ist, wird gefunden werden, \n" " und Menschen werden versuchen, in sie einzubrechen.\n" "

    \n" "

    \n" -" Es sieht so aus, als hättest Du die Zugriffsbeschränkung noch nicht konfiguriert. Bitte konfiguriere einen Usernamen\n" -" und ein Passwort für das initiale Administratorkonto, das vollen Zugang zu sowohl dem Drucker als auch OctoPrints\n" -" Einstellungen haben wird, und klicke dann auf \"Zugangsbeschränkung aktivieren\".\n" +" Es sieht so aus, als hättest Du die Zugriffsbeschränkung noch nicht " +"konfiguriert. Bitte konfiguriere einen Usernamen\n" +" und ein Passwort für das initiale Administratorkonto, das " +"vollen Zugang zu sowohl dem Drucker als auch OctoPrints\n" +" Einstellungen haben wird, und klicke dann auf \"Zugangsbeschränkung " +"aktivieren\".\n" "

    " #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:27 @@ -880,22 +1098,32 @@ msgid "Passwords do not match" msgstr "Passwörter nicht identisch" #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:46 -msgid "

    \n" -" Note: In case that your OctoPrint installation is only accessible from within a trustworthy local network and you don't\n" -" need Access Control for other reasons, you may alternatively disable Access Control. You should only\n" -" do this if you are absolutely certain that only people you know and trust will be able to connect to it.\n" +msgid "" +"

    \n" +" Note: In case that your OctoPrint installation is " +"only accessible from within a trustworthy local network and you don't\n" +" need Access Control for other reasons, you may alternatively disable " +"Access Control. You should only\n" +" do this if you are absolutely certain that only people you know and " +"trust will be able to connect to it.\n" "

    \n" "

    \n" -" Do NOT underestimate the risk of access from the internet to your printer and OctoPrint instance!\n" +" Do NOT underestimate the risk of access from the internet to " +"your printer and OctoPrint instance!\n" "

    " -msgstr "

    \n" -" Beachte: Falls Deine OctoPrint Installation ausschließlich innerhalb eines vertrauenswürdigen Netzwerks\n" -" erreicht werden kann und Du die Zugangsbeschränkung nicht für andere Zwecke benötigst, kannst Du sie alternativ auch\n" -" deaktivieren. Du solltest das nur tun, wenn Du Dir absolut sicher bist, dass nur Leute darauf zugreifen können, die du kennst\n" +msgstr "" +"

    \n" +" Beachte: Falls Deine OctoPrint Installation " +"ausschließlich innerhalb eines vertrauenswürdigen Netzwerks\n" +" erreicht werden kann und Du die Zugangsbeschränkung nicht für andere " +"Zwecke benötigst, kannst Du sie alternativ auch\n" +" deaktivieren. Du solltest das nur tun, wenn Du Dir absolut sicher " +"bist, dass nur Leute darauf zugreifen können, die du kennst\n" " und denen du vertraust\n" "

    \n" "

    \n" -" UNTERSCHÄTZE NICHT das Risiko eines ungesicherten Zugriffs aus dem Internet auf Deinen Drucker!\n" +" UNTERSCHÄTZE NICHT das Risiko eines ungesicherten Zugriffs " +"aus dem Internet auf Deinen Drucker!\n" "

    " #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:56 @@ -907,19 +1135,27 @@ msgid "Keep Access Control Enabled" msgstr "Zugangsbeschränkung aktiviert lassen" #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:61 -msgid "\n" -" Access control is enabled.\n" +msgid "" +"\n" +" Access control is enabled.\n" " " -msgstr "\n" -" Zugriffsbeschränkung aktiviert.\n" +msgstr "" +"\n" +" Zugriffsbeschränkung aktiviert.\n" " " #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:64 -msgid "\n" -" Access control is disabled.\n" +msgid "" +"\n" +" Access control is disabled.\n" " " -msgstr "\n" -" Zugriffsbeschränkung deaktiviert.\n" +msgstr "" +"\n" +" Zugriffsbeschränkung deaktiviert.\n" " " #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:1 @@ -927,43 +1163,74 @@ msgid "Configure the connectivity check" msgstr "Konfiguriere die Onlineprüfung" #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:5 -msgid "\n" -" If it is disabled OctoPrint will always assume to have a working connection to the internet.\n" -" If that should not actually be the case, server startups, update checks and the like might take longer.\n" -msgstr "\n" -" Falls der Onlineverbindungscheck deaktiviert ist, wird OctoPrint stets annehmen, mit dem Internet verbunden zu sein.\n" -" Ist das nicht tatsächlich der Fall so können Serverstartups, Updatechecks und dergleichen länger dauern.\n" +msgid "" +"\n" +" If it is disabled OctoPrint will always assume to have a working " +"connection to the internet.\n" +" If that should not actually be the case, server startups, update " +"checks and the like might take longer.\n" +msgstr "" +"\n" +" Falls der Onlineverbindungscheck deaktiviert ist, wird OctoPrint " +"stets annehmen, mit dem Internet verbunden zu sein.\n" +" Ist das nicht tatsächlich der Fall so können Serverstartups, " +"Updatechecks und dergleichen länger dauern.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:10 -msgid "\n" -" OctoPrint comes preconfigured to perform the connectivity check every 15 minutes. You may change the value here.\n" -msgstr "\n" -" OctoPrint führt die Onlineprüfung standardmäßig alle 15 Minuten durch. Du kannst diesen Wert hier ändern.\n" +msgid "" +"\n" +" OctoPrint comes preconfigured to perform the connectivity check every" +" 15 minutes. You may change the value here.\n" +msgstr "" +"\n" +" OctoPrint führt die Onlineprüfung standardmäßig alle 15 Minuten " +"durch. Du kannst diesen Wert hier ändern.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:18 -msgid "\n" -" OctoPrint comes preconfigured to utilize Google's DNS server 8.8.8.8, port 53 for the connectivity check (if\n" -" it's enabled). If you have concerns about using that, define the IP and port of a different online server that you\n" +msgid "" +"\n" +" OctoPrint comes preconfigured to utilize Google's DNS server " +"8.8.8.8, port 53 for the connectivity check (if\n" +" it's enabled). If you have concerns about using that, define the IP " +"and port of a different online server that you\n" " trust and that has a high availability.\n" -msgstr "\n" -" OctoPrint nutzt standardmäßig Googles DNS server 8.8.8.8 auf Port 53 für die Onlineprüfung (wenn diese aktiviert ist).\n" -" Falls du diesbezüglich Bedenken hast, konfiguriere IP und Port eines anderen Servers im Netz dem du vertraust und der hoch verfügbar ist.\n" +msgstr "" +"\n" +" OctoPrint nutzt standardmäßig Googles DNS server 8.8.8.8" +" auf Port 53 für die Onlineprüfung (wenn diese aktiviert ist).\n" +" Falls du diesbezüglich Bedenken hast, konfiguriere IP und Port eines " +"anderen Servers im Netz dem du vertraust und der hoch verfügbar ist.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:30 -msgid "\n" -" If you also want to check if name resolution works (strongly recommended), define a host name\n" -" to check name resolution against. If you don't know what to set here, the default value\n" -" (OctoPrint's domain) should work. If you don't want to perform regular resolution checks along\n" +msgid "" +"\n" +" If you also want to check if name resolution works (strongly " +"recommended), define a host name\n" +" to check name resolution against. If you don't know what to set here," +" the default value\n" +" (OctoPrint's domain) should work. If you don't want to perform " +"regular resolution checks along\n" " side with the general connectivity check, leave the field empty.\n" -msgstr "Falls du auch Überprüfen willst, ob die Namensauflösung funktioniert (sehr empfehlenswert), definiere einen Hostnamen gegen den die Auflösung geprüft werden soll. Falls du nicht weißt, was du hier eintragen sollst, sollte der Defaultwert (OctoPrints Domain) funktionieren. Falls du keine regelmäßigen Prüfungen der Namensauflösung zusammen mit der generellen Konnektivitätsprüfung vornehmen willst, dann lass das Feld leer.\n" +msgstr "" +"Falls du auch Überprüfen willst, ob die Namensauflösung funktioniert " +"(sehr empfehlenswert), definiere einen Hostnamen gegen den die Auflösung " +"geprüft werden soll. Falls du nicht weißt, was du hier eintragen sollst, " +"sollte der Defaultwert (OctoPrints Domain) funktionieren. Falls du keine " +"regelmäßigen Prüfungen der Namensauflösung zusammen mit der generellen " +"Konnektivitätsprüfung vornehmen willst, dann lass das Feld leer.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:44 -msgid "\n" -" Finally, please decide on whether to enable or disable the connectivity check. You may change the configuration at\n" +msgid "" +"\n" +" Finally, please decide on whether to enable or disable the " +"connectivity check. You may change the configuration at\n" " any time through Settings > Server right from within OctoPrint.\n" -msgstr "\n" -" Zum Schluss entscheide noch, ob die Onlineprüfung aktiviert oder deaktiviert werden soll. \n" -" Du kannst diese Entscheidung auch jederzeit unter Einstellungen > Server später noch ändern.\n" +msgstr "" +"\n" +" Zum Schluss entscheide noch, ob die Onlineprüfung aktiviert oder " +"deaktiviert werden soll. \n" +" Du kannst diese Entscheidung auch jederzeit unter Einstellungen > " +"Server später noch ändern.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:50 msgid "Disable Connectivity Check" @@ -974,19 +1241,26 @@ msgid "Enable Connectivity Check" msgstr "Onlineprüfung aktivieren" #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:55 -msgid "\n" -" Connectivity check is enabled.\n" +msgid "" +"\n" +" Connectivity check is enabled.\n" " " -msgstr "\n" +msgstr "" +"\n" " Onlineprüfung aktiviert.\n" " " #: src/octoprint/plugins/corewizard/templates/corewizard_onlinecheck_wizard.jinja2:58 -msgid "\n" -" Connectivity check is disabled.\n" +msgid "" +"\n" +" Connectivity check is disabled.\n" " " -msgstr "\n" -" Onlineprüfung deaktiviert.\n" +msgstr "" +"\n" +" Onlineprüfung deaktiviert." +"\n" " " #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:1 @@ -994,33 +1268,53 @@ msgid "Configure plugin blacklist processing" msgstr "Pluginblackliste konfigurieren" #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:3 -msgid "\n" -" To protect against known severe issues with certain versions of third party plugins, OctoPrint supports the use\n" -" of a centralized plugin version blacklist to automatically disable such plugin versions before they can interfere with\n" -" normal operation, allowing you to uninstall or update them to a newer version.\n" -msgstr "\n" -" Um vor bekannten schweren Fehler mit bestimmten Third-Party-Plugins zu schützen, unterstützt OctoPrint \n" -" die Verwendung einer zentralen Pluginblackliste um automatisiert solche Pluginversionen zu deaktivieren \n" -" bevor sie mit dem normalen Betrieb von OctoPrint interferieren können. Du kannst solche Plugins dann \n" +msgid "" +"\n" +" To protect against known severe issues with certain versions of third" +" party plugins, OctoPrint supports the use\n" +" of a centralized plugin version blacklist to automatically disable " +"such plugin versions before they can interfere with\n" +" normal operation, allowing you to uninstall or update them to a newer" +" version.\n" +msgstr "" +"\n" +" Um vor bekannten schweren Fehler mit bestimmten Third-Party-Plugins " +"zu schützen, unterstützt OctoPrint \n" +" die Verwendung einer zentralen Pluginblackliste um automatisiert " +"solche Pluginversionen zu deaktivieren \n" +" bevor sie mit dem normalen Betrieb von OctoPrint interferieren " +"können. Du kannst solche Plugins dann \n" " deinstallieren oder auf eine neue Version aktualisieren.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:9 #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistDescription.jinja2:7 #, python-format -msgid "\n" -" By default, OctoPrint will use the blacklist hosted at plugins.octoprint.org/blacklist.json which you\n" -" can also take a look at in a more human readable format here.\n" -msgstr "\n" -" Standardmäßig wird OctoPrint die Blackliste von plugins.octoprint.org/blacklist.json verwenden, \n" -" auf die du hier auch einen Blick in menschenlesbarer Form werfen kannst.\n" +msgid "" +"\n" +" By default, OctoPrint will use the blacklist hosted at " +"plugins.octoprint.org/blacklist.json which you\n" +" can also take a look at in a more human readable format here.\n" +msgstr "" +"\n" +" Standardmäßig wird OctoPrint die Blackliste von " +"plugins.octoprint.org/blacklist.json verwenden, \n" +" auf die du hier auch einen " +"Blick in menschenlesbarer Form werfen kannst.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:14 -msgid "\n" -" Please decide whether to allow fetch and use of this centralized blacklist starting with the next server start.\n" -" You may also change your decision at any time through Settings > Server right from within OctoPrint.\n" -msgstr "\n" -" Bitte entscheide, ob die zentrale Pluginblackliste ab dem nächsten Serverstart genutzt werden soll. \n" -" Du kannst diese Entscheidung auch jederzeit unter Einstellungen > Server später noch ändern.\n" +msgid "" +"\n" +" Please decide whether to allow fetch and use of this centralized " +"blacklist starting with the next server start.\n" +" You may also change your decision at any time through Settings > " +"Server right from within OctoPrint.\n" +msgstr "" +"\n" +" Bitte entscheide, ob die zentrale Pluginblackliste ab dem nächsten " +"Serverstart genutzt werden soll. \n" +" Du kannst diese Entscheidung auch jederzeit unter Einstellungen > " +"Server später noch ändern.\n" #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:20 msgid "Disable Plugin Blacklist Processing" @@ -1031,19 +1325,27 @@ msgid "Enable Plugin Blacklist Processing" msgstr "Pluginblackliste aktivieren" #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:25 -msgid "\n" -" Plugin blacklist processing is enabled.\n" +msgid "" +"\n" +" Plugin blacklist processing is enabled.\n" " " -msgstr "\n" -" Pluginblackliste aktiviert.\n" +msgstr "" +"\n" +" Pluginblackliste aktiviert.\n" " " #: src/octoprint/plugins/corewizard/templates/corewizard_pluginblacklist_wizard.jinja2:28 -msgid "\n" -" Plugin blacklist processing is disabled.\n" +msgid "" +"\n" +" Plugin blacklist processing is disabled.\n" " " -msgstr "\n" -" Pluginblackliste deaktiviert.\n" +msgstr "" +"\n" +" Pluginblackliste deaktiviert.\n" " " #: src/octoprint/plugins/corewizard/templates/corewizard_printerprofile_wizard.jinja2:1 @@ -1051,10 +1353,16 @@ msgid "Set up your printer profile" msgstr "Konfiguriere dein Druckerprofil" #: src/octoprint/plugins/corewizard/templates/corewizard_printerprofile_wizard.jinja2:2 -msgid "Please make sure the settings below match your printer. If you plan on connecting more than one printer\n" -"to OctoPrint, you can also configure additional printer profiles under Settings > Printer Profiles" -msgstr "Bitte stelle sicher, dass die folgenden Einstellungen deinem Drucker entsprechen. Falls du planst, mehr als \n" -"einen Drucker mit OctoPrint zu verbinden, kannst du weitere Druckerprofile unter Einstellungen > Druckerprofile konfigurieren" +msgid "" +"Please make sure the settings below match your printer. If you plan on " +"connecting more than one printer\n" +"to OctoPrint, you can also configure additional printer profiles under " +"Settings > Printer Profiles" +msgstr "" +"Bitte stelle sicher, dass die folgenden Einstellungen deinem Drucker " +"entsprechen. Falls du planst, mehr als \n" +"einen Drucker mit OctoPrint zu verbinden, kannst du weitere " +"Druckerprofile unter Einstellungen > Druckerprofile konfigurieren" #: src/octoprint/plugins/corewizard/templates/corewizard_printerprofile_wizard.jinja2:7 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:3 @@ -1081,11 +1389,16 @@ msgid "Hotend & extruder" msgstr "Hotend & Extruder" #: src/octoprint/plugins/corewizard/templates/corewizard_servercommands_wizard.jinja2:3 -msgid "

    \n" -" OctoPrint supports calling external commands in order to restart itself or restarting and/or shutting\n" +msgid "" +"

    \n" +" OctoPrint supports calling external commands in order to restart " +"itself or restarting and/or shutting\n" " down the system it is running on. You may configure those here.\n" "

    " -msgstr "

    OctoPrint kann externe Befehle aufrufen, um sich selbst neu zu starten oder das System, auf dem es läuft, neu zu starten und/oder herunterzufahren. Du kannst diese Befehle hier konfigurieren.

    " +msgstr "" +"

    OctoPrint kann externe Befehle aufrufen, um sich selbst neu zu starten" +" oder das System, auf dem es läuft, neu zu starten und/oder " +"herunterzufahren. Du kannst diese Befehle hier konfigurieren.

    " #: src/octoprint/plugins/corewizard/templates/corewizard_servercommands_wizard.jinja2:8 msgid "OctoPrint related commands" @@ -1100,7 +1413,8 @@ msgid "Webcam & Timelapse Recordings" msgstr "Webcam & Zeitrafferaufnahmen" #: src/octoprint/plugins/corewizard/templates/corewizard_webcam_wizard.jinja2:3 -msgid "

    \n" +msgid "" +"

    \n" " If you have a webcam, you may now configure it here.\n" "

    " msgstr "

    Falls du eine Webcam hast kannst du diese nun hier konfigurieren.

    " @@ -1111,25 +1425,48 @@ msgid "Webcam" msgstr "Webcam" #: src/octoprint/plugins/corewizard/templates/corewizard_webcam_wizard.jinja2:9 -msgid "

    \n" -" The Stream URL is the URL OctoPrint uses to embed the\n" +msgid "" +"

    \n" +" The Stream URL is the URL OctoPrint uses to embed " +"the\n" " actual webcam stream (which should be an MJPG stream) into the web\n" -" interface. This needs to be reachable from your browser.\n" +" interface. This needs to be reachable from your " +"browser.\n" "

    \n" " It may be\n" "

      \n" -"
    • a fully qualified URL (http://host:port/path),
    • \n" +"
    • a fully qualified URL " +"(http://host:port/path),
    • \n" "
    • a URL defaulting to the protocol used for accessing the web\n" " interface (e.g. //host:port/path),
    • \n" -"
    • an absolute path on the same host as OctoPrint (e.g. /absolute/path) or
    • \n" -"
    • a relative path on the same host as OctoPrint (e.g. relative/path)
    • \n" +"
    • an absolute path on the same host as OctoPrint (e.g. " +"/absolute/path) or
    • \n" +"
    • a relative path on the same host as OctoPrint (e.g. " +"relative/path)
    • \n" "
    \n" "

    \n" -" The Snapshot URL is the URL OctoPrint uses to fetch single\n" -" images from the webcam for creating timelapse recordings. This needs to be\n" -" a fully qualified URL reachable from the OctoPrint server.\n" +" The Snapshot URL is the URL OctoPrint uses to fetch " +"single\n" +" images from the webcam for creating timelapse recordings. This needs " +"to be\n" +" a fully qualified URL reachable from the OctoPrint " +"server.\n" "

    " -msgstr "

    Die Stream-URL ist eine URL, die OctoPrint verwendet um den eigentlichen Webcamstream (der ein MJPG Stream sein sollte) in das Webinterface einzubetten. Diese URL muss aus deinem Browser erreichbar sein.

    Mögliche Formen sind:

    • eine voll definierte URL (http://host:port/path)
    • eine URL relative zum Protokoll, über das auf das Webinterface zugegriffen wird (z.B. //host:port/path),
    • ein absoluter Pfad auf dem selben Host wie OctoPrint (z.B. /absolute/path) oder
    • ein relativer Pfad auf dem selben Host wie OctoPrint (z.B. relative/path)

    Die Snapshot-URL ist eine URL, die OctoPrint verwendet um einzelne Bilder von der Webcam für die Erstellung von Zeitrafferaufnahmen zu beziehen. Das muss eine voll definierte URL sein, die vom OctoPrint Server erreichbar ist.

    " +msgstr "" +"

    Die Stream-URL ist eine URL, die OctoPrint verwendet " +"um den eigentlichen Webcamstream (der ein MJPG Stream sein sollte) in das" +" Webinterface einzubetten. Diese URL muss aus deinem " +"Browser erreichbar sein.

    Mögliche Formen sind:

    • eine" +" voll definierte URL (http://host:port/path)
    • eine " +"URL relative zum Protokoll, über das auf das Webinterface zugegriffen " +"wird (z.B. //host:port/path),
    • ein absoluter Pfad auf" +" dem selben Host wie OctoPrint (z.B. /absolute/path) " +"oder
    • ein relativer Pfad auf dem selben Host wie OctoPrint (z.B. " +"relative/path)

    Die Snapshot-" +"URL ist eine URL, die OctoPrint verwendet um einzelne Bilder von" +" der Webcam für die Erstellung von Zeitrafferaufnahmen zu beziehen. Das " +"muss eine voll definierte URL sein, die vom OctoPrint " +"Server erreichbar ist.

    " #: src/octoprint/plugins/corewizard/templates/corewizard_webcam_wizard.jinja2:33 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:17 @@ -1137,17 +1474,25 @@ msgid "Timelapse Recordings" msgstr "Zeitrafferaufnahmen" #: src/octoprint/plugins/corewizard/templates/corewizard_webcam_wizard.jinja2:35 -msgid "

    \n" -" To render the snapshots into timelapse recordings, OctoPrint also needs to\n" +msgid "" +"

    \n" +" To render the snapshots into timelapse recordings, OctoPrint also " +"needs to\n" " know the correct path to FFMPEG.\n" "

    " -msgstr "

    Um Snapshots zu Zeitrafferaufnahmen zu rendern muss OctoPrint auch den korrekten Pfad zu FFMPEG wissen.

    " +msgstr "" +"

    Um Snapshots zu Zeitrafferaufnahmen zu rendern muss OctoPrint auch den" +" korrekten Pfad zu FFMPEG wissen.

    " #: src/octoprint/plugins/discovery/__init__.py:714 -msgid "Without this plugin your OctoPrint instance will no longer be discoverable on the network via Bonjour and uPnP." -msgstr "Ohne dieses Plugin wird deine OctoPrint Instanz nicht mehr in deinem Netzwerk mittels Bonjour oder uPnP automatisch auffindbar sein." +msgid "" +"Without this plugin your OctoPrint instance will no longer be " +"discoverable on the network via Bonjour and uPnP." +msgstr "" +"Ohne dieses Plugin wird deine OctoPrint Instanz nicht mehr in deinem " +"Netzwerk mittels Bonjour oder uPnP automatisch auffindbar sein." -#: src/octoprint/plugins/errortracking/__init__.py:69 +#: src/octoprint/plugins/errortracking/__init__.py:72 #: src/octoprint/plugins/errortracking/templates/errortracking_settings.jinja2:1 msgid "Error Tracking" msgstr "Fehlertracking" @@ -1157,8 +1502,18 @@ msgid "Enable error reporting?" msgstr "Fehlertracking aktivieren?" #: src/octoprint/plugins/errortracking/static/js/errortracking.js:37 -msgid "

    It looks like you are tracking an OctoPrint RC release channel. It would be great if you would enable error reporting so that any kind of errors that occur with an RC can be looked into more easily. Thank you!

    You can find more information on error reporting under Settings > Error Tracking

    " -msgstr "

    Es sieht so also, als hättest du einen OctoPrint RC Release Channel abonniert. Es wäre klasse, wenn du Fehlertracking einschalten würdest, so dass jedwede Art von Fehler, die mit diesem RC auftritt, einfacher untersucht werden kann. Danke!

    Du kannst mehr zum Fehlertracking erfahren unter Einstellungen > Fehlertracking

    " +msgid "" +"

    It looks like you are tracking an OctoPrint RC release channel. It " +"would be great if you would enable error reporting so that any kind of " +"errors that occur with an RC can be looked into more easily. Thank " +"you!

    You can find more information on error reporting under " +"Settings > Error Tracking

    " +msgstr "" +"

    Es sieht so also, als hättest du einen OctoPrint RC Release Channel " +"abonniert. Es wäre klasse, wenn du Fehlertracking einschalten würdest, so" +" dass jedwede Art von Fehler, die mit diesem RC auftritt, einfacher " +"untersucht werden kann. Danke!

    Du kannst mehr zum " +"Fehlertracking erfahren unter Einstellungen > Fehlertracking

    " #: src/octoprint/plugins/errortracking/static/js/errortracking.js:46 #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:310 @@ -1170,33 +1525,47 @@ msgstr "Ignorieren" #: src/octoprint/plugins/errortracking/static/js/errortracking.js:51 msgid "You can still enable error tracking via \"Settings\" > \"Error Tracking\"" -msgstr "Du kannst Fehlertracking immer noch einschalten via \"Einstellungen\" > \"Fehlertracking\"" +msgstr "" +"Du kannst Fehlertracking immer noch einschalten via \"Einstellungen\" > " +"\"Fehlertracking\"" #: src/octoprint/plugins/errortracking/templates/errortracking_settings.jinja2:3 -msgid "\n" +msgid "" +"\n" "

    \n" -" Error tracking will cause any logged exceptions in the server and the browser interface to be sent\n" -" to OctoPrint's Sentry instance.\n" +" Error tracking will cause any logged exceptions in the server and the" +" browser interface to be sent\n" +" to OctoPrint's Sentry instance.\n" "

    \n" "

    \n" -" By enabling it you help to gather detailed information on the cause of bugs or other issues. This is especially valuable\n" -" on release candidates, which is why this plugin will also prompt you to enable error tracking if it detects that\n" +" By enabling it you help to gather detailed information on the cause " +"of bugs or other issues. This is especially valuable\n" +" on release candidates, which is why this plugin will also prompt you " +"to enable error tracking if it detects that\n" " you are subscribed to an RC release channel.\n" "

    \n" "

    \n" -" Please enable this if you are running a release candidate, or are prompted to do so while debugging an issue that you reported.\n" +" Please enable this if you are running a release candidate, or are " +"prompted to do so while debugging an issue that you reported.\n" "

    \n" -msgstr "\n" +msgstr "" +"\n" "

    \n" -" Fehlertracking sendet jede geloggte Exception in Server und Webinterface zu OctoPrint's Sentry-Instanz.\n" +" Fehlertracking sendet jede geloggte Exception in Server und " +"Webinterface zu OctoPrint's Sentry-Instanz.\n" "

    \n" "

    \n" -" Wenn du es einschaltest hilfst du, detaillierte Informationen zu den Hintergründen von Bugs und anderen Problemen to sammeln. Das\n" -" ist besonders wertvoll bei Release Candidates, weshalb dich dieses Plugin auch bittet, es einzuschalten, wenn es erkennt, dass du\n" +" Wenn du es einschaltest hilfst du, detaillierte Informationen zu den " +"Hintergründen von Bugs und anderen Problemen to sammeln. Das\n" +" ist besonders wertvoll bei Release Candidates, weshalb dich dieses " +"Plugin auch bittet, es einzuschalten, wenn es erkennt, dass du\n" " einen RC Release Channel abonniert hast.\n" "

    \n" "

    \n" -" Bitte aktiviere dieses Plugin, wenn du einen Release Candidate nutzt, oder wenn du darum im Rahmen des Debuggings eines von dir gemeldeten\n" +" Bitte aktiviere dieses Plugin, wenn du einen Release Candidate nutzt, " +"oder wenn du darum im Rahmen des Debuggings eines von dir gemeldeten\n" " Problems gebeten wirst.\n" "

    \n" @@ -1219,56 +1588,356 @@ msgid "Instance ID" msgstr "Instanzkennung" #: src/octoprint/plugins/errortracking/templates/errortracking_settings.jinja2:35 -msgid "\n" +msgid "" +"\n" "

    \n" -" The Error Tracking plugin is using a Sentry instance kindly provided by\n" -" sentry.io. For information on their service\n" -" please refer to their Security & Compliance documentation\n" -" and their Privacy Policy.\n" +" The Error Tracking plugin is using a Sentry instance kindly provided " +"by\n" +" sentry.io. For information on their service\n" +" please refer to their Security & Compliance " +"documentation\n" +" and their Privacy Policy.\n" "

    \n" -msgstr "\n" +msgstr "" +"\n" "

    \n" -" Das Fehlertrackingplugin nutzt eine Sentry-Instanz die freundlicherweise von\n" -" sentry.io zur Verfügung gestellt wird. Für Informationen zu ihrem Service\n" -" schau dir bitte ihre Security & Compliance documentation und ihre\n" -" Privacy Policy an.\n" +" Das Fehlertrackingplugin nutzt eine Sentry-Instanz die " +"freundlicherweise von\n" +" sentry.io zur Verfügung gestellt wird. Für Informationen " +"zu ihrem Service\n" +" schau dir bitte ihre Security & Compliance " +"documentation und ihre\n" +" Privacy Policy an.\n" "

    \n" +#: src/octoprint/plugins/gcodeviewer/__init__.py:59 +msgid "GCode Viewer" +msgstr "GCode Viewer" + +#: src/octoprint/plugins/gcodeviewer/__init__.py:62 +msgid "" +"Without this plugin the GCode Viewer in OctoPrint will no longer be " +"available." +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:18 +msgid "Loading..." +msgstr "Lade..." + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:22 +msgid "Analyzing..." +msgstr "Analysiere..." + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:26 +msgid "Analyzed" +msgstr "Analysiert" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:535 +#: src/octoprint/static/js/app/viewmodels/files.js:803 +msgid "Model size" +msgstr "Modelgröße" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:536 +msgid "Estimated layer height" +msgstr "Geschätzte Schichthöhe" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:536 +#: src/octoprint/templates/tabs/timelapse.jinja2:69 +msgid "mm" +msgstr "mm" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:537 +msgid "Estimated total print time" +msgstr "Geschätzte Gesamtdauer" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:538 +msgid "Layers with extrusion" +msgstr "Layer mit Extrusion" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:568 +msgid "Layer number" +msgstr "Schichtnummer" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:569 +msgid "Layer height" +msgstr "Schichthöhe" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:570 +msgid "GCODE commands" +msgstr "GCODE Befehle" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:573 +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:577 +#: src/octoprint/static/js/app/viewmodels/files.js:809 +#: src/octoprint/static/js/app/viewmodels/files.js:813 +msgid "Filament" +msgstr "Filament" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:577 +#: src/octoprint/static/js/app/viewmodels/control.js:73 +#: src/octoprint/static/js/app/viewmodels/files.js:813 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:299 +#: src/octoprint/static/js/app/viewmodels/temperature.js:130 +#: src/octoprint/static/js/app/viewmodels/temperature.js:141 +#: src/octoprint/static/js/app/viewmodels/temperature.js:350 +msgid "Tool" +msgstr "Tool" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:582 +#: src/octoprint/static/js/app/viewmodels/files.js:818 +msgid "Estimated print time" +msgstr "Geschätzte Dauer" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2:2 +#, fuzzy +msgid "Maximum size for which the GCode Viewer autoloads the file for preview" +msgstr "" +"Maximale Größe für die der GCODE Viewer automatisch das Preview der Datei" +" lädt" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2:3 +#, fuzzy +msgid "GCode Viewer file size threshold" +msgstr "Grenze für GCODE Viewer Dateigröße" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2:8 +msgid "on desktop" +msgstr "auf dem Desktop" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2:14 +msgid "on mobile" +msgstr "auf Mobile" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2:18 +#: src/octoprint/templates/dialogs/settings/folders.jinja2:79 +msgid "" +"Provide values including size unit. Allowed units are: b, byte, bytes, " +"kb, mb, gb, tb (case insensitive). Example: 5MB, " +"500KB" +msgstr "" +"Wert inklusive Größeneinheit. Erlaubte Einheiten sind: b, byte, bytes, " +"kb, mb, gb, tb (Groß-/Kleinschreibung irrelevant). Beispiel: " +"5MB, 500KB" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:11 +msgid "Previous layer" +msgstr "Vorherige Schicht" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:14 +msgid "Next layer" +msgstr "Nächste Schicht" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:28 +msgid "Model info" +msgstr "Modelinformationen" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:31 +msgid "Layer info" +msgstr "Schichtinformationen" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:35 +msgid "Renderer options" +msgstr "Rendereroptionen" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:39 +msgid "Sync with job progress" +msgstr "Job mit Fortschritt synchronisieren" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:44 +msgid "Center viewport on model" +msgstr "Ausschnitt auf Modell zentrieren" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:47 +msgid "Zoom in on model" +msgstr "Auf Model zoomen" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:53 +msgid "Show moves" +msgstr "Bewegungen zeigen" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:56 +msgid "Show retracts" +msgstr "Retracts zeigen" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:59 +msgid "Show approx. print head position" +msgstr "Zeige approximierte Druckkopfposition" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:65 +msgid "Also show previous layer" +msgstr "Auch vorherige Schicht anzeigen" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:68 +msgid "Also show current layer" +msgstr "Auch aktuelle Schicht anzeigen" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:71 +msgid "Also show next layer" +msgstr "Auch nächste Schicht anzeigen" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:76 +msgid "Reload" +msgstr "Neu laden" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:84 +msgid "Show visited bounding box" +msgstr "Boundingbox für besuchte Koordinaten anzeigen" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:87 +msgid "Show printed bounding box" +msgstr "Boundingbox für bedruckte Koordinaten anzeigen" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:92 +msgid "Hide empty layers" +msgstr "Leere Schichten verstecken" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:92 +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:95 +msgid "Causes reload" +msgstr "Verursacht einen Reload" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:95 +msgid "Sort layers" +msgstr "Schichten sortieren" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:99 +msgid "Reset options" +msgstr "Optionen zurücksetzen" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:107 +msgid "" +"\n" +" Note that the time and usage values in this tab are " +"estimated by the GCODE viewer in your\n" +" browser and might differ from the values " +"estimated by the server that are displayed in the\n" +" \"State\" and \"Files\" panels in the sidebar due to slightly" +" different implementations. Also note that these\n" +" estimated values may be inaccurate since " +"they can also take information present in the\n" +" GCODE file into account.\n" +" " +msgstr "" +"\n" +" Bitte beachte, dass die Zeit- und Verbrauchsangaben in diesem" +" Tab vom GCODE Viewer in Deinem Browser\n" +" geschätzt wurden und sich von den vom Server" +" geschätzten Werten\n" +" in den \"Status\"- und \"Dateien\"-Panels in der Seitenleiste" +" aufgrund von leichten Unterschieden in der\n" +" Implementierung unterscheiden können. Beachte zudem, dass " +"diese geschätzten Werte\n" +" ungenau sein können, da sie nur auf Informationen aus den " +"GCODE Dateien basieren.\n" +" " + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:117 +#: src/octoprint/templates/dialogs/settings/folders.jinja2:67 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:90 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:447 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:487 +#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87 +#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6 +msgid "Warning" +msgstr "Warnung" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:118 +msgid "" +"

    \n" +" You've selected for printing which has a size of\n" +" . Depending on your machine " +"this\n" +" might be too large for rendering and cause your browser to become" +" unresponsive or crash.\n" +"

    \n" +"\n" +"

    \n" +" Are you sure you want to visualize this file nevertheless?\n" +"

    " +msgstr "" +"

    \n" +" Du hast " +"zum Drucken ausgewählt das\n" +" groß ist. Abhängig von Deinem" +"\n" +" System könnte das zu groß zum Rendern sein und Deinen Browser zum" +" Absturz bringen.\n" +"

    \n" +"\n" +"

    \n" +" Bist Du sicher, dass du die Datei trotzdem visualisieren willst?\n" +"

    " + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:129 +#, python-format +msgid "Yes, please visualize %(name)s regardless of its size" +msgstr "Ja, bitte visualisiere %(name)s unabhängig seiner Größe" + #: src/octoprint/plugins/logging/__init__.py:41 msgid "Allows to download and delete log files and list and set log levels." -msgstr "Erlaubt den Download von Logdateien sowie deren Löschung und das Setzen von Loglevels." +msgstr "" +"Erlaubt den Download von Logdateien sowie deren Löschung und das Setzen " +"von Loglevels." #: src/octoprint/plugins/logging/__init__.py:228 -msgid "Without this plugin you will no longer be able to retrieve OctoPrint's logs or modify the current logging levels through the web interface." -msgstr "Ohne dieses Plugin kannst du OctoPrints Logfiles nicht mehr über das Webinterface herunterladen und auch die aktuellen Loglevel modifizieren." +msgid "" +"Without this plugin you will no longer be able to retrieve OctoPrint's " +"logs or modify the current logging levels through the web interface." +msgstr "" +"Ohne dieses Plugin kannst du OctoPrints Logfiles nicht mehr über das " +"Webinterface herunterladen und auch die aktuellen Loglevel modifizieren." -#: src/octoprint/plugins/logging/static/js/logging.js:115 -msgid "You currently have serial.log enabled. Please remember to turn it off again once your are done debugging whatever issue prompted you to turn it on." -msgstr "Du hast aktuell das serial.log aktiviert. Bitte denk daran, es wieder zu deaktivieren, nachdem du das Problem, für das du das Logging aktiviert hast, debuggt hast." +#: src/octoprint/plugins/logging/static/js/logging.js:120 +msgid "" +"You currently have serial.log enabled. Please remember to " +"turn it off again once your are done debugging whatever issue prompted " +"you to turn it on." +msgstr "" +"Du hast aktuell das serial.log aktiviert. Bitte denk daran, " +"es wieder zu deaktivieren, nachdem du das Problem, für das du das Logging" +" aktiviert hast, debuggt hast." -#: src/octoprint/plugins/logging/static/js/logging.js:118 -msgid "It can negatively impact print performance and also take up a lot of storage space depending on how long you stay connected to your printer and thus should only be used for debugging." -msgstr "Es kann die Druckperformance negativ beeinflussen und außerdem viel Speicherplatz belegen, abhängig davon wie lange du mit deinem Drucker verbunden bleibst, und sollte daher nur für Debuggingzwecke verwendet werden." +#: src/octoprint/plugins/logging/static/js/logging.js:123 +msgid "" +"It can negatively impact print performance and also take up a lot of " +"storage space depending on how long you stay connected to your printer " +"and thus should only be used for debugging." +msgstr "" +"Es kann die Druckperformance negativ beeinflussen und außerdem viel " +"Speicherplatz belegen, abhängig davon wie lange du mit deinem Drucker " +"verbunden bleibst, und sollte daher nur für Debuggingzwecke verwendet " +"werden." -#: src/octoprint/plugins/logging/static/js/logging.js:124 +#: src/octoprint/plugins/logging/static/js/logging.js:129 msgid "Log storage:" msgstr "Logspeicher:" -#: src/octoprint/plugins/logging/static/js/logging.js:160 +#: src/octoprint/plugins/logging/static/js/logging.js:176 #, python-format msgid "You are about to delete log file \"%(name)s\"." msgstr "Du bist im Begriff, das Logfile \"%(name)s\" zu löschen." -#: src/octoprint/plugins/logging/static/js/logging.js:184 +#: src/octoprint/plugins/logging/static/js/logging.js:206 #, python-format msgid "You are about to delete %(count)d log files." msgstr "Du bist im Begriff %(count)d Logfiles zu löschen." -#: src/octoprint/plugins/logging/static/js/logging.js:206 +#: src/octoprint/plugins/logging/static/js/logging.js:237 msgid "Deleting log files" msgstr "Lösche Logfiles" -#: src/octoprint/plugins/logging/static/js/logging.js:207 +#: src/octoprint/plugins/logging/static/js/logging.js:238 #, python-format msgid "Deleting %(count)d log files..." msgstr "Lösche %(count)d Logfiles" @@ -1343,8 +2012,14 @@ msgid "Add" msgstr "Hinzufügen" #: src/octoprint/plugins/loginui/__init__.py:115 -msgid "Without this plugin there will be no dedicated login page for users in case anonymous read only access is disabled - instead your non logged in visitors will get a broken UI." -msgstr "Ohne dieses Plugin wird es keine Loginpage für User geben, falls anonymer Readonly-Zugriff deaktiviert ist - statt dessen wird deinen nicht eingeloggten Nutzerne eine kaputte UI präsentiert." +msgid "" +"Without this plugin there will be no dedicated login page for users in " +"case anonymous read only access is disabled - instead your non logged in " +"visitors will get a broken UI." +msgstr "" +"Ohne dieses Plugin wird es keine Loginpage für User geben, falls anonymer" +" Readonly-Zugriff deaktiviert ist - statt dessen wird deinen nicht " +"eingeloggten Nutzerne eine kaputte UI präsentiert." #: src/octoprint/plugins/loginui/templates/loginui_index.jinja2:19 msgid "Please log in" @@ -1378,7 +2053,9 @@ msgstr "Einloggen" #: src/octoprint/plugins/pi_support/__init__.py:201 msgid "Allows to check for the Pi's throttling status and environment info" -msgstr "Erlaubt die Abfrage des Throttlestatus und der Umgebungsinformationen des Raspberry Pis." +msgstr "" +"Erlaubt die Abfrage des Throttlestatus und der Umgebungsinformationen des" +" Raspberry Pis." #: src/octoprint/plugins/pi_support/__init__.py:237 #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:1 @@ -1386,24 +2063,41 @@ msgid "Pi Support" msgstr "Pi Support" #: src/octoprint/plugins/pi_support/__init__.py:335 -msgid "Without this plugin OctoPrint will no longer be able to provide additional information about your Pi, which will make it more tricky to help you if you need support." -msgstr "Ohne dieses Plugin kann OctoPrint nicht mehr zusätzliche Informationen über deinen Pi Instanz zur Verfügung stellen, was es ggf. schwieriger macht, dir zu helfen, falls du Support brauchst." +msgid "" +"Without this plugin OctoPrint will no longer be able to provide " +"additional information about your Pi, which will make it more tricky to " +"help you if you need support." +msgstr "" +"Ohne dieses Plugin kann OctoPrint nicht mehr zusätzliche Informationen " +"über deinen Pi Instanz zur Verfügung stellen, was es ggf. schwieriger " +"macht, dir zu helfen, falls du Support brauchst." #: src/octoprint/plugins/pi_support/static/js/pi_support.js:35 msgid "OctoPi" msgstr "OctoPi" #: src/octoprint/plugins/pi_support/static/js/pi_support.js:72 -msgid "Undervoltage. Make sure your power supply and cabling are providing enough power to the Pi." -msgstr "Zu niedrige Spannung. Stelle sicher, dass dein Netzteil und die Verkabelung dem Pi genug Strom liefern." +msgid "" +"Undervoltage. Make sure your power supply and cabling are providing " +"enough power to the Pi." +msgstr "" +"Zu niedrige Spannung. Stelle sicher, dass dein Netzteil und die " +"Verkabelung dem Pi genug Strom liefern." #: src/octoprint/plugins/pi_support/static/js/pi_support.js:73 msgid "Frequency capping due to overheating. Improve cooling of the CPU and GPU." -msgstr "Heruntertaktung aufgrund von Überhitzung. Verbessere die Kühlung von CPU und GPU." +msgstr "" +"Heruntertaktung aufgrund von Überhitzung. Verbessere die Kühlung von CPU " +"und GPU." #: src/octoprint/plugins/pi_support/static/js/pi_support.js:74 -msgid "A blinking symbol indicates a current issue, a non blinking symbol one that was observed some time since the Pi booted up." -msgstr "Ein blinkendes Symbol zeigt ein aktuelles Problem an, ein nicht blinkendes ein Problem, das irgendwann seit dem Bootup des Pis aufgetreten ist." +msgid "" +"A blinking symbol indicates a current issue, a non blinking symbol one " +"that was observed some time since the Pi booted up." +msgstr "" +"Ein blinkendes Symbol zeigt ein aktuelles Problem an, ein nicht " +"blinkendes ein Problem, das irgendwann seit dem Bootup des Pis " +"aufgetreten ist." #: src/octoprint/plugins/pi_support/static/js/pi_support.js:75 msgid "Click the symbol in the navbar for more information." @@ -1427,31 +2121,49 @@ msgstr "Überhitzung" #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:3 msgid "Please restart OctoPrint after changing any of this plugin's settings." -msgstr "Bitte starte OctoPrint neu, nachdem du die Einstellungen dieses Plugins geändert hast." +msgstr "" +"Bitte starte OctoPrint neu, nachdem du die Einstellungen dieses Plugins " +"geändert hast." #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:9 -msgid "Enable under voltage and overheat detection via vcgencmd get_throttled" -msgstr "Erkennung zu niedriger Spannung und Überhitzung via vcgencmd get_throttled einschalten" +msgid "" +"Enable under voltage and overheat detection via vcgencmd " +"get_throttled" +msgstr "" +"Erkennung zu niedriger Spannung und Überhitzung via vcgencmd " +"get_throttled einschalten" #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:11 -msgid "This will regularly check with the Pi if something is amiss either with power regulation or CPU/GPU temperature." -msgstr "Es wird regelmäßig geprüft, ob etwas mit der Spannungsversorgung oder der CPU/GPU Temperatur des Pis nicht stimmt." +msgid "" +"This will regularly check with the Pi if something is amiss either with " +"power regulation or CPU/GPU temperature." +msgstr "" +"Es wird regelmäßig geprüft, ob etwas mit der Spannungsversorgung oder der" +" CPU/GPU Temperatur des Pis nicht stimmt." #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:20 msgid "Command for under voltage/overheat detection" msgstr "Befehl für Spannungs-/Überhitzungserkennung" #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:23 -msgid "Defaults to /usr/bin/vcgencmd get_throttled. You usually shouldn't have to change this." -msgstr "Standardeinstellung ist /usr/bin/vcgencmd get_throttled. Du solltest das gewöhnlich nicht ändern müssen." +msgid "" +"Defaults to /usr/bin/vcgencmd get_throttled. You usually " +"shouldn't have to change this." +msgstr "" +"Standardeinstellung ist /usr/bin/vcgencmd get_throttled. Du " +"solltest das gewöhnlich nicht ändern müssen." #: src/octoprint/plugins/pluginmanager/__init__.py:168 msgid "Allows to enable, disable and uninstall installed plugins." -msgstr "Erlaubt das aktivieren, deaktivieren und deinstallieren installierter Plugins." +msgstr "" +"Erlaubt das aktivieren, deaktivieren und deinstallieren installierter " +"Plugins." #: src/octoprint/plugins/pluginmanager/__init__.py:173 msgid "Allows to install new plugins. Includes the \"Manage plugins\" permission." -msgstr "Erlaubt das Installieren neuer Plugins. Beinhaltet die \"Manage plugins\" Berechtigung" +msgstr "" +"Erlaubt das Installieren neuer Plugins. Beinhaltet die \"Manage plugins\"" +" Berechtigung" #: src/octoprint/plugins/pluginmanager/__init__.py:239 msgid "Plugin Manager" @@ -1467,8 +2179,12 @@ msgstr "Es gibt eine Nachricht zu einem deiner installierten Plugins." #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:223 #, python-format -msgid "There are %(count)d plugin notices for one or more of your installed plugins." -msgstr "Es gibt %(count)d Nachrichten zu einem oder mehreren deiner installierten Plugins." +msgid "" +"There are %(count)d plugin notices for one or more of your installed " +"plugins." +msgstr "" +"Es gibt %(count)d Nachrichten zu einem oder mehreren deiner installierten" +" Plugins." #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:331 #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:599 @@ -1586,8 +2302,12 @@ msgstr "Lösche Daten von Plugin \"%(name)s\"" #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:726 #, python-format -msgid "You are about to cleanup the plugin data of \"%(name)s\". This operation cannot be reversed." -msgstr "Du bist im Begriff, die Daten des Plugins \"%(name)s\" zu löschen. Dieser Vorgang kann nicht rückgängig gemacht werden." +msgid "" +"You are about to cleanup the plugin data of \"%(name)s\". This operation " +"cannot be reversed." +msgstr "" +"Du bist im Begriff, die Daten des Plugins \"%(name)s\" zu löschen. Dieser" +" Vorgang kann nicht rückgängig gemacht werden." #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:727 #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:759 @@ -1603,8 +2323,13 @@ msgid "Cleaning up all left over plugin data..." msgstr "Übergebliebene Plugindaten werden gelöscht..." #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:758 -msgid "You are about to cleanup left over plugin settings and data of plugins no longer installed. This operation cannot be reversed." -msgstr "Du bist im Begriff, Daten und Einstellungen von Plugins zu löschen, die nicht mehr installiert sind. Dieser Vorgang kann nicht rückgängig gemacht werden." +msgid "" +"You are about to cleanup left over plugin settings and data of plugins no" +" longer installed. This operation cannot be reversed." +msgstr "" +"Du bist im Begriff, Daten und Einstellungen von Plugins zu löschen, die " +"nicht mehr installiert sind. Dieser Vorgang kann nicht rückgängig gemacht" +" werden." #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:760 msgid "Cleanup all data" @@ -1676,15 +2401,26 @@ msgstr "Alle Daten löschen: %(result)s" #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:930 msgid "A restart is needed for the changes to take effect." -msgstr "Ein Neustart von OctoPrint ist notwendig, damit die Änderungen wirksam werden." +msgstr "" +"Ein Neustart von OctoPrint ist notwendig, damit die Änderungen wirksam " +"werden." #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:938 msgid "Restart now" msgstr "Jetzt neu starten" #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:943 -msgid "This will restart your OctoPrint server.

    This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." -msgstr "Dies wird deinen OctoPrint Server neu starten

    Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." +msgid "" +"This will restart your OctoPrint server.

    This " +"action may disrupt any ongoing print jobs (depending on your printer's " +"controller and general setup that might also apply to prints run directly" +" from your printer's internal storage)." +msgstr "" +"Dies wird deinen OctoPrint Server neu " +"starten

    Diese Aktion wird laufende Druckaufträge " +"unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup " +"gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers" +" laufen lässt)." #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:949 msgid "Restart in progress" @@ -1695,12 +2431,19 @@ msgid "The server is now being restarted in the background" msgstr "Der Server wird nun im Hintergrund neu gestartet" #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:956 -msgid "Trying to restart the server produced an error, please check octoprint.log for details. You'll have to restart manually." -msgstr "Beim Versuch, den Server neu zu starten, ist ein Fehler aufgetreten. Bitte konsultiere octoprint.log für Details. Du musst manuell neu starten." +msgid "" +"Trying to restart the server produced an error, please check " +"octoprint.log for details. You'll have to restart manually." +msgstr "" +"Beim Versuch, den Server neu zu starten, ist ein Fehler aufgetreten. " +"Bitte konsultiere octoprint.log für Details. Du musst manuell neu " +"starten." #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:969 msgid "A refresh is needed for the changes to take effect." -msgstr "Ein Neuladen von OctoPrint ist notwendig, damit die Änderungen wirksam werden." +msgstr "" +"Ein Neuladen von OctoPrint ist notwendig, damit die Änderungen wirksam " +"werden." #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:976 #: src/octoprint/templates/overlays/reloadui.jinja2:14 @@ -1709,7 +2452,9 @@ msgstr "Jetzt neu laden" #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:985 msgid "A reconnect to the printer is needed for the changes to take effect." -msgstr "Ein Reconnect zum Drucker ist notwendig, damit die Änderungen wirksam werden." +msgstr "" +"Ein Reconnect zum Drucker ist notwendig, damit die Änderungen wirksam " +"werden." #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1022 msgid "Error!" @@ -1737,17 +2482,29 @@ msgstr "Plugin disablen" #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1078 #, python-format -msgid "There are %(count)d notices (%(important)d marked as important) available regarding this plugin - click to show!" -msgstr "Es gibt %(count)d Nachrichten (%(important)d als wichtig markiert) zu diesem Plugin - hier klicken um sie anzuzeigen!" +msgid "" +"There are %(count)d notices (%(important)d marked as important) available" +" regarding this plugin - click to show!" +msgstr "" +"Es gibt %(count)d Nachrichten (%(important)d als wichtig markiert) zu " +"diesem Plugin - hier klicken um sie anzuzeigen!" #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1080 #, python-format -msgid "There are %(count)d notices available regarding this plugin - click to show!" -msgstr "Es gibt %(count)d Nachrichten zu diesem Plugin - hier klicken um sie anzuzeigen!" +msgid "" +"There are %(count)d notices available regarding this plugin - click to " +"show!" +msgstr "" +"Es gibt %(count)d Nachrichten zu diesem Plugin - hier klicken um sie " +"anzuzeigen!" #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1084 -msgid "There is an important notice available regarding this plugin - click to show!" -msgstr "Es gibt eine wichtige Nachricht zu diesem Plugin - hier klicken um sie anzuzeigen!" +msgid "" +"There is an important notice available regarding this plugin - click to " +"show!" +msgstr "" +"Es gibt eine wichtige Nachricht zu diesem Plugin - hier klicken um sie " +"anzuzeigen!" #: src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js:1086 msgid "There is a notice available regarding this plugin - click to show!" @@ -1777,45 +2534,78 @@ msgid "Read more..." msgstr "Mehr..." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:3 -msgid "Take note that all plugin management functionality is disabled while your printer is printing or paused." -msgstr "Bitte beachte, dass jegliche Pluginmanagementfunktionen während des Druckens (auch bei Pausierung) deaktiviert sind." +msgid "" +"Take note that all plugin management functionality is disabled while your" +" printer is printing or paused." +msgstr "" +"Bitte beachte, dass jegliche Pluginmanagementfunktionen während des " +"Druckens (auch bei Pausierung) deaktiviert sind." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:8 -msgid "\n" -" The pip command could not be found or does not work correctly\n" -" for this installation of OctoPrint - please consult the log file for details\n" -" and if necessary configure it manually. No installation and uninstallation of plugin\n" +msgid "" +"\n" +" The pip command could not be found or does not work " +"correctly\n" +" for this installation of OctoPrint - please consult the log file for " +"details\n" +" and if necessary configure it manually. No installation and " +"uninstallation of plugin\n" " packages is possible while pip is unavailable.\n" -msgstr "\n" -" Der pip Befehl konnte nicht gefunden werden oder funktioniert nicht richtig - bitte konsultiere die Logdatei für Details und fall nötig konfiguriere den Befehl manuell. Installation und Deinstallation von Plugins ist nicht möglich, solange pip nicht verfügbar ist.\n" +msgstr "" +"\n" +" Der pip Befehl konnte nicht gefunden werden oder " +"funktioniert nicht richtig - bitte konsultiere die Logdatei für Details " +"und fall nötig konfiguriere den Befehl manuell. Installation und " +"Deinstallation von Plugins ist nicht möglich, solange pip " +"nicht verfügbar ist.\n" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:17 -msgid "\n" -" Safe mode is currently active. All third party plugins are disabled and cannot be\n" +msgid "" +"\n" +" Safe mode is currently active. All third party plugins are disabled " +"and cannot be\n" " enabled. Installation of plugin packages is disabled.\n" -msgstr "Der Safe Mode ist aktuell aktiviert. Alle Third-Party-Plugins sind deaktiviert und können nicht aktiviert werden. Installation von Plugins ist deaktiviert." +msgstr "" +"Der Safe Mode ist aktuell aktiviert. Alle Third-Party-Plugins sind " +"deaktiviert und können nicht aktiviert werden. Installation von Plugins " +"ist deaktiviert." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:24 -msgid "\n" -" The system OctoPrint is running on is currently throttled. Due to that it's not possible to install new\n" -" plugins in order to avoid possible issues caused by system instability.\n" -msgstr "Das System, auf dem OctoPrint läuft, ist aktuell leistungsbegrenzt. Um mögliche Probleme in Folge von dadurch\n" -"verursachter Systeminstabilität zu verhindern, ist es daher aktuell nicht möglich, neue Plugins zu installieren.\n" +msgid "" +"\n" +" The system OctoPrint is running on is currently throttled. Due to " +"that it's not possible to install new\n" +" plugins in order to avoid possible issues caused by system " +"instability.\n" +msgstr "" +"Das System, auf dem OctoPrint läuft, ist aktuell leistungsbegrenzt. Um " +"mögliche Probleme in Folge von dadurch\n" +"verursachter Systeminstabilität zu verhindern, ist es daher aktuell nicht" +" möglich, neue Plugins zu installieren.\n" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:31 -msgid "\n" -" It looks like OctoPrint has currently no connection to the internet. Due to that it's not possible\n" +msgid "" +"\n" +" It looks like OctoPrint has currently no connection to the internet. " +"Due to that it's not possible\n" " to install new plugins from the plugin repository or archive URLs.\n" -msgstr "OctoPrint scheint zur Zeit keine Verbindung zum Internet zu haben. Daher ist es nicht möglich, neue Plugins aus dem Pluginrepository oder von URL zu installieren." +msgstr "" +"OctoPrint scheint zur Zeit keine Verbindung zum Internet zu haben. Daher " +"ist es nicht möglich, neue Plugins aus dem Pluginrepository oder von URL " +"zu installieren." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:38 -msgid "\n" -" There appears to have been an error retrieving the plugin data from the backend. Please report this\n" +msgid "" +"\n" +" There appears to have been an error retrieving the plugin data from " +"the backend. Please report this\n" " in the bug tracker & be sure to include all requested logs.\n" -msgstr "Es gab einen Fehler beim Abruf der Plugindaten vom Backend. Bitte melde dies im Bugtracker mit allen erbetenen Logs.\n" +msgstr "" +"Es gab einen Fehler beim Abruf der Plugindaten vom Backend. Bitte melde " +"dies im Bugtracker mit allen erbetenen Logs.\n" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:46 -#: src/octoprint/server/views.py:543 +#: src/octoprint/server/views.py:534 msgid "Plugins" msgstr "Plugins" @@ -1892,7 +2682,9 @@ msgstr "Inkompatibel zu OctoPrint oder der Pythonumgebung" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Restart of OctoPrint needed for changes to take effect" -msgstr "Ein Neustart von OctoPrint ist notwendig, damit die Änderungen wirksam werden" +msgstr "" +"Ein Neustart von OctoPrint ist notwendig, damit die Änderungen wirksam " +"werden" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:95 msgid "Pending install" @@ -1955,8 +2747,12 @@ msgid "Cleanup all" msgstr "Alle Daten löschen" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:184 -msgid "Nothing to cleanup! There are no settings or data left over from plugins which are no longer installed." -msgstr "Nichts zu löschen! Es gibt keine Einstellungen oder Daten, die von Plugins übrig geblieben sind, die nicht mehr installiert sind." +msgid "" +"Nothing to cleanup! There are no settings or data left over from plugins " +"which are no longer installed." +msgstr "" +"Nichts zu löschen! Es gibt keine Einstellungen oder Daten, die von " +"Plugins übrig geblieben sind, die nicht mehr installiert sind." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:204 msgid "Install new Plugins..." @@ -2053,7 +2849,9 @@ msgstr "Ist Deine OctoPrint Installation mit dem Internet verbunden?" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:293 msgid "It looks like there are no plugins that match your search criteria" -msgstr "Es sieht so aus als wären keine Plugins verfügbar, die der Suche entsprechen" +msgstr "" +"Es sieht so aus als wären keine Plugins verfügbar, die der Suche " +"entsprechen" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:298 msgid "... from URL" @@ -2065,20 +2863,34 @@ msgstr "URL eingeben..." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:307 #, python-format -msgid "This does not look like a valid URL. Expected http, https or any of the supported VCS URLs." -msgstr "Das sieht nicht wie eine valide URL aus. Erwarte http, https oder eine der unterstützten VCS URLs." +msgid "" +"This does not look like a valid URL. Expected http, https or any of the " +"supported VCS URLs." +msgstr "" +"Das sieht nicht wie eine valide URL aus. Erwarte http, https oder eine " +"der unterstützten VCS URLs." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:310 msgid "... from an uploaded file" msgstr "... von einer hochgeladenen Datei" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:323 -msgid "This does not look like a valid plugin. Valid plugins should be either zip files or tarballs installable via pip that have the extension \".zip\", \".tar.gz\", \".tgz\" or \".tar\", or single file python plugins with the extension \".py\"" -msgstr "Das sieht nicht wie valides Plugin aus. Valide Plugins sollten entweder Zipdateien oder Tarballs sein, die über pip installiert werden können und die Endungen \".zip\", \".tar.gz\", \".tgz\" oder \".tar\" haben, oder Single File Plugins mit der Endung \".py\"" +msgid "" +"This does not look like a valid plugin. Valid plugins should be either " +"zip files or tarballs installable via pip that have the " +"extension \".zip\", \".tar.gz\", \".tgz\" or \".tar\", or single file " +"python plugins with the extension \".py\"" +msgstr "" +"Das sieht nicht wie valides Plugin aus. Valide Plugins sollten entweder " +"Zipdateien oder Tarballs sein, die über pip installiert " +"werden können und die Endungen \".zip\", \".tar.gz\", \".tgz\" oder " +"\".tar\" haben, oder Single File Plugins mit der Endung \".py\"" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:333 msgid "Use --process-dependency-links with pip install" -msgstr "--process-dependency-link mit pip install verwenden" +msgstr "" +"--process-dependency-link mit pip install " +"verwenden" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:355 msgid "Confirmations" @@ -2090,24 +2902,37 @@ msgid "Confirm before disabling a plugin" msgstr "Deaktivierung eines Plugins bestätigen lassen" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:366 -msgid "You should normally not have to change any of the following settings, they are purely provided for convenience here." -msgstr "Du solltest keine der folgenden Einstellungen ändern müssen, sie sind hier nur aus Gründen der Vollständigkeit aufgeführt." +msgid "" +"You should normally not have to change " +"any of the following settings, they are purely provided " +"for convenience here." +msgstr "" +"Du solltest keine der folgenden Einstellungen ändern " +"müssen, sie sind hier nur aus Gründen der Vollständigkeit aufgeführt." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:369 msgid "Plugin repository configuration" msgstr "Pluginrepositorykonfiguration" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:371 -msgid "URL of the Plugin Repository to use. You should normally not have to change this." -msgstr "URL des zu nutzenden Pluginrepositories. Du solltest hier normalerweise nichts ändern müssen." +msgid "" +"URL of the Plugin Repository to use. You should normally not have to " +"change this." +msgstr "" +"URL des zu nutzenden Pluginrepositories. Du solltest hier normalerweise " +"nichts ändern müssen." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:372 msgid "Repository URL" msgstr "Repository-URL" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:377 -msgid "How long to cache repository data, in minutes. You should normally not have to change this." -msgstr "Wie lange die Repositorydaten gecached werden sollen, in Minuten. Du solltest hier normalerweise nichts ändern müssen." +msgid "" +"How long to cache repository data, in minutes. You should normally not " +"have to change this." +msgstr "" +"Wie lange die Repositorydaten gecached werden sollen, in Minuten. Du " +"solltest hier normalerweise nichts ändern müssen." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:378 msgid "Repository cache TTL" @@ -2118,16 +2943,24 @@ msgid "Notices configuration" msgstr "Nachrichtenkonfiguration" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:391 -msgid "URL of the Notices source to use. You should normally not have to change this." -msgstr "URL der zu nutzenden Nachrichtenquelle. Du solltest hier normalerweise nichts ändern müssen." +msgid "" +"URL of the Notices source to use. You should normally not have to change " +"this." +msgstr "" +"URL der zu nutzenden Nachrichtenquelle. Du solltest hier normalerweise " +"nichts ändern müssen." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:392 msgid "Notices URL" msgstr "Nachrichten URL" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:397 -msgid "How long to cache notices, in minutes. You should normally not have to change this." -msgstr "Wie lange Nachrichten gecached werden sollen, in Minuten. Du solltest hier normalerweise nichts ändern müssen." +msgid "" +"How long to cache notices, in minutes. You should normally not have to " +"change this." +msgstr "" +"Wie lange Nachrichten gecached werden sollen, in Minuten. Du solltest " +"hier normalerweise nichts ändern müssen." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:398 msgid "Notices cache TTL" @@ -2138,15 +2971,21 @@ msgid "pip configuration" msgstr "pip Konfiguration" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:411 -msgid "Additional arguments for the pip command. You should normally not have to change this." -msgstr "Weitere Argument für den pip Befehl. Du solltest hier normalerweise nichts ändern müssen." +msgid "" +"Additional arguments for the pip command. You should normally not have to" +" change this." +msgstr "" +"Weitere Argument für den pip Befehl. Du solltest hier normalerweise " +"nichts ändern müssen." #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:412 msgid "Additional arguments" msgstr "Weitere Argumente" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:420 -msgid "Force the use of the --user flag with pip install" +msgid "" +"Force the use of the --user flag with pip " +"install" msgstr "--user mit pip install verwenden" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:429 @@ -2207,7 +3046,7 @@ msgid "Software Update" msgstr "Software Update" #: src/octoprint/plugins/softwareupdate/__init__.py:1241 -#: src/octoprint/server/views.py:635 +#: src/octoprint/server/views.py:624 #: src/octoprint/static/js/app/viewmodels/appearance.js:99 #: src/octoprint/static/js/app/viewmodels/appearance.js:104 #: src/octoprint/static/js/app/viewmodels/appearance.js:106 @@ -2219,8 +3058,13 @@ msgid "OctoPrint" msgstr "OctoPrint" #: src/octoprint/plugins/softwareupdate/__init__.py:1443 -msgid "Without this plugin OctoPrint will no longer be able to update itself or any of your installed plugins which might put your system at risk." -msgstr "Ohne dieses Plugin wird OctoPrint nicht länger in der Lage sein, sich selbst oder deine installierten Plugins zu aktualisierten. Das könnte dein System gefährden." +msgid "" +"Without this plugin OctoPrint will no longer be able to update itself or " +"any of your installed plugins which might put your system at risk." +msgstr "" +"Ohne dieses Plugin wird OctoPrint nicht länger in der Lage sein, sich " +"selbst oder deine installierten Plugins zu aktualisierten. Das könnte " +"dein System gefährden." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:192 msgid "Release" @@ -2266,28 +3110,47 @@ msgid "Release Notes" msgstr "Release Notes" #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:284 -msgid "This version of the Python environment is not supported for direct updates." -msgstr "Diese Version der Pythonumgebung unterstützt keine direkten Aktualisierungen." +msgid "" +"This version of the Python environment is not supported for direct " +"updates." +msgstr "" +"Diese Version der Pythonumgebung unterstützt keine direkten " +"Aktualisierungen." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:286 -msgid "There's currently not enough free disk space available for a direct update." +msgid "" +"There's currently not enough free disk space available for a direct " +"update." msgstr "Der Plattenplatz reicht aktuell nicht für ein Softwareupdate." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:288 -msgid "Those components marked with can be updated directly." -msgstr "Die mit markierten Komponenten können direkt aktualisiert werden." +msgid "" +"Those components marked with can be updated" +" directly." +msgstr "" +"Die mit markierten Komponenten können " +"direkt aktualisiert werden." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:292 -msgid "To have updates applied, get in touch with an administrator of this OctoPrint instance." -msgstr "Um Updates durchzuführen wende dich bitte an einen Administrator dieser OctoPrint Instanz." +msgid "" +"To have updates applied, get in touch with an administrator of this " +"OctoPrint instance." +msgstr "" +"Um Updates durchzuführen wende dich bitte an einen Administrator dieser " +"OctoPrint Instanz." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:298 msgid "Update Available" msgstr "Aktualisierung verfügbar" #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:314 -msgid "You can make this message display again via \"Settings\" > \"Software Update\" > \"Check for update now\"" -msgstr "Du kannst diese Nachricht erneut anzeigen lassen mittels \"Einstellungen\" > \"Software Update\" > \"Jetzt nach Aktualisierungen suchen\"" +msgid "" +"You can make this message display again via \"Settings\" > \"Software " +"Update\" > \"Check for update now\"" +msgstr "" +"Du kannst diese Nachricht erneut anzeigen lassen mittels " +"\"Einstellungen\" > \"Software Update\" > \"Jetzt nach Aktualisierungen " +"suchen\"" #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:318 msgid "Update now" @@ -2330,41 +3193,66 @@ msgid "Update not started!" msgstr "Aktualisierung nicht gestartet!" #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:486 -msgid "The update could not be started. Is it already active? Please consult octoprint.log for details." -msgstr "Die Aktualisierung konnte nicht gestartet werden. Läuft bereits eine? Bitte konsultiere octoprint.log für Details." +msgid "" +"The update could not be started. Is it already active? Please consult " +"octoprint.log for details." +msgstr "" +"Die Aktualisierung konnte nicht gestartet werden. Läuft bereits eine? " +"Bitte konsultiere octoprint.log für Details." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:508 msgid "Can't update while printing" msgstr "Aktualisierung nicht möglich während gedruckt wird" #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:509 -msgid "A print job is currently in progress. Updating will be prevented until it is done." -msgstr "Ein Druckjob ist zur Zeit aktiv. Aktualisierungen werden unterbunden bis er fertig ist." +msgid "" +"A print job is currently in progress. Updating will be prevented until it" +" is done." +msgstr "" +"Ein Druckjob ist zur Zeit aktiv. Aktualisierungen werden unterbunden bis " +"er fertig ist." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:518 msgid "Can't update while throttled" msgstr "Aktualisierung nicht möglich bei reduzierter Systemleistung" #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:519 -msgid "Your system is currently throttled. OctoPrint refuses to run updates while in this state due to possible stability issues." -msgstr "Das System, auf dem OctoPrint läuft, ist aktuell leistungsbegrenzt. Um mögliche Probleme in Folge von dadurch\n" -"verursachter Systeminstabilität zu verhindern, ist es daher aktuell nicht möglich, Aktualisierungen durchzuführen." +msgid "" +"Your system is currently throttled. OctoPrint refuses to run updates " +"while in this state due to possible stability issues." +msgstr "" +"Das System, auf dem OctoPrint läuft, ist aktuell leistungsbegrenzt. Um " +"mögliche Probleme in Folge von dadurch\n" +"verursachter Systeminstabilität zu verhindern, ist es daher aktuell nicht" +" möglich, Aktualisierungen durchzuführen." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:526 msgid "This will update the following components and restart the server:" -msgstr "Das wird die folgenden Komponenten aktualisieren und den Server neu starten." +msgstr "" +"Das wird die folgenden Komponenten aktualisieren und den Server neu " +"starten." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:537 -msgid "Be sure to read through any linked release notes, especially those for OctoPrint since they might contain important information you need to know before upgrading." -msgstr "Bitte lies alle verlinkten Release Notes, insbesondere die von OctoPrint, da diese wichtige Informationen behinhalten könnten, die Du vor dem Softwareupdate wissen solltest." +msgid "" +"Be sure to read through any linked release notes, especially those for " +"OctoPrint since they might contain important information you need to know" +" before upgrading." +msgstr "" +"Bitte lies alle verlinkten Release Notes, insbesondere die von OctoPrint," +" da diese wichtige Informationen behinhalten könnten, die Du " +"vor dem Softwareupdate wissen solltest." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:538 msgid "This action may disrupt any ongoing print jobs." msgstr "Das könnte laufende Druckaufträge unterbrechen." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:539 -msgid "Depending on your printer's controller and general setup, restarting OctoPrint may cause your printer to be reset." -msgstr "Abhängig von deinem Druckerkontroller und generellem Setup könnte ein Neustart von OctoPrint auch zum Neustart deines Druckers führen." +msgid "" +"Depending on your printer's controller and general setup, restarting " +"OctoPrint may cause your printer to be reset." +msgstr "" +"Abhängig von deinem Druckerkontroller und generellem Setup könnte ein " +"Neustart von OctoPrint auch zum Neustart deines Druckers führen." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:540 #: src/octoprint/static/js/app/helpers.js:745 @@ -2391,7 +3279,9 @@ msgstr "Aktualisierung erfolgreich, starte neu!" #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:692 msgid "The update finished successfully and the server will now be restarted." -msgstr "Die Aktualisierung wurde erfolgreich durchgeführt und der Server wird jetzt neu gestartet." +msgstr "" +"Die Aktualisierung wurde erfolgreich durchgeführt und der Server wird " +"jetzt neu gestartet." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:709 #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:756 @@ -2399,28 +3289,46 @@ msgid "Restart failed" msgstr "Neustart fehlgeschlagen" #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:710 -msgid "The server apparently did not restart by itself, you'll have to do it manually. Please consult octoprint.log on what went wrong." -msgstr "Der Server hat anscheinend nicht von selbst neu gestartet, Du wirst das manuell tun müssen. Bitte konsultiere octoprint.log." +msgid "" +"The server apparently did not restart by itself, you'll have to do it " +"manually. Please consult octoprint.log on what went wrong." +msgstr "" +"Der Server hat anscheinend nicht von selbst neu gestartet, Du wirst das " +"manuell tun müssen. Bitte konsultiere octoprint.log." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:730 msgid "The update finished successfully, please restart OctoPrint now." -msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen, bitte starte OctoPrint jetzt neu." +msgstr "" +"Die Aktualisierung wurde erfolgreich abgeschlossen, bitte starte " +"OctoPrint jetzt neu." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:732 msgid "The update finished successfully, please reboot the server now." -msgstr "Die Aktualisierung wurde erfolgreich abgeschlossen, bitte reboote den Server jetzt." +msgstr "" +"Die Aktualisierung wurde erfolgreich abgeschlossen, bitte reboote den " +"Server jetzt." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:735 msgid "Update successful, restart required!" msgstr "Aktualisierung erfolgreich, Neustart notwendig!" #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:751 -msgid "Restarting OctoPrint failed, please restart it manually. You might also want to consult octoprint.log on what went wrong here." -msgstr "Der Neustart von OctoPrint ist fehlgeschlagen, bitte starte es manuell neu. Du solltest auch octoprint.log konsultieren, um herauszufinden, was hier schief gelaufen ist." +msgid "" +"Restarting OctoPrint failed, please restart it manually. You might also " +"want to consult octoprint.log on what went wrong here." +msgstr "" +"Der Neustart von OctoPrint ist fehlgeschlagen, bitte starte es manuell " +"neu. Du solltest auch octoprint.log konsultieren, um herauszufinden, was " +"hier schief gelaufen ist." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:753 -msgid "Rebooting the server failed, please reboot it manually. You might also want to consult octoprint.log on what went wrong here." -msgstr "Reboot des Servers fehlgeschlagen, bitte reboote ihn manuell. Du solltest auch octoprint.log konsultieren, um herauszufinden, was hier gerade schief gelaufen ist." +msgid "" +"Rebooting the server failed, please reboot it manually. You might also " +"want to consult octoprint.log on what went wrong here." +msgstr "" +"Reboot des Servers fehlgeschlagen, bitte reboote ihn manuell. Du solltest" +" auch octoprint.log konsultieren, um herauszufinden, was hier gerade " +"schief gelaufen ist." #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:772 msgid "Update successful!" @@ -2435,47 +3343,87 @@ msgid "Update failed!" msgstr "Aktualisierung fehlgeschlagen!" #: src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js:789 -msgid "The update did not finish successfully. Please consult octoprint.log and plugin_softwareupdate_console.log for details." -msgstr "Die Aktualisierung wurde nicht erfolgreich abgeschlossen. Bitte konsultiere octoprint.log und plugin_softwareupdate_console.log für Details." +msgid "" +"The update did not finish successfully. Please consult " +"octoprint.log and " +"plugin_softwareupdate_console.log for details." +msgstr "" +"Die Aktualisierung wurde nicht erfolgreich abgeschlossen. Bitte " +"konsultiere octoprint.log und " +"plugin_softwareupdate_console.log für Details." #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:1 -msgid "\n" -" Please configure the checkout folder of OctoPrint, otherwise\n" -" this plugin won't be able to update it. Click on the button\n" -" to do this. Also refer to the Documentation.\n" -msgstr "Bitte konfiguriere das Checkoutverzeichnis von OctoPrint, andernfalls kann dieses Plugin es nicht updaten. Klick dafür auf den Button. Siehe auch die Dokumentation.\n" +msgid "" +"\n" +" Please configure the checkout folder of OctoPrint, " +"otherwise\n" +" this plugin won't be able to update it. Click on the button\n" +" to do this. Also refer to the Documentation.\n" +msgstr "" +"Bitte konfiguriere das Checkoutverzeichnis von OctoPrint, " +"andernfalls kann dieses Plugin es nicht updaten. Klick dafür auf den Button. Siehe auch die Dokumentation.\n" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:6 -msgid "\n" +msgid "" +"\n" "

    \n" -" You are running a non-release version of OctoPrint but are tracking OctoPrint\n" +" You are running a non-release version of OctoPrint but " +"are tracking OctoPrint\n" " releases.\n" "

    \n" -" You probably want OctoPrint to track the matching development version instead.\n" -" If you have a local OctoPrint checkout folder switched to another branch,\n" -" simply switching over to \"Commit\" tracking will already\n" +" You probably want OctoPrint to track the matching development " +"version instead.\n" +" If you have a local OctoPrint checkout folder switched to another" +" branch,\n" +" simply switching over to \"Commit\" tracking " +"will already\n" " take care of that. Otherwise please take a look at the\n" -" Documentation.\n" +" Documentation.\n" "

    \n" -msgstr "\n" -"

    Du nutzt eine unveröffentlichte Version von OctoPrint, trackst aber OctoPrint Releases.

    Du willst vermutlich, dass OctoPrint stattdessen die entsprechende Entwicklungsversion trackt. Falls Du dein lokales OctoPrint-Checkoutverzeichnis auf einen anderen Branch gewechselt hast, dann wechsle das Tracking einfach auf \"Commit\". Ansonsten wirf einen Blick in die Dokumentation.

    \n" +msgstr "" +"\n" +"

    Du nutzt eine unveröffentlichte Version von OctoPrint, " +"trackst aber OctoPrint Releases.

    Du willst " +"vermutlich, dass OctoPrint stattdessen die entsprechende " +"Entwicklungsversion trackt. Falls Du dein lokales OctoPrint-" +"Checkoutverzeichnis auf einen anderen Branch gewechselt hast, dann " +"wechsle das Tracking einfach auf \"Commit\". Ansonsten " +"wirf einen Blick in die Dokumentation.

    \n" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:18 -msgid "\n" +msgid "" +"\n" "

    \n" -" This version of the Python environment is not supported for direct updates.\n" +" This version of the Python environment is not supported " +"for direct updates.\n" "

    \n" "

    \n" -" To reduce the likelihood of running into update problems in outdated environments, the following minimal\n" -" versions are required to use this updater to update OctoPrint or any installed plugins:\n" +" To reduce the likelihood of running into update problems in " +"outdated environments, the following minimal\n" +" versions are required to use this updater to update OctoPrint or " +"any installed plugins:\n" "

    \n" -msgstr "\n" +msgstr "" +"\n" "

    \n" -" Diese Version der Pythonumgebung wird für direkt Aktualisierungen nicht unterstützt.\n" +" Diese Version der Pythonumgebung wird für direkt " +"Aktualisierungen nicht unterstützt.\n" "

    \n" "

    \n" -" Um die Wahrscheinlichkeit von Aktualisierungsproblemen in veralteten Umgebungen zu reduzieren, werden die folgenden minimalen\n" -" Versionen vorausgesetzt, um diesen Updater zur Aktualisierung von OctoPrint oder installierten Plugins zu nutzen:\n" +" Um die Wahrscheinlichkeit von Aktualisierungsproblemen in " +"veralteten Umgebungen zu reduzieren, werden die folgenden minimalen\n" +" Versionen vorausgesetzt, um diesen Updater zur Aktualisierung von" +" OctoPrint oder installierten Plugins zu nutzen:\n" "

    \n" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:28 @@ -2483,81 +3431,116 @@ msgid "you have" msgstr "du hast" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:30 -msgid "\n" +msgid "" +"\n" "

    \n" -" Please take a look at this FAQ entry on how to proceed.\n" +" Please take a look at this FAQ entry on how" +" to proceed.\n" "

    \n" -msgstr "\n" +msgstr "" +"\n" "

    \n" -" Bitte schau dir diesen FAQ Eintrag an.\n" +" Bitte schau dir diesen FAQ Eintrag an.\n" "

    \n" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:35 #, python-format -msgid "\n" +msgid "" +"\n" "

    \n" -" There is not enough free disk space available to run an update.\n" +" There is not enough free disk space available to run an " +"update.\n" "

    \n" "

    \n" -" To reduce the likelihood of running into update problems due to insuffient disk space, OctoPrint requires\n" -" a minimum of %(min_free_storage)s free disk space in various locations:\n" +" To reduce the likelihood of running into update problems due to " +"insuffient disk space, OctoPrint requires\n" +" a minimum of %(min_free_storage)s free disk space in various " +"locations:\n" "

    \n" -msgstr "

    \n" -" Es gibt nicht genug freien Speicherplatz für ein Softwareupdate.\n" +msgstr "" +"

    \n" +" Es gibt nicht genug freien Speicherplatz für ein " +"Softwareupdate.\n" "

    \n" "

    \n" -" Um die Wahrscheinlichkeit von Problemen im Rahmen des Updateprozesses durch mangelnden Speicherplatz zu reduzieren, benötigt OctoPrint mindestens\n" +" Um die Wahrscheinlichkeit von Problemen im Rahmen des Updateprozesses " +"durch mangelnden Speicherplatz zu reduzieren, benötigt OctoPrint " +"mindestens\n" " %(min_free_storage)s freien Speicher in diversen Verzeichnissen:\n" "

    \n" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:47 -msgid "\n" +msgid "" +"\n" "

    \n" -" Please take a look at this FAQ entry on how to proceed.\n" +" Please take a look at this FAQ entry on how to " +"proceed.\n" "

    \n" -msgstr "\n" +msgstr "" +"\n" "

    \n" -" Bitte schau dir diesen FAQ Eintrag an.\n" +" Bitte schau dir diesen FAQ Eintrag an.\n" "

    \n" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:52 -msgid "\n" +msgid "" +"\n" "

    \n" -" OctoPrint is running on a throttled system, updates are disabled.\n" +" OctoPrint is running on a throttled system, updates are " +"disabled.\n" "

    \n" "

    \n" -" To reduce the likelihood of running into update problems on throttled and hence potentially unstable systems\n" -" as seen in the past, OctoPrint doesn't support updating under such conditions. Please fix the current issue\n" -" before trying to update. Take a look at the displayed warning in the navigation bar to learn about what is\n" +" To reduce the likelihood of running into update problems on " +"throttled and hence potentially unstable systems\n" +" as seen in the past, OctoPrint doesn't support updating under " +"such conditions. Please fix the current issue\n" +" before trying to update. Take a look at the displayed warning in " +"the navigation bar to learn about what is\n" " wrong and to get hints on how to solve the problem.\n" "

    \n" -msgstr "\n" +msgstr "" +"\n" "

    \n" -" OctoPrint läuft auf einem leistungsreduzierten System, Updates sind deaktiviert.\n" +" OctoPrint läuft auf einem leistungsreduzierten System, " +"Updates sind deaktiviert.\n" "

    \n" "

    \n" -" Um die Wahrscheinlichkeit von Updateproblemen aufgrund von durch Leistungsreduktion möglicherweise verursachter\n" -" Systeminstabilität zu reduzieren, unterstützt OctoPrint keine Updates unter solchen Bedingungen. Bitte löse das aktuelle\n" -" Problem bevor du ein Update durchführst. Schau dir die angezeigte Warnung in der Navigationsleiste an, finde heraus,\n" +" Um die Wahrscheinlichkeit von Updateproblemen aufgrund von durch " +"Leistungsreduktion möglicherweise verursachter\n" +" Systeminstabilität zu reduzieren, unterstützt OctoPrint keine " +"Updates unter solchen Bedingungen. Bitte löse das aktuelle\n" +" Problem bevor du ein Update durchführst. Schau dir die angezeigte" +" Warnung in der Navigationsleiste an, finde heraus,\n" " was nicht stimmt und wie du es möglicherweise beheben kannst.\n" "

    \n" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:63 -msgid "\n" +msgid "" +"\n" "

    \n" -" OctoPrint is currently printing, updates are disabled.\n" +" OctoPrint is currently printing, updates are " +"disabled.\n" "

    \n" "

    \n" -" Running updates is not supported while printing in order to not risk any kind of disruption to the print job.\n" +" Running updates is not supported while printing in order to not " +"risk any kind of disruption to the print job.\n" " Please let the print finish before trying to update.\n" "

    \n" -msgstr "\n" +msgstr "" +"\n" "

    \n" -" OctoPrint druckt aktuell, Updates sind deaktiviert.\n" +" OctoPrint druckt aktuell, Updates sind " +"deaktiviert.\n" "

    \n" "

    \n" -" Updates sind nicht unterstützt, während OctoPrint druckt. Dadurch werden Unterbrechungen des Druckauftrags vermieden.\n" -" Bitte lass den Druckauftrag erst vollenden, bevor du ein Update anstößt.\n" +" Updates sind nicht unterstützt, während OctoPrint druckt. Dadurch" +" werden Unterbrechungen des Druckauftrags vermieden.\n" +" Bitte lass den Druckauftrag erst vollenden, bevor du ein Update " +"anstößt.\n" "

    \n" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:77 @@ -2598,11 +3581,15 @@ msgstr "Letzter Cacherefresh:" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:108 msgid "Force check for update (overrides cache used for update checks)" -msgstr "Suche nach Aktualisierungen forcieren (ignoriert den Cache für Aktualisierungsinformationen)" +msgstr "" +"Suche nach Aktualisierungen forcieren (ignoriert den Cache für " +"Aktualisierungsinformationen)" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:109 msgid "Force update now (even if no new versions are available)" -msgstr "Aktualisierung forcieren (selbst wenn keine neuen Versionen verfügbar sind)" +msgstr "" +"Aktualisierung forcieren (selbst wenn keine neuen Versionen verfügbar " +"sind)" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:127 msgid "Version cache TTL" @@ -2613,16 +3600,27 @@ msgid "Show update notifications to users" msgstr "Updatebenachrichtigungen auch Usern anzeigen" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:139 -msgid "If you uncheck this, only logged in admins will see update notifications. Update notifications shown to users do not include the \"Update now\" button." -msgstr "Wenn du das deselektierst werden nur eingeloggte Administratoren Updatebenachrichtigungen sehen. Updatebenachrichtigungen, die Usern gezeigt werden, beinhalten keinen \"Jetzt aktualisieren\" Button." +msgid "" +"If you uncheck this, only logged in admins will see update notifications." +" Update notifications shown to users do not include the \"Update now\" " +"button." +msgstr "" +"Wenn du das deselektierst werden nur eingeloggte Administratoren " +"Updatebenachrichtigungen sehen. Updatebenachrichtigungen, die Usern " +"gezeigt werden, beinhalten keinen \"Jetzt aktualisieren\" Button." #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:144 msgid "Minimum free disk space" msgstr "Benötigter freier Speicherplatz" #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:149 -msgid "The minimum amount of free disk space that has to be available on various locations for OctoPrint to allow updates. Should not be set to 0." -msgstr "Der minimal benötigte freie Speicherplatz, der in diversen Verzeichnissen verfügbar sein muss, damit OctoPrint Softwareupdates erlaubt. Sollte nicht auf 0 gesetzt werden." +msgid "" +"The minimum amount of free disk space that has to be available on various" +" locations for OctoPrint to allow updates. Should not be set to 0." +msgstr "" +"Der minimal benötigte freie Speicherplatz, der in diversen Verzeichnissen" +" verfügbar sein muss, damit OctoPrint Softwareupdates erlaubt. Sollte " +"nicht auf 0 gesetzt werden." #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:167 msgid "Update in progress, please wait." @@ -2633,20 +3631,39 @@ msgid "Update done, please close this window." msgstr "Update beendet, bitte schließe diesen Dialog." #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_wizard.jinja2:3 -msgid "

    \n" -" By default, OctoPrint will update itself via pip to published releases or commits pushed\n" -" to Github. OctoPrint can also update itself via git to arbitrary development branches you need to check out manually.\n" -" If you want to do that though it needs to know its checkout folder. You can configure that here.\n" +msgid "" +"

    \n" +" By default, OctoPrint will update itself via pip to " +"published releases or commits pushed\n" +" to Github. OctoPrint can also update itself via git to " +"arbitrary development branches you need to check out manually.\n" +" If you want to do that though it needs to know its checkout folder. " +"You can configure that here.\n" "

    " -msgstr "

    Standardmäßig nutzt OctoPrint pip um sich bei neuen Releases selbst zu aktualisieren. OctoPrint kann sich auch via git von beliebigen manuell ausgecheckten Entwicklungsbranches aktualisieren. Falls du das tun willst muss OctoPrint allerdings auch sein Checkoutfolder kennen. Das kannst du hier konfigurieren.

    " +msgstr "" +"

    Standardmäßig nutzt OctoPrint pip um sich bei neuen " +"Releases selbst zu aktualisieren. OctoPrint kann sich auch via " +"git von beliebigen manuell ausgecheckten " +"Entwicklungsbranches aktualisieren. Falls du das tun willst muss " +"OctoPrint allerdings auch sein Checkoutfolder kennen. Das kannst du hier " +"konfigurieren.

    " #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_wizard.jinja2:15 -msgid "

    \n" -" If you are running a release version of OctoPrint, leave at \"Release\" tracking. If you are running a different\n" -" branch however on a manual checkout, you should setup \"Local Checkout\" tracking. For more special cases you might\n" -" want to select \"Github Commit\" tracking - you normally shouldn't need to however.\n" +msgid "" +"

    \n" +" If you are running a release version of OctoPrint, leave at " +"\"Release\" tracking. If you are running a different\n" +" branch however on a manual checkout, you should setup \"Local " +"Checkout\" tracking. For more special cases you might\n" +" want to select \"Github Commit\" tracking - you normally shouldn't " +"need to however.\n" "

    " -msgstr "

    Wenn du eine Releaseversion von OctoPrint nutzt, lass hier \"Release\" Tracking eingestellt. Falls du allerdings einen anderen Branch nutzt solltest du auf \"Lokaler Checkout\" tracking umstellen. Für speziellere Szenarien möchtest evtl auch \"Githubcommit\" tracking auswählen - normalerweise sollte das jedoch nicht nötig sein.

    " +msgstr "" +"

    Wenn du eine Releaseversion von OctoPrint nutzt, lass hier \"Release\"" +" Tracking eingestellt. Falls du allerdings einen anderen Branch nutzt " +"solltest du auf \"Lokaler Checkout\" tracking umstellen. Für speziellere " +"Szenarien möchtest evtl auch \"Githubcommit\" tracking auswählen - " +"normalerweise sollte das jedoch nicht nötig sein.

    " #: src/octoprint/plugins/softwareupdate/templates/snippets/plugins/softwareupdate/checkoutFolder.jinja2:2 msgid "OctoPrint checkout folder" @@ -2661,8 +3678,17 @@ msgid "Enable pip update checks" msgstr "pip Updatechecks aktivieren" #: src/octoprint/plugins/softwareupdate/templates/snippets/plugins/softwareupdate/pipEnableCheck.jinja2:5 -msgid "If you check this, OctoPrint will also notify you of updates of the pip tool used by OctoPrint to install plugins and updates and allow you to update it through OctoPrint. pip is outside of the control of the OctoPrint maintainer, so enable at your own risk." -msgstr "Wenn du das aktivierst wird dich OctoPrint auch auf Aktualisierungen für das pip Tool hinweisen, das OctoPrint nutzt um Plugins und Updates zu installieren, und dir erlauben, es über OctoPrint zu aktualisieren. pip ist nicht unter der Kontrolle der OctoPrint-Maintainer, aktiviere diese Prüfung auf eigene Gefahr." +msgid "" +"If you check this, OctoPrint will also notify you of updates of the " +"pip tool used by OctoPrint to install plugins and updates " +"and allow you to update it through OctoPrint. pip is outside" +" of the control of the OctoPrint maintainer, so enable at your own risk." +msgstr "" +"Wenn du das aktivierst wird dich OctoPrint auch auf Aktualisierungen für " +"das pip Tool hinweisen, das OctoPrint nutzt um Plugins und " +"Updates zu installieren, und dir erlauben, es über OctoPrint zu " +"aktualisieren. pip ist nicht unter der Kontrolle der " +"OctoPrint-Maintainer, aktiviere diese Prüfung auf eigene Gefahr." #: src/octoprint/plugins/softwareupdate/templates/snippets/plugins/softwareupdate/pipTarget.jinja2:2 msgid "OctoPrint pip target" @@ -2678,8 +3704,16 @@ msgstr "OctoPrint Release Channel" #: src/octoprint/plugins/softwareupdate/templates/snippets/plugins/softwareupdate/releaseChannel.jinja2:5 #, python-format -msgid "Make sure you have read \"How to use the release channels to help test release candidates\" before switching to a release channel other than \"Stable\"" -msgstr "Stelle sicher, dass du \"How to use the release channels to help test release candidates\" gelesen hast, bevor du einen anderen Release Channel als \"Stable\" auswählst." +msgid "" +"Make sure you have read \"How to use the release channels to help " +"test release candidates\" before switching to a release channel other" +" than \"Stable\"" +msgstr "" +"Stelle sicher, dass du \"How to use the release channels to help " +"test release candidates\" gelesen hast, bevor du einen anderen " +"Release Channel als \"Stable\" auswählst." #: src/octoprint/plugins/softwareupdate/templates/snippets/plugins/softwareupdate/trackedBranch.jinja2:2 msgid "Tracked branch" @@ -2700,13 +3734,27 @@ msgid "Please set up anonymous usage tracking" msgstr "Bitte konfiguriere das Anonymous Usage Tracking" #: src/octoprint/plugins/tracking/static/js/usage.js:54 -msgid "You haven't yet decided on whether to enable or disable anonymous usage tracking. You need to either enable or disable it before continuing." -msgstr "Du hast noch nicht entschieden, ob das Anonymous Usage Tracking aktiviert werden soll. Du musst es entweder aktivieren oder deaktivieren bevor du fortfahren kannst." +msgid "" +"You haven't yet decided on whether to enable or disable anonymous usage " +"tracking. You need to either enable or disable it before continuing." +msgstr "" +"Du hast noch nicht entschieden, ob das Anonymous Usage Tracking aktiviert" +" werden soll. Du musst es entweder aktivieren oder deaktivieren bevor du " +"fortfahren kannst." #: src/octoprint/plugins/tracking/static/js/usage.js:78 #, python-format -msgid "Please open a bug report on this. Make sure to include all requested information, including your JS console and octoprint.log." -msgstr "Bitte eröffne einen Bugreport zu diesem Problem. Stelle sicher, dass du alle erbetenen Daten zur Verfügung stellst, inklusive deiner JS console und octoprint.log." +msgid "" +"Please open a bug report on this. Make sure to include all requested " +"information, including your JS console and octoprint.log." +msgstr "" +"Bitte eröffne einen Bugreport zu diesem Problem. Stelle sicher, dass du alle" +" erbetenen Daten zur Verfügung stellst, inklusive deiner JS " +"console und octoprint.log." #: src/octoprint/plugins/tracking/templates/tracking_settings.jinja2:9 msgid "Enable anonymous usage tracking" @@ -2745,8 +3793,12 @@ msgid "Print started/cancelled/finished" msgstr "Druck gestartet/abgebrochen/beendet" #: src/octoprint/plugins/tracking/templates/tracking_settings.jinja2:41 -msgid "Errors in the communication with the printer and/or reported by the firmware" -msgstr "Fehler in der Kommunikation mit dem Drucker und/oder gemeldet von der Firmware" +msgid "" +"Errors in the communication with the printer and/or reported by the " +"firmware" +msgstr "" +"Fehler in der Kommunikation mit dem Drucker und/oder gemeldet von der " +"Firmware" #: src/octoprint/plugins/tracking/templates/tracking_settings.jinja2:44 msgid "Plugin installed/uninstalled/enabled/disabled" @@ -2769,8 +3821,13 @@ msgid "Configure Anonymous Usage Tracking" msgstr "Anonymous Usage Tracking konfigurieren" #: src/octoprint/plugins/tracking/templates/tracking_wizard.jinja2:8 -msgid "Note: You can always change your decision and also access more granular controls via Settings > Anonymous Usage Tracking." -msgstr "Hinweis: Du kannst unter Einstellungen > Anonymous Usage Tracking deine Entscheidung jederzeit ändern und auch auf feinere Einstellungen zugreifen." +msgid "" +"Note: You can always change your decision and also " +"access more granular controls via Settings > Anonymous Usage Tracking." +msgstr "" +"Hinweis: Du kannst unter Einstellungen > Anonymous Usage" +" Tracking deine Entscheidung jederzeit ändern und auch auf feinere " +"Einstellungen zugreifen." #: src/octoprint/plugins/tracking/templates/tracking_wizard.jinja2:12 msgid "Disable Anonymous Usage Tracking" @@ -2781,156 +3838,180 @@ msgid "Enable Anonymous Usage Tracking" msgstr "Anonymous Usage Tracking aktivieren" #: src/octoprint/plugins/tracking/templates/tracking_wizard.jinja2:17 -msgid "\n" -" Anonymous Usage Tracking is enabled.\n" +msgid "" +"\n" +" Anonymous Usage Tracking is enabled.\n" " " -msgstr "\n" -" Anonymous Usage Tracking aktiviert.\n" +msgstr "" +"\n" +" Anonymous Usage Tracking aktiviert.\n" " " #: src/octoprint/plugins/tracking/templates/tracking_wizard.jinja2:20 -msgid "\n" -" Anonymous Usage Tracking is disabled.\n" +msgid "" +"\n" +" Anonymous Usage Tracking is disabled.\n" " " -msgstr "\n" -" Anonymous Usage Tracking deaktiviert.\n" +msgstr "" +"\n" +" Anonymous Usage Tracking deaktiviert.\n" " " #: src/octoprint/plugins/tracking/templates/snippets/plugins/tracking/trackingDescription.jinja2:1 -msgid "\n" +msgid "" +"\n" "

    \n" -" Anonymous usage tracking provides valuable insights into how many instances running what versions of OctoPrint are out there,\n" -" whether they are successfully completing print jobs and various other metrics.\n" +" Anonymous usage tracking provides valuable insights into how many " +"instances running what versions of OctoPrint are out there,\n" +" whether they are successfully completing print jobs and various other" +" metrics.\n" "

    \n" "

    \n" -" By enabling it you help to identify problems with new releases and release candidates early on, and to better\n" +" By enabling it you help to identify problems with new releases and " +"release candidates early on, and to better\n" " tailor OctoPrint's future development to actual use.\n" "

    \n" -msgstr "\n" +msgstr "" +"\n" "

    \n" -" Anonymous Usage Tracking liefert wertvolle Einblicke, wieviele Instanzen welche Versionen von OctoPrint da draußen laufen haben,\n" +" Anonymous Usage Tracking liefert wertvolle Einblicke, wieviele " +"Instanzen welche Versionen von OctoPrint da draußen laufen haben,\n" " ob sie erfolgreich Drucke beenden und weitere Metriken.\n" "

    \n" "

    \n" -" Wenn du es aktivierst, hilfst du, Probleme mit neuen Releases und Release Candidates frühzeitig zu erkennen und OctoPrints\n" -" Weiterentwicklung besser auf seine tatsächliche Nutzung zuzuschneiden.\n" +" Wenn du es aktivierst, hilfst du, Probleme mit neuen Releases und " +"Release Candidates frühzeitig zu erkennen und OctoPrints\n" +" Weiterentwicklung besser auf seine tatsächliche Nutzung " +"zuzuschneiden.\n" "

    \n" #: src/octoprint/plugins/tracking/templates/snippets/plugins/tracking/trackingDetails.jinja2:1 -msgid "\n" -" For details on what gets tracked, please refer to tracking.octoprint.org\n" -" and also the Privacy Policy at tracking.octoprint.org.\n" -msgstr "\n" -" Für Details, was genau getrackt wird, schau bitte auf tracking.octoprint.org\n" -" sowie die Privacy Policy auf tracking.octoprint.org.\n" +msgid "" +"\n" +" For details on what gets tracked, please refer to tracking.octoprint.org\n" +" and also the Privacy Policy at " +"tracking.octoprint.org.\n" +msgstr "" +"\n" +" Für Details, was genau getrackt wird, schau bitte auf tracking.octoprint.org\n" +" sowie die Privacy Policy auf " +"tracking.octoprint.org.\n" #: src/octoprint/plugins/virtual_printer/templates/virtual_printer_settings.jinja2:7 msgid "Enable the virtual printer" msgstr "Virtuellen Drucker aktivieren" #: src/octoprint/plugins/virtual_printer/templates/virtual_printer_settings.jinja2:8 -msgid "If enabled, an additional serial port VIRTUAL will be available for connecting, backed by a fake printer implementation. Useful for development." -msgstr "Wenn aktiviert, so wird ein zusätzlicher Serialport VIRTUAL zur Verbindung zur Verfügung gestellt, mit einer Fake-Druckerimplementierung. Sinnvoll für die Entwicklung." +msgid "" +"If enabled, an additional serial port VIRTUAL will be " +"available for connecting, backed by a fake printer implementation. Useful" +" for development." +msgstr "" +"Wenn aktiviert, so wird ein zusätzlicher Serialport VIRTUAL " +"zur Verbindung zur Verfügung gestellt, mit einer Fake-" +"Druckerimplementierung. Sinnvoll für die Entwicklung." -#: src/octoprint/server/views.py:602 +#: src/octoprint/server/views.py:593 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:12 msgid "Connection" msgstr "Verbindung" -#: src/octoprint/server/views.py:603 +#: src/octoprint/server/views.py:594 #: src/octoprint/templates/sidebar/state.jinja2:1 msgid "State" msgstr "Status" -#: src/octoprint/server/views.py:604 +#: src/octoprint/server/views.py:595 msgid "Files" msgstr "Dateien" -#: src/octoprint/server/views.py:610 +#: src/octoprint/server/views.py:601 msgid "Temperature" msgstr "Temperatur" -#: src/octoprint/server/views.py:611 +#: src/octoprint/server/views.py:602 msgid "Control" msgstr "Steuerung" -#: src/octoprint/server/views.py:612 -msgid "GCode Viewer" -msgstr "GCode Viewer" - -#: src/octoprint/server/views.py:613 +#: src/octoprint/server/views.py:603 msgid "Terminal" msgstr "Terminal" -#: src/octoprint/server/views.py:614 +#: src/octoprint/server/views.py:604 #: src/octoprint/templates/sidebar/state.jinja2:9 msgid "Timelapse" msgstr "Zeitraffer" -#: src/octoprint/server/views.py:620 +#: src/octoprint/server/views.py:610 msgid "Printer" msgstr "Drucker" -#: src/octoprint/server/views.py:622 +#: src/octoprint/server/views.py:612 msgid "Serial Connection" msgstr "Serielle Verbindung" -#: src/octoprint/server/views.py:623 +#: src/octoprint/server/views.py:613 #: src/octoprint/templates/dialogs/settings/printerprofiles.jinja2:1 msgid "Printer Profiles" msgstr "Druckerprofile" -#: src/octoprint/server/views.py:624 +#: src/octoprint/server/views.py:614 msgid "Temperatures" msgstr "Temperaturen" -#: src/octoprint/server/views.py:625 +#: src/octoprint/server/views.py:615 msgid "Terminal Filters" msgstr "Terminalfilter" -#: src/octoprint/server/views.py:626 +#: src/octoprint/server/views.py:616 msgid "GCODE Scripts" msgstr "GCODE Scripts" -#: src/octoprint/server/views.py:628 src/octoprint/server/views.py:630 +#: src/octoprint/server/views.py:618 src/octoprint/server/views.py:620 msgid "Features" msgstr "Funktionen" -#: src/octoprint/server/views.py:632 -msgid "GCODE Visualizer" -msgstr "GCode Viewer" - -#: src/octoprint/server/views.py:633 +#: src/octoprint/server/views.py:622 msgid "API" msgstr "API" -#: src/octoprint/server/views.py:638 +#: src/octoprint/server/views.py:627 #: src/octoprint/templates/dialogs/settings/folders.jinja2:2 #: src/octoprint/templates/sidebar/files_header.jinja2:13 msgid "Folders" msgstr "Verzeichnisse" -#: src/octoprint/server/views.py:639 +#: src/octoprint/server/views.py:628 msgid "Appearance" msgstr "Aussehen" -#: src/octoprint/server/views.py:640 +#: src/octoprint/server/views.py:629 msgid "Server" msgstr "Server" -#: src/octoprint/server/views.py:646 +#: src/octoprint/server/views.py:635 msgid "Access" msgstr "Zugriff" -#: src/octoprint/server/views.py:647 +#: src/octoprint/server/views.py:636 msgid "Interface" msgstr "Interface" -#: src/octoprint/server/views.py:663 +#: src/octoprint/server/views.py:652 msgid "Start" msgstr "Start" -#: src/octoprint/server/views.py:664 +#: src/octoprint/server/views.py:653 #: src/octoprint/templates/dialogs/wizard.jinja2:57 msgid "Finish" msgstr "Beenden" @@ -2941,16 +4022,32 @@ msgid "Shutdown system" msgstr "System herunterfahren" #: src/octoprint/server/api/system.py:188 -msgid "You are about to shutdown the system.

    This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." -msgstr "Dies wird dein System herunterfahren.

    Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." +msgid "" +"You are about to shutdown the system.

    This action " +"may disrupt any ongoing print jobs (depending on your printer's " +"controller and general setup that might also apply to prints run directly" +" from your printer's internal storage)." +msgstr "" +"Dies wird dein System herunterfahren.

    Diese Aktion" +" wird laufende Druckaufträge unterbrechen (abhängig von deinem " +"Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, " +"die du direkt von der SD deines Druckers laufen lässt)." #: src/octoprint/server/api/system.py:191 msgid "Reboot system" msgstr "System neustarten" #: src/octoprint/server/api/system.py:192 -msgid "You are about to reboot the system.

    This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." -msgstr "Dies wird dein System neu starten.

    Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." +msgid "" +"You are about to reboot the system.

    This action " +"may disrupt any ongoing print jobs (depending on your printer's " +"controller and general setup that might also apply to prints run directly" +" from your printer's internal storage)." +msgstr "" +"Dies wird dein System neu starten.

    Diese Aktion " +"wird laufende Druckaufträge unterbrechen (abhängig von deinem " +"Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, " +"die du direkt von der SD deines Druckers laufen lässt)." #: src/octoprint/server/api/system.py:195 #: src/octoprint/templates/snippets/settings/server/serverCommandServerRestart.jinja2:2 @@ -2958,16 +4055,34 @@ msgid "Restart OctoPrint" msgstr "OctoPrint neustarten" #: src/octoprint/server/api/system.py:196 -msgid "You are about to restart the OctoPrint server.

    This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." -msgstr "Dies wird deinen OctoPrint Server neu starten.

    Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." +msgid "" +"You are about to restart the OctoPrint " +"server.

    This action may disrupt any ongoing print jobs " +"(depending on your printer's controller and general setup that might also" +" apply to prints run directly from your printer's internal storage)." +msgstr "" +"Dies wird deinen OctoPrint Server neu " +"starten.

    Diese Aktion wird laufende Druckaufträge " +"unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup " +"gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers" +" laufen lässt)." #: src/octoprint/server/api/system.py:199 msgid "Restart OctoPrint in safe mode" msgstr "OctoPrint im Sicherheitsmodus neustarten" #: src/octoprint/server/api/system.py:200 -msgid "You are about to restart the OctoPrint server in safe mode.

    This action may disrupt any ongoing print jobs (depending on your printer's controller and general setup that might also apply to prints run directly from your printer's internal storage)." -msgstr "Dies wird deinen OctoPrint Server im Safemode neu starten.

    Diese Aktion wird laufende Druckaufträge unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers laufen lässt)." +msgid "" +"You are about to restart the OctoPrint server in safe " +"mode.

    This action may disrupt any ongoing print jobs " +"(depending on your printer's controller and general setup that might also" +" apply to prints run directly from your printer's internal storage)." +msgstr "" +"Dies wird deinen OctoPrint Server im Safemode neu " +"starten.

    Diese Aktion wird laufende Druckaufträge " +"unterbrechen (abhängig von deinem Druckerkontroller und generellem Setup " +"gilt das auch für Druckaufträge, die du direkt von der SD deines Druckers" +" laufen lässt)." #: src/octoprint/static/js/app/dataupdater.js:90 #: src/octoprint/static/js/app/dataupdater.js:109 @@ -2977,12 +4092,27 @@ msgid "Server is offline" msgstr "Der Server ist offline" #: src/octoprint/static/js/app/dataupdater.js:91 -msgid "The server appears to be offline, at least I'm not getting any response from it. I'll try to reconnect automatically over the next couple of minutes, however you are welcome to try a manual reconnect anytime using the button below." -msgstr "Der Server scheint offline zu sein, zumindest kann ich mich nicht mit ihm verbinden. Ich werde in den nächsten Minuten versuchen mich erneut zu verbinden, aber Du kannst mittels des folgenden Buttons auch jederzeit einen manuellen Verbindungsversuch anstoßen." +msgid "" +"The server appears to be offline, at least I'm not getting any response " +"from it. I'll try to reconnect automatically over the next couple" +" of minutes, however you are welcome to try a manual reconnect " +"anytime using the button below." +msgstr "" +"Der Server scheint offline zu sein, zumindest kann ich mich nicht mit ihm" +" verbinden. Ich werde in den nächsten Minuten versuchen " +"mich erneut zu verbinden, aber Du kannst mittels des folgenden Buttons " +"auch jederzeit einen manuellen Verbindungsversuch anstoßen." #: src/octoprint/static/js/app/dataupdater.js:110 -msgid "The server appears to be offline, at least I'm not getting any response from it. I could not reconnect automatically, but you may try a manual reconnect using the button below." -msgstr "Der Server scheint offline zu sein, zumindest kann ich mich nicht mit ihm verbinden. Ich konnte mich nicht automatisch neu verbinden, aber Du kannst mittels des folgenden Buttons einen manuellen Verbindungsversuch anstoßen." +msgid "" +"The server appears to be offline, at least I'm not getting any response " +"from it. I could not reconnect automatically, but you " +"may try a manual reconnect using the button below." +msgstr "" +"Der Server scheint offline zu sein, zumindest kann ich mich nicht mit ihm" +" verbinden. Ich konnte mich nicht automatisch neu " +"verbinden, aber Du kannst mittels des folgenden Buttons einen " +"manuellen Verbindungsversuch anstoßen." #: src/octoprint/static/js/app/dataupdater.js:176 msgid "Unknown" @@ -3006,8 +4136,14 @@ msgstr "Sicherheitsmodus ist aktiv" #: src/octoprint/static/js/app/dataupdater.js:194 #, python-format -msgid "

    The server is currently running in safe mode. Third party plugins and language packs are disabled and cannot be enabled.

    Reason: %(reason)s

    " -msgstr "

    Der Server ist aktuell im Sicherheitsmodus. Third-Party-Plugins sind deaktiviert und können nicht aktiviert werden.

    Grund: %(reason)s

    " +msgid "" +"

    The server is currently running in safe mode. Third party plugins and " +"language packs are disabled and cannot be enabled.

    Reason: " +"%(reason)s

    " +msgstr "" +"

    Der Server ist aktuell im Sicherheitsmodus. Third-Party-Plugins sind " +"deaktiviert und können nicht aktiviert werden.

    Grund: " +"%(reason)s

    " #: src/octoprint/static/js/app/dataupdater.js:238 #: src/octoprint/static/js/app/viewmodels/files.js:1088 @@ -3023,13 +4159,22 @@ msgstr "Fehler vom Drucker gemeldet" #: src/octoprint/static/js/app/dataupdater.js:275 #, python-format -msgid "Your printer's firmware reported an error. Due to that the ongoing print job will be cancelled. Reported error: %(firmwareError)s" -msgstr "Es gab einen unbehandelten Fehler bei der Kommunikation mit dem Drucker. Daher wird der laufende Druckauftrag abgebrochen. Fehler: %(firmwareError)s" +msgid "" +"Your printer's firmware reported an error. Due to that the ongoing print " +"job will be cancelled. Reported error: %(firmwareError)s" +msgstr "" +"Es gab einen unbehandelten Fehler bei der Kommunikation mit dem Drucker. " +"Daher wird der laufende Druckauftrag abgebrochen. Fehler: " +"%(firmwareError)s" #: src/octoprint/static/js/app/dataupdater.js:286 #, python-format -msgid "Your printer's firmware reported an error. Due to that OctoPrint will disconnect. Reported error: %(error)s" -msgstr "Die Firmware Deines Druckers hat einen Fehler gemeldet. Darum hat OctoPrint die Verbindung geschlossen. Gemeldeter Fehler: %(error)s" +msgid "" +"Your printer's firmware reported an error. Due to that OctoPrint will " +"disconnect. Reported error: %(error)s" +msgstr "" +"Die Firmware Deines Druckers hat einen Fehler gemeldet. Darum hat " +"OctoPrint die Verbindung geschlossen. Gemeldeter Fehler: %(error)s" #: src/octoprint/static/js/app/dataupdater.js:292 msgid "Communication error" @@ -3037,8 +4182,14 @@ msgstr "Kommunikationsfehler" #: src/octoprint/static/js/app/dataupdater.js:293 #, python-format -msgid "There was a communication error while talking to your printer. Please consult the terminal output and octoprint.log for details. Error: %(error)s" -msgstr "Es gab einen Fehler bei der Kommunikation mit dem Drucker. Bitte konsultiere den Terminaloutput und octoprint.log für Details. Fehler: %(error)s" +msgid "" +"There was a communication error while talking to your printer. Please " +"consult the terminal output and octoprint.log for details. Error: " +"%(error)s" +msgstr "" +"Es gab einen Fehler bei der Kommunikation mit dem Drucker. Bitte " +"konsultiere den Terminaloutput und octoprint.log für Details. Fehler: " +"%(error)s" #: src/octoprint/static/js/app/dataupdater.js:297 msgid "Error connecting to printer" @@ -3046,7 +4197,9 @@ msgstr "Fehler bei der Verbindung zum Drucker" #: src/octoprint/static/js/app/dataupdater.js:298 #, python-format -msgid "There was an error while trying to connect to your printer. Error: %(error)s" +msgid "" +"There was an error while trying to connect to your printer. Error: " +"%(error)s" msgstr "Es gab einen Fehler bei der Verbindung zum Drucker. Fehler: %(error)s" #: src/octoprint/static/js/app/dataupdater.js:302 @@ -3064,16 +4217,40 @@ msgstr "Unbekannter Fehler" #: src/octoprint/static/js/app/dataupdater.js:312 #, python-format -msgid "There was an unknown error while talking to your printer. Please consult the terminal output and octoprint.log for details. Error: %(error)s" -msgstr "Es gab einen unbekannten Fehler bei der Kommunikation mit dem Drucker. Bitte konsultiere den Terminaloutput und octoprint.log für Details. Fehler: %(error)s" +msgid "" +"There was an unknown error while talking to your printer. Please consult " +"the terminal output and octoprint.log for details. Error: %(error)s" +msgstr "" +"Es gab einen unbekannten Fehler bei der Kommunikation mit dem Drucker. " +"Bitte konsultiere den Terminaloutput und octoprint.log für Details. " +"Fehler: %(error)s" #: src/octoprint/static/js/app/dataupdater.js:332 -msgid "It looks like your printer reset while a connection was active. If this was intentional you may safely ignore this message. Otherwise you should investigate why your printer reset itself, since this will interrupt prints and also file transfers to your printer's SD." -msgstr "Es sieht so als hätte sich der Drucker resettet während eine Verbindung offen war. Falls das Absicht war kannst du diese Nachricht ignorieren. Andernfalls solltest du prüfen, warum sich dein Drucker resettet hat, da dies Druckaufträge und Filetransfers zu der SD Karte deines Druckers unterbrechen wird." +msgid "" +"It looks like your printer reset while a connection was active. If this " +"was intentional you may safely ignore this message. Otherwise you should " +"investigate why your printer reset itself, since this will interrupt " +"prints and also file transfers to your printer's SD." +msgstr "" +"Es sieht so als hätte sich der Drucker resettet während eine Verbindung " +"offen war. Falls das Absicht war kannst du diese Nachricht ignorieren. " +"Andernfalls solltest du prüfen, warum sich dein Drucker resettet hat, da " +"dies Druckaufträge und Filetransfers zu der SD Karte deines Druckers " +"unterbrechen wird." #: src/octoprint/static/js/app/dataupdater.js:335 -msgid "It looks like your printer reset while a connection was active. Due to this the ongoing job was aborted. If this was intentional you may safely ignore this message. Otherwise you should investigate why your printer reset itself, since this will interrupt prints and also file transfers to your printer's SD." -msgstr "Es sieht so als hätte sich der Drucker resettet während eine Verbindung offen war. Darum wurde ein laufender Druckauftrag abgebrochen. Falls das Absicht war kannst du diese Nachricht ignorieren. Andernfalls solltest du prüfen, warum sich dein Drucker resettet hat, da dies Druckaufträge und Filetransfers zu der SD Karte deines Druckers unterbrechen wird." +msgid "" +"It looks like your printer reset while a connection was active. Due to " +"this the ongoing job was aborted. If this was intentional you may safely " +"ignore this message. Otherwise you should investigate why your printer " +"reset itself, since this will interrupt prints and also file transfers to" +" your printer's SD." +msgstr "" +"Es sieht so als hätte sich der Drucker resettet während eine Verbindung " +"offen war. Darum wurde ein laufender Druckauftrag abgebrochen. Falls das " +"Absicht war kannst du diese Nachricht ignorieren. Andernfalls solltest du" +" prüfen, warum sich dein Drucker resettet hat, da dies Druckaufträge und " +"Filetransfers zu der SD Karte deines Druckers unterbrechen wird." #: src/octoprint/static/js/app/dataupdater.js:343 msgid "Printer reset detected" @@ -3250,7 +4427,7 @@ msgstr "Breche ab" msgid "Finishing" msgstr "Beende" -#: src/octoprint/static/js/app/main.js:815 +#: src/octoprint/static/js/app/main.js:833 msgid "Loading OctoPrint's UI, please wait..." msgstr "Lade OctoPrints Userinterface, bitte warten..." @@ -3303,8 +4480,19 @@ msgid "Disconnect" msgstr "Trennen" #: src/octoprint/static/js/app/viewmodels/connection.js:163 -msgid "

    You are about to disconnect from the printer while a print is in progress.

    Disconnecting while a print is in progress will prevent OctoPrint from completing the print. If you're printing from an SD card attached directly to the printer, any attempt to restart OctoPrint or reconnect to the printer could interrupt the print.

    " -msgstr "

    Du bist im Begriff, die Verbindung zu deinem Drucker zu trennen während ein Druck läuft.

    Das Trennen der Verbindung während eines Drucks wird OctoPrint daran hindern, diesen zu vollenden. Falls du von der SD deines Druckers druckst, könnte jeglicher Versuch, OctoPrint neuzustarten oder erneut mit dem Drucker zu verbinden den Druck unterbrechen.

    " +msgid "" +"

    You are about to disconnect from the printer while a print is " +"in progress.

    Disconnecting while a print is in progress " +"will prevent OctoPrint from completing the print. If you're printing from" +" an SD card attached directly to the printer, any attempt to restart " +"OctoPrint or reconnect to the printer could interrupt the print.

    " +msgstr "" +"

    Du bist im Begriff, die Verbindung zu deinem Drucker zu " +"trennen während ein Druck läuft.

    Das Trennen der " +"Verbindung während eines Drucks wird OctoPrint daran hindern, diesen zu " +"vollenden. Falls du von der SD deines Druckers druckst, könnte jeglicher " +"Versuch, OctoPrint neuzustarten oder erneut mit dem Drucker zu verbinden " +"den Druck unterbrechen.

    " #: src/octoprint/static/js/app/viewmodels/connection.js:169 msgid "Are you sure you want to disconnect from the printer?" @@ -3314,15 +4502,6 @@ msgstr "Bist Du sicher, dass du die Verbindung zum Drucker trennen willst?" msgid "Stay Connected" msgstr "Verbunden bleiben" -#: src/octoprint/static/js/app/viewmodels/control.js:73 -#: src/octoprint/static/js/app/viewmodels/files.js:813 -#: src/octoprint/static/js/app/viewmodels/gcode.js:570 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:299 -#: src/octoprint/static/js/app/viewmodels/temperature.js:130 -#: src/octoprint/static/js/app/viewmodels/temperature.js:141 -msgid "Tool" -msgstr "Tool" - #: src/octoprint/static/js/app/viewmodels/control.js:79 msgid "Hotend" msgstr "Hotend" @@ -3354,13 +4533,19 @@ msgstr "Nur \"%(type)s\"-Dateien anzeigen" #: src/octoprint/static/js/app/viewmodels/files.js:522 #, python-format -msgid "You are about to delete the folder \"%(folder)s\" which still contains files and/or sub folders." -msgstr "Du bist im Begriff das Verzeichnis \"%(folder)s\" zu löschen, das noch Dateien und/oder Unterverzeichnisse enthält." +msgid "" +"You are about to delete the folder \"%(folder)s\" which still contains " +"files and/or sub folders." +msgstr "" +"Du bist im Begriff das Verzeichnis \"%(folder)s\" zu löschen, das noch " +"Dateien und/oder Unterverzeichnisse enthält." #: src/octoprint/static/js/app/viewmodels/files.js:550 #: src/octoprint/static/js/app/viewmodels/printerstate.js:348 msgid "This will start a new print job. Please check that the print bed is clear." -msgstr "Dies started einen neuen Druckauftrag. Bitte prüfe, dass das Druckbett frei ist." +msgstr "" +"Dies started einen neuen Druckauftrag. Bitte prüfe, dass das Druckbett " +"frei ist." #: src/octoprint/static/js/app/viewmodels/files.js:551 #: src/octoprint/static/js/app/viewmodels/printerstate.js:349 @@ -3385,23 +4570,6 @@ msgstr "Kann Datei oder Verzeichnis nicht verschieben" msgid "to" msgstr "nach" -#: src/octoprint/static/js/app/viewmodels/files.js:803 -#: src/octoprint/static/js/app/viewmodels/gcode.js:528 -msgid "Model size" -msgstr "Modelgröße" - -#: src/octoprint/static/js/app/viewmodels/files.js:809 -#: src/octoprint/static/js/app/viewmodels/files.js:813 -#: src/octoprint/static/js/app/viewmodels/gcode.js:566 -#: src/octoprint/static/js/app/viewmodels/gcode.js:570 -msgid "Filament" -msgstr "Filament" - -#: src/octoprint/static/js/app/viewmodels/files.js:818 -#: src/octoprint/static/js/app/viewmodels/gcode.js:575 -msgid "Estimated print time" -msgstr "Geschätzte Dauer" - #: src/octoprint/static/js/app/viewmodels/files.js:821 msgid "Last printed" msgstr "Zuletzt gedruckt" @@ -3412,8 +4580,12 @@ msgstr "Letzte Dauer" #: src/octoprint/static/js/app/viewmodels/files.js:883 #, python-format -msgid "Object in %(name)s exceeds the print volume of the currently selected printer profile, be careful when printing this." -msgstr "Objekt in %(name)s überschreitet das Druckvolumen des aktuell gewählten Druckerprofils, sei vorsichtig, das zu drucken." +msgid "" +"Object in %(name)s exceeds the print volume of the currently selected " +"printer profile, be careful when printing this." +msgstr "" +"Objekt in %(name)s überschreitet das Druckvolumen des aktuell gewählten " +"Druckerprofils, sei vorsichtig, das zu drucken." #: src/octoprint/static/js/app/viewmodels/files.js:893 msgid "Object exceeds print volume in width.
    " @@ -3428,12 +4600,23 @@ msgid "Object exceeds print volume in height.
    " msgstr "Objekt überschreitet Druckvolumen in der Höhe.
    " #: src/octoprint/static/js/app/viewmodels/files.js:905 -msgid "Object's bounding box: (%(object.minX).2f, %(object.minY).2f, %(object.minZ).2f) × (%(object.maxX).2f, %(object.maxY).2f, %(object.maxZ).2f)" -msgstr "Objektmaße: (%(object.minX).2f, %(object.minY).2f, %(object.minZ).2f) × (%(object.maxX).2f, %(object.maxY).2f, %(object.maxZ).2f)" +msgid "" +"Object's bounding box: (%(object.minX).2f, %(object.minY).2f, " +"%(object.minZ).2f) × (%(object.maxX).2f, %(object.maxY).2f, " +"%(object.maxZ).2f)" +msgstr "" +"Objektmaße: (%(object.minX).2f, %(object.minY).2f, %(object.minZ).2f) " +"× (%(object.maxX).2f, %(object.maxY).2f, %(object.maxZ).2f)" #: src/octoprint/static/js/app/viewmodels/files.js:907 -msgid "Print volume: (%(profile.minX).2f, %(profile.minY).2f, %(profile.minZ).2f) × (%(profile.maxX).2f, %(profile.maxY).2f, %(profile.maxZ).2f)" -msgstr "Druckvolumen: (%(profile.minX).2f, %(profile.minY).2f, %(profile.minZ).2f) × (%(profile.maxX).2f, %(profile.maxY).2f, %(profile.maxZ).2f)" +msgid "" +"Print volume: (%(profile.minX).2f, %(profile.minY).2f, " +"%(profile.minZ).2f) × (%(profile.maxX).2f, %(profile.maxY).2f, " +"%(profile.maxZ).2f)" +msgstr "" +"Druckvolumen: (%(profile.minX).2f, %(profile.minY).2f, " +"%(profile.minZ).2f) × (%(profile.maxX).2f, %(profile.maxY).2f, " +"%(profile.maxZ).2f)" #: src/octoprint/static/js/app/viewmodels/files.js:914 msgid "Object doesn't fit print volume" @@ -3485,8 +4668,13 @@ msgstr "Streaming von %(local)s nach %(remote)s nicht abgeschlossen." #: src/octoprint/static/js/app/viewmodels/files.js:1278 #, python-format -msgid "Could not upload the file. Make sure that it is a readable, valid file with one of these extensions: %(extensions)s" -msgstr "Konnte die Datei nicht hochladen. Bitte stelle sicher, dass es sich um eine lesbare valide Datei mit einer dieser Erweiterungen ist: %(extensions)s" +msgid "" +"Could not upload the file. Make sure that it is a readable, valid file " +"with one of these extensions: %(extensions)s" +msgstr "" +"Konnte die Datei nicht hochladen. Bitte stelle sicher, dass es sich um " +"eine lesbare valide Datei mit einer dieser Erweiterungen ist: " +"%(extensions)s" #: src/octoprint/static/js/app/viewmodels/files.js:1301 msgid "Saving ..." @@ -3496,47 +4684,6 @@ msgstr "Speichere ..." msgid "Uploading ..." msgstr "Uploade ..." -#: src/octoprint/static/js/app/viewmodels/gcode.js:15 -msgid "Loading..." -msgstr "Lade..." - -#: src/octoprint/static/js/app/viewmodels/gcode.js:19 -msgid "Analyzing..." -msgstr "Analysiere..." - -#: src/octoprint/static/js/app/viewmodels/gcode.js:23 -msgid "Analyzed" -msgstr "Analysiert" - -#: src/octoprint/static/js/app/viewmodels/gcode.js:529 -msgid "Estimated layer height" -msgstr "Geschätzte Schichthöhe" - -#: src/octoprint/static/js/app/viewmodels/gcode.js:529 -#: src/octoprint/templates/tabs/timelapse.jinja2:69 -msgid "mm" -msgstr "mm" - -#: src/octoprint/static/js/app/viewmodels/gcode.js:530 -msgid "Estimated total print time" -msgstr "Geschätzte Gesamtdauer" - -#: src/octoprint/static/js/app/viewmodels/gcode.js:531 -msgid "Layers with extrusion" -msgstr "Layer mit Extrusion" - -#: src/octoprint/static/js/app/viewmodels/gcode.js:561 -msgid "Layer number" -msgstr "Schichtnummer" - -#: src/octoprint/static/js/app/viewmodels/gcode.js:562 -msgid "Layer height" -msgstr "Schichthöhe" - -#: src/octoprint/static/js/app/viewmodels/gcode.js:563 -msgid "GCODE commands" -msgstr "GCODE Befehle" - #: src/octoprint/static/js/app/viewmodels/loginstate.js:30 #: src/octoprint/static/js/app/viewmodels/loginstate.js:38 #: src/octoprint/templates/navbar/login.jinja2:2 @@ -3551,8 +4698,29 @@ msgstr "Eingeloggt als %(name)s" #: src/octoprint/static/js/app/viewmodels/loginstate.js:88 #, python-format -msgid "

    It seems that you are connecting to OctoPrint over the public internet.

    This is strongly discouraged unless you have taken proper network security precautions. Your printer is an appliance you really should not be giving access to everyone with an internet connection.

    Please see this blog post for ways to safely access your OctoPrint instance from remote.

    If you know what you are doing or you are sure this message is mistaken since you are in an isolated LAN, feel free to ignore it.

    " -msgstr "

    Es scheint, dass du auf OctoPrint über das öffentliche Internet zugreifst.

    Davon wird nachdrücklich abgeraten, sofern du nicht weitere Maßnahmen für ordentliche Netzwerkabsicherung getroffen hast. Dein Drucker ist ein Gerät, zu dem du wirklich nicht jedem mit einer Internetverbindung Zugriff geben solltest.

    Bitte lies diesen Blog Post über sichere Wege, auf deine OctoPrint Instanz auch von unterwegs zuzugreifen.

    Wenn du dir sicher bist, was du hier tust oder dass diese Meldung ein Fehler ist und du dich tatsächlich in einem isolierten LAN befindest, ignoriere sie einfach.

    " +msgid "" +"

    It seems that you are connecting to OctoPrint over the public " +"internet.

    This is strongly discouraged unless you have taken proper" +" network security precautions. Your printer is an appliance you really " +"should not be giving access to everyone with an internet " +"connection.

    Please see this blog post for ways" +" to safely access your OctoPrint instance from " +"remote.

    If you know what you are doing or you are " +"sure this message is mistaken since you are in an isolated LAN, feel free" +" to ignore it.

    " +msgstr "" +"

    Es scheint, dass du auf OctoPrint über das öffentliche Internet " +"zugreifst.

    Davon wird nachdrücklich abgeraten, sofern du nicht " +"weitere Maßnahmen für ordentliche Netzwerkabsicherung getroffen hast. " +"Dein Drucker ist ein Gerät, zu dem du wirklich nicht jedem mit einer " +"Internetverbindung Zugriff geben solltest.

    Bitte lies diesen " +"Blog Post über sichere Wege, auf deine OctoPrint Instanz auch von " +"unterwegs zuzugreifen.

    Wenn du dir sicher bist, was" +" du hier tust oder dass diese Meldung ein Fehler ist und du dich " +"tatsächlich in einem isolierten LAN befindest, ignoriere sie " +"einfach.

    " #: src/octoprint/static/js/app/viewmodels/loginstate.js:103 msgid "Possible external access detected" @@ -3646,7 +4814,9 @@ msgid "Center" msgstr "Mittelpunkt" #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:513 -msgid "There was unexpected error while saving the printer profile, please consult the logs." +msgid "" +"There was unexpected error while saving the printer profile, please " +"consult the logs." msgstr "Unerwarteter Fehler beim Speichern des Profils, bitte konsultiere das Log" #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:514 @@ -3658,7 +4828,9 @@ msgid "Cannot delete the default profile or the currently active profile." msgstr "Kann weder das Defaultprofil noch das aktuell ausgewählte Profil löschen." #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:536 -msgid "There was unexpected error while removing the printer profile, please consult the logs." +msgid "" +"There was unexpected error while removing the printer profile, please " +"consult the logs." msgstr "Unerwarteter Fehler beim Löschen des Profils, bitte konsultiere das Log" #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:538 @@ -3671,8 +4843,12 @@ msgid "You are about to delete the printer profile \"%(name)s\"." msgstr "Du bist im Begriff das Druckerprofil \"%(name)s\" zu löschen." #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:564 -msgid "There was unexpected error while updating the printer profile, please consult the logs." -msgstr "Unerwarteter Fehler beim Aktualisieren des Profils, bitte konsultiere das Log" +msgid "" +"There was unexpected error while updating the printer profile, please " +"consult the logs." +msgstr "" +"Unerwarteter Fehler beim Aktualisieren des Profils, bitte konsultiere das" +" Log" #: src/octoprint/static/js/app/viewmodels/printerprofiles.js:565 msgid "Could not update profile" @@ -3708,8 +4884,12 @@ msgid "Still stabilizing..." msgstr "Noch zu ungenau..." #: src/octoprint/static/js/app/viewmodels/printerstate.js:129 -msgid "Based on a linear approximation (very low accuracy, especially at the beginning of the print)" -msgstr "Basiert auf einer linearen Approximation (sehr geringe Genauigkeit, insbesondere zu Beginn eines Drucks)" +msgid "" +"Based on a linear approximation (very low accuracy, especially at the " +"beginning of the print)" +msgstr "" +"Basiert auf einer linearen Approximation (sehr geringe Genauigkeit, " +"insbesondere zu Beginn eines Drucks)" #: src/octoprint/static/js/app/viewmodels/printerstate.js:132 msgid "Based on the estimate from analysis of file (medium accuracy)" @@ -3717,15 +4897,25 @@ msgstr "Basiert auf der Schätzung der Analyse der Datei (mittlere Genauigkeit)" #: src/octoprint/static/js/app/viewmodels/printerstate.js:135 msgid "Based on a mix of estimate from analysis and calculation (medium accuracy)" -msgstr "Basiert auf einem Mix der Schätzung aus der Analyse und der Berechnung (mittlere Genauigkeit)" +msgstr "" +"Basiert auf einem Mix der Schätzung aus der Analyse und der Berechnung " +"(mittlere Genauigkeit)" #: src/octoprint/static/js/app/viewmodels/printerstate.js:138 -msgid "Based on the average total of past prints of this model with the same printer profile (usually good accuracy)" -msgstr "Basiert auf der durchschnittlichen Dauer vergangener Druckjobs dieses Modells mit dem selben Druckerprofil (normalerweise gute Genauigkeit)" +msgid "" +"Based on the average total of past prints of this model with the same " +"printer profile (usually good accuracy)" +msgstr "" +"Basiert auf der durchschnittlichen Dauer vergangener Druckjobs dieses " +"Modells mit dem selben Druckerprofil (normalerweise gute Genauigkeit)" #: src/octoprint/static/js/app/viewmodels/printerstate.js:141 -msgid "Based on a mix of average total from past prints and calculation (usually good accuracy)" -msgstr "Basiert auf einem Mix der durchschnittlichen Dauer vergangener Druckjobs und der Berechnung (normalerweise gute Genauigkeit)" +msgid "" +"Based on a mix of average total from past prints and calculation (usually" +" good accuracy)" +msgstr "" +"Basiert auf einem Mix der durchschnittlichen Dauer vergangener Druckjobs " +"und der Berechnung (normalerweise gute Genauigkeit)" #: src/octoprint/static/js/app/viewmodels/printerstate.js:144 msgid "Based on the calculated estimate (best accuracy)" @@ -3787,88 +4977,101 @@ msgstr "Weiß" msgid "Autodetect from browser" msgstr "Automatisch vom Browser erkennen" -#: src/octoprint/static/js/app/viewmodels/settings.js:353 +#: src/octoprint/static/js/app/viewmodels/settings.js:348 msgid "If you see your webcam stream below, the entered stream URL is ok." msgstr "Falls du unten den Webcamstream sehen kannst, ist die Stream-URL ok." -#: src/octoprint/static/js/app/viewmodels/settings.js:361 +#: src/octoprint/static/js/app/viewmodels/settings.js:356 msgid "Stream test" msgstr "Stream Test" -#: src/octoprint/static/js/app/viewmodels/settings.js:379 +#: src/octoprint/static/js/app/viewmodels/settings.js:374 msgid "Could not retrieve snapshot URL, please double check the URL" msgstr "Konnte die Snapshot-URL nicht abgreifen, bitte prüfen" -#: src/octoprint/static/js/app/viewmodels/settings.js:380 +#: src/octoprint/static/js/app/viewmodels/settings.js:375 msgid "Snapshot test failed" msgstr "Snapshot Test fehlgeschlagen" -#: src/octoprint/static/js/app/viewmodels/settings.js:395 +#: src/octoprint/static/js/app/viewmodels/settings.js:390 #, python-format -msgid "Could retrieve the snapshot URL, but it didn't look like an image. Got this as a content type header: %(content_type)s. Please double check that the URL is returning static images, not multipart data or videos." -msgstr "Konnte die Snapshot URL abrufen, aber die Antwort sah nicht wie ein Bild aus: %(content_type)s. Bitte überprüfe, dass die URL einzelne Bilder zurückliefert, nicht multipart Daten oder Videos." +msgid "" +"Could retrieve the snapshot URL, but it didn't look like an image. Got " +"this as a content type header: %(content_type)s. Please " +"double check that the URL is returning static images, not multipart data " +"or videos." +msgstr "" +"Konnte die Snapshot URL abrufen, aber die Antwort sah nicht wie ein Bild " +"aus: %(content_type)s. Bitte überprüfe, dass die URL " +"einzelne Bilder zurückliefert, nicht multipart Daten oder Videos." -#: src/octoprint/static/js/app/viewmodels/settings.js:420 -msgid "If you see your webcam snapshot picture below, the entered snapshot URL is ok." +#: src/octoprint/static/js/app/viewmodels/settings.js:415 +msgid "" +"If you see your webcam snapshot picture below, the entered snapshot URL " +"is ok." msgstr "Falls du unten dein Snapshotbild sehen kannst, ist die Snapshot-URL ok." -#: src/octoprint/static/js/app/viewmodels/settings.js:422 +#: src/octoprint/static/js/app/viewmodels/settings.js:417 msgid "Snapshot test" msgstr "Snapshot Test" -#: src/octoprint/static/js/app/viewmodels/settings.js:455 +#: src/octoprint/static/js/app/viewmodels/settings.js:450 msgid "The path doesn't exist" msgstr "Der Pfad existiert nicht" -#: src/octoprint/static/js/app/viewmodels/settings.js:457 +#: src/octoprint/static/js/app/viewmodels/settings.js:452 msgid "The path is not a file" msgstr "Der Pfad ist keine Datei" -#: src/octoprint/static/js/app/viewmodels/settings.js:459 +#: src/octoprint/static/js/app/viewmodels/settings.js:454 msgid "The path is not an executable" msgstr "Der Pfad ist nicht ausführbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:462 -#: src/octoprint/static/js/app/viewmodels/settings.js:543 +#: src/octoprint/static/js/app/viewmodels/settings.js:457 +#: src/octoprint/static/js/app/viewmodels/settings.js:538 msgid "The path is valid" msgstr "Der Pfad ist valide" -#: src/octoprint/static/js/app/viewmodels/settings.js:482 +#: src/octoprint/static/js/app/viewmodels/settings.js:477 msgid "The server is not reachable" msgstr "Der Server ist nicht erreichbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:484 +#: src/octoprint/static/js/app/viewmodels/settings.js:479 msgid "The server is reachable" msgstr "Der Server ist erreichbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:503 +#: src/octoprint/static/js/app/viewmodels/settings.js:498 msgid "Name cannot be resolved" msgstr "Name kann nicht aufgelöst werden" -#: src/octoprint/static/js/app/viewmodels/settings.js:505 +#: src/octoprint/static/js/app/viewmodels/settings.js:500 msgid "Name can be resolved" msgstr "Name kann aufgelöst werden" -#: src/octoprint/static/js/app/viewmodels/settings.js:534 +#: src/octoprint/static/js/app/viewmodels/settings.js:529 msgid "The path is a broken symlink." msgstr "Der Pfad ist ein kaputter Symlink" -#: src/octoprint/static/js/app/viewmodels/settings.js:536 +#: src/octoprint/static/js/app/viewmodels/settings.js:531 msgid "The path does not exist and cannot be created." msgstr "Der Pfad existiert nicht und kann nicht erstellt werden." -#: src/octoprint/static/js/app/viewmodels/settings.js:538 +#: src/octoprint/static/js/app/viewmodels/settings.js:533 msgid "The path is not a folder." msgstr "Der Pfad ist kein Verzeichnis" -#: src/octoprint/static/js/app/viewmodels/settings.js:540 +#: src/octoprint/static/js/app/viewmodels/settings.js:535 msgid "The path is not writable." msgstr "Der Pfad ist nicht beschreibbar" -#: src/octoprint/static/js/app/viewmodels/settings.js:665 +#: src/octoprint/static/js/app/viewmodels/settings.js:660 #: src/octoprint/static/js/app/viewmodels/usersettings.js:101 -msgid "This will generate a new API Key. The old API Key will cease to function immediately." -msgstr "Dies wird einen neuen API-Key generieren. Der alte wird sofort aufhören zu funktionieren." +msgid "" +"This will generate a new API Key. The old API Key will cease to function " +"immediately." +msgstr "" +"Dies wird einen neuen API-Key generieren. Der alte wird sofort aufhören " +"zu funktionieren." #: src/octoprint/static/js/app/viewmodels/slicing.js:124 msgid "Do nothing" @@ -3925,17 +5128,23 @@ msgstr "Ändere Offset von %(name)s" #: src/octoprint/static/js/app/viewmodels/temperature.js:65 #, python-format -msgid "Use the form below to specify a new offset to apply to all temperature commands sent from printed files for \"%(name)s\"" -msgstr "Definiere unten ein neues Offset für alle Temperaturkommandos für \"%(name)s\", die aus zu druckenden Dateien gesendet werden" +msgid "" +"Use the form below to specify a new offset to apply to all temperature " +"commands sent from printed files for \"%(name)s\"" +msgstr "" +"Definiere unten ein neues Offset für alle Temperaturkommandos für " +"\"%(name)s\", die aus zu druckenden Dateien gesendet werden" #: src/octoprint/static/js/app/viewmodels/temperature.js:86 #: src/octoprint/static/js/app/viewmodels/temperature.js:148 +#: src/octoprint/static/js/app/viewmodels/temperature.js:352 #: src/octoprint/templates/dialogs/settings/temperatures.jinja2:35 msgid "Bed" msgstr "Bett" #: src/octoprint/static/js/app/viewmodels/temperature.js:90 #: src/octoprint/static/js/app/viewmodels/temperature.js:156 +#: src/octoprint/static/js/app/viewmodels/temperature.js:355 msgid "Chamber" msgstr "Kammer" @@ -3944,34 +5153,41 @@ msgstr "Kammer" msgid "Set %(name)s (%(value)s)" msgstr "Setze %(name)s (%(value)s)" -#: src/octoprint/static/js/app/viewmodels/temperature.js:350 -#: src/octoprint/templates/tabs/temperature.jinja2:40 +#: src/octoprint/static/js/app/viewmodels/temperature.js:342 +#: src/octoprint/templates/tabs/temperature.jinja2:18 +#: src/octoprint/templates/tabs/temperature.jinja2:56 #: src/octoprint/templates/tabs/timelapse.jinja2:14 msgid "Off" msgstr "Aus" -#: src/octoprint/static/js/app/viewmodels/temperature.js:421 +#: src/octoprint/static/js/app/viewmodels/temperature.js:432 msgid "min" msgstr "Min" -#: src/octoprint/static/js/app/viewmodels/temperature.js:467 +#: src/octoprint/static/js/app/viewmodels/temperature.js:478 #: src/octoprint/templates/tabs/temperature.jinja2:11 msgid "Actual" msgstr "Ist" -#: src/octoprint/static/js/app/viewmodels/temperature.js:472 -#: src/octoprint/templates/tabs/temperature.jinja2:12 +#: src/octoprint/static/js/app/viewmodels/temperature.js:483 +#: src/octoprint/templates/tabs/temperature.jinja2:13 msgid "Target" msgstr "Soll" #: src/octoprint/static/js/app/viewmodels/terminal.js:105 #, python-format -msgid "showing %(displayed)d lines (%(filtered)d of %(total)d total lines filtered, buffer full)" -msgstr "zeige %(displayed)d Zeilen (%(filtered)d von %(total)d Zeilen gefiltert, Buffer voll)" +msgid "" +"showing %(displayed)d lines (%(filtered)d of %(total)d total lines " +"filtered, buffer full)" +msgstr "" +"zeige %(displayed)d Zeilen (%(filtered)d von %(total)d Zeilen gefiltert, " +"Buffer voll)" #: src/octoprint/static/js/app/viewmodels/terminal.js:107 #, python-format -msgid "showing %(displayed)d lines (%(filtered)d of %(total)d total lines filtered)" +msgid "" +"showing %(displayed)d lines (%(filtered)d of %(total)d total lines " +"filtered)" msgstr "zeige %(displayed)d Zeilen (%(filtered)d von %(total)d Zeilen gefiltert)" #: src/octoprint/static/js/app/viewmodels/terminal.js:111 @@ -3996,8 +5212,12 @@ msgstr "%(target)s wird gerendert... (%(progress)d%%)" #: src/octoprint/static/js/app/viewmodels/timelapse.js:284 #, python-format -msgid "Failed to remove timelapse %(name)s.

    Please consult octoprint.log for details.

    " -msgstr "Konnte Zeitrafferaufnahme %(name)s nicht entfernen.

    Bitte konsultiere octoprint.log für Details.

    " +msgid "" +"Failed to remove timelapse %(name)s.

    Please consult octoprint.log " +"for details.

    " +msgstr "" +"Konnte Zeitrafferaufnahme %(name)s nicht entfernen.

    Bitte " +"konsultiere octoprint.log für Details.

    " #: src/octoprint/static/js/app/viewmodels/timelapse.js:287 msgid "Could not remove timelapse" @@ -4016,7 +5236,9 @@ msgstr "Du bist im Begriff %(count)d Zeitrafferaufnahmen zu löschen." #: src/octoprint/static/js/app/viewmodels/timelapse.js:338 #, python-format msgid "You are about to delete unrendered timelapse \"%(name)s\"." -msgstr "Du bist im Begriff die ungerenderte Zeitrafferaufnahme \"%(name)s\" zu löschen." +msgstr "" +"Du bist im Begriff die ungerenderte Zeitrafferaufnahme \"%(name)s\" zu " +"löschen." #: src/octoprint/static/js/app/viewmodels/timelapse.js:353 #, python-format @@ -4056,8 +5278,12 @@ msgstr "%(minutes)d Min" #: src/octoprint/static/js/app/viewmodels/timelapse.js:488 #, python-format -msgid "Now capturing timelapse post roll, this will take approximately %(duration)s (so until %(time)s)..." -msgstr "Zeichne jetzt Zeitraffernachlauf auf, dies wird voraussichtlich %(duration)s dauern (also etwa bis %(time)s)..." +msgid "" +"Now capturing timelapse post roll, this will take approximately " +"%(duration)s (so until %(time)s)..." +msgstr "" +"Zeichne jetzt Zeitraffernachlauf auf, dies wird voraussichtlich " +"%(duration)s dauern (also etwa bis %(time)s)..." #: src/octoprint/static/js/app/viewmodels/timelapse.js:490 #, python-format @@ -4066,12 +5292,20 @@ msgstr "%(seconds)d Sek" #: src/octoprint/static/js/app/viewmodels/timelapse.js:491 #, python-format -msgid "Now capturing timelapse post roll, this will take approximately %(duration)s..." -msgstr "Zeichne jetzt Zeitraffernachlauf auf, dies wird voraussichtlich %(duration)s dauern..." +msgid "" +"Now capturing timelapse post roll, this will take approximately " +"%(duration)s..." +msgstr "" +"Zeichne jetzt Zeitraffernachlauf auf, dies wird voraussichtlich " +"%(duration)s dauern..." #: src/octoprint/static/js/app/viewmodels/timelapse.js:521 -msgid "Failed repeatedly to capture timelapse frame from webcam - is the snapshot URL configured correctly and the camera on?" -msgstr "Konnte wiederholt kein Zeitrafferbild von der Webcam beziehen - ist die Snapshot-URL korrekt konfiguriert und die Kamera an?" +msgid "" +"Failed repeatedly to capture timelapse frame from webcam - is the " +"snapshot URL configured correctly and the camera on?" +msgstr "" +"Konnte wiederholt kein Zeitrafferbild von der Webcam beziehen - ist die " +"Snapshot-URL korrekt konfiguriert und die Kamera an?" #: src/octoprint/static/js/app/viewmodels/timelapse.js:524 msgid "Could not capture snapshots" @@ -4083,8 +5317,13 @@ msgstr "Zeitrafferaufnahme wird gerendert" #: src/octoprint/static/js/app/viewmodels/timelapse.js:534 #, python-format -msgid "Now rendering timelapse %(movie_prefix)s. Due to performance reasons it is not recommended to start a print job while a movie is still rendering." -msgstr "Rendere jetzt die Zeitrafferaufnahme %(movie_prefix)s. Aus Gründen der Performance ist es nicht empfehlenswert, einen Druckauftrag zu starten, so lange die Aufnahme noch gerendert wird." +msgid "" +"Now rendering timelapse %(movie_prefix)s. Due to performance reasons it " +"is not recommended to start a print job while a movie is still rendering." +msgstr "" +"Rendere jetzt die Zeitrafferaufnahme %(movie_prefix)s. Aus Gründen der " +"Performance ist es nicht empfehlenswert, einen Druckauftrag zu starten, " +"so lange die Aufnahme noch gerendert wird." #: src/octoprint/static/js/app/viewmodels/timelapse.js:552 msgid "Cannot render timelapse" @@ -4092,8 +5331,12 @@ msgstr "Kann Zeitrafferaufnahme nicht rendern" #: src/octoprint/static/js/app/viewmodels/timelapse.js:553 #, python-format -msgid "Rendering of timelapse %(movie_prefix)s is not possible since no frames were captured. Is the snapshot URL configured correctly?" -msgstr "Rendering des Zeitraffers %(movie_prefix)s ist nicht möglich, da keine Frames gespeichert wurden. Ist die Snapshot-URL korrekt konfiguriert?" +msgid "" +"Rendering of timelapse %(movie_prefix)s is not possible since no frames " +"were captured. Is the snapshot URL configured correctly?" +msgstr "" +"Rendering des Zeitraffers %(movie_prefix)s ist nicht möglich, da keine " +"Frames gespeichert wurden. Ist die Snapshot-URL korrekt konfiguriert?" #: src/octoprint/static/js/app/viewmodels/timelapse.js:555 #: src/octoprint/static/js/app/viewmodels/timelapse.js:559 @@ -4102,13 +5345,21 @@ msgstr "Rendern von Zeitrafferaufnahme fehlgeschlagen" #: src/octoprint/static/js/app/viewmodels/timelapse.js:556 #, python-format -msgid "Rendering of timelapse %(movie_prefix)s failed with return code %(returncode)s" -msgstr "Rendering der Zeitrafferaufnahme %(movie_prefix)s fehlgeschlagen mit Returncode %(returncode)s" +msgid "" +"Rendering of timelapse %(movie_prefix)s failed with return code " +"%(returncode)s" +msgstr "" +"Rendering der Zeitrafferaufnahme %(movie_prefix)s fehlgeschlagen mit " +"Returncode %(returncode)s" #: src/octoprint/static/js/app/viewmodels/timelapse.js:560 #, python-format -msgid "Rendering of timelapse %(movie_prefix)s failed due to an unknown error, please consult the log file" -msgstr "Rendering der Zeitrafferaufnahme %(movie_prefix)s fehlgeschlagen aufgrund eines unbekannten Fehlers, bitte konsultiere die Logdatei" +msgid "" +"Rendering of timelapse %(movie_prefix)s failed due to an unknown error, " +"please consult the log file" +msgstr "" +"Rendering der Zeitrafferaufnahme %(movie_prefix)s fehlgeschlagen aufgrund" +" eines unbekannten Fehlers, bitte konsultiere die Logdatei" #: src/octoprint/static/js/app/viewmodels/timelapse.js:577 msgid "Timelapse ready" @@ -4152,8 +5403,12 @@ msgid "You don't seem to have JavaScript enabled" msgstr "Du scheintst JavaScript nicht aktiviert zu haben" #: src/octoprint/templates/index.jinja2:35 -msgid "OctoPrint's UI requires JavaScript to work. Please enable JavaScript and reload." -msgstr "OctoPrints UI benötigt JavaScript, um zu funktionieren. Bitte aktiviere JavaScript und lade neu." +msgid "" +"OctoPrint's UI requires JavaScript to work. Please enable JavaScript and " +"reload." +msgstr "" +"OctoPrints UI benötigt JavaScript, um zu funktionieren. Bitte aktiviere " +"JavaScript und lade neu." #: src/octoprint/templates/index.jinja2:49 msgid "Connecting to OctoPrint's server..." @@ -4208,15 +5463,23 @@ msgid "Settings update detected" msgstr "Einstellungsupdate erkannt" #: src/octoprint/templates/dialogs/settings.jinja2:62 -msgid "\n" -" The settings have been updated on the server. You may reload all settings,\n" -" overwriting any changes you might have done locally, or alternatively\n" +msgid "" +"\n" +" The settings have been updated on the server. You may reload " +"all settings,\n" +" overwriting any changes you might have done locally, or " +"alternatively\n" " only reload those settings you haven't changed locally.\n" " " -msgstr "Die Einstellungen wurden auf dem Server geändert. Du kannst alle Einstellungen neu laden und dabei bereits gemachte lokale Änderungen überschreiben oder nur die Änderungen neu laden, die nicht lokal geändert wurden." +msgstr "" +"Die Einstellungen wurden auf dem Server geändert. Du kannst alle " +"Einstellungen neu laden und dabei bereits gemachte lokale Änderungen " +"überschreiben oder nur die Änderungen neu laden, die nicht lokal geändert" +" wurden." #: src/octoprint/templates/dialogs/settings.jinja2:67 -msgid "\n" +msgid "" +"\n" " How do you want to proceed?\n" " " msgstr "Wie möchtest du fortfahren?" @@ -4230,12 +5493,23 @@ msgid "Reload only non-conflicting changes" msgstr "Nur konfliktfreie Änderungen neu laden" #: src/octoprint/templates/dialogs/slicing.jinja2:8 -msgid "Slicing is currently disabled since no slicer has been configured yet. Please configure a slicer under \"Settings\"." -msgstr "Slicing ist aktuell deaktiviert da noch kein Slicer konfiguriert wurde. Bitte konfiguriere einen Slicer unter \"Settings\"." +msgid "" +"Slicing is currently disabled since no slicer has been configured yet. " +"Please configure a slicer under \"Settings\"." +msgstr "" +"Slicing ist aktuell deaktiviert da noch kein Slicer konfiguriert wurde. " +"Bitte konfiguriere einen Slicer unter \"Settings\"." #: src/octoprint/templates/dialogs/slicing.jinja2:11 -msgid "Please configure which slicer and which slicing profile to use and name the GCode file to slice to below, or click \"Cancel\" if you do not wish to slice the file now." -msgstr "Bitte wähle den zu nutzenden Slicer und das zu nutzende Slicerprofile und wie die GCode Datei heißen soll, die erzeugt wird. Alternativ kannst du auch auf \"Abbrechen\" klicken, wenn du die Datei jetzt nicht slicen willst." +msgid "" +"Please configure which slicer and which slicing profile to use and name " +"the GCode file to slice to below, or click \"Cancel\" if you do not wish " +"to slice the file now." +msgstr "" +"Bitte wähle den zu nutzenden Slicer und das zu nutzende Slicerprofile und" +" wie die GCode Datei heißen soll, die erzeugt wird. Alternativ kannst du " +"auch auf \"Abbrechen\" klicken, wenn du die Datei jetzt nicht slicen " +"willst." #: src/octoprint/templates/dialogs/slicing.jinja2:14 msgid "Slicer" @@ -4251,7 +5525,9 @@ msgstr "Gleicher Server" #: src/octoprint/templates/dialogs/slicing.jinja2:23 msgid "For performance reasons locally run slicers are disabled while printing" -msgstr "Aus Gründen der Performanz sind Slicer, die auf dem gleichen Server laufen, während des Druckens deaktiviert" +msgstr "" +"Aus Gründen der Performanz sind Slicer, die auf dem gleichen Server " +"laufen, während des Druckens deaktiviert" #: src/octoprint/templates/dialogs/slicing.jinja2:27 msgid "Slicing Profile" @@ -4300,12 +5576,14 @@ msgid "+1" msgstr "+1" #: src/octoprint/templates/dialogs/temperature.jinja2:24 -#: src/octoprint/templates/tabs/temperature.jinja2:58 +#: src/octoprint/templates/tabs/temperature.jinja2:74 msgid "Delete Offset" msgstr "Offset löschen" #: src/octoprint/templates/dialogs/temperature.jinja2:25 -msgid "Hint: Hitting Enter in the input field will also submit the form" +msgid "" +"Hint: Hitting Enter in the input field will also submit the " +"form" msgstr "Hinweis: Enter im Eingabefeld speichert." #: src/octoprint/templates/dialogs/usersettings.jinja2:4 @@ -4334,8 +5612,10 @@ msgid "Setup Wizard" msgstr "Setup Wizard" #: src/octoprint/templates/dialogs/wizard.jinja2:41 -msgid "\n" -" Mandatory Step! You need to fill this out now.\n" +msgid "" +"\n" +" Mandatory " +"Step! You need to fill this out now.\n" " " msgstr "Obligatorischer Schritt! Du musst das jetzt ausfüllen." @@ -4348,8 +5628,12 @@ msgid "Previous" msgstr "Zurück" #: src/octoprint/templates/dialogs/wizard.jinja2:63 -msgid "Unless otherwise noted, you may just skip any wizard page by clicking \"Next\" or \"Finish\"." -msgstr "Falls nicht anders vermerkt, kannst du jede Wizardseite durch Klicken auf \"Weiter\" oder \"Beenden\" überspringen." +msgid "" +"Unless otherwise noted, you may just skip any wizard page by clicking " +"\"Next\" or \"Finish\"." +msgstr "" +"Falls nicht anders vermerkt, kannst du jede Wizardseite durch Klicken auf" +" \"Weiter\" oder \"Beenden\" überspringen." #: src/octoprint/templates/dialogs/about/about.jinja2:3 msgid "The snappy web interface for your 3D printer" @@ -4384,18 +5668,32 @@ msgid "Global API Key" msgstr "Globaler API Key" #: src/octoprint/templates/dialogs/settings/api.jinja2:15 -msgid "\n" -" The global API key should best not be used anymore. It's one single key that gives full admin access to\n" -" your whole OctoPrint instance. Instead of using it you should create individual Application Keys for\n" -" your third party clients. That way they get permissions matching the user account used for key\n" -" creation and you can also revoke access to one app without having to change the keys for all other apps.\n" -" It's also recommended to create a user account without admin access and use that for third\n" +msgid "" +"\n" +" The global API key should best not be used anymore. It's " +"one single key that gives full admin access to\n" +" your whole OctoPrint instance. Instead of using it you " +"should create individual Application Keys for\n" +" your third party clients. That way they get permissions " +"matching the user account used for key\n" +" creation and you can also revoke access to one app " +"without having to change the keys for all other apps.\n" +" It's also recommended to create a user account without " +"admin access and use that for third\n" " party clients where possible.\n" " " -msgstr "Der globale API Key sollte am Besten nicht mehr verwendet werden. Es ist ein einzelner Key, der vollen Adminzugriff auf die gesamte OctoPrint Instanz gibt.\n" -"Stattdessen solltest du individuelle Application Keys für Third-Party-Clients erstellen. Dadurch bekommen diese die Zugriffsrechte des jeweiligen für die Erstellung \n" -"des Keys genutzten Nutzeraccounts und du kannst einem Client auch einfach wieder den Zugriff entziehen, oder für alle anderen den Key ändern zu müssen.\n" -"Es ist außerdem empfohlen, einen Useraccount ohne Adminzugriff zu erstellen und so möglich für Third-Party-Clients zu verwenden." +msgstr "" +"Der globale API Key sollte am Besten nicht mehr verwendet werden. Es ist " +"ein einzelner Key, der vollen Adminzugriff auf die gesamte OctoPrint " +"Instanz gibt.\n" +"Stattdessen solltest du individuelle Application Keys für Third-Party-" +"Clients erstellen. Dadurch bekommen diese die Zugriffsrechte des " +"jeweiligen für die Erstellung \n" +"des Keys genutzten Nutzeraccounts und du kannst einem Client auch einfach" +" wieder den Zugriff entziehen, oder für alle anderen den Key ändern zu " +"müssen.\n" +"Es ist außerdem empfohlen, einen Useraccount ohne Adminzugriff zu " +"erstellen und so möglich für Third-Party-Clients zu verwenden." #: src/octoprint/templates/dialogs/settings/api.jinja2:23 msgid "Access Application Keys" @@ -4408,12 +5706,20 @@ msgid "N/A" msgstr "(nicht vorhanden)" #: src/octoprint/templates/dialogs/settings/api.jinja2:33 -msgid "Please note that changes to the API key are applied immediately, without having to \"Save\" first." -msgstr "Bitte beachte, dass Änderungen am API-Key sofort angewandt werden, ohne dass \"Speichern\" geklickt werden muss." +msgid "" +"Please note that changes to the API key are applied immediately, without " +"having to \"Save\" first." +msgstr "" +"Bitte beachte, dass Änderungen am API-Key sofort angewandt werden, ohne " +"dass \"Speichern\" geklickt werden muss." #: src/octoprint/templates/dialogs/settings/appearance.jinja2:2 -msgid "Name of this OctoPrint instance, will be shown in the navigation bar and broadcast on the network" -msgstr "Name dieser OctoPrint-Instanz, wird in der Navigationsleiste angezeigt und im Netzwerk announced." +msgid "" +"Name of this OctoPrint instance, will be shown in the navigation bar and " +"broadcast on the network" +msgstr "" +"Name dieser OctoPrint-Instanz, wird in der Navigationsleiste angezeigt " +"und im Netzwerk announced." #: src/octoprint/templates/dialogs/settings/appearance.jinja2:3 msgid "Title" @@ -4421,7 +5727,9 @@ msgstr "Titel" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:8 msgid "Personalize the color of the navigation bar - maybe to match your printer?" -msgstr "Personalisiere die Farbe the Navigationsleiste - vielleicht um zum Drucker zu passen?" +msgstr "" +"Personalisiere die Farbe the Navigationsleiste - vielleicht um zum " +"Drucker zu passen?" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:9 msgid "Color" @@ -4456,8 +5764,14 @@ msgid "Default Language" msgstr "Standardsprache" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:43 -msgid "Changes to the default interface language will only become active after a reload of the page and only be active if not overridden by the users language settings." -msgstr "Änderungen der Standardsprache werden erst nach einem Neuladen der Seite aktiv, und nur dann, wenn sie nicht durch die Nutzereinstellungen überschrieben sind." +msgid "" +"Changes to the default interface language will only become active after a" +" reload of the page and only be active if not overridden by the users " +"language settings." +msgstr "" +"Änderungen der Standardsprache werden erst nach einem Neuladen der Seite " +"aktiv, und nur dann, wenn sie nicht durch die Nutzereinstellungen " +"überschrieben sind." #: src/octoprint/templates/dialogs/settings/appearance.jinja2:49 msgid "Show temperatures in Fahrenheit as well as Celsius" @@ -4476,13 +5790,23 @@ msgid "Manage Language Packs..." msgstr "Sprachpakete verwalten" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:76 -msgid "There is currently no central repository for language packs like there is for plugins - any help to change that is appreciated!" -msgstr "Es gibt aktuell kein zentrales Repository für Sprachpakete wie es eines für Plugins gibt - jede Hilfe um das zu ändern ist gerne willkommen!" +msgid "" +"There is currently no central repository for language packs like there is" +" for plugins - any help to change that is appreciated!" +msgstr "" +"Es gibt aktuell kein zentrales Repository für Sprachpakete wie es eines " +"für Plugins gibt - jede Hilfe um das zu ändern ist gerne willkommen!" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:79 #, python-format -msgid "Until a repository is available, please see the wiki for language packs provided by the community." -msgstr "Bis es ein Repository gibt, schau bitte im Wiki nach von der Community bereitgestellten Sprachpaketen." +msgid "" +"Until a repository is available, please see the wiki for language packs provided by the " +"community." +msgstr "" +"Bis es ein Repository gibt, schau bitte im Wiki nach von der Community bereitgestellten " +"Sprachpaketen." #: src/octoprint/templates/dialogs/settings/appearance.jinja2:82 msgid "Available Language Packs" @@ -4508,12 +5832,22 @@ msgid "Upload" msgstr "Upload" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:125 -msgid "This does not look like a valid language pack. Valid language packs should be either zip files or tarballs and have the extension \".zip\", \".tar.gz\", \".tgz\" or \".tar\"" -msgstr "Das sieht nicht aus wie ein valides Sprachpaket. Valide Sprachpakete sollten entweder ZIP-Dateien oder Tarballs sein und die Dateiextension \".zip\", \".tar.gz\", \".tgz\" oder \".tar\" haben" +msgid "" +"This does not look like a valid language pack. Valid language packs " +"should be either zip files or tarballs and have the extension \".zip\", " +"\".tar.gz\", \".tgz\" or \".tar\"" +msgstr "" +"Das sieht nicht aus wie ein valides Sprachpaket. Valide Sprachpakete " +"sollten entweder ZIP-Dateien oder Tarballs sein und die Dateiextension " +"\".zip\", \".tar.gz\", \".tgz\" oder \".tar\" haben" #: src/octoprint/templates/dialogs/settings/appearance.jinja2:128 -msgid "Please note that you will have to reload the page in order for any newly added language packs to become available." -msgstr "Bitte beachte, dass Du die Seite neu laden musst, damit neu hinzugefügte Sprachepakete verfügbar werden." +msgid "" +"Please note that you will have to reload the page in order for any newly " +"added language packs to become available." +msgstr "" +"Bitte beachte, dass Du die Seite neu laden musst, damit neu hinzugefügte " +"Sprachepakete verfügbar werden." #: src/octoprint/templates/dialogs/settings/features.jinja2:5 msgid "Enable Temperature Graph" @@ -4521,7 +5855,9 @@ msgstr "Temperaturgraph aktivieren" #: src/octoprint/templates/dialogs/settings/features.jinja2:12 msgid "Enable model size detection and warn if model exceeds print bed" -msgstr "Objektgrößenerkennung aktivieren und warnen, falls Objekt das Druckvolumen überschreitet" +msgstr "" +"Objektgrößenerkennung aktivieren und warnen, falls Objekt das " +"Druckvolumen überschreitet" #: src/octoprint/templates/dialogs/settings/features.jinja2:12 msgid "Beta" @@ -4545,27 +5881,41 @@ msgstr "Tastatursteuerung aktivieren" #: src/octoprint/templates/dialogs/settings/features.jinja2:47 msgid "G90/G91 overrides relative extruder mode" -msgstr "G90/G91 überschreibt relativen Modus des Extruders" +msgstr "" +"G90/G91 überschreibt relativen Modus des " +"Extruders" #: src/octoprint/templates/dialogs/settings/features.jinja2:47 msgid "Smoothieware" msgstr "Smoothieware" #: src/octoprint/templates/dialogs/settings/features.jinja2:48 -msgid "This is used by the GCODE analysis in the backend and the viewer in the frontend to interpret your sliced files correctly." -msgstr "Dies wird von der GCODE Analyse im Backend und dem GCODE Viewer im Frontend verwendet, um die gesliceten Dateien korrekt zu interpretieren." +msgid "" +"This is used by the GCODE analysis in the backend and the viewer in the " +"frontend to interpret your sliced files correctly." +msgstr "" +"Dies wird von der GCODE Analyse im Backend und dem GCODE Viewer im " +"Frontend verwendet, um die gesliceten Dateien korrekt zu interpretieren." #: src/octoprint/templates/dialogs/settings/features.jinja2:52 msgid "Commands to not completely auto uppercase in the terminal tab" -msgstr "Befehle, die im Terminaltab nicht vollständig in Großbuchstaben gewandelt werden sollen" +msgstr "" +"Befehle, die im Terminaltab nicht vollständig in Großbuchstaben gewandelt" +" werden sollen" #: src/octoprint/templates/dialogs/settings/features.jinja2:53 msgid "Terminal Auto Uppercase Blacklist" msgstr "Terminal Auto Uppercase Blackliste" #: src/octoprint/templates/dialogs/settings/features.jinja2:56 -msgid "Use this to specify the commands that should not have their parameters automatically uppercased in the terminal tab. Just the G or M code, comma separated." -msgstr "Nutze diese Option um Befehle zu spezifizieren, deren Parameter nicht automatisch im Terminaltab in Großbuchstaben überführt werden sollen. Nur den G oder M code, kommasepariert." +msgid "" +"Use this to specify the commands that should not have their parameters " +"automatically uppercased in the terminal tab. Just the G or M code, comma" +" separated." +msgstr "" +"Nutze diese Option um Befehle zu spezifizieren, deren Parameter nicht " +"automatisch im Terminaltab in Großbuchstaben überführt werden sollen. Nur" +" den G oder M code, kommasepariert." #: src/octoprint/templates/dialogs/settings/features.jinja2:61 msgid "Analyze gcode for time and model size estimates" @@ -4613,46 +5963,42 @@ msgid "Watched Folder" msgstr "Beobachtetes Verzeichnis" #: src/octoprint/templates/dialogs/settings/folders.jinja2:57 -msgid "Actively poll the watched folder. Check this if files in your watched folder aren't automatically added otherwise." -msgstr "Aktives Pollen des beobachteten Verzeichnisses. Einschalten wenn Dateien in Deinem beobachteten Verzeichnis hinzugefügt werden sonst nicht automatisch hinzugefügt werden." +msgid "" +"Actively poll the watched folder. Check this if files in your watched " +"folder aren't automatically added otherwise." +msgstr "" +"Aktives Pollen des beobachteten Verzeichnisses. Einschalten wenn Dateien " +"in Deinem beobachteten Verzeichnis hinzugefügt werden sonst nicht " +"automatisch hinzugefügt werden." #: src/octoprint/templates/dialogs/settings/folders.jinja2:62 msgid "Disk space thresholds" msgstr "Plattenplatzschwellwerte" #: src/octoprint/templates/dialogs/settings/folders.jinja2:64 -msgid "If the free disk space falls below these thresholds, OctoPrint will warn the user." -msgstr "Falls der freie Plattenplatz unter diese Schwellwerte fallen sollte wird OctoPrint den Nutzer warnen." - -#: src/octoprint/templates/dialogs/settings/folders.jinja2:67 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:90 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:447 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:487 -#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87 -#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6 -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:117 -msgid "Warning" -msgstr "Warnung" +msgid "" +"If the free disk space falls below these thresholds, OctoPrint will warn " +"the user." +msgstr "" +"Falls der freie Plattenplatz unter diese Schwellwerte fallen sollte wird " +"OctoPrint den Nutzer warnen." #: src/octoprint/templates/dialogs/settings/folders.jinja2:73 msgid "Critical" msgstr "Kritisch" -#: src/octoprint/templates/dialogs/settings/folders.jinja2:79 -#: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:25 -msgid "Provide values including size unit. Allowed units are: b, byte, bytes, kb, mb, gb, tb (case insensitive). Example: 5MB, 500KB" -msgstr "Wert inklusive Größeneinheit. Erlaubte Einheiten sind: b, byte, bytes, kb, mb, gb, tb (Groß-/Kleinschreibung irrelevant). Beispiel: 5MB, 500KB" - #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:3 msgid "Before print job starts" msgstr "Vor dem Start eines Druckjobs" #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:6 #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:37 -msgid "Anything you put here will be executed before any lines in your files." -msgstr "Befehle, die du hier platzierst, werden vor Zeilen aus deinen Druckdateien gesendet." +msgid "" +"Anything you put here will be executed before any lines in your " +"files." +msgstr "" +"Befehle, die du hier platzierst, werden vor Zeilen aus deinen " +"Druckdateien gesendet." #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:10 msgid "After print job completes" @@ -4661,8 +6007,12 @@ msgstr "Nach Vollendung eines Druckjobs" #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:13 #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:21 #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:30 -msgid "Anything you put here will be executed after any lines in your files." -msgstr "Befehle, die du hier platzierst, werden nach Zeilen aus deinen Druckdateien gesendet." +msgid "" +"Anything you put here will be executed after any lines in your " +"files." +msgstr "" +"Befehle, die du hier platzierst, werden nach Zeilen aus deinen " +"Druckdateien gesendet." #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:17 msgid "After print job is cancelled" @@ -4670,8 +6020,13 @@ msgstr "Nach dem Abbruch eines Druckjobs" #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:22 #, python-format -msgid "If you ever need to you can find the default cancel script that OctoPrint ships with here." -msgstr "Falls du jemals das Default-Abbruch-Skript benötigen solltest, mit dem OctoPrint ausgeliefert wird, so kannst du es hier finden." +msgid "" +"If you ever need to you can find the default cancel script that OctoPrint" +" ships with here." +msgstr "" +"Falls du jemals das Default-Abbruch-Skript benötigen solltest, mit dem " +"OctoPrint ausgeliefert wird, so kannst du es hier finden." #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:27 msgid "After print job is paused" @@ -4686,16 +6041,24 @@ msgid "Before tool change" msgstr "Vor Toolwechsel" #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:44 -msgid "Anything you put here will be executed before any tool change commands Tn." -msgstr "Befehle, die du hier platzierst, werden vor Werkzeugwechselbefehlen Tn gesendet." +msgid "" +"Anything you put here will be executed before any tool change " +"commands Tn." +msgstr "" +"Befehle, die du hier platzierst, werden vor " +"Werkzeugwechselbefehlen Tn gesendet." #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:48 msgid "After tool change" msgstr "Nach Toolwechsel" #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:51 -msgid "Anything you put here will be executed after any tool change commands Tn." -msgstr "Befehle, die du hier platzierst, werden nach Werkzeugwechselbefehlen Tn gesendet." +msgid "" +"Anything you put here will be executed after any tool change " +"commands Tn." +msgstr "" +"Befehle, die du hier platzierst, werden nach " +"Werkzeugwechselbefehlen Tn gesendet." #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:55 msgid "After connection to printer is established" @@ -4706,28 +6069,13 @@ msgid "Before connection to printer is closed" msgstr "Bevor die Verbindung zum Drucker geschlossen wird" #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:64 -msgid "Anything you put here will only be executed when closing the connection actively. If the connection to the printer is suddenly lost nothing will be sent." -msgstr "Das wird nur ausgeführt wenn die Verbindung aktiv geschlossen wird. Falls die Verbindung zum Drucker plötzlich verloren geht wird nichts gesendet." - -#: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:5 -msgid "Enable GCode Visualizer" -msgstr "GCode Viewer aktivieren" - -#: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:9 -msgid "Maximum size the GCodeViewer autoloads the file for preview" -msgstr "Maximale Größe für die der GCODE Viewer automatisch das Preview der Datei lädt" - -#: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:10 -msgid "GCode Visualizer file size threshold" -msgstr "Grenze für GCODE Viewer Dateigröße" - -#: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:15 -msgid "on desktop" -msgstr "auf dem Desktop" - -#: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:21 -msgid "on mobile" -msgstr "auf Mobile" +msgid "" +"Anything you put here will only be executed when closing the connection " +"actively. If the connection to the printer is suddenly lost nothing will " +"be sent." +msgstr "" +"Das wird nur ausgeführt wenn die Verbindung aktiv geschlossen wird. Falls" +" die Verbindung zum Drucker plötzlich verloren geht wird nichts gesendet." #: src/octoprint/templates/dialogs/settings/printerprofiles.jinja2:5 msgid "Add Profile..." @@ -4746,8 +6094,13 @@ msgid "Behaviour" msgstr "Verhalten" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:13 -msgid "Serial port to connect to, setting this to AUTO will make OctoPrint try to automatically find the right setting" -msgstr "Serieller Port, mit der sich verbunden werden soll. Falls AUTO konfiguriert ist wird OctoPrint versuchen, automatisch den richtigen Port zu finden." +msgid "" +"Serial port to connect to, setting this to AUTO will make OctoPrint try " +"to automatically find the right setting" +msgstr "" +"Serieller Port, mit der sich verbunden werden soll. Falls AUTO " +"konfiguriert ist wird OctoPrint versuchen, automatisch den richtigen Port" +" zu finden." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:14 #: src/octoprint/templates/sidebar/connection.jinja2:1 @@ -4755,8 +6108,12 @@ msgid "Serial Port" msgstr "Serialport" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:19 -msgid "Serial baud rate to connect with, setting this to AUTO will make OctoPrint try to automatically find the right setting" -msgstr "Baudrate mit der sich verbunden werden soll. Falls AUTO konfiguriert ist wird OctoPrint versuchen, automatisch die richtige Baudrate zu finden." +msgid "" +"Serial baud rate to connect with, setting this to AUTO will make " +"OctoPrint try to automatically find the right setting" +msgstr "" +"Baudrate mit der sich verbunden werden soll. Falls AUTO konfiguriert ist " +"wird OctoPrint versuchen, automatisch die richtige Baudrate zu finden." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:20 #: src/octoprint/templates/sidebar/connection.jinja2:3 @@ -4764,8 +6121,12 @@ msgid "Baudrate" msgstr "Baudrate" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:25 -msgid "Makes OctoPrint try to connect to the printer automatically during start up" -msgstr "OctoPrint wird versuchen, sich beim Startup automatisch mit dem Drucker zu verbinden" +msgid "" +"Makes OctoPrint try to connect to the printer automatically during start " +"up" +msgstr "" +"OctoPrint wird versuchen, sich beim Startup automatisch mit dem Drucker " +"zu verbinden" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:28 msgid "Auto-connect to printer on server start" @@ -4777,16 +6138,35 @@ msgstr "Zusätzliche serielle Ports" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:36 #, python-format -msgid "Use this to define additional glob patterns matching serial ports to list for connecting against, e.g. /dev/ttyAMA*. One entry per line. Please note that ports will only be offered to connect to if they get also detected by the operating system. Adding a port here will not make it magically appear in OctoPrint. If the operating system doesn't see your printer you need to solve this first." -msgstr "Nutze diese Einstellung um zusätzliche glob patterns zu konfigurieren, die auf serielle Ports deines Druckers matchen, z.B. /dev/ttyAMA*. Ein Eintrag pro Zeile. Bitte beachte, dass nur solche Ports zur Auswahl angeboten werden können, die auf vom darunter liegenden Betriebssystem erkannte werden. Einen Port hier hinzuzufügen wird ihn nicht auf magische Weise in OctoPrint erscheinen lassen. Wenn das Betriebssystem deinen Drucker nicht sieht, musst du das erst lösen." +msgid "" +"Use this to define additional glob patterns" +" matching serial ports to list for connecting against, e.g. " +"/dev/ttyAMA*. One entry per line. Please note that ports " +"will only be offered to connect to if they get also detected by the " +"operating system. Adding a port here will not make it magically " +"appear in OctoPrint. If the operating system doesn't see your printer you" +" need to solve this first." +msgstr "" +"Nutze diese Einstellung um zusätzliche glob" +" patterns zu konfigurieren, die auf serielle Ports deines Druckers " +"matchen, z.B. /dev/ttyAMA*. Ein Eintrag pro Zeile. Bitte " +"beachte, dass nur solche Ports zur Auswahl angeboten werden können, die " +"auf vom darunter liegenden Betriebssystem erkannte werden. Einen" +" Port hier hinzuzufügen wird ihn nicht auf magische Weise in OctoPrint " +"erscheinen lassen. Wenn das Betriebssystem deinen Drucker nicht sieht, " +"musst du das erst lösen." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:40 msgid "Additional baud rates" msgstr "Weitere Baudraten" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:43 -msgid "Use this to define additional serial port baud rates to list for connecting with, e.g. 123456. Comma separated." -msgstr "Nutze diese Einstellung um zusätzliche Baudraten zur Verbindung zu konfigurieren, 123456. Komma-separiert." +msgid "" +"Use this to define additional serial port baud rates to list for " +"connecting with, e.g. 123456. Comma separated." +msgstr "" +"Nutze diese Einstellung um zusätzliche Baudraten zur Verbindung zu " +"konfigurieren, 123456. Komma-separiert." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:47 msgid "Blacklisted serial ports" @@ -4794,16 +6174,26 @@ msgstr "Geblacklistete Serialports" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:50 #, python-format -msgid "Use this to define glob patterns matching serial ports to blacklist for connecting against, e.g. /dev/ttyS*. One entry per line." -msgstr "Nutze diese Einstellung, um glob patterns für zusätzliche Serialports zur Verbindung zu konfigurieren, z.B. /dev/ttyS*. Ein Eintrag pro Zeile." +msgid "" +"Use this to define glob patterns matching " +"serial ports to blacklist for connecting against, e.g. " +"/dev/ttyS*. One entry per line." +msgstr "" +"Nutze diese Einstellung, um glob patterns " +"für zusätzliche Serialports zur Verbindung zu konfigurieren, z.B. " +"/dev/ttyS*. Ein Eintrag pro Zeile." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:54 msgid "Blacklisted baud rates" msgstr "Geblacklistete Baudraten" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:57 -msgid "Use this to define serial port baud rates to blacklist for connecting with, e.g. 123456. Comma separated." -msgstr "Nutze diese Einstellung um Baudraten zur Verbindung zu blacklisten, z.B. 123456. Komma-separiert." +msgid "" +"Use this to define serial port baud rates to blacklist for connecting " +"with, e.g. 123456. Comma separated." +msgstr "" +"Nutze diese Einstellung um Baudraten zur Verbindung zu blacklisten, z.B. " +"123456. Komma-separiert." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:63 msgid "Request exclusive access to the serial port" @@ -4819,16 +6209,24 @@ msgstr "Parity Double Open Workaround anwenden" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:73 #, python-format -msgid "Use this if you are running into this problem." -msgstr "Nutze dies, falls du dieses Problembeobachtest." +msgid "" +"Use this if you are running into this problem." +msgstr "" +"Nutze dies, falls du dieses Problembeobachtest." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:76 msgid "If detected as potentially needed" msgstr "Falls als potenziell nötig erkannt" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:80 -msgid "Use this if connecting to your printer fails with (22, 'Invalid argument')." -msgstr "Nutze dies, falls der Verbindungsaufbau zu deinem Drucker mit (22, 'Invalid argument') fehlschlägt." +msgid "" +"Use this if connecting to your printer fails with (22, 'Invalid " +"argument')." +msgstr "" +"Nutze dies, falls der Verbindungsaufbau zu deinem Drucker mit (22, " +"'Invalid argument') fehlschlägt." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:86 msgid "Serial logging" @@ -4839,8 +6237,15 @@ msgid "Log communication to serial.log" msgstr "Kommunikation nach serial.log loggen" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:91 -msgid "While this can negatively impact performance, a serial.log can be incredibly useful for debugging any issues observed in the communication between OctoPrint and your printer." -msgstr "Dies kann zwar die Performance negativ beeinflussen, ein serial.log ist jedoch unglaublich nützlich beim Debugging jeglicher Probleme, die in der Kommunikation zwischen OctoPrint und deinem Drucker auftreten." +msgid "" +"While this can negatively impact performance, a serial.log " +"can be incredibly useful for debugging any issues observed in the " +"communication between OctoPrint and your printer." +msgstr "" +"Dies kann zwar die Performance negativ beeinflussen, ein " +"serial.log ist jedoch unglaublich nützlich beim Debugging " +"jeglicher Probleme, die in der Kommunikation zwischen OctoPrint und " +"deinem Drucker auftreten." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:99 msgid "Query intervals" @@ -4848,7 +6253,9 @@ msgstr "Abfrageintervalle" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:100 msgid "Interval in which to poll for the temperature information from the printer" -msgstr "Intervall in welchem die Temperaturdaten vom Drucker abgerufen werden sollen" +msgstr "" +"Intervall in welchem die Temperaturdaten vom Drucker abgerufen werden " +"sollen" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:101 msgid "Temperature interval (polling)" @@ -4863,8 +6270,13 @@ msgid "When idle and a target temperature is set" msgstr "Wenn im Leerlauf und eine Zieltemperatur eingestellt ist" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:117 -msgid "Temperature report interval to request from autoreport capable firmwares. A value of 0 disables autoreporting by the firmware and forces polling." -msgstr "Von der autoreportfähigen Firmware anzuforderndes Temperaturupdateintervall. Ein Wert von 0 deaktiviert Autoreporting der Firmware und forciert Polling." +msgid "" +"Temperature report interval to request from autoreport capable firmwares." +" A value of 0 disables autoreporting by the firmware and forces polling." +msgstr "" +"Von der autoreportfähigen Firmware anzuforderndes " +"Temperaturupdateintervall. Ein Wert von 0 deaktiviert Autoreporting der " +"Firmware und forciert Polling." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:118 msgid "Temperature interval (autoreport)" @@ -4876,8 +6288,12 @@ msgid "Autoreport interval to request from firmware" msgstr "Anzuforderndes Temperaturupdateintervall" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:127 -msgid "Interval in which to poll for the SD printing status information from the printer while printing" -msgstr "Intervall in welchem die SD-Statusdaten vom Drucker während des Druckens abgerufen werden sollen" +msgid "" +"Interval in which to poll for the SD printing status information from the" +" printer while printing" +msgstr "" +"Intervall in welchem die SD-Statusdaten vom Drucker während des Druckens " +"abgerufen werden sollen" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:128 msgid "SD status interval (polling)" @@ -4888,8 +6304,12 @@ msgid "When printing from the printer's SD" msgstr "Wenn von der SD des Druckers gedruckt wird" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:137 -msgid "SD status interval to request from autoreport capable firmwares. A value of 0 disables autoreporting by the firmware and forces polling." -msgstr "Von der autoreportfähigen Firmware anzuforderndes SD-Statusintervall. Ein Wert von 0 deaktiviert Autoreporting der Firmware und forciert Polling." +msgid "" +"SD status interval to request from autoreport capable firmwares. A value " +"of 0 disables autoreporting by the firmware and forces polling." +msgstr "" +"Von der autoreportfähigen Firmware anzuforderndes SD-Statusintervall. Ein" +" Wert von 0 deaktiviert Autoreporting der Firmware und forciert Polling." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:138 msgid "SD status interval (autoreport)" @@ -4900,8 +6320,17 @@ msgid "Timeouts" msgstr "Timeouts" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:150 -msgid "Time after which the communication with your printer will be considered timed out if nothing was sent by your printer (and an attempt to get it talking again will be done). Increase this if your printer takes longer than this for some moves." -msgstr "Zeit nach der OctoPrint davon ausgehen wird, dass die Kommunikation mit deinem Drucker unterbrochen wurde falls Dein Drucker keine Daten sendet. OctoPrint wird dann einen Versuch unternehmen, die Kommunikation wieder zu reetablieren. Erhöhe diesen Wert falls Dein Drucker für manche Bewegungen länger braucht." +msgid "" +"Time after which the communication with your printer will be considered " +"timed out if nothing was sent by your printer (and an attempt to get it " +"talking again will be done). Increase this if your printer takes longer " +"than this for some moves." +msgstr "" +"Zeit nach der OctoPrint davon ausgehen wird, dass die Kommunikation mit " +"deinem Drucker unterbrochen wurde falls Dein Drucker keine Daten sendet. " +"OctoPrint wird dann einen Versuch unternehmen, die Kommunikation wieder " +"zu reetablieren. Erhöhe diesen Wert falls Dein Drucker für manche " +"Bewegungen länger braucht." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:151 msgid "Communication timeout" @@ -4916,44 +6345,72 @@ msgid "busy protocol support detected" msgstr "busy Protokoll unterstützt" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:167 -msgid "Time after which a connection attempt to the printer will be considered as having failed" -msgstr "Zeit nach der ein unbeantworteter Verbindungsversuch als gescheitert angenommen wird" +msgid "" +"Time after which a connection attempt to the printer will be considered " +"as having failed" +msgstr "" +"Zeit nach der ein unbeantworteter Verbindungsversuch als gescheitert " +"angenommen wird" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:168 msgid "Connection timeout" msgstr "Verbindungstimeout" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:176 -msgid "Time after which to consider an auto detection attempt to have failed if no successful connection is detected" -msgstr "Zeit nach der ein unbeantworteter Autodetektierungsversuch als gescheitert angenommen wird" +msgid "" +"Time after which to consider an auto detection attempt to have failed if " +"no successful connection is detected" +msgstr "" +"Zeit nach der ein unbeantworteter Autodetektierungsversuch als " +"gescheitert angenommen wird" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:177 msgid "Autodetection timeout" msgstr "Autodetectiontimeout" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:185 -msgid "Time after which to consider a position query on pause or cancel to have failed" -msgstr "Zeit nach der OctoPrint annimmt, dass die Positionsabfrage nach Pause oder Abbruch fehlgeschlagen ist." +msgid "" +"Time after which to consider a position query on pause or cancel to have " +"failed" +msgstr "" +"Zeit nach der OctoPrint annimmt, dass die Positionsabfrage nach Pause " +"oder Abbruch fehlgeschlagen ist." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:186 msgid "Position query timeout" msgstr "Positionsabfragetimeout" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:197 -msgid "Time to wait after opening the serial connection before starting baudrate detection" -msgstr "Zeit, die OctoPrint nach Öffnen der seriellen Schnittstelle warten soll, bis es mit der Baudrateerkennung startet" +msgid "" +"Time to wait after opening the serial connection before starting baudrate" +" detection" +msgstr "" +"Zeit, die OctoPrint nach Öffnen der seriellen Schnittstelle warten soll, " +"bis es mit der Baudrateerkennung startet" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:198 msgid "Initial baudrate detection pause" msgstr "Baudrateerkennungsverzögerung" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:204 -msgid "Some controllers need a bit of a breather before baudrate detection after initial connect. If baudrate detection fails due to a hanging controller, try increasing this value." -msgstr "Einige Controller brauchen ein bisschen, bevor die Baudrateerkennung nach initialer Verbindung durchgeführt werden kann. Versuche, diesen Wert zu erhöhen, falls die Baudrateerkennung aufgrund eines hängenden Controllers fehlschlägt." +msgid "" +"Some controllers need a bit of a breather before baudrate detection after" +" initial connect. If baudrate detection fails due to a hanging " +"controller, try increasing this value." +msgstr "" +"Einige Controller brauchen ein bisschen, bevor die Baudrateerkennung nach" +" initialer Verbindung durchgeführt werden kann. Versuche, diesen Wert zu " +"erhöhen, falls die Baudrateerkennung aufgrund eines hängenden Controllers" +" fehlschlägt." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:207 -msgid "Maximum consecutive communication timeouts while idle. More than this and the printer will be considered to be gone. Set to 0 to disable." -msgstr "Maximale Anzahl aufeinanderfolgender Communication Timeouts im Idlezustand. Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0 setzen um das zu verhindern." +msgid "" +"Maximum consecutive communication timeouts while idle. More than this and" +" the printer will be considered to be gone. Set to 0 to disable." +msgstr "" +"Maximale Anzahl aufeinanderfolgender Communication Timeouts im " +"Idlezustand. Mehr als das und es wird angenommen, dass der Drucker " +"offline ist. Auf 0 setzen um das zu verhindern." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:208 msgid "Max. consecutive timeouts while idle" @@ -4966,16 +6423,27 @@ msgid "Set to 0 to disable consecutive timeout detection and handling." msgstr "Auf 0 setzen um aufeinanderfolgende Timeouts zu ignorieren" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:214 -msgid "Maximum consecutive communication timeouts while printing. More than this and the printer will be considered to be gone. Set to 0 to disable." -msgstr "Maximale Anzahl aufeinanderfolgender Communication Timeouts beim Drucken. Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0 setzen um das zu verhindern." +msgid "" +"Maximum consecutive communication timeouts while printing. More than this" +" and the printer will be considered to be gone. Set to 0 to disable." +msgstr "" +"Maximale Anzahl aufeinanderfolgender Communication Timeouts beim Drucken." +" Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0" +" setzen um das zu verhindern." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:215 msgid "Max. consecutive timeouts while printing" msgstr "Max. aufeinanderfolgende Timeouts beim Drucken" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:221 -msgid "Maximum consecutive communication timeouts while a long running command is active. More than this and the printer will be considered to be gone. Set to 0 to disable." -msgstr "Maximale Anzahl aufeinanderfolgender Communication Timeouts wenn ein lang laufender Befehl aktiv ist. Mehr als das und es wird angenommen, dass der Drucker offline ist. Auf 0 setzen um das zu verhindern." +msgid "" +"Maximum consecutive communication timeouts while a long running command " +"is active. More than this and the printer will be considered to be gone. " +"Set to 0 to disable." +msgstr "" +"Maximale Anzahl aufeinanderfolgender Communication Timeouts wenn ein lang" +" laufender Befehl aktiv ist. Mehr als das und es wird angenommen, dass " +"der Drucker offline ist. Auf 0 setzen um das zu verhindern." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:222 msgid "Max. consecutive timeouts during long running commands" @@ -4990,11 +6458,22 @@ msgid "Enable automatic firmware detection" msgstr "Automatische Firmwareerkennung einschalten" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:239 -msgid "\n" -" If enabled, OctoPrint will try to figure out your printer's firmware automatically and adjust some communication parameters based on that.\n" -" If that doesn't work out, or you want more granular control, uncheck this and the parameters in question will become visible for you to adjust.\n" +msgid "" +"\n" +" If enabled, OctoPrint will try to figure " +"out your printer's firmware automatically and adjust some communication " +"parameters based on that.\n" +" If that doesn't work out, or you want " +"more granular control, uncheck this and the parameters in question will " +"become visible for you to adjust.\n" " " -msgstr "Falls diese Option eingeschaltet ist, versucht OctoPrint die Firmware des Druckers automatisch zu erkennen und darauf basierend diverse Kommunikationsparameter zu konfigurieren. Falls das für dich nicht korrekt funktioniert oder du mehr Kontrolle haben möchtest, schalte diese Option aus und die entsprechenden Parameter werden zur manuellen Konfiguration eingeblendet." +msgstr "" +"Falls diese Option eingeschaltet ist, versucht OctoPrint die Firmware des" +" Druckers automatisch zu erkennen und darauf basierend diverse " +"Kommunikationsparameter zu konfigurieren. Falls das für dich nicht " +"korrekt funktioniert oder du mehr Kontrolle haben möchtest, schalte diese" +" Option aus und die entsprechenden Parameter werden zur manuellen " +"Konfiguration eingeblendet." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:250 msgid "Select SD files by relative path" @@ -5031,8 +6510,12 @@ msgstr "Aufeinanderfolgende Resend Requests für die selbe Zeilennummer ignorier #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:278 #, python-format -msgid "Support TargetExtr%%n/TargetBed target temperature format" -msgstr "TargetExtr%%n/TargetBed Zieltemperaturformat unterstützen" +msgid "" +"Support TargetExtr%%n/TargetBed target " +"temperature format" +msgstr "" +"TargetExtr%%n/TargetBed Zieltemperaturformat " +"unterstützen" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:285 msgid "Disable detection of external heatups" @@ -5040,7 +6523,9 @@ msgstr "Detektierung externer Aufheizvorgänge deaktivieren" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:292 msgid "Actively pause communication during G4 dwell command" -msgstr "Pausiere Kommunikation mit dem Drucker aktiv während eines G4 dwell Befehls." +msgstr "" +"Pausiere Kommunikation mit dem Drucker aktiv während eines " +"G4 dwell Befehls." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:297 msgid "Send a checksum with the command" @@ -5059,8 +6544,12 @@ msgid "Support sd status autoreporting by firmware, if detected" msgstr "SD-Status-Autoreporting durch die Firmware unterstützen, falls detektiert" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:331 -msgid "Send emergency GCODES M108 and M410 without waiting for acknowledgement, if detected as supported by the firmware" -msgstr "Emergency GCODES M108 und M410 ohne warten auf Bestätigung absenden, falls Unterstützung durch Firmware erkannt" +msgid "" +"Send emergency GCODES M108 and M410 without " +"waiting for acknowledgement, if detected as supported by the firmware" +msgstr "" +"Emergency GCODES M108 und M410 ohne warten auf" +" Bestätigung absenden, falls Unterstützung durch Firmware erkannt" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:338 msgid "Support busy protocol, if detected" @@ -5071,8 +6560,16 @@ msgid "Simulate ok for M29" msgstr "Zusätzliches ok für M29 generieren" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:346 -msgid "Most Marlin forks that were derived from Marlin versions < v1.1.0 do not send an acknowledging ok for a M29. Check this if you run into communication stalls following streaming of a file to your printer's SD." -msgstr "Die meisten Marlinforks, die von Marlin Versionen < v1.1.0 abgeleitet wurden, senden kein bestätigendes ok für ein M29. Aktiviere diese Option, falls du Kommunikationsprobleme nach dem Streaming einer Datei zu der SD des Druckers beobachtest." +msgid "" +"Most Marlin forks that were derived from Marlin versions < v1.1.0 do " +"not send an acknowledging ok for a M29. Check " +"this if you run into communication stalls following streaming of a file " +"to your printer's SD." +msgstr "" +"Die meisten Marlinforks, die von Marlin Versionen < v1.1.0 abgeleitet " +"wurden, senden kein bestätigendes ok für ein " +"M29. Aktiviere diese Option, falls du Kommunikationsprobleme" +" nach dem Streaming einer Datei zu der SD des Druckers beobachtest." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:351 msgid "Simulate ok for resend requests" @@ -5083,8 +6580,15 @@ msgid "If detected as necessary" msgstr "Falls als notwendig erkannt" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:362 -msgid "Some Marlin forks lack an acknowledging ok with their resend requests. Set this to \"always\" or \"if detected as necessary\" if you run into communication stalls on resend requests." -msgstr "Einige Marlinforks senden bei einem Resendrequest kein bestätigendes ok. Setze diese Option auf \"immer\" oder \"falls als notwendig erkannt\" falls du Kommunikationsprobleme nach Resendrequests beobachtest." +msgid "" +"Some Marlin forks lack an acknowledging ok with their resend" +" requests. Set this to \"always\" or \"if detected as necessary\" if you " +"run into communication stalls on resend requests." +msgstr "" +"Einige Marlinforks senden bei einem Resendrequest kein bestätigendes " +"ok. Setze diese Option auf \"immer\" oder \"falls als " +"notwendig erkannt\" falls du Kommunikationsprobleme nach Resendrequests " +"beobachtest." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:369 msgid "Protocol fine tuning" @@ -5095,68 +6599,123 @@ msgid "Wait for start on connect" msgstr "Bei der Verbindung auf start warten" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:374 -msgid "Try checking this if you run into connection timeouts due to your printer taking too long to respond to OctoPrint's handshake attempts on connect." -msgstr "Versuche es mit dieser Option, falls du Kommunikationsprobleme beobachtest, weil dein Drucker zu lange braucht, um auf OctoPrints Handshake Versuche zu antworten." +msgid "" +"Try checking this if you run into connection timeouts due to your printer" +" taking too long to respond to OctoPrint's handshake attempts on connect." +msgstr "" +"Versuche es mit dieser Option, falls du Kommunikationsprobleme " +"beobachtest, weil dein Drucker zu lange braucht, um auf OctoPrints " +"Handshake Versuche zu antworten." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:379 msgid "Blocked commands" msgstr "Blockierte Befehle" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:382 -msgid "Use this to specify commands that should never be sent to the printer. Just the G or M code, comma separated. Defaults to M0 and M1 since most firmware will block until a button on the controller has been pressed if it receives either of those two commands." -msgstr "Nutze dies um Befehle zu definieren, die niemals zum Drucker gesendet werden sollen. Nur der G oder M Code, kommasepariert. Standard ist M0 und M1 da die meisten Firmwarevarianten beim Empfang dieser Befehle blockiert, bis der Button am Druckercontroller betätigt wurde." +msgid "" +"Use this to specify commands that should never be sent to the printer. " +"Just the G or M code, comma separated. Defaults to M0 and " +"M1 since most firmware will block until a button on the " +"controller has been pressed if it receives either of those two commands." +msgstr "" +"Nutze dies um Befehle zu definieren, die niemals zum Drucker gesendet " +"werden sollen. Nur der G oder M Code, kommasepariert. Standard ist " +"M0 und M1 da die meisten Firmwarevarianten beim" +" Empfang dieser Befehle blockiert, bis der Button am Druckercontroller " +"betätigt wurde." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:386 msgid "Pausing commands" msgstr "Pausierende Befehle" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:389 -msgid "Use this to specify commands on which OctoPrint should pause the print job. Just the G or M code, comma separated. Defaults to M0, M1 and M25." -msgstr "Nutze die um Befehle zu definieren, bei denen OctoPrint den Druckjob pausieren sollte. Nur der G oder M Code, kommasepariert. Standard ist M0, M1 und M25." +msgid "" +"Use this to specify commands on which OctoPrint should pause the print " +"job. Just the G or M code, comma separated. Defaults to M0, " +"M1 and M25." +msgstr "" +"Nutze die um Befehle zu definieren, bei denen OctoPrint den Druckjob " +"pausieren sollte. Nur der G oder M Code, kommasepariert. Standard ist " +"M0, M1 und M25." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:393 msgid "Emergency commands" msgstr "Notfallbefehle" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:396 -msgid "Use this to specify emergency commands which should jump any queues and - if supported by the firmware - be force sent. Just the G or M code, comma separated. Defaults to M112, M108 and M410." -msgstr "Nutze dies um Notfallbefehle zu definieren, die interne Queues überspringen und - falls von der Firmware unterstützt - forciert gesendet werden sollen. Nur der G oder M Code, kommasepariert. Standard ist M112, M108 und M410." +msgid "" +"Use this to specify emergency commands which should jump any queues and -" +" if supported by the firmware - be force sent. Just the G or M code, " +"comma separated. Defaults to M112, M108 and " +"M410." +msgstr "" +"Nutze dies um Notfallbefehle zu definieren, die interne Queues " +"überspringen und - falls von der Firmware unterstützt - forciert gesendet" +" werden sollen. Nur der G oder M Code, kommasepariert. Standard ist " +"M112, M108 und M410." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:401 msgid "Command to send to the firmware on first handshake attempt." -msgstr "Kommando, das als erster Handshakeversuch an die Firmware gesendet werden soll" +msgstr "" +"Kommando, das als erster Handshakeversuch an die Firmware gesendet werden" +" soll" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:402 msgid "\"Hello\" command" msgstr "\"Hallo\"-Befehl" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:405 -msgid "Use this to specify a different command than the default M110 to send to the printer on initial connection to trigger a communication handshake." -msgstr "Nutze diese Einstellung um einen anderen Befehl als M110 beim initialen Verbindungsaufbau zum Drucker zu senden." +msgid "" +"Use this to specify a different command than the default " +"M110 to send to the printer on initial connection to trigger" +" a communication handshake." +msgstr "" +"Nutze diese Einstellung um einen anderen Befehl als M110 " +"beim initialen Verbindungsaufbau zum Drucker zu senden." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:408 -msgid "Commands that are know to run long and hence should suppress communication timeouts from being triggered." -msgstr "Befehle, von denen bekannt ist, dass sie lang zur Ausführung benötigen und daher das Auslösen von Kommunikationstimeouts unterdrücken sollten." +msgid "" +"Commands that are know to run long and hence should suppress " +"communication timeouts from being triggered." +msgstr "" +"Befehle, von denen bekannt ist, dass sie lang zur Ausführung benötigen " +"und daher das Auslösen von Kommunikationstimeouts unterdrücken sollten." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:409 msgid "Long running commands" msgstr "Lang laufende Befehle" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:412 -msgid "Use this to specify the commands known to take a long time to complete without output from your printer and hence might cause timeout issues. Just the G or M code, comma separated." -msgstr "Nutze diese Option, um solche Befehle zu definieren, von denen Du weißt, dass sie eine längere Zeit lang laufen, währenddessen keinen Output produzieren und daher Timeoutprobleme verursachen könnten. Nur den G- oder M-Code, kommasepariert." +msgid "" +"Use this to specify the commands known to take a long time to complete " +"without output from your printer and hence might cause timeout issues. " +"Just the G or M code, comma separated." +msgstr "" +"Nutze diese Option, um solche Befehle zu definieren, von denen Du weißt, " +"dass sie eine längere Zeit lang laufen, währenddessen keinen Output " +"produzieren und daher Timeoutprobleme verursachen könnten. Nur den G- " +"oder M-Code, kommasepariert." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:415 -msgid "Commands that always require a line number and checksum to be sent with them." -msgstr "Befehle, die immer mit einer Prüfsumme und Zeilennummer gesendet werden müssen." +msgid "" +"Commands that always require a line number and checksum to be sent with " +"them." +msgstr "" +"Befehle, die immer mit einer Prüfsumme und Zeilennummer gesendet werden " +"müssen." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:416 msgid "Commands that always require a checksum" msgstr "Befehle, die immer eine Prüfsumme benötigen" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:419 -msgid "Use this to specify which commands always need to be sent with a checksum. Comma separated list." -msgstr "Nutze diese Einstellung um Befehle zu spezifizieren, die immer mit Prüfsumme gesendet werden müssen. Komma-separierte Liste." +msgid "" +"Use this to specify which commands always need to be " +"sent with a checksum. Comma separated list." +msgstr "" +"Nutze diese Einstellung um Befehle zu spezifizieren, die " +"immer mit Prüfsumme gesendet werden müssen. Komma-" +"separierte Liste." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:422 msgid "ok buffer size" @@ -5176,7 +6735,9 @@ msgstr "Fehlerbehandlung" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:437 msgid "What to do on a firmware error (Error: or !!)" -msgstr "Was im Falle eines Firmwarefehlers (Error: oder !!) gemacht werden soll" +msgstr "" +"Was im Falle eines Firmwarefehlers (Error: oder " +"!!) gemacht werden soll" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:440 msgid "Disconnect from the printer" @@ -5187,44 +6748,82 @@ msgid "Cancel any ongoing prints but stay connected to the printer" msgstr "Laufende Druckaufträge abbrechen, aber mit dem Drucker verbunden bleiben" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:444 -msgid "Please note that if you choose this, OctoPrint will still disconnect from the printer in case of fatal errors reported by your firmware (e.g. kill() called, fatal:)." -msgstr "Bitte beachte, dass OctoPrint weiterhin die Verbindung zum Drucker trennen wird, wenn fatale Fehler durch die Firmware gemeldet werden (z.B. kill() called, fatal:)." +msgid "" +"Please note that if you choose this, OctoPrint will still disconnect from" +" the printer in case of fatal errors reported by your firmware " +"(e.g. kill() called, fatal:)." +msgstr "" +"Bitte beachte, dass OctoPrint weiterhin die Verbindung zum Drucker " +"trennen wird, wenn fatale Fehler durch die Firmware gemeldet " +"werden (z.B. kill() called, fatal:)." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:448 -msgid "Only choose this if your firmware sends error messages that are not actual errors. Might mask printer issues (even fatal errors!), be careful!" -msgstr "Wähle das nur aus, wenn deine Firmware Fehlermeldungen für Dinge sendet, die gar keine wirklich Fehler sind. Könnte Druckerprobleme verbergen (sogar fatale!), Vorsicht!" +msgid "" +"Only choose this if your firmware sends error messages that are not " +"actual errors. Might mask printer issues (even fatal errors!), be " +"careful!" +msgstr "" +"Wähle das nur aus, wenn deine Firmware Fehlermeldungen für Dinge sendet, " +"die gar keine wirklich Fehler sind. Könnte Druckerprobleme verbergen " +"(sogar fatale!), Vorsicht!" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:454 msgid "Send M112 on disconnect due to error" msgstr "Sende M112 bei fehlerbedingten Disconnects." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:455 -msgid "If this is checked, OctoPrint will try to send an M112 prior to a disconnect due to a (fatal) error in order to disable heaters and motors." -msgstr "Wenn dies ausgewählt ist, wird OctoPrint versuchen, vor Disconnects, die durch einen (fatalen) Fehler verursacht wurden, ein M112 zum Drucker zu senden, um Heizelemente und Motoren zu deaktivieren." +msgid "" +"If this is checked, OctoPrint will try to send an M112 prior" +" to a disconnect due to a (fatal) error in order to disable heaters and " +"motors." +msgstr "" +"Wenn dies ausgewählt ist, wird OctoPrint versuchen, vor Disconnects, die " +"durch einen (fatalen) Fehler verursacht wurden, ein M112 zum" +" Drucker zu senden, um Heizelemente und Motoren zu deaktivieren." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463 msgid "Log position on pause" msgstr "Position bei Pause loggen" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:464 -msgid "If you disable this, the pause_position placeholders in your pause/resume GCODE scripts will stay unpopulated! However, pausing speed might improve slightly." -msgstr "Falls du das deaktivierst, werden die pause_position Platzhalter in deinen Pausieren/Fortsetzen GCODE Scripts nicht befüllt! Allerdings könnte sich die Pausierungsgeschwindigkeit einen Hauch verbessern." +msgid "" +"If you disable this, the pause_position placeholders in your" +" pause/resume GCODE scripts will stay unpopulated! However, pausing speed" +" might improve slightly." +msgstr "" +"Falls du das deaktivierst, werden die pause_position " +"Platzhalter in deinen Pausieren/Fortsetzen GCODE Scripts nicht befüllt! " +"Allerdings könnte sich die Pausierungsgeschwindigkeit einen Hauch " +"verbessern." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472 msgid "Log position on cancel" msgstr "Position bei Abbruch loggen" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:473 -msgid "If you disable this, the cancel_position placeholders in your cancel GCODE script and the corresponding data in the print recovery data will stay unpopulated! However, cancelling speed might improve slightly." -msgstr "Falls du das deaktivierst, werden die cancel_position Platzhalter in deinem Abbruch GCODE Script nicht befüllt! Allerdings könnte sich die Abbruchgeschwindigkeit einen Hauch verbessern." +msgid "" +"If you disable this, the cancel_position placeholders in " +"your cancel GCODE script and the corresponding data in the print recovery" +" data will stay unpopulated! However, cancelling speed might improve " +"slightly." +msgstr "" +"Falls du das deaktivierst, werden die cancel_position " +"Platzhalter in deinem Abbruch GCODE Script nicht befüllt! Allerdings " +"könnte sich die Abbruchgeschwindigkeit einen Hauch verbessern." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:478 msgid "Attempt to abort any blocking heatups on cancel via M108." -msgstr "Versuche, blockierende Aufheizprozesse beim Abbruch mittel M108 zu stoppen." +msgstr "" +"Versuche, blockierende Aufheizprozesse beim Abbruch mittel " +"M108 zu stoppen." #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:479 -msgid "Uncheck this if your firmware doesn't support M108 for aborting blocking heatups!" -msgstr "Deaktiviere dies, falls deine Firmware M108 zum Stoppen blockierender Aufheizprozesse nicht unterstützt!" +msgid "" +"Uncheck this if your firmware doesn't support M108 for " +"aborting blocking heatups!" +msgstr "" +"Deaktiviere dies, falls deine Firmware M108 zum Stoppen " +"blockierender Aufheizprozesse nicht unterstützt!" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:484 msgid "Sanity Checking" @@ -5235,8 +6834,22 @@ msgid "Sanity check tool commands" msgstr "Validität von Tool-Befehlen prüfen" #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:488 -msgid "If enabled, OctoPrint will not send tool commands to your printer that exceed the number of extruders configured in the active printer profile, or for which the firmware has reported an \"invalid extruder\" error. Only uncheck this if OctoPrint or your firmware mistakingly mark valid tools as invalid and be sure to investigate the reason for that, it might be a misconfiguration you need to correct for proper operation." -msgstr "Wenn das aktiviert ist, wird OctoPrint solche Tool-Befehle nicht zu deinem Drucke senden, die über die Anzahl der im aktuellen Druckerprofile konfigurierten Extruder hinausgehen oder für die die Firmware einen \"invalid extruder\" Fehler zurückgegeben hat. Deaktiviere diese Option nur, wenn OctoPrint oder deine Firmware Tools fälschlicherweise als nicht valide markieren, und stelle sicher, dass du auch die Ursache dafür herausfindest, es könnte eine Fehlkonfiguration sein, die du für korrekte Funktionsweise korrigieren musst." +msgid "" +"If enabled, OctoPrint will not send tool commands to your printer that " +"exceed the number of extruders configured in the active printer profile, " +"or for which the firmware has reported an \"invalid extruder\" error. " +"Only uncheck this if OctoPrint or your firmware mistakingly mark valid " +"tools as invalid and be sure to investigate the reason for that, it might" +" be a misconfiguration you need to correct for proper operation." +msgstr "" +"Wenn das aktiviert ist, wird OctoPrint solche Tool-Befehle nicht zu " +"deinem Drucke senden, die über die Anzahl der im aktuellen Druckerprofile" +" konfigurierten Extruder hinausgehen oder für die die Firmware einen " +"\"invalid extruder\" Fehler zurückgegeben hat. Deaktiviere diese Option " +"nur, wenn OctoPrint oder deine Firmware Tools fälschlicherweise als nicht" +" valide markieren, und stelle sicher, dass du auch die Ursache dafür " +"herausfindest, es könnte eine Fehlkonfiguration sein, die du für korrekte" +" Funktionsweise korrigieren musst." #: src/octoprint/templates/dialogs/settings/server.jinja2:4 msgid "Commands" @@ -5271,16 +6884,26 @@ msgid "Send temperature fine adjustments automatically" msgstr "Temperaturfeinjustierungen automatisch senden" #: src/octoprint/templates/dialogs/settings/temperatures.jinja2:19 -msgid "Enable this to have temperature fine adjustments you do via the + or - button be sent to the printer automatically." -msgstr "Aktiviere dies, um die Temperaturfeinjustierungen, die du mittels der + und - Buttons durchführen kannst, automatisch zum Drucker senden zu lassen." +msgid "" +"Enable this to have temperature fine adjustments you do via the + or - " +"button be sent to the printer automatically." +msgstr "" +"Aktiviere dies, um die Temperaturfeinjustierungen, die du mittels der + " +"und - Buttons durchführen kannst, automatisch zum Drucker senden zu " +"lassen." #: src/octoprint/templates/dialogs/settings/temperatures.jinja2:23 msgid "Sending delay" msgstr "Sendeverzögerung" #: src/octoprint/templates/dialogs/settings/temperatures.jinja2:29 -msgid "OctoPrint will use this delay to limit the number of sent temperature commands should you perform multiple fine adjustments in a short time." -msgstr "OctoPrint wird diese Verzögerung nutzen, um die Anzahl der gesendeten Temperaturkommandos zu reduzieren wenn du mehrere Feinjustierungen in einer kurzen Zeit durchführst." +msgid "" +"OctoPrint will use this delay to limit the number of sent temperature " +"commands should you perform multiple fine adjustments in a short time." +msgstr "" +"OctoPrint wird diese Verzögerung nutzen, um die Anzahl der gesendeten " +"Temperaturkommandos zu reduzieren wenn du mehrere Feinjustierungen in " +"einer kurzen Zeit durchführst." #: src/octoprint/templates/dialogs/settings/temperatures.jinja2:32 msgid "Presets" @@ -5295,8 +6918,12 @@ msgid "RegExp" msgstr "RegExp" #: src/octoprint/templates/dialogs/usersettings/access.jinja2:5 -msgid "If you do not wish to change your password, just leave the following fields empty." -msgstr "Falls Du Dein Passwort nicht ändern willst, lass die folgenden Felder leer." +msgid "" +"If you do not wish to change your password, just leave the following " +"fields empty." +msgstr "" +"Falls Du Dein Passwort nicht ändern willst, lass die folgenden Felder " +"leer." #: src/octoprint/templates/dialogs/usersettings/access.jinja2:8 #: src/octoprint/templates/snippets/settings/accesscontrol/users.jinja2:141 @@ -5315,50 +6942,81 @@ msgid "Current API Key" msgstr "Aktueller API-Key" #: src/octoprint/templates/dialogs/usersettings/access.jinja2:32 -msgid "Please note that changes to the API key are applied immediately, without having to \"Confirm\" first." -msgstr "Bitte beachte, dass Änderungen am API-Key sofort angewandt werden, ohne dass \"Bestätigen\" geklickt werden muss." +msgid "" +"Please note that changes to the API key are applied immediately, without " +"having to \"Confirm\" first." +msgstr "" +"Bitte beachte, dass Änderungen am API-Key sofort angewandt werden, ohne " +"dass \"Bestätigen\" geklickt werden muss." #: src/octoprint/templates/dialogs/usersettings/interface.jinja2:3 msgid "Language" msgstr "Sprache" #: src/octoprint/templates/dialogs/usersettings/interface.jinja2:11 -msgid "Changes to the interface language will only become active after a reload of the page." -msgstr "Änderungen der Oberflächensprache werden erst nach einem Neuladen der Seite aktiv." +msgid "" +"Changes to the interface language will only become active after a reload " +"of the page." +msgstr "" +"Änderungen der Oberflächensprache werden erst nach einem Neuladen der " +"Seite aktiv." #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:1 msgid "All Done!" msgstr "Alles erledigt!" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:3 -msgid "\n" +msgid "" +"\n" " Your OctoPrint installation is now all set up and ready to go.\n" -msgstr "Deine OctoPrint Installation ist jetzt eingerichtet und es kann losgehen.\n" +msgstr "" +"Deine OctoPrint Installation ist jetzt eingerichtet und es kann losgehen." +"\n" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:7 msgid "For your printer's safety" msgstr "Über die Sicherheit deines Druckers" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:10 -msgid "\n" -" Even with OctoPrint attached you should never leave\n" -" your printer running completely unattended. The electronics in our consumer printers can and\n" -" sometimes sadly do catch fire, so stay or have someone else stay close enough to physically intervene\n" +msgid "" +"\n" +" Even with OctoPrint attached you should never leave\n" +" your printer running completely unattended. The electronics " +"in our consumer printers can and\n" +" sometimes sadly do catch fire, so stay or have someone else stay " +"close enough to physically intervene\n" " in case of such catastrophic failure.\n" -msgstr "Auch mit angeschlossener OctoPrint-Instanz solltest du deinen Drucker niemals unbeaufsichtigt laufen lassen. Die Elektronik in unseren Konsumerdruckern kann Feuer fangen, und tut das leider auch manchmal. Bleibe also in der Nähe deines Druckers oder sorge dafür, dass jemand anderes in der Nähe bleibt, um im Falle eines solch katastrophalen Fehlers einschreiten zu können.\n" +msgstr "" +"Auch mit angeschlossener OctoPrint-Instanz solltest du deinen Drucker " +"niemals unbeaufsichtigt laufen " +"lassen. Die Elektronik in unseren Konsumerdruckern kann Feuer " +"fangen, und tut das leider auch manchmal. Bleibe also in der Nähe deines " +"Druckers oder sorge dafür, dass jemand anderes in der Nähe bleibt, um im " +"Falle eines solch katastrophalen Fehlers einschreiten zu können.\n" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:16 #, python-format -msgid "\n" -" You also should never make your OctoPrint instance available for everyone on the\n" -" public internet, even with Access Control enabled. Your instance will be found, and bad people\n" +msgid "" +"\n" +" You also should never make your " +"OctoPrint instance available for everyone on the\n" +" public internet, even with Access Control enabled. Your " +"instance will be found, and bad people\n" " will try to abuse it. Don't put yourself at risk,\n" -" use a safe way to access your instance remotely.\n" -msgstr "\n" -" Du solltest ebenfalls deine OctoPrint Instanz niemals für jeden im öffentlichen Internet verfügbar machen,\n" -" auch nicht wenn die Zugriffsbeschränkung aktiviert ist. Deine Instanz wird gefunden werden, und böse Menschen\n" +" use" +" a safe way to access your instance remotely.\n" +msgstr "" +"\n" +" Du solltest ebenfalls deine OctoPrint " +"Instanz niemals für jeden im öffentlichen Internet verfügbar " +"machen,\n" +" auch nicht wenn die Zugriffsbeschränkung aktiviert ist. Deine Instanz" +" wird gefunden werden, und böse Menschen\n" " werden versuchen, einzubrechen. Gehe kein Risiko ein,\n" -" nutze einen sicheren Weg, auf deine Instanz von unterwegs zuzugreifen.\n" +" nutze einen sicheren Weg, auf deine Instanz von unterwegs " +"zuzugreifen.\n" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:23 msgid "If you enjoy OctoPrint..." @@ -5366,17 +7024,26 @@ msgstr "Falls dir OctoPrint gefällt..." #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:26 #, python-format -msgid "\n" -" Please consider supporting OctoPrint's ongoing development,\n" -" which can only continue with funding by users like you! You can also find this link in the \"About\" dialog.
    \n" +msgid "" +"\n" +" Please consider supporting OctoPrint's ongoing " +"development,\n" +" which can only continue with funding by users like you! You can also " +"find this link in the \"About\" dialog.
    \n" " Thank you!\n" -msgstr "\n" -" Bitte denke darüber nach, OctoPrints laufende Entwicklung zu unterstützen,\n" -" welche nur dank Unterstützung von Nutzern wie dir weitergehen kann! Du kannst diesen Link auch im Aboutdialog finden.
    \n" +msgstr "" +"\n" +" Bitte denke darüber nach, OctoPrints laufende Entwicklung zu " +"unterstützen,\n" +" welche nur dank Unterstützung von Nutzern wie dir weitergehen kann! " +"Du kannst diesen Link auch im Aboutdialog finden.
    \n" " Vielen Dank!\n" #: src/octoprint/templates/dialogs/wizard/firstrun_end.jinja2:32 -msgid "\n" +msgid "" +"\n" " With all that being said, Happy and Safe Printing!\n" msgstr "Und jetzt fröhliches und sicheres Drucken!\n" @@ -5385,15 +7052,20 @@ msgid "Hello!" msgstr "Hallo!" #: src/octoprint/templates/dialogs/wizard/firstrun_start.jinja2:3 -msgid "\n" +msgid "" +"\n" " Thank you for installing OctoPrint!\n" msgstr "Danke, dass du OctoPrint installiert hast!\n" #: src/octoprint/templates/dialogs/wizard/firstrun_start.jinja2:6 -msgid "\n" -" This wizard will guide you through the final steps to get your OctoPrint instance all set up and ready to go. We'll\n" +msgid "" +"\n" +" This wizard will guide you through the final steps to get your " +"OctoPrint instance all set up and ready to go. We'll\n" " get you printing in no time!\n" -msgstr "Dieser Wizard wird dich nun durch die letzten Schritte begleiten, um deine OctoPrint Instanz fertig einzurichten.\n" +msgstr "" +"Dieser Wizard wird dich nun durch die letzten Schritte begleiten, um " +"deine OctoPrint Instanz fertig einzurichten.\n" #: src/octoprint/templates/navbar/login.jinja2:20 msgid "Logout" @@ -5433,13 +7105,20 @@ msgid "Please reload" msgstr "Bitte die Seite neu laden" #: src/octoprint/templates/overlays/reloadui.jinja2:7 -msgid "\n" -" There is a new version of the server active now, a reload\n" -" of the user interface is needed. This will not interrupt\n" -" any print jobs you might have ongoing. Please reload the\n" +msgid "" +"\n" +" There is a new version of the server active now, a " +"reload\n" +" of the user interface is needed. This will not " +"interrupt\n" +" any print jobs you might have ongoing. Please reload " +"the\n" " web interface now by clicking the button below.\n" " " -msgstr "Die Serverversion hat sich geändert, ein Neuladen des Webinterfaces ist notwendig. Das wird evtl. laufenden Printjobs nicht unterbrechen. Bitte lade das Webinterface jetzt neu, indem du auf den Button unten klickst." +msgstr "" +"Die Serverversion hat sich geändert, ein Neuladen des Webinterfaces ist " +"notwendig. Das wird evtl. laufenden Printjobs nicht unterbrechen. Bitte " +"lade das Webinterface jetzt neu, indem du auf den Button unten klickst." #: src/octoprint/templates/sidebar/connection.jinja2:8 msgid "Save connection settings" @@ -5587,7 +7266,9 @@ msgstr "Zeitraffer rendern" #: src/octoprint/templates/sidebar/state.jinja2:14 msgid "Estimated total print time based on analysis of the file or past prints" -msgstr "Geschätzte Gesamtdauer basierend auf statischer Analyse oder vergangenen Drucken" +msgstr "" +"Geschätzte Gesamtdauer basierend auf statischer Analyse oder vergangenen " +"Drucken" #: src/octoprint/templates/sidebar/state.jinja2:14 msgid "Approx. Total Print Time" @@ -5602,8 +7283,12 @@ msgid "Print Time" msgstr "Dauer" #: src/octoprint/templates/sidebar/state.jinja2:17 -msgid "Estimated time until the print job is done. This is only an estimate and accuracy depends heavily on various factors!" -msgstr "Geschätzte Zeit, bis der Druck beendet ist. Dies ist nur eine Schätzung, deren Genauigkeit stark von diversen Faktoren abhängt!" +msgid "" +"Estimated time until the print job is done. This is only an estimate and " +"accuracy depends heavily on various factors!" +msgstr "" +"Geschätzte Zeit, bis der Druck beendet ist. Dies ist nur eine Schätzung, " +"deren Genauigkeit stark von diversen Faktoren abhängt!" #: src/octoprint/templates/sidebar/state.jinja2:17 msgid "Print Time Left" @@ -5678,8 +7363,12 @@ msgid "Default" msgstr "Standard" #: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:89 -msgid "Marking a group as default will make it get pre selected when creating new users." -msgstr "Eine als Standardgruppe deklarierte Gruppe wird bei der Erstellung neuer Nutzer vorselektiert." +msgid "" +"Marking a group as default will make it get pre selected when creating " +"new users." +msgstr "" +"Eine als Standardgruppe deklarierte Gruppe wird bei der Erstellung neuer " +"Nutzer vorselektiert." #: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6 msgid "Plugin" @@ -5720,8 +7409,12 @@ msgid "Change password for user \"%(user)s\"" msgstr "Passwortänderung für Nutzer \"%(user)s\"" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorAxes.jinja2:4 -msgid "Please define the maximum speed/feedrate of the individual axes and whether their control should be inverted or not." -msgstr "Bitte definiere die maximale Geschwindkeit/Feedrate der individuellen Achsen und ob ihre Steuerung invertiert werden soll oder nicht." +msgid "" +"Please define the maximum speed/feedrate of the individual axes and " +"whether their control should be inverted or not." +msgstr "" +"Bitte definiere die maximale Geschwindkeit/Feedrate der individuellen " +"Achsen und ob ihre Steuerung invertiert werden soll oder nicht." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorAxes.jinja2:8 msgid "X" @@ -5747,7 +7440,9 @@ msgstr "E" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorAxes.jinja2:54 msgid "This information is used for manual control via the \"Control\" tab." -msgstr "Diese Informationen werden für die manuelle Steuerung im \"Steuerung\" Tab verwendet." +msgstr "" +"Diese Informationen werden für die manuelle Steuerung im \"Steuerung\" " +"Tab verwendet." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorBuildvolume.jinja2:3 msgid "Form Factor" @@ -5794,11 +7489,17 @@ msgid "Height (Z)" msgstr "Höhe (Z)" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorBuildvolume.jinja2:81 -msgid "\n" -" If your printer's print head may move slightly outside the print volume (e.g. for nozzle cleaning routines)\n" -" you can define a custom safe bounding box for its movements below.\n" +msgid "" +"\n" +" If your printer's print head may move slightly outside the " +"print volume (e.g. for nozzle cleaning routines)\n" +" you can define a custom safe bounding box for its movements " +"below.\n" " " -msgstr "Wenn der Druckkopf des Druckers sich außerhalb des Druckvolumens bewegen darf (z.B. für Nozzlereinigungsroutinen) kannst du hier eine als gefahrlos geltende Bounding Box für seine Bewegung definieren." +msgstr "" +"Wenn der Druckkopf des Druckers sich außerhalb des Druckvolumens bewegen " +"darf (z.B. für Nozzlereinigungsroutinen) kannst du hier eine als " +"gefahrlos geltende Bounding Box für seine Bewegung definieren." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorBuildvolume.jinja2:88 msgid "Custom bounding box" @@ -5817,8 +7518,12 @@ msgid "Z Coordinates" msgstr "Z Koordinaten" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorBuildvolume.jinja2:136 -msgid "This information is used for the temperature tab, the bounding box check, the GCODE Viewer and/or when slicing from OctoPrint." -msgstr "Diese Informationen werden für das Temperaturtab, den Bounding-Box-Check, den GCODE Viewer und/oder beim Slicen aus OctoPrint heraus verwendet." +msgid "" +"This information is used for the temperature tab, the bounding box check," +" the GCODE Viewer and/or when slicing from OctoPrint." +msgstr "" +"Diese Informationen werden für das Temperaturtab, den Bounding-Box-Check," +" den GCODE Viewer und/oder beim Slicen aus OctoPrint heraus verwendet." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:4 msgid "Nozzle Diameter" @@ -5829,29 +7534,52 @@ msgid "Number of Extruders" msgstr "Anzahl Extruder" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:16 -msgid "Make sure to specify number of extruders available on your printer or you might run into issues" -msgstr "Stelle sicher, dass du die Anzahl an Extrudern deines Druckers konfigurierst oder du könntest auf Probleme stoßen" +msgid "" +"Make sure to specify number of extruders available on your printer or you" +" might run into issues" +msgstr "" +"Stelle sicher, dass du die Anzahl an Extrudern deines Druckers " +"konfigurierst oder du könntest auf Probleme stoßen" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:21 msgid "Shared nozzle" msgstr "Geteilte Düse" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:24 -msgid "Check this if your printer has a single nozzle and heater shared among its extruders instead of one nozzle and heater per extruder" -msgstr "Markiere dies wenn dein Drucker eine einzelne Düse und Heizelement hat, die unter den Extrudern geteilt werden (anstatt einer Düse und Heizelement je Extruder)" +msgid "" +"Check this if your printer has a single nozzle and heater shared among " +"its extruders instead of one nozzle and heater per extruder" +msgstr "" +"Markiere dies wenn dein Drucker eine einzelne Düse und Heizelement hat, " +"die unter den Extrudern geteilt werden (anstatt einer Düse und " +"Heizelement je Extruder)" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:31 -msgid "Please specify the nozzle offsets of the extruders relative to the first nozzle T0 if you haven't already done so in your firmware. Otherwise leave them at (0,0)." -msgstr "Bitte spezifiziere die Düsenoffsets der Extruder relativ zur ersten Düse T0 falls du das nicht bereits in der Firmware deines Druckers getan hast. Andernfalls belasse sie bei (0,0)." +msgid "" +"Please specify the nozzle offsets of the extruders relative to the first " +"nozzle T0 if you haven't already done so in your " +"firmware. Otherwise leave them at (0,0)." +msgstr "" +"Bitte spezifiziere die Düsenoffsets der Extruder relativ zur ersten Düse " +"T0 falls du das nicht bereits in der Firmware deines Druckers " +"getan hast. Andernfalls belasse sie bei (0,0)." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:37 -#: src/octoprint/templates/tabs/temperature.jinja2:13 +#: src/octoprint/templates/tabs/temperature.jinja2:29 msgid "Offset" msgstr "Offset" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:56 -msgid "This information is used for the graph and controls available in the \"Temperature\" tab, the GCODE viewer, when slicing from within OctoPrint and for deciding which toolchange commands are safe to send to the printer." -msgstr "Diese Informationen werden für den Graph und die Bedienelemente des \"Temperatur\"-Tabs, den GCODE Viewer, beim Slicen über OctoPrint sowie bei der Prüfung, welche Toolbefehle zum Drucker gesendet werden dürfen, verwendet." +msgid "" +"This information is used for the graph and controls available in the " +"\"Temperature\" tab, the GCODE viewer, when slicing from within OctoPrint" +" and for deciding which toolchange commands are safe to send to the " +"printer." +msgstr "" +"Diese Informationen werden für den Graph und die Bedienelemente des " +"\"Temperatur\"-Tabs, den GCODE Viewer, beim Slicen über OctoPrint sowie " +"bei der Prüfung, welche Toolbefehle zum Drucker gesendet werden dürfen, " +"verwendet." #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorGeneral.jinja2:6 msgid "Name must be set" @@ -5895,29 +7623,58 @@ msgid "Command to shut down the system OctoPrint is running on" msgstr "Befehl zum Herunterfahren des Systems, auf dem OctoPrint läuft" #: src/octoprint/templates/snippets/settings/server/serverOnlineCheck.jinja2:6 -msgid "\n" -" Define a check interval, a host and a port to check against. If you don't know what to set here, the\n" -" default values (using Google's DNS server) should work. If you have concerns about using\n" -" that, define the IP and port of a different online server that you trust and that has a high\n" +msgid "" +"\n" +" Define a check interval, a host and a port to check " +"against. If you don't know what to set here, the\n" +" default values (using Google's DNS server) should work. " +"If you have concerns about using\n" +" that, define the IP and port of a different online server" +" that you trust and that has a high\n" " availability.\n" " " -msgstr "Definiere ein Prüfungsintervall, einen Host und einen Port gegen die geprüft werden soll. Falls du nicht weißt, was du hier einstellen sollte: Die Defaultwerte (Googles DNS Server) sollten funktionieren. Falls du Bedenken hast, diese zu nutzen, definiere IP und Port eines anderen Servers im Netz, dem du vertraust und der eine hohe Verfügbarkeit hat." +msgstr "" +"Definiere ein Prüfungsintervall, einen Host und einen Port gegen die " +"geprüft werden soll. Falls du nicht weißt, was du hier einstellen sollte:" +" Die Defaultwerte (Googles DNS Server) sollten funktionieren. Falls du " +"Bedenken hast, diese zu nutzen, definiere IP und Port eines anderen " +"Servers im Netz, dem du vertraust und der eine hohe Verfügbarkeit hat." #: src/octoprint/templates/snippets/settings/server/serverOnlineCheck.jinja2:22 -msgid "\n" -" If you also want to check if name resolution works (strongly recommended), define a host name\n" -" to check name resolution against. If you don't know what to set here, the default value\n" -" (OctoPrint's domain) should work. If you don't want to perform regular resolution checks along\n" -" side with the general connectivity check, leave the field empty.\n" +msgid "" +"\n" +" If you also want to check if name resolution works " +"(strongly recommended), define a host name\n" +" to check name resolution against. If you don't know what " +"to set here, the default value\n" +" (OctoPrint's domain) should work. If you don't want to " +"perform regular resolution checks along\n" +" side with the general connectivity check, leave the field" +" empty.\n" " " -msgstr "Falls du auch Überprüfen willst, ob die Namensauflösung funktioniert (sehr empfehlenswert), definiere einen Hostnamen gegen den die Auflösung geprüft werden soll. Falls du nicht weißt, was du hier eintragen sollst, sollte der Defaultwert (OctoPrints Domain) funktionieren. Falls du keine regelmäßigen Prüfungen der Namensauflösung zusammen mit der generellen Konnektivitätsprüfung vornehmen willst, dann lass das Feld leer.\n" +msgstr "" +"Falls du auch Überprüfen willst, ob die Namensauflösung funktioniert " +"(sehr empfehlenswert), definiere einen Hostnamen gegen den die Auflösung " +"geprüft werden soll. Falls du nicht weißt, was du hier eintragen sollst, " +"sollte der Defaultwert (OctoPrints Domain) funktionieren. Falls du keine " +"regelmäßigen Prüfungen der Namensauflösung zusammen mit der generellen " +"Konnektivitätsprüfung vornehmen willst, dann lass das Feld leer.\n" #: src/octoprint/templates/snippets/settings/server/serverOnlineCheckDescription.jinja2:1 -msgid "\n" -" If the connectivity check is enabled, OctoPrint will regularly check if it's connected to the internet.\n" -" This is useful to prevent resource intensive operations (such as checking for updates) if it's already\n" +msgid "" +"\n" +" If the connectivity check is enabled, OctoPrint will regularly check " +"if it's connected to the internet.\n" +" This is useful to prevent resource intensive " +"operations (such as checking for updates) if it's already\n" " clear that they won't succeed anyhow.\n" -msgstr "Wenn die Onlineprüfung aktiviert ist, wird OctoPrint in regelmäßigen Abständen prüfen, ob es mit dem Internet verbunden ist. Das ist nützlich um resourcenintensive Operationen zu verhindern (wie z.B. der Prüfung, ob Updates vorliegen), wenn es bereits klar ist, dass diese Operationen mangels Verbindung nicht durchgeführt werden können.\n" +msgstr "" +"Wenn die Onlineprüfung aktiviert ist, wird OctoPrint in regelmäßigen " +"Abständen prüfen, ob es mit dem Internet verbunden ist. Das ist " +"nützlich um resourcenintensive Operationen zu verhindern" +" (wie z.B. der Prüfung, ob Updates vorliegen), wenn es bereits klar ist, " +"dass diese Operationen mangels Verbindung nicht durchgeführt werden " +"können.\n" #: src/octoprint/templates/snippets/settings/server/serverOnlineCheckEnabled.jinja2:4 msgid "Enable regular connectivity check" @@ -5964,11 +7721,19 @@ msgid "Test name resolution" msgstr "Namensauflösung testen" #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistDescription.jinja2:1 -msgid "\n" -" To protect against known severe issues with certain versions of third party plugins, OctoPrint supports\n" -" the use of a centralized plugin version blacklist to automatically disable such plugins before they can interfere\n" +msgid "" +"\n" +" To protect against known severe issues with certain versions " +"of third party plugins, OctoPrint supports\n" +" the use of a centralized plugin version blacklist to automatically " +"disable such plugins before they can interfere\n" " with normal operation.\n" -msgstr "Um vor bekannten Probleme mit bestimmten Versionen von Thirdpartyplugins zu schützen unterstützt OctoPrint die Verwendung einer zentralen Pluginblackliste, über die automatisch solche Plugins deaktiviert werden können, bevor sie mit dem normalen Betrieb interferieren können.\n" +msgstr "" +"Um vor bekannten Probleme mit bestimmten Versionen von " +"Thirdpartyplugins zu schützen unterstützt OctoPrint die " +"Verwendung einer zentralen Pluginblackliste, über die automatisch solche " +"Plugins deaktiviert werden können, bevor sie mit dem normalen Betrieb " +"interferieren können.\n" #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistEnabled.jinja2:4 msgid "Enable plugin blacklist processing on startup" @@ -5979,8 +7744,12 @@ msgid "Any changes take effect only on the next server start." msgstr "Alle Änderungen treten erst mit dem nächsten Serverstart in Kraft." #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistTtl.jinja2:1 -msgid "How long to cache the blacklist, in minutes. You should normally not have to change this." -msgstr "Wie lange die Pluginblackliste gecached werden sollen, in Minuten. Du solltest hier normalerweise nichts ändern müssen." +msgid "" +"How long to cache the blacklist, in minutes. You should normally not have" +" to change this." +msgstr "" +"Wie lange die Pluginblackliste gecached werden sollen, in Minuten. Du " +"solltest hier normalerweise nichts ändern müssen." #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistTtl.jinja2:2 msgid "Blacklist cache TTL" @@ -5988,7 +7757,9 @@ msgstr "Blacklistencache TTL" #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistUrl.jinja2:1 msgid "Plugin blacklist URL. You should normally not have to change this." -msgstr "URL der Pluginblackliste. Du solltest hier normalerweise nichts ändern müssen." +msgstr "" +"URL der Pluginblackliste. Du solltest hier normalerweise nichts ändern " +"müssen." #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklistUrl.jinja2:2 msgid "Blacklist URL" @@ -6064,7 +7835,9 @@ msgstr "Snapshot Timeout" #: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotUrl.jinja2:1 msgid "URL to use for retrieving webcam snapshot images for timelapse creation" -msgstr "URL, die genutzt werden soll, um Einzelaufnahmen für die Zeitraffererstellung abzurufen" +msgstr "" +"URL, die genutzt werden soll, um Einzelaufnahmen für die " +"Zeitraffererstellung abzurufen" #: src/octoprint/templates/snippets/settings/webcam/webcamSnapshotUrl.jinja2:2 msgid "Snapshot URL" @@ -6083,12 +7856,18 @@ msgid "Stream aspect ratio" msgstr "Seitenverhältnis des Streams" #: src/octoprint/templates/snippets/settings/webcam/webcamStreamRatio.jinja2:5 -msgid "If the stream has a different aspect ratio than configured here it will be letterboxed." -msgstr "Falls der Stream ein anderes Seitenverhältnis hat als hier eingestellt ist, wird er geletterboxed." +msgid "" +"If the stream has a different aspect ratio than configured here it will " +"be letterboxed." +msgstr "" +"Falls der Stream ein anderes Seitenverhältnis hat als hier eingestellt " +"ist, wird er geletterboxed." #: src/octoprint/templates/snippets/settings/webcam/webcamStreamTimeout.jinja2:1 msgid "Timeout after which to unload the stream if the control tab is not visible" -msgstr "Timeout nach dem der Webcamstream deaktiviert werden soll wenn das \"Steuerung\"-Tab nicht sichtbar ist" +msgstr "" +"Timeout nach dem der Webcamstream deaktiviert werden soll wenn das " +"\"Steuerung\"-Tab nicht sichtbar ist" #: src/octoprint/templates/snippets/settings/webcam/webcamStreamTimeout.jinja2:2 msgid "Stream timeout" @@ -6096,15 +7875,21 @@ msgstr "Streamtimeout" #: src/octoprint/templates/snippets/settings/webcam/webcamStreamUrl.jinja2:1 msgid "URL to embed into the UI for live viewing of the webcam stream" -msgstr "URL, die in die Oberfläche zum Betrachten des Webcamstreams eingebunden werden soll" +msgstr "" +"URL, die in die Oberfläche zum Betrachten des Webcamstreams eingebunden " +"werden soll" #: src/octoprint/templates/snippets/settings/webcam/webcamStreamUrl.jinja2:2 msgid "Stream URL" msgstr "Stream-URL" #: src/octoprint/templates/snippets/settings/webcam/webcamStreamUrl.jinja2:8 -msgid "Needs to be reachable from the browser displaying the OctoPrint UI, used to embed the webcam stream into the page." -msgstr "Muss vom Browser erreichbar sein, in dem die OctoPrint UI angezeigt wird, wird genutzt, um den Webcam Stream in die Seite einzubetten." +msgid "" +"Needs to be reachable from the browser displaying the OctoPrint UI, used " +"to embed the webcam stream into the page." +msgstr "" +"Muss vom Browser erreichbar sein, in dem die OctoPrint UI angezeigt wird," +" wird genutzt, um den Webcam Stream in die Seite einzubetten." #: src/octoprint/templates/tabs/control.jinja2:5 msgid "Webcam stream loading..." @@ -6115,12 +7900,26 @@ msgid "Webcam stream not loaded" msgstr "Webcamstream nicht geladen" #: src/octoprint/templates/tabs/control.jinja2:9 -msgid "It might not be configured correctly or require authentication. To have this fixed, get in touch with an administrator of this OctoPrint instance." -msgstr "Es liegt evtl. eine Fehlkonfiguration vor oder es werden Logindaten benötigt. Um dies zu beheben wende dich bitte an einen Administrator dieser OctoPrint Instanz." +msgid "" +"It might not be configured correctly or require authentication. To have " +"this fixed, get in touch with an administrator of this OctoPrint " +"instance." +msgstr "" +"Es liegt evtl. eine Fehlkonfiguration vor oder es werden Logindaten " +"benötigt. Um dies zu beheben wende dich bitte an einen Administrator " +"dieser OctoPrint Instanz." #: src/octoprint/templates/tabs/control.jinja2:10 -msgid "It might not be configured correctly or require authentication. You can change the URL of the stream under \"Settings\" > \"Webcam & Timelapse\" > \"Webcam\" > \"Stream URL\". If you don't have a webcam you can also just disable webcam support there." -msgstr "Es liegt evtl. eine Fehlkonfiguration vor oder es werden Logindaten benötigt. Du kannst die URL des Streams unter \"Einstellungen\" > \"Webcam & Zeitraffer\" > \"Webcam\" > \"Stream-URL\" ändern. Falls du keine Webcam hast kannst du Webcam-Unterstützung dort auch deaktivieren." +msgid "" +"It might not be configured correctly or require authentication. You can " +"change the URL of the stream under \"Settings\" > \"Webcam & Timelapse\" " +"> \"Webcam\" > \"Stream URL\". If you don't have a webcam you can also " +"just disable webcam support there." +msgstr "" +"Es liegt evtl. eine Fehlkonfiguration vor oder es werden Logindaten " +"benötigt. Du kannst die URL des Streams unter \"Einstellungen\" > " +"\"Webcam & Zeitraffer\" > \"Webcam\" > \"Stream-URL\" ändern. Falls du " +"keine Webcam hast kannst du Webcam-Unterstützung dort auch deaktivieren." #: src/octoprint/templates/tabs/control.jinja2:11 msgid "Currently configured stream URL" @@ -6163,7 +7962,9 @@ msgid "Stepsize" msgstr "Schrittgröße" #: src/octoprint/templates/tabs/control.jinja2:38 -msgid "Hint: If you move your mouse over the picture, you enter keyboard control mode." +msgid "" +"Hint: If you move your mouse over the picture, you enter keyboard control" +" mode." msgstr "Hinweis: Bewegen der Maus über das Bild aktiviert die Tastatursteuerung." #: src/octoprint/templates/tabs/control.jinja2:83 @@ -6176,8 +7977,15 @@ msgid "Please note!" msgstr "Bitte beachten!" #: src/octoprint/templates/tabs/control.jinja2:83 -msgid "The feed rate can only be set, it cannot be read back from the firmware due to a limitation of the communication protocol. There is no way to show the current setting." -msgstr "Die Feedrate kann nur gesetzt werden, sie kann nicht von der Firmware zurück gelesen werden. Dies ist eine Beschränkung im Kommunikationsprotokoll. Es gibt keine Möglichkeit, den aktuellen Wert anzuzeigen." +msgid "" +"The feed rate can only be set, it cannot be read back from the firmware " +"due to a limitation of the communication protocol. There is no way to " +"show the current setting." +msgstr "" +"Die Feedrate kann nur gesetzt werden, sie kann nicht von der Firmware " +"zurück gelesen werden. Dies ist eine Beschränkung im " +"Kommunikationsprotokoll. Es gibt keine Möglichkeit, den aktuellen Wert " +"anzuzeigen." #: src/octoprint/templates/tabs/control.jinja2:97 msgid "Select Tool..." @@ -6196,8 +8004,15 @@ msgid "Flow rate modifier:" msgstr "Flowrate-Modifier:" #: src/octoprint/templates/tabs/control.jinja2:113 -msgid "The flow rate can only be set, it cannot be read back from the firmware due to a limitation of the communication protocol. There is no way to show the current setting." -msgstr "Die Flowrate kann nur gesetzt werden, sie kann nicht von der Firmware zurück gelesen werden. Dies ist eine Beschränkung im Kommunikationsprotokoll. Es gibt keine Möglichkeit, den aktuellen Wert anzuzeigen." +msgid "" +"The flow rate can only be set, it cannot be read back from the firmware " +"due to a limitation of the communication protocol. There is no way to " +"show the current setting." +msgstr "" +"Die Flowrate kann nur gesetzt werden, sie kann nicht von der Firmware " +"zurück gelesen werden. Dies ist eine Beschränkung im " +"Kommunikationsprotokoll. Es gibt keine Möglichkeit, den aktuellen Wert " +"anzuzeigen." #: src/octoprint/templates/tabs/control.jinja2:126 msgid "Motors off" @@ -6211,132 +8026,6 @@ msgstr "Lüfter an" msgid "Fan off" msgstr "Lüfter aus" -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:11 -msgid "Previous layer" -msgstr "Vorherige Schicht" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:14 -msgid "Next layer" -msgstr "Nächste Schicht" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:28 -msgid "Model info" -msgstr "Modelinformationen" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:31 -msgid "Layer info" -msgstr "Schichtinformationen" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:35 -msgid "Renderer options" -msgstr "Rendereroptionen" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:39 -msgid "Sync with job progress" -msgstr "Job mit Fortschritt synchronisieren" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:44 -msgid "Center viewport on model" -msgstr "Ausschnitt auf Modell zentrieren" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:47 -msgid "Zoom in on model" -msgstr "Auf Model zoomen" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:53 -msgid "Show moves" -msgstr "Bewegungen zeigen" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:56 -msgid "Show retracts" -msgstr "Retracts zeigen" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:59 -msgid "Show approx. print head position" -msgstr "Zeige approximierte Druckkopfposition" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:65 -msgid "Also show previous layer" -msgstr "Auch vorherige Schicht anzeigen" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:68 -msgid "Also show current layer" -msgstr "Auch aktuelle Schicht anzeigen" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:71 -msgid "Also show next layer" -msgstr "Auch nächste Schicht anzeigen" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:76 -msgid "Reload" -msgstr "Neu laden" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:84 -msgid "Show visited bounding box" -msgstr "Boundingbox für besuchte Koordinaten anzeigen" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:87 -msgid "Show printed bounding box" -msgstr "Boundingbox für bedruckte Koordinaten anzeigen" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:92 -msgid "Hide empty layers" -msgstr "Leere Schichten verstecken" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:92 -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:95 -msgid "Causes reload" -msgstr "Verursacht einen Reload" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:95 -msgid "Sort layers" -msgstr "Schichten sortieren" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:99 -msgid "Reset options" -msgstr "Optionen zurücksetzen" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:107 -msgid "\n" -" Note that the time and usage values in this tab are estimated by the GCODE viewer in your\n" -" browser and might differ from the values estimated by the server that are displayed in the\n" -" \"State\" and \"Files\" panels in the sidebar due to slightly different implementations. Also note that these\n" -" estimated values may be inaccurate since they can also take information present in the\n" -" GCODE file into account.\n" -" " -msgstr "\n" -" Bitte beachte, dass die Zeit- und Verbrauchsangaben in diesem Tab vom GCODE Viewer in Deinem Browser\n" -" geschätzt wurden und sich von den vom Server geschätzten Werten\n" -" in den \"Status\"- und \"Dateien\"-Panels in der Seitenleiste aufgrund von leichten Unterschieden in der\n" -" Implementierung unterscheiden können. Beachte zudem, dass diese geschätzten Werte\n" -" ungenau sein können, da sie nur auf Informationen aus den GCODE Dateien basieren.\n" -" " - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:118 -msgid "

    \n" -" You've selected for printing which has a size of\n" -" . Depending on your machine this\n" -" might be too large for rendering and cause your browser to become unresponsive or crash.\n" -"

    \n" -"\n" -"

    \n" -" Are you sure you want to visualize this file nevertheless?\n" -"

    " -msgstr "

    \n" -" Du hast zum Drucken ausgewählt das\n" -" groß ist. Abhängig von Deinem\n" -" System könnte das zu groß zum Rendern sein und Deinen Browser zum Absturz bringen.\n" -"

    \n" -"\n" -"

    \n" -" Bist Du sicher, dass du die Datei trotzdem visualisieren willst?\n" -"

    " - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:129 -#, python-format -msgid "Yes, please visualize %(name)s regardless of its size" -msgstr "Ja, bitte visualisiere %(name)s unabhängig seiner Größe" - #: src/octoprint/templates/tabs/temperature.jinja2:11 msgid "Current actual temperature as reported by your printer" msgstr "Aktuelle vom Drucker gemeldete Temperatur" @@ -6345,23 +8034,28 @@ msgstr "Aktuelle vom Drucker gemeldete Temperatur" msgid "Current target temperature as reported by your printer" msgstr "Aktuelle Zieltemperatur wie von deinem Drucker gemeldet" -#: src/octoprint/templates/tabs/temperature.jinja2:13 +#: src/octoprint/templates/tabs/temperature.jinja2:15 +#, fuzzy +msgid "Set temperature profile" +msgstr "Temporäre Dateien" + +#: src/octoprint/templates/tabs/temperature.jinja2:29 msgid "Offset to apply to temperature commands sent from files" msgstr "Offset für Temperaturbefehle aus Dateien" -#: src/octoprint/templates/tabs/temperature.jinja2:28 +#: src/octoprint/templates/tabs/temperature.jinja2:44 msgid "Fine adjust: -1°C" msgstr "Feinjustierung: -1°C" -#: src/octoprint/templates/tabs/temperature.jinja2:31 +#: src/octoprint/templates/tabs/temperature.jinja2:47 msgid "Fine adjust: +1°C" msgstr "Feinjustierung: +1°C" -#: src/octoprint/templates/tabs/temperature.jinja2:34 +#: src/octoprint/templates/tabs/temperature.jinja2:50 msgid "Set" msgstr "Setzen" -#: src/octoprint/templates/tabs/temperature.jinja2:57 +#: src/octoprint/templates/tabs/temperature.jinja2:73 msgid "Change Offset" msgstr "Offset ändern" @@ -6390,16 +8084,33 @@ msgid "Clear all" msgstr "Alles leeren" #: src/octoprint/templates/tabs/terminal.jinja2:20 -msgid "For performance reasons only a limited amount of terminal functionality is enabled right now." -msgstr "Aus Gründen der Performance ist nur ein begrenzter Teil der Terminalfunktionalität zur Zeit verfügbar." +msgid "" +"For performance reasons only a limited amount of terminal functionality " +"is enabled right now." +msgstr "" +"Aus Gründen der Performance ist nur ein begrenzter Teil der " +"Terminalfunktionalität zur Zeit verfügbar." #: src/octoprint/templates/tabs/terminal.jinja2:38 msgid "Fake Acknowledgement" msgstr "Bestätigung faken" #: src/octoprint/templates/tabs/terminal.jinja2:39 -msgid "If acknowledgements (\"ok\"s) sent by the firmware get lost due to issues with the serial communication to your printer, OctoPrint's communication with it can become stuck. If that happens, this can help. Please be advised that such occurrences hint at general communication issues with your printer which will probably negatively influence your printing results and which you should therefore try to resolve!" -msgstr "Falls Bestätigungen (\"ok\"s) Deiner Firmware aufgrund von Kommunikationsproblemen mit Deinem Drucker verloren gehen, kann die Kommunikation zwischen OctoPrint und Deinem Drucker zum Stillstand kommen. Falls das passiert, kann das hier helfen. Bitte bedenke, dass solche Vorfälle ein Hinweis auf ein generelles Kommunikationsproblem mit Deinem Drucker hindeuten, das wahrscheinlich Deine Druckergebnisse negativ beeinflusst und das du daher versuchen solltest, zu beseitigen!" +msgid "" +"If acknowledgements (\"ok\"s) sent by the firmware get lost due to issues" +" with the serial communication to your printer, OctoPrint's communication" +" with it can become stuck. If that happens, this can help. Please be " +"advised that such occurrences hint at general communication issues with " +"your printer which will probably negatively influence your printing " +"results and which you should therefore try to resolve!" +msgstr "" +"Falls Bestätigungen (\"ok\"s) Deiner Firmware aufgrund von " +"Kommunikationsproblemen mit Deinem Drucker verloren gehen, kann die " +"Kommunikation zwischen OctoPrint und Deinem Drucker zum Stillstand " +"kommen. Falls das passiert, kann das hier helfen. Bitte bedenke, dass " +"solche Vorfälle ein Hinweis auf ein generelles Kommunikationsproblem mit " +"Deinem Drucker hindeuten, das wahrscheinlich Deine Druckergebnisse " +"negativ beeinflusst und das du daher versuchen solltest, zu beseitigen!" #: src/octoprint/templates/tabs/terminal.jinja2:42 msgid "Force fancy functionality" @@ -6410,12 +8121,24 @@ msgid "Force terminal output during printing" msgstr "Terminalausgabe beim Druck erzwingen" #: src/octoprint/templates/tabs/terminal.jinja2:44 -msgid "Some functionality of the terminal will be disabled if OctoPrint detects that your browser is too slow for that. You may force it back on here, but be aware that this might make your browser unresponsive." -msgstr "Einige Funktionen des Terminals werden deaktiviert, wenn OctoPrint erkennt, dass Dein Browser zu langsam dafür ist. Du kannst diese Funktionen hier wieder zwangsweise aktivieren, aber bitte bedenke, dass das zur Folge haben könnte, dass dein Browser nicht mehr oder nur sehr langsam reagiert." +msgid "" +"Some functionality of the terminal will be disabled if OctoPrint detects " +"that your browser is too slow for that. You may force it back on here, " +"but be aware that this might make your browser unresponsive." +msgstr "" +"Einige Funktionen des Terminals werden deaktiviert, wenn OctoPrint " +"erkennt, dass Dein Browser zu langsam dafür ist. Du kannst diese " +"Funktionen hier wieder zwangsweise aktivieren, aber bitte bedenke, dass " +"das zur Folge haben könnte, dass dein Browser nicht mehr oder nur sehr " +"langsam reagiert." #: src/octoprint/templates/tabs/timelapse.jinja2:4 -msgid "Take note that timelapse configuration is disabled while your printer is printing." -msgstr "Bitte beachte dass die Zeitrafferkonfiguration während des Druckens deaktiviert ist." +msgid "" +"Take note that timelapse configuration is disabled while your printer is " +"printing." +msgstr "" +"Bitte beachte dass die Zeitrafferkonfiguration während des Druckens " +"deaktiviert ist." #: src/octoprint/templates/tabs/timelapse.jinja2:7 msgid "Timelapse Configuration" @@ -6430,16 +8153,26 @@ msgid "Note" msgstr "Bemerkung" #: src/octoprint/templates/tabs/timelapse.jinja2:18 -msgid "Does not work when printing from the printer's SD Card (no way to detect the change in Z reliably). Use \"Timed\" mode for those prints instead." -msgstr "Funktioniert nicht, wenn von der SD-Karte des Druckers gedruckt wird (keine Möglichkeit, Änderungen der Z-Achse zuverlässig zu detektieren). Verwende stattdessen den \"Nach Zeit\"-Modus für solche Drucke." +msgid "" +"Does not work when printing from the printer's SD Card (no way to detect " +"the change in Z reliably). Use \"Timed\" mode for those prints instead." +msgstr "" +"Funktioniert nicht, wenn von der SD-Karte des Druckers gedruckt wird " +"(keine Möglichkeit, Änderungen der Z-Achse zuverlässig zu detektieren). " +"Verwende stattdessen den \"Nach Zeit\"-Modus für solche Drucke." #: src/octoprint/templates/tabs/timelapse.jinja2:23 msgid "Minimum interval" msgstr "Minimales Intervall" #: src/octoprint/templates/tabs/timelapse.jinja2:29 -msgid "OctoPrint will rate limit snapshots to this minimum interval. This it to prevent against performance issues with vase mode/continuous z prints." -msgstr "OctoPrint wird Zeitrafferaufnahmen auf dieses minimale Intervall ratelimiten. Dies soll gegen Performanzprobleme bei Vase-Mode/Continuous-Z-Drucken helfen." +msgid "" +"OctoPrint will rate limit snapshots to this minimum interval. This it to " +"prevent against performance issues with vase mode/continuous z prints." +msgstr "" +"OctoPrint wird Zeitrafferaufnahmen auf dieses minimale Intervall " +"ratelimiten. Dies soll gegen Performanzprobleme bei Vase-" +"Mode/Continuous-Z-Drucken helfen." #: src/octoprint/templates/tabs/timelapse.jinja2:34 msgid "Snapshot interval" @@ -6458,24 +8191,40 @@ msgid "Timelapse post roll" msgstr "Timelapse-Postroll" #: src/octoprint/templates/tabs/timelapse.jinja2:60 -msgid "OctoPrint will use the final picture to add this many seconds to the end of your rendered timelapse." -msgstr "OctoPrint wird die letzte Aufnahme verwenden um so viele zusätzliche Sekunden zur gerenderten Zeitrafferaufnahme hinzuzufügen." +msgid "" +"OctoPrint will use the final picture to add this many seconds to the end " +"of your rendered timelapse." +msgstr "" +"OctoPrint wird die letzte Aufnahme verwenden um so viele zusätzliche " +"Sekunden zur gerenderten Zeitrafferaufnahme hinzuzufügen." #: src/octoprint/templates/tabs/timelapse.jinja2:65 msgid "Retraction Z-Hop" msgstr "Retraction Z-Hop" #: src/octoprint/templates/tabs/timelapse.jinja2:71 -msgid "Enter the retraction z-hop used in the firmware or the gcode file to trigger snapshots for the timelapse only if a real layer change happens. For this to work properly your retraction z-hop has to be different from your layerheight!" -msgstr "Gib den Retraction Z-Hop Wert aus deiner Firmware oder den GCODE Dateien hier ein, um Snapshots für Zeitraffer nur bei echten Schichtwechseln auszulösen. Damit das korrekt funktionieren kann muss dein Retraction Z-Hop Wert anders als deine Schichthöhe sein!" +msgid "" +"Enter the retraction z-hop used in the firmware or the gcode file to " +"trigger snapshots for the timelapse only if a real layer change happens. " +"For this to work properly your retraction z-hop has to be different from " +"your layerheight!" +msgstr "" +"Gib den Retraction Z-Hop Wert aus deiner Firmware oder den GCODE Dateien " +"hier ein, um Snapshots für Zeitraffer nur bei echten Schichtwechseln " +"auszulösen. Damit das korrekt funktionieren kann muss dein Retraction " +"Z-Hop Wert anders als deine Schichthöhe sein!" #: src/octoprint/templates/tabs/timelapse.jinja2:78 msgid "Save as default" msgstr "Als Standard speichern" #: src/octoprint/templates/tabs/timelapse.jinja2:79 -msgid "Check this to make your selected timelapse mode and options persist across restarts." -msgstr "Auswählen um deinen gewählten Zeitraffermodus und -parameter über Neustarts hinweg zu persistieren." +msgid "" +"Check this to make your selected timelapse mode and options persist " +"across restarts." +msgstr "" +"Auswählen um deinen gewählten Zeitraffermodus und -parameter über " +"Neustarts hinweg zu persistieren." #: src/octoprint/templates/tabs/timelapse.jinja2:86 msgid "You have unsaved changes. Don't forget to save them." @@ -6494,12 +8243,25 @@ msgid "Timelapse not fully configured" msgstr "Zeitraffer nicht vollständig konfiguriert" #: src/octoprint/templates/tabs/timelapse.jinja2:95 -msgid "The snapshot URL and/or the path to FFMPEG are missing. To have this fixed, get in touch with an administrator of this OctoPrint instance." -msgstr "Die Snapshot-URL und/oder the Pfad zu FFMPEG fehlen. Setz dich mit einem Administrator dieser OctoPrint-Instanz in Verbindung, um das korrigieren zu lassen." +msgid "" +"The snapshot URL and/or the path to FFMPEG are missing. To have this " +"fixed, get in touch with an administrator of this OctoPrint instance." +msgstr "" +"Die Snapshot-URL und/oder the Pfad zu FFMPEG fehlen. Setz dich mit einem " +"Administrator dieser OctoPrint-Instanz in Verbindung, um das korrigieren " +"zu lassen." #: src/octoprint/templates/tabs/timelapse.jinja2:96 -msgid "The snapshot URL and/or the path to FFMPEG are missing. You can change both under \"Settings\" > \"Webcam & Timelapse\" > \"Timelapse\". If you don't have a webcam or don't want to enable timelapse support you can also just disable it there." -msgstr "Die Snapshot-URL und/oder the Pfad zu FFMPEG fehlen. Du kannst beide unter \"Einstellungen\" > \"Webcam & Zeitraffer\" > \"Zeitraffer\" anpassen. Falls du keine Webcam hast oder Zeitrafferunterstützung nicht einschalten willst, kannst du beides auch dort abschalten." +msgid "" +"The snapshot URL and/or the path to FFMPEG are missing. You can change " +"both under \"Settings\" > \"Webcam & Timelapse\" > \"Timelapse\". If you " +"don't have a webcam or don't want to enable timelapse support you can " +"also just disable it there." +msgstr "" +"Die Snapshot-URL und/oder the Pfad zu FFMPEG fehlen. Du kannst beide " +"unter \"Einstellungen\" > \"Webcam & Zeitraffer\" > \"Zeitraffer\" " +"anpassen. Falls du keine Webcam hast oder Zeitrafferunterstützung nicht " +"einschalten willst, kannst du beides auch dort abschalten." #: src/octoprint/templates/tabs/timelapse.jinja2:98 msgid "Currently configured snapshot URL" @@ -7465,3 +9227,10 @@ msgstr "Zeitrafferaufnahme rendern" #~ msgid "Detecting baudrate" #~ msgstr "Detektiere Baudrate" + +#~ msgid "GCODE Visualizer" +#~ msgstr "GCode Viewer" + +#~ msgid "Enable GCode Visualizer" +#~ msgstr "GCode Viewer aktivieren" + diff --git a/translations/messages.pot b/translations/messages.pot index 2cbdd37d4..10d3d9134 100644 --- a/translations/messages.pot +++ b/translations/messages.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: OctoPrint 1.4.1.dev359+g27d2e2243.dirty\n" +"Project-Id-Version: OctoPrint 1.4.1.dev393+g32b655451.dirty\n" "Report-Msgid-Bugs-To: i18n@octoprint.org\n" -"POT-Creation-Date: 2020-06-26 12:30+0200\n" +"POT-Creation-Date: 2020-07-06 09:41+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -138,7 +138,7 @@ msgstr "" msgid "Printer Notifications" msgstr "" -#: src/octoprint/plugins/action_command_notification/__init__.py:120 +#: src/octoprint/plugins/action_command_notification/__init__.py:124 msgid "" "Without this plugin your printer will no longer be able to trigger " "notifications in OctoPrint" @@ -224,6 +224,7 @@ msgid "Never" msgstr "" #: src/octoprint/plugins/action_command_prompt/templates/action_command_prompt_settings.jinja2:19 +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:80 #: src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2:16 #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:327 #: src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2:105 @@ -233,7 +234,6 @@ msgstr "" #: src/octoprint/templates/dialogs/settings/webcam.jinja2:10 #: src/octoprint/templates/dialogs/settings/webcam.jinja2:25 #: src/octoprint/templates/snippets/settings/server/serverPluginBlacklist.jinja2:5 -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:80 #: src/octoprint/templates/tabs/terminal.jinja2:35 msgid "Advanced options" msgstr "" @@ -664,7 +664,7 @@ msgid "Deleting %(count)d backups..." msgstr "" #: src/octoprint/plugins/backup/static/js/backup.js:252 -#: src/octoprint/plugins/logging/static/js/logging.js:211 +#: src/octoprint/plugins/logging/static/js/logging.js:242 #: src/octoprint/static/js/app/viewmodels/timelapse.js:366 #: src/octoprint/static/js/app/viewmodels/timelapse.js:380 #, python-format @@ -672,7 +672,7 @@ msgid "Deleted %(filename)s..." msgstr "" #: src/octoprint/plugins/backup/static/js/backup.js:255 -#: src/octoprint/plugins/logging/static/js/logging.js:214 +#: src/octoprint/plugins/logging/static/js/logging.js:245 #: src/octoprint/static/js/app/viewmodels/timelapse.js:369 #: src/octoprint/static/js/app/viewmodels/timelapse.js:383 #, python-format @@ -680,7 +680,7 @@ msgid "Deletion of %(filename)s failed, continuing..." msgstr "" #: src/octoprint/plugins/backup/static/js/backup.js:256 -#: src/octoprint/plugins/logging/static/js/logging.js:215 +#: src/octoprint/plugins/logging/static/js/logging.js:246 #: src/octoprint/static/js/app/viewmodels/timelapse.js:370 #, python-format msgid "Deletion of %(filename)s failed: %(error)s" @@ -828,13 +828,13 @@ msgid "Server Commands" msgstr "" #: src/octoprint/plugins/corewizard/subwizards.py:50 -#: src/octoprint/server/views.py:631 +#: src/octoprint/server/views.py:621 msgid "Webcam & Timelapse" msgstr "" #: src/octoprint/plugins/corewizard/subwizards.py:65 #: src/octoprint/plugins/corewizard/templates/corewizard_acl_wizard.jinja2:1 -#: src/octoprint/server/views.py:637 +#: src/octoprint/server/views.py:626 msgid "Access Control" msgstr "" @@ -1248,7 +1248,7 @@ msgid "" "discoverable on the network via Bonjour and uPnP." msgstr "" -#: src/octoprint/plugins/errortracking/__init__.py:69 +#: src/octoprint/plugins/errortracking/__init__.py:72 #: src/octoprint/plugins/errortracking/templates/errortracking_settings.jinja2:1 msgid "Error Tracking" msgstr "" @@ -1334,6 +1334,242 @@ msgid "" "

    \n" msgstr "" +#: src/octoprint/plugins/gcodeviewer/__init__.py:59 +msgid "GCode Viewer" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/__init__.py:62 +msgid "" +"Without this plugin the GCode Viewer in OctoPrint will no longer be " +"available." +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:18 +msgid "Loading..." +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:22 +msgid "Analyzing..." +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:26 +msgid "Analyzed" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:535 +#: src/octoprint/static/js/app/viewmodels/files.js:803 +msgid "Model size" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:536 +msgid "Estimated layer height" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:536 +#: src/octoprint/templates/tabs/timelapse.jinja2:69 +msgid "mm" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:537 +msgid "Estimated total print time" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:538 +msgid "Layers with extrusion" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:568 +msgid "Layer number" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:569 +msgid "Layer height" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:570 +msgid "GCODE commands" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:573 +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:577 +#: src/octoprint/static/js/app/viewmodels/files.js:809 +#: src/octoprint/static/js/app/viewmodels/files.js:813 +msgid "Filament" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:577 +#: src/octoprint/static/js/app/viewmodels/control.js:73 +#: src/octoprint/static/js/app/viewmodels/files.js:813 +#: src/octoprint/static/js/app/viewmodels/printerstate.js:299 +#: src/octoprint/static/js/app/viewmodels/temperature.js:130 +#: src/octoprint/static/js/app/viewmodels/temperature.js:141 +#: src/octoprint/static/js/app/viewmodels/temperature.js:350 +msgid "Tool" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/static/js/gcodeviewer.js:582 +#: src/octoprint/static/js/app/viewmodels/files.js:818 +msgid "Estimated print time" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2:2 +msgid "Maximum size for which the GCode Viewer autoloads the file for preview" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2:3 +msgid "GCode Viewer file size threshold" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2:8 +msgid "on desktop" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2:14 +msgid "on mobile" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_settings.jinja2:18 +#: src/octoprint/templates/dialogs/settings/folders.jinja2:79 +msgid "" +"Provide values including size unit. Allowed units are: b, byte, bytes, " +"kb, mb, gb, tb (case insensitive). Example: 5MB, " +"500KB" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:11 +msgid "Previous layer" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:14 +msgid "Next layer" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:28 +msgid "Model info" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:31 +msgid "Layer info" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:35 +msgid "Renderer options" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:39 +msgid "Sync with job progress" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:44 +msgid "Center viewport on model" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:47 +msgid "Zoom in on model" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:53 +msgid "Show moves" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:56 +msgid "Show retracts" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:59 +msgid "Show approx. print head position" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:65 +msgid "Also show previous layer" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:68 +msgid "Also show current layer" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:71 +msgid "Also show next layer" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:76 +msgid "Reload" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:84 +msgid "Show visited bounding box" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:87 +msgid "Show printed bounding box" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:92 +msgid "Hide empty layers" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:92 +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:95 +msgid "Causes reload" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:95 +msgid "Sort layers" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:99 +msgid "Reset options" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:107 +msgid "" +"\n" +" Note that the time and usage values in this tab are " +"estimated by the GCODE viewer in your\n" +" browser and might differ from the values " +"estimated by the server that are displayed in the\n" +" \"State\" and \"Files\" panels in the sidebar due to slightly" +" different implementations. Also note that these\n" +" estimated values may be inaccurate since " +"they can also take information present in the\n" +" GCODE file into account.\n" +" " +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:117 +#: src/octoprint/templates/dialogs/settings/folders.jinja2:67 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:90 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:447 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472 +#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:487 +#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87 +#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6 +msgid "Warning" +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:118 +msgid "" +"

    \n" +" You've selected for printing which has a size of\n" +" . Depending on your machine " +"this\n" +" might be too large for rendering and cause your browser to become" +" unresponsive or crash.\n" +"

    \n" +"\n" +"

    \n" +" Are you sure you want to visualize this file nevertheless?\n" +"

    " +msgstr "" + +#: src/octoprint/plugins/gcodeviewer/templates/gcodeviewer_tab.jinja2:129 +#, python-format +msgid "Yes, please visualize %(name)s regardless of its size" +msgstr "" + #: src/octoprint/plugins/logging/__init__.py:41 msgid "Allows to download and delete log files and list and set log levels." msgstr "" @@ -1344,39 +1580,39 @@ msgid "" "logs or modify the current logging levels through the web interface." msgstr "" -#: src/octoprint/plugins/logging/static/js/logging.js:115 +#: src/octoprint/plugins/logging/static/js/logging.js:120 msgid "" "You currently have serial.log enabled. Please remember to " "turn it off again once your are done debugging whatever issue prompted " "you to turn it on." msgstr "" -#: src/octoprint/plugins/logging/static/js/logging.js:118 +#: src/octoprint/plugins/logging/static/js/logging.js:123 msgid "" "It can negatively impact print performance and also take up a lot of " "storage space depending on how long you stay connected to your printer " "and thus should only be used for debugging." msgstr "" -#: src/octoprint/plugins/logging/static/js/logging.js:124 +#: src/octoprint/plugins/logging/static/js/logging.js:129 msgid "Log storage:" msgstr "" -#: src/octoprint/plugins/logging/static/js/logging.js:160 +#: src/octoprint/plugins/logging/static/js/logging.js:176 #, python-format msgid "You are about to delete log file \"%(name)s\"." msgstr "" -#: src/octoprint/plugins/logging/static/js/logging.js:184 +#: src/octoprint/plugins/logging/static/js/logging.js:206 #, python-format msgid "You are about to delete %(count)d log files." msgstr "" -#: src/octoprint/plugins/logging/static/js/logging.js:206 +#: src/octoprint/plugins/logging/static/js/logging.js:237 msgid "Deleting log files" msgstr "" -#: src/octoprint/plugins/logging/static/js/logging.js:207 +#: src/octoprint/plugins/logging/static/js/logging.js:238 #, python-format msgid "Deleting %(count)d log files..." msgstr "" @@ -1970,7 +2206,7 @@ msgid "" msgstr "" #: src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2:46 -#: src/octoprint/server/views.py:543 +#: src/octoprint/server/views.py:534 msgid "Plugins" msgstr "" @@ -2385,7 +2621,7 @@ msgid "Software Update" msgstr "" #: src/octoprint/plugins/softwareupdate/__init__.py:1241 -#: src/octoprint/server/views.py:635 +#: src/octoprint/server/views.py:624 #: src/octoprint/static/js/app/viewmodels/appearance.js:99 #: src/octoprint/static/js/app/viewmodels/appearance.js:104 #: src/octoprint/static/js/app/viewmodels/appearance.js:106 @@ -3072,105 +3308,97 @@ msgid "" " for development." msgstr "" -#: src/octoprint/server/views.py:602 +#: src/octoprint/server/views.py:593 #: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:12 msgid "Connection" msgstr "" -#: src/octoprint/server/views.py:603 +#: src/octoprint/server/views.py:594 #: src/octoprint/templates/sidebar/state.jinja2:1 msgid "State" msgstr "" -#: src/octoprint/server/views.py:604 +#: src/octoprint/server/views.py:595 msgid "Files" msgstr "" -#: src/octoprint/server/views.py:610 +#: src/octoprint/server/views.py:601 msgid "Temperature" msgstr "" -#: src/octoprint/server/views.py:611 +#: src/octoprint/server/views.py:602 msgid "Control" msgstr "" -#: src/octoprint/server/views.py:612 -msgid "GCode Viewer" -msgstr "" - -#: src/octoprint/server/views.py:613 +#: src/octoprint/server/views.py:603 msgid "Terminal" msgstr "" -#: src/octoprint/server/views.py:614 +#: src/octoprint/server/views.py:604 #: src/octoprint/templates/sidebar/state.jinja2:9 msgid "Timelapse" msgstr "" -#: src/octoprint/server/views.py:620 +#: src/octoprint/server/views.py:610 msgid "Printer" msgstr "" -#: src/octoprint/server/views.py:622 +#: src/octoprint/server/views.py:612 msgid "Serial Connection" msgstr "" -#: src/octoprint/server/views.py:623 +#: src/octoprint/server/views.py:613 #: src/octoprint/templates/dialogs/settings/printerprofiles.jinja2:1 msgid "Printer Profiles" msgstr "" -#: src/octoprint/server/views.py:624 +#: src/octoprint/server/views.py:614 msgid "Temperatures" msgstr "" -#: src/octoprint/server/views.py:625 +#: src/octoprint/server/views.py:615 msgid "Terminal Filters" msgstr "" -#: src/octoprint/server/views.py:626 +#: src/octoprint/server/views.py:616 msgid "GCODE Scripts" msgstr "" -#: src/octoprint/server/views.py:628 src/octoprint/server/views.py:630 +#: src/octoprint/server/views.py:618 src/octoprint/server/views.py:620 msgid "Features" msgstr "" -#: src/octoprint/server/views.py:632 -msgid "GCODE Visualizer" -msgstr "" - -#: src/octoprint/server/views.py:633 +#: src/octoprint/server/views.py:622 msgid "API" msgstr "" -#: src/octoprint/server/views.py:638 +#: src/octoprint/server/views.py:627 #: src/octoprint/templates/dialogs/settings/folders.jinja2:2 #: src/octoprint/templates/sidebar/files_header.jinja2:13 msgid "Folders" msgstr "" -#: src/octoprint/server/views.py:639 +#: src/octoprint/server/views.py:628 msgid "Appearance" msgstr "" -#: src/octoprint/server/views.py:640 +#: src/octoprint/server/views.py:629 msgid "Server" msgstr "" -#: src/octoprint/server/views.py:646 +#: src/octoprint/server/views.py:635 msgid "Access" msgstr "" -#: src/octoprint/server/views.py:647 +#: src/octoprint/server/views.py:636 msgid "Interface" msgstr "" -#: src/octoprint/server/views.py:663 +#: src/octoprint/server/views.py:652 msgid "Start" msgstr "" -#: src/octoprint/server/views.py:664 +#: src/octoprint/server/views.py:653 #: src/octoprint/templates/dialogs/wizard.jinja2:57 msgid "Finish" msgstr "" @@ -3536,7 +3764,7 @@ msgstr "" msgid "Finishing" msgstr "" -#: src/octoprint/static/js/app/main.js:815 +#: src/octoprint/static/js/app/main.js:833 msgid "Loading OctoPrint's UI, please wait..." msgstr "" @@ -3605,15 +3833,6 @@ msgstr "" msgid "Stay Connected" msgstr "" -#: src/octoprint/static/js/app/viewmodels/control.js:73 -#: src/octoprint/static/js/app/viewmodels/files.js:813 -#: src/octoprint/static/js/app/viewmodels/gcode.js:570 -#: src/octoprint/static/js/app/viewmodels/printerstate.js:299 -#: src/octoprint/static/js/app/viewmodels/temperature.js:130 -#: src/octoprint/static/js/app/viewmodels/temperature.js:141 -msgid "Tool" -msgstr "" - #: src/octoprint/static/js/app/viewmodels/control.js:79 msgid "Hotend" msgstr "" @@ -3678,23 +3897,6 @@ msgstr "" msgid "to" msgstr "" -#: src/octoprint/static/js/app/viewmodels/files.js:803 -#: src/octoprint/static/js/app/viewmodels/gcode.js:528 -msgid "Model size" -msgstr "" - -#: src/octoprint/static/js/app/viewmodels/files.js:809 -#: src/octoprint/static/js/app/viewmodels/files.js:813 -#: src/octoprint/static/js/app/viewmodels/gcode.js:566 -#: src/octoprint/static/js/app/viewmodels/gcode.js:570 -msgid "Filament" -msgstr "" - -#: src/octoprint/static/js/app/viewmodels/files.js:818 -#: src/octoprint/static/js/app/viewmodels/gcode.js:575 -msgid "Estimated print time" -msgstr "" - #: src/octoprint/static/js/app/viewmodels/files.js:821 msgid "Last printed" msgstr "" @@ -3799,47 +4001,6 @@ msgstr "" msgid "Uploading ..." msgstr "" -#: src/octoprint/static/js/app/viewmodels/gcode.js:15 -msgid "Loading..." -msgstr "" - -#: src/octoprint/static/js/app/viewmodels/gcode.js:19 -msgid "Analyzing..." -msgstr "" - -#: src/octoprint/static/js/app/viewmodels/gcode.js:23 -msgid "Analyzed" -msgstr "" - -#: src/octoprint/static/js/app/viewmodels/gcode.js:529 -msgid "Estimated layer height" -msgstr "" - -#: src/octoprint/static/js/app/viewmodels/gcode.js:529 -#: src/octoprint/templates/tabs/timelapse.jinja2:69 -msgid "mm" -msgstr "" - -#: src/octoprint/static/js/app/viewmodels/gcode.js:530 -msgid "Estimated total print time" -msgstr "" - -#: src/octoprint/static/js/app/viewmodels/gcode.js:531 -msgid "Layers with extrusion" -msgstr "" - -#: src/octoprint/static/js/app/viewmodels/gcode.js:561 -msgid "Layer number" -msgstr "" - -#: src/octoprint/static/js/app/viewmodels/gcode.js:562 -msgid "Layer height" -msgstr "" - -#: src/octoprint/static/js/app/viewmodels/gcode.js:563 -msgid "GCODE commands" -msgstr "" - #: src/octoprint/static/js/app/viewmodels/loginstate.js:30 #: src/octoprint/static/js/app/viewmodels/loginstate.js:38 #: src/octoprint/templates/navbar/login.jinja2:2 @@ -4112,23 +4273,23 @@ msgstr "" msgid "Autodetect from browser" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:353 +#: src/octoprint/static/js/app/viewmodels/settings.js:348 msgid "If you see your webcam stream below, the entered stream URL is ok." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:361 +#: src/octoprint/static/js/app/viewmodels/settings.js:356 msgid "Stream test" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:379 +#: src/octoprint/static/js/app/viewmodels/settings.js:374 msgid "Could not retrieve snapshot URL, please double check the URL" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:380 +#: src/octoprint/static/js/app/viewmodels/settings.js:375 msgid "Snapshot test failed" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:395 +#: src/octoprint/static/js/app/viewmodels/settings.js:390 #, python-format msgid "" "Could retrieve the snapshot URL, but it didn't look like an image. Got " @@ -4137,66 +4298,66 @@ msgid "" "or videos." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:420 +#: src/octoprint/static/js/app/viewmodels/settings.js:415 msgid "" "If you see your webcam snapshot picture below, the entered snapshot URL " "is ok." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:422 +#: src/octoprint/static/js/app/viewmodels/settings.js:417 msgid "Snapshot test" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:455 +#: src/octoprint/static/js/app/viewmodels/settings.js:450 msgid "The path doesn't exist" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:457 +#: src/octoprint/static/js/app/viewmodels/settings.js:452 msgid "The path is not a file" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:459 +#: src/octoprint/static/js/app/viewmodels/settings.js:454 msgid "The path is not an executable" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:462 -#: src/octoprint/static/js/app/viewmodels/settings.js:543 +#: src/octoprint/static/js/app/viewmodels/settings.js:457 +#: src/octoprint/static/js/app/viewmodels/settings.js:538 msgid "The path is valid" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:482 +#: src/octoprint/static/js/app/viewmodels/settings.js:477 msgid "The server is not reachable" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:484 +#: src/octoprint/static/js/app/viewmodels/settings.js:479 msgid "The server is reachable" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:503 +#: src/octoprint/static/js/app/viewmodels/settings.js:498 msgid "Name cannot be resolved" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:505 +#: src/octoprint/static/js/app/viewmodels/settings.js:500 msgid "Name can be resolved" msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:534 +#: src/octoprint/static/js/app/viewmodels/settings.js:529 msgid "The path is a broken symlink." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:536 +#: src/octoprint/static/js/app/viewmodels/settings.js:531 msgid "The path does not exist and cannot be created." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:538 +#: src/octoprint/static/js/app/viewmodels/settings.js:533 msgid "The path is not a folder." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:540 +#: src/octoprint/static/js/app/viewmodels/settings.js:535 msgid "The path is not writable." msgstr "" -#: src/octoprint/static/js/app/viewmodels/settings.js:665 +#: src/octoprint/static/js/app/viewmodels/settings.js:660 #: src/octoprint/static/js/app/viewmodels/usersettings.js:101 msgid "" "This will generate a new API Key. The old API Key will cease to function " @@ -4265,12 +4426,14 @@ msgstr "" #: src/octoprint/static/js/app/viewmodels/temperature.js:86 #: src/octoprint/static/js/app/viewmodels/temperature.js:148 +#: src/octoprint/static/js/app/viewmodels/temperature.js:352 #: src/octoprint/templates/dialogs/settings/temperatures.jinja2:35 msgid "Bed" msgstr "" #: src/octoprint/static/js/app/viewmodels/temperature.js:90 #: src/octoprint/static/js/app/viewmodels/temperature.js:156 +#: src/octoprint/static/js/app/viewmodels/temperature.js:355 msgid "Chamber" msgstr "" @@ -4279,23 +4442,24 @@ msgstr "" msgid "Set %(name)s (%(value)s)" msgstr "" -#: src/octoprint/static/js/app/viewmodels/temperature.js:350 -#: src/octoprint/templates/tabs/temperature.jinja2:40 +#: src/octoprint/static/js/app/viewmodels/temperature.js:342 +#: src/octoprint/templates/tabs/temperature.jinja2:18 +#: src/octoprint/templates/tabs/temperature.jinja2:56 #: src/octoprint/templates/tabs/timelapse.jinja2:14 msgid "Off" msgstr "" -#: src/octoprint/static/js/app/viewmodels/temperature.js:421 +#: src/octoprint/static/js/app/viewmodels/temperature.js:432 msgid "min" msgstr "" -#: src/octoprint/static/js/app/viewmodels/temperature.js:467 +#: src/octoprint/static/js/app/viewmodels/temperature.js:478 #: src/octoprint/templates/tabs/temperature.jinja2:11 msgid "Actual" msgstr "" -#: src/octoprint/static/js/app/viewmodels/temperature.js:472 -#: src/octoprint/templates/tabs/temperature.jinja2:12 +#: src/octoprint/static/js/app/viewmodels/temperature.js:483 +#: src/octoprint/templates/tabs/temperature.jinja2:13 msgid "Target" msgstr "" @@ -4666,7 +4830,7 @@ msgid "+1" msgstr "" #: src/octoprint/templates/dialogs/temperature.jinja2:24 -#: src/octoprint/templates/tabs/temperature.jinja2:58 +#: src/octoprint/templates/tabs/temperature.jinja2:74 msgid "Delete Offset" msgstr "" @@ -5025,30 +5189,10 @@ msgid "" "the user." msgstr "" -#: src/octoprint/templates/dialogs/settings/folders.jinja2:67 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:90 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:447 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:463 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:472 -#: src/octoprint/templates/dialogs/settings/serialconnection.jinja2:487 -#: src/octoprint/templates/snippets/settings/accesscontrol/groups.jinja2:87 -#: src/octoprint/templates/snippets/settings/accesscontrol/permission_list.jinja2:6 -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:117 -msgid "Warning" -msgstr "" - #: src/octoprint/templates/dialogs/settings/folders.jinja2:73 msgid "Critical" msgstr "" -#: src/octoprint/templates/dialogs/settings/folders.jinja2:79 -#: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:25 -msgid "" -"Provide values including size unit. Allowed units are: b, byte, bytes, " -"kb, mb, gb, tb (case insensitive). Example: 5MB, " -"500KB" -msgstr "" - #: src/octoprint/templates/dialogs/settings/gcodescripts.jinja2:3 msgid "Before print job starts" msgstr "" @@ -5126,26 +5270,6 @@ msgid "" "be sent." msgstr "" -#: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:5 -msgid "Enable GCode Visualizer" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:9 -msgid "Maximum size the GCodeViewer autoloads the file for preview" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:10 -msgid "GCode Visualizer file size threshold" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:15 -msgid "on desktop" -msgstr "" - -#: src/octoprint/templates/dialogs/settings/gcodevisualizer.jinja2:21 -msgid "on mobile" -msgstr "" - #: src/octoprint/templates/dialogs/settings/printerprofiles.jinja2:5 msgid "Add Profile..." msgstr "" @@ -6424,7 +6548,7 @@ msgid "" msgstr "" #: src/octoprint/templates/snippets/settings/printerprofiles/profileEditorExtruder.jinja2:37 -#: src/octoprint/templates/tabs/temperature.jinja2:13 +#: src/octoprint/templates/tabs/temperature.jinja2:29 msgid "Offset" msgstr "" @@ -6830,128 +6954,6 @@ msgstr "" msgid "Fan off" msgstr "" -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:11 -msgid "Previous layer" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:14 -msgid "Next layer" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:28 -msgid "Model info" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:31 -msgid "Layer info" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:35 -msgid "Renderer options" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:39 -msgid "Sync with job progress" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:44 -msgid "Center viewport on model" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:47 -msgid "Zoom in on model" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:53 -msgid "Show moves" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:56 -msgid "Show retracts" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:59 -msgid "Show approx. print head position" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:65 -msgid "Also show previous layer" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:68 -msgid "Also show current layer" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:71 -msgid "Also show next layer" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:76 -msgid "Reload" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:84 -msgid "Show visited bounding box" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:87 -msgid "Show printed bounding box" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:92 -msgid "Hide empty layers" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:92 -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:95 -msgid "Causes reload" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:95 -msgid "Sort layers" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:99 -msgid "Reset options" -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:107 -msgid "" -"\n" -" Note that the time and usage values in this tab are " -"estimated by the GCODE viewer in your\n" -" browser and might differ from the values " -"estimated by the server that are displayed in the\n" -" \"State\" and \"Files\" panels in the sidebar due to slightly" -" different implementations. Also note that these\n" -" estimated values may be inaccurate since " -"they can also take information present in the\n" -" GCODE file into account.\n" -" " -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:118 -msgid "" -"

    \n" -" You've selected for printing which has a size of\n" -" . Depending on your machine " -"this\n" -" might be too large for rendering and cause your browser to become" -" unresponsive or crash.\n" -"

    \n" -"\n" -"

    \n" -" Are you sure you want to visualize this file nevertheless?\n" -"

    " -msgstr "" - -#: src/octoprint/templates/tabs/gcodeviewer.jinja2:129 -#, python-format -msgid "Yes, please visualize %(name)s regardless of its size" -msgstr "" - #: src/octoprint/templates/tabs/temperature.jinja2:11 msgid "Current actual temperature as reported by your printer" msgstr "" @@ -6960,23 +6962,27 @@ msgstr "" msgid "Current target temperature as reported by your printer" msgstr "" -#: src/octoprint/templates/tabs/temperature.jinja2:13 +#: src/octoprint/templates/tabs/temperature.jinja2:15 +msgid "Set temperature profile" +msgstr "" + +#: src/octoprint/templates/tabs/temperature.jinja2:29 msgid "Offset to apply to temperature commands sent from files" msgstr "" -#: src/octoprint/templates/tabs/temperature.jinja2:28 +#: src/octoprint/templates/tabs/temperature.jinja2:44 msgid "Fine adjust: -1°C" msgstr "" -#: src/octoprint/templates/tabs/temperature.jinja2:31 +#: src/octoprint/templates/tabs/temperature.jinja2:47 msgid "Fine adjust: +1°C" msgstr "" -#: src/octoprint/templates/tabs/temperature.jinja2:34 +#: src/octoprint/templates/tabs/temperature.jinja2:50 msgid "Set" msgstr "" -#: src/octoprint/templates/tabs/temperature.jinja2:57 +#: src/octoprint/templates/tabs/temperature.jinja2:73 msgid "Change Offset" msgstr "" From 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 6 Jul 2020 11:52:24 +0200 Subject: [PATCH 83/85] =?UTF-8?q?=F0=9F=90=9B=20Fix=20a=20bug=20during=20u?= =?UTF-8?q?sers.yaml=20migration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/access/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/access/users.py b/src/octoprint/access/users.py index 50656b05f..a0d0f7ba9 100644 --- a/src/octoprint/access/users.py +++ b/src/octoprint/access/users.py @@ -493,7 +493,7 @@ class FilebasedUserManager(UserManager): if "groups" in attributes: groups = set(attributes["groups"]) else: - groups = set(self._group_manager.user_group) + groups = {self._group_manager.user_group} # migrate from roles to permissions if "roles" in attributes and not "permissions" in attributes: From 113dcd3fc94535939bd2b8386b67991960003057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 6 Jul 2020 14:32:23 +0200 Subject: [PATCH 84/85] =?UTF-8?q?=F0=9F=94=96=20staging/maintenance=20is?= =?UTF-8?q?=20now=201.4.1rc2.dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .versioneer-lookup | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.versioneer-lookup b/.versioneer-lookup index bb61500f1..0d87a2e5f 100644 --- a/.versioneer-lookup +++ b/.versioneer-lookup @@ -26,11 +26,11 @@ improve/.* 1.4.1 2da7aa358d950b4567aaab8f18d6b5779193e077 pep440-dev # staging/maintenance is currently the branch for preparation of 1.4.0rc7 # so is regressionfix/... -staging/maintenance 1.4.0rc7 d99af420acb9d5b18a4f60f9cae8abb458e131d4 pep440-dev -regressionfix/.* 1.4.0rc7 d99af420acb9d5b18a4f60f9cae8abb458e131d4 pep440-dev +staging/maintenance 1.4.1rc2 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev +regressionfix/.* 1.4.1rc2 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev -# staging/devel is currently inactive (but has the 1.4.0rc7 namespace) -staging/devel 1.4.0rc7 d99af420acb9d5b18a4f60f9cae8abb458e131d4 pep440-dev +# staging/devel is currently inactive (but has the 1.4.1rc2 namespace) +staging/devel 1.4.1rc2 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev # every other branch is a development branch and thus gets resolved to 1.5.0-dev for now .* 1.5.0 2da7aa358d950b4567aaab8f18d6b5779193e077 pep440-dev From 7f6d2c9582af2d094fb88e2e66fc84d73fb32773 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 6 Jul 2020 14:33:16 +0200 Subject: [PATCH 85/85] =?UTF-8?q?=F0=9F=94=96=20maintenance=20is=20now=201?= =?UTF-8?q?.4.2.dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .versioneer-lookup | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.versioneer-lookup b/.versioneer-lookup index 0d87a2e5f..7e7b2b0e3 100644 --- a/.versioneer-lookup +++ b/.versioneer-lookup @@ -18,11 +18,11 @@ prerelease HEAD \(detached.* -# maintenance is currently the branch for preparation of maintenance release 1.4.1 +# maintenance is currently the branch for preparation of maintenance release 1.4.2 # so are any fix/... and improve/... branches -maintenance 1.4.1 2da7aa358d950b4567aaab8f18d6b5779193e077 pep440-dev -fix/.* 1.4.1 2da7aa358d950b4567aaab8f18d6b5779193e077 pep440-dev -improve/.* 1.4.1 2da7aa358d950b4567aaab8f18d6b5779193e077 pep440-dev +maintenance 1.4.2 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev +fix/.* 1.4.2 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev +improve/.* 1.4.2 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev # staging/maintenance is currently the branch for preparation of 1.4.0rc7 # so is regressionfix/...