From d6798eed1e2da4871f2a383496f3ccc679240971 Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Sun, 5 Jan 2020 02:49:01 +0100 Subject: [PATCH] added project start and end date (#1303) * added sortable js library * activity in invoice is optional * added javascript widget for paginated boxes * fix activity dropdown for globals only * added timesheet service to reduce code duplication * use repository to query for teams in dropdowns * added project validator * validate project start and end against timesheet * include begin and end in dynamic form requests for projects * added timezone and language option to import flag, improve timesheet import speed * deactivate cross-timezone filter * add virtual fields to field order list * composer update * added param to ignore dates * position loader icon fixed - fixes #1330 * permission problem when creating a new project - fixes #1340 * remove dev dependencies webserver and thanks bundle * stop information leak (begin and end date) in duration mode - fixes #1307 * unify timesheet edit dialog for user and admins * fix security issue, own rates exposed to unauthorized users in multi-update dialog --- .github_changelog_generator | 2 +- .gitignore | 4 - CHANGELOG.md | 22 + README.md | 2 +- UPGRADING.md | 16 +- assets/app.js | 5 + assets/js/plugins/KimaiDateRangePicker.js | 2 + assets/js/plugins/KimaiSelectDataAPI.js | 59 +- assets/js/widgets/KimaiPaginatedBoxWidget.js | 92 ++ assets/sass/datatable.scss | 2 +- assets/sass/sidebar.scss | 10 + composer.json | 4 +- composer.lock | 1123 +++++++---------- config/bundles.php | 2 - config/serializer/App/Entity.Activity.yml | 2 +- config/serializer/App/Entity.Project.yml | 8 +- package.json | 1 + public/build/app.055e71d1.js | 1 + public/build/app.23b99cbb.js | 1 - .../{app.ce77694e.css => app.483d7949.css} | 2 +- public/build/entrypoints.json | 8 +- public/build/manifest.json | 4 +- src/API/ProjectController.php | 37 +- src/API/TimesheetController.php | 46 +- src/Command/CreateUserCommand.php | 33 +- src/Command/ImportTimesheetCommand.php | 1 + src/Command/KimaiImporterCommand.php | 190 +-- src/Command/VersionCommand.php | 2 +- src/Constants.php | 4 +- .../TimesheetAbstractController.php | 68 +- src/Controller/TimesheetTeamController.php | 5 + src/DataFixtures/TeamFixtures.php | 12 +- src/DataFixtures/TimesheetFixtures.php | 31 +- src/DependencyInjection/AppExtension.php | 2 +- src/Entity/Project.php | 96 ++ src/Entity/Timesheet.php | 2 +- .../Base/AbstractSpreadsheetRenderer.php | 5 +- src/Export/Base/HtmlRenderer.php | 5 +- src/Form/FormTrait.php | 160 +++ src/Form/MultiUpdate/TimesheetMultiUpdate.php | 17 +- src/Form/ProjectEditForm.php | 8 + src/Form/TimesheetEditForm.php | 147 +-- src/Form/Toolbar/AbstractToolbarForm.php | 32 +- src/Form/Toolbar/ExportToolbarForm.php | 4 +- src/Form/Toolbar/InvoiceToolbarForm.php | 4 +- src/Form/Type/CustomerType.php | 25 +- src/Form/Type/ProjectType.php | 6 +- src/Form/Type/TeamType.php | 22 +- src/Form/Type/VisibilityType.php | 8 +- .../Calculator/AbstractMergedCalculator.php | 2 +- .../Calculator/ActivityInvoiceCalculator.php | 4 + src/Invoice/InvoiceModel.php | 22 +- src/Migrations/Version20191204120823.php | 44 + src/Repository/ProjectRepository.php | 71 ++ .../Query/ActivityFormTypeQuery.php | 8 +- src/Repository/Query/BaseQuery.php | 50 +- src/Repository/Query/CustomerQuery.php | 4 +- src/Repository/Query/ProjectFormTypeQuery.php | 16 + src/Repository/Query/ProjectQuery.php | 39 +- src/Repository/Query/UserQuery.php | 4 +- src/Repository/Query/VisibilityInterface.php | 31 + src/Repository/Query/VisibilityQuery.php | 41 +- src/Repository/Query/VisibilityTrait.php | 33 + src/Repository/TeamRepository.php | 41 +- src/Repository/TimesheetRepository.php | 7 +- src/Repository/UserRepository.php | 2 +- src/Timesheet/TimesheetService.php | 118 ++ .../TrackingMode/AbstractTrackingMode.php | 6 +- src/Timesheet/TrackingMode/DefaultMode.php | 2 +- .../TrackingMode/DurationFixedBeginMode.php | 2 +- .../TrackingMode/DurationOnlyMode.php | 2 +- src/Timesheet/TrackingMode/PunchInOutMode.php | 2 +- .../TrackingMode/TrackingModeInterface.php | 6 +- src/Twig/IconExtension.php | 5 +- src/Validator/Constraints/Project.php | 33 + .../Constraints/ProjectValidator.php | 48 + src/Validator/Constraints/Timesheet.php | 24 +- .../Constraints/TimesheetValidator.php | 48 +- src/Voter/ActivityVoter.php | 4 +- src/Voter/ProjectVoter.php | 7 +- symfony.lock | 15 - templates/invoice/index.html.twig | 14 +- templates/invoice/renderer/default.html.twig | 2 +- .../invoice/renderer/freelancer.html.twig | 2 +- .../invoice/renderer/timesheet.html.twig | 2 +- templates/macros/widgets.html.twig | 2 +- templates/project/edit.html.twig | 8 + templates/timesheet-team/edit.html.twig | 14 +- templates/timesheet/edit.html.twig | 185 +-- templates/timesheet/layout-edit.html.twig | 218 ++++ templates/timesheet/layout-listing.html.twig | 8 +- tests/API/ProjectControllerTest.php | 16 +- tests/DataFixtures/ActivityFixtures.php | 7 +- tests/DataFixtures/CustomerFixtures.php | 17 - tests/DataFixtures/ProjectFixtures.php | 7 +- tests/DataFixtures/TeamFixtures.php | 10 +- tests/DataFixtures/TimesheetFixtures.php | 12 +- tests/Entity/ProjectTest.php | 12 + tests/Export/Renderer/CsvRendererTest.php | 1 - tests/Export/Renderer/HtmlRendererTest.php | 1 - tests/Export/Renderer/PdfRendererTest.php | 1 - tests/Export/Renderer/XlsxRendererTest.php | 1 - tests/Export/Timesheet/CsvRendererTest.php | 2 - tests/Export/Timesheet/PdfRendererTest.php | 1 - tests/Export/Timesheet/XlsxRendererTest.php | 2 - .../Calculator/AbstractCalculatorTest.php | 23 +- .../ActivityInvoiceCalculatorTest.php | 27 + tests/KernelTestTrait.php | 7 +- tests/Repository/Query/ActivityQueryTest.php | 4 +- tests/Repository/Query/BaseQueryTest.php | 12 +- tests/Repository/Query/CustomerQueryTest.php | 4 +- tests/Repository/Query/ProjectQueryTest.php | 20 +- tests/Repository/Query/UserQueryTest.php | 4 +- .../Repository/Query/VisibilityQueryTest.php | 33 + .../Constraints/ProjectValidatorTest.php | 51 + .../Constraints/TimesheetValidatorTest.php | 65 + tests/phpstan.neon | 1 + translations/messages.de.xlf | 8 + translations/messages.en.xlf | 10 +- var/data/kimai_test.sqlite | Bin 770048 -> 770048 bytes yarn.lock | 5 + 121 files changed, 2465 insertions(+), 1439 deletions(-) create mode 100644 assets/js/widgets/KimaiPaginatedBoxWidget.js create mode 100644 public/build/app.055e71d1.js delete mode 100644 public/build/app.23b99cbb.js rename public/build/{app.ce77694e.css => app.483d7949.css} (97%) create mode 100644 src/Form/FormTrait.php create mode 100644 src/Migrations/Version20191204120823.php create mode 100644 src/Repository/Query/VisibilityInterface.php create mode 100644 src/Repository/Query/VisibilityTrait.php create mode 100644 src/Timesheet/TimesheetService.php create mode 100644 src/Validator/Constraints/Project.php create mode 100644 src/Validator/Constraints/ProjectValidator.php create mode 100644 templates/timesheet/layout-edit.html.twig create mode 100644 tests/Validator/Constraints/ProjectValidatorTest.php diff --git a/.github_changelog_generator b/.github_changelog_generator index 7caf562c..23e4c06d 100644 --- a/.github_changelog_generator +++ b/.github_changelog_generator @@ -1,5 +1,5 @@ unreleased=true -future-release=1.6 +future-release=1.7 exclude-labels=duplicate,question,invalid,wontfix,release enhancement_labels=>enhancement,Enhancement,feature request,translation i18n,technical debt issues-wo-labels=false diff --git a/.gitignore b/.gitignore index 75b54e7d..b9c5fe1c 100644 --- a/.gitignore +++ b/.gitignore @@ -40,10 +40,6 @@ templates/invoice/renderer/.~lock* /vendor/ ###< symfony/framework-bundle ### -###> symfony/web-server-bundle ### -.web-server-pid -###< symfony/web-server-bundle ### - ###> phpunit/phpunit ### /phpunit.xml /.phpunit.result.cache diff --git a/CHANGELOG.md b/CHANGELOG.md index 97e0b28a..e531fa8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,23 +1,45 @@ # Change Log +## [1.7](https://github.com/kevinpapst/kimai2/tree/1.7) (2020-01-0?) +[Full Changelog](https://github.com/kevinpapst/kimai2/compare/1.6.2...1.7) + +Release notes including the changelog can be found [here](https://github.com/kevinpapst/kimai2/releases/tag/1.7) + +## [1.6.2](https://github.com/kevinpapst/kimai2/tree/1.6.2) (2019-12-02) +[Full Changelog](https://github.com/kevinpapst/kimai2/compare/1.6.1...1.6.2) + +Release notes including the changelog can be found [here](https://github.com/kevinpapst/kimai2/releases/tag/1.6.2) + ## [1.6.1](https://github.com/kevinpapst/kimai2/tree/1.6.1) (2019-11-26) [Full Changelog](https://github.com/kevinpapst/kimai2/compare/1.6...1.6.1) +Release notes including the changelog can be found [here](https://github.com/kevinpapst/kimai2/releases/tag/1.6.1) + ## [1.6](https://github.com/kevinpapst/kimai2/tree/1.6) (2019-11-24) [Full Changelog](https://github.com/kevinpapst/kimai2/compare/1.5...1.6) +Release notes including the changelog can be found [here](https://github.com/kevinpapst/kimai2/releases/tag/1.6) + ## [1.5](https://github.com/kevinpapst/kimai2/tree/1.5) (2019-11-03) [Full Changelog](https://github.com/kevinpapst/kimai2/compare/1.4.2...1.5) +Release notes including the changelog can be found [here](https://github.com/kevinpapst/kimai2/releases/tag/1.5) + ## [1.4.2](https://github.com/kevinpapst/kimai2/tree/1.4) (2019-10-14) [Full Changelog](https://github.com/kevinpapst/kimai2/compare/1.4.1...1.4.2) +Release notes including the changelog can be found [here](https://github.com/kevinpapst/kimai2/releases/tag/1.4.2) + ## [1.4.1](https://github.com/kevinpapst/kimai2/tree/1.4) (2019-10-07) [Full Changelog](https://github.com/kevinpapst/kimai2/compare/1.4...1.4.1) +Release notes including the changelog can be found [here](https://github.com/kevinpapst/kimai2/releases/tag/1.4.1) + ## [1.4](https://github.com/kevinpapst/kimai2/tree/1.4) (2019-10-03) [Full Changelog](https://github.com/kevinpapst/kimai2/compare/1.3...1.4) +Release notes including the changelog can be found [here](https://github.com/kevinpapst/kimai2/releases/tag/1.4) + ## [1.3](https://github.com/kevinpapst/kimai2/tree/1.3) (2019-09-11) [Full Changelog](https://github.com/kevinpapst/kimai2/compare/1.2...1.3) diff --git a/README.md b/README.md index 314bb156..e1eab051 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ It is built with modern technologies such as Symfony, Bootstrap, RESTful API, Do ### Requirements - PHP 7.2 or higher -- Database (MySQL/MariaDB with timezone data, SQLite for development) +- Database (MySQL/MariaDB with timezone data, SQLite for development) - Webserver (nginx, Apache) - A modern browser - [Other libraries](https://www.kimai.org/download/) diff --git a/UPGRADING.md b/UPGRADING.md index 6986d6e2..7cd0c99f 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -10,8 +10,20 @@ Perform EACH version specific task between your version and the new one, otherwi ## [1.7](https://github.com/kevinpapst/kimai2/releases/tag/1.7) -New feature requires the timezone date within MySQL/MariaDB. -This is especially important for self-hosted systems [where you need to import the data manually](https://mariadb.com/kb/en/library/mysql_tzinfo_to_sql/). +**New database tables and fields were created, don't forget to [run the updater](https://www.kimai.org/documentation/updates.html).** + +### Plugins + +- Expenses plugin needs to be updated, due to incompatibilities in the underlying frameworks. + +### Hosting + +- New feature requires the timezone date within MySQL/MariaDB. This is especially important for self-hosted systems: [you need to import the data manually](https://mariadb.com/kb/en/library/mysql_tzinfo_to_sql/). + +### Developer + +- Projects now have a start and end date and the API will only return those, which are either unconfigured or currently active, you might want to reload the list of projects once the user entered begin and end datetime OR use the new `ignoreDates` parameter. +- Doctrine bundle was updated to v2, check your code for [the usage of RegistryInterface and ObjectManager](https://github.com/doctrine/DoctrineBundle/blob/master/UPGRADE-2.0.md) ## [1.6](https://github.com/kevinpapst/kimai2/releases/tag/1.6), [1.6.1](https://github.com/kevinpapst/kimai2/releases/tag/1.6.1), [1.6.2](https://github.com/kevinpapst/kimai2/releases/tag/1.6.2) diff --git a/assets/app.js b/assets/app.js index 573c91cb..4a804b3b 100644 --- a/assets/app.js +++ b/assets/app.js @@ -11,6 +11,7 @@ global.$ = global.jQuery = $; require('bootstrap-sass'); require('jquery-slimscroll'); + require('select2'); require('select2/dist/js/i18n/ar'); require('select2/dist/js/i18n/cs'); @@ -53,6 +54,9 @@ require('moment/locale/zh-cn'); require('daterangepicker'); +const Sortable = require('sortablejs/Sortable.min'); +global.Sortable = Sortable; + // ------ AdminLTE framework ------ require('./sass/admin-lte.scss'); require('admin-lte/dist/css/AdminLTE.min.css'); @@ -69,6 +73,7 @@ require('./sass/app.scss'); // ------ Kimai itself ------ require('./js/KimaiWebLoader.js'); +global.KimaiPaginatedBoxWidget = require('./js/widgets/KimaiPaginatedBoxWidget').default; // ------ Autocomplete for tags only ------ require('jquery-ui/ui/widgets/autocomplete'); \ No newline at end of file diff --git a/assets/js/plugins/KimaiDateRangePicker.js b/assets/js/plugins/KimaiDateRangePicker.js index 7821970d..fe011544 100644 --- a/assets/js/plugins/KimaiDateRangePicker.js +++ b/assets/js/plugins/KimaiDateRangePicker.js @@ -61,6 +61,8 @@ export default class KimaiDateRangePicker extends KimaiPlugin { jQuery(this).on('apply.daterangepicker', function(ev, picker) { jQuery(this).val(picker.startDate.format(localeFormat) + ' - ' + picker.endDate.format(localeFormat)); + jQuery(this).data('begin', picker.startDate.format(localeFormat)); + jQuery(this).data('end', picker.endDate.format(localeFormat)); jQuery(this).trigger("change"); }); }); diff --git a/assets/js/plugins/KimaiSelectDataAPI.js b/assets/js/plugins/KimaiSelectDataAPI.js index 590d243d..036983db 100644 --- a/assets/js/plugins/KimaiSelectDataAPI.js +++ b/assets/js/plugins/KimaiSelectDataAPI.js @@ -11,6 +11,7 @@ import jQuery from 'jquery'; import KimaiPlugin from "../KimaiPlugin"; +import moment from 'moment'; export default class KimaiSelectDataAPI extends KimaiPlugin { @@ -32,30 +33,78 @@ export default class KimaiSelectDataAPI extends KimaiPlugin { const API = this.getContainer().getPlugin('api'); jQuery('body').on('change', selector, function(event) { - let apiUrl = jQuery(this).attr('data-api-url').replace('-s-', jQuery(this).val()); - const targetSelect = '#' + jQuery(this).attr('data-related-select'); + const targetSelect = '#' + this.dataset['relatedSelect']; // if the related target select does not exist, we do not need to load the related data if (jQuery(targetSelect).length === 0) { return; } + let formPrefix = jQuery(this).parents('form').first().attr('name'); + if (formPrefix === undefined || formPrefix === null) { + formPrefix = ''; + } else { + formPrefix += '_'; + } + + let newApiUrl = self._buildUrlWithFormFields(this.dataset['apiUrl'], formPrefix); + if (jQuery(this).val() === '') { - if (jQuery(this).attr('data-empty-url') === undefined) { + if (this.dataset['emptyUrl'] === undefined) { self._updateSelect(targetSelect, {}); jQuery(targetSelect).attr('disabled', 'disabled'); return; } - apiUrl = jQuery(this).attr('data-empty-url').replace('-s-', jQuery(this).val()); + newApiUrl = self._buildUrlWithFormFields(this.dataset['emptyUrl'], formPrefix); } jQuery(targetSelect).removeAttr('disabled'); - API.get(apiUrl, {}, function(data){ + API.get(newApiUrl, {}, function(data){ self._updateSelect(targetSelect, data); }); }); } + + _buildUrlWithFormFields(apiUrl, formPrefix) { + let newApiUrl = apiUrl; + + apiUrl.split('?')[1].split('&').forEach(item => { + let [key, value] = item.split('='); + let decoded = decodeURIComponent(value); + let test = decoded.match(/%(.*)%/); + if (test !== null) { + let targetField = jQuery('#' + formPrefix + test[1]); + let newValue = ''; + if (targetField.length === 0) { + // debug: this case for example happens in duration only mode, when the end field is not found + //console.log('ERROR: Cannot find field with name "' + test[1] + '" by selector: #' + formPrefix + test[1]); + } else { + if (targetField.val() !== null) { + newValue = targetField.val(); + + if (newValue !== '') { + // having that special case here is far from being perfect... but for now it works ;-) + if (targetField.data('daterangepicker') !== undefined) { + if (key === 'begin' || key === 'start' || targetField.data('daterangepicker').singleDatePicker) { + newValue = targetField.data('daterangepicker').startDate.format(moment.HTML5_FMT.DATETIME_LOCAL_SECONDS); + } else if (key === 'end') { + newValue = targetField.data('daterangepicker').endDate.format(moment.HTML5_FMT.DATETIME_LOCAL_SECONDS); + } + } else if (targetField.data('format') !== undefined) { + if (moment(newValue, targetField.data('format')).isValid()) { + newValue = moment(newValue, targetField.data('format')).format(moment.HTML5_FMT.DATETIME_LOCAL_SECONDS); + } + } + } + } + } + newApiUrl = newApiUrl.replace(value, newValue); + } + }); + + return newApiUrl; + } _updateSelect(selectName, data) { const options = {}; diff --git a/assets/js/widgets/KimaiPaginatedBoxWidget.js b/assets/js/widgets/KimaiPaginatedBoxWidget.js new file mode 100644 index 00000000..5f8f2460 --- /dev/null +++ b/assets/js/widgets/KimaiPaginatedBoxWidget.js @@ -0,0 +1,92 @@ +/* + * This file is part of the Kimai time-tracking app. + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +/*! + * [KIMAI] KimaiPaginatedBoxWidget: handles box widgets that have a pagination + */ + +import jQuery from "jquery"; + +export default class KimaiPaginatedBoxWidget { + + constructor(boxId) { + this.selector = boxId; + this.overlay = jQuery('
'); + this.widget = jQuery(this.selector); + this.href = this.widget.data('href'); + this.events = this.widget.data('reload').split(' '); + + const self = this; + + const reloadPage = function (event) { + const page = jQuery(self.selector + ' .box-tools').data('page'); + const url = self._buildUrl(page); + self.loadPage(url); + }; + + for (const eventName of this.events) { + document.addEventListener(eventName, reloadPage); + } + + this.widget.on('click', '.box-tools a', function (event) { + event.preventDefault(); + self.loadPage(jQuery(event.target).attr('href')); + }); + } + + static create(elementId) { + return new KimaiPaginatedBoxWidget(elementId); + } + + _showOverlay() { + this.widget.append(this.overlay); + } + + _hideOverlay() { + jQuery(this.overlay).remove(); + } + + loadPage(url) { + const self = this; + const selector = this.selector; + + self._showOverlay(); + + jQuery.ajax({ + url: url, + data: {}, + success: function (response) { + const html = jQuery(response); + jQuery(selector + ' .box-tools').replaceWith(html.find('.box-tools')); + jQuery(selector + ' .box-body').replaceWith(html.find('.box-body')); + self.widget.removeData('error-retry'); + self._hideOverlay(); + }, + dataType: 'html', + error: function(jqXHR, textStatus, errorThrown) { + if (jqXHR.status !== undefined && jqXHR.status === 500) { + if (self.widget.data('error-retry') !== undefined) { + // TODO show error message ? + return; + } + const page = jQuery(selector + ' .box-tools').data('page'); + if (page > 1) { + self.widget.data('error-retry', 1); + var url = self._buildUrl(page - 1); + self.loadPage(url); + } + } + self._hideOverlay(); + } + }); + } + + _buildUrl(page) { + return this.href.replace('1', page); + } + +} diff --git a/assets/sass/datatable.scss b/assets/sass/datatable.scss index f2b9df43..f244d1b6 100644 --- a/assets/sass/datatable.scss +++ b/assets/sass/datatable.scss @@ -23,7 +23,7 @@ section.content .overlay > .fas, section.content > .overlay, .box > .loading-img, .overlay-wrapper > .loading-img { - position: absolute; + position: fixed; /* see #1330 */ top: 0; left: 0; width: 100%; diff --git a/assets/sass/sidebar.scss b/assets/sass/sidebar.scss index e4552a1d..aeefaa70 100644 --- a/assets/sass/sidebar.scss +++ b/assets/sass/sidebar.scss @@ -39,3 +39,13 @@ } } } + +/* +Simplify focus detection, when using keyboard tab navigation +Deactivated, as it looks weird when the link is clicked +*/ +/* +.sidebar-menu > li > a:focus { + text-decoration: underline; +} +*/ \ No newline at end of file diff --git a/composer.json b/composer.json index 2baee41a..590cecc4 100644 --- a/composer.json +++ b/composer.json @@ -73,9 +73,7 @@ "symfony/css-selector": "^4.0", "symfony/maker-bundle": "^1.12", "symfony/phpunit-bridge": "^4.0", - "symfony/profiler-pack": "^1.0", - "symfony/thanks": "^1.0", - "symfony/web-server-bundle": "^4.0" + "symfony/profiler-pack": "^1.0" }, "repositories": [ { diff --git a/composer.lock b/composer.lock index c081a2e7..5efb7280 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c08938efb681d04751323b133c8d8199", + "content-hash": "aabd51b3ad056e27e4f4e4f1b8724ff6", "packages": [ { "name": "beberlei/doctrineextensions", - "version": "v1.2.4", + "version": "v1.2.6", "source": { "type": "git", "url": "https://github.com/beberlei/DoctrineExtensions.git", - "reference": "5d5a7259b7d44f6d9d5ced4c09f9db6b7f460139" + "reference": "af72c4a136b744f1268ca8bb4da47a2f8af78f86" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/beberlei/DoctrineExtensions/zipball/5d5a7259b7d44f6d9d5ced4c09f9db6b7f460139", - "reference": "5d5a7259b7d44f6d9d5ced4c09f9db6b7f460139", + "url": "https://api.github.com/repos/beberlei/DoctrineExtensions/zipball/af72c4a136b744f1268ca8bb4da47a2f8af78f86", + "reference": "af72c4a136b744f1268ca8bb4da47a2f8af78f86", "shasum": "" }, "require": { @@ -58,7 +58,7 @@ "doctrine", "orm" ], - "time": "2019-11-22T14:30:56+00:00" + "time": "2019-12-05T09:49:04+00:00" }, { "name": "behat/transliterator", @@ -174,16 +174,16 @@ }, { "name": "doctrine/cache", - "version": "1.9.1", + "version": "1.10.0", "source": { "type": "git", "url": "https://github.com/doctrine/cache.git", - "reference": "89a5c76c39c292f7798f964ab3c836c3f8192a55" + "reference": "382e7f4db9a12dc6c19431743a2b096041bcdd62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/89a5c76c39c292f7798f964ab3c836c3f8192a55", - "reference": "89a5c76c39c292f7798f964ab3c836c3f8192a55", + "url": "https://api.github.com/repos/doctrine/cache/zipball/382e7f4db9a12dc6c19431743a2b096041bcdd62", + "reference": "382e7f4db9a12dc6c19431743a2b096041bcdd62", "shasum": "" }, "require": { @@ -250,10 +250,9 @@ "memcached", "php", "redis", - "riak", "xcache" ], - "time": "2019-11-15T14:31:57+00:00" + "time": "2019-11-29T15:36:20+00:00" }, { "name": "doctrine/collections", @@ -502,28 +501,30 @@ }, { "name": "doctrine/doctrine-bundle", - "version": "1.12.0", + "version": "2.0.6", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineBundle.git", - "reference": "a374f3bc54fe7c23ddb722ef6b9ddd2d9dcb9115" + "reference": "0ef972d3b730f975c80db9fffa4b2a0258c91442" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/a374f3bc54fe7c23ddb722ef6b9ddd2d9dcb9115", - "reference": "a374f3bc54fe7c23ddb722ef6b9ddd2d9dcb9115", + "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/0ef972d3b730f975c80db9fffa4b2a0258c91442", + "reference": "0ef972d3b730f975c80db9fffa4b2a0258c91442", "shasum": "" }, "require": { - "doctrine/dbal": "^2.5.12", - "doctrine/doctrine-cache-bundle": "~1.2", + "doctrine/dbal": "^2.9.0", + "doctrine/persistence": "^1.3.3", "jdorn/sql-formatter": "^1.2.16", "php": "^7.1", - "symfony/config": "^3.4.30|^4.3.3", - "symfony/console": "^3.4.30|^4.3.3", - "symfony/dependency-injection": "^3.4.30|^4.3.3", - "symfony/doctrine-bridge": "^3.4.30|^4.3.3", - "symfony/framework-bundle": "^3.4.30|^4.3.3" + "symfony/cache": "^4.3.3|^5.0", + "symfony/config": "^4.3.3|^5.0", + "symfony/console": "^3.4.30|^4.3.3|^5.0", + "symfony/dependency-injection": "^4.3.3|^5.0", + "symfony/doctrine-bridge": "^4.3.7|^5.0", + "symfony/framework-bundle": "^3.4.30|^4.3.3|^5.0", + "symfony/service-contracts": "^1.1.1|^2.0" }, "conflict": { "doctrine/orm": "<2.6", @@ -532,15 +533,14 @@ "require-dev": { "doctrine/coding-standard": "^6.0", "doctrine/orm": "^2.6", - "php-coveralls/php-coveralls": "^2.1", + "ocramius/proxy-manager": "^2.1", "phpunit/phpunit": "^7.5", - "symfony/cache": "^3.4.30|^4.3.3", "symfony/phpunit-bridge": "^4.2", - "symfony/property-info": "^3.4.30|^4.3.3", - "symfony/twig-bridge": "^3.4|^4.1", - "symfony/validator": "^3.4.30|^4.3.3", - "symfony/web-profiler-bundle": "^3.4.30|^4.3.3", - "symfony/yaml": "^3.4.30|^4.3.3", + "symfony/property-info": "^4.3.3|^5.0", + "symfony/twig-bridge": "^3.4.30|^4.3.3|^5.0", + "symfony/validator": "^3.4.30|^4.3.3|^5.0", + "symfony/web-profiler-bundle": "^3.4.30|^4.3.3|^5.0", + "symfony/yaml": "^3.4.30|^4.3.3|^5.0", "twig/twig": "^1.34|^2.12" }, "suggest": { @@ -550,7 +550,7 @@ "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-master": "1.12.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -588,98 +588,7 @@ "orm", "persistence" ], - "time": "2019-11-19T11:42:20+00:00" - }, - { - "name": "doctrine/doctrine-cache-bundle", - "version": "1.3.5", - "source": { - "type": "git", - "url": "https://github.com/doctrine/DoctrineCacheBundle.git", - "reference": "5514c90d9fb595e1095e6d66ebb98ce9ef049927" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineCacheBundle/zipball/5514c90d9fb595e1095e6d66ebb98ce9ef049927", - "reference": "5514c90d9fb595e1095e6d66ebb98ce9ef049927", - "shasum": "" - }, - "require": { - "doctrine/cache": "^1.4.2", - "doctrine/inflector": "~1.0", - "php": ">=5.3.2", - "symfony/doctrine-bridge": "~2.7|~3.3|~4.0" - }, - "require-dev": { - "instaclick/coding-standard": "~1.1", - "instaclick/object-calisthenics-sniffs": "dev-master", - "instaclick/symfony2-coding-standard": "dev-remaster", - "phpunit/phpunit": "~4.8.36|~5.6|~6.5|~7.0", - "predis/predis": "~0.8", - "satooshi/php-coveralls": "^1.0", - "squizlabs/php_codesniffer": "~1.5", - "symfony/console": "~2.7|~3.3|~4.0", - "symfony/finder": "~2.7|~3.3|~4.0", - "symfony/framework-bundle": "~2.7|~3.3|~4.0", - "symfony/phpunit-bridge": "~2.7|~3.3|~4.0", - "symfony/security-acl": "~2.7|~3.3", - "symfony/validator": "~2.7|~3.3|~4.0", - "symfony/yaml": "~2.7|~3.3|~4.0" - }, - "suggest": { - "symfony/security-acl": "For using this bundle to cache ACLs" - }, - "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-master": "1.3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Bundle\\DoctrineCacheBundle\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Fabio B. Silva", - "email": "fabio.bat.silva@gmail.com" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@hotmail.com" - }, - { - "name": "Doctrine Project", - "homepage": "http://www.doctrine-project.org/" - }, - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "Symfony Bundle for Doctrine Cache", - "homepage": "https://www.doctrine-project.org", - "keywords": [ - "cache", - "caching" - ], - "time": "2018-11-09T06:25:35+00:00" + "time": "2019-12-19T13:47:07+00:00" }, { "name": "doctrine/doctrine-migrations-bundle", @@ -1177,16 +1086,16 @@ }, { "name": "doctrine/persistence", - "version": "1.2.0", + "version": "1.3.3", "source": { "type": "git", "url": "https://github.com/doctrine/persistence.git", - "reference": "43526ae63312942e5316100bb3ed589ba1aba491" + "reference": "99b196bbd4715a94fa100fac664a351ffa46d6a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/persistence/zipball/43526ae63312942e5316100bb3ed589ba1aba491", - "reference": "43526ae63312942e5316100bb3ed589ba1aba491", + "url": "https://api.github.com/repos/doctrine/persistence/zipball/99b196bbd4715a94fa100fac664a351ffa46d6a5", + "reference": "99b196bbd4715a94fa100fac664a351ffa46d6a5", "shasum": "" }, "require": { @@ -1201,19 +1110,20 @@ "doctrine/common": "<2.10@dev" }, "require-dev": { - "doctrine/coding-standard": "^5.0", - "phpstan/phpstan": "^0.8", + "doctrine/coding-standard": "^6.0", + "phpstan/phpstan": "^0.11", "phpunit/phpunit": "^7.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2.x-dev" + "dev-master": "1.3.x-dev" } }, "autoload": { "psr-4": { - "Doctrine\\Common\\": "lib/Doctrine/Common" + "Doctrine\\Common\\": "lib/Doctrine/Common", + "Doctrine\\Persistence\\": "lib/Doctrine/Persistence" } }, "notification-url": "https://packagist.org/downloads/", @@ -1255,7 +1165,7 @@ "orm", "persistence" ], - "time": "2019-04-23T12:39:21+00:00" + "time": "2019-12-13T10:43:02+00:00" }, { "name": "doctrine/reflection", @@ -1384,27 +1294,26 @@ }, { "name": "egulias/email-validator", - "version": "2.1.11", + "version": "2.1.13", "source": { "type": "git", "url": "https://github.com/egulias/EmailValidator.git", - "reference": "92dd169c32f6f55ba570c309d83f5209cefb5e23" + "reference": "834593d5900615639208417760ba6a17299e2497" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/92dd169c32f6f55ba570c309d83f5209cefb5e23", - "reference": "92dd169c32f6f55ba570c309d83f5209cefb5e23", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/834593d5900615639208417760ba6a17299e2497", + "reference": "834593d5900615639208417760ba6a17299e2497", "shasum": "" }, "require": { "doctrine/lexer": "^1.0.1", - "php": ">= 5.5" + "php": ">=5.5" }, "require-dev": { - "dominicsayers/isemail": "dev-master", - "phpunit/phpunit": "^4.8.35||^5.7||^6.0", - "satooshi/php-coveralls": "^1.0.1", - "symfony/phpunit-bridge": "^4.4@dev" + "dominicsayers/isemail": "^3.0.7", + "phpunit/phpunit": "^4.8.36|^7.5.15", + "satooshi/php-coveralls": "^1.0.1" }, "suggest": { "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" @@ -1438,20 +1347,20 @@ "validation", "validator" ], - "time": "2019-08-13T17:33:27+00:00" + "time": "2019-12-30T08:14:25+00:00" }, { "name": "erusev/parsedown", - "version": "1.7.3", + "version": "1.7.4", "source": { "type": "git", "url": "https://github.com/erusev/parsedown.git", - "reference": "6d893938171a817f4e9bc9e86f2da1e370b7bcd7" + "reference": "cb17b6477dfff935958ba01325f2e8a2bfa6dab3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/erusev/parsedown/zipball/6d893938171a817f4e9bc9e86f2da1e370b7bcd7", - "reference": "6d893938171a817f4e9bc9e86f2da1e370b7bcd7", + "url": "https://api.github.com/repos/erusev/parsedown/zipball/cb17b6477dfff935958ba01325f2e8a2bfa6dab3", + "reference": "cb17b6477dfff935958ba01325f2e8a2bfa6dab3", "shasum": "" }, "require": { @@ -1484,7 +1393,7 @@ "markdown", "parser" ], - "time": "2019-03-17T18:48:37+00:00" + "time": "2019-12-30T22:54:17+00:00" }, { "name": "exsyst/swagger", @@ -1706,16 +1615,16 @@ }, { "name": "gedmo/doctrine-extensions", - "version": "v2.4.37", + "version": "v2.4.38", "source": { "type": "git", "url": "https://github.com/Atlantic18/DoctrineExtensions.git", - "reference": "5dd471f656e46d815f063bf3f12c667649ec7ffb" + "reference": "81681364331b131518060e4776300a5346df1eb5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Atlantic18/DoctrineExtensions/zipball/5dd471f656e46d815f063bf3f12c667649ec7ffb", - "reference": "5dd471f656e46d815f063bf3f12c667649ec7ffb", + "url": "https://api.github.com/repos/Atlantic18/DoctrineExtensions/zipball/81681364331b131518060e4776300a5346df1eb5", + "reference": "81681364331b131518060e4776300a5346df1eb5", "shasum": "" }, "require": { @@ -1724,14 +1633,15 @@ "php": ">=5.3.2" }, "conflict": { - "doctrine/annotations": "<1.2" + "doctrine/annotations": "<1.2", + "doctrine/mongodb-odm": ">=2.0" }, "require-dev": { "doctrine/common": ">=2.5.0", - "doctrine/mongodb-odm": ">=1.0.2", + "doctrine/mongodb-odm": ">=1.0.2 <2.0", "doctrine/orm": ">=2.5.0", - "phpunit/phpunit": "^4.8.35|^5.7|^6.5", - "symfony/yaml": "~2.6|~3.0|~4.0" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5", + "symfony/yaml": "~2.6 || ~3.0 || ~4.0" }, "suggest": { "doctrine/mongodb-odm": "to use the extensions with the MongoDB ODM", @@ -1753,10 +1663,6 @@ "MIT" ], "authors": [ - { - "name": "David Buchmann", - "email": "david@liip.ch" - }, { "name": "Gediminas Morkevicius", "email": "gediminas.morkevicius@gmail.com" @@ -1764,6 +1670,10 @@ { "name": "Gustavo Falco", "email": "comfortablynumb84@gmail.com" + }, + { + "name": "David Buchmann", + "email": "david@liip.ch" } ], "description": "Doctrine2 behavioral extensions", @@ -1783,7 +1693,7 @@ "tree", "uploadable" ], - "time": "2019-03-17T18:16:12+00:00" + "time": "2019-11-08T22:33:07+00:00" }, { "name": "guzzlehttp/psr7", @@ -2641,16 +2551,16 @@ }, { "name": "illuminate/cache", - "version": "v6.5.2", + "version": "v6.8.0", "source": { "type": "git", "url": "https://github.com/illuminate/cache.git", - "reference": "b7121bc6c2f345beae396bf7081c566b17d335d4" + "reference": "e06b7fbe402bc143ecbe12d3e314894c7aabb090" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/cache/zipball/b7121bc6c2f345beae396bf7081c566b17d335d4", - "reference": "b7121bc6c2f345beae396bf7081c566b17d335d4", + "url": "https://api.github.com/repos/illuminate/cache/zipball/e06b7fbe402bc143ecbe12d3e314894c7aabb090", + "reference": "e06b7fbe402bc143ecbe12d3e314894c7aabb090", "shasum": "" }, "require": { @@ -2688,20 +2598,20 @@ ], "description": "The Illuminate Cache package.", "homepage": "https://laravel.com", - "time": "2019-11-11T13:48:22+00:00" + "time": "2019-12-05T11:59:48+00:00" }, { "name": "illuminate/contracts", - "version": "v6.5.2", + "version": "v6.8.0", "source": { "type": "git", "url": "https://github.com/illuminate/contracts.git", - "reference": "5e32ed8640ff70179dfde98eda04790b1cfa9a41" + "reference": "484727dc42f1c9dbffb2182f6fb0d01ca1aba556" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/contracts/zipball/5e32ed8640ff70179dfde98eda04790b1cfa9a41", - "reference": "5e32ed8640ff70179dfde98eda04790b1cfa9a41", + "url": "https://api.github.com/repos/illuminate/contracts/zipball/484727dc42f1c9dbffb2182f6fb0d01ca1aba556", + "reference": "484727dc42f1c9dbffb2182f6fb0d01ca1aba556", "shasum": "" }, "require": { @@ -2732,20 +2642,20 @@ ], "description": "The Illuminate Contracts package.", "homepage": "https://laravel.com", - "time": "2019-10-21T18:36:48+00:00" + "time": "2019-12-06T13:40:59+00:00" }, { "name": "illuminate/support", - "version": "v6.5.2", + "version": "v6.8.0", "source": { "type": "git", "url": "https://github.com/illuminate/support.git", - "reference": "7a93f9e5a15bbf41236a8695fb738bf293f3c186" + "reference": "1536bbc476208a022805cb5b95ab72094d6d1b42" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/7a93f9e5a15bbf41236a8695fb738bf293f3c186", - "reference": "7a93f9e5a15bbf41236a8695fb738bf293f3c186", + "url": "https://api.github.com/repos/illuminate/support/zipball/1536bbc476208a022805cb5b95ab72094d6d1b42", + "reference": "1536bbc476208a022805cb5b95ab72094d6d1b42", "shasum": "" }, "require": { @@ -2793,7 +2703,7 @@ ], "description": "The Illuminate Support package.", "homepage": "https://laravel.com", - "time": "2019-11-18T21:49:40+00:00" + "time": "2019-12-12T14:16:31+00:00" }, { "name": "intervention/image", @@ -2974,16 +2884,16 @@ }, { "name": "jms/serializer", - "version": "3.3.0", + "version": "3.4.0", "source": { "type": "git", "url": "https://github.com/schmittjoh/serializer.git", - "reference": "4c1e4296734385af7718ca71ec0febb4815b4a87" + "reference": "e2d3c49d9322a08ee32221a5623c898160dada79" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/4c1e4296734385af7718ca71ec0febb4815b4a87", - "reference": "4c1e4296734385af7718ca71ec0febb4815b4a87", + "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/e2d3c49d9322a08ee32221a5623c898160dada79", + "reference": "e2d3c49d9322a08ee32221a5623c898160dada79", "shasum": "" }, "require": { @@ -3004,15 +2914,16 @@ "doctrine/phpcr-odm": "^1.3|^2.0", "ext-pdo_sqlite": "*", "jackalope/jackalope-doctrine-dbal": "^1.1.5", + "ocramius/proxy-manager": "^1.0|^2.0", "phpunit/phpunit": "^7.5||^8.0", "psr/container": "^1.0", - "symfony/dependency-injection": "^3.0|^4.0", - "symfony/expression-language": "^3.0|^4.0", - "symfony/filesystem": "^3.0|^4.0", - "symfony/form": "^3.0|^4.0", - "symfony/translation": "^3.0|^4.0", - "symfony/validator": "^3.1.9|^4.0", - "symfony/yaml": "^3.3|^4.0", + "symfony/dependency-injection": "^3.0|^4.0|^5.0", + "symfony/expression-language": "^3.0|^4.0|^5.0", + "symfony/filesystem": "^3.0|^4.0|^5.0", + "symfony/form": "^3.0|^4.0|^5.0", + "symfony/translation": "^3.0|^4.0|^5.0", + "symfony/validator": "^3.1.9|^4.0|^5.0", + "symfony/yaml": "^3.3|^4.0|^5.0", "twig/twig": "~1.34|~2.4" }, "suggest": { @@ -3023,7 +2934,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.3-dev" + "dev-master": "3.4-dev" } }, "autoload": { @@ -3054,38 +2965,38 @@ "serialization", "xml" ], - "time": "2019-09-20T14:24:07+00:00" + "time": "2019-12-14T20:49:23+00:00" }, { "name": "jms/serializer-bundle", - "version": "3.4.1", + "version": "3.5.0", "source": { "type": "git", "url": "https://github.com/schmittjoh/JMSSerializerBundle.git", - "reference": "d5af7fe83fead9b791dd6b46a936d5e6e42deed4" + "reference": "5793ec59b2243365a625c0fd78415732097c11e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/JMSSerializerBundle/zipball/d5af7fe83fead9b791dd6b46a936d5e6e42deed4", - "reference": "d5af7fe83fead9b791dd6b46a936d5e6e42deed4", + "url": "https://api.github.com/repos/schmittjoh/JMSSerializerBundle/zipball/5793ec59b2243365a625c0fd78415732097c11e8", + "reference": "5793ec59b2243365a625c0fd78415732097c11e8", "shasum": "" }, "require": { "jms/serializer": "^2.3|^3.0", "php": "^7.2", - "symfony/dependency-injection": "^3.3 || ^4.0", - "symfony/framework-bundle": "^3.0 || ^4.0" + "symfony/dependency-injection": "^3.3 || ^4.0 || ^5.0", + "symfony/framework-bundle": "^3.0 || ^4.0 || ^5.0" }, "require-dev": { "doctrine/orm": "^2.4", "phpunit/phpunit": "^6.0", - "symfony/expression-language": "^3.0 || ^4.0", - "symfony/finder": "^3.0 || ^4.0", - "symfony/form": "^3.0 || ^4.0", - "symfony/stopwatch": "^3.0 || ^4.0", + "symfony/expression-language": "^3.0 || ^4.0 || ^5.0", + "symfony/finder": "^3.0 || ^4.0 || ^5.0", + "symfony/form": "^3.0 || ^4.0 || ^5.0", + "symfony/stopwatch": "^3.0 || ^4.0 || ^5.0", "symfony/twig-bundle": "*", - "symfony/validator": "^3.0 || ^4.0", - "symfony/yaml": "^3.0 || ^4.0" + "symfony/validator": "^3.0 || ^4.0 || ^5.0", + "symfony/yaml": "^3.0 || ^4.0 || ^5.0" }, "suggest": { "jms/di-extra-bundle": "Required to get lazy loading (de)serialization visitors, ^1.3", @@ -3094,7 +3005,7 @@ "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "3.5-dev" } }, "autoload": { @@ -3110,13 +3021,13 @@ "MIT" ], "authors": [ - { - "name": "Asmir Mustafic", - "email": "goetas@gmail.com" - }, { "name": "Johannes M. Schmitt", "email": "schmittjoh@gmail.com" + }, + { + "name": "Asmir Mustafic", + "email": "goetas@gmail.com" } ], "description": "Allows you to easily serialize, and deserialize data of any complexity", @@ -3127,7 +3038,7 @@ "serialization", "xml" ], - "time": "2019-06-27T07:24:18+00:00" + "time": "2019-11-29T13:03:07+00:00" }, { "name": "kevinpapst/adminlte-bundle", @@ -3248,16 +3159,16 @@ }, { "name": "laravolt/avatar", - "version": "3.0.0", + "version": "3.0.5", "source": { "type": "git", "url": "https://github.com/laravolt/avatar.git", - "reference": "d95652df4499790e25d66a4fbfc34dfb93e7314d" + "reference": "c49e6502957a5b31019c69bc751785d5be283ca0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravolt/avatar/zipball/d95652df4499790e25d66a4fbfc34dfb93e7314d", - "reference": "d95652df4499790e25d66a4fbfc34dfb93e7314d", + "url": "https://api.github.com/repos/laravolt/avatar/zipball/c49e6502957a5b31019c69bc751785d5be283ca0", + "reference": "c49e6502957a5b31019c69bc751785d5be283ca0", "shasum": "" }, "require": { @@ -3268,6 +3179,7 @@ }, "require-dev": { "mockery/mockery": "^0.9.1", + "php-coveralls/php-coveralls": "^2.1", "phpunit/phpunit": "~7.0" }, "type": "library", @@ -3309,20 +3221,20 @@ "laravel", "laravolt" ], - "time": "2019-09-04T14:39:26+00:00" + "time": "2019-12-26T23:36:55+00:00" }, { "name": "league/csv", - "version": "9.4.1", + "version": "9.5.0", "source": { "type": "git", "url": "https://github.com/thephpleague/csv.git", - "reference": "bf83acc23a7d60978fce36a384f97bf9d7d2ea0c" + "reference": "b348d09d0d258a4f068efb50a2510dc63101c213" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/csv/zipball/bf83acc23a7d60978fce36a384f97bf9d7d2ea0c", - "reference": "bf83acc23a7d60978fce36a384f97bf9d7d2ea0c", + "url": "https://api.github.com/repos/thephpleague/csv/zipball/b348d09d0d258a4f068efb50a2510dc63101c213", + "reference": "b348d09d0d258a4f068efb50a2510dc63101c213", "shasum": "" }, "require": { @@ -3378,7 +3290,7 @@ "read", "write" ], - "time": "2019-10-17T06:05:32+00:00" + "time": "2019-12-15T19:51:41+00:00" }, { "name": "markbaker/complex", @@ -3546,16 +3458,16 @@ }, { "name": "monolog/monolog", - "version": "1.25.2", + "version": "1.25.3", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "d5e2fb341cb44f7e2ab639d12a1e5901091ec287" + "reference": "fa82921994db851a8becaf3787a9e73c5976b6f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/d5e2fb341cb44f7e2ab639d12a1e5901091ec287", - "reference": "d5e2fb341cb44f7e2ab639d12a1e5901091ec287", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fa82921994db851a8becaf3787a9e73c5976b6f1", + "reference": "fa82921994db851a8becaf3787a9e73c5976b6f1", "shasum": "" }, "require": { @@ -3620,7 +3532,7 @@ "logging", "psr-3" ], - "time": "2019-11-13T10:00:05+00:00" + "time": "2019-12-20T14:15:16+00:00" }, { "name": "mpdf/mpdf", @@ -3692,16 +3604,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.9.3", + "version": "1.9.4", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "007c053ae6f31bba39dfa19a7726f56e9763bbea" + "reference": "579bb7356d91f9456ccd505f24ca8b667966a0a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/007c053ae6f31bba39dfa19a7726f56e9763bbea", - "reference": "007c053ae6f31bba39dfa19a7726f56e9763bbea", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/579bb7356d91f9456ccd505f24ca8b667966a0a7", + "reference": "579bb7356d91f9456ccd505f24ca8b667966a0a7", "shasum": "" }, "require": { @@ -3736,7 +3648,7 @@ "object", "object graph" ], - "time": "2019-08-09T12:45:53+00:00" + "time": "2019-12-15T19:12:40+00:00" }, { "name": "nelmio/api-doc-bundle", @@ -3886,16 +3798,16 @@ }, { "name": "nesbot/carbon", - "version": "2.27.0", + "version": "2.28.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "13b8485a8690f103bf19cba64879c218b102b726" + "reference": "e2bcbcd43e67ee6101d321d5de916251d2870ca8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/13b8485a8690f103bf19cba64879c218b102b726", - "reference": "13b8485a8690f103bf19cba64879c218b102b726", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/e2bcbcd43e67ee6101d321d5de916251d2870ca8", + "reference": "e2bcbcd43e67ee6101d321d5de916251d2870ca8", "shasum": "" }, "require": { @@ -3952,7 +3864,7 @@ "datetime", "time" ], - "time": "2019-11-20T06:59:06+00:00" + "time": "2019-12-16T16:30:25+00:00" }, { "name": "ocramius/package-versions", @@ -4279,16 +4191,16 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "4.3.2", + "version": "4.3.4", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "b83ff7cfcfee7827e1e78b637a5904fe6a96698e" + "reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/b83ff7cfcfee7827e1e78b637a5904fe6a96698e", - "reference": "b83ff7cfcfee7827e1e78b637a5904fe6a96698e", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/da3fd972d6bafd628114f7e7e036f45944b62e9c", + "reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c", "shasum": "" }, "require": { @@ -4300,6 +4212,7 @@ "require-dev": { "doctrine/instantiator": "^1.0.5", "mockery/mockery": "^1.0", + "phpdocumentor/type-resolver": "0.4.*", "phpunit/phpunit": "^6.4" }, "type": "library", @@ -4326,7 +4239,7 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2019-09-12T14:27:41+00:00" + "time": "2019-12-28T18:55:12+00:00" }, { "name": "phpdocumentor/type-resolver", @@ -4432,16 +4345,16 @@ }, { "name": "phpoffice/phpspreadsheet", - "version": "1.10.0", + "version": "1.10.1", "source": { "type": "git", "url": "https://github.com/PHPOffice/PhpSpreadsheet.git", - "reference": "f734783d826bd84c3d54fcf7b71c37ab9bac4b04" + "reference": "1648dc9ebef6ebe0c5a172e16cf66732918416e0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/f734783d826bd84c3d54fcf7b71c37ab9bac4b04", - "reference": "f734783d826bd84c3d54fcf7b71c37ab9bac4b04", + "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/1648dc9ebef6ebe0c5a172e16cf66732918416e0", + "reference": "1648dc9ebef6ebe0c5a172e16cf66732918416e0", "shasum": "" }, "require": { @@ -4521,7 +4434,7 @@ "xls", "xlsx" ], - "time": "2019-11-18T11:33:05+00:00" + "time": "2019-12-01T23:13:51+00:00" }, { "name": "phpoffice/phpword", @@ -4914,16 +4827,16 @@ }, { "name": "sensio/framework-extra-bundle", - "version": "v5.5.1", + "version": "v5.5.3", "source": { "type": "git", "url": "https://github.com/sensiolabs/SensioFrameworkExtraBundle.git", - "reference": "dfc2c4df9f7d465a65c770e9feb578fe071636f7" + "reference": "98f0807137b13d0acfdf3c255a731516e97015de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/dfc2c4df9f7d465a65c770e9feb578fe071636f7", - "reference": "dfc2c4df9f7d465a65c770e9feb578fe071636f7", + "url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/98f0807137b13d0acfdf3c255a731516e97015de", + "reference": "98f0807137b13d0acfdf3c255a731516e97015de", "shasum": "" }, "require": { @@ -4988,7 +4901,7 @@ "annotations", "controllers" ], - "time": "2019-10-16T18:54:45+00:00" + "time": "2019-12-27T08:57:19+00:00" }, { "name": "setasign/fpdi", @@ -5103,7 +5016,7 @@ }, { "name": "symfony/asset", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/asset.git", @@ -5159,16 +5072,16 @@ }, { "name": "symfony/cache", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "83dca34362a0aba2b93aa1226dac6ef7cfea1262" + "reference": "2a7bcc592adcaab9efc165bbced5a91fe905fad4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/83dca34362a0aba2b93aa1226dac6ef7cfea1262", - "reference": "83dca34362a0aba2b93aa1226dac6ef7cfea1262", + "url": "https://api.github.com/repos/symfony/cache/zipball/2a7bcc592adcaab9efc165bbced5a91fe905fad4", + "reference": "2a7bcc592adcaab9efc165bbced5a91fe905fad4", "shasum": "" }, "require": { @@ -5233,7 +5146,7 @@ "caching", "psr6" ], - "time": "2019-11-12T13:07:20+00:00" + "time": "2019-12-01T10:50:31+00:00" }, { "name": "symfony/cache-contracts", @@ -5295,16 +5208,16 @@ }, { "name": "symfony/config", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "8267214841c44d315a55242ea867684eb43c42ce" + "reference": "9822766942cc233363ba573675f0b3d7283b0bc6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/8267214841c44d315a55242ea867684eb43c42ce", - "reference": "8267214841c44d315a55242ea867684eb43c42ce", + "url": "https://api.github.com/repos/symfony/config/zipball/9822766942cc233363ba573675f0b3d7283b0bc6", + "reference": "9822766942cc233363ba573675f0b3d7283b0bc6", "shasum": "" }, "require": { @@ -5355,20 +5268,20 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2019-11-08T08:31:27+00:00" + "time": "2019-12-01T10:50:31+00:00" }, { "name": "symfony/console", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "831424efae0a1fe6642784bd52aae14ece6538e6" + "reference": "92e3577f4310553c83e362db25cc73f9673217de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/831424efae0a1fe6642784bd52aae14ece6538e6", - "reference": "831424efae0a1fe6642784bd52aae14ece6538e6", + "url": "https://api.github.com/repos/symfony/console/zipball/92e3577f4310553c83e362db25cc73f9673217de", + "reference": "92e3577f4310553c83e362db25cc73f9673217de", "shasum": "" }, "require": { @@ -5430,20 +5343,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2019-11-13T07:29:07+00:00" + "time": "2019-12-01T10:04:59+00:00" }, { "name": "symfony/debug", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "5ea9c3e01989a86ceaa0283f21234b12deadf5e2" + "reference": "7793eea884aae3f1ba339ed8990b65d67c0b4075" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/5ea9c3e01989a86ceaa0283f21234b12deadf5e2", - "reference": "5ea9c3e01989a86ceaa0283f21234b12deadf5e2", + "url": "https://api.github.com/repos/symfony/debug/zipball/7793eea884aae3f1ba339ed8990b65d67c0b4075", + "reference": "7793eea884aae3f1ba339ed8990b65d67c0b4075", "shasum": "" }, "require": { @@ -5486,11 +5399,11 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2019-10-28T17:07:32+00:00" + "time": "2019-11-28T10:55:21+00:00" }, { "name": "symfony/debug-bundle", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/debug-bundle.git", @@ -5586,16 +5499,16 @@ }, { "name": "symfony/dependency-injection", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "80c6d9e19467dfbba14f830ed478eb592ce51b64" + "reference": "27d8bf5aebc3d4c7bfa95e23025ecdfb3637a27d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/80c6d9e19467dfbba14f830ed478eb592ce51b64", - "reference": "80c6d9e19467dfbba14f830ed478eb592ce51b64", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/27d8bf5aebc3d4c7bfa95e23025ecdfb3637a27d", + "reference": "27d8bf5aebc3d4c7bfa95e23025ecdfb3637a27d", "shasum": "" }, "require": { @@ -5655,20 +5568,20 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "time": "2019-11-08T16:22:27+00:00" + "time": "2019-12-01T08:34:52+00:00" }, { "name": "symfony/doctrine-bridge", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/doctrine-bridge.git", - "reference": "a18757e2de67c7add2b3175ff12e5f16e8f0ca9d" + "reference": "81e2dff413f9d51e1ef3d8552ef7d773973d7b37" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/doctrine-bridge/zipball/a18757e2de67c7add2b3175ff12e5f16e8f0ca9d", - "reference": "a18757e2de67c7add2b3175ff12e5f16e8f0ca9d", + "url": "https://api.github.com/repos/symfony/doctrine-bridge/zipball/81e2dff413f9d51e1ef3d8552ef7d773973d7b37", + "reference": "81e2dff413f9d51e1ef3d8552ef7d773973d7b37", "shasum": "" }, "require": { @@ -5746,11 +5659,11 @@ ], "description": "Symfony Doctrine Bridge", "homepage": "https://symfony.com", - "time": "2019-11-06T14:43:50+00:00" + "time": "2019-12-01T08:34:52+00:00" }, { "name": "symfony/dotenv", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/dotenv.git", @@ -5807,16 +5720,16 @@ }, { "name": "symfony/event-dispatcher", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "0df002fd4f500392eabd243c2947061a50937287" + "reference": "87a1ae7480f2020818013605a65776b9033bcc4f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/0df002fd4f500392eabd243c2947061a50937287", - "reference": "0df002fd4f500392eabd243c2947061a50937287", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/87a1ae7480f2020818013605a65776b9033bcc4f", + "reference": "87a1ae7480f2020818013605a65776b9033bcc4f", "shasum": "" }, "require": { @@ -5873,7 +5786,7 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2019-11-03T09:04:05+00:00" + "time": "2019-11-28T13:25:45+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -5935,7 +5848,7 @@ }, { "name": "symfony/expression-language", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/expression-language.git", @@ -5986,16 +5899,16 @@ }, { "name": "symfony/filesystem", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "9abbb7ef96a51f4d7e69627bc6f63307994e4263" + "reference": "33301491743c72740069fd61ee0b9e6b24b0fb97" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/9abbb7ef96a51f4d7e69627bc6f63307994e4263", - "reference": "9abbb7ef96a51f4d7e69627bc6f63307994e4263", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/33301491743c72740069fd61ee0b9e6b24b0fb97", + "reference": "33301491743c72740069fd61ee0b9e6b24b0fb97", "shasum": "" }, "require": { @@ -6032,20 +5945,20 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2019-08-20T14:07:54+00:00" + "time": "2019-11-26T03:44:44+00:00" }, { "name": "symfony/finder", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "72a068f77e317ae77c0a0495236ad292cfb5ce6f" + "reference": "3d72a13a7edcffecc73151821eb75c57e9214e00" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/72a068f77e317ae77c0a0495236ad292cfb5ce6f", - "reference": "72a068f77e317ae77c0a0495236ad292cfb5ce6f", + "url": "https://api.github.com/repos/symfony/finder/zipball/3d72a13a7edcffecc73151821eb75c57e9214e00", + "reference": "3d72a13a7edcffecc73151821eb75c57e9214e00", "shasum": "" }, "require": { @@ -6081,20 +5994,20 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2019-10-30T12:53:54+00:00" + "time": "2019-11-17T21:56:13+00:00" }, { "name": "symfony/flex", - "version": "v1.4.8", + "version": "v1.6.0", "source": { "type": "git", "url": "https://github.com/symfony/flex.git", - "reference": "f5bfc79c1f5bed6b2bb4ca9e49a736c2abc03e8f" + "reference": "952f45d1c5077e658cb16a61d11603bee873f968" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/flex/zipball/f5bfc79c1f5bed6b2bb4ca9e49a736c2abc03e8f", - "reference": "f5bfc79c1f5bed6b2bb4ca9e49a736c2abc03e8f", + "url": "https://api.github.com/repos/symfony/flex/zipball/952f45d1c5077e658cb16a61d11603bee873f968", + "reference": "952f45d1c5077e658cb16a61d11603bee873f968", "shasum": "" }, "require": { @@ -6110,7 +6023,7 @@ "type": "composer-plugin", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "1.5-dev" }, "class": "Symfony\\Flex\\Flex" }, @@ -6130,20 +6043,20 @@ } ], "description": "Composer plugin for Symfony", - "time": "2019-11-14T09:25:51+00:00" + "time": "2019-12-13T18:05:11+00:00" }, { "name": "symfony/form", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/form.git", - "reference": "1134c093d6fd339ea1b8823c50940607b58349f2" + "reference": "4fc2f047c99c87e572a5232ead88ca192bb2df23" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/form/zipball/1134c093d6fd339ea1b8823c50940607b58349f2", - "reference": "1134c093d6fd339ea1b8823c50940607b58349f2", + "url": "https://api.github.com/repos/symfony/form/zipball/4fc2f047c99c87e572a5232ead88ca192bb2df23", + "reference": "4fc2f047c99c87e572a5232ead88ca192bb2df23", "shasum": "" }, "require": { @@ -6214,20 +6127,20 @@ ], "description": "Symfony Form Component", "homepage": "https://symfony.com", - "time": "2019-10-28T17:07:32+00:00" + "time": "2019-12-01T08:39:44+00:00" }, { "name": "symfony/framework-bundle", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/framework-bundle.git", - "reference": "117560d884615d0c39179a24aa3c69c4af540d81" + "reference": "39fa21a555c5b451222b37d59925f5d4704ba0c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/framework-bundle/zipball/117560d884615d0c39179a24aa3c69c4af540d81", - "reference": "117560d884615d0c39179a24aa3c69c4af540d81", + "url": "https://api.github.com/repos/symfony/framework-bundle/zipball/39fa21a555c5b451222b37d59925f5d4704ba0c0", + "reference": "39fa21a555c5b451222b37d59925f5d4704ba0c0", "shasum": "" }, "require": { @@ -6253,7 +6166,7 @@ "symfony/console": "<4.3", "symfony/dom-crawler": "<4.3", "symfony/dotenv": "<4.2", - "symfony/form": "<4.3", + "symfony/form": "<4.3.5", "symfony/messenger": "<4.3.6", "symfony/property-info": "<3.4", "symfony/serializer": "<4.2", @@ -6274,7 +6187,7 @@ "symfony/css-selector": "~3.4|~4.0", "symfony/dom-crawler": "^4.3", "symfony/expression-language": "~3.4|~4.0", - "symfony/form": "^4.3.4", + "symfony/form": "^4.3.5", "symfony/http-client": "^4.3", "symfony/lock": "~3.4|~4.0", "symfony/mailer": "^4.3", @@ -6337,20 +6250,20 @@ ], "description": "Symfony FrameworkBundle", "homepage": "https://symfony.com", - "time": "2019-11-08T22:04:53+00:00" + "time": "2019-11-28T11:39:15+00:00" }, { "name": "symfony/http-foundation", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "cabe67275034e173350e158f3b1803d023880227" + "reference": "fcafc7c53784919e4bbcb6d5df73cabbb5c39e76" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/cabe67275034e173350e158f3b1803d023880227", - "reference": "cabe67275034e173350e158f3b1803d023880227", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/fcafc7c53784919e4bbcb6d5df73cabbb5c39e76", + "reference": "fcafc7c53784919e4bbcb6d5df73cabbb5c39e76", "shasum": "" }, "require": { @@ -6392,20 +6305,20 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "time": "2019-11-12T13:07:20+00:00" + "time": "2019-11-28T13:29:27+00:00" }, { "name": "symfony/http-kernel", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "5fdf186f26f9080de531d3f1d024348b2f0ab12f" + "reference": "3feb99b01560f94173d8fbc5a203ea497d01d499" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/5fdf186f26f9080de531d3f1d024348b2f0ab12f", - "reference": "5fdf186f26f9080de531d3f1d024348b2f0ab12f", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/3feb99b01560f94173d8fbc5a203ea497d01d499", + "reference": "3feb99b01560f94173d8fbc5a203ea497d01d499", "shasum": "" }, "require": { @@ -6484,11 +6397,11 @@ ], "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", - "time": "2019-11-13T09:07:28+00:00" + "time": "2019-12-01T14:00:23+00:00" }, { "name": "symfony/inflector", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/inflector.git", @@ -6546,16 +6459,16 @@ }, { "name": "symfony/intl", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/intl.git", - "reference": "818771ff6acef04cdce05023ddfc39b7078014bf" + "reference": "7d3fdbfa69f80e27140654d975acd4a52000e8be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/intl/zipball/818771ff6acef04cdce05023ddfc39b7078014bf", - "reference": "818771ff6acef04cdce05023ddfc39b7078014bf", + "url": "https://api.github.com/repos/symfony/intl/zipball/7d3fdbfa69f80e27140654d975acd4a52000e8be", + "reference": "7d3fdbfa69f80e27140654d975acd4a52000e8be", "shasum": "" }, "require": { @@ -6617,11 +6530,11 @@ "l10n", "localization" ], - "time": "2019-10-04T21:18:34+00:00" + "time": "2019-11-25T16:40:38+00:00" }, { "name": "symfony/mime", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", @@ -6680,16 +6593,16 @@ }, { "name": "symfony/monolog-bridge", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/monolog-bridge.git", - "reference": "6b9d84b34e0c2c5d9d4f4dbd5f36b0c9e4e5ef93" + "reference": "5d5968f69182acb475abba6c20ede63f0c9e3651" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/monolog-bridge/zipball/6b9d84b34e0c2c5d9d4f4dbd5f36b0c9e4e5ef93", - "reference": "6b9d84b34e0c2c5d9d4f4dbd5f36b0c9e4e5ef93", + "url": "https://api.github.com/repos/symfony/monolog-bridge/zipball/5d5968f69182acb475abba6c20ede63f0c9e3651", + "reference": "5d5968f69182acb475abba6c20ede63f0c9e3651", "shasum": "" }, "require": { @@ -6742,7 +6655,7 @@ ], "description": "Symfony Monolog Bridge", "homepage": "https://symfony.com", - "time": "2019-09-06T09:34:03+00:00" + "time": "2019-11-26T03:44:44+00:00" }, { "name": "symfony/monolog-bundle", @@ -6809,7 +6722,7 @@ }, { "name": "symfony/options-resolver", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", @@ -6891,16 +6804,16 @@ }, { "name": "symfony/polyfill-ctype", - "version": "v1.12.0", + "version": "v1.13.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "550ebaac289296ce228a706d0867afc34687e3f4" + "reference": "f8f0b461be3385e56d6de3dbb5a0df24c0c275e3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/550ebaac289296ce228a706d0867afc34687e3f4", - "reference": "550ebaac289296ce228a706d0867afc34687e3f4", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/f8f0b461be3385e56d6de3dbb5a0df24c0c275e3", + "reference": "f8f0b461be3385e56d6de3dbb5a0df24c0c275e3", "shasum": "" }, "require": { @@ -6912,7 +6825,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.13-dev" } }, "autoload": { @@ -6945,20 +6858,20 @@ "polyfill", "portable" ], - "time": "2019-08-06T08:03:45+00:00" + "time": "2019-11-27T13:56:44+00:00" }, { "name": "symfony/polyfill-intl-icu", - "version": "v1.12.0", + "version": "v1.13.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-icu.git", - "reference": "66810b9d6eb4af54d543867909d65ab9af654d7e" + "reference": "b3dffd68afa61ca70f2327f2dd9bbeb6aa53d70b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/66810b9d6eb4af54d543867909d65ab9af654d7e", - "reference": "66810b9d6eb4af54d543867909d65ab9af654d7e", + "url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/b3dffd68afa61ca70f2327f2dd9bbeb6aa53d70b", + "reference": "b3dffd68afa61ca70f2327f2dd9bbeb6aa53d70b", "shasum": "" }, "require": { @@ -6971,7 +6884,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.13-dev" } }, "autoload": { @@ -7003,20 +6916,20 @@ "portable", "shim" ], - "time": "2019-08-06T08:03:45+00:00" + "time": "2019-11-27T13:56:44+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.12.0", + "version": "v1.13.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "6af626ae6fa37d396dc90a399c0ff08e5cfc45b2" + "reference": "6f9c239e61e1b0c9229a28ff89a812dc449c3d46" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/6af626ae6fa37d396dc90a399c0ff08e5cfc45b2", - "reference": "6af626ae6fa37d396dc90a399c0ff08e5cfc45b2", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/6f9c239e61e1b0c9229a28ff89a812dc449c3d46", + "reference": "6f9c239e61e1b0c9229a28ff89a812dc449c3d46", "shasum": "" }, "require": { @@ -7030,7 +6943,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.13-dev" } }, "autoload": { @@ -7065,20 +6978,20 @@ "portable", "shim" ], - "time": "2019-08-06T08:03:45+00:00" + "time": "2019-11-27T13:56:44+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.12.0", + "version": "v1.13.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "b42a2f66e8f1b15ccf25652c3424265923eb4f17" + "reference": "7b4aab9743c30be783b73de055d24a39cf4b954f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/b42a2f66e8f1b15ccf25652c3424265923eb4f17", - "reference": "b42a2f66e8f1b15ccf25652c3424265923eb4f17", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7b4aab9743c30be783b73de055d24a39cf4b954f", + "reference": "7b4aab9743c30be783b73de055d24a39cf4b954f", "shasum": "" }, "require": { @@ -7090,7 +7003,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.13-dev" } }, "autoload": { @@ -7124,20 +7037,20 @@ "portable", "shim" ], - "time": "2019-08-06T08:03:45+00:00" + "time": "2019-11-27T14:18:11+00:00" }, { "name": "symfony/polyfill-php72", - "version": "v1.12.0", + "version": "v1.13.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "04ce3335667451138df4307d6a9b61565560199e" + "reference": "66fea50f6cb37a35eea048d75a7d99a45b586038" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/04ce3335667451138df4307d6a9b61565560199e", - "reference": "04ce3335667451138df4307d6a9b61565560199e", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/66fea50f6cb37a35eea048d75a7d99a45b586038", + "reference": "66fea50f6cb37a35eea048d75a7d99a45b586038", "shasum": "" }, "require": { @@ -7146,7 +7059,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.13-dev" } }, "autoload": { @@ -7179,20 +7092,20 @@ "portable", "shim" ], - "time": "2019-08-06T08:03:45+00:00" + "time": "2019-11-27T13:56:44+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.12.0", + "version": "v1.13.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "2ceb49eaccb9352bff54d22570276bb75ba4a188" + "reference": "4b0e2222c55a25b4541305a053013d5647d3a25f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/2ceb49eaccb9352bff54d22570276bb75ba4a188", - "reference": "2ceb49eaccb9352bff54d22570276bb75ba4a188", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/4b0e2222c55a25b4541305a053013d5647d3a25f", + "reference": "4b0e2222c55a25b4541305a053013d5647d3a25f", "shasum": "" }, "require": { @@ -7201,7 +7114,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12-dev" + "dev-master": "1.13-dev" } }, "autoload": { @@ -7237,7 +7150,7 @@ "portable", "shim" ], - "time": "2019-08-06T08:03:45+00:00" + "time": "2019-11-27T16:25:15+00:00" }, { "name": "symfony/profiler-pack", @@ -7269,16 +7182,16 @@ }, { "name": "symfony/property-access", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/property-access.git", - "reference": "bb0c302375ffeef60c31e72a4539611b7f787565" + "reference": "2abd699fca214838afdd151fd2a2f8a8b07a738a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/property-access/zipball/bb0c302375ffeef60c31e72a4539611b7f787565", - "reference": "bb0c302375ffeef60c31e72a4539611b7f787565", + "url": "https://api.github.com/repos/symfony/property-access/zipball/2abd699fca214838afdd151fd2a2f8a8b07a738a", + "reference": "2abd699fca214838afdd151fd2a2f8a8b07a738a", "shasum": "" }, "require": { @@ -7332,11 +7245,11 @@ "property path", "reflection" ], - "time": "2019-08-26T08:26:39+00:00" + "time": "2019-12-01T10:50:31+00:00" }, { "name": "symfony/property-info", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/property-info.git", @@ -7412,16 +7325,16 @@ }, { "name": "symfony/routing", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "533fd12a41fb9ce8d4e861693365427849487c0e" + "reference": "a252cd9441a00e71b52a28838cbd14115795a725" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/533fd12a41fb9ce8d4e861693365427849487c0e", - "reference": "533fd12a41fb9ce8d4e861693365427849487c0e", + "url": "https://api.github.com/repos/symfony/routing/zipball/a252cd9441a00e71b52a28838cbd14115795a725", + "reference": "a252cd9441a00e71b52a28838cbd14115795a725", "shasum": "" }, "require": { @@ -7484,20 +7397,20 @@ "uri", "url" ], - "time": "2019-11-04T20:23:03+00:00" + "time": "2019-12-01T08:34:52+00:00" }, { "name": "symfony/security-bundle", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/security-bundle.git", - "reference": "9f247c672e08385c67e3ca7cfc1484072bcc6517" + "reference": "8d157b5a96c2d7561e29eca3574344727482d3fb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/security-bundle/zipball/9f247c672e08385c67e3ca7cfc1484072bcc6517", - "reference": "9f247c672e08385c67e3ca7cfc1484072bcc6517", + "url": "https://api.github.com/repos/symfony/security-bundle/zipball/8d157b5a96c2d7561e29eca3574344727482d3fb", + "reference": "8d157b5a96c2d7561e29eca3574344727482d3fb", "shasum": "" }, "require": { @@ -7509,7 +7422,7 @@ "symfony/security-core": "~4.3", "symfony/security-csrf": "~4.2", "symfony/security-guard": "~4.2", - "symfony/security-http": "^4.3.8" + "symfony/security-http": "~4.3.9|^4.4.1" }, "conflict": { "symfony/browser-kit": "<4.2", @@ -7568,11 +7481,11 @@ ], "description": "Symfony SecurityBundle", "homepage": "https://symfony.com", - "time": "2019-11-12T13:12:56+00:00" + "time": "2019-11-30T13:16:45+00:00" }, { "name": "symfony/security-core", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/security-core.git", @@ -7644,7 +7557,7 @@ }, { "name": "symfony/security-csrf", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/security-csrf.git", @@ -7703,7 +7616,7 @@ }, { "name": "symfony/security-guard", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/security-guard.git", @@ -7757,16 +7670,16 @@ }, { "name": "symfony/security-http", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/security-http.git", - "reference": "290b23a46a932746c4cf3c313d59d99f82af2a87" + "reference": "75e96df3a1b9b38c67e2fa208894f72dae5e1147" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/security-http/zipball/290b23a46a932746c4cf3c313d59d99f82af2a87", - "reference": "290b23a46a932746c4cf3c313d59d99f82af2a87", + "url": "https://api.github.com/repos/symfony/security-http/zipball/75e96df3a1b9b38c67e2fa208894f72dae5e1147", + "reference": "75e96df3a1b9b38c67e2fa208894f72dae5e1147", "shasum": "" }, "require": { @@ -7818,20 +7731,20 @@ ], "description": "Symfony Security Component - HTTP Integration", "homepage": "https://symfony.com", - "time": "2019-11-12T13:12:56+00:00" + "time": "2019-11-30T13:16:45+00:00" }, { "name": "symfony/serializer", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/serializer.git", - "reference": "18f30003dbe7178dcc1f75901ecb9f4937d146f5" + "reference": "12ce178feef47bed8316cc48e68892f9a34c0794" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/serializer/zipball/18f30003dbe7178dcc1f75901ecb9f4937d146f5", - "reference": "18f30003dbe7178dcc1f75901ecb9f4937d146f5", + "url": "https://api.github.com/repos/symfony/serializer/zipball/12ce178feef47bed8316cc48e68892f9a34c0794", + "reference": "12ce178feef47bed8316cc48e68892f9a34c0794", "shasum": "" }, "require": { @@ -7898,7 +7811,7 @@ ], "description": "Symfony Serializer Component", "homepage": "https://symfony.com", - "time": "2019-11-13T07:29:07+00:00" + "time": "2019-11-28T11:29:50+00:00" }, { "name": "symfony/service-contracts", @@ -7960,7 +7873,7 @@ }, { "name": "symfony/stopwatch", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", @@ -8075,7 +7988,7 @@ }, { "name": "symfony/templating", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/templating.git", @@ -8131,16 +8044,16 @@ }, { "name": "symfony/translation", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "bbce239b35b0cd47bd75848b23e969f17dd970e7" + "reference": "73f86a49454d9477864ccbb6c06993e24a052a48" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/bbce239b35b0cd47bd75848b23e969f17dd970e7", - "reference": "bbce239b35b0cd47bd75848b23e969f17dd970e7", + "url": "https://api.github.com/repos/symfony/translation/zipball/73f86a49454d9477864ccbb6c06993e24a052a48", + "reference": "73f86a49454d9477864ccbb6c06993e24a052a48", "shasum": "" }, "require": { @@ -8203,7 +8116,7 @@ ], "description": "Symfony Translation Component", "homepage": "https://symfony.com", - "time": "2019-11-06T23:21:49+00:00" + "time": "2019-11-26T03:44:44+00:00" }, { "name": "symfony/translation-contracts", @@ -8264,16 +8177,16 @@ }, { "name": "symfony/twig-bridge", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/twig-bridge.git", - "reference": "67fdb93de3361bcf1ab02bd8275af8c790bae900" + "reference": "29a701da694fec427c8b3a3d32ef99766e506aaf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/67fdb93de3361bcf1ab02bd8275af8c790bae900", - "reference": "67fdb93de3361bcf1ab02bd8275af8c790bae900", + "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/29a701da694fec427c8b3a3d32ef99766e506aaf", + "reference": "29a701da694fec427c8b3a3d32ef99766e506aaf", "shasum": "" }, "require": { @@ -8283,7 +8196,7 @@ }, "conflict": { "symfony/console": "<3.4", - "symfony/form": "<4.3.4", + "symfony/form": "<4.3.5", "symfony/http-foundation": "<4.3", "symfony/translation": "<4.2", "symfony/workflow": "<4.3" @@ -8296,7 +8209,7 @@ "symfony/dependency-injection": "~3.4|~4.0", "symfony/expression-language": "~3.4|~4.0", "symfony/finder": "~3.4|~4.0", - "symfony/form": "^4.3.4", + "symfony/form": "^4.3.5", "symfony/http-foundation": "~4.3", "symfony/http-kernel": "~3.4|~4.0", "symfony/mime": "~4.3", @@ -8361,11 +8274,11 @@ ], "description": "Symfony Twig Bridge", "homepage": "https://symfony.com", - "time": "2019-10-30T12:58:49+00:00" + "time": "2019-11-30T08:28:34+00:00" }, { "name": "symfony/twig-bundle", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/twig-bundle.git", @@ -8442,16 +8355,16 @@ }, { "name": "symfony/validator", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/validator.git", - "reference": "8062841487a1a7d95f4c7cc359e674079daf4c48" + "reference": "539484217f9966aa93e01915c5035c74b6ea1b9b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/validator/zipball/8062841487a1a7d95f4c7cc359e674079daf4c48", - "reference": "8062841487a1a7d95f4c7cc359e674079daf4c48", + "url": "https://api.github.com/repos/symfony/validator/zipball/539484217f9966aa93e01915c5035c74b6ea1b9b", + "reference": "539484217f9966aa93e01915c5035c74b6ea1b9b", "shasum": "" }, "require": { @@ -8531,20 +8444,20 @@ ], "description": "Symfony Validator Component", "homepage": "https://symfony.com", - "time": "2019-11-08T08:31:27+00:00" + "time": "2019-11-30T08:28:34+00:00" }, { "name": "symfony/var-dumper", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "ea4940845535c85ff5c505e13b3205b0076d07bf" + "reference": "8efdf3022bea18efad9793c9e920677c4eadf388" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/ea4940845535c85ff5c505e13b3205b0076d07bf", - "reference": "ea4940845535c85ff5c505e13b3205b0076d07bf", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/8efdf3022bea18efad9793c9e920677c4eadf388", + "reference": "8efdf3022bea18efad9793c9e920677c4eadf388", "shasum": "" }, "require": { @@ -8607,20 +8520,20 @@ "debug", "dump" ], - "time": "2019-10-13T12:02:04+00:00" + "time": "2019-11-28T07:25:37+00:00" }, { "name": "symfony/var-exporter", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "097aa4c02954dabe9d508229be86213723973ac0" + "reference": "8cccc7d4fde4d72d0bf9d70f01ffa3ba1ec3510b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/097aa4c02954dabe9d508229be86213723973ac0", - "reference": "097aa4c02954dabe9d508229be86213723973ac0", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/8cccc7d4fde4d72d0bf9d70f01ffa3ba1ec3510b", + "reference": "8cccc7d4fde4d72d0bf9d70f01ffa3ba1ec3510b", "shasum": "" }, "require": { @@ -8667,11 +8580,11 @@ "instantiate", "serialize" ], - "time": "2019-11-11T12:48:54+00:00" + "time": "2019-12-01T08:39:44+00:00" }, { "name": "symfony/web-profiler-bundle", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/web-profiler-bundle.git", @@ -8737,16 +8650,16 @@ }, { "name": "symfony/webpack-encore-bundle", - "version": "v1.7.1", + "version": "v1.7.2", "source": { "type": "git", "url": "https://github.com/symfony/webpack-encore-bundle.git", - "reference": "8a5ba96bbec60bf04e2a70e45d2e953c94c4edc5" + "reference": "787c2fdedde57788013339f05719c82ce07b6058" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/webpack-encore-bundle/zipball/8a5ba96bbec60bf04e2a70e45d2e953c94c4edc5", - "reference": "8a5ba96bbec60bf04e2a70e45d2e953c94c4edc5", + "url": "https://api.github.com/repos/symfony/webpack-encore-bundle/zipball/787c2fdedde57788013339f05719c82ce07b6058", + "reference": "787c2fdedde57788013339f05719c82ce07b6058", "shasum": "" }, "require": { @@ -8758,7 +8671,6 @@ "symfony/service-contracts": "^1.0 || ^2.0" }, "require-dev": { - "fig/link-util": "^1.0", "symfony/framework-bundle": "^3.4 || ^4.0 || ^5.0", "symfony/phpunit-bridge": "^4.3.5 || ^5.0", "symfony/twig-bundle": "^3.4 || ^4.0 || ^5.0", @@ -8787,11 +8699,11 @@ } ], "description": "Integration with your Symfony app & Webpack Encore!", - "time": "2019-11-10T13:02:28+00:00" + "time": "2019-11-26T14:48:41+00:00" }, { "name": "symfony/yaml", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", @@ -8905,16 +8817,16 @@ }, { "name": "twig/twig", - "version": "v2.12.2", + "version": "v2.12.3", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "d761fd1f1c6b867ae09a7d8119a6d95d06dc44ed" + "reference": "97b6311585cae66a26833b14b33785f5797f7d39" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/d761fd1f1c6b867ae09a7d8119a6d95d06dc44ed", - "reference": "d761fd1f1c6b867ae09a7d8119a6d95d06dc44ed", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/97b6311585cae66a26833b14b33785f5797f7d39", + "reference": "97b6311585cae66a26833b14b33785f5797f7d39", "shasum": "" }, "require": { @@ -8924,8 +8836,7 @@ }, "require-dev": { "psr/container": "^1.0", - "symfony/debug": "^3.4|^4.2", - "symfony/phpunit-bridge": "^4.4@dev|^5.0" + "symfony/phpunit-bridge": "^4.4|^5.0" }, "type": "library", "extra": { @@ -8954,7 +8865,6 @@ }, { "name": "Twig Team", - "homepage": "https://twig.symfony.com/contributors", "role": "Contributors" }, { @@ -8968,35 +8878,33 @@ "keywords": [ "templating" ], - "time": "2019-11-11T16:52:09+00:00" + "time": "2019-12-28T07:12:03+00:00" }, { "name": "webmozart/assert", - "version": "1.5.0", + "version": "1.6.0", "source": { "type": "git", "url": "https://github.com/webmozart/assert.git", - "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4" + "reference": "573381c0a64f155a0d9a23f4b0c797194805b925" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/88e6d84706d09a236046d686bbea96f07b3a34f4", - "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4", + "url": "https://api.github.com/repos/webmozart/assert/zipball/573381c0a64f155a0d9a23f4b0c797194805b925", + "reference": "573381c0a64f155a0d9a23f4b0c797194805b925", "shasum": "" }, "require": { "php": "^5.3.3 || ^7.0", "symfony/polyfill-ctype": "^1.8" }, + "conflict": { + "vimeo/psalm": "<3.6.0" + }, "require-dev": { "phpunit/phpunit": "^4.8.36 || ^7.5.13" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, "autoload": { "psr-4": { "Webmozart\\Assert\\": "src/" @@ -9018,20 +8926,20 @@ "check", "validate" ], - "time": "2019-08-24T08:43:50+00:00" + "time": "2019-11-24T13:36:37+00:00" }, { "name": "white-october/pagerfanta-bundle", - "version": "v1.3.1", + "version": "v1.3.2", "source": { "type": "git", "url": "https://github.com/whiteoctober/WhiteOctoberPagerfantaBundle.git", - "reference": "5421d5e79b72495b34b745d37e4d341e6fa2190d" + "reference": "6df560869b5e09a3acf920890ab40598998b30ae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/whiteoctober/WhiteOctoberPagerfantaBundle/zipball/5421d5e79b72495b34b745d37e4d341e6fa2190d", - "reference": "5421d5e79b72495b34b745d37e4d341e6fa2190d", + "url": "https://api.github.com/repos/whiteoctober/WhiteOctoberPagerfantaBundle/zipball/6df560869b5e09a3acf920890ab40598998b30ae", + "reference": "6df560869b5e09a3acf920890ab40598998b30ae", "shasum": "" }, "require": { @@ -9079,7 +8987,7 @@ "page", "paging" ], - "time": "2019-11-21T17:13:04+00:00" + "time": "2019-12-02T14:19:37+00:00" }, { "name": "willdurand/jsonp-callback-validator", @@ -9175,24 +9083,27 @@ }, { "name": "zendframework/zend-code", - "version": "3.4.0", + "version": "3.4.1", "source": { "type": "git", "url": "https://github.com/zendframework/zend-code.git", - "reference": "46feaeecea14161734b56c1ace74f28cb329f194" + "reference": "268040548f92c2bfcba164421c1add2ba43abaaa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zendframework/zend-code/zipball/46feaeecea14161734b56c1ace74f28cb329f194", - "reference": "46feaeecea14161734b56c1ace74f28cb329f194", + "url": "https://api.github.com/repos/zendframework/zend-code/zipball/268040548f92c2bfcba164421c1add2ba43abaaa", + "reference": "268040548f92c2bfcba164421c1add2ba43abaaa", "shasum": "" }, "require": { "php": "^7.1", "zendframework/zend-eventmanager": "^2.6 || ^3.0" }, + "conflict": { + "phpspec/prophecy": "<1.9.0" + }, "require-dev": { - "doctrine/annotations": "^1.0", + "doctrine/annotations": "^1.7", "ext-phar": "*", "phpunit/phpunit": "^7.5.16 || ^8.4", "zendframework/zend-coding-standard": "^1.0", @@ -9206,7 +9117,8 @@ "extra": { "branch-alias": { "dev-master": "3.4.x-dev", - "dev-develop": "3.5.x-dev" + "dev-develop": "3.5.x-dev", + "dev-dev-4.0": "4.0.x-dev" } }, "autoload": { @@ -9224,7 +9136,8 @@ "code", "zf" ], - "time": "2019-10-05T23:18:22+00:00" + "abandoned": "laminas/laminas-code", + "time": "2019-12-10T19:21:15+00:00" }, { "name": "zendframework/zend-escaper", @@ -9269,6 +9182,7 @@ "escaper", "zf" ], + "abandoned": "laminas/laminas-escaper", "time": "2019-09-05T20:03:20+00:00" }, { @@ -9323,6 +9237,7 @@ "events", "zf2" ], + "abandoned": "laminas/laminas-eventmanager", "time": "2018-04-25T15:33:34+00:00" }, { @@ -9497,23 +9412,23 @@ }, { "name": "dama/doctrine-test-bundle", - "version": "v5.0.4", + "version": "v5.0.5", "source": { "type": "git", "url": "https://github.com/dmaicher/doctrine-test-bundle.git", - "reference": "b485fe601ca9d50b4a5a85406d6657378dda494d" + "reference": "a60b0712f4659eab710c49783713b4b43e3c3149" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dmaicher/doctrine-test-bundle/zipball/b485fe601ca9d50b4a5a85406d6657378dda494d", - "reference": "b485fe601ca9d50b4a5a85406d6657378dda494d", + "url": "https://api.github.com/repos/dmaicher/doctrine-test-bundle/zipball/a60b0712f4659eab710c49783713b4b43e3c3149", + "reference": "a60b0712f4659eab710c49783713b4b43e3c3149", "shasum": "" }, "require": { "doctrine/dbal": "^2.9,>=2.9.3", - "doctrine/doctrine-bundle": "~1.4", + "doctrine/doctrine-bundle": "~1.4|~2.0", "php": "^7.1", - "symfony/framework-bundle": "~2.7|~3.0|~4.0" + "symfony/framework-bundle": "~3.4|~4.0" }, "require-dev": { "phpunit/phpunit": "~7.0|~8.0", @@ -9552,7 +9467,7 @@ "symfony 2", "tests" ], - "time": "2019-11-15T09:14:21+00:00" + "time": "2019-11-25T10:12:28+00:00" }, { "name": "doctrine/data-fixtures", @@ -9686,16 +9601,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v2.16.0", + "version": "v2.16.1", "source": { "type": "git", "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "ceaff36bee1ed3f1bbbedca36d2528c0826c336d" + "reference": "c8afb599858876e95e8ebfcd97812d383fa23f02" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/ceaff36bee1ed3f1bbbedca36d2528c0826c336d", - "reference": "ceaff36bee1ed3f1bbbedca36d2528c0826c336d", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/c8afb599858876e95e8ebfcd97812d383fa23f02", + "reference": "c8afb599858876e95e8ebfcd97812d383fa23f02", "shasum": "" }, "require": { @@ -9706,15 +9621,15 @@ "ext-tokenizer": "*", "php": "^5.6 || ^7.0", "php-cs-fixer/diff": "^1.3", - "symfony/console": "^3.4.17 || ^4.1.6", - "symfony/event-dispatcher": "^3.0 || ^4.0", - "symfony/filesystem": "^3.0 || ^4.0", - "symfony/finder": "^3.0 || ^4.0", - "symfony/options-resolver": "^3.0 || ^4.0", + "symfony/console": "^3.4.17 || ^4.1.6 || ^5.0", + "symfony/event-dispatcher": "^3.0 || ^4.0 || ^5.0", + "symfony/filesystem": "^3.0 || ^4.0 || ^5.0", + "symfony/finder": "^3.0 || ^4.0 || ^5.0", + "symfony/options-resolver": "^3.0 || ^4.0 || ^5.0", "symfony/polyfill-php70": "^1.0", "symfony/polyfill-php72": "^1.4", - "symfony/process": "^3.0 || ^4.0", - "symfony/stopwatch": "^3.0 || ^4.0" + "symfony/process": "^3.0 || ^4.0 || ^5.0", + "symfony/stopwatch": "^3.0 || ^4.0 || ^5.0" }, "require-dev": { "johnkary/phpunit-speedtrap": "^1.1 || ^2.0 || ^3.0", @@ -9727,8 +9642,8 @@ "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.1", "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.1", "phpunitgoodpractices/traits": "^1.8", - "symfony/phpunit-bridge": "^4.3", - "symfony/yaml": "^3.0 || ^4.0" + "symfony/phpunit-bridge": "^4.3 || ^5.0", + "symfony/yaml": "^3.0 || ^4.0 || ^5.0" }, "suggest": { "ext-mbstring": "For handling non-UTF8 characters in cache signature.", @@ -9771,20 +9686,20 @@ } ], "description": "A tool to automatically fix PHP code style", - "time": "2019-11-03T13:31:09+00:00" + "time": "2019-11-25T22:10:32+00:00" }, { "name": "fzaninotto/faker", - "version": "v1.9.0", + "version": "v1.9.1", "source": { "type": "git", "url": "https://github.com/fzaninotto/Faker.git", - "reference": "27a216cbe72327b2d6369fab721a5843be71e57d" + "reference": "fc10d778e4b84d5bd315dad194661e091d307c6f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/27a216cbe72327b2d6369fab721a5843be71e57d", - "reference": "27a216cbe72327b2d6369fab721a5843be71e57d", + "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/fc10d778e4b84d5bd315dad194661e091d307c6f", + "reference": "fc10d778e4b84d5bd315dad194661e091d307c6f", "shasum": "" }, "require": { @@ -9797,7 +9712,9 @@ }, "type": "library", "extra": { - "branch-alias": [] + "branch-alias": { + "dev-master": "1.9-dev" + } }, "autoload": { "psr-4": { @@ -9819,7 +9736,7 @@ "faker", "fixtures" ], - "time": "2019-11-14T13:13:06+00:00" + "time": "2019-12-12T13:22:17+00:00" }, { "name": "jean85/pretty-package-versions", @@ -9950,22 +9867,22 @@ }, { "name": "nette/di", - "version": "v3.0.1", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/nette/di.git", - "reference": "4aff517a1c6bb5c36fa09733d4cea089f529de6d" + "reference": "7ae47daa94b8dafbd0e8b6164e22e2d18d3e73ac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/di/zipball/4aff517a1c6bb5c36fa09733d4cea089f529de6d", - "reference": "4aff517a1c6bb5c36fa09733d4cea089f529de6d", + "url": "https://api.github.com/repos/nette/di/zipball/7ae47daa94b8dafbd0e8b6164e22e2d18d3e73ac", + "reference": "7ae47daa94b8dafbd0e8b6164e22e2d18d3e73ac", "shasum": "" }, "require": { "ext-tokenizer": "*", "nette/neon": "^3.0", - "nette/php-generator": "^3.2.2", + "nette/php-generator": "^3.3", "nette/robot-loader": "^3.2", "nette/schema": "^1.0", "nette/utils": "^3.0", @@ -9976,6 +9893,7 @@ }, "require-dev": { "nette/tester": "^2.2", + "phpstan/phpstan": "^0.12", "tracy/tracy": "^2.3" }, "type": "library", @@ -10019,7 +9937,7 @@ "nette", "static" ], - "time": "2019-08-07T12:11:33+00:00" + "time": "2019-12-17T04:03:21+00:00" }, { "name": "nette/finder", @@ -10085,31 +10003,32 @@ }, { "name": "nette/neon", - "version": "v3.0.0", + "version": "v3.1.0", "source": { "type": "git", "url": "https://github.com/nette/neon.git", - "reference": "cbff32059cbdd8720deccf9e9eace6ee516f02eb" + "reference": "0a18fc88801a14d66587932de133eeca01f7ce8e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/neon/zipball/cbff32059cbdd8720deccf9e9eace6ee516f02eb", - "reference": "cbff32059cbdd8720deccf9e9eace6ee516f02eb", + "url": "https://api.github.com/repos/nette/neon/zipball/0a18fc88801a14d66587932de133eeca01f7ce8e", + "reference": "0a18fc88801a14d66587932de133eeca01f7ce8e", "shasum": "" }, "require": { "ext-iconv": "*", "ext-json": "*", - "php": ">=7.0" + "php": ">=7.1" }, "require-dev": { "nette/tester": "^2.0", + "phpstan/phpstan": "^0.12", "tracy/tracy": "^2.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -10133,7 +10052,7 @@ "homepage": "https://nette.org/contributors" } ], - "description": "? Nette NEON: encodes and decodes NEON file format.", + "description": "🍸 Nette NEON: encodes and decodes NEON file format.", "homepage": "http://ne-on.org", "keywords": [ "export", @@ -10142,7 +10061,7 @@ "nette", "yaml" ], - "time": "2019-02-05T21:30:40+00:00" + "time": "2019-12-27T04:00:04+00:00" }, { "name": "nette/php-generator", @@ -10205,26 +10124,27 @@ }, { "name": "nette/robot-loader", - "version": "v3.2.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/nette/robot-loader.git", - "reference": "0712a0e39ae7956d6a94c0ab6ad41aa842544b5c" + "reference": "d2a100e1f5cab390c78bc88709abbc91249c3993" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/robot-loader/zipball/0712a0e39ae7956d6a94c0ab6ad41aa842544b5c", - "reference": "0712a0e39ae7956d6a94c0ab6ad41aa842544b5c", + "url": "https://api.github.com/repos/nette/robot-loader/zipball/d2a100e1f5cab390c78bc88709abbc91249c3993", + "reference": "d2a100e1f5cab390c78bc88709abbc91249c3993", "shasum": "" }, "require": { "ext-tokenizer": "*", - "nette/finder": "^2.5", + "nette/finder": "^2.5 || ^3.0", "nette/utils": "^3.0", "php": ">=7.1" }, "require-dev": { "nette/tester": "^2.0", + "phpstan/phpstan": "^0.12", "tracy/tracy": "^2.3" }, "type": "library", @@ -10254,7 +10174,7 @@ "homepage": "https://nette.org/contributors" } ], - "description": "? Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.", + "description": "🍀 Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.", "homepage": "https://nette.org", "keywords": [ "autoload", @@ -10263,7 +10183,7 @@ "nette", "trait" ], - "time": "2019-03-08T21:57:24+00:00" + "time": "2019-12-26T22:32:02+00:00" }, { "name": "nette/schema", @@ -10324,16 +10244,16 @@ }, { "name": "nette/utils", - "version": "v3.0.2", + "version": "v3.0.3", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "c133e18c922dcf3ad07673077d92d92cef25a148" + "reference": "f1b5ce0fae07f13e066e64f9a8f59e53b8f4982e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/c133e18c922dcf3ad07673077d92d92cef25a148", - "reference": "c133e18c922dcf3ad07673077d92d92cef25a148", + "url": "https://api.github.com/repos/nette/utils/zipball/f1b5ce0fae07f13e066e64f9a8f59e53b8f4982e", + "reference": "f1b5ce0fae07f13e066e64f9a8f59e53b8f4982e", "shasum": "" }, "require": { @@ -10341,6 +10261,7 @@ }, "require-dev": { "nette/tester": "~2.0", + "phpstan/phpstan": "^0.12", "tracy/tracy": "^2.3" }, "suggest": { @@ -10397,7 +10318,7 @@ "utility", "validation" ], - "time": "2019-10-21T20:40:16+00:00" + "time": "2019-12-27T03:47:50+00:00" }, { "name": "nikic/php-parser", @@ -10606,33 +10527,33 @@ }, { "name": "phpspec/prophecy", - "version": "1.9.0", + "version": "1.10.1", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "f6811d96d97bdf400077a0cc100ae56aa32b9203" + "reference": "cbe1df668b3fe136bcc909126a0f529a78d4cbbc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/f6811d96d97bdf400077a0cc100ae56aa32b9203", - "reference": "f6811d96d97bdf400077a0cc100ae56aa32b9203", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/cbe1df668b3fe136bcc909126a0f529a78d4cbbc", + "reference": "cbe1df668b3fe136bcc909126a0f529a78d4cbbc", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.3|^7.0", "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0", - "sebastian/comparator": "^1.1|^2.0|^3.0", + "sebastian/comparator": "^1.2.3|^2.0|^3.0", "sebastian/recursion-context": "^1.0|^2.0|^3.0" }, "require-dev": { - "phpspec/phpspec": "^2.5|^3.2", + "phpspec/phpspec": "^2.5 || ^3.2", "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.8.x-dev" + "dev-master": "1.10.x-dev" } }, "autoload": { @@ -10665,7 +10586,7 @@ "spy", "stub" ], - "time": "2019-10-03T11:07:50+00:00" + "time": "2019-12-22T21:05:45+00:00" }, { "name": "phpstan/phpdoc-parser", @@ -11233,16 +11154,16 @@ }, { "name": "phpunit/phpunit", - "version": "8.4.3", + "version": "8.5.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "67f9e35bffc0dd52d55d565ddbe4230454fd6a4e" + "reference": "7870c78da3c5e4883eaef36ae47853ebb3cb86f2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/67f9e35bffc0dd52d55d565ddbe4230454fd6a4e", - "reference": "67f9e35bffc0dd52d55d565ddbe4230454fd6a4e", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/7870c78da3c5e4883eaef36ae47853ebb3cb86f2", + "reference": "7870c78da3c5e4883eaef36ae47853ebb3cb86f2", "shasum": "" }, "require": { @@ -11286,7 +11207,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "8.4-dev" + "dev-master": "8.5-dev" } }, "autoload": { @@ -11312,7 +11233,7 @@ "testing", "xunit" ], - "time": "2019-11-06T09:42:23+00:00" + "time": "2019-12-25T14:49:39+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -11931,7 +11852,7 @@ }, { "name": "symfony/browser-kit", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/browser-kit.git", @@ -11990,7 +11911,7 @@ }, { "name": "symfony/css-selector", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", @@ -12043,7 +11964,7 @@ }, { "name": "symfony/dom-crawler", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/dom-crawler.git", @@ -12172,16 +12093,16 @@ }, { "name": "symfony/phpunit-bridge", - "version": "v4.4.0", + "version": "v4.4.2", "source": { "type": "git", "url": "https://github.com/symfony/phpunit-bridge.git", - "reference": "7daa9d4a2f457f9cae32f1c2406de1921dc86a79" + "reference": "724497102bfdb2ffcde576c5d3ef872040cb3632" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/7daa9d4a2f457f9cae32f1c2406de1921dc86a79", - "reference": "7daa9d4a2f457f9cae32f1c2406de1921dc86a79", + "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/724497102bfdb2ffcde576c5d3ef872040cb3632", + "reference": "724497102bfdb2ffcde576c5d3ef872040cb3632", "shasum": "" }, "require": { @@ -12233,20 +12154,20 @@ ], "description": "Symfony PHPUnit Bridge", "homepage": "https://symfony.com", - "time": "2019-11-08T15:59:14+00:00" + "time": "2019-11-28T13:33:56+00:00" }, { "name": "symfony/process", - "version": "v4.3.8", + "version": "v4.3.9", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "3b2e0cb029afbb0395034509291f21191d1a4db0" + "reference": "207dab1f17d34ad71ea72e9741ab8049a9d8251b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/3b2e0cb029afbb0395034509291f21191d1a4db0", - "reference": "3b2e0cb029afbb0395034509291f21191d1a4db0", + "url": "https://api.github.com/repos/symfony/process/zipball/207dab1f17d34ad71ea72e9741ab8049a9d8251b", + "reference": "207dab1f17d34ad71ea72e9741ab8049a9d8251b", "shasum": "" }, "require": { @@ -12282,109 +12203,7 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2019-10-28T17:07:32+00:00" - }, - { - "name": "symfony/thanks", - "version": "v1.1.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/thanks.git", - "reference": "9474a631b52737c623b6aeba22f00bbc003251da" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/thanks/zipball/9474a631b52737c623b6aeba22f00bbc003251da", - "reference": "9474a631b52737c623b6aeba22f00bbc003251da", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0", - "php": "^5.5.9|^7.0.0" - }, - "type": "composer-plugin", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - }, - "class": "Symfony\\Thanks\\Thanks" - }, - "autoload": { - "psr-4": { - "Symfony\\Thanks\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - } - ], - "description": "Give thanks (in the form of a GitHub ⭐) to your fellow PHP package maintainers (not limited to Symfony components)!", - "time": "2018-08-24T14:08:13+00:00" - }, - { - "name": "symfony/web-server-bundle", - "version": "v4.3.8", - "source": { - "type": "git", - "url": "https://github.com/symfony/web-server-bundle.git", - "reference": "dc26b980900ddf3e9feade14e5b21c029e8ca92f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/web-server-bundle/zipball/dc26b980900ddf3e9feade14e5b21c029e8ca92f", - "reference": "dc26b980900ddf3e9feade14e5b21c029e8ca92f", - "shasum": "" - }, - "require": { - "php": "^7.1.3", - "symfony/config": "~3.4|~4.0", - "symfony/console": "~3.4|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/http-kernel": "~3.4|~4.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/process": "^3.4.2|^4.0.2" - }, - "suggest": { - "symfony/expression-language": "For using the filter option of the log server.", - "symfony/monolog-bridge": "For using the log server." - }, - "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-master": "4.3-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Bundle\\WebServerBundle\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony WebServerBundle", - "homepage": "https://symfony.com", - "time": "2019-08-20T14:27:59+00:00" + "time": "2019-11-28T10:05:26+00:00" }, { "name": "theseer/tokenizer", diff --git a/config/bundles.php b/config/bundles.php index 4a780644..2c277c88 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -2,8 +2,6 @@ return [ Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true], - Symfony\Bundle\WebServerBundle\WebServerBundle::class => ['dev' => true], - Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle::class => ['all' => true], Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true], Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true], Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true], diff --git a/config/serializer/App/Entity.Activity.yml b/config/serializer/App/Entity.Activity.yml index 3e688996..5d257e56 100644 --- a/config/serializer/App/Entity.Activity.yml +++ b/config/serializer/App/Entity.Activity.yml @@ -1,6 +1,6 @@ App\Entity\Activity: exclusion_policy: All - custom_accessor_order: [id, name, comment, visible, project, fixedRate, hourlyRate, color, budget, timeBudget, metaFields] + custom_accessor_order: [id, name, comment, visible, project, fixedRate, hourlyRate, color, budget, timeBudget, metaFields, parentTitle] properties: id: include: true diff --git a/config/serializer/App/Entity.Project.yml b/config/serializer/App/Entity.Project.yml index bad4b1f5..a4b55e5b 100644 --- a/config/serializer/App/Entity.Project.yml +++ b/config/serializer/App/Entity.Project.yml @@ -1,6 +1,6 @@ App\Entity\Project: exclusion_policy: All - custom_accessor_order: [id, name, comment, visible, orderNumber, orderDate, customer, fixedRate, hourlyRate, color, budget, timeBudget, metaFields] + custom_accessor_order: [id, name, comment, visible, orderNumber, orderDate, customer, start, end, fixedRate, hourlyRate, color, budget, timeBudget, metaFields, parentTitle] properties: id: include: true @@ -23,6 +23,12 @@ App\Entity\Project: orderDate: include: true groups: [Entity] + start: + include: true + groups: [Project] + end: + include: true + groups: [Project] fixedRate: include: true groups: [Project] diff --git a/package.json b/package.json index a5895e93..57d7e22e 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "sass-loader": "^7.0.2", "select2": "^4.0.10", "select2-bootstrap-theme": "^0.1.0-beta.10", + "sortablejs": "^1.10.1", "sweetalert2": "^9.3", "webpack-notifier": "^1.5.1" } diff --git a/public/build/app.055e71d1.js b/public/build/app.055e71d1.js new file mode 100644 index 00000000..1f28c16d --- /dev/null +++ b/public/build/app.055e71d1.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"+2oP":function(t,e,n){"use strict";var i=n("I+eb"),o=n("hh1v"),r=n("6LWA"),a=n("I8vh"),s=n("UMSQ"),l=n("/GqU"),c=n("hBjN"),u=n("Hd5f"),d=n("tiKp")("species"),h=[].slice,f=Math.max;i({target:"Array",proto:!0,forced:!u("slice")},{slice:function(t,e){var n,i,u,p=l(this),m=s(p.length),g=a(t,m),v=a(void 0===e?m:e,m);if(r(p)&&("function"!=typeof(n=p.constructor)||n!==Array&&!r(n.prototype)?o(n)&&null===(n=n[d])&&(n=void 0):n=void 0,n===Array||void 0===n))return h.call(p,g,v);for(i=new(void 0===n?Array:n)(f(v-g,0)),u=0;g0?r()("#multi_update_form").show():r()("#multi_update_form").hide()}}])&&s(i.prototype,o),a&&s(i,a),n}(i.a)}).call(this,n("EVdn"))},"+s0g":function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],o=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"/GqU":function(t,e,n){var i=n("RK3t"),o=n("HYAF");t.exports=function(t){return i(o(t))}},"/b8u":function(t,e,n){var i=n("STAE");t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol()},"/byt":function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"07d7":function(t,e,n){var i=n("AO7/"),o=n("busE"),r=n("sEFX");i||o(Object.prototype,"toString",r,{unsafe:!0})},"0BK2":function(t,e){t.exports={}},"0BQa":function(t,e,n){(function(t){!function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;e.define("select2/i18n/it",[],(function(){return{errorLoading:function(){return"I risultati non possono essere caricati."},inputTooLong:function(t){var e=t.input.length-t.maximum;return"Per favore cancella "+e+" caratter"+(1!==e?"i":"e")},inputTooShort:function(t){return"Per favore inserisci "+(t.minimum-t.input.length)+" o più caratteri"},loadingMore:function(){return"Caricando più risultati…"},maximumSelected:function(t){var e="Puoi selezionare solo "+t.maximum+" element";return 1!==t.maximum?e+="i":e+="o",e},noResults:function(){return"Nessun risultato trovato"},searching:function(){return"Sto cercando…"},removeAllItems:function(){return"Rimuovi tutti gli oggetti"}}})),e.define,e.require}()}).call(this,n("EVdn"))},"0Dky":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"0GbY":function(t,e,n){var i=n("Qo9l"),o=n("2oRo"),r=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?r(i[t])||r(o[t]):i[t]&&i[t][e]||o[t]&&o[t][e]}},"0eef":function(t,e,n){"use strict";var i={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!i.call({1:2},1);e.f=r?function(t){var e=o(this,t);return!!e&&e.enumerable}:i},"0oug":function(t,e,n){n("dG/n")("iterator")},"0rvr":function(t,e,n){var i=n("glrk"),o=n("O741");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return i(n),o(r),e?t.call(n,r):n.__proto__=r,n}}():void 0)},"0tRk":function(t,e,n){!function(t){"use strict";t.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(n("wd/R"))},"14Sl":function(t,e,n){"use strict";var i=n("kRJp"),o=n("busE"),r=n("0Dky"),a=n("tiKp"),s=n("kmMV"),l=a("species"),c=!r((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),u=!r((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,d){var h=a(t),f=!r((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),p=f&&!r((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e}));if(!f||!p||"replace"===t&&!c||"split"===t&&!u){var m=/./[h],g=n(h,""[t],(function(t,e,n,i,o){return e.exec===s?f&&!o?{done:!0,value:m.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}})),v=g[0],y=g[1];o(String.prototype,t,v),o(RegExp.prototype,h,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)}),d&&i(RegExp.prototype[h],"sham",!0)}}},"1E5z":function(t,e,n){var i=n("m/L8").f,o=n("UTVS"),r=n("tiKp")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,r)&&i(t,r,{configurable:!0,value:e})}},"1Wo5":function(t,e,n){(function(t){var e=n("EVdn");t.$=t.jQuery=e,n("VSY+"),n("Onkx"),n("DjPg"),n("kyKd"),n("vbVy"),n("Dxs7"),n("Auod"),n("qQBl"),n("PWE2"),n("e0G9"),n("0BQa"),n("dp/T"),n("VdOU"),n("DHBJ"),n("fv4y"),n("CTrX"),n("AYug"),n("pRY5"),n("Bozk"),n("Ft9+");var i=n("wd/R");t.moment=i,n("jnO4"),n("PA2r"),n("DxQv"),n("tGlX"),n("u3GI"),n("iYuL"),n("nyYc"),n("WxRl"),n("bpih"),n("B55N"),n("Ivi+"),n("+s0g"),n("0tRk"),n("lXzo"),n("e+ae"),n("X709"),n("DoHr"),n("XDpg"),n("eHjp");var o=n("ddRL");t.Sortable=o,n("MPPO"),n("Qiut"),n("vh7O"),n("WySY"),t.$.AdminLTE={},t.$.AdminLTE.options={},n("qG+3"),n("NlKh"),n("zcCC"),t.KimaiPaginatedBoxWidget=n("ckYw").default,n("9/yf")}).call(this,n("yLpj"))},"27RR":function(t,e,n){var i=n("I+eb"),o=n("g6v/"),r=n("Vu81"),a=n("/GqU"),s=n("Bs8V"),l=n("hBjN");i({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,n,i=a(t),o=s.f,c=r(i),u={},d=0;c.length>d;)void 0!==(n=o(i,e=c[d++]))&&l(u,e,n);return u}})},"2B1R":function(t,e,n){"use strict";var i=n("I+eb"),o=n("tycR").map;i({target:"Array",proto:!0,forced:!n("Hd5f")("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"2oRo":function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,n("yLpj"))},"33Wh":function(t,e,n){var i=n("yoRg"),o=n("eDl+");t.exports=Object.keys||function(t){return i(t,o)}},"3UD+":function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},"3bBZ":function(t,e,n){var i=n("2oRo"),o=n("/byt"),r=n("4mDm"),a=n("kRJp"),s=n("tiKp"),l=s("iterator"),c=s("toStringTag"),u=r.values;for(var d in o){var h=i[d],f=h&&h.prototype;if(f){if(f[l]!==u)try{a(f,l,u)}catch(t){f[l]=u}if(f[c]||a(f,c,d),o[d])for(var p in r)if(f[p]!==r[p])try{a(f,p,r[p])}catch(t){f[p]=r[p]}}}},"4Brf":function(t,e,n){"use strict";var i=n("I+eb"),o=n("g6v/"),r=n("2oRo"),a=n("UTVS"),s=n("hh1v"),l=n("m/L8").f,c=n("6JNq"),u=r.Symbol;if(o&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof h?new u(t):void 0===t?u():u(t);return""===t&&(d[e]=!0),e};c(h,u);var f=h.prototype=u.prototype;f.constructor=h;var p=f.toString,m="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;l(f,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=p.call(t);if(a(d,t))return"";var n=m?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:h})}},"4HCi":function(t,e,n){var i=n("0Dky"),o=n("WJkJ");t.exports=function(t){return i((function(){return!!o[t]()||"​…᠎"!="​…᠎"[t]()||o[t].name!==t}))}},"4WOD":function(t,e,n){var i=n("UTVS"),o=n("ewvW"),r=n("93I0"),a=n("4Xet"),s=r("IE_PROTO"),l=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),i(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},"4Xet":function(t,e,n){var i=n("0Dky");t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},"4l63":function(t,e,n){var i=n("I+eb"),o=n("5YOQ");i({global:!0,forced:parseInt!=o},{parseInt:o})},"4mDm":function(t,e,n){"use strict";var i=n("/GqU"),o=n("RNIs"),r=n("P4y1"),a=n("afO8"),s=n("fdAy"),l=a.set,c=a.getterFor("Array Iterator");t.exports=s(Array,"Array",(function(t,e){l(this,{type:"Array Iterator",target:i(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values"),r.Arguments=r.Array,o("keys"),o("values"),o("entries")},"5+3N":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return p}));n("pNMO"),n("4Brf"),n("0oug"),n("TeQF"),n("fbCW"),n("QWBl"),n("yXV3"),n("J30X"),n("4mDm"),n("oVuX"),n("pDQq"),n("DQNa"),n("sMBO"),n("uL8W"),n("HRxU"),n("eoL8"),n("T63A"),n("5DmW"),n("27RR"),n("NBAS"),n("tkto"),n("ExoC"),n("07d7"),n("rB9j"),n("JfAA"),n("PKPk"),n("UxlC"),n("EnZy"),n("SYor"),n("FZtP"),n("3bBZ"),n("R5XZ");var i=n("dQ1+"),o=n("EVdn"),r=n.n(o);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)))return;var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){o=!0,r=t}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t,e){for(var n=0;n0,o=e.term.toUpperCase().split(" "),a=n.text.toUpperCase(),s=!0,l=!1,c=[];if(o.forEach((function(t,e){a.indexOf(t)>-1?l=!0:(s=!1,c.push(t))})),s)return n;if(i){var u=r.a.extend(!0,{},e);u.term=l?c.join(" "):e.term;for(var d=r.a.extend(!0,{},n),h=n.children.length-1;h>=0;h--)null===t(u,n.children[h])&&d.children.splice(h,1);if(d.children.length>0)return d}return null}}),r()(e+" "+i).select2(o),r()("body").on("reset","form",(function(t){setTimeout((function(){r()(t.target).find(i).trigger("change")}),10)}))}},{key:"destroySelectPicker",value:function(t){r()(t+" "+this.selector).select2("destroy")}},{key:"updateOptions",value:function(t,e){var n=r()(t),i=r()(t+' option[value=""]'),o=n.val();n.find("option").remove().end().find("optgroup").remove().end(),0!==i.length&&n.append('");for(var a="",l="",c=0,u=Object.entries(e);c';var p=!0,m=!1,g=void 0;try{for(var v,y=f[Symbol.iterator]();!(p=(v=y.next()).done);p=!0){var b=v.value;a+='"}}catch(t){m=!0,g=t}finally{try{p||null==y.return||y.return()}finally{if(m)throw g}}a+=""}else{var w=!0,_=!1,k=void 0;try{for(var x,D=f[Symbol.iterator]();!(w=(x=D.next()).done);w=!0){var S=x.value;l+='"}}catch(t){_=!0,k=t}finally{try{w||null==D.return||D.return()}finally{if(_)throw k}}}}n.append(a),n.append(l),n.val(o),n.trigger("change"),n.hasClass("selectpicker")&&n.trigger("change.select2")}}])&&u(i.prototype,o),a&&u(i,a),n}(i.a)}).call(this,n("EVdn"))},"5DmW":function(t,e,n){var i=n("I+eb"),o=n("0Dky"),r=n("/GqU"),a=n("Bs8V").f,s=n("g6v/"),l=o((function(){a(1)}));i({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(r(t),e)}})},"5YOQ":function(t,e,n){var i=n("2oRo"),o=n("WKiH").trim,r=n("WJkJ"),a=i.parseInt,s=/^[+-]?0[Xx]/,l=8!==a(r+"08")||22!==a(r+"0x16");t.exports=l?function(t,e){var n=o(String(t));return a(n,e>>>0||(s.test(n)?16:10))}:a},"6JNq":function(t,e,n){var i=n("UTVS"),o=n("Vu81"),r=n("Bs8V"),a=n("m/L8");t.exports=function(t,e){for(var n=o(e),s=a.f,l=r.f,c=0;c",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var e,n,i,o=this.element[0].nodeName.toLowerCase(),r="textarea"===o,a="input"===o;this.isMultiLine=r||!a&&this._isContentEditable(this.element),this.valueMethod=this.element[r||a?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(o){if(this.element.prop("readOnly"))return e=!0,i=!0,void(n=!0);e=!1,i=!1,n=!1;var r=t.ui.keyCode;switch(o.keyCode){case r.PAGE_UP:e=!0,this._move("previousPage",o);break;case r.PAGE_DOWN:e=!0,this._move("nextPage",o);break;case r.UP:e=!0,this._keyEvent("previous",o);break;case r.DOWN:e=!0,this._keyEvent("next",o);break;case r.ENTER:this.menu.active&&(e=!0,o.preventDefault(),this.menu.select(o));break;case r.TAB:this.menu.active&&this.menu.select(o);break;case r.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(o),o.preventDefault());break;default:n=!0,this._searchTimeout(o)}},keypress:function(i){if(e)return e=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||i.preventDefault());if(!n){var o=t.ui.keyCode;switch(i.keyCode){case o.PAGE_UP:this._move("previousPage",i);break;case o.PAGE_DOWN:this._move("nextPage",i);break;case o.UP:this._keyEvent("previous",i);break;case o.DOWN:this._keyEvent("next",i)}}},input:function(t){if(i)return i=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),this._change(t))}}),this._initSource(),this.menu=t("
    ").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay((function(){delete this.cancelBlur,this.element[0]!==t.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")}))},menufocus:function(e,n){var i,o;if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",(function(){t(e.target).trigger(e.originalEvent)}));o=n.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:o})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(o.value),(i=n.item.attr("aria-label")||o.value)&&t.trim(i).length&&(this.liveRegion.children().hide(),t("
    ").text(i).appendTo(this.liveRegion))},menuselect:function(e,n){var i=n.item.data("ui-autocomplete-item"),o=this.previous;this.element[0]!==t.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=o,this._delay((function(){this.previous=o,this.selectedItem=i}))),!1!==this._trigger("select",e,{item:i})&&this._value(i.value),this.term=this._value(),this.close(e),this.selectedItem=i}}),this.liveRegion=t("
    ",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var n=this.menu.element[0];return e.target===this.element[0]||e.target===n||t.contains(n,e.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,n,i=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(n,i){i(t.ui.autocomplete.filter(e,n.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(e,o){i.xhr&&i.xhr.abort(),i.xhr=t.ajax({url:n,data:e,dataType:"json",success:function(t){o(t)},error:function(){o([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay((function(){var e=this.term===this._value(),n=this.menu.element.is(":visible"),i=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;e&&(!e||n||i)||(this.selectedItem=null,this.search(null,t))}),this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length").append(t("
    ").text(n.label)).appendTo(e)},_move:function(t,e){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e);this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,n){var i=new RegExp(t.ui.autocomplete.escapeRegex(n),"i");return t.grep(e,(function(t){return i.test(t.label||t.value||t)}))}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var n;this._superApply(arguments),this.options.disabled||this.cancelSearch||(n=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),t("
    ").text(n).appendTo(this.liveRegion))}}),t.ui.autocomplete})?i.apply(e,o):i)||(t.exports=r)},"93I0":function(t,e,n){var i=n("VpIT"),o=n("kOOl"),r=i("keys");t.exports=function(t){return r[t]||(r[t]=o(t))}},"9d/t":function(t,e,n){var i=n("AO7/"),o=n("xrYK"),r=n("tiKp")("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=i?o:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),r))?n:a?o(e):"Object"==(i=o(e))&&"function"==typeof e.callee?"Arguments":i}},"AO7/":function(t,e,n){var i={};i[n("tiKp")("toStringTag")]="z",t.exports="[object z]"===String(i)},AYug:function(t,e,n){(function(t){!function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;e.define("select2/i18n/sk",[],(function(){var t={2:function(t){return t?"dva":"dve"},3:function(){return"tri"},4:function(){return"štyri"}};return{errorLoading:function(){return"Výsledky sa nepodarilo načítať."},inputTooLong:function(e){var n=e.input.length-e.maximum;return 1==n?"Prosím, zadajte o jeden znak menej":n>=2&&n<=4?"Prosím, zadajte o "+t[n](!0)+" znaky menej":"Prosím, zadajte o "+n+" znakov menej"},inputTooShort:function(e){var n=e.minimum-e.input.length;return 1==n?"Prosím, zadajte ešte jeden znak":n<=4?"Prosím, zadajte ešte ďalšie "+t[n](!0)+" znaky":"Prosím, zadajte ešte ďalších "+n+" znakov"},loadingMore:function(){return"Načítanie ďalších výsledkov…"},maximumSelected:function(e){return 1==e.maximum?"Môžete zvoliť len jednu položku":e.maximum>=2&&e.maximum<=4?"Môžete zvoliť najviac "+t[e.maximum](!1)+" položky":"Môžete zvoliť najviac "+e.maximum+" položiek"},noResults:function(){return"Nenašli sa žiadne položky"},searching:function(){return"Vyhľadávanie…"},removeAllItems:function(){return"Odstráňte všetky položky"}}})),e.define,e.require}()}).call(this,n("EVdn"))},Auod:function(t,e,n){(function(t){!function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;e.define("select2/i18n/de",[],(function(){return{errorLoading:function(){return"Die Ergebnisse konnten nicht geladen werden."},inputTooLong:function(t){return"Bitte "+(t.input.length-t.maximum)+" Zeichen weniger eingeben"},inputTooShort:function(t){return"Bitte "+(t.minimum-t.input.length)+" Zeichen mehr eingeben"},loadingMore:function(){return"Lade mehr Ergebnisse…"},maximumSelected:function(t){var e="Sie können nur "+t.maximum+" Element";return 1!=t.maximum&&(e+="e"),e+" auswählen"},noResults:function(){return"Keine Übereinstimmungen gefunden"},searching:function(){return"Suche…"},removeAllItems:function(){return"Entferne alle Elemente"}}})),e.define,e.require}()}).call(this,n("EVdn"))},B55N:function(t,e,n){!function(t){"use strict";t.defineLocale("ja",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()0&&t%100<5||t%100>20?t%10>1?n:e:i}return{errorLoading:function(){return"Невозможно загрузить результаты"},inputTooLong:function(e){var n=e.input.length-e.maximum,i="Пожалуйста, введите на "+n+" символ";return(i+=t(n,"","a","ов"))+" меньше"},inputTooShort:function(e){var n=e.minimum-e.input.length;return"Пожалуйста, введите ещё хотя бы "+n+" символ"+t(n,"","a","ов")},loadingMore:function(){return"Загрузка данных…"},maximumSelected:function(e){return"Вы можете выбрать не более "+e.maximum+" элемент"+t(e.maximum,"","a","ов")},noResults:function(){return"Совпадений не найдено"},searching:function(){return"Поиск…"},removeAllItems:function(){return"Удалить все элементы"}}})),e.define,e.require}()}).call(this,n("EVdn"))},DHBJ:function(t,e,n){(function(t){!function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;e.define("select2/i18n/nl",[],(function(){return{errorLoading:function(){return"De resultaten konden niet worden geladen."},inputTooLong:function(t){return"Gelieve "+(t.input.length-t.maximum)+" karakters te verwijderen"},inputTooShort:function(t){return"Gelieve "+(t.minimum-t.input.length)+" of meer karakters in te voeren"},loadingMore:function(){return"Meer resultaten laden…"},maximumSelected:function(t){var e="Er "+(1==t.maximum?"kan":"kunnen")+" maar "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e+" worden geselecteerd"},noResults:function(){return"Geen resultaten gevonden…"},searching:function(){return"Zoeken…"},removeAllItems:function(){return"Verwijder alle items"}}})),e.define,e.require}()}).call(this,n("EVdn"))},DPsx:function(t,e,n){var i=n("g6v/"),o=n("0Dky"),r=n("zBJ4");t.exports=!i&&!o((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},DQNa:function(t,e,n){var i=n("busE"),o=Date.prototype,r=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&i(o,"toString",(function(){var t=a.call(this);return t==t?r.call(this):"Invalid Date"}))},DjPg:function(t,e,n){(function(i){var o,r,a;r=[n("EVdn")],void 0===(a="function"==typeof(o=function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;return function(){var t,n,i;e&&e.requirejs||(e?n=e:e={},function(e){var o,r,a,s,l={},c={},u={},d={},h=Object.prototype.hasOwnProperty,f=[].slice,p=/\.js$/;function m(t,e){return h.call(t,e)}function g(t,e){var n,i,o,r,a,s,l,c,d,h,f,m=e&&e.split("/"),g=u.map,v=g&&g["*"]||{};if(t){for(a=(t=t.split("/")).length-1,u.nodeIdCompat&&p.test(t[a])&&(t[a]=t[a].replace(p,"")),"."===t[0].charAt(0)&&m&&(t=m.slice(0,m.length-1).concat(t)),d=0;d0&&(t.splice(d-1,2),d-=2)}t=t.join("/")}if((m||v)&&g){for(d=(n=t.split("/")).length;d>0;d-=1){if(i=n.slice(0,d).join("/"),m)for(h=m.length;h>0;h-=1)if((o=g[m.slice(0,h).join("/")])&&(o=o[i])){r=o,s=d;break}if(r)break;!l&&v&&v[i]&&(l=v[i],c=d)}!r&&l&&(r=l,s=c),r&&(n.splice(0,s,r),t=n.join("/"))}return t}function v(t,n){return function(){var i=f.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),r.apply(e,i.concat([t,n]))}}function y(t){return function(e){l[t]=e}}function b(t){if(m(c,t)){var n=c[t];delete c[t],d[t]=!0,o.apply(e,n)}if(!m(l,t)&&!m(d,t))throw new Error("No "+t);return l[t]}function w(t){var e,n=t?t.indexOf("!"):-1;return n>-1&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}function _(t){return t?w(t):[]}function k(t){return function(){return u&&u.config&&u.config[t]||{}}}a=function(t,e){var n,i,o=w(t),r=o[0],a=e[1];return t=o[1],r&&(n=b(r=g(r,a))),r?t=n&&n.normalize?n.normalize(t,(i=a,function(t){return g(t,i)})):g(t,a):(r=(o=w(t=g(t,a)))[0],t=o[1],r&&(n=b(r))),{f:r?r+"!"+t:t,n:t,pr:r,p:n}},s={require:function(t){return v(t)},exports:function(t){var e=l[t];return void 0!==e?e:l[t]={}},module:function(t){return{id:t,uri:"",exports:l[t],config:k(t)}}},o=function(t,n,i,o){var r,u,h,f,p,g,w,k=[],x=typeof i;if(g=_(o=o||t),"undefined"===x||"function"===x){for(n=!n.length&&i.length?["require","exports","module"]:n,p=0;p0&&(n.call(arguments,t.prototype.constructor),o=e.prototype.constructor),o.apply(this,arguments)}e.displayName=t.displayName,r.prototype=new function(){this.constructor=r};for(var a=0;a":">",'"':""","'":"'","/":"/"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,(function(t){return e[t]}))},e.appendMany=function(e,n){if("1.7"===t.fn.jquery.substr(0,3)){var i=t();t.map(n,(function(t){i=i.add(t)})),n=i}e.append(n)},e.__cache={};var o=0;return e.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setAttribute("data-select2-id",e)):(t.setAttribute("data-select2-id",++o),e=o.toString())),e},e.StoreData=function(t,n,i){var o=e.GetUniqueElementId(t);e.__cache[o]||(e.__cache[o]={}),e.__cache[o][n]=i},e.GetData=function(n,i){var o=e.GetUniqueElementId(n);return i?e.__cache[o]&&null!=e.__cache[o][i]?e.__cache[o][i]:t(n).data(i):e.__cache[o]},e.RemoveData=function(t){var n=e.GetUniqueElementId(t);null!=e.__cache[n]&&delete e.__cache[n],t.removeAttribute("data-select2-id")},e})),e.define("select2/results",["jquery","./utils"],(function(t,e){function n(t,e,i){this.$element=t,this.data=i,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('
      ');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(e){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=t(''),o=this.options.get("translations").get(e.message);i.append(n(o(e.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var n=0;n0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current((function(i){var o=t.map(i,(function(t){return t.id.toString()}));n.$results.find(".select2-results__option[aria-selected]").each((function(){var n=t(this),i=e.GetData(this,"data"),r=""+i.id;null!=i.element&&i.element.selected||null==i.element&&t.inArray(r,o)>-1?n.attr("aria-selected","true"):n.attr("aria-selected","false")}))}))},n.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},n=this.option(e);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var i=document.createElement("li");i.className="select2-results__option";var o={role:"option","aria-selected":"false"},r=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var a in(null!=n.element&&r.call(n.element,":disabled")||null==n.element&&n.disabled)&&(delete o["aria-selected"],o["aria-disabled"]="true"),null==n.id&&delete o["aria-selected"],null!=n._resultId&&(i.id=n._resultId),n.title&&(i.title=n.title),n.children&&(o.role="group",o["aria-label"]=n.text,delete o["aria-selected"]),o){var s=o[a];i.setAttribute(a,s)}if(n.children){var l=t(i),c=document.createElement("strong");c.className="select2-results__group",t(c),this.template(n,c);for(var u=[],d=0;d
    ",{class:"select2-results__options select2-results__options--nested"});p.append(u),l.append(c),l.append(p)}else this.template(n,i);return e.StoreData(i,"data",n),i},n.prototype.bind=function(n,i){var o=this,r=n.id+"-results";this.$results.attr("id",r),n.on("results:all",(function(t){o.clear(),o.append(t.data),n.isOpen()&&(o.setClasses(),o.highlightFirstItem())})),n.on("results:append",(function(t){o.append(t.data),n.isOpen()&&o.setClasses()})),n.on("query",(function(t){o.hideMessages(),o.showLoading(t)})),n.on("select",(function(){n.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect")&&o.highlightFirstItem())})),n.on("unselect",(function(){n.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect")&&o.highlightFirstItem())})),n.on("open",(function(){o.$results.attr("aria-expanded","true"),o.$results.attr("aria-hidden","false"),o.setClasses(),o.ensureHighlightVisible()})),n.on("close",(function(){o.$results.attr("aria-expanded","false"),o.$results.attr("aria-hidden","true"),o.$results.removeAttr("aria-activedescendant")})),n.on("results:toggle",(function(){var t=o.getHighlightedResults();0!==t.length&&t.trigger("mouseup")})),n.on("results:select",(function(){var t=o.getHighlightedResults();if(0!==t.length){var n=e.GetData(t[0],"data");"true"==t.attr("aria-selected")?o.trigger("close",{}):o.trigger("select",{data:n})}})),n.on("results:previous",(function(){var t=o.getHighlightedResults(),e=o.$results.find("[aria-selected]"),n=e.index(t);if(!(n<=0)){var i=n-1;0===t.length&&(i=0);var r=e.eq(i);r.trigger("mouseenter");var a=o.$results.offset().top,s=r.offset().top,l=o.$results.scrollTop()+(s-a);0===i?o.$results.scrollTop(0):s-a<0&&o.$results.scrollTop(l)}})),n.on("results:next",(function(){var t=o.getHighlightedResults(),e=o.$results.find("[aria-selected]"),n=e.index(t)+1;if(!(n>=e.length)){var i=e.eq(n);i.trigger("mouseenter");var r=o.$results.offset().top+o.$results.outerHeight(!1),a=i.offset().top+i.outerHeight(!1),s=o.$results.scrollTop()+a-r;0===n?o.$results.scrollTop(0):a>r&&o.$results.scrollTop(s)}})),n.on("results:focus",(function(t){t.element.addClass("select2-results__option--highlighted")})),n.on("results:message",(function(t){o.displayMessage(t)})),t.fn.mousewheel&&this.$results.on("mousewheel",(function(t){var e=o.$results.scrollTop(),n=o.$results.get(0).scrollHeight-e+t.deltaY,i=t.deltaY>0&&e-t.deltaY<=0,r=t.deltaY<0&&n<=o.$results.height();i?(o.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):r&&(o.$results.scrollTop(o.$results.get(0).scrollHeight-o.$results.height()),t.preventDefault(),t.stopPropagation())})),this.$results.on("mouseup",".select2-results__option[aria-selected]",(function(n){var i=t(this),r=e.GetData(this,"data");"true"!==i.attr("aria-selected")?o.trigger("select",{originalEvent:n,data:r}):o.options.get("multiple")?o.trigger("unselect",{originalEvent:n,data:r}):o.trigger("close",{})})),this.$results.on("mouseenter",".select2-results__option[aria-selected]",(function(n){var i=e.GetData(this,"data");o.getHighlightedResults().removeClass("select2-results__option--highlighted"),o.trigger("results:focus",{data:i,element:t(this)})}))},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),n=this.$results.offset().top,i=t.offset().top,o=this.$results.scrollTop()+(i-n),r=i-n;o-=2*t.outerHeight(!1),e<=2?this.$results.scrollTop(0):(r>this.$results.outerHeight()||r<0)&&this.$results.scrollTop(o)}},n.prototype.template=function(e,n){var i=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),r=i(e,n);null==r?n.style.display="none":"string"==typeof r?n.innerHTML=o(r):t(n).append(r)},n})),e.define("select2/keys",[],(function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}})),e.define("select2/selection/base",["jquery","../utils","../keys"],(function(t,e,n){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var n=t('');return this._tabindex=0,null!=e.GetData(this.$element[0],"old-tabindex")?this._tabindex=e.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),n.attr("title",this.$element.attr("title")),n.attr("tabindex",this._tabindex),n.attr("aria-disabled","false"),this.$selection=n,n},i.prototype.bind=function(t,e){var i=this,o=t.id+"-results";this.container=t,this.$selection.on("focus",(function(t){i.trigger("focus",t)})),this.$selection.on("blur",(function(t){i._handleBlur(t)})),this.$selection.on("keydown",(function(t){i.trigger("keypress",t),t.which===n.SPACE&&t.preventDefault()})),t.on("results:focus",(function(t){i.$selection.attr("aria-activedescendant",t.data._resultId)})),t.on("selection:update",(function(t){i.update(t.data)})),t.on("open",(function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",o),i._attachCloseHandler(t)})),t.on("close",(function(){i.$selection.attr("aria-expanded","false"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.trigger("focus"),i._detachCloseHandler(t)})),t.on("enable",(function(){i.$selection.attr("tabindex",i._tabindex),i.$selection.attr("aria-disabled","false")})),t.on("disable",(function(){i.$selection.attr("tabindex","-1"),i.$selection.attr("aria-disabled","true")}))},i.prototype._handleBlur=function(e){var n=this;window.setTimeout((function(){document.activeElement==n.$selection[0]||t.contains(n.$selection[0],document.activeElement)||n.trigger("blur",e)}),1)},i.prototype._attachCloseHandler=function(n){t(document.body).on("mousedown.select2."+n.id,(function(n){var i=t(n.target).closest(".select2");t(".select2.select2-container--open").each((function(){this!=i[0]&&e.GetData(this,"element").select2("close")}))}))},i.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},i.prototype.position=function(t,e){e.find(".selection").append(t)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},i})),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],(function(t,e,n,i){function o(){o.__super__.constructor.apply(this,arguments)}return n.Extend(o,e),o.prototype.render=function(){var t=o.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html(''),t},o.prototype.bind=function(t,e){var n=this;o.__super__.bind.apply(this,arguments);var i=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",(function(t){1===t.which&&n.trigger("toggle",{originalEvent:t})})),this.$selection.on("focus",(function(t){})),this.$selection.on("blur",(function(t){})),t.on("focus",(function(e){t.isOpen()||n.$selection.trigger("focus")}))},o.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},o.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},o.prototype.selectionContainer=function(){return t("")},o.prototype.update=function(t){if(0!==t.length){var e=t[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(e,n);n.empty().append(i);var o=e.title||e.text;o?n.attr("title",o):n.removeAttr("title")}else this.clear()},o})),e.define("select2/selection/multiple",["jquery","./base","../utils"],(function(t,e,n){function i(t,e){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,e),i.prototype.render=function(){var t=i.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('
      '),t},i.prototype.bind=function(e,o){var r=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",(function(t){r.trigger("toggle",{originalEvent:t})})),this.$selection.on("click",".select2-selection__choice__remove",(function(e){if(!r.options.get("disabled")){var i=t(this).parent(),o=n.GetData(i[0],"data");r.trigger("unselect",{originalEvent:e,data:o})}}))},i.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},i.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},i.prototype.selectionContainer=function(){return t('
    • ×
    • ')},i.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],i=0;i1||n)return t.call(this,e);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},e})),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],(function(t,e,n){function i(){}return i.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",(function(t){i._handleClear(t)})),e.on("keypress",(function(t){i._handleKeyboardClear(t,e)}))},i.prototype._handleClear=function(t,e){if(!this.options.get("disabled")){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){e.stopPropagation();var o=n.GetData(i[0],"data"),r=this.$element.val();this.$element.val(this.placeholder.id);var a={data:o};if(this.trigger("clear",a),a.prevented)this.$element.val(r);else{for(var s=0;s0||0===i.length)){var o=this.options.get("translations").get("removeAllItems"),r=t('×');n.StoreData(r[0],"data",i),this.$selection.find(".select2-selection__rendered").prepend(r)}},i})),e.define("select2/selection/search",["jquery","../utils","../keys"],(function(t,e,n){function i(t,e,n){t.call(this,e,n)}return i.prototype.render=function(e){var n=t('');this.$searchContainer=n,this.$search=n.find("input");var i=e.call(this);return this._transferTabIndex(),i},i.prototype.bind=function(t,i,o){var r=this,a=i.id+"-results";t.call(this,i,o),i.on("open",(function(){r.$search.attr("aria-controls",a),r.$search.trigger("focus")})),i.on("close",(function(){r.$search.val(""),r.$search.removeAttr("aria-controls"),r.$search.removeAttr("aria-activedescendant"),r.$search.trigger("focus")})),i.on("enable",(function(){r.$search.prop("disabled",!1),r._transferTabIndex()})),i.on("disable",(function(){r.$search.prop("disabled",!0)})),i.on("focus",(function(t){r.$search.trigger("focus")})),i.on("results:focus",(function(t){t.data._resultId?r.$search.attr("aria-activedescendant",t.data._resultId):r.$search.removeAttr("aria-activedescendant")})),this.$selection.on("focusin",".select2-search--inline",(function(t){r.trigger("focus",t)})),this.$selection.on("focusout",".select2-search--inline",(function(t){r._handleBlur(t)})),this.$selection.on("keydown",".select2-search--inline",(function(t){if(t.stopPropagation(),r.trigger("keypress",t),r._keyUpPrevented=t.isDefaultPrevented(),t.which===n.BACKSPACE&&""===r.$search.val()){var i=r.$searchContainer.prev(".select2-selection__choice");if(i.length>0){var o=e.GetData(i[0],"data");r.searchRemoveChoice(o),t.preventDefault()}}})),this.$selection.on("click",".select2-search--inline",(function(t){r.$search.val()&&t.stopPropagation()}));var s=document.documentMode,l=s&&s<=11;this.$selection.on("input.searchcheck",".select2-search--inline",(function(t){l?r.$selection.off("input.search input.searchcheck"):r.$selection.off("keyup.search")})),this.$selection.on("keyup.search input.search",".select2-search--inline",(function(t){if(l&&"input"===t.type)r.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=n.SHIFT&&e!=n.CTRL&&e!=n.ALT&&e!=n.TAB&&r.handleSearch(t)}}))},i.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},i.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},i.prototype.update=function(t,e){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";t=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em",this.$search.css("width",t)},i})),e.define("select2/selection/eventRelay",["jquery"],(function(t){function e(){}return e.prototype.bind=function(e,n,i){var o=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],a=["opening","closing","selecting","unselecting","clearing"];e.call(this,n,i),n.on("*",(function(e,n){if(-1!==t.inArray(e,r)){n=n||{};var i=t.Event("select2:"+e,{params:n});o.$element.trigger(i),-1!==t.inArray(e,a)&&(n.prevented=i.isDefaultPrevented())}}))},e})),e.define("select2/translation",["jquery","require"],(function(t,e){function n(t){this.dict=t||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(t){return this.dict[t]},n.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},n._cache={},n.loadPath=function(t){if(!(t in n._cache)){var i=e(t);n._cache[t]=i}return new n(n._cache[t])},n})),e.define("select2/diacritics",[],(function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}})),e.define("select2/data/base",["../utils"],(function(t){function e(t,n){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(t,e){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,n){var i=e.id+"-result-";return i+=t.generateChars(4),null!=n.id?i+="-"+n.id.toString():i+="-"+t.generateChars(4),i},e})),e.define("select2/data/select",["./base","../utils","jquery"],(function(t,e,n){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,t),i.prototype.current=function(t){var e=[],i=this;this.$element.find(":selected").each((function(){var t=n(this),o=i.item(t);e.push(o)})),t(e)},i.prototype.select=function(t){var e=this;if(t.selected=!0,n(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current((function(i){var o=[];(t=[t]).push.apply(t,i);for(var r=0;r=0){var u=o.filter(s(c)),d=this.item(u),h=n.extend(!0,{},c,d),f=this.option(h);u.replaceWith(f)}else{var p=this.option(c);if(c.children){var m=this.convertToOptions(c.children);e.appendMany(p,m)}a.push(p)}}return a},i})),e.define("select2/data/ajax",["./array","../utils","jquery"],(function(t,e,n){function i(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,t,e)}return e.Extend(i,t),i.prototype._applyDefaults=function(t){var e={data:function(t){return n.extend({},t,{q:t.term})},transport:function(t,e,i){var o=n.ajax(t);return o.then(e),o.fail(i),o}};return n.extend({},e,t,!0)},i.prototype.processResults=function(t){return t},i.prototype.query=function(t,e){var i=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var o=n.extend({type:"GET"},this.ajaxOptions);function r(){var r=o.transport(o,(function(o){var r=i.processResults(o,t);i.options.get("debug")&&window.console&&console.error&&(r&&r.results&&n.isArray(r.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(r)}),(function(){"status"in r&&(0===r.status||"0"===r.status)||i.trigger("results:message",{message:"errorLoading"})}));i._request=r}"function"==typeof o.url&&(o.url=o.url.call(this.$element,t)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(r,this.ajaxOptions.delay)):r()},i})),e.define("select2/data/tags",["jquery"],(function(t){function e(e,n,i){var o=i.get("tags"),r=i.get("createTag");void 0!==r&&(this.createTag=r);var a=i.get("insertTag");if(void 0!==a&&(this.insertTag=a),e.call(this,n,i),t.isArray(o))for(var s=0;s0&&e.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t})),e.define("select2/data/maximumSelectionLength",[],(function(){function t(t,e,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("select",(function(){i._checkIfMaximumSelected()}))},t.prototype.query=function(t,e,n){var i=this;this._checkIfMaximumSelected((function(){t.call(i,e,n)}))},t.prototype._checkIfMaximumSelected=function(t,e){var n=this;this.current((function(t){var i=null!=t?t.length:0;n.maximumSelectionLength>0&&i>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):e&&e()}))},t})),e.define("select2/dropdown",["jquery","./utils"],(function(t,e){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},n.prototype.bind=function(){},n.prototype.position=function(t,e){},n.prototype.destroy=function(){this.$dropdown.remove()},n})),e.define("select2/dropdown/search",["jquery","../utils"],(function(t,e){function n(){}return n.prototype.render=function(e){var n=e.call(this),i=t('');return this.$searchContainer=i,this.$search=i.find("input"),n.prepend(i),n},n.prototype.bind=function(e,n,i){var o=this,r=n.id+"-results";e.call(this,n,i),this.$search.on("keydown",(function(t){o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented()})),this.$search.on("input",(function(e){t(this).off("keyup")})),this.$search.on("keyup input",(function(t){o.handleSearch(t)})),n.on("open",(function(){o.$search.attr("tabindex",0),o.$search.attr("aria-controls",r),o.$search.trigger("focus"),window.setTimeout((function(){o.$search.trigger("focus")}),0)})),n.on("close",(function(){o.$search.attr("tabindex",-1),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.val(""),o.$search.trigger("blur")})),n.on("focus",(function(){n.isOpen()||o.$search.trigger("focus")})),n.on("results:all",(function(t){null!=t.query.term&&""!==t.query.term||(o.showSearch(t)?o.$searchContainer.removeClass("select2-search--hide"):o.$searchContainer.addClass("select2-search--hide"))})),n.on("results:focus",(function(t){t.data._resultId?o.$search.attr("aria-activedescendant",t.data._resultId):o.$search.removeAttr("aria-activedescendant")}))},n.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},n.prototype.showSearch=function(t,e){return!0},n})),e.define("select2/dropdown/hidePlaceholder",[],(function(){function t(t,e,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n,i)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var n=e.slice(0),i=e.length-1;i>=0;i--){var o=e[i];this.placeholder.id===o.id&&n.splice(i,1)}return n},t})),e.define("select2/dropdown/infiniteScroll",["jquery"],(function(t){function e(t,e,n,i){this.lastParams={},t.call(this,e,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("query",(function(t){i.lastParams=t,i.loading=!0})),e.on("query:append",(function(t){i.lastParams=t,i.loading=!0})),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=t.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&e&&this.$results.offset().top+this.$results.outerHeight(!1)+50>=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)&&this.loadMore()},e.prototype.loadMore=function(){this.loading=!0;var e=t.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},e.prototype.createLoadingMore=function(){var e=t('
    • '),n=this.options.get("translations").get("loadingMore");return e.html(n(this.lastParams)),e},e})),e.define("select2/dropdown/attachBody",["jquery","../utils"],(function(t,e){function n(e,n,i){this.$dropdownParent=t(i.get("dropdownParent")||document.body),e.call(this,n,i)}return n.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("open",(function(){i._showDropdown(),i._attachPositioningHandler(e),i._bindContainerResultHandlers(e)})),e.on("close",(function(){i._hideDropdown(),i._detachPositioningHandler(e)})),this.$dropdownContainer.on("mousedown",(function(t){t.stopPropagation()}))},n.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(t,e,n){e.attr("class",n.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(e){var n=t(""),i=e.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(t,e){if(!this._containerResultsHandlersBound){var n=this;e.on("results:all",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("results:append",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("results:message",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("select",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("unselect",(function(){n._positionDropdown(),n._resizeDropdown()})),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,i){var o=this,r="scroll.select2."+i.id,a="resize.select2."+i.id,s="orientationchange.select2."+i.id,l=this.$container.parents().filter(e.hasScroll);l.each((function(){e.StoreData(this,"select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})})),l.on(r,(function(n){var i=e.GetData(this,"select2-scroll-position");t(this).scrollTop(i.y)})),t(window).on(r+" "+a+" "+s,(function(t){o._positionDropdown(),o._resizeDropdown()}))},n.prototype._detachPositioningHandler=function(n,i){var o="scroll.select2."+i.id,r="resize.select2."+i.id,a="orientationchange.select2."+i.id;this.$container.parents().filter(e.hasScroll).off(o),t(window).off(o+" "+r+" "+a)},n.prototype._positionDropdown=function(){var e=t(window),n=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),o=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var a={height:this.$container.outerHeight(!1)};a.top=r.top,a.bottom=r.top+a.height;var s=this.$dropdown.outerHeight(!1),l=e.scrollTop(),c=e.scrollTop()+e.height(),u=lr.bottom+s,h={left:r.left,top:a.bottom},f=this.$dropdownParent;"static"===f.css("position")&&(f=f.offsetParent());var p={top:0,left:0};(t.contains(document.body,f[0])||f[0].isConnected)&&(p=f.offset()),h.top-=p.top,h.left-=p.left,n||i||(o="below"),d||!u||n?!u&&d&&n&&(o="below"):o="above",("above"==o||n&&"below"!==o)&&(h.top=a.top-p.top-s),null!=o&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+o),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+o)),this.$dropdownContainer.css(h)},n.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},n.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n})),e.define("select2/dropdown/minimumResultsForSearch",[],(function(){function t(t,e,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,i)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var n=0,i=0;i0&&(u.dataAdapter=c.Decorate(u.dataAdapter,v)),u.maximumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,y)),u.maximumSelectionLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,b)),u.tags&&(u.dataAdapter=c.Decorate(u.dataAdapter,m)),null==u.tokenSeparators&&null==u.tokenizer||(u.dataAdapter=c.Decorate(u.dataAdapter,g)),null!=u.query){var d=e(u.amdBase+"compat/query");u.dataAdapter=c.Decorate(u.dataAdapter,d)}if(null!=u.initSelection){var E=e(u.amdBase+"compat/initSelection");u.dataAdapter=c.Decorate(u.dataAdapter,E)}}if(null==u.resultsAdapter&&(u.resultsAdapter=n,null!=u.ajax&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,x)),null!=u.placeholder&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,k)),u.selectOnClose&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,C))),null==u.dropdownAdapter){if(u.multiple)u.dropdownAdapter=w;else{var O=c.Decorate(w,_);u.dropdownAdapter=O}if(0!==u.minimumResultsForSearch&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,S)),u.closeOnSelect&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,T)),null!=u.dropdownCssClass||null!=u.dropdownCss||null!=u.adaptDropdownCssClass){var M=e(u.amdBase+"compat/dropdownCss");u.dropdownAdapter=c.Decorate(u.dropdownAdapter,M)}u.dropdownAdapter=c.Decorate(u.dropdownAdapter,D)}if(null==u.selectionAdapter){if(u.multiple?u.selectionAdapter=o:u.selectionAdapter=i,null!=u.placeholder&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,r)),u.allowClear&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,a)),u.multiple&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,s)),null!=u.containerCssClass||null!=u.containerCss||null!=u.adaptContainerCssClass){var L=e(u.amdBase+"compat/containerCss");u.selectionAdapter=c.Decorate(u.selectionAdapter,L)}u.selectionAdapter=c.Decorate(u.selectionAdapter,l)}u.language=this._resolveLanguage(u.language),u.language.push("en");for(var P=[],A=0;A0){for(var r=t.extend(!0,{},o),a=o.children.length-1;a>=0;a--)null==n(i,o.children[a])&&r.children.splice(a,1);return r.children.length>0?r:n(i,r)}var s=e(o.text).toUpperCase(),l=e(i.term).toUpperCase();return s.indexOf(l)>-1?o:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},O.prototype.applyFromElement=function(t,e){var n=t.language,i=this.defaults.language,o=e.prop("lang"),r=e.closest("[lang]").prop("lang"),a=Array.prototype.concat.call(this._resolveLanguage(o),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(r));return t.language=a,t},O.prototype._resolveLanguage=function(e){if(!e)return[];if(t.isEmptyObject(e))return[];if(t.isPlainObject(e))return[e];var n;n=t.isArray(e)?e:[e];for(var i=[],o=0;o0){var r=n[o].split("-")[0];i.push(r)}return i},O.prototype._processTranslations=function(e,n){for(var i=new u,o=0;o-1||(e.isPlainObject(this.options[d])?e.extend(this.options[d],u[d]):this.options[d]=u[d]);return this},o.prototype.get=function(t){return this.options[t]},o.prototype.set=function(t,e){this.options[t]=e},o})),e.define("select2/core",["jquery","./options","./utils","./keys"],(function(t,e,n,i){var o=function(t,i){null!=n.GetData(t[0],"select2")&&n.GetData(t[0],"select2").destroy(),this.$element=t,this.id=this._generateId(t),i=i||{},this.options=new e(i,t),o.__super__.constructor.call(this);var r=t.attr("tabindex")||0;n.StoreData(t[0],"old-tabindex",r),t.attr("tabindex","-1");var a=this.options.get("dataAdapter");this.dataAdapter=new a(t,this.options);var s=this.render();this._placeContainer(s);var l=this.options.get("selectionAdapter");this.selection=new l(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var c=this.options.get("dropdownAdapter");this.dropdown=new c(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var u=this.options.get("resultsAdapter");this.results=new u(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var d=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current((function(t){d.trigger("selection:update",{data:t})})),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(t[0],"select2",this),t.data("select2",this)};return n.Extend(o,n.Observable),o.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},o.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},o.prototype._resolveWidth=function(t,e){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var i=this._resolveWidth(t,"style");return null!=i?i:this._resolveWidth(t,"element")}if("element"==e){var o=t.outerWidth(!1);return o<=0?"auto":o+"px"}if("style"==e){var r=t.attr("style");if("string"!=typeof r)return null;for(var a=r.split(";"),s=0,l=a.length;s=1)return c[1]}return null}return"computedstyle"==e?window.getComputedStyle(t[0]).width:e},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",(function(){e.dataAdapter.current((function(t){e.trigger("selection:update",{data:t})}))})),this.$element.on("focus.select2",(function(t){e.trigger("focus",t)})),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=i?(this._observer=new i((function(n){t.each(n,e._syncA),t.each(n,e._syncS)})),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",e._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",e._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,!1))},o.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",(function(e,n){t.trigger(e,n)}))},o.prototype._registerSelectionEvents=function(){var e=this,n=["toggle","focus"];this.selection.on("toggle",(function(){e.toggleDropdown()})),this.selection.on("focus",(function(t){e.focus(t)})),this.selection.on("*",(function(i,o){-1===t.inArray(i,n)&&e.trigger(i,o)}))},o.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",(function(e,n){t.trigger(e,n)}))},o.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",(function(e,n){t.trigger(e,n)}))},o.prototype._registerEvents=function(){var t=this;this.on("open",(function(){t.$container.addClass("select2-container--open")})),this.on("close",(function(){t.$container.removeClass("select2-container--open")})),this.on("enable",(function(){t.$container.removeClass("select2-container--disabled")})),this.on("disable",(function(){t.$container.addClass("select2-container--disabled")})),this.on("blur",(function(){t.$container.removeClass("select2-container--focus")})),this.on("query",(function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,(function(n){t.trigger("results:all",{data:n,query:e})}))})),this.on("query:append",(function(e){this.dataAdapter.query(e,(function(n){t.trigger("results:append",{data:n,query:e})}))})),this.on("keypress",(function(e){var n=e.which;t.isOpen()?n===i.ESC||n===i.TAB||n===i.UP&&e.altKey?(t.close(),e.preventDefault()):n===i.ENTER?(t.trigger("results:select",{}),e.preventDefault()):n===i.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):n===i.UP?(t.trigger("results:previous",{}),e.preventDefault()):n===i.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(n===i.ENTER||n===i.SPACE||n===i.DOWN&&e.altKey)&&(t.open(),e.preventDefault())}))},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},o.prototype._syncSubtree=function(t,e){var n=!1,i=this;if(!t||!t.target||"OPTION"===t.target.nodeName||"OPTGROUP"===t.target.nodeName){if(e)if(e.addedNodes&&e.addedNodes.length>0)for(var o=0;o0&&(n=!0);else n=!0;n&&this.dataAdapter.current((function(t){i.trigger("selection:update",{data:t})}))}},o.prototype.trigger=function(t,e){var n=o.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===e&&(e={}),t in i){var r=i[t],a={prevented:!1,name:t,args:e};if(n.call(this,r,a),a.prevented)return void(e.prevented=!0)}n.call(this,t,e)},o.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||this.trigger("query",{})},o.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},o.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},o.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},o.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},o.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=t&&0!==t.length||(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current((function(e){t=e})),t},o.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var n=e[0];t.isArray(n)&&(n=t.map(n,(function(t){return t.toString()}))),this.$element.val(n).trigger("change")},o.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),n.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var e=t('');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),n.StoreData(e[0],"element",this.$element),e},o})),e.define("jquery-mousewheel",["jquery"],(function(t){return t})),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],(function(t,e,n,i,o){if(null==t.fn.select2){var r=["open","close","destroy"];t.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each((function(){var i=t.extend(!0,{},e);new n(t(this),i)})),this;if("string"==typeof e){var i,a=Array.prototype.slice.call(arguments,1);return this.each((function(){var t=o.GetData(this,"select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),i=t[e].apply(t,a)})),t.inArray(e,r)>-1?this:i}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=i),n})),{define:e.define,require:e.require}}(),n=e.require("jquery.select2");return t.fn.select2.amd=e,n})?o.apply(e,r):o)||(t.exports=a)}).call(this,n("EVdn"))},DoHr:function(t,e,n){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'ıncı";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DxQv:function(t,e,n){!function(t){"use strict";t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dxs7:function(t,e,n){(function(t){!function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;e.define("select2/i18n/da",[],(function(){return{errorLoading:function(){return"Resultaterne kunne ikke indlæses."},inputTooLong:function(t){return"Angiv venligst "+(t.input.length-t.maximum)+" tegn mindre"},inputTooShort:function(t){return"Angiv venligst "+(t.minimum-t.input.length)+" tegn mere"},loadingMore:function(){return"Indlæser flere resultater…"},maximumSelected:function(t){var e="Du kan kun vælge "+t.maximum+" emne";return 1!=t.maximum&&(e+="r"),e},noResults:function(){return"Ingen resultater fundet"},searching:function(){return"Søger…"},removeAllItems:function(){return"Fjern alle elementer"}}})),e.define,e.require}()}).call(this,n("EVdn"))},EnZy:function(t,e,n){"use strict";var i=n("14Sl"),o=n("ROdP"),r=n("glrk"),a=n("HYAF"),s=n("SEBh"),l=n("iqWW"),c=n("UMSQ"),u=n("FMNM"),d=n("kmMV"),h=n("0Dky"),f=[].push,p=Math.min,m=!h((function(){return!RegExp(4294967295,"y")}));i("split",2,(function(t,e,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=String(a(this)),r=void 0===n?4294967295:n>>>0;if(0===r)return[];if(void 0===t)return[i];if(!o(t))return e.call(i,t,r);for(var s,l,c,u=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,m=new RegExp(t.source,h+"g");(s=d.call(m,i))&&!((l=m.lastIndex)>p&&(u.push(i.slice(p,s.index)),s.length>1&&s.index=r));)m.lastIndex===s.index&&m.lastIndex++;return p===i.length?!c&&m.test("")||u.push(""):u.push(i.slice(p)),u.length>r?u.slice(0,r):u}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,o,n):i.call(String(o),e,n)},function(t,o){var a=n(i,t,this,o,i!==e);if(a.done)return a.value;var d=r(t),h=String(this),f=s(d,RegExp),g=d.unicode,v=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(m?"y":"g"),y=new f(m?d:"^(?:"+d.source+")",v),b=void 0===o?4294967295:o>>>0;if(0===b)return[];if(0===h.length)return null===u(y,h)?[h]:[];for(var w=0,_=0,k=[];_1?arguments[1]:void 0)}:[].forEach},FMNM:function(t,e,n){var i=n("xrYK"),o=n("kmMV");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==i(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},FZtP:function(t,e,n){var i=n("2oRo"),o=n("/byt"),r=n("F8JR"),a=n("kRJp");for(var s in o){var l=i[s],c=l&&l.prototype;if(c&&c.forEach!==r)try{a(c,"forEach",r)}catch(t){c.forEach=r}}},"Ft9+":function(t,e,n){(function(t){!function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;e.define("select2/i18n/zh-CN",[],(function(){return{errorLoading:function(){return"无法载入结果。"},inputTooLong:function(t){return"请删除"+(t.input.length-t.maximum)+"个字符"},inputTooShort:function(t){return"请再输入至少"+(t.minimum-t.input.length)+"个字符"},loadingMore:function(){return"载入更多结果…"},maximumSelected:function(t){return"最多只能选择"+t.maximum+"个项目"},noResults:function(){return"未找到结果"},searching:function(){return"搜索中…"},removeAllItems:function(){return"删除所有项目"}}})),e.define,e.require}()}).call(this,n("EVdn"))},"G+Rx":function(t,e,n){var i=n("0GbY");t.exports=i("document","documentElement")},HAuM:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},HRxU:function(t,e,n){var i=n("I+eb"),o=n("g6v/");i({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n("N+g0")})},HYAF:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},Hd5f:function(t,e,n){var i=n("0Dky"),o=n("tiKp"),r=n("YK6W"),a=o("species");t.exports=function(t){return r>=51||!i((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"I+eb":function(t,e,n){var i=n("2oRo"),o=n("Bs8V").f,r=n("kRJp"),a=n("busE"),s=n("zk60"),l=n("6JNq"),c=n("lMq5");t.exports=function(t,e){var n,u,d,h,f,p=t.target,m=t.global,g=t.stat;if(n=m?i:g?i[p]||s(p,{}):(i[p]||{}).prototype)for(u in e){if(h=e[u],d=t.noTargetGet?(f=o(n,u))&&f.value:n[u],!c(m?u:p+(g?".":"#")+u,t.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(t.sham||d&&d.sham)&&r(h,"sham",!0),a(n,u,h,t)}}},I8vh:function(t,e,n){var i=n("ppGB"),o=Math.max,r=Math.min;t.exports=function(t,e){var n=i(t);return n<0?o(n+e,0):r(n,e)}},"Ivi+":function(t,e,n){!function(t){"use strict";t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,n){return t<12?"오전":"오후"}})}(n("wd/R"))},J30X:function(t,e,n){n("I+eb")({target:"Array",stat:!0},{isArray:n("6LWA")})},JBy8:function(t,e,n){var i=n("yoRg"),o=n("eDl+").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,o)}},JTJg:function(t,e,n){"use strict";var i=n("I+eb"),o=n("WjRb"),r=n("HYAF");i({target:"String",proto:!0,forced:!n("qxPZ")("includes")},{includes:function(t){return!!~String(r(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},Jchv:function(t,e,n){var i,o,r;o=[n("EVdn"),n("Qwlt")],void 0===(r="function"==typeof(i=function(t){return function(){var e,n=Math.max,i=Math.abs,o=/left|center|right/,r=/top|center|bottom/,a=/[\+\-]\d+(\.[\d]+)?%?/,s=/^\w+/,l=/%$/,c=t.fn.position;function u(t,e,n){return[parseFloat(t[0])*(l.test(t[0])?e/100:1),parseFloat(t[1])*(l.test(t[1])?n/100:1)]}function d(e,n){return parseInt(t.css(e,n),10)||0}function h(e){var n=e[0];return 9===n.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(n)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:n.preventDefault?{width:0,height:0,offset:{top:n.pageY,left:n.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}t.position={scrollbarWidth:function(){if(void 0!==e)return e;var n,i,o=t("
      "),r=o.children()[0];return t("body").append(o),n=r.offsetWidth,o.css("overflow","scroll"),n===(i=r.offsetWidth)&&(i=o[0].clientWidth),o.remove(),e=n-i},getScrollInfo:function(e){var n=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),i=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),o="scroll"===n||"auto"===n&&e.width0?"right":"center",vertical:u<0?"top":l>0?"bottom":"middle"};fn(i(l),i(u))?d.important="horizontal":d.important="vertical",e.using.call(this,t,d)}),a.offset(t.extend(S,{using:r}))}))},t.ui.position={fit:{left:function(t,e){var i,o=e.within,r=o.isWindow?o.scrollLeft:o.offset.left,a=o.width,s=t.left-e.collisionPosition.marginLeft,l=r-s,c=s+e.collisionWidth-a-r;e.collisionWidth>a?l>0&&c<=0?(i=t.left+l+e.collisionWidth-a-r,t.left+=l-i):t.left=c>0&&l<=0?r:l>c?r+a-e.collisionWidth:r:l>0?t.left+=l:c>0?t.left-=c:t.left=n(t.left-s,t.left)},top:function(t,e){var i,o=e.within,r=o.isWindow?o.scrollTop:o.offset.top,a=e.within.height,s=t.top-e.collisionPosition.marginTop,l=r-s,c=s+e.collisionHeight-a-r;e.collisionHeight>a?l>0&&c<=0?(i=t.top+l+e.collisionHeight-a-r,t.top+=l-i):t.top=c>0&&l<=0?r:l>c?r+a-e.collisionHeight:r:l>0?t.top+=l:c>0?t.top-=c:t.top=n(t.top-s,t.top)}},flip:{left:function(t,e){var n,o,r=e.within,a=r.offset.left+r.scrollLeft,s=r.width,l=r.isWindow?r.scrollLeft:r.offset.left,c=t.left-e.collisionPosition.marginLeft,u=c-l,d=c+e.collisionWidth-s-l,h="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,f="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,p=-2*e.offset[0];u<0?((n=t.left+h+f+p+e.collisionWidth-s-a)<0||n0&&((o=t.left-e.collisionPosition.marginLeft+h+f+p-l)>0||i(o)0&&((n=t.top-e.collisionPosition.marginTop+h+f+p-l)>0||i(n)",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,i){i=t(i||this.defaultElement||this)[0],this.element=t(i),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},i!==this&&(t.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===i&&this.destroy()}}),this.document=t(i.style?i.ownerDocument:i.document||i),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,(function(t,n){e._removeClass(n,t)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,n){var i,o,r,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},i=e.split("."),e=i.shift(),i.length){for(o=a[e]=t.widget.extend({},this.options[e]),r=0;rl;)o.f(t,n=i[l++],e[n]);return t}},NBAS:function(t,e,n){var i=n("I+eb"),o=n("0Dky"),r=n("ewvW"),a=n("4WOD"),s=n("4Xet");i({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(r(t))}})},NlKh:function(t,e,n){},O741:function(t,e,n){var i=n("hh1v");t.exports=function(t){if(!i(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},Onkx:function(e,n,i){(function(e){var n;(n=e).fn.extend({slimScroll:function(e){var i=n.extend({width:"auto",height:"250px",size:"7px",color:"#000",position:"right",distance:"1px",start:"top",opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:"#333",railOpacity:.2,railDraggable:!0,railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScrollDiv",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:"7px",railBorderRadius:"7px"},e);return this.each((function(){var o,r,a,s,l,c,u,d,h="
      ",f=30,p=!1,m=n(this);if(m.parent().hasClass(i.wrapperClass)){var g=m.scrollTop();if(k=m.siblings("."+i.barClass),_=m.siblings("."+i.railClass),C(),n.isPlainObject(e)){if("height"in e&&"auto"==e.height){m.parent().css("height","auto"),m.css("height","auto");var v=m.parent().parent().height();m.parent().css("height",v),m.css("height",v)}else if("height"in e){var y=e.height;m.parent().css("height",y),m.css("height",y)}if("scrollTo"in e)g=parseInt(i.scrollTo);else if("scrollBy"in e)g+=parseInt(i.scrollBy);else if("destroy"in e)return k.remove(),_.remove(),void m.unwrap();S(g,!1,!0)}}else if(!(n.isPlainObject(e)&&"destroy"in e)){i.height="auto"==i.height?m.parent().height():i.height;var b=n(h).addClass(i.wrapperClass).css({position:"relative",overflow:"hidden",width:i.width,height:i.height});m.css({overflow:"hidden",width:i.width,height:i.height});var w,_=n(h).addClass(i.railClass).css({width:i.size,height:"100%",position:"absolute",top:0,display:i.alwaysVisible&&i.railVisible?"block":"none","border-radius":i.railBorderRadius,background:i.railColor,opacity:i.railOpacity,zIndex:90}),k=n(h).addClass(i.barClass).css({background:i.color,width:i.size,position:"absolute",top:0,opacity:i.opacity,display:i.alwaysVisible?"block":"none","border-radius":i.borderRadius,BorderRadius:i.borderRadius,MozBorderRadius:i.borderRadius,WebkitBorderRadius:i.borderRadius,zIndex:99}),x="right"==i.position?{right:i.distance}:{left:i.distance};_.css(x),k.css(x),m.wrap(b),m.parent().append(k),m.parent().append(_),i.railDraggable&&k.bind("mousedown",(function(e){var i=n(document);return a=!0,t=parseFloat(k.css("top")),pageY=e.pageY,i.bind("mousemove.slimscroll",(function(e){currTop=t+e.pageY-pageY,k.css("top",currTop),S(0,k.position().top,!1)})),i.bind("mouseup.slimscroll",(function(t){a=!1,E(),i.unbind(".slimscroll")})),!1})).bind("selectstart.slimscroll",(function(t){return t.stopPropagation(),t.preventDefault(),!1})),_.hover((function(){T()}),(function(){E()})),k.hover((function(){r=!0}),(function(){r=!1})),m.hover((function(){o=!0,T(),E()}),(function(){o=!1,E()})),m.bind("touchstart",(function(t,e){t.originalEvent.touches.length&&(l=t.originalEvent.touches[0].pageY)})),m.bind("touchmove",(function(t){p||t.originalEvent.preventDefault(),t.originalEvent.touches.length&&(S((l-t.originalEvent.touches[0].pageY)/i.touchScrollStep,!0),l=t.originalEvent.touches[0].pageY)})),C(),"bottom"===i.start?(k.css({top:m.outerHeight()-k.outerHeight()}),S(0,!0)):"top"!==i.start&&(S(n(i.start).position().top,null,!0),i.alwaysVisible||k.hide()),w=this,window.addEventListener?(w.addEventListener("DOMMouseScroll",D,!1),w.addEventListener("mousewheel",D,!1)):document.attachEvent("onmousewheel",D)}function D(t){if(o){var e=0;(t=t||window.event).wheelDelta&&(e=-t.wheelDelta/120),t.detail&&(e=t.detail/3);var r=t.target||t.srcTarget||t.srcElement;n(r).closest("."+i.wrapperClass).is(m.parent())&&S(e,!0),t.preventDefault&&!p&&t.preventDefault(),p||(t.returnValue=!1)}}function S(t,e,n){p=!1;var o=t,r=m.outerHeight()-k.outerHeight();if(e&&(o=parseInt(k.css("top"))+t*parseInt(i.wheelStep)/100*k.outerHeight(),o=Math.min(Math.max(o,0),r),o=t>0?Math.ceil(o):Math.floor(o),k.css({top:o+"px"})),o=(u=parseInt(k.css("top"))/(m.outerHeight()-k.outerHeight()))*(m[0].scrollHeight-m.outerHeight()),n){var a=(o=t)/m[0].scrollHeight*m.outerHeight();a=Math.min(Math.max(a,0),r),k.css({top:a+"px"})}m.scrollTop(o),m.trigger("slimscrolling",~~o),T(),E()}function C(){c=Math.max(m.outerHeight()/m[0].scrollHeight*m.outerHeight(),f),k.css({height:c+"px"});var t=c==m.outerHeight()?"none":"block";k.css({display:t})}function T(){if(C(),clearTimeout(s),u==~~u){if(p=i.allowPageScroll,d!=u){var t=0==~~u?"top":"bottom";m.trigger("slimscroll",t)}}else p=!1;d=u,c>=m.outerHeight()?p=!0:(k.stop(!0,!0).fadeIn("fast"),i.railVisible&&_.stop(!0,!0).fadeIn("fast"))}function E(){i.alwaysVisible||(s=setTimeout((function(){i.disableFadeOut&&o||r||a||(k.fadeOut("slow"),_.fadeOut("slow"))}),1e3))}})),this}}),n.fn.extend({slimscroll:n.fn.slimScroll})}).call(this,i("EVdn"))},P4y1:function(t,e){t.exports={}},PA2r:function(t,e,n){!function(t){"use strict";var e="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),i=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],o=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function r(t){return t>1&&t<5&&1!=~~(t/10)}function a(t,e,n,i){var o=t+" ";switch(n){case"s":return e||i?"pár sekund":"pár sekundami";case"ss":return e||i?o+(r(t)?"sekundy":"sekund"):o+"sekundami";case"m":return e?"minuta":i?"minutu":"minutou";case"mm":return e||i?o+(r(t)?"minuty":"minut"):o+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?o+(r(t)?"hodiny":"hodin"):o+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?o+(r(t)?"dny":"dní"):o+"dny";case"M":return e||i?"měsíc":"měsícem";case"MM":return e||i?o+(r(t)?"měsíce":"měsíců"):o+"měsíci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?o+(r(t)?"roky":"let"):o+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PDX0:function(t,e){(function(e){t.exports=e}).call(this,{})},PKPk:function(t,e,n){"use strict";var i=n("ZUd8").charAt,o=n("afO8"),r=n("fdAy"),a=o.set,s=o.getterFor("String Iterator");r(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=s(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=i(n,o),e.index+=t.length,{value:t,done:!1})}))},PSD3:function(t,e,n){t.exports=function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n(e=parseInt(e.getAttribute("tabindex")))?1:t1&&void 0!==arguments[1]?arguments[1]:"flex";t.style.opacity="",t.style.display=e},it=function(t){t.style.opacity="",t.style.display="none"},ot=function(t,e,n){e?nt(t,n):it(t)},rt=function(t){return!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))},at=function(t){var e=window.getComputedStyle(t),n=parseFloat(e.getPropertyValue("animation-duration")||"0"),i=parseFloat(e.getPropertyValue("transition-duration")||"0");return n>0||i>0},st=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=N();rt(n)&&(e&&(n.style.transition="none",n.style.width="100%"),setTimeout((function(){n.style.transition="width ".concat(t/1e3,"s linear"),n.style.width="0%"}),10))},lt=function(){return"undefined"==typeof window||"undefined"==typeof document},ct='\n
      \n
      \n
        \n
        \n
        \n
        \n
        \n
        \n \n

        \n \n
        \n
        \n
        \n \n \n
        \n \n \n
        \n \n
        \n \n \n
        \n
        \n
        \n \n \n
        \n
        \n
        \n
        \n').replace(/(^|\n)\s*/g,""),ut=function(t){en.isVisible()&&K!==t.target.value&&en.resetValidationMessage(),K=t.target.value},dt=function(t){var e;if((e=D())&&(e.parentNode.removeChild(e),Q([document.documentElement,document.body],[k["no-backdrop"],k["toast-shown"],k["has-column"]])),lt())p("SweetAlert2 requires document to initialize");else{var n=document.createElement("div");n.className=k.container,n.innerHTML=ct;var i,o,r,a,s,l,c,u,d,h="string"==typeof(i=t.target)?document.querySelector(i):i;h.appendChild(n),function(t){var e=T();e.setAttribute("role",t.toast?"alert":"dialog"),e.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||e.setAttribute("aria-modal","true")}(t),function(t){"rtl"===window.getComputedStyle(t).direction&&Z(D(),k.rtl)}(h),o=L(),r=tt(o,k.input),a=tt(o,k.file),s=o.querySelector(".".concat(k.range," input")),l=o.querySelector(".".concat(k.range," output")),c=tt(o,k.select),u=o.querySelector(".".concat(k.checkbox," input")),d=tt(o,k.textarea),r.oninput=ut,a.onchange=ut,c.onchange=ut,u.onchange=ut,d.oninput=ut,s.oninput=function(t){ut(t),l.value=s.value},s.onchange=function(t){ut(t),s.nextSibling.value=s.value}}},ht=function(e,n){e instanceof HTMLElement?n.appendChild(e):"object"===t(e)?ft(n,e):e&&(n.innerHTML=e)},ft=function(t,e){if(t.innerHTML="",0 in e)for(var n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},pt=function(){if(lt())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&void 0!==t.style[n])return e[n];return!1}(),mt=function(t,e){var n=$(),i=Y(),o=I();e.showConfirmButton||e.showCancelButton||it(n),V(n,e,"actions"),gt(i,"confirm",e),gt(o,"cancel",e),e.buttonsStyling?function(t,e,n){Z([t,e],k.styled),n.confirmButtonColor&&(t.style.backgroundColor=n.confirmButtonColor),n.cancelButtonColor&&(e.style.backgroundColor=n.cancelButtonColor);var i=window.getComputedStyle(t).getPropertyValue("background-color");t.style.borderLeftColor=i,t.style.borderRightColor=i}(i,o,e):(Q([i,o],k.styled),i.style.backgroundColor=i.style.borderLeftColor=i.style.borderRightColor="",o.style.backgroundColor=o.style.borderLeftColor=o.style.borderRightColor=""),e.reverseButtons&&i.parentNode.insertBefore(o,i)};function gt(t,e,n){ot(t,n["show".concat(u(e),"Button")],"inline-block"),t.innerHTML=n["".concat(e,"ButtonText")],t.setAttribute("aria-label",n["".concat(e,"ButtonAriaLabel")]),t.className=k[e],V(t,n,"".concat(e,"Button")),Z(t,n["".concat(e,"ButtonClass")])}var vt=function(t,e){var n=D();n&&(function(t,e){"string"==typeof e?t.style.background=e:e||Z([document.documentElement,document.body],k["no-backdrop"])}(n,e.backdrop),!e.backdrop&&e.allowOutsideClick&&f('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),function(t,e){e in k?Z(t,k[e]):(f('The "position" parameter is not valid, defaulting to "center"'),Z(t,k.center))}(n,e.position),function(t,e){if(e&&"string"==typeof e){var n="grow-".concat(e);n in k&&Z(t,k[n])}}(n,e.grow),V(n,e,"container"))},yt={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},bt=["input","file","range","select","radio","checkbox","textarea"],wt=function(t){if(!St[t.input])return p('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));var e=Dt(t.input),n=St[t.input](e,t);nt(n),setTimeout((function(){X(n)}))},_t=function(t,e){var n=G(L(),t);if(n)for(var i in function(t){for(var e=0;en?"".concat(e,"px"):null})).observe(t,{attributes:!0,attributeFilter:["style"]})}return t};var Ct=function(t,e){var n=L().querySelector("#".concat(k.content));e.html?(ht(e.html,n),nt(n,"block")):e.text?(n.textContent=e.text,nt(n,"block")):it(n),function(t,e){var n=L(),i=yt.innerParams.get(t),o=!i||e.input!==i.input;bt.forEach((function(t){var i=k[t],r=tt(n,i);_t(t,e.inputAttributes),r.className=i,o&&it(r)})),e.input&&(o&&wt(e),kt(e))}(t,e),V(L(),e,"content")},Tt=function(){for(var t=E(),e=0;e\n \n
        \n
        \n ':"error"===e.icon?t.innerHTML='\n \n \n \n \n ':t.innerHTML=Mt({question:"?",warning:"!",info:"i"}[e.icon])},Mt=function(t){return'
        ').concat(t,"
        ")},Lt=function(t,e){var n=A();if(!e.progressSteps||0===e.progressSteps.length)return it(n);nt(n),n.innerHTML="";var i=parseInt(null===e.currentProgressStep?en.getQueueStep():e.currentProgressStep);i>=e.progressSteps.length&&f("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),e.progressSteps.forEach((function(t,o){var r=function(t){var e=document.createElement("li");return Z(e,k["progress-step"]),e.innerHTML=t,e}(t);if(n.appendChild(r),o===i&&Z(r,k["active-progress-step"]),o!==e.progressSteps.length-1){var a=function(t){var e=document.createElement("li");return Z(e,k["progress-step-line"]),t.progressStepsDistance&&(e.style.width=t.progressStepsDistance),e}(t);n.appendChild(a)}}))},Pt=function(t,e){var n=R();V(n,e,"header"),Lt(0,e),function(t,e){var n=yt.innerParams.get(t);if(n&&e.icon===n.icon&&O())V(O(),e,"icon");else if(Tt(),e.icon)if(-1!==Object.keys(x).indexOf(e.icon)){var i=S(".".concat(k.icon,".").concat(x[e.icon]));nt(i),Ot(i,e),Et(),V(i,e,"icon"),Z(i,e.showClass.icon)}else p('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(e.icon,'"'))}(t,e),function(t,e){var n=P();if(!e.imageUrl)return it(n);nt(n),n.setAttribute("src",e.imageUrl),n.setAttribute("alt",e.imageAlt),et(n,"width",e.imageWidth),et(n,"height",e.imageHeight),n.className=k.image,V(n,e,"image")}(0,e),function(t,e){var n=M();ot(n,e.title||e.titleText),e.title&&ht(e.title,n),e.titleText&&(n.innerText=e.titleText),V(n,e,"title")}(0,e),function(t,e){var n=B();n.innerHTML=e.closeButtonHtml,V(n,e,"closeButton"),ot(n,e.showCloseButton),n.setAttribute("aria-label",e.closeButtonAriaLabel)}(0,e)},At=function(t,e){!function(t,e){var n=T();et(n,"width",e.width),et(n,"padding",e.padding),e.background&&(n.style.background=e.background),n.className=k.popup,e.toast?(Z([document.documentElement,document.body],k["toast-shown"]),Z(n,k.toast)):Z(n,k.modal),V(n,e,"popup"),"string"==typeof e.customClass&&Z(n,e.customClass),rt(n)&&Z(n,e.showClass.popup)}(0,e),vt(0,e),Pt(t,e),Ct(t,e),mt(0,e),function(t,e){var n=H();ot(n,e.footer),e.footer&&ht(e.footer,n),V(n,e,"footer")}(0,e),"function"==typeof e.onRender&&e.onRender(T())},jt=function(){return Y()&&Y().click()},Yt=[],It=function(){var t=T();t||en.fire(),t=T();var e=$(),n=Y();nt(e),nt(n,"inline-block"),Z([t,e],k.loading),n.disabled=!0,t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},$t={},Rt=function(){return new Promise((function(t){var e=window.scrollX,n=window.scrollY;$t.restoreFocusTimeout=setTimeout((function(){$t.previousActiveElement&&$t.previousActiveElement.focus?($t.previousActiveElement.focus(),$t.previousActiveElement=null):document.body&&document.body.focus(),t()}),100),void 0!==e&&void 0!==n&&window.scrollTo(e,n)}))},Ht=function(){if($t.timeout)return function(){var t=N(),e=parseInt(window.getComputedStyle(t).width);t.style.removeProperty("transition"),t.style.width="100%";var n=parseInt(window.getComputedStyle(t).width),i=parseInt(e/n*100);t.style.removeProperty("transition"),t.style.width="".concat(i,"%")}(),$t.timeout.stop()},Nt=function(){if($t.timeout){var t=$t.timeout.start();return st(t),t}},Bt={title:"",titleText:"",text:"",html:"",footer:"",icon:null,iconHtml:null,toast:!1,animation:!0,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:"",target:"body",backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:null,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:null,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageAlt:"",timer:null,timerProgressBar:!1,width:null,padding:null,background:null,input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:null,validationMessage:null,grow:!1,position:"center",progressSteps:[],currentProgressStep:null,progressStepsDistance:null,onBeforeOpen:null,onOpen:null,onRender:null,onClose:null,onAfterClose:null,scrollbarPadding:!0},zt=["title","titleText","text","html","icon","customClass","showConfirmButton","showCancelButton","confirmButtonText","confirmButtonAriaLabel","confirmButtonColor","cancelButtonText","cancelButtonAriaLabel","cancelButtonColor","buttonsStyling","reverseButtons","imageUrl","imageWidth","imageHeight","imageAlt","progressSteps","currentProgressStep"],Wt={animation:'showClass" and "hideClass'},Ut=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],qt=function(t){return Object.prototype.hasOwnProperty.call(Bt,t)},Ft=function(t){return Wt[t]},Vt=function(t){qt(t)||f('Unknown parameter "'.concat(t,'"'))},Gt=function(t){-1!==Ut.indexOf(t)&&f('The parameter "'.concat(t,'" is incompatible with toasts'))},Kt=function(t){Ft(t)&&g(t,Ft(t))},Xt=function(t){for(var e in t)Vt(e),t.toast&&Gt(e),Kt(e)},Jt=Object.freeze({isValidParameter:qt,isUpdatableParameter:function(t){return-1!==zt.indexOf(t)},isDeprecatedParameter:Ft,argsToParams:function(e){var n={};return"object"!==t(e[0])||w(e[0])?["title","html","icon"].forEach((function(i,o){var r=e[o];"string"==typeof r||w(r)?n[i]=r:void 0!==r&&p("Unexpected type of ".concat(i,'! Expected "string" or "Element", got ').concat(t(r)))})):o(n,e[0]),n},isVisible:function(){return rt(T())},clickConfirm:jt,clickCancel:function(){return I()&&I().click()},getContainer:D,getPopup:T,getTitle:M,getContent:L,getHtmlContainer:function(){return C(k["html-container"])},getImage:P,getIcon:O,getIcons:E,getCloseButton:B,getActions:$,getConfirmButton:Y,getCancelButton:I,getHeader:R,getFooter:H,getFocusableElements:z,getValidationMessage:j,isLoading:function(){return T().hasAttribute("data-loading")},fire:function(){for(var t=arguments.length,e=new Array(t),n=0;nwindow.innerHeight&&(q.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(q.previousBodyPadding+function(){var t=document.createElement("div");t.className=k["scrollbar-measure"],document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e}(),"px"))},te=function(){null!==q.previousBodyPadding&&(document.body.style.paddingRight="".concat(q.previousBodyPadding,"px"),q.previousBodyPadding=null)},ee=function(){var t,e=D();e.ontouchstart=function(n){var i;t=n.target===e||!((i=e).scrollHeight>i.clientHeight)&&"INPUT"!==n.target.tagName},e.ontouchmove=function(e){t&&(e.preventDefault(),e.stopPropagation())}},ne=function(){if(F(document.body,k.iosfix)){var t=parseInt(document.body.style.top,10);Q(document.body,k.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}},ie=function(){return!!window.MSInputMethodContext&&!!document.documentMode},oe=function(){var t=D(),e=T();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")},re=function(){"undefined"!=typeof window&&ie()&&window.removeEventListener("resize",oe)},ae=function(){h(document.body.children).forEach((function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")}))},se={swalPromiseResolve:new WeakMap};function le(t,e,n,i){n?fe(t,i):(Rt().then((function(){return fe(t,i)})),$t.keydownTarget.removeEventListener("keydown",$t.keydownHandler,{capture:$t.keydownListenerCapture}),$t.keydownHandlerAdded=!1),e.parentNode&&e.parentNode.removeChild(e),W()&&(te(),ne(),re(),ae()),Q([document.documentElement,document.body],[k.shown,k["height-auto"],k["no-backdrop"],k["toast-shown"],k["toast-column"]])}function ce(t){var e=T();if(e){var n=yt.innerParams.get(this);if(n&&!F(e,n.hideClass.popup)){var i=se.swalPromiseResolve.get(this);Q(e,n.showClass.popup),Z(e,n.hideClass.popup);var o=D();Q(o,n.showClass.backdrop),Z(o,n.hideClass.backdrop),ue(this,e,n),i(t||{})}}}var ue=function(t,e,n){var i=D(),o=pt&&at(e),r=n.onClose,a=n.onAfterClose;null!==r&&"function"==typeof r&&r(e),o?de(t,e,i,a):le(t,i,U(),a)},de=function(t,e,n,i){$t.swalCloseEventFinishedCallback=le.bind(null,t,n,U(),i),e.addEventListener(pt,(function(t){t.target===e&&($t.swalCloseEventFinishedCallback(),delete $t.swalCloseEventFinishedCallback)}))},he=function(t){for(var e in t)t[e]=new WeakMap},fe=function(t,e){setTimeout((function(){null!==e&&"function"==typeof e&&e(),T()||function(t){delete t.params,delete $t.keydownHandler,delete $t.keydownTarget,he(yt),he(se)}(t)}))};function pe(t,e,n){var i=yt.domCache.get(t);e.forEach((function(t){i[t].disabled=n}))}function me(t,e){if(!t)return!1;if("radio"===t.type)for(var n=t.parentNode.parentNode.querySelectorAll("input"),i=0;i")),dt(t)}function be(t,e){t.removeEventListener(pt,be),e.style.overflowY="auto"}var we,_e=function(t,e){pt&&at(e)?(t.style.overflowY="hidden",e.addEventListener(pt,be.bind(null,e,t))):t.style.overflowY="auto"},ke=function(t,e){!function(){if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!F(document.body,k.iosfix)){var t=document.body.scrollTop;document.body.style.top="".concat(-1*t,"px"),Z(document.body,k.iosfix),ee()}}(),"undefined"!=typeof window&&ie()&&(oe(),window.addEventListener("resize",oe)),h(document.body.children).forEach((function(t){t===D()||function(t,e){if("function"==typeof t.contains)return t.contains(e)}(t,D())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))})),e&&Qt(),setTimeout((function(){t.scrollTop=0}))},xe=function(t,e,n){Z(t,n.showClass.backdrop),nt(e),Z(e,n.showClass.popup),Z([document.documentElement,document.body],k.shown),n.heightAuto&&n.backdrop&&!n.toast&&Z([document.documentElement,document.body],k["height-auto"])},De=function(t){return t.checked?1:0},Se=function(t){return t.checked?t.value:null},Ce=function(t){return t.files.length?null!==t.getAttribute("multiple")?t.files:t.files[0]:null},Te=function(e,n){var i=L(),o=function(t){return Oe[n.input](i,Me(t),n)};y(n.inputOptions)?(It(),n.inputOptions.then((function(t){e.hideLoading(),o(t)}))):"object"===t(n.inputOptions)?o(n.inputOptions):p("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(t(n.inputOptions)))},Ee=function(t,e){var n=t.getInput();it(n),e.inputValue.then((function(i){n.value="number"===e.input?parseFloat(i)||0:"".concat(i),nt(n),n.focus(),t.hideLoading()})).catch((function(e){p("Error in inputValue promise: ".concat(e)),n.value="",nt(n),n.focus(),t.hideLoading()}))},Oe={select:function(t,e,n){var i=tt(t,k.select);e.forEach((function(t){var e=t[0],o=t[1],r=document.createElement("option");r.value=e,r.innerHTML=o,n.inputValue.toString()===e.toString()&&(r.selected=!0),i.appendChild(r)})),i.focus()},radio:function(t,e,n){var i=tt(t,k.radio);e.forEach((function(t){var e=t[0],o=t[1],r=document.createElement("input"),a=document.createElement("label");r.type="radio",r.name=k.radio,r.value=e,n.inputValue.toString()===e.toString()&&(r.checked=!0);var s=document.createElement("span");s.innerHTML=o,s.className=k.label,a.appendChild(r),a.appendChild(s),i.appendChild(a)}));var o=i.querySelectorAll("input");o.length&&o[0].focus()}},Me=function(t){var e=[];return"undefined"!=typeof Map&&t instanceof Map?t.forEach((function(t,n){e.push([n,t])})):Object.keys(t).forEach((function(n){e.push([n,t[n]])})),e},Le=function(t,e){var n=function(t,e){var n=t.getInput();if(!n)return null;switch(e.input){case"checkbox":return De(n);case"radio":return Se(n);case"file":return Ce(n);default:return e.inputAutoTrim?n.value.trim():n.value}}(t,e);e.inputValidator?(t.disableInput(),Promise.resolve().then((function(){return e.inputValidator(n,e.validationMessage)})).then((function(i){t.enableButtons(),t.enableInput(),i?t.showValidationMessage(i):Ae(t,e,n)}))):t.getInput().checkValidity()?Ae(t,e,n):(t.enableButtons(),t.showValidationMessage(e.validationMessage))},Pe=function(t,e){t.closePopup({value:e})},Ae=function(t,e,n){e.showLoaderOnConfirm&&It(),e.preConfirm?(t.resetValidationMessage(),Promise.resolve().then((function(){return e.preConfirm(n,e.validationMessage)})).then((function(e){rt(j())||!1===e?t.hideLoading():Pe(t,void 0===e?n:e)}))):Pe(t,n)},je=function(t,e,n){for(var i=z(),o=0;o:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:-webkit-box!important;display:flex!important;-webkit-box-flex:1;flex:1;align-self:stretch;-webkit-box-pack:center;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:-webkit-box!important;display:flex!important;-webkit-box-flex:1;flex:1;align-content:center;-webkit-box-pack:center;justify-content:center}.swal2-container.swal2-grow-column{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{-webkit-box-align:center;align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{-webkit-box-align:start;align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{-webkit-box-align:end;align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:-webkit-box!important;display:flex!important;-webkit-box-flex:1;flex:1;align-content:center;-webkit-box-pack:center;justify-content:center}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-popup{display:none;position:relative;box-sizing:border-box;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-pack:center;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:-webkit-box;display:flex;z-index:1;flex-wrap:wrap;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;width:100%;margin:1.25em auto 0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.1)),to(rgba(0,0,0,.1)));background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.2)),to(rgba(0,0,0,.2)));background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-actions.swal2-loading .swal2-styled.swal2-confirm{box-sizing:border-box;width:2.5em;height:2.5em;margin:.46875em;padding:0;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{content:"";display:inline-block;width:15px;height:15px;margin-left:5px;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff}.swal2-styled{margin:.3125em;padding:.625em 2em;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-styled:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(50,100,150,.4)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{-webkit-box-pack:center;justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-timer-progress-bar{position:absolute;bottom:0;left:0;width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;z-index:2;top:0;right:0;-webkit-box-pack:center;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;-webkit-transition:color .1s ease-out;transition:color .1s ease-out;border:none;border-radius:0;outline:initial;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{-webkit-transform:none;transform:none;background:0 0;color:#f27474}.swal2-close::-moz-focus-inner{border:0}.swal2-content{z-index:1;-webkit-box-pack:center;justify-content:center;margin:0;padding:0;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:100%;-webkit-transition:border-color .3s,box-shadow .3s;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-file::-webkit-input-placeholder,.swal2-input::-webkit-input-placeholder,.swal2-textarea::-webkit-input-placeholder{color:#ccc}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder,.swal2-input::-ms-input-placeholder,.swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{margin:0 .4em}.swal2-validation-message{display:none;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;-webkit-box-pack:center;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;-webkit-box-flex:1;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:3.75em 3.75em;transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 3.75em;transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.875em;width:1.5625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{-webkit-box-align:center;align-items:center;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#3085d6}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;width:2.5em;height:.4em;margin:0 -1px;background:#3085d6}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{-webkit-transition:none;transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}@-webkit-keyframes swal2-toast-show{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg)}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg)}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg)}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg)}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg)}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg)}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - .625em * 2);background-color:transparent!important}body.swal2-no-backdrop .swal2-container>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-container.swal2-top{top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-top-left,body.swal2-no-backdrop .swal2-container.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-top-end,body.swal2-no-backdrop .swal2-container.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-container.swal2-center{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-left,body.swal2-no-backdrop .swal2-container.swal2-center-start{top:50%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-end,body.swal2-no-backdrop .swal2-container.swal2-center-right{top:50%;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom{bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom-left,body.swal2-no-backdrop .swal2-container.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-bottom-end,body.swal2-no-backdrop .swal2-container.swal2-bottom-right{right:0;bottom:0}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{-webkit-box-flex:1;flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{-webkit-box-pack:center;justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}')},PWE2:function(t,e,n){(function(t){!function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;e.define("select2/i18n/fr",[],(function(){return{errorLoading:function(){return"Les résultats ne peuvent pas être chargés."},inputTooLong:function(t){var e=t.input.length-t.maximum;return"Supprimez "+e+" caractère"+(e>1?"s":"")},inputTooShort:function(t){var e=t.minimum-t.input.length;return"Saisissez au moins "+e+" caractère"+(e>1?"s":"")},loadingMore:function(){return"Chargement de résultats supplémentaires…"},maximumSelected:function(t){return"Vous pouvez seulement sélectionner "+t.maximum+" élément"+(t.maximum>1?"s":"")},noResults:function(){return"Aucun résultat trouvé"},searching:function(){return"Recherche en cours…"},removeAllItems:function(){return"Supprimer tous les éléments"}}})),e.define,e.require}()}).call(this,n("EVdn"))},QWBl:function(t,e,n){"use strict";var i=n("I+eb"),o=n("F8JR");i({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},Qiut:function(t,e,n){},Qo9l:function(t,e,n){t.exports=n("2oRo")},Qwlt:function(t,e,n){var i,o,r;o=[n("EVdn")],void 0===(r="function"==typeof(i=function(t){return t.ui=t.ui||{},t.ui.version="1.12.1"})?i.apply(e,o):i)||(t.exports=r)},R5XZ:function(t,e,n){var i=n("I+eb"),o=n("2oRo"),r=n("s5pE"),a=[].slice,s=function(t){return function(e,n){var i=arguments.length>2,o=i?a.call(arguments,2):void 0;return t(i?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};i({global:!0,bind:!0,forced:/MSIE .\./.test(r)},{setTimeout:s(o.setTimeout),setInterval:s(o.setInterval)})},RK3t:function(t,e,n){var i=n("0Dky"),o=n("xrYK"),r="".split;t.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?r.call(t,""):Object(t)}:Object},RNIs:function(t,e,n){var i=n("tiKp"),o=n("fHMY"),r=n("kRJp"),a=i("unscopables"),s=Array.prototype;null==s[a]&&r(s,a,o(null)),t.exports=function(t){s[a][t]=!0}},ROdP:function(t,e,n){var i=n("hh1v"),o=n("xrYK"),r=n("tiKp")("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[r])?!!e:"RegExp"==o(t))}},Rm1S:function(t,e,n){"use strict";var i=n("14Sl"),o=n("glrk"),r=n("UMSQ"),a=n("HYAF"),s=n("iqWW"),l=n("FMNM");i("match",1,(function(t,e,n){return[function(e){var n=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,n):new RegExp(e)[t](String(n))},function(t){var i=n(e,t,this);if(i.done)return i.value;var a=o(t),c=String(this);if(!a.global)return l(a,c);var u=a.unicode;a.lastIndex=0;for(var d,h=[],f=0;null!==(d=l(a,c));){var p=String(d[0]);h[f]=p,""===p&&(a.lastIndex=s(c,r(a.lastIndex),u)),f++}return 0===f?null:h}]}))},SEBh:function(t,e,n){var i=n("glrk"),o=n("HAuM"),r=n("tiKp")("species");t.exports=function(t,e){var n,a=i(t).constructor;return void 0===a||null==(n=i(a)[r])?e:o(n)}},STAE:function(t,e,n){var i=n("0Dky");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())}))},SYor:function(t,e,n){"use strict";var i=n("I+eb"),o=n("WKiH").trim;i({target:"String",proto:!0,forced:n("4HCi")("trim")},{trim:function(){return o(this)}})},T63A:function(t,e,n){var i=n("I+eb"),o=n("b1O7").entries;i({target:"Object",stat:!0},{entries:function(t){return o(t)}})},TWQb:function(t,e,n){var i=n("/GqU"),o=n("UMSQ"),r=n("I8vh"),a=function(t){return function(e,n,a){var s,l=i(e),c=o(l.length),u=r(a,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},TX00:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return u}));n("pNMO"),n("4Brf"),n("0oug"),n("yq1k"),n("4mDm"),n("oVuX"),n("uL8W"),n("eoL8"),n("NBAS"),n("ExoC"),n("07d7"),n("rB9j"),n("JTJg"),n("PKPk"),n("EnZy"),n("3bBZ");var i=n("EVdn"),o=n.n(i);function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n1?arguments[1]:void 0)}})},ToJy:function(t,e,n){"use strict";var i=n("I+eb"),o=n("HAuM"),r=n("ewvW"),a=n("0Dky"),s=n("swFL"),l=[],c=l.sort,u=a((function(){l.sort(void 0)})),d=a((function(){l.sort(null)})),h=s("sort");i({target:"Array",proto:!0,forced:u||!d||h},{sort:function(t){return void 0===t?c.call(r(this)):c.call(r(this),o(t))}})},UMSQ:function(t,e,n){var i=n("ppGB"),o=Math.min;t.exports=function(t){return t>0?o(i(t),9007199254740991):0}},UTVS:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},UxlC:function(t,e,n){"use strict";var i=n("14Sl"),o=n("glrk"),r=n("ewvW"),a=n("UMSQ"),s=n("ppGB"),l=n("HYAF"),c=n("iqWW"),u=n("FMNM"),d=Math.max,h=Math.min,f=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;i("replace",2,(function(t,e,n){return[function(n,i){var o=l(this),r=null==n?void 0:n[t];return void 0!==r?r.call(n,o,i):e.call(String(o),n,i)},function(t,r){var l=n(e,t,this,r);if(l.done)return l.value;var f=o(t),p=String(this),m="function"==typeof r;m||(r=String(r));var g=f.global;if(g){var v=f.unicode;f.lastIndex=0}for(var y=[];;){var b=u(f,p);if(null===b)break;if(y.push(b),!g)break;""===String(b[0])&&(f.lastIndex=c(p,a(f.lastIndex),v))}for(var w,_="",k=0,x=0;x=k&&(_+=p.slice(k,S)+M,k=S+D.length)}return _+p.slice(k)}];function i(t,n,i,o,a,s){var l=i+t.length,c=o.length,u=m;return void 0!==a&&(a=r(a),u=p),e.call(s,u,(function(e,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,i);case"'":return n.slice(l);case"<":s=a[r.slice(1,-1)];break;default:var u=+r;if(0===u)return e;if(u>c){var d=f(u/10);return 0===d?e:d<=c?void 0===o[d-1]?r.charAt(1):o[d-1]+r.charAt(1):e}s=o[u-1]}return void 0===s?"":s}))}}))},"VSY+":function(t,e,n){(function(t){if(void 0===t)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(t),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",(function(){n=!0}));return setTimeout((function(){n||t(i).trigger(t.support.transition.end)}),e),this},t((function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})}))}(t),function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.VERSION="3.4.1",n.TRANSITION_DURATION=150,n.prototype.close=function(e){var i=t(this),o=i.attr("data-target");o||(o=(o=i.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,"")),o="#"===o?[]:o;var r=t(document).find(o);function a(){r.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),r.length||(r=i.closest(".alert")),r.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(r.removeClass("in"),t.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a())};var i=t.fn.alert;t.fn.alert=function(e){return this.each((function(){var i=t(this),o=i.data("bs.alert");o||i.data("bs.alert",o=new n(this)),"string"==typeof e&&o[e].call(i)}))},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.bs.alert.data-api",e,n.prototype.close)}(t),function(t){"use strict";var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.isLoading=!1};function n(n){return this.each((function(){var i=t(this),o=i.data("bs.button"),r="object"==typeof n&&n;o||i.data("bs.button",o=new e(this,r)),"toggle"==n?o.toggle():n&&o.setState(n)}))}e.VERSION="3.4.1",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var n="disabled",i=this.$element,o=i.is("input")?"val":"html",r=i.data();e+="Text",null==r.resetText&&i.data("resetText",i[o]()),setTimeout(t.proxy((function(){i[o](null==r[e]?this.options[e]:r[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n).prop(n,!1))}),this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=n,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(e){var i=t(e.target).closest(".btn");n.call(i,"toggle"),t(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),i.is("input,button")?i.trigger("focus"):i.find("input:visible,button:visible").first().trigger("focus"))})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))}))}(t),function(t){"use strict";var e=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function n(n){return this.each((function(){var i=t(this),o=i.data("bs.carousel"),r=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n),a="string"==typeof n?n:r.slide;o||i.data("bs.carousel",o=new e(this,r)),"number"==typeof n?o.to(n):a?o[a]():r.interval&&o.pause().cycle()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var i=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(i)},e.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(n,i){var o=this.$element.find(".item.active"),r=i||this.getItemForDirection(n,o),a=this.interval,s="next"==n?"left":"right",l=this;if(r.hasClass("active"))return this.sliding=!1;var c=r[0],u=t.Event("slide.bs.carousel",{relatedTarget:c,direction:s});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=t(this.$indicators.children()[this.getItemIndex(r)]);d&&d.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:c,direction:s});return t.support.transition&&this.$element.hasClass("slide")?(r.addClass(n),"object"==typeof r&&r.length&&r[0].offsetWidth,o.addClass(s),r.addClass(s),o.one("bsTransitionEnd",(function(){r.removeClass([n,s].join(" ")).addClass("active"),o.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout((function(){l.$element.trigger(h)}),0)})).emulateTransitionEnd(e.TRANSITION_DURATION)):(o.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(h)),a&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=n,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var o=function(e){var i=t(this),o=i.attr("href");o&&(o=o.replace(/.*(?=#[^\s]+$)/,""));var r=i.attr("data-target")||o,a=t(document).find(r);if(a.hasClass("carousel")){var s=t.extend({},a.data(),i.data()),l=i.attr("data-slide-to");l&&(s.interval=!1),n.call(a,s),l&&a.data("bs.carousel").to(l),e.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),t(window).on("load",(function(){t('[data-ride="carousel"]').each((function(){var e=t(this);n.call(e,e.data())}))}))}(t),function(t){"use strict";var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(document).find(i)}function i(n){return this.each((function(){var i=t(this),o=i.data("bs.collapse"),r=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n);!o&&r.toggle&&/show|hide/.test(n)&&(r.toggle=!1),o||i.data("bs.collapse",o=new e(this,r)),"string"==typeof n&&o[n]()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(n=o.data("bs.collapse"))&&n.transitioning)){var r=t.Event("show.bs.collapse");if(this.$element.trigger(r),!r.isDefaultPrevented()){o&&o.length&&(i.call(o,"hide"),n||o.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[a](this.$element[0][l])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=t.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return o.call(this);this.$element[i](0).one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy((function(e,i){var o=t(i);this.addAriaAndCollapsedClass(n(o),o)}),this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var o=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=o,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(e){var o=t(this);o.attr("data-target")||e.preventDefault();var r=n(o),a=r.data("bs.collapse")?"toggle":o.data();i.call(r,a)}))}(t),function(t){"use strict";var e=".dropdown-backdrop",n='[data-toggle="dropdown"]',i=function(e){t(e).on("click.bs.dropdown",this.toggle)};function o(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i="#"!==n?t(document).find(n):null;return i&&i.length?i:e.parent()}function r(i){i&&3===i.which||(t(e).remove(),t(n).each((function(){var e=t(this),n=o(e),r={relatedTarget:this};n.hasClass("open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&t.contains(n[0],i.target)||(n.trigger(i=t.Event("hide.bs.dropdown",r)),i.isDefaultPrevented()||(e.attr("aria-expanded","false"),n.removeClass("open").trigger(t.Event("hidden.bs.dropdown",r)))))})))}i.VERSION="3.4.1",i.prototype.toggle=function(e){var n=t(this);if(!n.is(".disabled, :disabled")){var i=o(n),a=i.hasClass("open");if(r(),!a){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",r);var s={relatedTarget:this};if(i.trigger(e=t.Event("show.bs.dropdown",s)),e.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),i.toggleClass("open").trigger(t.Event("shown.bs.dropdown",s))}return!1}},i.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var i=t(this);if(e.preventDefault(),e.stopPropagation(),!i.is(".disabled, :disabled")){var r=o(i),a=r.hasClass("open");if(!a&&27!=e.which||a&&27==e.which)return 27==e.which&&r.find(n).trigger("focus"),i.trigger("click");var s=r.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var l=s.index(e.target);38==e.which&&l>0&&l--,40==e.which&&ldocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth
        ',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:i},l.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(document).find(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),r=o.length;r--;){var a=o[r];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},l.prototype.getDefaults=function(){return l.DEFAULTS},l.prototype.getOptions=function(n){var i=this.$element.data();for(var o in i)i.hasOwnProperty(o)&&-1!==t.inArray(o,e)&&delete i[o];return(n=t.extend({},this.getDefaults(),i,n)).delay&&"number"==typeof n.delay&&(n.delay={show:n.delay,hide:n.delay}),n.sanitize&&(n.template=s(n.template,n.whiteList,n.sanitizeFn)),n},l.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,(function(t,i){n[t]!=i&&(e[t]=i)})),e},l.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout((function(){"in"==n.hoverState&&n.show()}),n.options.delay.show)}},l.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},l.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout((function(){"out"==n.hoverState&&n.hide()}),n.options.delay.hide)}},l.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var i=this,o=this.tip(),r=this.getUID(this.type);this.setContent(),o.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&o.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,s=/\s?auto?\s?/i,c=s.test(a);c&&(a=a.replace(s,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?o.appendTo(t(document).find(this.options.container)):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),d=o[0].offsetWidth,h=o[0].offsetHeight;if(c){var f=a,p=this.getPosition(this.$viewport);a="bottom"==a&&u.bottom+h>p.bottom?"top":"top"==a&&u.top-hp.width?"left":"left"==a&&u.left-da.top+a.height&&(o.top=a.top+a.height-l)}else{var c=e.left-r,u=e.left+r+n;ca.right&&(o.left=a.left+a.width-u)}return o},l.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},l.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},l.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},l.prototype.enable=function(){this.enabled=!0},l.prototype.disable=function(){this.enabled=!1},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled},l.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},l.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null}))},l.prototype.sanitizeHtml=function(t){return s(t,this.options.whiteList,this.options.sanitizeFn)};var c=t.fn.tooltip;t.fn.tooltip=function(e){return this.each((function(){var n=t(this),i=n.data("bs.tooltip"),o="object"==typeof e&&e;!i&&/destroy|hide/.test(e)||(i||n.data("bs.tooltip",i=new l(this,o)),"string"==typeof e&&i[e]())}))},t.fn.tooltip.Constructor=l,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=c,this}}(t),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.4.1",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();if(this.options.html){var i=typeof n;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===i&&(n=this.sanitizeHtml(n))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===i?"html":"append"](n)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(n);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=function(n){return this.each((function(){var i=t(this),o=i.data("bs.popover"),r="object"==typeof n&&n;!o&&/destroy|hide/.test(n)||(o||i.data("bs.popover",o=new e(this,r)),"string"==typeof n&&o[n]())}))},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(t),function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(n).is(document.body)?t(window):t(n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each((function(){var i=t(this),o=i.data("bs.scrollspy"),r="object"==typeof n&&n;o||i.data("bs.scrollspy",o=new e(this,r)),"string"==typeof n&&o[n]()}))}e.VERSION="3.4.1",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var e=t(this),o=e.data("target")||e.attr("href"),r=/^#./.test(o)&&t(o);return r&&r.length&&r.is(":visible")&&[[r[n]().top+i,o]]||null})).sort((function(t,e){return t[0]-e[0]})).each((function(){e.offsets.push(this[0]),e.targets.push(this[1])}))},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,r=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return a!=(t=r[r.length-1])&&this.activate(t);if(a&&e=o[t]&&(void 0===o[t+1]||e .active"),a=o&&t.support.transition&&(r.length&&r.hasClass("fade")||!!i.find("> .fade").length);function s(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}r.length&&a?r.one("bsTransitionEnd",s).emulateTransitionEnd(e.TRANSITION_DURATION):s(),r.removeClass("in")};var i=t.fn.tab;t.fn.tab=n,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var o=function(e){e.preventDefault(),n.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(t),function(t){"use strict";var e=function(n,i){this.options=t.extend({},e.DEFAULTS,i);var o=this.options.target===e.DEFAULTS.target?t(this.options.target):t(document).find(this.options.target);this.$target=o.on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each((function(){var i=t(this),o=i.data("bs.affix"),r="object"==typeof n&&n;o||i.data("bs.affix",o=new e(this,r)),"string"==typeof n&&o[n]()}))}e.VERSION="3.4.1",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,n,i){var o=this.$target.scrollTop(),r=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return o=t-i&&"bottom"},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),i=this.options.offset,o=i.top,r=i.bottom,a=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(r=o=i),"function"==typeof o&&(o=i.top(this.$element)),"function"==typeof r&&(r=i.bottom(this.$element));var s=this.getState(a,n,o,r);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),c=t.Event(l+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-n-r})}};var i=t.fn.affix;t.fn.affix=n,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",(function(){t('[data-spy="affix"]').each((function(){var e=t(this),i=e.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),n.call(e,i)}))}))}(t)}).call(this,n("EVdn"))},VdOU:function(t,e,n){(function(t){!function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;e.define("select2/i18n/ko",[],(function(){return{errorLoading:function(){return"결과를 불러올 수 없습니다."},inputTooLong:function(t){return"너무 깁니다. "+(t.input.length-t.maximum)+" 글자 지워주세요."},inputTooShort:function(t){return"너무 짧습니다. "+(t.minimum-t.input.length)+" 글자 더 입력해주세요."},loadingMore:function(){return"불러오는 중…"},maximumSelected:function(t){return"최대 "+t.maximum+"개까지만 선택 가능합니다."},noResults:function(){return"결과가 없습니다."},searching:function(){return"검색 중…"},removeAllItems:function(){return"모든 항목 삭제"}}})),e.define,e.require}()}).call(this,n("EVdn"))},VpIT:function(t,e,n){var i=n("xDBR"),o=n("xs3f");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.4.2",mode:i?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},Vu81:function(t,e,n){var i=n("0GbY"),o=n("JBy8"),r=n("dBg+"),a=n("glrk");t.exports=i("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=r.f;return n?e.concat(n(t)):e}},WJkJ:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},WKiH:function(t,e,n){var i=n("HYAF"),o="["+n("WJkJ")+"]",r=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(t){return function(e){var n=String(i(e));return 1&t&&(n=n.replace(r,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},WjRb:function(t,e,n){var i=n("ROdP");t.exports=function(t){if(i(t))throw TypeError("The method doesn't accept regular expressions");return t}},WxRl:function(t,e,n){!function(t){"use strict";var e="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(t,e,n,i){var o=t;switch(n){case"s":return i||e?"néhány másodperc":"néhány másodperce";case"ss":return o+(i||e)?" másodperc":" másodperce";case"m":return"egy"+(i||e?" perc":" perce");case"mm":return o+(i||e?" perc":" perce");case"h":return"egy"+(i||e?" óra":" órája");case"hh":return o+(i||e?" óra":" órája");case"d":return"egy"+(i||e?" nap":" napja");case"dd":return o+(i||e?" nap":" napja");case"M":return"egy"+(i||e?" hónap":" hónapja");case"MM":return o+(i||e?" hónap":" hónapja");case"y":return"egy"+(i||e?" év":" éve");case"yy":return o+(i||e?" év":" éve")}return""}function i(t){return(t?"":"[múlt] ")+"["+e[this.day()]+"] LT[-kor]"}t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},WySY:function(t,e,n){},X709:function(t,e,n){!function(t){"use strict";t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"e":1===e?"a":2===e?"a":"e")},week:{dow:1,doy:4}})}(n("wd/R"))},XDpg:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(n("wd/R"))},XGwC:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},YK6W:function(t,e,n){var i,o,r=n("2oRo"),a=n("s5pE"),s=r.process,l=s&&s.versions,c=l&&l.v8;c?o=(i=c.split("."))[0]+i[1]:a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(o=i[1]),t.exports=o&&+o},ZUd8:function(t,e,n){var i=n("ppGB"),o=n("HYAF"),r=function(t){return function(e,n){var r,a,s=String(o(e)),l=i(n),c=s.length;return l<0||l>=c?t?"":void 0:(r=s.charCodeAt(l))<55296||r>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):r:t?s.slice(l,l+2):a-56320+(r-55296<<10)+65536}};t.exports={codeAt:r(!1),charAt:r(!0)}},ZfDv:function(t,e,n){var i=n("hh1v"),o=n("6LWA"),r=n("tiKp")("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[r])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},afO8:function(t,e,n){var i,o,r,a=n("f5p1"),s=n("2oRo"),l=n("hh1v"),c=n("kRJp"),u=n("UTVS"),d=n("93I0"),h=n("0BK2"),f=s.WeakMap;if(a){var p=new f,m=p.get,g=p.has,v=p.set;i=function(t,e){return v.call(p,t,e),e},o=function(t){return m.call(p,t)||{}},r=function(t){return g.call(p,t)}}else{var y=d("state");h[y]=!0,i=function(t,e){return c(t,y,e),e},o=function(t){return u(t,y)?t[y]:{}},r=function(t){return u(t,y)}}t.exports={set:i,get:o,has:r,enforce:function(t){return r(t)?o(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},b1O7:function(t,e,n){var i=n("g6v/"),o=n("33Wh"),r=n("/GqU"),a=n("0eef").f,s=function(t){return function(e){for(var n,s=r(e),l=o(s),c=l.length,u=0,d=[];c>u;)n=l[u++],i&&!a.call(s,n)||d.push(t?[n,s[n]]:s[n]);return d}};t.exports={entries:s(!0),values:s(!1)}},bpih:function(t,e,n){!function(t){"use strict";t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},busE:function(t,e,n){var i=n("2oRo"),o=n("VpIT"),r=n("kRJp"),a=n("UTVS"),s=n("zk60"),l=n("noGo"),c=n("afO8"),u=c.get,d=c.enforce,h=String(l).split("toString");o("inspectSource",(function(t){return l.call(t)})),(t.exports=function(t,e,n,o){var l=!!o&&!!o.unsafe,c=!!o&&!!o.enumerable,u=!!o&&!!o.noTargetGet;"function"==typeof n&&("string"!=typeof e||a(n,"name")||r(n,"name",e),d(n).source=h.join("string"==typeof e?e:"")),t!==i?(l?!u&&t[e]&&(c=!0):delete t[e],c?t[e]=n:r(t,e,n)):c?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||l.call(this)}))},ckYw:function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return a}));n("pNMO"),n("4Brf"),n("0oug"),n("fbCW"),n("4mDm"),n("eoL8"),n("07d7"),n("rB9j"),n("PKPk"),n("UxlC"),n("EnZy"),n("3bBZ");var i=n("EVdn"),o=n.n(i);function r(t,e){for(var n=0;n
        '),this.widget=o()(this.selector),this.href=this.widget.data("href"),this.events=this.widget.data("reload").split(" ");var n=this,i=function(t){var e=o()(n.selector+" .box-tools").data("page"),i=n._buildUrl(e);n.loadPage(i)},r=!0,a=!1,s=void 0;try{for(var l,c=this.events[Symbol.iterator]();!(r=(l=c.next()).done);r=!0){var u=l.value;document.addEventListener(u,i)}}catch(t){a=!0,s=t}finally{try{r||null==c.return||c.return()}finally{if(a)throw s}}this.widget.on("click",".box-tools a",(function(t){t.preventDefault(),n.loadPage(o()(t.target).attr("href"))}))}var e,n,i;return e=t,i=[{key:"create",value:function(e){return new t(e)}}],(n=[{key:"_showOverlay",value:function(){this.widget.append(this.overlay)}},{key:"_hideOverlay",value:function(){o()(this.overlay).remove()}},{key:"loadPage",value:function(t){var e=this,n=this.selector;e._showOverlay(),o.a.ajax({url:t,data:{},success:function(t){var i=o()(t);o()(n+" .box-tools").replaceWith(i.find(".box-tools")),o()(n+" .box-body").replaceWith(i.find(".box-body")),e.widget.removeData("error-retry"),e._hideOverlay()},dataType:"html",error:function(t,i,r){if(void 0!==t.status&&500===t.status){if(void 0!==e.widget.data("error-retry"))return;var a=o()(n+" .box-tools").data("page");if(a>1){e.widget.data("error-retry",1);var s=e._buildUrl(a-1);e.loadPage(s)}}e._hideOverlay()}})}},{key:"_buildUrl",value:function(t){return this.href.replace("1",t)}}])&&r(e.prototype,n),i&&r(e,i),t}()},"dBg+":function(t,e){e.f=Object.getOwnPropertySymbols},"dG/n":function(t,e,n){var i=n("Qo9l"),o=n("UTVS"),r=n("wDLo"),a=n("m/L8").f;t.exports=function(t){var e=i.Symbol||(i.Symbol={});o(e,t)||a(e,t,{value:r.f(t)})}},"dQ1+":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));n("eoL8");var i=n("C9gY");function o(t,e){for(var n=0;n"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(t){return!1}return!1}}function g(t,e,n,i){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&m(t,e):m(t,e))||i&&t===n)return t;if(t===n)break}while(t=(o=t).host&&o!==document&&o.host.nodeType?o.host:o.parentNode)}var o;return null}var v,y=/\s+/g;function b(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(y," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(y," ")}}function w(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in i||-1!==e.indexOf("webkit")||(e="-webkit-"+e),i[e]=n+("string"==typeof n?"":"px")}}function _(t,e){var n="";if("string"==typeof t)n=t;else do{var i=w(t,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!e&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix;return o&&new o(n)}function k(t,e,n){if(t){var i=t.getElementsByTagName(e),o=0,r=i.length;if(n)for(;o=o.left-r&&t<=o.right+r,s=e>=o.top-r&&e<=o.bottom+r;return r&&a&&s?n=i:void 0}})),n}((t=t.touches?t.touches[0]:t).clientX,t.clientY);if(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[$]._onDragOver(n)}}}function At(t){U&&U.parentNode[$]._isOutsideThisEl(t.target)}function jt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=n({},e),t[$]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Et(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==jt.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var r in N.initializePlugins(this,t,o),o)r in e||(e[r]=o[r]);for(var a in Ot(e),this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!e.forceFallback&&Ct,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?f(t,"pointerdown",this._onTapStart):(f(t,"mousedown",this._onTapStart),f(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(f(t,"dragover",this),f(t,"dragenter",this)),vt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),n(this,function(){var t,e=[];return{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==w(t,"display")&&t!==jt.ghost){e.push({target:t,rect:D(t)});var n=i({},e[e.length-1].rect);if(t.thisAnimationDuration){var o=_(t,!0);o&&(n.top-=o.f,n.left-=o.e)}t.fromRect=n}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var i in e)if(e.hasOwnProperty(i)&&e[i]===t[n][i])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(n){var i=this;if(!this.options.animation)return clearTimeout(t),void("function"==typeof n&&n());var o=!1,r=0;e.forEach((function(t){var e=0,n=t.target,a=n.fromRect,s=D(n),l=n.prevFromRect,c=n.prevToRect,u=t.rect,d=_(n,!0);d&&(s.top-=d.f,s.left-=d.e),n.toRect=s,n.thisAnimationDuration&&L(l,s)&&!L(a,s)&&(u.top-s.top)/(u.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(e=function(t,e,n,i){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*i.animation}(u,l,c,i.options)),L(s,a)||(n.prevFromRect=a,n.prevToRect=s,e||(e=i.options.animation),i.animate(n,u,s,e)),e&&(o=!0,r=Math.max(r,e),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),e),n.thisAnimationDuration=e)})),clearTimeout(t),o?t=setTimeout((function(){"function"==typeof n&&n()}),r):"function"==typeof n&&n(),e=[]},animate:function(t,e,n,i){if(i){w(t,"transition",""),w(t,"transform","");var o=_(this.el),r=o&&o.a,a=o&&o.d,s=(e.left-n.left)/(r||1),l=(e.top-n.top)/(a||1);t.animatingX=!!s,t.animatingY=!!l,w(t,"transform","translate3d("+s+"px,"+l+"px,0)"),function(t){t.offsetWidth}(t),w(t,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),w(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){w(t,"transition",""),w(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),i)}}}}())}function Yt(t,e,n,i,o,r,l,c){var u,d,h=t[$],f=h.options.onMove;return!window.CustomEvent||a||s?(u=document.createEvent("Event")).initEvent("move",!0,!0):u=new CustomEvent("move",{bubbles:!0,cancelable:!0}),u.to=e,u.from=t,u.dragged=n,u.draggedRect=i,u.related=o||e,u.relatedRect=r||D(e),u.willInsertAfter=c,u.originalEvent=l,t.dispatchEvent(u),f&&(d=f.call(h,u,l)),d}function It(t){t.draggable=!1}function $t(){_t=!1}function Rt(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;n--;)i+=e.charCodeAt(n);return i.toString(36)}function Ht(t){return setTimeout(t,0)}function Nt(t){return clearTimeout(t)}xt&&document.addEventListener("click",(function(t){if(gt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),gt=!1}),!0),jt.prototype={constructor:jt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(dt=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,U):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,i=this.options,o=i.preventOnFilter,r=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,c=i.filter;if(function(t){kt.length=0;for(var e=t.getElementsByTagName("input"),n=e.length;n--;){var i=e[n];i.checked&&kt.push(i)}}(n),!U&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||i.disabled||l.isContentEditable||(s=g(s,i.draggable,n,!1))&&s.animated||K===s)){if(Z=E(s),tt=E(s,i.draggable),"function"==typeof c){if(c.call(this,t,s,this))return W({sortable:e,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),z("filter",e,{evt:t}),void(o&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(i){if(i=g(l,i.trim(),n,!1))return W({sortable:e,rootEl:i,name:"filter",targetEl:s,fromEl:n,toEl:n}),z("filter",e,{evt:t}),!0}))))return void(o&&t.cancelable&&t.preventDefault());i.handle&&!g(l,i.handle,n,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,e,n){var i,o=this,r=o.el,c=o.options,u=r.ownerDocument;if(n&&!U&&n.parentNode===r){var d=D(n);if(V=r,q=(U=n).parentNode,G=U.nextSibling,K=n,nt=c.group,ot={target:jt.dragged=U,clientX:(e||t).clientX,clientY:(e||t).clientY},lt=ot.clientX-d.left,ct=ot.clientY-d.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,U.style["will-change"]="all",i=function(){z("delayEnded",o,{evt:t}),jt.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!l&&o.nativeDraggable&&(U.draggable=!0),o._triggerDragStart(t,e),W({sortable:o,name:"choose",originalEvent:t}),b(U,c.chosenClass,!0))},c.ignore.split(",").forEach((function(t){k(U,t.trim(),It)})),f(u,"dragover",Pt),f(u,"mousemove",Pt),f(u,"touchmove",Pt),f(u,"mouseup",o._onDrop),f(u,"touchend",o._onDrop),f(u,"touchcancel",o._onDrop),l&&this.nativeDraggable&&(this.options.touchStartThreshold=4,U.draggable=!0),z("delayStart",this,{evt:t}),!c.delay||c.delayOnTouchOnly&&!e||this.nativeDraggable&&(s||a))i();else{if(jt.eventCanceled)return void this._onDrop();f(u,"mouseup",o._disableDelayedDrag),f(u,"touchend",o._disableDelayedDrag),f(u,"touchcancel",o._disableDelayedDrag),f(u,"mousemove",o._delayedDragTouchMoveHandler),f(u,"touchmove",o._delayedDragTouchMoveHandler),c.supportPointer&&f(u,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(i,c.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){U&&It(U),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;p(t,"mouseup",this._disableDelayedDrag),p(t,"touchend",this._disableDelayedDrag),p(t,"touchcancel",this._disableDelayedDrag),p(t,"mousemove",this._delayedDragTouchMoveHandler),p(t,"touchmove",this._delayedDragTouchMoveHandler),p(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?f(document,"pointermove",this._onTouchMove):f(document,e?"touchmove":"mousemove",this._onTouchMove):(f(U,"dragend",this),f(V,"dragstart",this._onDragStart));try{document.selection?Ht((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,e){if(mt=!1,V&&U){z("dragStarted",this,{evt:e}),this.nativeDraggable&&f(document,"dragover",At);var n=this.options;t||b(U,n.dragClass,!1),b(U,n.ghostClass,!0),jt.active=this,t&&this._appendGhost(),W({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(rt){this._lastX=rt.clientX,this._lastY=rt.clientY,Mt();for(var t=document.elementFromPoint(rt.clientX,rt.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(rt.clientX,rt.clientY))!==e;)e=t;if(U.parentNode[$]._isOutsideThisEl(t),e)do{if(e[$]&&e[$]._onDragOver({clientX:rt.clientX,clientY:rt.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break;t=e}while(e=e.parentNode);Lt()}},_onTouchMove:function(t){if(ot){var e=this.options,n=e.fallbackTolerance,i=e.fallbackOffset,o=t.touches?t.touches[0]:t,r=F&&_(F),a=F&&r&&r.a,s=F&&r&&r.d,l=Dt&&pt&&O(pt),c=(o.clientX-ot.clientX+i.x)/(a||1)+(l?l[0]-wt[0]:0)/(a||1),u=(o.clientY-ot.clientY+i.y)/(s||1)+(l?l[1]-wt[1]:0)/(s||1);if(!jt.active&&!mt){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))i.right+10||t.clientX<=i.right&&t.clientY>i.bottom&&t.clientX>=i.left:t.clientX>i.right&&t.clientY>i.top||t.clientX<=i.right&&t.clientY>i.bottom+10}(t,r,this)&&!v.animated){if(v===U)return N(!1);if(v&&a===t.target&&(s=v),s&&(n=D(s)),!1!==Yt(V,a,U,e,s,n,t,!!s))return H(),a.appendChild(U),q=a,B(),N(!0)}else if(s.parentNode===a){n=D(s);var y,_,k,x=U.parentNode!==a,C=!function(t,e,n){var i=n?t.left:t.top,o=n?t.right:t.bottom,r=n?t.width:t.height,a=n?e.left:e.top,s=n?e.right:e.bottom,l=n?e.width:e.height;return i===a||o===s||i+r/2===a+l/2}(U.animated&&U.toRect||e,s.animated&&s.toRect||n,r),O=r?"top":"left",M=S(s,"top","top")||S(U,"top","top"),L=M?M.scrollTop:void 0;if(dt!==s&&(_=n[O],yt=!1,bt=!C&&l.invertSwap||x),0!==(y=function(t,e,n,i,o,r,a,s){var l=i?t.clientY:t.clientX,c=i?n.height:n.width,u=i?n.top:n.left,d=i?n.bottom:n.right,h=!1;if(!a)if(s&&ft1&&t<5}function o(t,e,n,o){var r=t+" ";switch(n){case"s":return e||o?"pár sekúnd":"pár sekundami";case"ss":return e||o?r+(i(t)?"sekundy":"sekúnd"):r+"sekundami";case"m":return e?"minúta":o?"minútu":"minútou";case"mm":return e||o?r+(i(t)?"minúty":"minút"):r+"minútami";case"h":return e?"hodina":o?"hodinu":"hodinou";case"hh":return e||o?r+(i(t)?"hodiny":"hodín"):r+"hodinami";case"d":return e||o?"deň":"dňom";case"dd":return e||o?r+(i(t)?"dni":"dní"):r+"dňami";case"M":return e||o?"mesiac":"mesiacom";case"MM":return e||o?r+(i(t)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return e||o?"rok":"rokom";case"yy":return e||o?r+(i(t)?"roky":"rokov"):r+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},e0G9:function(t,e,n){(function(t){!function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;e.define("select2/i18n/hu",[],(function(){return{errorLoading:function(){return"Az eredmények betöltése nem sikerült."},inputTooLong:function(t){return"Túl hosszú. "+(t.input.length-t.maximum)+" karakterrel több, mint kellene."},inputTooShort:function(t){return"Túl rövid. Még "+(t.minimum-t.input.length)+" karakter hiányzik."},loadingMore:function(){return"Töltés…"},maximumSelected:function(t){return"Csak "+t.maximum+" elemet lehet kiválasztani."},noResults:function(){return"Nincs találat."},searching:function(){return"Keresés…"},removeAllItems:function(){return"Távolítson el minden elemet"}}})),e.define,e.require}()}).call(this,n("EVdn"))},"eDl+":function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},eFaj:function(t,e,n){"use strict";n("2B1R"),n("eoL8"),n("rB9j"),n("UxlC");var i=n("wd/R"),o=n.n(i),r=n("7LP0"),a=n("sZbX"),s=n("C9gY"),l=(n("pNMO"),n("4Brf"),n("0oug"),n("4mDm"),n("+2oP"),n("DQNa"),n("uL8W"),n("NBAS"),n("ExoC"),n("07d7"),n("4l63"),n("JfAA"),n("PKPk"),n("3bBZ"),n("R5XZ"),n("dQ1+"));function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var n=0;n');var o=y()(n+" :input").filter((function(t,e){return""!=y()(e).val()})).serialize();y.a.ajax({url:i.attr("action"),type:i.attr("method"),data:o,success:function(n){y()(t).replaceWith(y()(n).find(t)),e.updateRecords()},error:function(t,e){i.submit()}})}}])&&R(n.prototype,i),o&&R(n,o),e}(l.a);function W(t){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){for(var n=0;n0&&(i=!1);break;case"project":y()(t+" select#activity").length>0&&(i=!1)}y()(t+" input#page").val(1),i&&e.triggerChange()})),y()(t+" select.selectpicker").on("change",(function(t){y()(".bootstrap-select.open").removeClass("open")}))}},{key:"_registerSearchButtons",value:function(t){y()("body").on("click",".btn-search.search-toggle",(function(e){e.preventDefault(),e.stopPropagation(),y()(t).parent("section").toggleClass("search-open"),y()(t).toggleClass("hidden-xs"),y()(t+" input#searchTerm").dropdown("toggle"),y()(t+" input#searchTerm").focus()})).on("click",t+" a.search-cancel",(function(e){e.preventDefault(),e.stopPropagation(),y()(t).parent("section").toggleClass("search-open"),y()(t+" input#searchTerm").dropdown("toggle"),y()(t).toggleClass("hidden-xs")}))}},{key:"_registerAlternativeSubmitActions",value:function(t,e){document.addEventListener("click",(function(n){for(var i=n.target;null!==i&&!i.matches("body");){if(i.classList.contains(e)){var o=document.querySelector(t);if(null===o)return;var r=o.action,a=o.method;o.target="_blank",o.action=i.href,void 0!==i.dataset.method&&(o.method=i.dataset.method),o.submit(),o.target="",o.action=r,o.method=a,n.preventDefault(),n.stopPropagation()}i=i.parentNode}}))}},{key:"_registerSortableTables",value:function(t,e){y()("body").on("click","th.sortable",(function(n){var i=y()(n.target),o="DESC",r=i.data("order");i.hasClass("sorting_desc")&&(o="ASC"),y()(t+" input#orderBy").val(r),y()(t+" input#order").val(o),y()(t+" input#order").trigger("change"),e.trigger("filter-change")}))}},{key:"_registerPagination",value:function(t,e){y()("body").on("click","div.navigation ul.pagination li a",(function(n){var i=y()(t+" input#page");if(0!==i.length){n.preventDefault(),n.stopPropagation();var o=y()(this).attr("href").split("/"),r=o[o.length-1];return i.val(r),i.trigger("change"),e.trigger("pagination-change"),!1}}))}},{key:"hide",value:function(){var t=y()(this.getSelector()+" #searchTerm.dropdown-toggle");t.parent().hasClass("open")&&t.dropdown("toggle")}},{key:"triggerChange",value:function(){this.getContainer().getPlugin("event").trigger("toolbar-change")}},{key:"getSelector",value:function(){return this.formSelector}}])&&U(n.prototype,i),o&&U(n,o),e}(l.a);function K(t){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function X(t,e){for(var n=0;n0&&(o.on("hidden.bs.modal",(function(){o.hasClass("modal-danger")&&o.removeClass("modal-danger")})),y()(t).find("#form_modal").hasClass("modal-danger")&&o.addClass("modal-danger"),y()("#remote_form_modal .modal-content").replaceWith(y()(t).find("#form_modal .modal-content")),e.getContainer().getPlugin("form").activateForm(n));var r=y()(t).find("div.alert");r.length>0&&y()("#remote_form_modal .modal-body").prepend(r);var a=y.a.fn.modal.Constructor.prototype.enforceFocus;y.a.fn.modal.Constructor.prototype.enforceFocus=function(){},o.on("hidden.bs.modal",(function(){y.a.fn.modal.Constructor.prototype.enforceFocus=a})),this.getContainer().getPlugin("toolbar").hide(),o.modal("show"),(i=y()(n)).on("submit",(function(t){var r=y()(n+" button[type=submit]").button("loading"),a=i.attr("data-form-event"),s=e.getContainer().getPlugin("event"),l=e.getContainer().getPlugin("alert");t.preventDefault(),t.stopPropagation(),y.a.ajax({url:i.attr("action"),type:i.attr("method"),data:i.serialize(),success:function(t){r.button("reset");var n=y()(t).find("#form_modal .modal-content .has-error").length>0,c=y()(t).find("#form_modal .modal-content ul.list-unstyled li.text-danger").length>0,u=y()(t).find("div.alert-error").length>0;if(n||c||u)e._openFormInModal(t);else{s.trigger(a);var d=i.attr("data-msg-success");if(null==d){var h=y()(t).find("section.content div.row div.alert.alert-success");if(h.length>0){var f=h.contents();3===f.length&&(d=f[2].textContent)}}null==d&&(d="action.update.success"),o.modal("hide"),l.success(d)}return!1},error:function(t,e){var n=i.attr("data-msg-error");null==n&&(n="action.update.error"),t.responseJSON&&t.responseJSON.message?e=t.responseJSON.message:t.status&&t.statusText&&(e="["+t.status+"] "+t.statusText),l.error(n,e),setTimeout((function(){r.button("reset")}),1500)}})}))}}])&&Tt(n.prototype,i),o&&Tt(n,o),e}(bt);n("ma9I"),n("sMBO");function Pt(t){return(Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function At(t,e){for(var n=0;n ul.menu"),this.label=t.querySelector("a > span.label");var n=this,i=function(){n.reloadActiveRecords()};document.addEventListener("kimai.timesheetUpdate",i),document.addEventListener("kimai.activityUpdate",i),document.addEventListener("kimai.projectUpdate",i),document.addEventListener("kimai.customerUpdate",i)}}},{key:"emptyList",value:function(){this.itemList.innerHTML=""}},{key:"_toggleMenu",value:function(t){var e=document.querySelector(this.selector),n=document.querySelector(this.selectorEmpty);e.style.display=t?"inline-block":"none",null!==n&&(n.style.display=t?"none":"inline-block")}},{key:"setEntries",value:function(t){if(this._toggleMenu(t.length>0),0===t.length)return this.label.innerText="",void this.emptyList();var e="",n=this.getContainer().getPlugin("timesheet-duration"),i=!0,o=!1,r=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0){var l=a.value;e+="
      • "+'')+'
        '+'')+"

        "+"".concat(l.activity.name,"")+""+'').concat(n.formatDuration(l.duration,this.attributes.format),"")+"

        "+"

        ".concat(l.project.name," (").concat(l.project.customer.name,")

        ")+"
      • "}}catch(t){o=!0,r=t}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}this.label.dataset.warning ul.menu");var n=this,i=function(){n.reloadRecentActivities()};setTimeout(i,500),document.addEventListener("kimai.timesheetStop",i),document.addEventListener("kimai.activityUpdate",i),document.addEventListener("kimai.projectUpdate",i),document.addEventListener("kimai.customerUpdate",i)}}},{key:"emptyList",value:function(){this.itemList.innerHTML=""}},{key:"setEntries",value:function(t){if(0!==t.length){var e="",n=!0,i=!1,o=void 0;try{for(var r,a=t[Symbol.iterator]();!(n=(r=a.next()).done);n=!0){var s=r.value,l=this.attributes.template.replace("%customer%",s.project.customer.name).replace("%project%",s.project.name).replace("%activity%",s.activity.name);e+="
      • "+'')+' ').concat(l)+"
      • "}}catch(t){i=!0,o=t}finally{try{n||null==a.return||a.return()}finally{if(i)throw o}}this.itemList.innerHTML=e}else this.emptyList()}},{key:"reloadRecentActivities",value:function(){var t=this;this.getContainer().getPlugin("api").get(this.attributes.api,{},(function(e){t.setEntries(e)}))}}])&&Ht(n.prototype,i),o&&Ht(n,o),e}(l.a);function Ut(t){return(Ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function qt(t,e){for(var n=0;n0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),a--;var s,l,c;if(void 0===i.startDate&&void 0===i.endDate&&e(this.element).is(":text")){var u=e(this.element).val(),d=u.split(this.locale.separator);s=l=null,2==d.length?(s=t(d[0],this.locale.format),l=t(d[1],this.locale.format)):this.singleDatePicker&&""!==u&&(s=t(u,this.locale.format),l=t(u,this.locale.format)),null!==s&&null!==l&&(this.setStartDate(s),this.setEndDate(l))}if("object"==typeof i.ranges){for(c in i.ranges){s="string"==typeof i.ranges[c][0]?t(i.ranges[c][0],this.locale.format):t(i.ranges[c][0]),l="string"==typeof i.ranges[c][1]?t(i.ranges[c][1],this.locale.format):t(i.ranges[c][1]),this.minDate&&s.isBefore(this.minDate)&&(s=this.minDate.clone());var h,f=this.maxDate;if(this.maxSpan&&f&&s.clone().add(this.maxSpan).isAfter(f)&&(f=s.clone().add(this.maxSpan)),f&&l.isAfter(f)&&(l=f.clone()),!(this.minDate&&l.isBefore(this.minDate,this.timepicker?"minute":"day")||f&&s.isAfter(f,this.timepicker?"minute":"day")))(h=document.createElement("textarea")).innerHTML=c,r=h.value,this.ranges[r]=[s,l]}var p="
          ";for(c in this.ranges)p+='
        • '+c+"
        • ";this.showCustomRangeLabel&&(p+='
        • '+this.locale.customRangeLabel+"
        • "),p+="
        ",this.container.find(".ranges").prepend(p)}"function"==typeof o&&(this.callback=o),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide()),this.timePicker&&this.autoApply&&(this.autoApply=!1),this.autoApply&&this.container.addClass("auto-apply"),"object"==typeof i.ranges&&this.container.addClass("show-ranges"),this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".drp-calendar.left").addClass("single"),this.container.find(".drp-calendar.left").show(),this.container.find(".drp-calendar.right").hide(),this.timePicker||this.container.addClass("auto-apply")),(void 0===i.ranges&&!this.singleDatePicker||this.alwaysShowCalendars)&&this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses),this.applyButtonClasses.length&&this.container.find(".applyBtn").addClass(this.applyButtonClasses),this.cancelButtonClasses.length&&this.container.find(".cancelBtn").addClass(this.cancelButtonClasses),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".drp-calendar").on("click.daterangepicker",".prev",e.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",e.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",e.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",e.proxy(this.hoverDate,this)).on("change.daterangepicker","select.yearselect",e.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",e.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",e.proxy(this.timeChanged,this)),this.container.find(".ranges").on("click.daterangepicker","li",e.proxy(this.clickRange,this)),this.container.find(".drp-buttons").on("click.daterangepicker","button.applyBtn",e.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",e.proxy(this.clickCancel,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":e.proxy(this.show,this),"focus.daterangepicker":e.proxy(this.show,this),"keyup.daterangepicker":e.proxy(this.elementChanged,this),"keydown.daterangepicker":e.proxy(this.keydown,this)}):(this.element.on("click.daterangepicker",e.proxy(this.toggle,this)),this.element.on("keydown.daterangepicker",e.proxy(this.toggle,this))),this.updateElement()};return n.prototype={constructor:n,setStartDate:function(e){"string"==typeof e&&(this.startDate=t(e,this.locale.format)),"object"==typeof e&&(this.startDate=t(e)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.floor(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.isShowing||this.updateElement(),this.updateMonthsInView()},setEndDate:function(e){"string"==typeof e&&(this.endDate=t(e,this.locale.format)),"object"==typeof e&&(this.endDate=t(e)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.endDate.isBefore(this.startDate)&&(this.endDate=this.startDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),this.maxSpan&&this.startDate.clone().add(this.maxSpan).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.maxSpan)),this.previousRightTime=this.endDate.clone(),this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.isShowing||this.updateElement(),this.updateMonthsInView()},isInvalidDate:function(){return!1},isCustomDate:function(){return!1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").removeAttr("disabled").removeClass("disabled"):this.container.find(".right .calendar-time select").attr("disabled","disabled").addClass("disabled")),this.endDate&&this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.updateMonthsInView(),this.updateCalendars(),this.updateFormInputs()},updateMonthsInView:function(){if(this.endDate){if(!this.singleDatePicker&&this.leftCalendar.month&&this.rightCalendar.month&&(this.startDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.startDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM"))&&(this.endDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM")))return;this.leftCalendar.month=this.startDate.clone().date(2),this.linkedCalendars||this.endDate.month()==this.startDate.month()&&this.endDate.year()==this.startDate.year()?this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"):this.rightCalendar.month=this.endDate.clone().date(2)}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"));this.maxDate&&this.linkedCalendars&&!this.singleDatePicker&&this.rightCalendar.month>this.maxDate&&(this.rightCalendar.month=this.maxDate.clone().date(2),this.leftCalendar.month=this.maxDate.clone().date(2).subtract(1,"month"))},updateCalendars:function(){var t,e,n,i;this.timePicker&&(this.endDate?(t=parseInt(this.container.find(".left .hourselect").val(),10),e=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(e)&&(e=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),n=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,this.timePicker24Hour||("PM"===(i=this.container.find(".left .ampmselect").val())&&t<12&&(t+=12),"AM"===i&&12===t&&(t=0))):(t=parseInt(this.container.find(".right .hourselect").val(),10),e=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(e)&&(e=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),n=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,this.timePicker24Hour||("PM"===(i=this.container.find(".right .ampmselect").val())&&t<12&&(t+=12),"AM"===i&&12===t&&(t=0))),this.leftCalendar.month.hour(t).minute(e).second(n),this.rightCalendar.month.hour(t).minute(e).second(n));this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),null!=this.endDate&&this.calculateChosenLabel()},renderCalendar:function(n){var i,o=(i="left"==n?this.leftCalendar:this.rightCalendar).month.month(),r=i.month.year(),a=i.month.hour(),s=i.month.minute(),l=i.month.second(),c=t([r,o]).daysInMonth(),u=t([r,o,1]),d=t([r,o,c]),h=t(u).subtract(1,"month").month(),f=t(u).subtract(1,"month").year(),p=t([f,h]).daysInMonth(),m=u.day();(i=[]).firstDay=u,i.lastDay=d;for(var g=0;g<6;g++)i[g]=[];var v=p-m+this.locale.firstDay+1;v>p&&(v-=7),m==this.locale.firstDay&&(v=p-6);for(var y=t([f,h,v,12,s,l]),b=(g=0,0),w=0;g<42;g++,b++,y=t(y).add(24,"hour"))g>0&&b%7==0&&(b=0,w++),i[w][b]=y.clone().hour(a).minute(s).second(l),y.hour(12),this.minDate&&i[w][b].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&i[w][b].isBefore(this.minDate)&&"left"==n&&(i[w][b]=this.minDate.clone()),this.maxDate&&i[w][b].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&i[w][b].isAfter(this.maxDate)&&"right"==n&&(i[w][b]=this.maxDate.clone());"left"==n?this.leftCalendar.calendar=i:this.rightCalendar.calendar=i;var _="left"==n?this.minDate:this.startDate,k=this.maxDate,x=("left"==n?this.startDate:this.endDate,this.locale.direction,'');x+="",x+="",(this.showWeekNumbers||this.showISOWeekNumbers)&&(x+=""),_&&!_.isBefore(i.firstDay)||this.linkedCalendars&&"left"!=n?x+="":x+='';var D=this.locale.monthNames[i[1][1].month()]+i[1][1].format(" YYYY");if(this.showDropdowns){for(var S=i[1][1].month(),C=i[1][1].year(),T=k&&k.year()||this.maxYear,E=_&&_.year()||this.minYear,O=C==E,M=C==T,L='";for(var A='")}if(x+='",k&&!k.isAfter(i.lastDay)||this.linkedCalendars&&"right"!=n&&!this.singleDatePicker?x+="":x+='',x+="",x+="",(this.showWeekNumbers||this.showISOWeekNumbers)&&(x+='"),e.each(this.locale.daysOfWeek,(function(t,e){x+=""})),x+="",x+="",x+="",null==this.endDate&&this.maxSpan){var Y=this.startDate.clone().add(this.maxSpan).endOf("day");k&&!Y.isBefore(k)||(k=Y)}for(w=0;w<6;w++){for(x+="",this.showWeekNumbers?x+='":this.showISOWeekNumbers&&(x+='"),b=0;b<7;b++){var I=[];i[w][b].isSame(new Date,"day")&&I.push("today"),i[w][b].isoWeekday()>5&&I.push("weekend"),i[w][b].month()!=i[1][1].month()&&I.push("off","ends"),this.minDate&&i[w][b].isBefore(this.minDate,"day")&&I.push("off","disabled"),k&&i[w][b].isAfter(k,"day")&&I.push("off","disabled"),this.isInvalidDate(i[w][b])&&I.push("off","disabled"),i[w][b].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&I.push("active","start-date"),null!=this.endDate&&i[w][b].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&I.push("active","end-date"),null!=this.endDate&&i[w][b]>this.startDate&&i[w][b]'+i[w][b].date()+""}x+=""}x+="",x+="
        '+D+"
        '+this.locale.weekLabel+""+e+"
        '+i[w][0].week()+"'+i[w][0].isoWeek()+"
        ",this.container.find(".drp-calendar."+n+" .calendar-table").html(x)},renderTimePicker:function(t){if("right"!=t||this.endDate){var e,n,i,o=this.maxDate;if(!this.maxSpan||this.maxDate&&!this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate)||(o=this.startDate.clone().add(this.maxSpan)),"left"==t)n=this.startDate.clone(),i=this.minDate;else if("right"==t){n=this.endDate.clone(),i=this.startDate;var r=this.container.find(".drp-calendar.right .calendar-time");if(""!=r.html()&&(n.hour(isNaN(n.hour())?r.find(".hourselect option:selected").val():n.hour()),n.minute(isNaN(n.minute())?r.find(".minuteselect option:selected").val():n.minute()),n.second(isNaN(n.second())?r.find(".secondselect option:selected").val():n.second()),!this.timePicker24Hour)){var a=r.find(".ampmselect option:selected").val();"PM"===a&&n.hour()<12&&n.hour(n.hour()+12),"AM"===a&&12===n.hour()&&n.hour(0)}n.isBefore(this.startDate)&&(n=this.startDate.clone()),o&&n.isAfter(o)&&(n=o.clone())}e=' ",e+=': ",this.timePickerSeconds){for(e+=': "}if(!this.timePicker24Hour){e+='"}this.container.find(".drp-calendar."+t+" .calendar-time").html(e)}},updateFormInputs:function(){this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").removeAttr("disabled"):this.container.find("button.applyBtn").attr("disabled","disabled")},move:function(){var t,n={top:0,left:0},i=e(window).width();this.parentEl.is("body")||(n={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},i=this.parentEl[0].clientWidth+this.parentEl.offset().left),t="up"==this.drops?this.element.offset().top-this.container.outerHeight()-n.top:this.element.offset().top+this.element.outerHeight()-n.top,this.container.css({top:0,left:0,right:"auto"});var o=this.container.outerWidth();if(this.container["up"==this.drops?"addClass":"removeClass"]("drop-up"),"left"==this.opens){var r=i-this.element.offset().left-this.element.outerWidth();o+r>e(window).width()?this.container.css({top:t,right:"auto",left:9}):this.container.css({top:t,right:r,left:"auto"})}else if("center"==this.opens)(a=this.element.offset().left-n.left+this.element.outerWidth()/2-o/2)<0?this.container.css({top:t,right:"auto",left:9}):a+o>e(window).width()?this.container.css({top:t,left:"auto",right:0}):this.container.css({top:t,left:a,right:"auto"});else{var a;(a=this.element.offset().left-n.left)+o>e(window).width()?this.container.css({top:t,left:"auto",right:0}):this.container.css({top:t,left:a,right:"auto"})}},show:function(t){this.isShowing||(this._outsideClickProxy=e.proxy((function(t){this.outsideClick(t)}),this),e(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),e(window).on("resize.daterangepicker",e.proxy((function(t){this.move(t)}),this)),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.previousRightTime=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(t){this.isShowing&&(this.endDate||(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),this.startDate.isSame(this.oldStartDate)&&this.endDate.isSame(this.oldEndDate)||this.callback(this.startDate.clone(),this.endDate.clone(),this.chosenLabel),this.updateElement(),e(document).off(".daterangepicker"),e(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(t){this.isShowing?this.hide():this.show()},outsideClick:function(t){var n=e(t.target);"focusin"==t.type||n.closest(this.element).length||n.closest(this.container).length||n.closest(".calendar-table").length||(this.hide(),this.element.trigger("outsideClick.daterangepicker",this))},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},clickRange:function(t){var e=t.target.getAttribute("data-range-key");if(this.chosenLabel=e,e==this.locale.customRangeLabel)this.showCalendars();else{var n=this.ranges[e];this.startDate=n[0],this.endDate=n[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply()}},clickPrev:function(t){e(t.target).parents(".drp-calendar").hasClass("left")?(this.leftCalendar.month.subtract(1,"month"),this.linkedCalendars&&this.rightCalendar.month.subtract(1,"month")):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(t){e(t.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.month.add(1,"month"):(this.rightCalendar.month.add(1,"month"),this.linkedCalendars&&this.leftCalendar.month.add(1,"month")),this.updateCalendars()},hoverDate:function(t){if(e(t.target).hasClass("available")){var n=e(t.target).attr("data-title"),i=n.substr(1,1),o=n.substr(3,1),r=e(t.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.calendar[i][o]:this.rightCalendar.calendar[i][o],a=this.leftCalendar,s=this.rightCalendar,l=this.startDate;this.endDate||this.container.find(".drp-calendar tbody td").each((function(t,n){if(!e(n).hasClass("week")){var i=e(n).attr("data-title"),o=i.substr(1,1),c=i.substr(3,1),u=e(n).parents(".drp-calendar").hasClass("left")?a.calendar[o][c]:s.calendar[o][c];u.isAfter(l)&&u.isBefore(r)||u.isSame(r,"day")?e(n).addClass("in-range"):e(n).removeClass("in-range")}}))}},clickDate:function(t){if(e(t.target).hasClass("available")){var n=e(t.target).attr("data-title"),i=n.substr(1,1),o=n.substr(3,1),r=e(t.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.calendar[i][o]:this.rightCalendar.calendar[i][o];if(this.endDate||r.isBefore(this.startDate,"day")){if(this.timePicker){var a=parseInt(this.container.find(".left .hourselect").val(),10);this.timePicker24Hour||("PM"===(c=this.container.find(".left .ampmselect").val())&&a<12&&(a+=12),"AM"===c&&12===a&&(a=0));var s=parseInt(this.container.find(".left .minuteselect").val(),10);isNaN(s)&&(s=parseInt(this.container.find(".left .minuteselect option:last").val(),10));var l=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0;r=r.clone().hour(a).minute(s).second(l)}this.endDate=null,this.setStartDate(r.clone())}else if(!this.endDate&&r.isBefore(this.startDate))this.setEndDate(this.startDate.clone());else{var c;if(this.timePicker)a=parseInt(this.container.find(".right .hourselect").val(),10),this.timePicker24Hour||("PM"===(c=this.container.find(".right .ampmselect").val())&&a<12&&(a+=12),"AM"===c&&12===a&&(a=0)),s=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(s)&&(s=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),l=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,r=r.clone().hour(a).minute(s).second(l);this.setEndDate(r.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())}this.singleDatePicker&&(this.setEndDate(this.startDate),this.timePicker||this.clickApply()),this.updateView(),t.stopPropagation()}},calculateChosenLabel:function(){var t=!0,e=0;for(var n in this.ranges){if(this.timePicker){var i=this.timePickerSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm";if(this.startDate.format(i)==this.ranges[n][0].format(i)&&this.endDate.format(i)==this.ranges[n][1].format(i)){t=!1,this.chosenLabel=this.container.find(".ranges li:eq("+e+")").addClass("active").attr("data-range-key");break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[n][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[n][1].format("YYYY-MM-DD")){t=!1,this.chosenLabel=this.container.find(".ranges li:eq("+e+")").addClass("active").attr("data-range-key");break}e++}t&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").attr("data-range-key"):this.chosenLabel=null,this.showCalendars())},clickApply:function(t){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(t){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(t){var n=e(t.target).closest(".drp-calendar").hasClass("left"),i=n?"left":"right",o=this.container.find(".drp-calendar."+i),r=parseInt(o.find(".monthselect").val(),10),a=o.find(".yearselect").val();n||(athis.maxDate.year()||a==this.maxDate.year()&&r>this.maxDate.month())&&(r=this.maxDate.month(),a=this.maxDate.year()),n?(this.leftCalendar.month.month(r).year(a),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(r).year(a),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(t){var n=e(t.target).closest(".drp-calendar"),i=n.hasClass("left"),o=parseInt(n.find(".hourselect").val(),10),r=parseInt(n.find(".minuteselect").val(),10);isNaN(r)&&(r=parseInt(n.find(".minuteselect option:last").val(),10));var a=this.timePickerSeconds?parseInt(n.find(".secondselect").val(),10):0;if(!this.timePicker24Hour){var s=n.find(".ampmselect").val();"PM"===s&&o<12&&(o+=12),"AM"===s&&12===o&&(o=0)}if(i){var l=this.startDate.clone();l.hour(o),l.minute(r),l.second(a),this.setStartDate(l),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==l.format("YYYY-MM-DD")&&this.endDate.isBefore(l)&&this.setEndDate(l.clone())}else if(this.endDate){var c=this.endDate.clone();c.hour(o),c.minute(r),c.second(a),this.setEndDate(c)}this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},elementChanged:function(){if(this.element.is("input")&&this.element.val().length){var e=this.element.val().split(this.locale.separator),n=null,i=null;2===e.length&&(n=t(e[0],this.locale.format),i=t(e[1],this.locale.format)),(this.singleDatePicker||null===n||null===i)&&(i=n=t(this.element.val(),this.locale.format)),n.isValid()&&i.isValid()&&(this.setStartDate(n),this.setEndDate(i),this.updateView())}},keydown:function(t){9!==t.keyCode&&13!==t.keyCode||this.hide(),27===t.keyCode&&(t.preventDefault(),t.stopPropagation(),this.hide())},updateElement:function(){if(this.element.is("input")&&this.autoUpdateInput){var t=this.startDate.format(this.locale.format);this.singleDatePicker||(t+=this.locale.separator+this.endDate.format(this.locale.format)),t!==this.element.val()&&this.element.val(t).trigger("change")}},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},e.fn.daterangepicker=function(t,i){var o=e.extend(!0,{},e.fn.daterangepicker.defaultOptions,t);return this.each((function(){var t=e(this);t.data("daterangepicker")&&t.data("daterangepicker").remove(),t.data("daterangepicker",new n(t,o,i))})),this},n}(t,e)}.apply(e,i))||(t.exports=o)},eoL8:function(t,e,n){var i=n("I+eb"),o=n("g6v/");i({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n("m/L8").f})},ewvW:function(t,e,n){var i=n("HYAF");t.exports=function(t){return Object(i(t))}},f5p1:function(t,e,n){var i=n("2oRo"),o=n("noGo"),r=i.WeakMap;t.exports="function"==typeof r&&/native code/.test(o.call(r))},fHMY:function(t,e,n){var i=n("glrk"),o=n("N+g0"),r=n("eDl+"),a=n("0BK2"),s=n("G+Rx"),l=n("zBJ4"),c=n("93I0")("IE_PROTO"),u=function(){},d=function(){var t,e=l("iframe"),n=r.length;for(e.style.display="none",s.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(" - {% endif %} - {% endblock %} - {% endembed %} -{% endblock %} +{% set route_back = 'timesheet' %} diff --git a/templates/timesheet/layout-edit.html.twig b/templates/timesheet/layout-edit.html.twig new file mode 100644 index 00000000..c0ae2c6c --- /dev/null +++ b/templates/timesheet/layout-edit.html.twig @@ -0,0 +1,218 @@ +{% extends app.request.xmlHttpRequest ? 'form.html.twig' : 'base.html.twig' %} +{% import "macros/widgets.html.twig" as widgets %} + +{% block main %} + {% if timesheet.exported %} + {{ widgets.alert('warning', ('timesheet.locked.warning'|trans({}, 'flashmessages')), ('warning'|trans({}, 'flashmessages')), 'warning') }} + {% endif %} + {% set formEditTemplate = app.request.xmlHttpRequest ? 'default/_form_modal.html.twig' : 'default/_form.html.twig' %} + {% set formOptions = { + 'title': (timesheet.id ? 'timesheet.edit'|trans : 'create'|trans), + 'form': form, + 'back': path(route_back) + } %} + {% embed formEditTemplate with formOptions %} + {% set length = 6 %} + {% if form.begin is defined and form.end is defined and form.duration is defined %} + {% set length = 5 %} + {% elseif form.begin is defined and form.end is defined and form.duration is not defined %} + {% set length = 6 %} + {% elseif form.begin is defined and form.end is not defined and form.duration is defined %} + {% set length = 10 %} + {% elseif form.begin is not defined and form.end is defined and form.duration is defined %} + {% set length = 10 %} + {% endif %} + {% block form_body %} + {% if form.begin is defined or form.end is defined or form.duration is defined %} +
        + {% if form.begin is defined %} +
        + {{ form_row(form.begin) }} +
        + {% endif %} + {% if form.end is defined %} +
        + {{ form_row(form.end) }} +
        + {% endif %} + {% if form.duration is defined %} +
        + {{ form_row(form.duration) }} +
        + {% endif %} +
        + {% endif %} + {% if form.customer is defined %} + {{ form_row(form.customer) }} + {% endif %} + {% if form.project is defined %} + {{ form_row(form.project) }} + {% endif %} + {% if form.activity is defined %} + {{ form_row(form.activity) }} + {% endif %} + {% if form.description is defined %} + {{ form_row(form.description) }} + {% endif %} + {% if form.tags is defined %} + {{ form_row(form.tags) }} + {% endif %} + {% if form.fixedRate is defined and form.hourlyRate is defined %} +
        +
        + {{ form_row(form.fixedRate) }} +
        +
        + {{ form_row(form.hourlyRate) }} +
        +
        + {% endif %} + {{ form_widget(form) }} + {% endblock %} + {% block form_after %} + {% if form.begin is defined and form.end is defined and form.duration is defined %} + + {% endif %} + {% endblock %} + {% endembed %} +{% endblock %} diff --git a/templates/timesheet/layout-listing.html.twig b/templates/timesheet/layout-listing.html.twig index 5b121da1..37a1387f 100644 --- a/templates/timesheet/layout-listing.html.twig +++ b/templates/timesheet/layout-listing.html.twig @@ -3,8 +3,12 @@ {% import "macros/datatables.html.twig" as tables %} {% import "macros/toolbar.html.twig" as toolbar %} -{% set showSummary = showSummary|default(false) %} -{% set showStartEndTime = showStartEndTime|default(true) %} +{% if not showSummary is defined %} + {% set showSummary = false %} +{% endif %} +{% if not showStartEndTime is defined %} + {% set showStartEndTime = true %} +{% endif %} {% set columns = { 'id': {'class': 'alwaysVisible multiCheckbox', 'orderBy': false, 'title': false, 'html_before': tables.datatable_multiupdate_all()}, diff --git a/tests/API/ProjectControllerTest.php b/tests/API/ProjectControllerTest.php index d936f9de..23feaee6 100644 --- a/tests/API/ProjectControllerTest.php +++ b/tests/API/ProjectControllerTest.php @@ -12,7 +12,7 @@ namespace App\Tests\API; use App\Entity\Customer; use App\Entity\Project; use App\Entity\User; -use App\Repository\Query\VisibilityQuery; +use App\Repository\Query\VisibilityInterface; use App\Tests\Mocks\ProjectTestMetaFieldSubscriberMock; use Symfony\Bundle\FrameworkBundle\Client; use Symfony\Component\HttpFoundation\Response; @@ -98,14 +98,14 @@ class ProjectControllerTest extends APIControllerBaseTest // if you wonder why: SQLite does case-sensitive ordering, so "Title" > "fifth” yield ['/api/projects', [], [[true, 1], [false, 1], [false, 3]]]; yield ['/api/projects', ['customer' => '1'], [[true, 1], [false, 1]]]; - yield ['/api/projects', ['customer' => '1', 'visible' => VisibilityQuery::SHOW_VISIBLE], [[true, 1], [false, 1]]]; - yield ['/api/projects', ['customer' => '1', 'visible' => VisibilityQuery::SHOW_BOTH], [[true, 1], [false, 1], [false, 1]]]; - yield ['/api/projects', ['customer' => '1', 'visible' => VisibilityQuery::SHOW_HIDDEN], [[false, 1]]]; + yield ['/api/projects', ['customer' => '1', 'visible' => VisibilityInterface::SHOW_VISIBLE], [[true, 1], [false, 1]]]; + yield ['/api/projects', ['customer' => '1', 'visible' => VisibilityInterface::SHOW_BOTH], [[true, 1], [false, 1], [false, 1]]]; + yield ['/api/projects', ['customer' => '1', 'visible' => VisibilityInterface::SHOW_HIDDEN], [[false, 1]]]; // customer is invisible, so nothing should be returned - yield ['/api/projects', ['customer' => '2', 'visible' => VisibilityQuery::SHOW_VISIBLE], []]; - yield ['/api/projects', ['customer' => '2', 'visible' => VisibilityQuery::SHOW_BOTH], [[false, 2], [false, 2]]]; + yield ['/api/projects', ['customer' => '2', 'visible' => VisibilityInterface::SHOW_VISIBLE], []]; + yield ['/api/projects', ['customer' => '2', 'visible' => VisibilityInterface::SHOW_BOTH], [[false, 2], [false, 2]]]; // customer is invisible, so nothing should be returned - yield ['/api/projects', ['customer' => '2', 'visible' => VisibilityQuery::SHOW_HIDDEN], []]; + yield ['/api/projects', ['customer' => '2', 'visible' => VisibilityInterface::SHOW_HIDDEN, 'start' => '2010-12-11T23:59:59', 'end' => '2030-12-11T23:59:59'], []]; } public function testGetEntity() @@ -277,7 +277,7 @@ class ProjectControllerTest extends APIControllerBaseTest protected function assertStructure(array $result, $full = true) { $expectedKeys = [ - 'id', 'name', 'visible', 'customer', 'hourlyRate', 'fixedRate', 'color', 'metaFields', 'parentTitle' + 'id', 'name', 'visible', 'customer', 'hourlyRate', 'fixedRate', 'color', 'metaFields', 'parentTitle', 'start', 'end' ]; if ($full) { diff --git a/tests/DataFixtures/ActivityFixtures.php b/tests/DataFixtures/ActivityFixtures.php index c6780249..2933f6ad 100644 --- a/tests/DataFixtures/ActivityFixtures.php +++ b/tests/DataFixtures/ActivityFixtures.php @@ -11,7 +11,6 @@ namespace App\Tests\DataFixtures; use App\Entity\Activity; use App\Entity\Project; -use App\Entity\User; use Doctrine\Bundle\FixturesBundle\Fixture; use Doctrine\Common\Persistence\ObjectManager; use Faker\Factory; @@ -117,12 +116,12 @@ final class ActivityFixtures extends Fixture /** * @param ObjectManager $manager - * @return Project[] + * @return array */ - protected function getAllProjects(ObjectManager $manager) + protected function getAllProjects(ObjectManager $manager): array { $all = []; - /* @var User[] $entries */ + /** @var Project[] $entries */ $entries = $manager->getRepository(Project::class)->findAll(); foreach ($entries as $temp) { $all[$temp->getId()] = $temp; diff --git a/tests/DataFixtures/CustomerFixtures.php b/tests/DataFixtures/CustomerFixtures.php index 0df6d1e8..bcf20566 100644 --- a/tests/DataFixtures/CustomerFixtures.php +++ b/tests/DataFixtures/CustomerFixtures.php @@ -10,7 +10,6 @@ namespace App\Tests\DataFixtures; use App\Entity\Customer; -use App\Entity\User; use Doctrine\Bundle\FixturesBundle\Fixture; use Doctrine\Common\Persistence\ObjectManager; use Faker\Factory; @@ -97,20 +96,4 @@ final class CustomerFixtures extends Fixture $manager->flush(); } - - /** - * @param ObjectManager $manager - * @return Customer[] - */ - protected function getAllCustomers(ObjectManager $manager) - { - $all = []; - /* @var User[] $entries */ - $entries = $manager->getRepository(Customer::class)->findAll(); - foreach ($entries as $temp) { - $all[$temp->getId()] = $temp; - } - - return $all; - } } diff --git a/tests/DataFixtures/ProjectFixtures.php b/tests/DataFixtures/ProjectFixtures.php index 5152d4ef..7477a6c8 100644 --- a/tests/DataFixtures/ProjectFixtures.php +++ b/tests/DataFixtures/ProjectFixtures.php @@ -11,7 +11,6 @@ namespace App\Tests\DataFixtures; use App\Entity\Customer; use App\Entity\Project; -use App\Entity\User; use Doctrine\Bundle\FixturesBundle\Fixture; use Doctrine\Common\Persistence\ObjectManager; use Faker\Factory; @@ -99,12 +98,12 @@ final class ProjectFixtures extends Fixture /** * @param ObjectManager $manager - * @return Customer[] + * @return array */ - protected function getAllCustomers(ObjectManager $manager) + protected function getAllCustomers(ObjectManager $manager): array { $all = []; - /* @var User[] $entries */ + /** @var Customer[] $entries */ $entries = $manager->getRepository(Customer::class)->findAll(); foreach ($entries as $temp) { $all[$temp->getId()] = $temp; diff --git a/tests/DataFixtures/TeamFixtures.php b/tests/DataFixtures/TeamFixtures.php index 530157cc..052c4737 100644 --- a/tests/DataFixtures/TeamFixtures.php +++ b/tests/DataFixtures/TeamFixtures.php @@ -138,12 +138,12 @@ final class TeamFixtures extends Fixture /** * @param ObjectManager $manager - * @return Customer[] + * @return array */ private function getAllCustomers(ObjectManager $manager) { $all = []; - /* @var Customer[] $entries */ + /** @var Customer[] $entries */ $entries = $manager->getRepository(Customer::class)->findAll(); foreach ($entries as $temp) { $all[$temp->getId()] = $temp; @@ -154,12 +154,12 @@ final class TeamFixtures extends Fixture /** * @param ObjectManager $manager - * @return User[] + * @return array */ - private function getAllUsers(ObjectManager $manager) + private function getAllUsers(ObjectManager $manager): array { $all = []; - /* @var User[] $entries */ + /** @var User[] $entries */ $entries = $manager->getRepository(User::class)->findAll(); foreach ($entries as $temp) { $all[$temp->getId()] = $temp; diff --git a/tests/DataFixtures/TimesheetFixtures.php b/tests/DataFixtures/TimesheetFixtures.php index eae6ce49..c062a462 100644 --- a/tests/DataFixtures/TimesheetFixtures.php +++ b/tests/DataFixtures/TimesheetFixtures.php @@ -297,12 +297,12 @@ final class TimesheetFixtures extends Fixture /** * @param ObjectManager $manager - * @return Activity[] + * @return array */ - protected function getAllActivities(ObjectManager $manager) + protected function getAllActivities(ObjectManager $manager): array { $all = []; - /* @var Activity[] $entries */ + /** @var Activity[] $entries */ $entries = $manager->getRepository(Activity::class)->findAll(); foreach ($entries as $temp) { $all[$temp->getId()] = $temp; @@ -313,12 +313,12 @@ final class TimesheetFixtures extends Fixture /** * @param ObjectManager $manager - * @return Project[] + * @return array */ - protected function getAllProjects(ObjectManager $manager) + protected function getAllProjects(ObjectManager $manager): array { $all = []; - /* @var Project[] $entries */ + /** @var Project[] $entries */ $entries = $manager->getRepository(Project::class)->findAll(); foreach ($entries as $temp) { $all[$temp->getId()] = $temp; diff --git a/tests/Entity/ProjectTest.php b/tests/Entity/ProjectTest.php index 615515f5..4b72c1bb 100644 --- a/tests/Entity/ProjectTest.php +++ b/tests/Entity/ProjectTest.php @@ -29,6 +29,8 @@ class ProjectTest extends TestCase self::assertNull($sut->getName()); self::assertNull($sut->getOrderNumber()); self::assertNull($sut->getOrderDate()); + self::assertNull($sut->getStart()); + self::assertNull($sut->getEnd()); self::assertNull($sut->getComment()); self::assertTrue($sut->getVisible()); self::assertTrue($sut->isVisible()); @@ -64,6 +66,16 @@ class ProjectTest extends TestCase self::assertInstanceOf(Project::class, $sut->setOrderDate(null)); self::assertNull($sut->getOrderDate()); + self::assertInstanceOf(Project::class, $sut->setStart($dateTime)); + self::assertSame($dateTime, $sut->getStart()); + self::assertInstanceOf(Project::class, $sut->setStart(null)); + self::assertNull($sut->getStart()); + + self::assertInstanceOf(Project::class, $sut->setEnd($dateTime)); + self::assertSame($dateTime, $sut->getEnd()); + self::assertInstanceOf(Project::class, $sut->setEnd(null)); + self::assertNull($sut->getEnd()); + self::assertInstanceOf(Project::class, $sut->setComment('a comment')); self::assertEquals('a comment', $sut->getComment()); diff --git a/tests/Export/Renderer/CsvRendererTest.php b/tests/Export/Renderer/CsvRendererTest.php index 162ea979..c509dc57 100644 --- a/tests/Export/Renderer/CsvRendererTest.php +++ b/tests/Export/Renderer/CsvRendererTest.php @@ -18,7 +18,6 @@ use Symfony\Component\HttpFoundation\BinaryFileResponse; * @covers \App\Export\Base\RendererTrait * @covers \App\Export\Renderer\CsvRenderer * @covers \App\Export\Renderer\AbstractSpreadsheetRenderer - * @covers \App\Export\Renderer\RendererTrait * @group integration */ class CsvRendererTest extends AbstractRendererTest diff --git a/tests/Export/Renderer/HtmlRendererTest.php b/tests/Export/Renderer/HtmlRendererTest.php index 1ac65e07..d831c8b1 100644 --- a/tests/Export/Renderer/HtmlRendererTest.php +++ b/tests/Export/Renderer/HtmlRendererTest.php @@ -18,7 +18,6 @@ use Twig\Environment; * @covers \App\Export\Base\HtmlRenderer * @covers \App\Export\Base\RendererTrait * @covers \App\Export\Renderer\HtmlRenderer - * @covers \App\Export\Renderer\RendererTrait * @group integration */ class HtmlRendererTest extends AbstractRendererTest diff --git a/tests/Export/Renderer/PdfRendererTest.php b/tests/Export/Renderer/PdfRendererTest.php index ede3a993..4ca668dd 100644 --- a/tests/Export/Renderer/PdfRendererTest.php +++ b/tests/Export/Renderer/PdfRendererTest.php @@ -20,7 +20,6 @@ use Twig\Environment; * @covers \App\Export\Base\PDFRenderer * @covers \App\Export\Base\RendererTrait * @covers \App\Export\Renderer\PDFRenderer - * @covers \App\Export\Renderer\RendererTrait * @group integration */ class PdfRendererTest extends AbstractRendererTest diff --git a/tests/Export/Renderer/XlsxRendererTest.php b/tests/Export/Renderer/XlsxRendererTest.php index 1220a458..956ff55c 100644 --- a/tests/Export/Renderer/XlsxRendererTest.php +++ b/tests/Export/Renderer/XlsxRendererTest.php @@ -18,7 +18,6 @@ use Symfony\Component\HttpFoundation\BinaryFileResponse; * @covers \App\Export\Base\RendererTrait * @covers \App\Export\Renderer\XlsxRenderer * @covers \App\Export\Renderer\AbstractSpreadsheetRenderer - * @covers \App\Export\Renderer\RendererTrait * @group integration */ class XlsxRendererTest extends AbstractRendererTest diff --git a/tests/Export/Timesheet/CsvRendererTest.php b/tests/Export/Timesheet/CsvRendererTest.php index 03a24010..a8e2d715 100644 --- a/tests/Export/Timesheet/CsvRendererTest.php +++ b/tests/Export/Timesheet/CsvRendererTest.php @@ -17,8 +17,6 @@ use Symfony\Component\HttpFoundation\BinaryFileResponse; * @covers \App\Export\Base\AbstractSpreadsheetRenderer * @covers \App\Export\Base\RendererTrait * @covers \App\Export\Timesheet\CsvRenderer - * @covers \App\Export\Timesheet\AbstractSpreadsheetRenderer - * @covers \App\Export\Timesheet\RendererTrait * @group integration */ class CsvRendererTest extends AbstractRendererTest diff --git a/tests/Export/Timesheet/PdfRendererTest.php b/tests/Export/Timesheet/PdfRendererTest.php index 3c72074d..07ade03e 100644 --- a/tests/Export/Timesheet/PdfRendererTest.php +++ b/tests/Export/Timesheet/PdfRendererTest.php @@ -20,7 +20,6 @@ use Twig\Environment; * @covers \App\Export\Base\PDFRenderer * @covers \App\Export\Base\RendererTrait * @covers \App\Export\Timesheet\PDFRenderer - * @covers \App\Export\Timesheet\RendererTrait * @group integration */ class PdfRendererTest extends AbstractRendererTest diff --git a/tests/Export/Timesheet/XlsxRendererTest.php b/tests/Export/Timesheet/XlsxRendererTest.php index 2c1ecf41..2bfc2994 100644 --- a/tests/Export/Timesheet/XlsxRendererTest.php +++ b/tests/Export/Timesheet/XlsxRendererTest.php @@ -17,8 +17,6 @@ use Symfony\Component\HttpFoundation\BinaryFileResponse; * @covers \App\Export\Base\AbstractSpreadsheetRenderer * @covers \App\Export\Base\RendererTrait * @covers \App\Export\Timesheet\XlsxRenderer - * @covers \App\Export\Timesheet\AbstractSpreadsheetRenderer - * @covers \App\Export\Timesheet\RendererTrait * @group integration */ class XlsxRendererTest extends AbstractRendererTest diff --git a/tests/Invoice/Calculator/AbstractCalculatorTest.php b/tests/Invoice/Calculator/AbstractCalculatorTest.php index 4043f69a..ceeb9b27 100644 --- a/tests/Invoice/Calculator/AbstractCalculatorTest.php +++ b/tests/Invoice/Calculator/AbstractCalculatorTest.php @@ -24,6 +24,19 @@ use PHPUnit\Framework\TestCase; abstract class AbstractCalculatorTest extends TestCase { protected function assertEmptyModel(CalculatorInterface $sut) + { + $sut->setModel($this->getEmptyModel()); + + $this->assertEquals(0, $sut->getTotal()); + $this->assertEquals(0, $sut->getVat()); + $this->assertEquals('EUR', $sut->getCurrency()); + $this->assertEquals(0, $sut->getSubtotal()); + $this->assertEquals(0, $sut->getTimeWorked()); + $this->assertEquals(0, count($sut->getEntries())); + $this->assertEquals(0, $sut->getTax()); + } + + protected function getEmptyModel() { $customer = new Customer(); $template = new InvoiceTemplate(); @@ -34,15 +47,7 @@ abstract class AbstractCalculatorTest extends TestCase $model->setTemplate($template); $model->setQuery($query); - $sut->setModel($model); - - $this->assertEquals(0, $sut->getTotal()); - $this->assertEquals(0, $sut->getVat()); - $this->assertEquals('EUR', $sut->getCurrency()); - $this->assertEquals(0, $sut->getSubtotal()); - $this->assertEquals(0, $sut->getTimeWorked()); - $this->assertEquals(0, count($sut->getEntries())); - $this->assertEquals(0, $sut->getTax()); + return $model; } protected function assertDescription(CalculatorInterface $sut, $addProject = false, $addActivity = false) diff --git a/tests/Invoice/Calculator/ActivityInvoiceCalculatorTest.php b/tests/Invoice/Calculator/ActivityInvoiceCalculatorTest.php index 036eca0a..88ff5cee 100644 --- a/tests/Invoice/Calculator/ActivityInvoiceCalculatorTest.php +++ b/tests/Invoice/Calculator/ActivityInvoiceCalculatorTest.php @@ -33,6 +33,33 @@ class ActivityInvoiceCalculatorTest extends AbstractCalculatorTest $this->assertEmptyModel(new ActivityInvoiceCalculator()); } + public function testExceptionNoActivity() + { + $this->expectException('Exception'); + $this->expectExceptionMessage('Cannot work with invoice items that do not have an activity'); + $timesheet = new Timesheet(); + + $sut = new ActivityInvoiceCalculator(); + $model = $this->getEmptyModel(); + $model->addEntries([$timesheet]); + $sut->setModel($model); + $sut->getEntries(); + } + + public function testExceptionNoId() + { + $this->expectException('Exception'); + $this->expectExceptionMessage('Cannot handle un-persisted activities'); + $timesheet = new Timesheet(); + $timesheet->setActivity(new Activity()); + + $sut = new ActivityInvoiceCalculator(); + $model = $this->getEmptyModel(); + $model->addEntries([$timesheet]); + $sut->setModel($model); + $sut->getEntries(); + } + public function testWithMultipleEntries() { $customer = new Customer(); diff --git a/tests/KernelTestTrait.php b/tests/KernelTestTrait.php index 78ae603a..583f291a 100644 --- a/tests/KernelTestTrait.php +++ b/tests/KernelTestTrait.php @@ -34,12 +34,7 @@ trait KernelTestTrait $executor->execute($loader->getFixtures(), true); } - /** - * @param EntityManager $em - * @param string $username - * @return User|null - */ - protected function getUserByName(EntityManager $em, string $username) + protected function getUserByName(EntityManager $em, string $username): ?User { return $em->getRepository(User::class)->findOneBy(['username' => $username]); } diff --git a/tests/Repository/Query/ActivityQueryTest.php b/tests/Repository/Query/ActivityQueryTest.php index 3b9dac01..2d4dfb96 100644 --- a/tests/Repository/Query/ActivityQueryTest.php +++ b/tests/Repository/Query/ActivityQueryTest.php @@ -12,7 +12,7 @@ namespace App\Tests\Repository\Query; use App\Entity\Customer; use App\Entity\Project; use App\Repository\Query\ActivityQuery; -use App\Repository\Query\VisibilityQuery; +use App\Repository\Query\VisibilityInterface; /** * @covers \App\Repository\Query\ActivityQuery @@ -24,7 +24,7 @@ class ActivityQueryTest extends BaseQueryTest $sut = new ActivityQuery(); $this->assertBaseQuery($sut, 'name'); - $this->assertInstanceOf(VisibilityQuery::class, $sut); + $this->assertInstanceOf(VisibilityInterface::class, $sut); $this->assertNull($sut->getCustomer()); $this->assertNull($sut->getProject()); diff --git a/tests/Repository/Query/BaseQueryTest.php b/tests/Repository/Query/BaseQueryTest.php index 84ee7751..e0d469d9 100644 --- a/tests/Repository/Query/BaseQueryTest.php +++ b/tests/Repository/Query/BaseQueryTest.php @@ -31,7 +31,7 @@ class BaseQueryTest extends TestCase } /** - * @expectedDeprecation BaseQuery::getResultType() is deprecated and will be removed with 1.6 + * @expectedDeprecation BaseQuery::getResultType() is deprecated and will be removed with 2.0 * @group legacy */ public function testDeprecations() @@ -100,6 +100,16 @@ class BaseQueryTest extends TestCase self::assertInstanceOf(BaseQuery::class, $sut->addTeam(new Team())); self::assertEquals(1, count($sut->getTeams())); + + $sut->setTeams(null); + self::assertEmpty($sut->getTeams()); + $sut->setTeams([]); + self::assertEmpty($sut->getTeams()); + + $team = new Team(); + self::assertInstanceOf(BaseQuery::class, $sut->setTeams([$team])); + self::assertEquals(1, count($sut->getTeams())); + self::assertSame($team, $sut->getTeams()[0]); } protected function assertPage(BaseQuery $sut) diff --git a/tests/Repository/Query/CustomerQueryTest.php b/tests/Repository/Query/CustomerQueryTest.php index fbfcb33f..ba0fc9f5 100644 --- a/tests/Repository/Query/CustomerQueryTest.php +++ b/tests/Repository/Query/CustomerQueryTest.php @@ -10,7 +10,7 @@ namespace App\Tests\Repository\Query; use App\Repository\Query\CustomerQuery; -use App\Repository\Query\VisibilityQuery; +use App\Repository\Query\VisibilityInterface; /** * @covers \App\Repository\Query\CustomerQuery @@ -22,7 +22,7 @@ class CustomerQueryTest extends BaseQueryTest $sut = new CustomerQuery(); $this->assertBaseQuery($sut, 'name'); - $this->assertInstanceOf(VisibilityQuery::class, $sut); + $this->assertInstanceOf(VisibilityInterface::class, $sut); $this->assertResetByFormError(new CustomerQuery(), 'name'); } diff --git a/tests/Repository/Query/ProjectQueryTest.php b/tests/Repository/Query/ProjectQueryTest.php index aec4b588..61c7d63a 100644 --- a/tests/Repository/Query/ProjectQueryTest.php +++ b/tests/Repository/Query/ProjectQueryTest.php @@ -11,7 +11,7 @@ namespace App\Tests\Repository\Query; use App\Entity\Customer; use App\Repository\Query\ProjectQuery; -use App\Repository\Query\VisibilityQuery; +use App\Repository\Query\VisibilityInterface; /** * @covers \App\Repository\Query\ProjectQuery @@ -23,7 +23,7 @@ class ProjectQueryTest extends BaseQueryTest $sut = new ProjectQuery(); $this->assertBaseQuery($sut, 'name'); - $this->assertInstanceOf(VisibilityQuery::class, $sut); + $this->assertInstanceOf(VisibilityInterface::class, $sut); $this->assertNull($sut->getCustomer()); @@ -38,5 +38,21 @@ class ProjectQueryTest extends BaseQueryTest $this->assertEquals(99, $sut->getCustomer()); $this->assertResetByFormError(new ProjectQuery(), 'name'); + + self::assertNull($sut->getProjectStart()); + self::assertNull($sut->getProjectEnd()); + } + + public function testSetter() + { + $sut = new ProjectQuery(); + + $start = new \DateTime(); + $sut->setProjectStart($start); + self::assertSame($start, $sut->getProjectStart()); + + $end = new \DateTime('-1 day'); + $sut->setProjectEnd($end); + self::assertSame($end, $sut->getProjectEnd()); } } diff --git a/tests/Repository/Query/UserQueryTest.php b/tests/Repository/Query/UserQueryTest.php index 8e12013e..d7eff860 100644 --- a/tests/Repository/Query/UserQueryTest.php +++ b/tests/Repository/Query/UserQueryTest.php @@ -10,7 +10,7 @@ namespace App\Tests\Repository\Query; use App\Repository\Query\UserQuery; -use App\Repository\Query\VisibilityQuery; +use App\Repository\Query\VisibilityInterface; /** * @covers \App\Repository\Query\UserQuery @@ -21,7 +21,7 @@ class UserQueryTest extends BaseQueryTest { $sut = new UserQuery(); $this->assertBaseQuery($sut, 'username'); - $this->assertInstanceOf(VisibilityQuery::class, $sut); + $this->assertInstanceOf(VisibilityInterface::class, $sut); $this->assertRole($sut); $this->assertResetByFormError(new UserQuery(), 'username'); diff --git a/tests/Repository/Query/VisibilityQueryTest.php b/tests/Repository/Query/VisibilityQueryTest.php index 8169dbf5..cf2de434 100644 --- a/tests/Repository/Query/VisibilityQueryTest.php +++ b/tests/Repository/Query/VisibilityQueryTest.php @@ -9,11 +9,14 @@ namespace App\Tests\Repository\Query; +use App\Repository\Query\VisibilityInterface; use App\Repository\Query\VisibilityQuery; +use App\Repository\Query\VisibilityTrait; use PHPUnit\Framework\TestCase; /** * @covers \App\Repository\Query\VisibilityQuery + * @covers \App\Repository\Query\VisibilityTrait */ class VisibilityQueryTest extends TestCase { @@ -41,4 +44,34 @@ class VisibilityQueryTest extends TestCase $sut->setVisibility(VisibilityQuery::SHOW_VISIBLE); $this->assertEquals(VisibilityQuery::SHOW_VISIBLE, $sut->getVisibility()); } + + public function testVisibilityTrait() + { + $sut = new VisibilityTraitImpl(); + + $this->assertEquals(VisibilityInterface::SHOW_VISIBLE, $sut->getVisibility()); + + $sut->setVisibility('foo-bar'); + $this->assertEquals(VisibilityInterface::SHOW_VISIBLE, $sut->getVisibility()); + + $sut->setVisibility('2'); + $this->assertEquals(VisibilityInterface::SHOW_HIDDEN, $sut->getVisibility()); + + $sut->setVisibility('0'); // keep the value that was previously set + $this->assertEquals(VisibilityInterface::SHOW_HIDDEN, $sut->getVisibility()); + + $sut->setVisibility(VisibilityInterface::SHOW_BOTH); + $this->assertEquals(VisibilityInterface::SHOW_BOTH, $sut->getVisibility()); + + $sut->setVisibility(VisibilityInterface::SHOW_HIDDEN); + $this->assertEquals(VisibilityInterface::SHOW_HIDDEN, $sut->getVisibility()); + + $sut->setVisibility(VisibilityInterface::SHOW_VISIBLE); + $this->assertEquals(VisibilityInterface::SHOW_VISIBLE, $sut->getVisibility()); + } +} + +class VisibilityTraitImpl implements VisibilityInterface +{ + use VisibilityTrait; } diff --git a/tests/Validator/Constraints/ProjectValidatorTest.php b/tests/Validator/Constraints/ProjectValidatorTest.php new file mode 100644 index 00000000..ef032edb --- /dev/null +++ b/tests/Validator/Constraints/ProjectValidatorTest.php @@ -0,0 +1,51 @@ +expectException(UnexpectedTypeException::class); + + $this->validator->validate('foo', new NotBlank()); + } + + public function testEndBeforeStartIsInvalid() + { + $begin = new \DateTime(); + $end = new \DateTime('-1 hour'); + $project = new Project(); + $project->setStart($begin); + $project->setEnd($end); + + $this->validator->validate($project, new ProjectConstraint()); + + $this->buildViolation('End date must not be earlier then start date.') + ->atPath('property.path.end') + ->setCode(ProjectConstraint::END_BEFORE_BEGIN_ERROR) + ->assertRaised(); + } +} diff --git a/tests/Validator/Constraints/TimesheetValidatorTest.php b/tests/Validator/Constraints/TimesheetValidatorTest.php index 13014b2b..4b7eaa01 100644 --- a/tests/Validator/Constraints/TimesheetValidatorTest.php +++ b/tests/Validator/Constraints/TimesheetValidatorTest.php @@ -22,6 +22,7 @@ use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface; use Symfony\Component\Validator\Constraints\NotBlank; use Symfony\Component\Validator\Exception\UnexpectedTypeException; use Symfony\Component\Validator\Test\ConstraintValidatorTestCase; +use Symfony\Component\Validator\Test\ConstraintViolationAssertion; /** * @covers \App\Validator\Constraints\TimesheetValidator @@ -199,4 +200,68 @@ class TimesheetValidatorTest extends ConstraintValidatorTestCase ->setCode(TimesheetConstraint::DISABLED_CUSTOMER_ERROR) ->assertRaised(); } + + public function getProjectStartEndTestData() + { + yield [new \DateTime(), new \DateTime(), [ + ['begin', TimesheetConstraint::PROJECT_NOT_STARTED, 'The project has not started at that time.'], + ['end', TimesheetConstraint::PROJECT_NOT_STARTED, 'The project has not started at that time.'], + ]]; + + yield [new \DateTime('-9 hour'), new \DateTime('-2 hour'), [ + ['begin', TimesheetConstraint::PROJECT_NOT_STARTED, 'The project has not started at that time.'], + ['end', TimesheetConstraint::PROJECT_ALREADY_ENDED, 'The project is finished at that time.'], + ]]; + + yield [new \DateTime('-19 hour'), new \DateTime('-12 hour'), [ + ['begin', TimesheetConstraint::PROJECT_ALREADY_ENDED, 'The project is finished at that time.'], + ['end', TimesheetConstraint::PROJECT_ALREADY_ENDED, 'The project is finished at that time.'], + ]]; + + yield [new \DateTime('-19 hour'), new \DateTime('-2 hour'), [ + ['end', TimesheetConstraint::PROJECT_ALREADY_ENDED, 'The project is finished at that time.'], + ]]; + + yield [new \DateTime('-9 hour'), new \DateTime(), [ + ['begin', TimesheetConstraint::PROJECT_NOT_STARTED, 'The project has not started at that time.'], + ]]; + } + + /** + * @dataProvider getProjectStartEndTestData + */ + public function testEndBeforeWithProjectStartAndEnd(\DateTime $start, \DateTime $end, array $violations) + { + $timesheet = new Timesheet(); + $timesheet->setBegin(new \DateTime('-10 hour')); + $timesheet->setEnd(new \DateTime('-1 hour')); + + $customer = new Customer(); + $project = new Project(); + $project->setStart($start); + $project->setEnd($end); + $project->setCustomer($customer); + + $timesheet->setProject($project); + $timesheet->setActivity(new Activity()); + + $this->validator->validate($timesheet, new TimesheetConstraint(['message' => 'myMessage'])); + + /** @var ConstraintViolationAssertion $assertion */ + $assertion = null; + foreach ($violations as $violation) { + if (null === $assertion) { + $assertion = $this->buildViolation($violation[2]) + ->atPath('property.path.' . $violation[0]) + ->setCode($violation[1]) + ; + } else { + $assertion = $assertion->buildNextViolation($violation[2]) + ->atPath('property.path.' . $violation[0]) + ->setCode($violation[1]) + ; + } + } + $assertion->assertRaised(); + } } diff --git a/tests/phpstan.neon b/tests/phpstan.neon index fc982aa0..29eaf3ad 100644 --- a/tests/phpstan.neon +++ b/tests/phpstan.neon @@ -10,6 +10,7 @@ parameters: - '#Access to an undefined property Faker\\Generator::\$catchPhrase.#' - '#Access to an undefined property Faker\\Generator::\$bs.#' - '#Call to static method PHPUnit\\Framework\\Assert::assertSame\(\) with App\\Entity\\[a-zA-Z0-9]+ and null will always evaluate to false.#' + - '#Method *::getUserByName\(\) should return App\\Entity\\User\|null but returns object|null.#' excludes_analyse: - %rootDir%/../../../tests/Ldap/LdapDriverTest.php inferPrivatePropertyTypeFromConstructor: true \ No newline at end of file diff --git a/translations/messages.de.xlf b/translations/messages.de.xlf index 891c17bf..60f7d71d 100644 --- a/translations/messages.de.xlf +++ b/translations/messages.de.xlf @@ -516,6 +516,14 @@ Tätigkeiten und %records% Zeiteinträge, welche sich auf eine Gesamtdauer von %duration% belaufen. + + label.project_start + Projekt Start + + + label.project_end + Projekt Ende +