passenger 5.2.3 → 5.3.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of passenger might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG +13 -0
- data/CONTRIBUTORS +5 -1
- data/build/agent.rb +22 -2
- data/build/cxx_tests.rb +41 -5
- data/build/misc.rb +4 -1
- data/build/support/cxx_dependency_map.rb +1746 -908
- data/build/support/vendor/cxx_hinted_parser/CxxHintedParser.sublime-project +8 -0
- data/build/support/vendor/cxx_hinted_parser/Gemfile +5 -0
- data/build/support/vendor/cxx_hinted_parser/Gemfile.lock +30 -0
- data/{src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core → build/support/vendor/cxx_hinted_parser}/LICENSE.md +1 -1
- data/build/support/vendor/cxx_hinted_parser/README.md +95 -0
- data/build/support/vendor/cxx_hinted_parser/Rakefile +4 -0
- data/{src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/initialize.rb → build/support/vendor/cxx_hinted_parser/lib/cxx_hinted_parser.rb} +2 -9
- data/build/support/vendor/cxx_hinted_parser/lib/cxx_hinted_parser/parser.rb +239 -0
- data/dev/ci/README.md +15 -2
- data/dev/ci/lib/set-container-envvars.sh +6 -0
- data/dev/ci/lib/setup-container.sh +4 -1
- data/dev/ci/scripts/debug-console-wrapper.sh +3 -1
- data/dev/ci/setup-host +5 -0
- data/dev/ci/tests/binaries/Jenkinsfile +105 -0
- data/dev/ci/tests/binaries/build-linux +38 -0
- data/dev/ci/tests/binaries/build-macos +40 -0
- data/dev/ci/tests/binaries/prepare-macos +38 -0
- data/dev/ci/tests/binaries/test-linux +45 -0
- data/dev/ci/tests/binaries/test-macos +38 -0
- data/dev/ci/tests/debian/Jenkinsfile +2 -2
- data/dev/ci/tests/rpm/Jenkinsfile +1 -1
- data/dev/configkit-schemas/index.json +3 -24
- data/dev/vagrant/nginx_rakefile +0 -1
- data/package.json +15 -5
- data/resources/templates/error_renderer/.editorconfig +19 -0
- data/resources/templates/error_renderer/with_details/README.md +9 -0
- data/resources/templates/error_renderer/with_details/dist/bundle.js +33 -0
- data/resources/templates/error_renderer/with_details/dist/styles.css +17 -0
- data/resources/templates/error_renderer/with_details/src/DetailsView.jsx +52 -0
- data/resources/templates/error_renderer/with_details/src/GetHelpView.jsx +61 -0
- data/resources/templates/error_renderer/with_details/src/JourneyView.css +50 -0
- data/resources/templates/error_renderer/with_details/src/JourneyView.jsx +621 -0
- data/resources/templates/error_renderer/with_details/src/PageMain.css +114 -0
- data/resources/templates/error_renderer/with_details/src/PageMain.jsx +136 -0
- data/resources/templates/error_renderer/with_details/src/ProblemDescriptionView.jsx +14 -0
- data/resources/templates/error_renderer/with_details/src/ProcessDetailsView.jsx +56 -0
- data/resources/templates/error_renderer/with_details/src/SolutionDescriptionView.css +5 -0
- data/resources/templates/error_renderer/with_details/src/SolutionDescriptionView.jsx +15 -0
- data/resources/templates/error_renderer/with_details/src/SummaryView.jsx +35 -0
- data/resources/templates/error_renderer/with_details/src/SystemComponentView.css +34 -0
- data/resources/templates/error_renderer/with_details/src/SystemComponentView.jsx +168 -0
- data/resources/templates/error_renderer/with_details/src/SystemComponentsView.css +13 -0
- data/resources/templates/error_renderer/with_details/src/SystemComponentsView.jsx +116 -0
- data/resources/templates/error_renderer/with_details/src/Tab.jsx +12 -0
- data/resources/templates/error_renderer/with_details/src/Tabs.jsx +104 -0
- data/resources/templates/error_renderer/with_details/src/bootstrap/bootstrap.css +3446 -0
- data/resources/templates/error_renderer/with_details/src/bootstrap/bootstrap.js +293 -0
- data/resources/templates/error_renderer/with_details/src/bootstrap/config.json +401 -0
- data/resources/templates/error_renderer/with_details/src/index.html.template +22 -0
- data/resources/templates/error_renderer/with_details/src/index.jsx +23 -0
- data/resources/templates/error_renderer/with_details/webpack.config.js +47 -0
- data/resources/templates/error_renderer/without_details/dist/bundle.js +1 -0
- data/resources/templates/error_renderer/without_details/dist/styles.css +1 -0
- data/resources/templates/{undisclosed_error.html.template → error_renderer/without_details/src/index.html.template} +7 -11
- data/resources/templates/error_renderer/without_details/src/index.js +1 -0
- data/resources/templates/{error_layout.css → error_renderer/without_details/src/main.css} +5 -2
- data/resources/templates/error_renderer/without_details/webpack.config.js +42 -0
- data/src/agent/AgentMain.cpp +3 -3
- data/src/agent/Core/ApplicationPool/BasicProcessInfo.h +13 -0
- data/src/agent/Core/ApplicationPool/Common.h +3 -4
- data/src/agent/Core/ApplicationPool/Context.h +27 -17
- data/src/agent/Core/ApplicationPool/Group.h +3 -1
- data/src/agent/Core/ApplicationPool/Group/InitializationAndShutdown.cpp +2 -12
- data/src/agent/Core/ApplicationPool/Group/InternalUtils.cpp +55 -10
- data/src/agent/Core/ApplicationPool/Group/LifetimeAndBasics.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/OutOfBandWork.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/SpawningAndRestarting.cpp +13 -6
- data/src/agent/Core/ApplicationPool/Implementation.cpp +16 -100
- data/src/agent/Core/ApplicationPool/Options.h +8 -65
- data/src/agent/Core/ApplicationPool/Pool.h +4 -21
- data/src/agent/Core/ApplicationPool/Pool/AnalyticsCollection.cpp +1 -60
- data/src/agent/Core/ApplicationPool/Pool/GeneralUtils.cpp +10 -13
- data/src/agent/Core/ApplicationPool/Pool/InitializationAndShutdown.cpp +3 -8
- data/src/agent/Core/ApplicationPool/Pool/Miscellaneous.cpp +2 -34
- data/src/agent/Core/ApplicationPool/Pool/StateInspection.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Process.cpp +17 -12
- data/src/agent/Core/ApplicationPool/Process.h +146 -93
- data/src/agent/Core/ApplicationPool/Session.h +2 -2
- data/src/agent/Core/ApplicationPool/Socket.h +28 -27
- data/src/agent/Core/Config.h +1 -3
- data/src/agent/Core/ConfigChange.cpp +2 -4
- data/src/agent/Core/Controller.h +2 -8
- data/src/agent/Core/Controller/BufferBody.cpp +0 -2
- data/src/agent/Core/Controller/CheckoutSession.cpp +12 -24
- data/src/agent/Core/Controller/Config.h +1 -9
- data/src/agent/Core/Controller/ForwardResponse.cpp +0 -34
- data/src/agent/Core/Controller/Hooks.cpp +0 -7
- data/src/agent/Core/Controller/InitRequest.cpp +0 -43
- data/src/agent/Core/Controller/InitializationAndShutdown.cpp +0 -4
- data/src/agent/Core/Controller/Request.h +1 -35
- data/src/agent/Core/Controller/SendRequest.cpp +0 -32
- data/src/agent/Core/CoreMain.cpp +19 -32
- data/src/agent/Core/SpawningKit/Config.h +329 -55
- data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h +369 -0
- data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h.cxxcodebuilder +307 -0
- data/src/agent/Core/SpawningKit/Context.h +211 -0
- data/src/agent/Core/SpawningKit/DirectSpawner.h +112 -122
- data/src/agent/Core/SpawningKit/DummySpawner.h +59 -20
- data/src/agent/Core/SpawningKit/ErrorRenderer.h +117 -0
- data/src/agent/Core/SpawningKit/Exceptions.h +1157 -0
- data/src/agent/Core/SpawningKit/Factory.h +24 -17
- data/src/agent/Core/SpawningKit/{BackgroundIOCapturer.h → Handshake/BackgroundIOCapturer.h} +48 -18
- data/src/agent/Core/SpawningKit/Handshake/Perform.h +1650 -0
- data/src/agent/Core/SpawningKit/Handshake/Prepare.h +582 -0
- data/src/agent/Core/SpawningKit/Handshake/Session.h +91 -0
- data/src/agent/Core/SpawningKit/Handshake/WorkDir.h +100 -0
- data/src/agent/Core/SpawningKit/Journey.h +561 -0
- data/src/agent/Core/SpawningKit/PipeWatcher.h +41 -18
- data/src/agent/Core/SpawningKit/README.md +534 -0
- data/src/agent/Core/SpawningKit/Result.h +182 -7
- data/src/agent/Core/SpawningKit/Result/AutoGeneratedCode.h +69 -0
- data/src/agent/Core/SpawningKit/Result/AutoGeneratedCode.h.cxxcodebuilder +110 -0
- data/src/agent/Core/SpawningKit/SmartSpawner.h +1027 -562
- data/src/agent/Core/SpawningKit/Spawner.h +70 -1134
- data/src/agent/Core/SpawningKit/UserSwitchingRules.h +3 -33
- data/src/agent/README.md +2 -3
- data/src/agent/Shared/ApiServerUtils.h +2 -3
- data/src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp +932 -0
- data/src/agent/Watchdog/Config.h +1 -3
- data/src/agent/Watchdog/WatchdogMain.cpp +2 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +5 -0
- data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp +5 -0
- data/src/apache2_module/ConfigGeneral/ManifestGeneration.h +22 -13
- data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp +5 -0
- data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp +3 -0
- data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp +13 -0
- data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp +7 -0
- data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +13 -0
- data/src/cxx_supportlib/Constants.h +3 -1
- data/src/cxx_supportlib/Exceptions.h +0 -121
- data/src/cxx_supportlib/LoggingKit/Implementation.cpp +7 -6
- data/src/cxx_supportlib/LoggingKit/Logging.h +3 -1
- data/src/cxx_supportlib/Utils.cpp +42 -0
- data/src/cxx_supportlib/Utils.h +7 -0
- data/src/cxx_supportlib/Utils/IOUtils.cpp +58 -0
- data/src/cxx_supportlib/Utils/IOUtils.h +13 -0
- data/src/cxx_supportlib/Utils/JsonUtils.h +130 -23
- data/src/cxx_supportlib/Utils/ScopeGuard.h +9 -4
- data/src/cxx_supportlib/Utils/StrIntUtils.cpp +7 -0
- data/src/cxx_supportlib/Utils/StrIntUtils.h +1 -0
- data/src/cxx_supportlib/Utils/SystemTime.h +1 -1
- data/src/cxx_supportlib/Utils/Timer.h +1 -1
- data/src/cxx_supportlib/WebSocketCommandReverseServer.h +6 -4
- data/src/cxx_supportlib/vendor-copy/adhoc_lve.h +1 -0
- data/src/helper-scripts/node-loader.js +54 -59
- data/src/helper-scripts/rack-loader.rb +63 -60
- data/src/helper-scripts/rack-preloader.rb +125 -72
- data/src/helper-scripts/wsgi-loader.py +100 -43
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +120 -112
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +15 -8
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +142 -142
- data/src/nginx_module/ConfigGeneral/ManifestGeneration.c +26 -15
- data/src/nginx_module/ConfigGeneral/ManifestGeneration.h +3 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +76 -70
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +114 -99
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +170 -156
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +38 -35
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +5 -1
- data/src/ruby_supportlib/phusion_passenger.rb +5 -5
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance.rb +14 -1
- data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +8 -0
- data/src/ruby_supportlib/phusion_passenger/common_library.rb +0 -3
- data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +0 -1
- data/src/ruby_supportlib/phusion_passenger/constants.rb +2 -0
- data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +646 -238
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +117 -95
- data/src/ruby_supportlib/phusion_passenger/packaging.rb +0 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/apache2.rb +5 -1
- data/src/ruby_supportlib/phusion_passenger/preloader_shared_helpers.rb +92 -69
- data/src/ruby_supportlib/phusion_passenger/public_api.rb +0 -17
- data/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb +0 -3
- data/src/ruby_supportlib/phusion_passenger/request_handler.rb +4 -5
- data/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb +0 -22
- metadata +64 -67
- data/resources/templates/error_layout.html.template +0 -86
- data/resources/templates/general_error.html.template +0 -1
- data/resources/templates/general_error_with_html.html.template +0 -1
- data/src/agent/Core/ApplicationPool/ErrorRenderer.h +0 -131
- data/src/agent/Core/SpawningKit/Options.h +0 -41
- data/src/agent/Core/UnionStation/Connection.h +0 -173
- data/src/agent/Core/UnionStation/Context.h +0 -536
- data/src/agent/Core/UnionStation/StopwatchLog.h +0 -147
- data/src/agent/Core/UnionStation/Transaction.h +0 -249
- data/src/agent/SpawnPreparer/SpawnPreparerMain.cpp +0 -208
- data/src/cxx_supportlib/UnionStationFilterSupport.cpp +0 -67
- data/src/cxx_supportlib/UnionStationFilterSupport.h +0 -1622
- data/src/nodejs_supportlib/phusion_passenger/log_express.js +0 -106
- data/src/nodejs_supportlib/phusion_passenger/log_mongodb.js +0 -202
- data/src/nodejs_supportlib/phusion_passenger/ustreporter.js +0 -227
- data/src/nodejs_supportlib/phusion_passenger/ustrouter_connector.js +0 -448
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/CONFIG.md +0 -37
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/Gemfile +0 -17
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/Gemfile.lock +0 -59
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/README-API.md +0 -5
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/README.md +0 -117
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/Rakefile +0 -115
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core.rb +0 -423
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/api.rb +0 -238
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/connection.rb +0 -67
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/context.rb +0 -281
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/lock.rb +0 -62
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/log.rb +0 -66
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/message_channel.rb +0 -157
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter.rb +0 -150
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter/basics.rb +0 -199
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter/controllers.rb +0 -187
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter/misc.rb +0 -303
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter/view_rendering.rb +0 -91
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/simple_json.rb +0 -396
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/spec_helper.rb +0 -279
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/time_point.rb +0 -39
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/transaction.rb +0 -173
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/utils.rb +0 -177
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/version.rb +0 -32
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/version_data.rb +0 -44
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/ruby_versions.yml.example +0 -16
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/ruby_versions.yml.travis +0 -20
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/ruby_versions.yml.travis-with-sudo +0 -18
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/union_station_hooks_core.gemspec +0 -23
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/Gemfile +0 -14
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/Gemfile.lock +0 -45
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/LICENSE.md +0 -19
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/README.md +0 -104
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/Rakefile +0 -160
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails.rb +0 -200
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/action_controller_extension.rb +0 -45
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/action_view_subscriber.rb +0 -55
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/active_record_subscriber.rb +0 -41
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/active_support_benchmarkable_extension.rb +0 -47
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/active_support_cache_subscriber.rb +0 -79
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/exception_logger.rb +0 -57
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/version.rb +0 -32
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/lib/union_station_hooks_rails/version_data.rb +0 -44
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_rails/union_station_hooks_rails.gemspec +0 -34
data/dev/vagrant/nginx_rakefile
CHANGED
data/package.json
CHANGED
@@ -1,16 +1,26 @@
|
|
1
1
|
{
|
2
|
-
"__comment__": [
|
3
|
-
"Indicate Passenger dependencies on Node modules here, and use it to regenerate npm-shrinkwrap.json via 'npm shrinkwrap'."
|
4
|
-
],
|
5
2
|
"name": "passenger",
|
6
3
|
"version": "0.0.0",
|
7
4
|
"description": "A fast and robust web server and application server for Ruby, Python and Node.js",
|
8
5
|
"main": "index.js",
|
9
6
|
"devDependencies": {
|
7
|
+
"babel-core": "^6.25.0",
|
8
|
+
"babel-loader": "^7.0.0",
|
9
|
+
"babel-preset-env": "^1.5.2",
|
10
|
+
"babel-preset-react": "^6.24.1",
|
11
|
+
"body-parser": "^1.18.2",
|
12
|
+
"css-loader": "^0.28.4",
|
13
|
+
"express": "^4.16.3",
|
14
|
+
"extract-text-webpack-plugin": "^2.1.2",
|
15
|
+
"jquery": "^3.2.1",
|
16
|
+
"mocha": "^1.15.1",
|
17
|
+
"multer": "^1.3.0",
|
18
|
+
"preact": "^8.1.0",
|
10
19
|
"should": "^2.0.1",
|
11
20
|
"sinon": "^1.7.3",
|
12
|
-
"
|
13
|
-
"
|
21
|
+
"style-loader": "^0.18.2",
|
22
|
+
"uglifyjs-webpack-plugin": "^0.4.3",
|
23
|
+
"webpack": "^2.6.0"
|
14
24
|
},
|
15
25
|
"scripts": {
|
16
26
|
"test": "rake test:node"
|
@@ -0,0 +1,19 @@
|
|
1
|
+
[*.jsx]
|
2
|
+
indent_style=space
|
3
|
+
indent_size=2
|
4
|
+
trim_trailing_whitespace = true
|
5
|
+
|
6
|
+
[*.js]
|
7
|
+
indent_style=space
|
8
|
+
indent_size=2
|
9
|
+
trim_trailing_whitespace = true
|
10
|
+
|
11
|
+
[*.css]
|
12
|
+
indent_style=space
|
13
|
+
indent_size=2
|
14
|
+
trim_trailing_whitespace = true
|
15
|
+
|
16
|
+
[*.html.template]
|
17
|
+
indent_style=space
|
18
|
+
indent_size=2
|
19
|
+
trim_trailing_whitespace = true
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Editing
|
2
|
+
|
3
|
+
Modifications to the `with_details` error renderer will become active after you do a compilation with webpack:
|
4
|
+
|
5
|
+
passenger/resources/templates/error_renderer/with_details> ../../../../node_modules/webpack/bin/webpack.js
|
6
|
+
|
7
|
+
N.B. webpack should be installed:
|
8
|
+
|
9
|
+
passenger> npm i
|
@@ -0,0 +1,33 @@
|
|
1
|
+
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=23)}([function(e,t,n){"use strict";function r(){}function o(e,t){var n,o,i,s,a=I;for(s=arguments.length;s-- >2;)D.push(arguments[s]);for(t&&null!=t.children&&(D.length||D.push(t.children),delete t.children);D.length;)if((o=D.pop())&&void 0!==o.pop)for(s=o.length;s--;)D.push(o[s]);else"boolean"==typeof o&&(o=null),(i="function"!=typeof e)&&(null==o?o="":"number"==typeof o?o=String(o):"string"!=typeof o&&(i=!1)),i&&n?a[a.length-1]+=o:a===I?a=[o]:a.push(o),n=i;var l=new r;return l.nodeName=e,l.children=a,l.attributes=null==t?void 0:t,l.key=null==t?void 0:t.key,void 0!==j.vnode&&j.vnode(l),l}function i(e,t){for(var n in t)e[n]=t[n];return e}function s(e,t){return o(e.nodeName,i(i({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)}function a(e){!e._dirty&&(e._dirty=!0)&&1==H.push(e)&&(j.debounceRendering||F)(l)}function l(){var e,t=H;for(H=[];e=t.pop();)e._dirty&&T(e)}function u(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&c(e,t.nodeName):n||e._componentConstructor===t.nodeName}function c(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function p(e){var t=i({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function f(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.normalizedNodeName=e,n}function d(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,n,r,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n&&n(null),r&&r(e);else if("class"!==t||o)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"===(void 0===r?"undefined":R(r))){if("string"!=typeof n)for(var i in n)i in r||(e.style[i]="");for(var i in r)e.style[i]="number"==typeof r[i]&&!1===M.test(i)?r[i]+"px":r[i]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var s=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,m,s):e.removeEventListener(t,m,s),(e._listeners||(e._listeners={}))[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e)y(e,t,null==r?"":r),null!=r&&!1!==r||e.removeAttribute(t);else{var a=o&&t!==(t=t.replace(/^xlink:?/,""));null==r||!1===r?a?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(a?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function y(e,t,n){try{e[t]=n}catch(e){}}function m(e){return this._listeners[e.type](j.event&&j.event(e)||e)}function v(){for(var e;e=B.pop();)j.afterMount&&j.afterMount(e),e.componentDidMount&&e.componentDidMount()}function g(e,t,n,r,o,i){q++||(W=null!=o&&void 0!==o.ownerSVGElement,U=null!=e&&!("__preactattr_"in e));var s=b(e,t,n,r,i);return o&&s.parentNode!==o&&o.appendChild(s),--q||(U=!1,i||v()),s}function b(e,t,n,r,o){var i=e,s=W;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||o)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),w(e,!0))),i.__preactattr_=!0,i;var a=t.nodeName;if("function"==typeof a)return k(e,t,n,r);if(W="svg"===a||"foreignObject"!==a&&W,a=String(a),(!e||!c(e,a))&&(i=f(a,W),e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),w(e,!0)}var l=i.firstChild,u=i.__preactattr_,p=t.children;if(null==u){u=i.__preactattr_={};for(var d=i.attributes,h=d.length;h--;)u[d[h].name]=d[h].value}return!U&&p&&1===p.length&&"string"==typeof p[0]&&null!=l&&void 0!==l.splitText&&null==l.nextSibling?l.nodeValue!=p[0]&&(l.nodeValue=p[0]):(p&&p.length||null!=l)&&C(i,p,n,r,U||null!=u.dangerouslySetInnerHTML),S(i,t.attributes,u),W=s,i}function C(e,t,n,r,o){var i,s,a,l,c,p=e.childNodes,f=[],h={},y=0,m=0,v=p.length,g=0,C=t?t.length:0;if(0!==v)for(var x=0;x<v;x++){var S=p[x],_=S.__preactattr_,E=C&&_?S._component?S._component.__key:_.key:null;null!=E?(y++,h[E]=S):(_||(void 0!==S.splitText?!o||S.nodeValue.trim():o))&&(f[g++]=S)}if(0!==C)for(var x=0;x<C;x++){l=t[x],c=null;var E=l.key;if(null!=E)y&&void 0!==h[E]&&(c=h[E],h[E]=void 0,y--);else if(!c&&m<g)for(i=m;i<g;i++)if(void 0!==f[i]&&u(s=f[i],l,o)){c=s,f[i]=void 0,i===g-1&&g--,i===m&&m++;break}c=b(c,l,n,r),a=p[x],c&&c!==e&&c!==a&&(null==a?e.appendChild(c):c===a.nextSibling?d(a):e.insertBefore(c,a))}if(y)for(var x in h)void 0!==h[x]&&w(h[x],!1);for(;m<=g;)void 0!==(c=f[g--])&&w(c,!1)}function w(e,t){var n=e._component;n?P(n):(null!=e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),!1!==t&&null!=e.__preactattr_||d(e),x(e))}function x(e){for(e=e.lastChild;e;){var t=e.previousSibling;w(e,!0),e=t}}function S(e,t,n){var r;for(r in n)t&&null!=t[r]||null==n[r]||h(e,r,n[r],n[r]=void 0,W);for(r in t)"children"===r||"innerHTML"===r||r in n&&t[r]===("value"===r||"checked"===r?e[r]:n[r])||h(e,r,n[r],n[r]=t[r],W)}function _(e){var t=e.constructor.name;($[t]||($[t]=[])).push(e)}function E(e,t,n){var r,o=$[e.name];if(e.prototype&&e.prototype.render?(r=new e(t,n),O.call(r,t,n)):(r=new O(t,n),r.constructor=e,r.render=N),o)for(var i=o.length;i--;)if(o[i].constructor===e){r.nextBase=o[i].nextBase,o.splice(i,1);break}return r}function N(e,t,n){return this.constructor(e,n)}function L(e,t,n,r,o){e._disable||(e._disable=!0,(e.__ref=t.ref)&&delete t.ref,(e.__key=t.key)&&delete t.key,!e.base||o?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,r),r&&r!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=r),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&!1===j.syncComponentUpdates&&e.base?a(e):T(e,1,o)),e.__ref&&e.__ref(e))}function T(e,t,n,r){if(!e._disable){var o,s,a,l=e.props,u=e.state,c=e.context,f=e.prevProps||l,d=e.prevState||u,h=e.prevContext||c,y=e.base,m=e.nextBase,b=y||m,C=e._component,x=!1;if(y&&(e.props=f,e.state=d,e.context=h,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(l,u,c)?x=!0:e.componentWillUpdate&&e.componentWillUpdate(l,u,c),e.props=l,e.state=u,e.context=c),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!x){o=e.render(l,u,c),e.getChildContext&&(c=i(i({},c),e.getChildContext()));var S,_,N=o&&o.nodeName;if("function"==typeof N){var k=p(o);s=C,s&&s.constructor===N&&k.key==s.__key?L(s,k,1,c,!1):(S=s,e._component=s=E(N,k,c),s.nextBase=s.nextBase||m,s._parentComponent=e,L(s,k,0,c,!1),T(s,1,n,!0)),_=s.base}else a=b,S=C,S&&(a=e._component=null),(b||1===t)&&(a&&(a._component=null),_=g(a,o,c,n||!y,b&&b.parentNode,!0));if(b&&_!==b&&s!==C){var O=b.parentNode;O&&_!==O&&(O.replaceChild(_,b),S||(b._component=null,w(b,!1)))}if(S&&P(S),e.base=_,_&&!r){for(var A=e,R=e;R=R._parentComponent;)(A=R).base=_;_._component=A,_._componentConstructor=A.constructor}}if(!y||n?B.unshift(e):x||(e.componentDidUpdate&&e.componentDidUpdate(f,d,h),j.afterUpdate&&j.afterUpdate(e)),null!=e._renderCallbacks)for(;e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);q||r||v()}}function k(e,t,n,r){for(var o=e&&e._component,i=o,s=e,a=o&&e._componentConstructor===t.nodeName,l=a,u=p(t);o&&!l&&(o=o._parentComponent);)l=o.constructor===t.nodeName;return o&&l&&(!r||o._component)?(L(o,u,3,n,r),e=o.base):(i&&!a&&(P(i),e=s=null),o=E(t.nodeName,u,n),e&&!o.nextBase&&(o.nextBase=e,s=null),L(o,u,1,n,r),e=o.base,s&&e!==s&&(s._component=null,w(s,!1))),e}function P(e){j.beforeUnmount&&j.beforeUnmount(e);var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?P(n):t&&(t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),e.nextBase=t,d(t),_(e),x(t)),e.__ref&&e.__ref(null)}function O(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{}}function A(e,t,n){return g(n,e,{},!1,t,!1)}Object.defineProperty(t,"__esModule",{value:!0});var R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j={},D=[],I=[],F="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout,M=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,H=[],B=[],q=0,W=!1,U=!1,$={};i(O.prototype,{setState:function(e,t){var n=this.state;this.prevState||(this.prevState=i({},n)),i(n,"function"==typeof e?e(n,this.props):e),t&&(this._renderCallbacks=this._renderCallbacks||[]).push(t),a(this)},forceUpdate:function(e){e&&(this._renderCallbacks=this._renderCallbacks||[]).push(e),T(this,2)},render:function(){}});var G={h:o,createElement:o,cloneElement:s,Component:O,render:A,rerender:l,options:j};t.default=G,t.h=o,t.createElement=o,t.cloneElement=s,t.Component=O,t.render=A,t.rerender=l,t.options=j},function(e,t,n){"use strict";(function(e){var n,r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};/*!
|
2
|
+
* jQuery JavaScript Library v3.3.1
|
3
|
+
* https://jquery.com/
|
4
|
+
*
|
5
|
+
* Includes Sizzle.js
|
6
|
+
* https://sizzlejs.com/
|
7
|
+
*
|
8
|
+
* Copyright JS Foundation and other contributors
|
9
|
+
* Released under the MIT license
|
10
|
+
* https://jquery.org/license
|
11
|
+
*
|
12
|
+
* Date: 2018-01-20T17:24Z
|
13
|
+
*/
|
14
|
+
!function(t,n){"object"===o(e)&&"object"===o(e.exports)?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:void 0,function(i,s){function a(e,t,n){t=t||pe;var r,o=t.createElement("script");if(o.text=e,n)for(r in Ee)n[r]&&(o[r]=n[r]);t.head.appendChild(o).parentNode.removeChild(o)}function l(e){return null==e?e+"":"object"===(void 0===e?"undefined":o(e))||"function"==typeof e?ve[ge.call(e)]||"object":void 0===e?"undefined":o(e)}function u(e){var t=!!e&&"length"in e&&e.length,n=l(e);return!Se(e)&&!_e(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function c(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function p(e,t,n){return Se(t)?Ne.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?Ne.grep(e,function(e){return e===t!==n}):"string"!=typeof t?Ne.grep(e,function(e){return me.call(t,e)>-1!==n}):Ne.filter(t,e,n)}function f(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function d(e){var t={};return Ne.each(e.match(Fe)||[],function(e,n){t[n]=!0}),t}function h(e){return e}function y(e){throw e}function m(e,t,n,r){var o;try{e&&Se(o=e.promise)?o.call(e).done(t).fail(n):e&&Se(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function v(){pe.removeEventListener("DOMContentLoaded",v),i.removeEventListener("load",v),Ne.ready()}function g(e,t){return t.toUpperCase()}function b(e){return e.replace(qe,"ms-").replace(We,g)}function C(){this.expando=Ne.expando+C.uid++}function w(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Ke.test(e)?JSON.parse(e):e)}function x(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ze,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=w(n)}catch(e){}Ge.set(e,t,n)}else n=void 0;return n}function S(e,t,n,r){var o,i,s=20,a=r?function(){return r.cur()}:function(){return Ne.css(e,t,"")},l=a(),u=n&&n[3]||(Ne.cssNumber[t]?"":"px"),c=(Ne.cssNumber[t]||"px"!==u&&+l)&&Xe.exec(Ne.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;s--;)Ne.style(e,t,c+u),(1-i)*(1-(i=a()/l||.5))<=0&&(s=0),c/=i;c*=2,Ne.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=o)),o}function _(e){var t,n=e.ownerDocument,r=e.nodeName,o=Qe[r];return o||(t=n.body.appendChild(n.createElement(r)),o=Ne.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),Qe[r]=o,o)}function E(e,t){for(var n,r,o=[],i=0,s=e.length;i<s;i++)r=e[i],r.style&&(n=r.style.display,t?("none"===n&&(o[i]=$e.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&Je(r)&&(o[i]=_(r))):"none"!==n&&(o[i]="none",$e.set(r,"display",n)));for(i=0;i<s;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}function N(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&c(e,t)?Ne.merge([e],n):n}function L(e,t){for(var n=0,r=e.length;n<r;n++)$e.set(e[n],"globalEval",!t||$e.get(t[n],"globalEval"))}function T(e,t,n,r,o){for(var i,s,a,u,c,p,f=t.createDocumentFragment(),d=[],h=0,y=e.length;h<y;h++)if((i=e[h])||0===i)if("object"===l(i))Ne.merge(d,i.nodeType?[i]:i);else if(ot.test(i)){for(s=s||f.appendChild(t.createElement("div")),a=(tt.exec(i)||["",""])[1].toLowerCase(),u=rt[a]||rt._default,s.innerHTML=u[1]+Ne.htmlPrefilter(i)+u[2],p=u[0];p--;)s=s.lastChild;Ne.merge(d,s.childNodes),s=f.firstChild,s.textContent=""}else d.push(t.createTextNode(i));for(f.textContent="",h=0;i=d[h++];)if(r&&Ne.inArray(i,r)>-1)o&&o.push(i);else if(c=Ne.contains(i.ownerDocument,i),s=N(f.appendChild(i),"script"),c&&L(s),n)for(p=0;i=s[p++];)nt.test(i.type||"")&&n.push(i);return f}function k(){return!0}function P(){return!1}function O(){try{return pe.activeElement}catch(e){}}function A(e,t,n,r,i,s){var a,l;if("object"===(void 0===t?"undefined":o(t))){"string"!=typeof n&&(r=r||n,n=void 0);for(l in t)A(e,l,n,r,t[l],s);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=P;else if(!i)return e;return 1===s&&(a=i,i=function(e){return Ne().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=Ne.guid++)),e.each(function(){Ne.event.add(this,t,i,r,n)})}function R(e,t){return c(e,"table")&&c(11!==t.nodeType?t:t.firstChild,"tr")?Ne(e).children("tbody")[0]||e:e}function j(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function D(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function I(e,t){var n,r,o,i,s,a,l,u;if(1===t.nodeType){if($e.hasData(e)&&(i=$e.access(e),s=$e.set(t,i),u=i.events)){delete s.handle,s.events={};for(o in u)for(n=0,r=u[o].length;n<r;n++)Ne.event.add(t,o,u[o][n])}Ge.hasData(e)&&(a=Ge.access(e),l=Ne.extend({},a),Ge.set(t,l))}}function F(e,t){var n=t.nodeName.toLowerCase();"input"===n&&et.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function M(e,t,n,r){t=he.apply([],t);var o,i,s,l,u,c,p=0,f=e.length,d=f-1,h=t[0],y=Se(h);if(y||f>1&&"string"==typeof h&&!xe.checkClone&&pt.test(h))return e.each(function(o){var i=e.eq(o);y&&(t[0]=h.call(this,o,i.html())),M(i,t,n,r)});if(f&&(o=T(t,e[0].ownerDocument,!1,e,r),i=o.firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=Ne.map(N(o,"script"),j),l=s.length;p<f;p++)u=o,p!==d&&(u=Ne.clone(u,!0,!0),l&&Ne.merge(s,N(u,"script"))),n.call(e[p],u,p);if(l)for(c=s[s.length-1].ownerDocument,Ne.map(s,D),p=0;p<l;p++)u=s[p],nt.test(u.type||"")&&!$e.access(u,"globalEval")&&Ne.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?Ne._evalUrl&&Ne._evalUrl(u.src):a(u.textContent.replace(ft,""),c,u))}return e}function H(e,t,n){for(var r,o=t?Ne.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||Ne.cleanData(N(r)),r.parentNode&&(n&&Ne.contains(r.ownerDocument,r)&&L(N(r,"script")),r.parentNode.removeChild(r));return e}function B(e,t,n){var r,o,i,s,a=e.style;return n=n||ht(e),n&&(s=n.getPropertyValue(t)||n[t],""!==s||Ne.contains(e.ownerDocument,e)||(s=Ne.style(e,t)),!xe.pixelBoxStyles()&&dt.test(s)&&yt.test(t)&&(r=a.width,o=a.minWidth,i=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=o,a.maxWidth=i)),void 0!==s?s+"":s}function q(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function W(e){if(e in wt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Ct.length;n--;)if((e=Ct[n]+t)in wt)return e}function U(e){var t=Ne.cssProps[e];return t||(t=Ne.cssProps[e]=W(e)||e),t}function $(e,t,n){var r=Xe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function G(e,t,n,r,o,i){var s="width"===t?1:0,a=0,l=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=Ne.css(e,n+Ze[s],!0,o)),r?("content"===n&&(l-=Ne.css(e,"padding"+Ze[s],!0,o)),"margin"!==n&&(l-=Ne.css(e,"border"+Ze[s]+"Width",!0,o))):(l+=Ne.css(e,"padding"+Ze[s],!0,o),"padding"!==n?l+=Ne.css(e,"border"+Ze[s]+"Width",!0,o):a+=Ne.css(e,"border"+Ze[s]+"Width",!0,o));return!r&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-a-.5))),l}function K(e,t,n){var r=ht(e),o=B(e,t,r),i="border-box"===Ne.css(e,"boxSizing",!1,r),s=i;if(dt.test(o)){if(!n)return o;o="auto"}return s=s&&(xe.boxSizingReliable()||o===e.style[t]),("auto"===o||!parseFloat(o)&&"inline"===Ne.css(e,"display",!1,r))&&(o=e["offset"+t[0].toUpperCase()+t.slice(1)],s=!0),(o=parseFloat(o)||0)+G(e,t,n||(i?"border":"content"),s,r,o)+"px"}function z(e,t,n,r,o){return new z.prototype.init(e,t,n,r,o)}function V(){St&&(!1===pe.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(V):i.setTimeout(V,Ne.fx.interval),Ne.fx.tick())}function X(){return i.setTimeout(function(){xt=void 0}),xt=Date.now()}function Z(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)n=Ze[r],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function J(e,t,n){for(var r,o=(ee.tweeners[t]||[]).concat(ee.tweeners["*"]),i=0,s=o.length;i<s;i++)if(r=o[i].call(n,t,e))return r}function Y(e,t,n){var r,o,i,s,a,l,u,c,p="width"in t||"height"in t,f=this,d={},h=e.style,y=e.nodeType&&Je(e),m=$e.get(e,"fxshow");n.queue||(s=Ne._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,Ne.queue(e,"fx").length||s.empty.fire()})}));for(r in t)if(o=t[r],_t.test(o)){if(delete t[r],i=i||"toggle"===o,o===(y?"hide":"show")){if("show"!==o||!m||void 0===m[r])continue;y=!0}d[r]=m&&m[r]||Ne.style(e,r)}if((l=!Ne.isEmptyObject(t))||!Ne.isEmptyObject(d)){p&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],u=m&&m.display,null==u&&(u=$e.get(e,"display")),c=Ne.css(e,"display"),"none"===c&&(u?c=u:(E([e],!0),u=e.style.display||u,c=Ne.css(e,"display"),E([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===Ne.css(e,"float")&&(l||(f.done(function(){h.display=u}),null==u&&(c=h.display,u="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),l=!1;for(r in d)l||(m?"hidden"in m&&(y=m.hidden):m=$e.access(e,"fxshow",{display:u}),i&&(m.hidden=!y),y&&E([e],!0),f.done(function(){y||E([e]),$e.remove(e,"fxshow");for(r in d)Ne.style(e,r,d[r])})),l=J(y?m[r]:0,r,f),r in m||(m[r]=l.start,y&&(l.end=l.start,l.start=0))}}function Q(e,t){var n,r,o,i,s;for(n in e)if(r=b(n),o=t[r],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(s=Ne.cssHooks[r])&&"expand"in s){i=s.expand(i),delete e[r];for(n in i)n in e||(e[n]=i[n],t[n]=o)}else t[r]=o}function ee(e,t,n){var r,o,i=0,s=ee.prefilters.length,a=Ne.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=xt||X(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,i=1-r,s=0,l=u.tweens.length;s<l;s++)u.tweens[s].run(i);return a.notifyWith(e,[u,i,n]),i<1&&l?n:(l||a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u]),!1)},u=a.promise({elem:e,props:Ne.extend({},t),opts:Ne.extend(!0,{specialEasing:{},easing:Ne.easing._default},n),originalProperties:t,originalOptions:n,startTime:xt||X(),duration:n.duration,tweens:[],createTween:function(t,n){var r=Ne.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)u.tweens[n].run(1);return t?(a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u,t])):a.rejectWith(e,[u,t]),this}}),c=u.props;for(Q(c,u.opts.specialEasing);i<s;i++)if(r=ee.prefilters[i].call(u,e,c,u.opts))return Se(r.stop)&&(Ne._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return Ne.map(c,J,u),Se(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),Ne.fx.timer(Ne.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}function te(e){return(e.match(Fe)||[]).join(" ")}function ne(e){return e.getAttribute&&e.getAttribute("class")||""}function re(e){return Array.isArray(e)?e:"string"==typeof e?e.match(Fe)||[]:[]}function oe(e,t,n,r){var i;if(Array.isArray(t))Ne.each(t,function(t,i){n||It.test(e)?r(e,i):oe(e+"["+("object"===(void 0===i?"undefined":o(i))&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==l(t))r(e,t);else for(i in t)oe(e+"["+i+"]",t[i],n,r)}function ie(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(Fe)||[];if(Se(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function se(e,t,n,r){function o(a){var l;return i[a]=!0,Ne.each(e[a]||[],function(e,a){var u=a(t,n,r);return"string"!=typeof u||s||i[u]?s?!(l=u):void 0:(t.dataTypes.unshift(u),o(u),!1)}),l}var i={},s=e===Vt;return o(t.dataTypes[0])||!i["*"]&&o("*")}function ae(e,t){var n,r,o=Ne.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&Ne.extend(!0,e,r),e}function le(e,t,n){for(var r,o,i,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in a)if(a[o]&&a[o].test(r)){l.unshift(o);break}if(l[0]in n)i=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){i=o;break}s||(s=o)}i=i||s}if(i)return i!==l[0]&&l.unshift(i),n[i]}function ue(e,t,n,r){var o,i,s,a,l,u={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)u[s.toLowerCase()]=e.converters[s];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=c.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(s=u[l+" "+i]||u["* "+i]))for(o in u)if(a=o.split(" "),a[1]===i&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[o]:!0!==u[o]&&(i=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}var ce=[],pe=i.document,fe=Object.getPrototypeOf,de=ce.slice,he=ce.concat,ye=ce.push,me=ce.indexOf,ve={},ge=ve.toString,be=ve.hasOwnProperty,Ce=be.toString,we=Ce.call(Object),xe={},Se=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},_e=function(e){return null!=e&&e===e.window},Ee={type:!0,src:!0,noModule:!0},Ne=function e(t,n){return new e.fn.init(t,n)},Le=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;Ne.fn=Ne.prototype={jquery:"3.3.1",constructor:Ne,length:0,toArray:function(){return de.call(this)},get:function(e){return null==e?de.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=Ne.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return Ne.each(this,e)},map:function(e){return this.pushStack(Ne.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(de.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ye,sort:ce.sort,splice:ce.splice},Ne.extend=Ne.fn.extend=function(){var e,t,n,r,i,s,a=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[l]||{},l++),"object"===(void 0===a?"undefined":o(a))||Se(a)||(a={}),l===u&&(a=this,l--);l<u;l++)if(null!=(e=arguments[l]))for(t in e)n=a[t],r=e[t],a!==r&&(c&&r&&(Ne.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,s=n&&Array.isArray(n)?n:[]):s=n&&Ne.isPlainObject(n)?n:{},a[t]=Ne.extend(c,s,r)):void 0!==r&&(a[t]=r));return a},Ne.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==ge.call(e))&&(!(t=fe(e))||"function"==typeof(n=be.call(t,"constructor")&&t.constructor)&&Ce.call(n)===we)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){a(e)},each:function(e,t){var n,r=0;if(u(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(Le,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(u(Object(e))?Ne.merge(n,"string"==typeof e?[e]:e):ye.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:me.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,s=!n;o<i;o++)!t(e[o],o)!==s&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,s=[];if(u(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&s.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&s.push(o);return he.apply([],s)},guid:1,support:xe}),"function"==typeof Symbol&&(Ne.fn[Symbol.iterator]=ce[Symbol.iterator]),Ne.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ve["[object "+t+"]"]=t.toLowerCase()});var Te=/*!
|
15
|
+
* Sizzle CSS Selector Engine v2.3.3
|
16
|
+
* https://sizzlejs.com/
|
17
|
+
*
|
18
|
+
* Copyright jQuery Foundation and other contributors
|
19
|
+
* Released under the MIT license
|
20
|
+
* http://jquery.org/license
|
21
|
+
*
|
22
|
+
* Date: 2016-08-08
|
23
|
+
*/
|
24
|
+
function(e){function t(e,t,n,r){var o,i,s,a,l,c,f,d=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:H)!==O&&P(t),t=t||O,R)){if(11!==h&&(l=ye.exec(e)))if(o=l[1]){if(9===h){if(!(s=t.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(d&&(s=d.getElementById(o))&&F(t,s)&&s.id===o)return n.push(s),n}else{if(l[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&C.getElementsByClassName&&t.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(o)),n}if(C.qsa&&!$[e+" "]&&(!j||!j.test(e))){if(1!==h)d=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(be,Ce):t.setAttribute("id",a=M),c=_(e),i=c.length;i--;)c[i]="#"+a+" "+p(c[i]);f=c.join(","),d=me.test(e)&&u(t.parentNode)||t}if(f)try{return Z.apply(n,d.querySelectorAll(f)),n}catch(e){}finally{a===M&&t.removeAttribute("id")}}}return N(e.replace(ie,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>w.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[M]=!0,e}function o(e){var t=O.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=n.length;r--;)w.attrHandle[n[r]]=t}function s(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function a(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&xe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var o,i=e([],n.length,t),s=i.length;s--;)n[o=i[s]]&&(n[o]=!(r[o]=n[o]))})})}function u(e){return e&&void 0!==e.getElementsByTagName&&e}function c(){}function p(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function f(e,t,n){var r=t.dir,o=t.next,i=o||r,s=n&&"parentNode"===i,a=q++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||s)return e(t,n,o);return!1}:function(t,n,l){var u,c,p,f=[B,a];if(l){for(;t=t[r];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||s)if(p=t[M]||(t[M]={}),c=p[t.uniqueID]||(p[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((u=c[i])&&u[0]===B&&u[1]===a)return f[2]=u[2];if(c[i]=f,f[2]=e(t,n,l))return!0}return!1}}function d(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function h(e,n,r){for(var o=0,i=n.length;o<i;o++)t(e,n[o],r);return r}function y(e,t,n,r,o){for(var i,s=[],a=0,l=e.length,u=null!=t;a<l;a++)(i=e[a])&&(n&&!n(i,r,o)||(s.push(i),u&&t.push(a)));return s}function m(e,t,n,o,i,s){return o&&!o[M]&&(o=m(o)),i&&!i[M]&&(i=m(i,s)),r(function(r,s,a,l){var u,c,p,f=[],d=[],m=s.length,v=r||h(t||"*",a.nodeType?[a]:a,[]),g=!e||!r&&t?v:y(v,f,e,a,l),b=n?i||(r?e:m||o)?[]:s:g;if(n&&n(g,b,a,l),o)for(u=y(b,d),o(u,[],a,l),c=u.length;c--;)(p=u[c])&&(b[d[c]]=!(g[d[c]]=p));if(r){if(i||e){if(i){for(u=[],c=b.length;c--;)(p=b[c])&&u.push(g[c]=p);i(null,b=[],u,l)}for(c=b.length;c--;)(p=b[c])&&(u=i?Y(r,p):f[c])>-1&&(r[u]=!(s[u]=p))}}else b=y(b===s?b.splice(m,b.length):b),i?i(null,s,b,l):Z.apply(s,b)})}function v(e){for(var t,n,r,o=e.length,i=w.relative[e[0].type],s=i||w.relative[" "],a=i?1:0,l=f(function(e){return e===t},s,!0),u=f(function(e){return Y(t,e)>-1},s,!0),c=[function(e,n,r){var o=!i&&(r||n!==L)||((t=n).nodeType?l(e,n,r):u(e,n,r));return t=null,o}];a<o;a++)if(n=w.relative[e[a].type])c=[f(d(c),n)];else{if(n=w.filter[e[a].type].apply(null,e[a].matches),n[M]){for(r=++a;r<o&&!w.relative[e[r].type];r++);return m(a>1&&d(c),a>1&&p(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ie,"$1"),n,a<r&&v(e.slice(a,r)),r<o&&v(e=e.slice(r)),r<o&&p(e))}c.push(n)}return d(c)}function g(e,n){var o=n.length>0,i=e.length>0,s=function(r,s,a,l,u){var c,p,f,d=0,h="0",m=r&&[],v=[],g=L,b=r||i&&w.find.TAG("*",u),C=B+=null==g?1:Math.random()||.1,x=b.length;for(u&&(L=s===O||s||u);h!==x&&null!=(c=b[h]);h++){if(i&&c){for(p=0,s||c.ownerDocument===O||(P(c),a=!R);f=e[p++];)if(f(c,s||O,a)){l.push(c);break}u&&(B=C)}o&&((c=!f&&c)&&d--,r&&m.push(c))}if(d+=h,o&&h!==d){for(p=0;f=n[p++];)f(m,v,s,a);if(r){if(d>0)for(;h--;)m[h]||v[h]||(v[h]=V.call(l));v=y(v)}Z.apply(l,v),u&&!r&&v.length>0&&d+n.length>1&&t.uniqueSort(l)}return u&&(B=C,L=g),m};return o?r(s):s}var b,C,w,x,S,_,E,N,L,T,k,P,O,A,R,j,D,I,F,M="sizzle"+1*new Date,H=e.document,B=0,q=0,W=n(),U=n(),$=n(),G=function(e,t){return e===t&&(k=!0),0},K={}.hasOwnProperty,z=[],V=z.pop,X=z.push,Z=z.push,J=z.slice,Y=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",re=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",oe=new RegExp(ee+"+","g"),ie=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),se=new RegExp("^"+ee+"*,"+ee+"*"),ae=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),le=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),ue=new RegExp(re),ce=new RegExp("^"+te+"$"),pe={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},fe=/^(?:input|select|textarea|button)$/i,de=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,me=/[+~]/,ve=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),ge=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},be=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Ce=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},we=function(){P()},xe=f(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{Z.apply(z=J.call(H.childNodes),H.childNodes),z[H.childNodes.length].nodeType}catch(e){Z={apply:z.length?function(e,t){X.apply(e,J.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}C=t.support={},S=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},P=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:H;return r!==O&&9===r.nodeType&&r.documentElement?(O=r,A=O.documentElement,R=!S(O),H!==O&&(n=O.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",we,!1):n.attachEvent&&n.attachEvent("onunload",we)),C.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),C.getElementsByTagName=o(function(e){return e.appendChild(O.createComment("")),!e.getElementsByTagName("*").length}),C.getElementsByClassName=he.test(O.getElementsByClassName),C.getById=o(function(e){return A.appendChild(e).id=M,!O.getElementsByName||!O.getElementsByName(M).length}),C.getById?(w.filter.ID=function(e){var t=e.replace(ve,ge);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&R){var n=t.getElementById(e);return n?[n]:[]}}):(w.filter.ID=function(e){var t=e.replace(ve,ge);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&R){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),w.find.TAG=C.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):C.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},w.find.CLASS=C.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&R)return t.getElementsByClassName(e)},D=[],j=[],(C.qsa=he.test(O.querySelectorAll))&&(o(function(e){A.appendChild(e).innerHTML="<a id='"+M+"'></a><select id='"+M+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&j.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||j.push("\\["+ee+"*(?:value|"+Q+")"),e.querySelectorAll("[id~="+M+"-]").length||j.push("~="),e.querySelectorAll(":checked").length||j.push(":checked"),e.querySelectorAll("a#"+M+"+*").length||j.push(".#.+[+~]")}),o(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=O.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&j.push("name"+ee+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&j.push(":enabled",":disabled"),A.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&j.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),j.push(",.*:")})),(C.matchesSelector=he.test(I=A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&o(function(e){C.disconnectedMatch=I.call(e,"*"),I.call(e,"[s!='']:x"),D.push("!=",re)}),j=j.length&&new RegExp(j.join("|")),D=D.length&&new RegExp(D.join("|")),t=he.test(A.compareDocumentPosition),F=t||he.test(A.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return k=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!C.sortDetached&&t.compareDocumentPosition(e)===n?e===O||e.ownerDocument===H&&F(H,e)?-1:t===O||t.ownerDocument===H&&F(H,t)?1:T?Y(T,e)-Y(T,t):0:4&n?-1:1)}:function(e,t){if(e===t)return k=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],l=[t];if(!o||!i)return e===O?-1:t===O?1:o?-1:i?1:T?Y(T,e)-Y(T,t):0;if(o===i)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[r]===l[r];)r++;return r?s(a[r],l[r]):a[r]===H?-1:l[r]===H?1:0},O):O},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==O&&P(e),n=n.replace(le,"='$1']"),C.matchesSelector&&R&&!$[n+" "]&&(!D||!D.test(n))&&(!j||!j.test(n)))try{var r=I.call(e,n);if(r||C.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,O,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==O&&P(e),F(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==O&&P(e);var n=w.attrHandle[t.toLowerCase()],r=n&&K.call(w.attrHandle,t.toLowerCase())?n(e,t,!R):void 0;return void 0!==r?r:C.attributes||!R?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(be,Ce)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,o=0;if(k=!C.detectDuplicates,T=!C.sortStable&&e.slice(0),e.sort(G),k){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return T=null,e},x=t.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=x(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=x(t);return n},w=t.selectors={cacheLength:50,createPseudo:r,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ve,ge),e[3]=(e[3]||e[4]||e[5]||"").replace(ve,ge),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ue.test(n)&&(t=_(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ve,ge).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(o){var i=t.attr(o,e);return null==i?"!="===n:!n||(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i.replace(oe," ")+" ").indexOf(r)>-1:"|="===n&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,y=i!==s?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),g=!l&&!a,b=!1;if(m){if(i){for(;y;){for(f=t;f=f[y];)if(a?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;h=y="only"===e&&!h&&"nextSibling"}return!0}if(h=[s?m.firstChild:m.lastChild],s&&g){for(f=m,p=f[M]||(f[M]={}),c=p[f.uniqueID]||(p[f.uniqueID]={}),u=c[e]||[],d=u[0]===B&&u[1],b=d&&u[2],f=d&&m.childNodes[d];f=++d&&f&&f[y]||(b=d=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[B,d,b];break}}else if(g&&(f=t,p=f[M]||(f[M]={}),c=p[f.uniqueID]||(p[f.uniqueID]={}),u=c[e]||[],d=u[0]===B&&u[1],b=d),!1===b)for(;(f=++d&&f&&f[y]||(b=d=0)||h.pop())&&((a?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++b||(g&&(p=f[M]||(f[M]={}),c=p[f.uniqueID]||(p[f.uniqueID]={}),c[e]=[B,b]),f!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,n){var o,i=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[M]?i(n):i.length>1?(o=[e,e,"",n],w.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,o=i(e,n),s=o.length;s--;)r=Y(e,o[s]),e[r]=!(t[r]=o[s])}):function(e){return i(e,0,o)}):i}},pseudos:{not:r(function(e){var t=[],n=[],o=E(e.replace(ie,"$1"));return o[M]?r(function(e,t,n,r){for(var i,s=o(e,null,r,[]),a=e.length;a--;)(i=s[a])&&(e[a]=!(t[a]=i))}):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ve,ge),function(t){return(t.textContent||t.innerText||x(t)).indexOf(e)>-1}}),lang:r(function(e){return ce.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ve,ge).toLowerCase(),function(t){var n;do{if(n=R?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===A},focus:function(e){return e===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:a(!1),disabled:a(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return de.test(e.nodeName)},input:function(e){return fe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[n<0?n+t:n]}),even:l(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},w.pseudos.nth=w.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[b]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(b);for(b in{submit:!0,reset:!0})w.pseudos[b]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(b);return c.prototype=w.filters=w.pseudos,w.setFilters=new c,_=t.tokenize=function(e,n){var r,o,i,s,a,l,u,c=U[e+" "];if(c)return n?0:c.slice(0);for(a=e,l=[],u=w.preFilter;a;){r&&!(o=se.exec(a))||(o&&(a=a.slice(o[0].length)||a),l.push(i=[])),r=!1,(o=ae.exec(a))&&(r=o.shift(),i.push({value:r,type:o[0].replace(ie," ")}),a=a.slice(r.length));for(s in w.filter)!(o=pe[s].exec(a))||u[s]&&!(o=u[s](o))||(r=o.shift(),i.push({value:r,type:s,matches:o}),a=a.slice(r.length));if(!r)break}return n?a.length:a?t.error(e):U(e,l).slice(0)},E=t.compile=function(e,t){var n,r=[],o=[],i=$[e+" "];if(!i){for(t||(t=_(e)),n=t.length;n--;)i=v(t[n]),i[M]?r.push(i):o.push(i);i=$(e,g(o,r)),i.selector=e}return i},N=t.select=function(e,t,n,r){var o,i,s,a,l,c="function"==typeof e&&e,f=!r&&_(e=c.selector||e);if(n=n||[],1===f.length){if(i=f[0]=f[0].slice(0),i.length>2&&"ID"===(s=i[0]).type&&9===t.nodeType&&R&&w.relative[i[1].type]){if(!(t=(w.find.ID(s.matches[0].replace(ve,ge),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=pe.needsContext.test(e)?0:i.length;o--&&(s=i[o],!w.relative[a=s.type]);)if((l=w.find[a])&&(r=l(s.matches[0].replace(ve,ge),me.test(i[0].type)&&u(t.parentNode)||t))){if(i.splice(o,1),!(e=r.length&&p(i)))return Z.apply(n,r),n;break}}return(c||E(e,f))(r,t,!R,n,!t||me.test(e)&&u(t.parentNode)||t),n},C.sortStable=M.split("").sort(G).join("")===M,C.detectDuplicates=!!k,P(),C.sortDetached=o(function(e){return 1&e.compareDocumentPosition(O.createElement("fieldset"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),C.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(Q,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(i);Ne.find=Te,Ne.expr=Te.selectors,Ne.expr[":"]=Ne.expr.pseudos,Ne.uniqueSort=Ne.unique=Te.uniqueSort,Ne.text=Te.getText,Ne.isXMLDoc=Te.isXML,Ne.contains=Te.contains,Ne.escapeSelector=Te.escape;var ke=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&Ne(e).is(n))break;r.push(e)}return r},Pe=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Oe=Ne.expr.match.needsContext,Ae=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Ne.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Ne.find.matchesSelector(r,e)?[r]:[]:Ne.find.matches(e,Ne.grep(t,function(e){return 1===e.nodeType}))},Ne.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(Ne(e).filter(function(){for(t=0;t<r;t++)if(Ne.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)Ne.find(e,o[t],n);return r>1?Ne.uniqueSort(n):n},filter:function(e){return this.pushStack(p(this,e||[],!1))},not:function(e){return this.pushStack(p(this,e||[],!0))},is:function(e){return!!p(this,"string"==typeof e&&Oe.test(e)?Ne(e):e||[],!1).length}});var Re,je=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Ne.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||Re,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:je.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof Ne?t[0]:t,Ne.merge(this,Ne.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:pe,!0)),Ae.test(r[1])&&Ne.isPlainObject(t))for(r in t)Se(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return o=pe.getElementById(r[2]),o&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):Se(e)?void 0!==n.ready?n.ready(e):e(Ne):Ne.makeArray(e,this)}).prototype=Ne.fn,Re=Ne(pe);var De=/^(?:parents|prev(?:Until|All))/,Ie={children:!0,contents:!0,next:!0,prev:!0};Ne.fn.extend({has:function(e){var t=Ne(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(Ne.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,o=this.length,i=[],s="string"!=typeof e&&Ne(e);if(!Oe.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&Ne.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?Ne.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?me.call(Ne(e),this[0]):me.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Ne.uniqueSort(Ne.merge(this.get(),Ne(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Ne.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ke(e,"parentNode")},parentsUntil:function(e,t,n){return ke(e,"parentNode",n)},next:function(e){return f(e,"nextSibling")},prev:function(e){return f(e,"previousSibling")},nextAll:function(e){return ke(e,"nextSibling")},prevAll:function(e){return ke(e,"previousSibling")},nextUntil:function(e,t,n){return ke(e,"nextSibling",n)},prevUntil:function(e,t,n){return ke(e,"previousSibling",n)},siblings:function(e){return Pe((e.parentNode||{}).firstChild,e)},children:function(e){return Pe(e.firstChild)},contents:function(e){return c(e,"iframe")?e.contentDocument:(c(e,"template")&&(e=e.content||e),Ne.merge([],e.childNodes))}},function(e,t){Ne.fn[e]=function(n,r){var o=Ne.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=Ne.filter(r,o)),this.length>1&&(Ie[e]||Ne.uniqueSort(o),De.test(e)&&o.reverse()),this.pushStack(o)}});var Fe=/[^\x20\t\r\n\f]+/g;Ne.Callbacks=function(e){e="string"==typeof e?d(e):Ne.extend({},e);var t,n,r,o,i=[],s=[],a=-1,u=function(){for(o=o||e.once,r=t=!0;s.length;a=-1)for(n=s.shift();++a<i.length;)!1===i[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},c={add:function(){return i&&(n&&!t&&(a=i.length-1,s.push(n)),function t(n){Ne.each(n,function(n,r){Se(r)?e.unique&&c.has(r)||i.push(r):r&&r.length&&"string"!==l(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return Ne.each(arguments,function(e,t){for(var n;(n=Ne.inArray(t,i,n))>-1;)i.splice(n,1),n<=a&&a--}),this},has:function(e){return e?Ne.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=s=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=s=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},Ne.extend({Deferred:function(e){var t=[["notify","progress",Ne.Callbacks("memory"),Ne.Callbacks("memory"),2],["resolve","done",Ne.Callbacks("once memory"),Ne.Callbacks("once memory"),0,"resolved"],["reject","fail",Ne.Callbacks("once memory"),Ne.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return Ne.Deferred(function(n){Ne.each(t,function(t,r){var o=Se(e[r[4]])&&e[r[4]];s[r[1]](function(){var e=o&&o.apply(this,arguments);e&&Se(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(e,n,r){function s(e,t,n,r){return function(){var l=this,u=arguments,c=function(){var i,c;if(!(e<a)){if((i=n.apply(l,u))===t.promise())throw new TypeError("Thenable self-resolution");c=i&&("object"===(void 0===i?"undefined":o(i))||"function"==typeof i)&&i.then,Se(c)?r?c.call(i,s(a,t,h,r),s(a,t,y,r)):(a++,c.call(i,s(a,t,h,r),s(a,t,y,r),s(a,t,h,t.notifyWith))):(n!==h&&(l=void 0,u=[i]),(r||t.resolveWith)(l,u))}},p=r?c:function(){try{c()}catch(r){Ne.Deferred.exceptionHook&&Ne.Deferred.exceptionHook(r,p.stackTrace),e+1>=a&&(n!==y&&(l=void 0,u=[r]),t.rejectWith(l,u))}};e?p():(Ne.Deferred.getStackHook&&(p.stackTrace=Ne.Deferred.getStackHook()),i.setTimeout(p))}}var a=0;return Ne.Deferred(function(o){t[0][3].add(s(0,o,Se(r)?r:h,o.notifyWith)),t[1][3].add(s(0,o,Se(e)?e:h)),t[2][3].add(s(0,o,Se(n)?n:y))}).promise()},promise:function(e){return null!=e?Ne.extend(e,r):r}},s={};return Ne.each(t,function(e,o){var i=o[2],a=o[5];r[o[1]]=i.add,a&&i.add(function(){n=a},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),i.add(o[3].fire),s[o[0]]=function(){return s[o[0]+"With"](this===s?void 0:this,arguments),this},s[o[0]+"With"]=i.fireWith}),r.promise(s),e&&e.call(s,s),s},when:function(e){var t=arguments.length,n=t,r=Array(n),o=de.call(arguments),i=Ne.Deferred(),s=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?de.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(m(e,i.done(s(n)).resolve,i.reject,!t),"pending"===i.state()||Se(o[n]&&o[n].then)))return i.then();for(;n--;)m(o[n],s(n),i.reject);return i.promise()}});var Me=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Ne.Deferred.exceptionHook=function(e,t){i.console&&i.console.warn&&e&&Me.test(e.name)&&i.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},Ne.readyException=function(e){i.setTimeout(function(){throw e})};var He=Ne.Deferred();Ne.fn.ready=function(e){return He.then(e).catch(function(e){Ne.readyException(e)}),this},Ne.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--Ne.readyWait:Ne.isReady)||(Ne.isReady=!0,!0!==e&&--Ne.readyWait>0||He.resolveWith(pe,[Ne]))}}),Ne.ready.then=He.then,"complete"===pe.readyState||"loading"!==pe.readyState&&!pe.documentElement.doScroll?i.setTimeout(Ne.ready):(pe.addEventListener("DOMContentLoaded",v),i.addEventListener("load",v));var Be=function e(t,n,r,o,i,s,a){var u=0,c=t.length,p=null==r;if("object"===l(r)){i=!0;for(u in r)e(t,n,u,r[u],!0,s,a)}else if(void 0!==o&&(i=!0,Se(o)||(a=!0),p&&(a?(n.call(t,o),n=null):(p=n,n=function(e,t,n){return p.call(Ne(e),n)})),n))for(;u<c;u++)n(t[u],r,a?o:o.call(t[u],u,n(t[u],r)));return i?t:p?n.call(t):c?n(t[0],r):s},qe=/^-ms-/,We=/-([a-z])/g,Ue=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};C.uid=1,C.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Ue(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[b(t)]=n;else for(r in t)o[b(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][b(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){Array.isArray(t)?t=t.map(b):(t=b(t),t=t in r?[t]:t.match(Fe)||[]),n=t.length;for(;n--;)delete r[t[n]]}(void 0===t||Ne.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!Ne.isEmptyObject(t)}};var $e=new C,Ge=new C,Ke=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ze=/[A-Z]/g;Ne.extend({hasData:function(e){return Ge.hasData(e)||$e.hasData(e)},data:function(e,t,n){return Ge.access(e,t,n)},removeData:function(e,t){Ge.remove(e,t)},_data:function(e,t,n){return $e.access(e,t,n)},_removeData:function(e,t){$e.remove(e,t)}}),Ne.fn.extend({data:function(e,t){var n,r,i,s=this[0],a=s&&s.attributes;if(void 0===e){if(this.length&&(i=Ge.get(s),1===s.nodeType&&!$e.get(s,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=b(r.slice(5)),x(s,r,i[r])));$e.set(s,"hasDataAttrs",!0)}return i}return"object"===(void 0===e?"undefined":o(e))?this.each(function(){Ge.set(this,e)}):Be(this,function(t){var n;if(s&&void 0===t){if(void 0!==(n=Ge.get(s,e)))return n;if(void 0!==(n=x(s,e)))return n}else this.each(function(){Ge.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Ge.remove(this,e)})}}),Ne.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=$e.get(e,t),n&&(!r||Array.isArray(n)?r=$e.access(e,t,Ne.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=Ne.queue(e,t),r=n.length,o=n.shift(),i=Ne._queueHooks(e,t),s=function(){Ne.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,s,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return $e.get(e,n)||$e.access(e,n,{empty:Ne.Callbacks("once memory").add(function(){$e.remove(e,[t+"queue",n])})})}}),Ne.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?Ne.queue(this[0],e):void 0===t?this:this.each(function(){var n=Ne.queue(this,e,t);Ne._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&Ne.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Ne.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=Ne.Deferred(),i=this,s=this.length,a=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=$e.get(i[s],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),o.promise(t)}});var Ve=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Xe=new RegExp("^(?:([+-])=|)("+Ve+")([a-z%]*)$","i"),Ze=["Top","Right","Bottom","Left"],Je=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&Ne.contains(e.ownerDocument,e)&&"none"===Ne.css(e,"display")},Ye=function(e,t,n,r){var o,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];o=n.apply(e,r||[]);for(i in t)e.style[i]=s[i];return o},Qe={};Ne.fn.extend({show:function(){return E(this,!0)},hide:function(){return E(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Je(this)?Ne(this).show():Ne(this).hide()})}});var et=/^(?:checkbox|radio)$/i,tt=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,nt=/^$|^module$|\/(?:java|ecma)script/i,rt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};rt.optgroup=rt.option,rt.tbody=rt.tfoot=rt.colgroup=rt.caption=rt.thead,rt.th=rt.td;var ot=/<|&#?\w+;/;!function(){var e=pe.createDocumentFragment(),t=e.appendChild(pe.createElement("div")),n=pe.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),xe.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",xe.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var it=pe.documentElement,st=/^key/,at=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,lt=/^([^.]*)(?:\.(.+)|)/;Ne.event={global:{},add:function(e,t,n,r,o){var i,s,a,l,u,c,p,f,d,h,y,m=$e.get(e);if(m)for(n.handler&&(i=n,n=i.handler,o=i.selector),o&&Ne.find.matchesSelector(it,o),n.guid||(n.guid=Ne.guid++),(l=m.events)||(l=m.events={}),(s=m.handle)||(s=m.handle=function(t){return void 0!==Ne&&Ne.event.triggered!==t.type?Ne.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Fe)||[""],u=t.length;u--;)a=lt.exec(t[u])||[],d=y=a[1],h=(a[2]||"").split(".").sort(),d&&(p=Ne.event.special[d]||{},d=(o?p.delegateType:p.bindType)||d,p=Ne.event.special[d]||{},c=Ne.extend({type:d,origType:y,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&Ne.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=l[d])||(f=l[d]=[],f.delegateCount=0,p.setup&&!1!==p.setup.call(e,r,h,s)||e.addEventListener&&e.addEventListener(d,s)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),Ne.event.global[d]=!0)},remove:function(e,t,n,r,o){var i,s,a,l,u,c,p,f,d,h,y,m=$e.hasData(e)&&$e.get(e);if(m&&(l=m.events)){for(t=(t||"").match(Fe)||[""],u=t.length;u--;)if(a=lt.exec(t[u])||[],d=y=a[1],h=(a[2]||"").split(".").sort(),d){for(p=Ne.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=l[d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=i=f.length;i--;)c=f[i],!o&&y!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(i,1),c.selector&&f.delegateCount--,p.remove&&p.remove.call(e,c));s&&!f.length&&(p.teardown&&!1!==p.teardown.call(e,h,m.handle)||Ne.removeEvent(e,d,m.handle),delete l[d])}else for(d in l)Ne.event.remove(e,d+t[u],n,r,!0);Ne.isEmptyObject(l)&&$e.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,s,a=Ne.event.fix(e),l=new Array(arguments.length),u=($e.get(this,"events")||{})[a.type]||[],c=Ne.event.special[a.type]||{};for(l[0]=a,t=1;t<arguments.length;t++)l[t]=arguments[t];if(a.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,a)){for(s=Ne.event.handlers.call(this,a,u),t=0;(o=s[t++])&&!a.isPropagationStopped();)for(a.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(i.namespace)||(a.handleObj=i,a.data=i.data,void 0!==(r=((Ne.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l))&&!1===(a.result=r)&&(a.preventDefault(),a.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,r,o,i,s,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],s={},n=0;n<l;n++)r=t[n],o=r.selector+" ",void 0===s[o]&&(s[o]=r.needsContext?Ne(o,this).index(u)>-1:Ne.find(o,this,null,[u]).length),s[o]&&i.push(r);i.length&&a.push({elem:u,handlers:i})}return u=this,l<t.length&&a.push({elem:u,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(Ne.Event.prototype,e,{enumerable:!0,configurable:!0,get:Se(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[Ne.expando]?e:new Ne.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==O()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===O()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&c(this,"input"))return this.click(),!1},_default:function(e){return c(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},Ne.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},Ne.Event=function(e,t){if(!(this instanceof Ne.Event))return new Ne.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?k:P,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&Ne.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[Ne.expando]=!0},Ne.Event.prototype={constructor:Ne.Event,isDefaultPrevented:P,isPropagationStopped:P,isImmediatePropagationStopped:P,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=k,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=k,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=k,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},Ne.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&st.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&at.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},Ne.event.addProp),Ne.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){Ne.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||Ne.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),Ne.fn.extend({on:function(e,t,n,r){return A(this,e,t,n,r)},one:function(e,t,n,r){return A(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,Ne(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"===(void 0===e?"undefined":o(e))){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=P),this.each(function(){Ne.event.remove(this,e,n,t)})}});var ut=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ct=/<script|<style|<link/i,pt=/checked\s*(?:[^=]|=\s*.checked.)/i,ft=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;Ne.extend({htmlPrefilter:function(e){return e.replace(ut,"<$1></$2>")},clone:function(e,t,n){var r,o,i,s,a=e.cloneNode(!0),l=Ne.contains(e.ownerDocument,e);if(!(xe.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Ne.isXMLDoc(e)))for(s=N(a),i=N(e),r=0,o=i.length;r<o;r++)F(i[r],s[r]);if(t)if(n)for(i=i||N(e),s=s||N(a),r=0,o=i.length;r<o;r++)I(i[r],s[r]);else I(e,a);return s=N(a,"script"),s.length>0&&L(s,!l&&N(e,"script")),a},cleanData:function(e){for(var t,n,r,o=Ne.event.special,i=0;void 0!==(n=e[i]);i++)if(Ue(n)){if(t=n[$e.expando]){if(t.events)for(r in t.events)o[r]?Ne.event.remove(n,r):Ne.removeEvent(n,r,t.handle);n[$e.expando]=void 0}n[Ge.expando]&&(n[Ge.expando]=void 0)}}}),Ne.fn.extend({detach:function(e){return H(this,e,!0)},remove:function(e){return H(this,e)},text:function(e){return Be(this,function(e){return void 0===e?Ne.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return M(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){R(this,e).appendChild(e)}})},prepend:function(){return M(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=R(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return M(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return M(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(Ne.cleanData(N(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Ne.clone(this,e,t)})},html:function(e){return Be(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ct.test(e)&&!rt[(tt.exec(e)||["",""])[1].toLowerCase()]){e=Ne.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(Ne.cleanData(N(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return M(this,arguments,function(t){var n=this.parentNode;Ne.inArray(this,e)<0&&(Ne.cleanData(N(this)),n&&n.replaceChild(t,this))},e)}}),Ne.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Ne.fn[e]=function(e){for(var n,r=[],o=Ne(e),i=o.length-1,s=0;s<=i;s++)n=s===i?this:this.clone(!0),Ne(o[s])[t](n),ye.apply(r,n.get());return this.pushStack(r)}});var dt=new RegExp("^("+Ve+")(?!px)[a-z%]+$","i"),ht=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=i),t.getComputedStyle(e)},yt=new RegExp(Ze.join("|"),"i");!function(){function e(){if(u){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",it.appendChild(l).appendChild(u);var e=i.getComputedStyle(u);n="1%"!==e.top,a=12===t(e.marginLeft),u.style.right="60%",s=36===t(e.right),r=36===t(e.width),u.style.position="absolute",o=36===u.offsetWidth||"absolute",it.removeChild(l),u=null}}function t(e){return Math.round(parseFloat(e))}var n,r,o,s,a,l=pe.createElement("div"),u=pe.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",xe.clearCloneStyle="content-box"===u.style.backgroundClip,Ne.extend(xe,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),a},scrollboxSize:function(){return e(),o}}))}();var mt=/^(none|table(?!-c[ea]).+)/,vt=/^--/,gt={position:"absolute",visibility:"hidden",display:"block"},bt={letterSpacing:"0",fontWeight:"400"},Ct=["Webkit","Moz","ms"],wt=pe.createElement("div").style;Ne.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=B(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,s,a,l=b(t),u=vt.test(t),c=e.style;if(u||(t=U(l)),a=Ne.cssHooks[t]||Ne.cssHooks[l],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];s=void 0===n?"undefined":o(n),"string"===s&&(i=Xe.exec(n))&&i[1]&&(n=S(e,t,i),s="number"),null!=n&&n===n&&("number"===s&&(n+=i&&i[3]||(Ne.cssNumber[l]?"":"px")),xe.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var o,i,s,a=b(t);return vt.test(t)||(t=U(a)),s=Ne.cssHooks[t]||Ne.cssHooks[a],s&&"get"in s&&(o=s.get(e,!0,n)),void 0===o&&(o=B(e,t,r)),"normal"===o&&t in bt&&(o=bt[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),Ne.each(["height","width"],function(e,t){Ne.cssHooks[t]={get:function(e,n,r){if(n)return!mt.test(Ne.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?K(e,t,r):Ye(e,gt,function(){return K(e,t,r)})},set:function(e,n,r){var o,i=ht(e),s="border-box"===Ne.css(e,"boxSizing",!1,i),a=r&&G(e,t,r,s,i);return s&&xe.scrollboxSize()===i.position&&(a-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-G(e,t,"border",!1,i)-.5)),a&&(o=Xe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=Ne.css(e,t)),$(e,n,a)}}}),Ne.cssHooks.marginLeft=q(xe.reliableMarginLeft,function(e,t){if(t)return(parseFloat(B(e,"marginLeft"))||e.getBoundingClientRect().left-Ye(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),Ne.each({margin:"",padding:"",border:"Width"},function(e,t){Ne.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+Ze[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(Ne.cssHooks[e+t].set=$)}),Ne.fn.extend({css:function(e,t){return Be(this,function(e,t,n){var r,o,i={},s=0;if(Array.isArray(t)){for(r=ht(e),o=t.length;s<o;s++)i[t[s]]=Ne.css(e,t[s],!1,r);return i}return void 0!==n?Ne.style(e,t,n):Ne.css(e,t)},e,t,arguments.length>1)}}),Ne.Tween=z,z.prototype={constructor:z,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||Ne.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(Ne.cssNumber[n]?"":"px")},cur:function(){var e=z.propHooks[this.prop];return e&&e.get?e.get(this):z.propHooks._default.get(this)},run:function(e){var t,n=z.propHooks[this.prop];return this.options.duration?this.pos=t=Ne.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):z.propHooks._default.set(this),this}},z.prototype.init.prototype=z.prototype,z.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=Ne.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){Ne.fx.step[e.prop]?Ne.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[Ne.cssProps[e.prop]]&&!Ne.cssHooks[e.prop]?e.elem[e.prop]=e.now:Ne.style(e.elem,e.prop,e.now+e.unit)}}},z.propHooks.scrollTop=z.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Ne.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Ne.fx=z.prototype.init,Ne.fx.step={};var xt,St,_t=/^(?:toggle|show|hide)$/,Et=/queueHooks$/;Ne.Animation=Ne.extend(ee,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return S(n.elem,e,Xe.exec(t),n),n}]},tweener:function(e,t){Se(e)?(t=e,e=["*"]):e=e.match(Fe);for(var n,r=0,o=e.length;r<o;r++)n=e[r],ee.tweeners[n]=ee.tweeners[n]||[],ee.tweeners[n].unshift(t)},prefilters:[Y],prefilter:function(e,t){t?ee.prefilters.unshift(e):ee.prefilters.push(e)}}),Ne.speed=function(e,t,n){var r=e&&"object"===(void 0===e?"undefined":o(e))?Ne.extend({},e):{complete:n||!n&&t||Se(e)&&e,duration:e,easing:n&&t||t&&!Se(t)&&t};return Ne.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in Ne.fx.speeds?r.duration=Ne.fx.speeds[r.duration]:r.duration=Ne.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){Se(r.old)&&r.old.call(this),r.queue&&Ne.dequeue(this,r.queue)},r},Ne.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Je).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=Ne.isEmptyObject(e),i=Ne.speed(t,n,r),s=function(){var t=ee(this,Ne.extend({},e),i);(o||$e.get(this,"finish"))&&t.stop(!0)};return s.finish=s,o||!1===i.queue?this.each(s):this.queue(i.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",i=Ne.timers,s=$e.get(this);if(o)s[o]&&s[o].stop&&r(s[o]);else for(o in s)s[o]&&s[o].stop&&Et.test(o)&&r(s[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||Ne.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=$e.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=Ne.timers,s=r?r.length:0;for(n.finish=!0,Ne.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<s;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),Ne.each(["toggle","show","hide"],function(e,t){var n=Ne.fn[t];Ne.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(Z(t,!0),e,r,o)}}),Ne.each({slideDown:Z("show"),slideUp:Z("hide"),slideToggle:Z("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Ne.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),Ne.timers=[],Ne.fx.tick=function(){var e,t=0,n=Ne.timers;for(xt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||Ne.fx.stop(),xt=void 0},Ne.fx.timer=function(e){Ne.timers.push(e),Ne.fx.start()},Ne.fx.interval=13,Ne.fx.start=function(){St||(St=!0,V())},Ne.fx.stop=function(){St=null},Ne.fx.speeds={slow:600,fast:200,_default:400},Ne.fn.delay=function(e,t){return e=Ne.fx?Ne.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=i.setTimeout(t,e);n.stop=function(){i.clearTimeout(r)}})},function(){var e=pe.createElement("input"),t=pe.createElement("select"),n=t.appendChild(pe.createElement("option"));e.type="checkbox",xe.checkOn=""!==e.value,xe.optSelected=n.selected,e=pe.createElement("input"),e.value="t",e.type="radio",xe.radioValue="t"===e.value}();var Nt,Lt=Ne.expr.attrHandle;Ne.fn.extend({attr:function(e,t){return Be(this,Ne.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Ne.removeAttr(this,e)})}}),Ne.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?Ne.prop(e,t,n):(1===i&&Ne.isXMLDoc(e)||(o=Ne.attrHooks[t.toLowerCase()]||(Ne.expr.match.bool.test(t)?Nt:void 0)),void 0!==n?null===n?void Ne.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:(r=Ne.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!xe.radioValue&&"radio"===t&&c(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(Fe);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),Nt={set:function(e,t,n){return!1===t?Ne.removeAttr(e,n):e.setAttribute(n,n),n}},Ne.each(Ne.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Lt[t]||Ne.find.attr;Lt[t]=function(e,t,r){var o,i,s=t.toLowerCase();return r||(i=Lt[s],Lt[s]=o,o=null!=n(e,t,r)?s:null,Lt[s]=i),o}});var Tt=/^(?:input|select|textarea|button)$/i,kt=/^(?:a|area)$/i;Ne.fn.extend({prop:function(e,t){return Be(this,Ne.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[Ne.propFix[e]||e]})}}),Ne.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&Ne.isXMLDoc(e)||(t=Ne.propFix[t]||t,o=Ne.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=Ne.find.attr(e,"tabindex");return t?parseInt(t,10):Tt.test(e.nodeName)||kt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),xe.optSelected||(Ne.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),Ne.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Ne.propFix[this.toLowerCase()]=this}),Ne.fn.extend({addClass:function(e){var t,n,r,o,i,s,a,l=0;if(Se(e))return this.each(function(t){Ne(this).addClass(e.call(this,t,ne(this)))});if(t=re(e),t.length)for(;n=this[l++];)if(o=ne(n),r=1===n.nodeType&&" "+te(o)+" "){for(s=0;i=t[s++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=te(r),o!==a&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,o,i,s,a,l=0;if(Se(e))return this.each(function(t){Ne(this).removeClass(e.call(this,t,ne(this)))});if(!arguments.length)return this.attr("class","");if(t=re(e),t.length)for(;n=this[l++];)if(o=ne(n),r=1===n.nodeType&&" "+te(o)+" "){for(s=0;i=t[s++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a=te(r),o!==a&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=void 0===e?"undefined":o(e),r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):Se(e)?this.each(function(n){Ne(this).toggleClass(e.call(this,n,ne(this),t),t)}):this.each(function(){var t,o,i,s;if(r)for(o=0,i=Ne(this),s=re(e);t=s[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=ne(this),t&&$e.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":$e.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+te(ne(n))+" ").indexOf(t)>-1)return!0;return!1}});var Pt=/\r/g;Ne.fn.extend({val:function(e){var t,n,r,o=this[0];{if(arguments.length)return r=Se(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,Ne(this).val()):e,null==o?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=Ne.map(o,function(e){return null==e?"":e+""})),(t=Ne.valHooks[this.type]||Ne.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))});if(o)return(t=Ne.valHooks[o.type]||Ne.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(Pt,""):null==n?"":n)}}}),Ne.extend({valHooks:{option:{get:function(e){var t=Ne.find.attr(e,"value");return null!=t?t:te(Ne.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?i+1:o.length;for(r=i<0?l:s?i:0;r<l;r++)if(n=o[r],(n.selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!c(n.parentNode,"optgroup"))){if(t=Ne(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,r,o=e.options,i=Ne.makeArray(t),s=o.length;s--;)r=o[s],(r.selected=Ne.inArray(Ne.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),Ne.each(["radio","checkbox"],function(){Ne.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=Ne.inArray(Ne(e).val(),t)>-1}},xe.checkOn||(Ne.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),xe.focusin="onfocusin"in i;var Ot=/^(?:focusinfocus|focusoutblur)$/,At=function(e){e.stopPropagation()};Ne.extend(Ne.event,{trigger:function(e,t,n,r){var s,a,l,u,c,p,f,d,h=[n||pe],y=be.call(e,"type")?e.type:e,m=be.call(e,"namespace")?e.namespace.split("."):[];if(a=d=l=n=n||pe,3!==n.nodeType&&8!==n.nodeType&&!Ot.test(y+Ne.event.triggered)&&(y.indexOf(".")>-1&&(m=y.split("."),y=m.shift(),m.sort()),c=y.indexOf(":")<0&&"on"+y,e=e[Ne.expando]?e:new Ne.Event(y,"object"===(void 0===e?"undefined":o(e))&&e),e.isTrigger=r?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:Ne.makeArray(t,[e]),f=Ne.event.special[y]||{},r||!f.trigger||!1!==f.trigger.apply(n,t))){if(!r&&!f.noBubble&&!_e(n)){for(u=f.delegateType||y,Ot.test(u+y)||(a=a.parentNode);a;a=a.parentNode)h.push(a),l=a;l===(n.ownerDocument||pe)&&h.push(l.defaultView||l.parentWindow||i)}for(s=0;(a=h[s++])&&!e.isPropagationStopped();)d=a,e.type=s>1?u:f.bindType||y,p=($e.get(a,"events")||{})[e.type]&&$e.get(a,"handle"),p&&p.apply(a,t),(p=c&&a[c])&&p.apply&&Ue(a)&&(e.result=p.apply(a,t),!1===e.result&&e.preventDefault());return e.type=y,r||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),t)||!Ue(n)||c&&Se(n[y])&&!_e(n)&&(l=n[c],l&&(n[c]=null),Ne.event.triggered=y,e.isPropagationStopped()&&d.addEventListener(y,At),n[y](),e.isPropagationStopped()&&d.removeEventListener(y,At),Ne.event.triggered=void 0,l&&(n[c]=l)),e.result}},simulate:function(e,t,n){var r=Ne.extend(new Ne.Event,n,{type:e,isSimulated:!0});Ne.event.trigger(r,null,t)}}),Ne.fn.extend({trigger:function(e,t){return this.each(function(){Ne.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Ne.event.trigger(e,t,n,!0)}}),xe.focusin||Ne.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){Ne.event.simulate(t,e.target,Ne.event.fix(e))};Ne.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=$e.access(r,t);o||r.addEventListener(e,n,!0),$e.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=$e.access(r,t)-1;o?$e.access(r,t,o):(r.removeEventListener(e,n,!0),$e.remove(r,t))}}});var Rt=i.location,jt=Date.now(),Dt=/\?/;Ne.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new i.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||Ne.error("Invalid XML: "+e),t};var It=/\[\]$/,Ft=/\r?\n/g,Mt=/^(?:submit|button|image|reset|file)$/i,Ht=/^(?:input|select|textarea|keygen)/i;Ne.param=function(e,t){var n,r=[],o=function(e,t){var n=Se(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!Ne.isPlainObject(e))Ne.each(e,function(){o(this.name,this.value)});else for(n in e)oe(n,e[n],t,o);return r.join("&")},Ne.fn.extend({serialize:function(){return Ne.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Ne.prop(this,"elements");return e?Ne.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Ne(this).is(":disabled")&&Ht.test(this.nodeName)&&!Mt.test(e)&&(this.checked||!et.test(e))}).map(function(e,t){var n=Ne(this).val();return null==n?null:Array.isArray(n)?Ne.map(n,function(e){return{name:t.name,value:e.replace(Ft,"\r\n")}}):{name:t.name,value:n.replace(Ft,"\r\n")}}).get()}});var Bt=/%20/g,qt=/#.*$/,Wt=/([?&])_=[^&]*/,Ut=/^(.*?):[ \t]*([^\r\n]*)$/gm,$t=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Gt=/^(?:GET|HEAD)$/,Kt=/^\/\//,zt={},Vt={},Xt="*/".concat("*"),Zt=pe.createElement("a");Zt.href=Rt.href,Ne.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Rt.href,type:"GET",isLocal:$t.test(Rt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Ne.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ae(ae(e,Ne.ajaxSettings),t):ae(Ne.ajaxSettings,e)},ajaxPrefilter:ie(zt),ajaxTransport:ie(Vt),ajax:function(e,t){function n(e,t,n,o){var l,c,d,h,w,x=t;p||(p=!0,u&&i.clearTimeout(u),r=void 0,a=o||"",_.readyState=e>0?4:0,l=e>=200&&e<300||304===e,n&&(h=le(y,_,n)),h=ue(y,h,_,l),l?(y.ifModified&&(w=_.getResponseHeader("Last-Modified"),w&&(Ne.lastModified[s]=w),(w=_.getResponseHeader("etag"))&&(Ne.etag[s]=w)),204===e||"HEAD"===y.type?x="nocontent":304===e?x="notmodified":(x=h.state,c=h.data,d=h.error,l=!d)):(d=x,!e&&x||(x="error",e<0&&(e=0))),_.status=e,_.statusText=(t||x)+"",l?g.resolveWith(m,[c,x,_]):g.rejectWith(m,[_,x,d]),_.statusCode(C),C=void 0,f&&v.trigger(l?"ajaxSuccess":"ajaxError",[_,y,l?c:d]),b.fireWith(m,[_,x]),f&&(v.trigger("ajaxComplete",[_,y]),--Ne.active||Ne.event.trigger("ajaxStop")))}"object"===(void 0===e?"undefined":o(e))&&(t=e,e=void 0),t=t||{};var r,s,a,l,u,c,p,f,d,h,y=Ne.ajaxSetup({},t),m=y.context||y,v=y.context&&(m.nodeType||m.jquery)?Ne(m):Ne.event,g=Ne.Deferred(),b=Ne.Callbacks("once memory"),C=y.statusCode||{},w={},x={},S="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(p){if(!l)for(l={};t=Ut.exec(a);)l[t[1].toLowerCase()]=t[2];t=l[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return p?a:null},setRequestHeader:function(e,t){return null==p&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==p&&(y.mimeType=e),this},statusCode:function(e){var t;if(e)if(p)_.always(e[_.status]);else for(t in e)C[t]=[C[t],e[t]];return this},abort:function(e){var t=e||S;return r&&r.abort(t),n(0,t),this}};if(g.promise(_),y.url=((e||y.url||Rt.href)+"").replace(Kt,Rt.protocol+"//"),y.type=t.method||t.type||y.method||y.type,y.dataTypes=(y.dataType||"*").toLowerCase().match(Fe)||[""],null==y.crossDomain){c=pe.createElement("a");try{c.href=y.url,c.href=c.href,y.crossDomain=Zt.protocol+"//"+Zt.host!=c.protocol+"//"+c.host}catch(e){y.crossDomain=!0}}if(y.data&&y.processData&&"string"!=typeof y.data&&(y.data=Ne.param(y.data,y.traditional)),se(zt,y,t,_),p)return _;f=Ne.event&&y.global,f&&0==Ne.active++&&Ne.event.trigger("ajaxStart"),y.type=y.type.toUpperCase(),y.hasContent=!Gt.test(y.type),s=y.url.replace(qt,""),y.hasContent?y.data&&y.processData&&0===(y.contentType||"").indexOf("application/x-www-form-urlencoded")&&(y.data=y.data.replace(Bt,"+")):(h=y.url.slice(s.length),y.data&&(y.processData||"string"==typeof y.data)&&(s+=(Dt.test(s)?"&":"?")+y.data,delete y.data),!1===y.cache&&(s=s.replace(Wt,"$1"),h=(Dt.test(s)?"&":"?")+"_="+jt+++h),y.url=s+h),y.ifModified&&(Ne.lastModified[s]&&_.setRequestHeader("If-Modified-Since",Ne.lastModified[s]),Ne.etag[s]&&_.setRequestHeader("If-None-Match",Ne.etag[s])),(y.data&&y.hasContent&&!1!==y.contentType||t.contentType)&&_.setRequestHeader("Content-Type",y.contentType),_.setRequestHeader("Accept",y.dataTypes[0]&&y.accepts[y.dataTypes[0]]?y.accepts[y.dataTypes[0]]+("*"!==y.dataTypes[0]?", "+Xt+"; q=0.01":""):y.accepts["*"]);for(d in y.headers)_.setRequestHeader(d,y.headers[d]);if(y.beforeSend&&(!1===y.beforeSend.call(m,_,y)||p))return _.abort();if(S="abort",b.add(y.complete),_.done(y.success),_.fail(y.error),r=se(Vt,y,t,_)){if(_.readyState=1,f&&v.trigger("ajaxSend",[_,y]),p)return _;y.async&&y.timeout>0&&(u=i.setTimeout(function(){_.abort("timeout")},y.timeout));try{p=!1,r.send(w,n)}catch(e){if(p)throw e;n(-1,e)}}else n(-1,"No Transport");return _},getJSON:function(e,t,n){return Ne.get(e,t,n,"json")},getScript:function(e,t){return Ne.get(e,void 0,t,"script")}}),Ne.each(["get","post"],function(e,t){Ne[t]=function(e,n,r,o){return Se(n)&&(o=o||r,r=n,n=void 0),Ne.ajax(Ne.extend({url:e,type:t,dataType:o,data:n,success:r},Ne.isPlainObject(e)&&e))}}),Ne._evalUrl=function(e){return Ne.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},Ne.fn.extend({wrapAll:function(e){var t;return this[0]&&(Se(e)&&(e=e.call(this[0])),t=Ne(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return Se(e)?this.each(function(t){Ne(this).wrapInner(e.call(this,t))}):this.each(function(){var t=Ne(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=Se(e);return this.each(function(n){Ne(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){Ne(this).replaceWith(this.childNodes)}),this}}),Ne.expr.pseudos.hidden=function(e){return!Ne.expr.pseudos.visible(e)},Ne.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Ne.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(e){}};var Jt={0:200,1223:204},Yt=Ne.ajaxSettings.xhr();xe.cors=!!Yt&&"withCredentials"in Yt,xe.ajax=Yt=!!Yt,Ne.ajaxTransport(function(e){var t,n;if(xe.cors||Yt&&!e.crossDomain)return{send:function(r,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(s in r)a.setRequestHeader(s,r[s]);t=function(e){return function(){t&&(t=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Jt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),n=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout(function(){t&&n()})},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),Ne.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),Ne.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return Ne.globalEval(e),e}}}),Ne.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Ne.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,o){t=Ne("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),pe.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Qt=[],en=/(=)\?(?=&|$)|\?\?/;Ne.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Qt.pop()||Ne.expando+"_"+jt++;return this[e]=!0,e}}),Ne.ajaxPrefilter("json jsonp",function(e,t,n){var r,o,s,a=!1!==e.jsonp&&(en.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&en.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=Se(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(en,"$1"+r):!1!==e.jsonp&&(e.url+=(Dt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||Ne.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=i[r],i[r]=function(){s=arguments},n.always(function(){void 0===o?Ne(i).removeProp(r):i[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,Qt.push(r)),s&&Se(o)&&o(s[0]),s=o=void 0}),"script"}),xe.createHTMLDocument=function(){var e=pe.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),Ne.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var r,o,i;return t||(xe.createHTMLDocument?(t=pe.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=pe.location.href,t.head.appendChild(r)):t=pe),o=Ae.exec(e),i=!n&&[],o?[t.createElement(o[1])]:(o=T([e],t,i),i&&i.length&&Ne(i).remove(),Ne.merge([],o.childNodes))},Ne.fn.load=function(e,t,n){var r,i,s,a=this,l=e.indexOf(" ");return l>-1&&(r=te(e.slice(l)),e=e.slice(0,l)),Se(t)?(n=t,t=void 0):t&&"object"===(void 0===t?"undefined":o(t))&&(i="POST"),a.length>0&&Ne.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){s=arguments,a.html(r?Ne("<div>").append(Ne.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,s||[e.responseText,t,e])})}),this},Ne.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Ne.fn[t]=function(e){return this.on(t,e)}}),Ne.expr.pseudos.animated=function(e){return Ne.grep(Ne.timers,function(t){return e===t.elem}).length},Ne.offset={setOffset:function(e,t,n){var r,o,i,s,a,l,u,c=Ne.css(e,"position"),p=Ne(e),f={};"static"===c&&(e.style.position="relative"),a=p.offset(),i=Ne.css(e,"top"),l=Ne.css(e,"left"),u=("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1,u?(r=p.position(),s=r.top,o=r.left):(s=parseFloat(i)||0,o=parseFloat(l)||0),Se(t)&&(t=t.call(e,n,Ne.extend({},a))),null!=t.top&&(f.top=t.top-a.top+s),null!=t.left&&(f.left=t.left-a.left+o),"using"in t?t.using.call(e,f):p.css(f)}},Ne.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){Ne.offset.setOffset(this,e,t)});var t,n,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===Ne.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===Ne.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&(o=Ne(e).offset(),o.top+=Ne.css(e,"borderTopWidth",!0),o.left+=Ne.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-Ne.css(r,"marginTop",!0),left:t.left-o.left-Ne.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===Ne.css(e,"position");)e=e.offsetParent;return e||it})}}),Ne.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;Ne.fn[e]=function(r){return Be(this,function(e,r,o){var i;if(_e(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o},e,r,arguments.length)}}),Ne.each(["top","left"],function(e,t){Ne.cssHooks[t]=q(xe.pixelPosition,function(e,n){if(n)return n=B(e,t),dt.test(n)?Ne(e).position()[t]+"px":n})}),Ne.each({Height:"height",Width:"width"},function(e,t){Ne.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){Ne.fn[r]=function(o,i){var s=arguments.length&&(n||"boolean"!=typeof o),a=n||(!0===o||!0===i?"margin":"border");return Be(this,function(t,n,o){var i;return _e(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?Ne.css(t,n,a):Ne.style(t,n,o,a)},t,s?o:void 0,s)}})}),Ne.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){Ne.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),Ne.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),Ne.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),Ne.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),Se(e))return r=de.call(arguments,2),o=function(){return e.apply(t||this,r.concat(de.call(arguments)))},o.guid=e.guid=e.guid||Ne.guid++,o},Ne.holdReady=function(e){e?Ne.readyWait++:Ne.ready(!0)},Ne.isArray=Array.isArray,Ne.parseJSON=JSON.parse,Ne.nodeName=c,Ne.isFunction=Se,Ne.isWindow=_e,Ne.camelCase=b,Ne.type=l,Ne.now=Date.now,Ne.isNumeric=function(e){var t=Ne.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},n=[],void 0!==(r=function(){return Ne}.apply(t,n))&&(e.exports=r);var tn=i.jQuery,nn=i.$;return Ne.noConflict=function(e){return i.$===Ne&&(i.$=nn),e&&i.jQuery===Ne&&(i.jQuery=tn),Ne},s||(i.jQuery=i.$=Ne),Ne})}).call(t,n(5)(e))},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",null,this.props.children)}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={activeKey:e.defaultActiveKey},n}return i(t,e),s(t,[{key:"render",value:function(){var e,t=[],n=[];for(e=0;e<this.props.children.length;e++){var r=this.props.children[e];void 0!==r&&(t.push(this._buildNav(r)),n.push(this._buildContent(r)))}return(0,a.h)("div",{className:this.props.className},(0,a.h)("ul",{className:"nav nav-tabs",role:"tablist"},t),(0,a.h)("div",{className:"tab-content"},n))}},{key:"getActiveKey",value:function(){return this.state.activeKey}},{key:"setActiveKey",value:function(e){this.setState({activeKey:e})}},{key:"_buildNav",value:function(e){var t;this.getActiveKey()===e.attributes.eventKey&&(t="active");var n=this,r=function(t){n._handleTabClick(t,e)};return(0,a.h)("li",{role:"presentation",className:t,key:e.attributes.eventKey},(0,a.h)("a",{href:"#"+this._buildIdForTab(e),"aria-controls":this._buildIdForTab(e),role:"tab","data-toggle":"tab",onClick:r},e.attributes.title))}},{key:"_buildContent",value:function(e){var t="tab-pane";return this.getActiveKey()===e.attributes.eventKey&&(t+=" active"),(0,a.h)("div",{role:"tabpanel",className:t,id:this._buildIdForTab(e),key:e.attributes.eventKey},e)}},{key:"_buildIdForTab",value:function(e){return e.attributes.id?e.attributes.id:void 0===this.props.id||""===this.props.id?e.attributes.eventKey:this.props.id+"-"+e.attributes.eventKey}},{key:"_handleTabClick",value:function(e,t){e.preventDefault(),this.setActiveKey(t.attributes.eventKey)}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e){window.ErrorPage=e;for(var t=0;t<window.errorPageExtensions.length;t++)window.errorPageExtensions[t]()}var o=n(0);n(1),n(22),n(16);var i=n(9),s=function(e){return e&&e.__esModule?e:{default:e}}(i);n(18),window.errorPageExtensions=[],window.renderErrorPage=function(){(0,o.render)((0,o.h)(s.default,{spec:window.spec,ref:r}),document.getElementById("root"))}},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],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}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=n(3),c=r(u),p=n(2),f=r(p),d=n(8),h=r(d),y=n(11),m=r(y),v=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return s(t,e),a(t,[{key:"render",value:function(){return(0,l.h)("div",{className:"details-view"},(0,l.h)("p",null,"Error ID: ",this.props.spec.error.id),(0,l.h)(c.default,{defaultActiveKey:"problem-location",id:"details-process-tabs"},(0,l.h)(f.default,{eventKey:"problem-location",title:"Problem location"},(0,l.h)("p",null),(0,l.h)(h.default,{spec:this.props.spec})),(0,l.h)(f.default,{eventKey:"core-process",title:this.props.spec.short_program_name+" core"},(0,l.h)("p",null),(0,l.h)(m.default,{spec:this.props.spec.diagnostics.core_process})),this.maybeRenderPreloaderProcessDetailsTab(),(0,l.h)(f.default,{eventKey:"subprocess",title:"Subprocess"},(0,l.h)("p",null),(0,l.h)(m.default,{spec:this.props.spec.diagnostics.subprocess})),(0,l.h)(f.default,{eventKey:"system-wide",title:"System-wide stats"},(0,l.h)("p",null),(0,l.h)("pre",null,this.props.spec.diagnostics.system_wide.system_metrics))))}},{key:"maybeRenderPreloaderProcessDetailsTab",value:function(){if("SPAWN_THROUGH_PRELOADER"===this.props.spec.journey.type)return(0,l.h)(f.default,{eventKey:"preloader",title:"Preloader process"},(0,l.h)("p",null),(0,l.h)(m.default,{spec:this.props.spec.diagnostics.preloader_process}))}}]),t}(l.Component);t.default=v},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",null,(0,a.h)("p",null,"If you are stuck with a problem, please do not hesitate to contact one of the support resources."," "+this.props.spec.program_name+" ","has a friendly community of users who look out for each other. We —"," Passenger's ","authors — are also ready to help you whenever we can."),(0,a.h)("div",{className:"row"},(0,a.h)("div",{className:"col-sm-6"},(0,a.h)("h2",null,"Community support forums"),(0,a.h)("p",null,"Post a message to either to Stack Overflow or our Google Group. Support on these forums is provided by the community on a best-effort basis, so sometimes a bit of patience will help."),(0,a.h)("p",null,(0,a.h)("a",{href:"https://stackoverflow.com/questions/tagged/passenger",className:"btn btn-primary"},"Submit to Stack Overflow")),(0,a.h)("p",null,(0,a.h)("a",{href:"http://groups.google.com/group/phusion-passenger",className:"btn btn-primary"},"Submit to Google Group"))),(0,a.h)("div",{className:"col-sm-6"},(0,a.h)("h2",null,"Enterprise support"),(0,a.h)("p",null,"If you are a"," ",(0,a.h)("a",{href:"https://www.phusionpassenger.com/enterprise"},"Passenger Enterprise")," ","customer, then you are eligible for basic priority support."),(0,a.h)("p",null,(0,a.h)("small",null,"For most customers, this basic priority support has a response time of 3 working days, with a maximum of 1 support incident per month. Please consult your contract for the exact support level that you are eligible for.")),(0,a.h)("p",null,(0,a.h)("a",{href:"https://www.phusionpassenger.com/customers/help_support",className:"btn btn-primary"},"Submit Enterprise support ticket")))))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0);n(17);var l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props.spec.journey;return"SPAWN_DIRECTLY"===e.type?this.renderSpawnDirectlyJourney():"START_PRELOADER"===e.type?this.renderStartPreloaderJourney():this.renderSpawnThroughPreloaderJourney()}},{key:"renderSpawnDirectlyJourney",value:function(){var e=this;return(0,a.h)("table",{className:"journey spawn-directly"},(0,a.h)("thead",null,(0,a.h)("tr",null,(0,a.h)("th",{className:"server-core"},"In ",this.props.spec.short_program_name," core",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.core_process.pid)),(0,a.h)("th",null),(0,a.h)("th",{className:"subprocess"},"In subprocess",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.subprocess.pid||"unknown")))),(0,a.h)("tbody",null,(0,a.h)("tr",null,this.renderCell("server-core","Preparation work",["SPAWNING_KIT_PREPARATION"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core")),(0,a.h)("tr",null,this.renderCell("server-core","Spawn subprocess (fork())",["SPAWNING_KIT_FORK_SUBPROCESS"]),this.renderProcessBoundaryArrow(),this.renderCell("subprocess","Basic initialization before exec()",["SUBPROCESS_BEFORE_FIRST_EXEC"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Handshake with subprocess",["SPAWNING_KIT_HANDSHAKE_PERFORM"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Setup environment (1)",["SUBPROCESS_SPAWN_ENV_SETUPPER_BEFORE_SHELL"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Finish",["SPAWNING_KIT_FINISH"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Load OS shell",["SUBPROCESS_OS_SHELL"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Setup environment (2)",["SUBPROCESS_SPAWN_ENV_SETUPPER_AFTER_SHELL"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),function(){return e.props.spec.journey.steps.SUBPROCESS_EXEC_WRAPPER?e.props.spec.config.wrapper_supplied_by_third_party?[(0,a.h)("tr",{key:"exec-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize third-party wrapper",["SUBPROCESS_EXEC_WRAPPER","SUBPROCESS_WRAPPER_PREPARATION"])),(0,a.h)("tr",{server:"sep1"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess"))]:[(0,a.h)("tr",{key:"exec-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize language runtime",["SUBPROCESS_EXEC_WRAPPER","SUBPROCESS_WRAPPER_PREPARATION"])),(0,a.h)("tr",{key:"sep2"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess"))]:[]}(),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Load or execute application",["SUBPROCESS_APP_LOAD_OR_EXEC"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","App start listening for requests",["SUBPROCESS_LISTEN"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Finish",["SUBPROCESS_FINISH"]))))}},{key:"renderStartPreloaderJourney",value:function(){var e=this;return(0,a.h)("table",{className:"journey start-preloader"},(0,a.h)("thead",null,(0,a.h)("tr",null,(0,a.h)("th",{className:"server-core"},"In ",this.props.spec.short_program_name," core",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.core_process.pid)),(0,a.h)("th",null),(0,a.h)("th",{className:"subprocess"},"In subprocess",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.subprocess.pid||"unknown")))),(0,a.h)("tbody",null,(0,a.h)("tr",null,this.renderCell("server-core","Preparation work",["SPAWNING_KIT_PREPARATION"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core")),(0,a.h)("tr",null,this.renderCell("server-core","Spawn subprocess (fork())",["SPAWNING_KIT_FORK_SUBPROCESS"]),this.renderProcessBoundaryArrow(),this.renderCell("subprocess","Basic initialization before exec()",["SUBPROCESS_BEFORE_FIRST_EXEC"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Handshake with subprocess",["SPAWNING_KIT_HANDSHAKE_PERFORM"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Setup environment (1)",["SUBPROCESS_SPAWN_ENV_SETUPPER_BEFORE_SHELL"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Finish",["SPAWNING_KIT_FINISH"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Load OS shell",["SUBPROCESS_OS_SHELL"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Setup environment (2)",["SUBPROCESS_SPAWN_ENV_SETUPPER_AFTER_SHELL"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),function(){return e.props.spec.journey.steps.SUBPROCESS_EXEC_WRAPPER?e.props.spec.config.wrapper_supplied_by_third_party?[(0,a.h)("tr",{key:"exec-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize language runtime",["SUBPROCESS_EXEC_WRAPPER"])),(0,a.h)("tr",{key:"sep1"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess")),(0,a.h)("tr",{key:"prep-inside-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize third-party preloading wrapper",["SUBPROCESS_WRAPPER_PREPARATION"])),(0,a.h)("tr",{key:"sep2"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess"))]:[(0,a.h)("tr",{key:"exec-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize language runtime",["SUBPROCESS_EXEC_WRAPPER"])),(0,a.h)("tr",{key:"sep1"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess")),(0,a.h)("tr",{key:"prep-inside-wrapper"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderCell("subprocess","Initialize "+e.props.spec.short_program_name+"-internal preloading wrapper",["SUBPROCESS_WRAPPER_PREPARATION"])),(0,a.h)("tr",{key:"sep2"},(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),e.renderStepSeparator("subprocess"))]:[]}(),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Load application",["SUBPROCESS_APP_LOAD_OR_EXEC"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","App start listening for preloader commands",["SUBPROCESS_LISTEN"])),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,(0,a.h)("td",{className:"server-core"}),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Finish",["SUBPROCESS_FINISH"]))))}},{key:"renderSpawnThroughPreloaderJourney",value:function(){return(0,a.h)("table",{className:"journey spawn-through-preloader"},(0,a.h)("thead",null,(0,a.h)("tr",null,(0,a.h)("th",{className:"server-core"},"In ",this.props.spec.short_program_name,(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.core_process.pid)),(0,a.h)("th",null),(0,a.h)("th",{className:"preloader"},"In preloader",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.preloader_process.pid||"unknown")),(0,a.h)("th",null),(0,a.h)("th",{className:"subprocess"},"In subprocess",(0,a.h)("br",null),(0,a.h)("small",null,"PID ",this.props.spec.diagnostics.subprocess.pid||"unknown")))),(0,a.h)("tbody",null,(0,a.h)("tr",null,this.renderCell("server-core","Preparation work",["SPAWNING_KIT_PREPARATION"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core")),(0,a.h)("tr",null,this.renderCell("server-core","Tell preloader to spawn a subprocess",["SPAWNING_KIT_CONNECT_TO_PRELOADER","SPAWNING_KIT_SEND_COMMAND_TO_PRELOADER"]),this.renderProcessBoundaryArrow("small"),this.renderCell("preloader","Preparation work",["PRELOADER_PREPARATION"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("preloader")),(0,a.h)("tr",null,this.renderCell("server-core","Receive and process preloader response",["SPAWNING_KIT_READ_RESPONSE_FROM_PRELOADER","SPAWNING_KIT_PARSE_RESPONSE_FROM_PRELOADER","SPAWNING_KIT_PROCESS_RESPONSE_FROM_PRELOADER"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("preloader","Spawn subprocess (fork())",["PRELOADER_FORK_SUBPROCESS"]),this.renderProcessBoundaryArrow("small"),this.renderCell("subprocess","Preparation",["SUBPROCESS_PREPARE_AFTER_FORKING_FROM_PRELOADER"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("preloader"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Handshake with subprocess",["SPAWNING_KIT_HANDSHAKE_PERFORM"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("preloader","Send response to "+this.props.spec.short_program_name+" core",["PRELOADER_SEND_RESPONSE"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","App start listening",["SUBPROCESS_LISTEN"])),(0,a.h)("tr",null,this.renderStepSeparator("server-core"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("preloader"),(0,a.h)("td",{className:"process-boundary"}),this.renderStepSeparator("subprocess")),(0,a.h)("tr",null,this.renderCell("server-core","Finish",["SPAWNING_KIT_FINISH"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("preloader","Finish",["PRELOADER_FINISH"]),(0,a.h)("td",{className:"process-boundary"}),this.renderCell("subprocess","Finish",["SUBPROCESS_FINISH"]))))}},{key:"renderCell",value:function(e,t,n){function r(){var e;for(e=0;e<n.length;e++){var t=n[e];if("STEP_NOT_STARTED"!==s.steps[t].state)return!1}return!0}var o,i,s=this.props.spec.journey;!function(){var e;for(e=0;e<n.length;e++){var t=n[e];if("STEP_ERRORED"===s.steps[t].state)return!0}return!1}()?!function(){var e;for(e=0;e<n.length;e++){var t=n[e];if("STEP_PERFORMED"!==s.steps[t].state)return!1}return!0}()?r()?(o="not-started",i=(0,a.h)("span",{className:"glyphicon glyphicon-unchecked","aria-hidden":"true"})):(o="in-progress",i=(0,a.h)("span",{className:"glyphicon glyphicon-option-horizontal","aria-hidden":"true"})):(o="done",i=(0,a.h)("span",{className:"glyphicon glyphicon-ok","aria-hidden":"true"})):(o="error",i=(0,a.h)("span",{className:"glyphicon glyphicon-remove","aria-hidden":"true"}));var l=e+" "+o;return(0,a.h)("td",{className:l},(0,a.h)("span",{className:"status-label"},i),(0,a.h)("span",{className:"title"},t," ",function(){var e,t;for(e=0;e<n.length;e++){var o=n[e];void 0!==s.steps[o].duration?(void 0===t&&(t=0),t+=s.steps[o].duration):void 0!==s.steps[o].begin_time&&(void 0===t&&(t=0),t-=s.steps[o].begin_time.relative_timestamp)}if(void 0!==t)return r()?(0,a.h)("span",{className:"duration"},"— skipped"):(0,a.h)("span",{className:"duration"},"— ",t.toFixed(1),"s")}()))}},{key:"renderStepSeparator",value:function(e){return(0,a.h)("td",{className:e+" step-separator"},"|")}},{key:"renderProcessBoundaryArrow",value:function(e){var t;return t="small"===e?90:130,(0,a.h)("td",{className:"process-boundary arrow"},(0,a.h)("svg",{width:t,height:"20",viewBox:"0 0 130 20",version:"1.1",className:"arrow-image"},(0,a.h)("defs",{id:"defs4"},(0,a.h)("marker",{orient:"auto",refY:"0",refX:"0",id:"TriangleOutM",style:"overflow:visible"},(0,a.h)("path",{id:"path4287",d:"m 5.77,0 -8.65,5 0,-10 8.65,5 z",style:"fill:#aaa;fill-opacity:1;fill-rule:evenodd;stroke:#aaa;stroke-width:1pt;stroke-opacity:1",transform:"scale(0.4,0.4)"})),(0,a.h)("marker",{orient:"auto",refY:"0",refX:"0",id:"Arrow2Lend",style:"overflow:visible"},(0,a.h)("path",{id:"path4163",style:"fill:#aaa;fill-opacity:1;fill-rule:evenodd;stroke:#aaa;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1",d:"M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z",transform:"matrix(-1.1,0,0,-1.1,-1.1,0)"})),(0,a.h)("marker",{orient:"auto",refY:"0",refX:"0",id:"Arrow1Lend",style:"overflow:visible"},(0,a.h)("path",{id:"path4145",d:"M 0,0 5,-5 -12.5,0 5,5 0,0 Z",style:"fill:#aaa;fill-opacity:1;fill-rule:evenodd;stroke:#aaa;stroke-width:1pt;stroke-opacity:1",transform:"matrix(-0.8,0,0,-0.8,-10,0)"}))),(0,a.h)("g",{id:"layer1",transform:"translate(0,-1032.3622)"},(0,a.h)("path",{style:"fill:none;fill-rule:evenodd;stroke:#aaa;stroke-width:3.99429917;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#TriangleOutM)",d:"m 0,1042.3622 118.75284,0",id:"path3336"}))))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=n(3),c=r(u),p=n(2),f=r(p),d=n(15),h=r(d),y=n(13),m=(r(y),n(10)),v=r(m),g=n(12),b=r(g),C=n(7),w=r(C),x=n(6),S=r(x),_=function(e){function t(){o(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.state={systemComponentsViewCollapsed:!1},e.Preact={Component:l.Component,h:l.h,render:l.render},e.Components={Tabs:c.default,Tab:f.default},e._extraTabs=[],window.localStorage&&(e.state.systemComponentsViewCollapsed="true"===window.localStorage.getItem("_passenger_error_page_system_components_collapsed")),e}return s(t,e),a(t,[{key:"render",value:function(){var e=this;return(0,l.h)("div",null,(0,l.h)("div",{className:"page-title-container container"},(0,l.h)("h1",{className:"page-title"},"Error starting web application")),(0,l.h)("div",{className:"page-system-components-container"},(0,l.h)("div",{className:"collapse-button"},this._renderCollapseButton()),(0,l.h)("div",{class:"container"},(0,l.h)(h.default,{spec:this.props.spec,collapsed:this.state.systemComponentsViewCollapsed}))),(0,l.h)("div",{className:"page-main container"},(0,l.h)(c.default,{className:"page-main-tabs",defaultActiveKey:"problem-description",ref:function(t){e.tabs=t}},(0,l.h)(f.default,{eventKey:"problem-description",title:"What happened?"},(0,l.h)("p",null),(0,l.h)(v.default,{spec:this.props.spec})),(0,l.h)(f.default,{eventKey:"solution-description",title:"How do I solve this?"},(0,l.h)("p",null),(0,l.h)(b.default,{spec:this.props.spec})),this._renderExtraTabs(),(0,l.h)(f.default,{eventKey:"get-help",title:"Get help"},(0,l.h)("p",null),(0,l.h)(w.default,{spec:this.props.spec})),(0,l.h)(f.default,{eventKey:"details",title:"Detailed diagnostics"},(0,l.h)("p",null),(0,l.h)(S.default,{spec:this.props.spec})))),(0,l.h)("footer",null,(0,l.h)("div",null,"This website is powered by ",(0,l.h)("a",{href:"https://www.phusionpassenger.com"},(0,l.h)("b",null,"Phusion Passenger")),"®, the smart application server built by ",(0,l.h)("b",null,"Phusion"),"®.")))}},{key:"addExtraTab",value:function(e,t,n){this._extraTabs.push({key:e,title:t,component:n})}},{key:"setActiveTab",value:function(e){this.tabs.setActiveKey(e)}},{key:"_renderCollapseButton",value:function(){return this.state.systemComponentsViewCollapsed?(0,l.h)("a",{href:"javascript:void(0)",onClick:this._handleExpandSystemComponentsView.bind(this)},"Expand"):(0,l.h)("a",{href:"javascript:void(0)",onClick:this._handleCollapseSystemComponentsView.bind(this)},"Collapse")}},{key:"_renderExtraTabs",value:function(){return this._extraTabs.map(function(e){return(0,l.h)(f.default,{eventKey:e.key,title:e.title},e.component)})}},{key:"_handleExpandSystemComponentsView",value:function(){if(this.setState({systemComponentsViewCollapsed:!1}),window.localStorage)try{window.localStorage.setItem("_passenger_error_page_system_components_collapsed","false")}catch(e){}}},{key:"_handleCollapseSystemComponentsView",value:function(){if(this.setState({systemComponentsViewCollapsed:!0}),window.localStorage)try{window.localStorage.setItem("_passenger_error_page_system_components_collapsed","true")}catch(e){}}}]),t}(l.Component);t.default=_},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",{className:"problem-description"},(0,a.h)("div",{dangerouslySetInnerHTML:{__html:this.props.spec.error.problem_description_html}}))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",null,(0,a.h)("dl",null,this.renderBeforeItems(),(0,a.h)("dt",null,"User and group"),(0,a.h)("dd",null,(0,a.h)("pre",null,this.props.spec.user_info)),(0,a.h)("dt",null,"Ulimits"),(0,a.h)("dd",null,(0,a.h)("pre",null,this.props.spec.ulimits)),(0,a.h)("dt",null,"Environment variables"),(0,a.h)("dd",null,(0,a.h)("pre",null,this.props.spec.envvars)),this.renderAfterItems()))}},{key:"renderBeforeItems",value:function(){var e=[];return this.props.spec.pid&&(e.push((0,a.h)("dt",{key:"pid-header"},"PID")),e.push((0,a.h)("dd",{key:"pid-content"},this.props.spec.pid))),this.props.spec.stdout_and_err&&(e.push((0,a.h)("dt",{key:"stdout-and-err-header"},"Stdout and stderr output")),e.push((0,a.h)("dd",{key:"stdout-and-err-content"},(0,a.h)("pre",null,this.props.spec.stdout_and_err)))),this.props.spec.backtrace&&(e.push((0,a.h)("dt",{key:"backtrace-header"},"Backtrace")),e.push((0,a.h)("dd",{key:"backtrace-content"},(0,a.h)("pre",null,this.props.spec.backtrace)))),e}},{key:"renderAfterItems",value:function(){var e=[];if(this.props.spec.annotations){var t=!0,n=!1,r=void 0;try{for(var o,i=Object.keys(this.props.spec.annotations)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=o.value,l=this.props.spec.annotations[s];e.push((0,a.h)("dt",{key:s},s)),e.push((0,a.h)("dd",{key:s+"-value"},(0,a.h)("pre",null,l)))}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}}return e}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0);n(19);var l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",{className:"solution-description"},(0,a.h)("div",{dangerouslySetInnerHTML:{__html:this.props.spec.error.solution_description_html}}))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return(0,a.h)("div",{className:"summary-view"},(0,a.h)("h3",null,"Error message"),(0,a.h)("p",null,this.props.spec.error.summary),(0,a.h)("h3",null,"Learn more"),(0,a.h)("ul",null,(0,a.h)("li",null,(0,a.h)("a",{href:"#",onClick:this.props.problemDescriptionButtonClicked},"Learn what this error means")),(0,a.h)("li",null,(0,a.h)("a",{href:"#",onClick:this.props.solutionDescriptionButtonClicked},"Learn how to solve this error"))),(0,a.h)("h3",null,"Additional information"),(0,a.h)("p",null,"Error ID: ",this.props.spec.error.id),(0,a.h)("pre",null,this.props.spec.error.aux_details))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0);n(20);var l=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){var e=this.getStatusLabelAndClass(),t=e[0],n=e[1];return(0,a.h)("div",{className:"system-component-view "+n},(0,a.h)("div",{className:"icon"},this.getIcon()),(0,a.h)("div",{className:"name"},this.props.children),(0,a.h)("div",{className:"status-icon"},this.getStatusIcon()),(0,a.h)("div",{className:"status-label"},t))}},{key:"getIcon",value:function(){return"APP_SERVER"==this.props.type?this.getCoreServerIcon():"PREPARATION_WORK"==this.props.type?this.getPreparationWorkIcon():"APP"==this.props.type?this.getAppIcon():(0,a.h)("span",{class:"glyphicon glyphicon-asterisk","aria-hidden":"true"})}},{key:"getStatusIcon",value:function(){return"WORKING"===this.props.status||"DONE"==this.props.status?(0,a.h)("span",{class:"glyphicon glyphicon-ok","aria-hidden":"true"}):"ERROR"===this.props.status?(0,a.h)("span",{class:"glyphicon glyphicon-remove","aria-hidden":"true"}):"NOT_REACHED"===this.props.status?(0,a.h)("span",{class:"glyphicon glyphicon-minus-sign","aria-hidden":"true"}):(0,a.h)("span",{class:"glyphicon glyphicon-question-sign","aria-hidden":"true"})}},{key:"getStatusLabelAndClass",value:function(){return"WORKING"===this.props.status?["Working","working"]:"DONE"===this.props.status?["Done","done"]:"ERROR"===this.props.status?["Error","error"]:"NOT_REACHED"===this.props.status?["Not reached","not_reached"]:["Unknown","unknown"]}},{key:"getCoreServerIcon",value:function(){return(0,a.h)("svg",{width:"76px",height:"64px",viewBox:"0 0 76 64",version:"1.1"},(0,a.h)("defs",null,(0,a.h)("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"linearGradient-1"},(0,a.h)("stop",{"stop-color":"#888B9E",offset:"0%"}),(0,a.h)("stop",{"stop-color":"#3D4048",offset:"100%"}))),(0,a.h)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,a.h)("g",{id:"64"},(0,a.h)("path",{d:"M40.0317529,63.6095765 L35.7398406,63.6095765 C35.4232667,63.6095765 35.1234596,63.4559002 34.9378267,63.1985725 L31.1337497,57.9027436 C31.054706,57.7938895 30.9992157,57.6694278 30.9700734,57.534961 L30.882247,57.12996 L30.7616855,57.0303105 C30.5413213,57.4329103 30.1357234,57.9359601 29.4742315,57.9871855 C29.0802108,58.0176006 27.3528268,57.9999919 26.628659,57.9903871 C26.3943224,57.9875857 26.1675708,57.9003424 25.9899221,57.7442649 L19.7913804,52.3187716 C19.6001586,52.1514886 19.4819923,51.9209742 19.4572412,51.6696494 L18.9566312,46.6511582 L16.6288347,44.5112959 C16.3917036,44.3536176 16.0352087,43.9926384 16.0352087,43.2554725 C16.0352087,42.9449183 15.9481808,40.1203162 15.8918921,38.3538393 L14.5617226,37.4321818 C14.2942516,37.2460894 14.1349666,36.941138 14.1349666,36.6165769 L14.1349666,31.794183 C14.1349666,31.3255504 14.4399634,30.7292543 15.108641,30.5283546 C15.2256097,30.4919365 16.1094618,30.1209524 17.3705678,29.5714796 C17.2300457,29.1188549 16.8963057,28.1823901 16.4711465,27.0710384 C16.3441976,26.931369 16.2352131,26.834521 16.1928968,26.8049063 C15.9326115,26.6792439 14.4806829,25.7615883 0.618097645,16.3132981 C0.469990543,16.212448 0.35182423,16.0723785 0.276373442,15.9082971 C0.194535286,15.7310091 -0.0657499724,15.0938928 0.0156889734,14.3579274 C0.0747721301,13.825263 0.486358174,11.8838993 0.660813171,11.0742974 C0.697540539,10.9070144 0.7757858,10.7525377 0.887165535,10.6264751 C1.27759342,10.1834552 1.9825992,9.81167062 2.79060129,10.0958117 C3.28522312,10.2710987 19.4967631,15.6889882 21.8333422,16.4693756 C21.855698,16.4349585 21.8808483,16.3925374 21.908793,16.3409118 C22.4165888,15.39044 24.3288072,13.7620316 24.9032711,13.2857952 C25.0697419,13.1473265 25.2721416,13.0692877 25.4889129,13.0592828 L25.8737519,13.0432748 C26.6334495,12.3209162 28.815135,10.4543897 31.5920433,9.88250579 C31.5924425,9.88130519 31.5928418,9.8801046 31.5936402,9.878904 C31.7213875,9.56514825 32.588872,5.90012889 33.5685346,1.53716307 C33.5944833,1.41750366 33.6447838,1.30224645 33.7170409,1.19579361 C33.976927,0.815204677 34.3933035,0.329763698 34.902297,0.176887809 C35.0017004,0.146872909 35.2943217,0.0588292035 37.4456672,0.0188093372 L37.4456672,0 L37.856854,0.0108053639 L37.8855972,0.411004027 L37.9003679,0.0112055626 L38.3055666,0.00520258262 L38.3059658,0.0184091385 C40.4752758,0.0580288062 40.7694939,0.146872909 40.8696958,0.176887809 C41.3774916,0.329763698 41.7942673,0.815204677 42.0537542,1.19579361 C42.1256121,1.30024546 42.1763118,1.41630307 42.2030589,1.53916406 C43.1831207,5.90132949 44.0506052,9.56634884 44.1787518,9.88170539 C44.179151,9.88210559 44.179151,9.88250579 44.179151,9.88250579 C46.957257,10.4543897 49.138144,12.3209162 49.8978417,13.0432748 L50.2810838,13.0592828 C50.4986535,13.0692877 50.7010532,13.1473265 50.8679232,13.285395 C51.4427864,13.7620316 53.355404,15.3908402 53.8628005,16.341312 C53.890346,16.3925374 53.9154963,16.4349585 53.9382513,16.4697758 C56.3255302,15.6717796 72.4943546,10.2678971 72.980593,10.0958117 C73.7885951,9.81167062 74.4936009,10.1834552 74.8848272,10.6268753 C74.9966061,10.7533381 75.0744522,10.908215 75.1103811,11.0738972 C75.2461127,11.7014087 75.6932285,13.7932471 75.7555053,14.3579274 C75.8373435,15.0970944 75.5762598,15.7322096 75.4944217,15.9094977 C75.4201685,16.0719783 75.3020022,16.2116476 75.1538951,16.3128979 C60.9707438,25.9792964 59.7787012,26.7168626 59.5623291,26.81251 C59.5435662,26.8277176 59.4329849,26.9249659 59.3000478,27.0710384 C58.8708965,28.1939958 58.5351604,29.1368639 58.397832,29.570279 C59.6617325,30.1209524 60.546383,30.4919365 60.6645493,30.5287548 C61.3316301,30.7296545 61.6362277,31.3255504 61.6362277,31.794183 L61.6362277,36.6165769 C61.6362277,36.941138 61.4773419,37.2460894 61.2106693,37.4317816 L59.8793022,38.3538393 C59.8230136,40.1203162 59.7359857,42.9449183 59.7359857,43.2554725 C59.7359857,43.9922382 59.3798899,44.3532174 59.143158,44.5112959 L56.8145631,46.6511582 L56.3139531,51.6700496 C56.2892021,51.9213744 56.1710357,52.1514886 55.9810115,52.3183714 L49.7804738,57.7450653 C49.6044219,57.9003424 49.3772711,57.9875857 49.1417369,57.9903871 C48.4187667,57.9999919 46.691782,58.0172004 46.297362,57.9871855 C45.6366686,57.9359601 45.2306715,57.4329103 45.0099081,57.0299103 L44.8893465,57.12996 L44.8019194,57.5337604 C44.7723778,57.6694278 44.7168875,57.7938895 44.6370454,57.9039442 L40.8337668,63.1977721 C40.6485332,63.4555 40.3487261,63.6095765 40.0317529,63.6095765",id:"Fill-1",fill:"url(#linearGradient-1)"}),(0,a.h)("path",{d:"M49.1630548,41.072749 C49.1630548,41.072749 48.6879943,49.7638633 48.3079458,54.1452383 C48.3079458,54.1452383 48.1893803,55.0260756 47.7378732,55.1453348 C47.2867653,55.2641938 47.4292835,53.5021191 47.4292835,53.5021191 L48.0704156,41.191608 C48.0704156,41.191608 48.2368864,40.4536416 48.7119469,40.4300299 C49.3055729,40.4292295 49.1630548,41.072749 49.1630548,41.072749",id:"Fill-5",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M46.6571704,36.4414499 C46.6571704,36.4414499 47.500303,37.8345415 46.3601578,39.7871108 C45.2200126,41.7392798 42.5361202,40.2749529 42.5361202,40.2749529 C42.5361202,40.2749529 41.0039503,39.4297334 42.6431087,38.3700073 C44.2818678,37.3106814 45.8850973,36.4414499 45.8850973,36.4414499 C45.8850973,36.4414499 46.5058696,36.0872741 46.6571704,36.4414499",id:"Fill-7",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M49.2818199,37.3701109 C49.4007846,37.7270882 49.7213507,37.3701109 49.7213507,37.3701109 L51.8826764,34.8580639 L52.0607243,34.4174452 C52.0607243,34.4174452 52.1202067,33.6674729 52.084677,33.4769783 C52.0491472,33.2864838 52.1557364,33.1912365 52.1557364,33.1912365 C52.1557364,33.1912365 55.6001248,28.9887503 55.7186903,28.5957553 C55.837655,28.2027602 55.6001248,28.2980075 55.6001248,28.2980075 C52.6307969,29.940823 51.0990262,31.0481727 51.0990262,31.0481727 C51.0990262,31.0481727 48.2247105,33.2508661 48.0111328,33.4769783 C47.797156,33.7030906 48.0111328,33.9888324 48.0111328,33.9888324",id:"Fill-9",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M54.6340353,38.5431332 L53.398878,49.8907663 C53.398878,49.8907663 53.4304156,50.2085241 53.2088538,50.5258816 C52.9872919,50.8432392 49.376832,54.2405256 49.376832,54.2405256 C49.376832,54.2405256 49.1692425,54.4942516 49.1780252,53.637026 C49.1868078,52.7798005 49.7253428,48.747799 49.7568804,40.5885486 L49.8203549,40.0178653 C49.8203549,40.0178653 49.8518925,39.5408285 50.1684665,39.2550867 C50.4854396,38.9693448 53.6523767,35.381964 53.6523767,35.381964 C53.6523767,35.381964 53.9054761,35.1914694 53.9054761,34.8737117 L53.9054761,33.2228922 C53.9054761,33.2228922 53.8424009,32.873919 54.348999,32.4929299 C54.8555972,32.1119407 55.5841564,31.7309516 55.5841564,31.7309516 L59.0996042,32.5245456 C59.0996042,32.5245456 59.3846405,32.6197928 59.3846405,33.1596608 L59.3846405,35.0325906 C59.3846405,35.0325906 59.3527036,35.4135797 58.9726552,35.6677059 C58.5926068,35.9214318 54.6340353,38.5431332 54.6340353,38.5431332",id:"Fill-11",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M66.7953051,18.8092171 L46.1150026,31.3182267 C46.1150026,31.3182267 44.9668732,32.1038167 45.322969,30.873606 C45.6714797,29.4765125 46.5900631,26.5242469 46.5900631,26.5242469 C46.5900631,26.5242469 46.707431,26.0824276 46.9573368,25.9207474 C47.539785,25.6350055 58.6641853,20.1983067 59.0677871,19.9838002 C59.4083137,19.8093136 59.7013342,19.1585905 59.7013342,19.1585905 L60.5772021,17.4313331 C60.5772021,17.4313331 60.7253092,17.2576469 60.9480686,17.175206 C61.1708281,17.092765 67.5869396,14.713584 67.5869396,14.713584 C67.5869396,14.713584 68.0304624,14.459858 67.8719759,14.9677101 C67.7138885,15.4755622 67.238828,18.2061177 67.238828,18.2061177 C67.238828,18.2061177 67.1861322,18.5730999 66.7953051,18.8092171",id:"Fill-13",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M59.4953815,18.1187143 L59.067827,18.951928 C59.067827,18.951928 58.8542494,19.4045526 58.4027423,19.6662826 C57.9516344,19.9284127 46.7166528,25.1430013 46.7166528,25.1430013 C46.7166528,25.1430013 46.5421978,25.2622605 46.4076639,24.8096358 C46.2651457,24.262164 45.2567399,23.1428084 45.2567399,23.1428084 C45.2567399,23.1428084 44.9589289,22.7698232 45.5765076,22.5713247 C46.3366044,22.3095947 59.4953815,17.5712426 59.4953815,17.5712426 C59.4953815,17.5712426 59.8159475,17.4940042 59.4953815,18.1187143",id:"Fill-15",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M32.0477022,13.8564785 C29.3438494,15.0222572 27.5789397,16.754317 27.3022868,17.0252515 C27.2527847,17.0740758 27.2156581,17.0072426 27.2156581,17.0072426 L26.3154384,15.9995424 C26.0938766,15.7138005 25.6663221,16.0787817 25.6663221,16.0787817 C24.446734,17.0312545 23.7341432,18.0629667 23.544119,18.3963321 C23.3808419,18.6752706 23.6710679,18.7617135 23.6710679,18.7617135 C23.6710679,18.7617135 29.7989494,20.9363931 30.0524481,20.9840167 C30.5334967,21.127688 30.5722201,21.1100793 30.6524615,20.8267386 C30.6975723,20.6686602 32.1111767,14.4595779 32.1427143,14.1262124 C32.212177,13.7612312 32.0477022,13.8564785 32.0477022,13.8564785",id:"Fill-17",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M52.2271153,18.3964922 C52.0370911,18.0631267 51.3245003,17.0314146 50.1053114,16.0789418 C50.1053114,16.0789418 49.6777569,15.7139606 49.4557958,15.9993022 L48.5555761,17.0074027 C48.5555761,17.0074027 48.5188488,17.0738356 48.4693467,17.0254116 C48.1926938,16.7540769 46.4273849,15.0224173 43.7239312,13.8566386 C43.7239312,13.8566386 43.5594565,13.7613913 43.6289191,14.1263725 C43.6604568,14.459738 45.073662,20.66842 45.1187728,20.8264985 C45.1994133,21.1098392 45.2381367,21.1278481 45.7187862,20.9841768 C45.9722849,20.9365531 52.1005655,18.7614734 52.1005655,18.7614734 C52.1005655,18.7614734 52.3903924,18.6754307 52.2271153,18.3964922",id:"Fill-19",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M40.3746747,17.7853488 L37.8907869,17.7853488 L37.8808066,17.7853488 L35.3969188,17.7853488 C35.3969188,17.7853488 35.0168704,17.7793459 35.0168704,17.568041 C35.0168704,17.3567361 36.1570156,6.23681603 36.1570156,6.23681603 C36.1570156,6.23681603 36.3705932,6.11795702 36.3945459,6.33206331 C36.4180993,6.54656979 36.2787748,13.8209809 36.2787748,13.8209809 C36.2787748,13.8209809 36.2636048,14.0350872 36.537064,14.0470931 C36.7749935,14.0574983 37.6456716,14.0586989 37.8983719,14.0586989 L37.8983719,14.0586989 L37.9319056,14.0586989 L37.9678345,14.0586989 L37.9678345,14.0586989 C38.20776,14.0586989 38.9985961,14.0570981 39.2345295,14.0470931 C39.5075895,14.0350872 39.4928187,13.8209809 39.4928187,13.8209809 C39.4928187,13.8209809 39.3534942,6.54656979 39.3770477,6.33206331 C39.4010003,6.11795702 39.6145779,6.23681603 39.6145779,6.23681603 C39.6145779,6.23681603 40.7547232,17.3567361 40.7547232,17.568041 C40.7547232,17.7793459 40.3746747,17.7853488 40.3746747,17.7853488 M39.8760608,2.85553752 C39.8285548,2.54618395 39.5195658,2.54618395 39.5195658,2.54618395 L37.8983719,2.47454839 L37.8728224,2.47454839 L36.2520277,2.54618395 C36.2520277,2.54618395 35.9430388,2.54618395 35.8955327,2.85553752 C35.8480267,3.16529129 32.5701091,20.3806372 32.5701091,20.3806372 C32.5701091,20.3806372 32.475097,20.8332619 32.9026515,20.6903909 C34.9302417,19.6702846 37.7794072,19.5974484 37.8855972,19.5950472 C37.9921864,19.5974484 40.8409526,19.6702846 42.8685428,20.6903909 C43.2960973,20.8332619 43.2010852,20.3806372 43.2010852,20.3806372 C43.2010852,20.3806372 39.9235669,3.16529129 39.8760608,2.85553752",id:"Fill-21",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M33.1284449,38.3701674 C31.4896858,37.3104413 29.8860571,36.44161 29.8860571,36.44161 C29.8860571,36.44161 29.265684,36.087034 29.1143832,36.44161 C29.1143832,36.44161 28.2712506,37.8343014 29.4109966,39.7868707 C30.5511418,41.7394399 33.2354334,40.275113 33.2354334,40.275113 C33.2354334,40.275113 34.7672041,39.4298934 33.1284449,38.3701674",id:"Fill-23",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M24.6725673,31.0482127 C24.6725673,31.0482127 23.1403974,29.940863 20.1714688,28.2980475 C20.1714688,28.2980475 19.9339385,28.2028002 20.0529032,28.5957953 C20.1714688,28.9883902 23.6154579,33.1912765 23.6154579,33.1912765 C23.6154579,33.1912765 23.7224463,33.2865238 23.6869166,33.4770184 C23.6513868,33.6675129 23.71047,34.4174852 23.71047,34.4174852 L23.8889171,34.858104 L26.0502428,37.370151 C26.0502428,37.370151 26.3708089,37.7271282 26.4897736,37.370151 L27.7604607,33.9888725 C27.7604607,33.9888725 27.9740383,33.7031306 27.7604607,33.4770184 C27.5464839,33.2509061 24.6725673,31.0482127 24.6725673,31.0482127",id:"Fill-25",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M28.34231,53.5022391 L27.7011779,41.191728 C27.7011779,41.191728 27.5347072,40.4537617 27.0596466,40.4297498 C26.4660206,40.4293496 26.6085388,41.072869 26.6085388,41.072869 C26.6085388,41.072869 27.0835993,49.7639834 27.4636477,54.1449582 C27.4636477,54.1449582 27.5822132,55.0261956 28.0337203,55.1450546 C28.4848282,55.2643138 28.34231,53.5022391 28.34231,53.5022391",id:"Fill-27",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M26.0145933,40.5885886 L25.9511189,40.0179053 C25.9511189,40.0179053 25.9195812,39.5408685 25.6030073,39.2551267 C25.2860341,38.9693848 22.1190971,35.382004 22.1190971,35.382004 C22.1190971,35.382004 21.8659976,35.1915095 21.8659976,34.8737517 L21.8659976,33.2229322 C21.8659976,33.2229322 21.9290729,32.8735588 21.4224748,32.4925697 C20.9158766,32.1119807 20.1873174,31.7309916 20.1873174,31.7309916 L16.6718696,32.5245856 C16.6718696,32.5245856 16.3868333,32.6198329 16.3868333,33.1593007 L16.3868333,35.0326306 C16.3868333,35.0326306 16.4187701,35.4136197 16.7988185,35.6677459 C17.1788669,35.9214718 21.1374384,38.5431733 21.1374384,38.5431733 L22.3725958,49.8908064 C22.3725958,49.8908064 22.3410582,50.2081639 22.56262,50.5259216 C22.7841818,50.8432792 26.3946418,54.2405656 26.3946418,54.2405656 C26.3946418,54.2405656 26.6022312,54.4942916 26.5934486,53.637066 C26.584666,52.7798405 26.046131,48.747839 26.0145933,40.5885886",id:"Fill-29",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M30.448385,30.873606 C30.0998743,29.4765125 29.1816901,26.5242469 29.1816901,26.5242469 C29.1816901,26.5242469 29.063923,26.0824276 28.8140172,25.9207474 C28.231569,25.6350055 17.1075679,20.1983067 16.7035669,19.9838002 C16.3630403,19.8093136 16.070419,19.1585905 16.070419,19.1585905 L15.1941519,17.4313331 C15.1941519,17.4313331 15.0460448,17.2576469 14.8232854,17.175206 C14.6005259,17.092765 8.18441444,14.713584 8.18441444,14.713584 C8.18441444,14.713584 7.74089155,14.459858 7.89937813,14.9677101 C8.05786471,15.4755622 8.53292522,18.2061177 8.53292522,18.2061177 C8.53292522,18.2061177 8.58562101,18.5730999 8.9760489,18.8092171 L29.6563514,31.3182267 C29.6563514,31.3182267 30.8044808,32.1038167 30.448385,30.873606",id:"Fill-31",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M16.7036068,18.952088 C16.7036068,18.952088 16.9171844,19.4043125 17.3686915,19.6664426 C17.8197994,19.9281726 29.054781,25.1431613 29.054781,25.1431613 C29.054781,25.1431613 29.229236,25.2620204 29.36377,24.8097959 C29.5062881,24.2619239 30.5146939,23.1425682 30.5146939,23.1425682 C30.5146939,23.1425682 30.812505,22.7699833 30.1949263,22.5714847 C29.4348295,22.3093546 16.2760524,17.5710024 16.2760524,17.5710024 C16.2760524,17.5710024 15.9554863,17.4941643 16.2760524,18.1188744 L16.7036068,18.952088 Z",id:"Fill-33",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M37.8857169,32.1730511 C35.663312,32.1322308 33.7814336,30.3161293 33.7814336,28.0798191 C33.7814336,25.843509 35.663312,24.0274075 37.8857169,23.9865872 C40.1081219,24.0274075 41.9900003,25.843509 41.9900003,28.0798191 C41.9900003,30.3161293 40.1081219,32.1322308 37.8857169,32.1730511 M45.3549457,25.5241505 C42.9141726,21.123566 38.4194614,21.236422 37.8857169,21.2664369 C37.3519725,21.236422 32.8572612,21.123566 30.4164881,25.5241505 C30.4164881,25.5241505 30.2899384,25.8255001 30.2899384,26.0636183 C30.2899384,26.3017365 32.7287154,35.1753414 32.7287154,35.1753414 C32.7287154,35.1753414 32.7762215,35.2865967 32.9818149,35.5883465 C33.1878075,35.8896961 35.6265846,37.6677787 35.6265846,37.6677787 C35.6265846,37.6677787 35.8006404,37.9058969 36.4182191,37.9375126 C36.9483706,37.9647261 37.6869101,37.9455166 37.8857169,37.9391134 C38.0845238,37.9455166 38.8230632,37.9647261 39.3532148,37.9375126 C39.9707935,37.9058969 40.1448492,37.6677787 40.1448492,37.6677787 C40.1448492,37.6677787 42.5836263,35.8896961 42.7896189,35.5883465 C42.9952123,35.2865967 43.0427184,35.1753414 43.0427184,35.1753414 C43.0427184,35.1753414 45.4814955,26.3017365 45.4814955,26.0636183 C45.4814955,25.8255001 45.3549457,25.5241505 45.3549457,25.5241505",id:"Fill-35",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M46.1148429,51.795752 L46.1148429,49.6050645 C46.1148429,49.3193227 45.8138382,49.6210725 45.8138382,49.6210725 L44.3730874,50.6687926 C43.9135961,51.0337737 43.5810538,50.7640398 43.5810538,50.7640398 C43.5810538,50.7640398 42.0293225,49.1764517 41.8077607,48.8590942 C41.5861988,48.5417367 41.2851941,48.5733524 41.2851941,48.5733524 L34.4862398,48.5733524 C34.4862398,48.5733524 34.185235,48.5417367 33.9636732,48.8590942 C33.7421113,49.1764517 32.1903801,50.7640398 32.1903801,50.7640398 C32.1903801,50.7640398 31.8578377,51.0337737 31.3983464,50.6687926 L29.9575956,49.6210725 C29.9575956,49.6210725 29.6565909,49.3193227 29.6565909,49.6050645 L29.6565909,51.795752 C29.6565909,51.795752 29.6406225,52.2083568 29.9891333,52.4784909 C30.337644,52.7482248 32.7919903,54.4150522 32.7919903,54.4150522 C32.7919903,54.4150522 33.2650548,54.6807842 33.5995932,54.0024474 L35.1197868,51.255884 C35.1197868,51.255884 35.2147989,51.0337737 35.8004408,51.0177658 C36.3250034,51.0037588 39.4332565,51.0033586 39.9709931,51.0177658 C40.5566349,51.0337737 40.651647,51.255884 40.651647,51.255884 L42.1718407,54.0024474 C42.5063791,54.6807842 42.9794435,54.4150522 42.9794435,54.4150522 C42.9794435,54.4150522 45.4337898,52.7482248 45.7823006,52.4784909 C46.1308114,52.2083568 46.1148429,51.795752 46.1148429,51.795752",id:"Fill-37",fill:"#F6F6F6"}),(0,a.h)("path",{d:"M45.9958383,41.7191899 L43.918746,42.6184363 C43.9159515,42.6196369 43.913157,42.6208375 43.9103625,42.6224383 C43.8640541,42.6508524 43.342286,42.9477998 42.6468612,42.4935743 C42.6468612,42.4935743 38.5517598,40.0179454 37.9796911,40.0179454 C37.9764974,40.0179454 37.9737029,40.019146 37.9705092,40.0195462 C37.9677148,40.0195462 37.9653195,40.0179454 37.9621258,40.0179454 L37.7401648,40.0179454 C37.7210027,40.0179454 37.7042358,40.0247487 37.6886666,40.0335531 C36.8447356,40.2444578 33.1244928,42.4935743 33.1244928,42.4935743 C32.4294672,42.9477998 31.9072999,42.6508524 31.8609915,42.6224383 C31.858197,42.6208375 31.8558017,42.6196369 31.852608,42.6184363 L29.7755157,41.7191899 C29.770326,41.7167887 29.0281936,41.2929783 29.0549407,41.9376983 C29.0569368,41.985322 29.4665268,47.2559384 29.4665268,47.2559384 C29.4816968,48.1847995 29.8349981,48.4489306 29.8749191,48.4757439 C29.8769152,48.4773447 29.8789112,48.4781451 29.8813065,48.4797459 L30.9819299,49.0784431 C30.9851236,49.0804441 31.5875323,49.4514282 31.8474183,49.229318 C31.8534065,49.2241154 31.8597938,49.2221144 31.865782,49.2169118 C31.9316517,49.1556814 32.3899454,48.7218661 32.7129067,48.1924033 C33.0478443,47.6429305 33.5879762,47.5925055 33.6286956,47.5893039 C33.6306917,47.5893039 33.6322885,47.5889037 33.6338854,47.5889037 L42.1374686,47.5889037 C42.1394647,47.5889037 42.1410615,47.5893039 42.1426584,47.5893039 C42.183777,47.5925055 42.7235097,47.6429305 43.0588465,48.1924033 C43.3814086,48.7218661 43.8401015,49.1556814 43.9059712,49.2169118 C43.9115602,49.2221144 43.9183467,49.2241154 43.9243349,49.229318 C44.1838217,49.4514282 44.7862304,49.0804441 44.7894241,49.0784431 L45.8904467,48.4797459 C45.892842,48.4781451 45.8944388,48.4773447 45.8968341,48.4757439 C45.9363559,48.4489306 46.2900564,48.1847995 46.3048272,47.2559384 C46.3048272,47.2559384 46.7144172,41.985322 46.7164133,41.9376983 C46.7431604,41.2929783 46.0014272,41.7167887 45.9958383,41.7191899",id:"Fill-39",fill:"#F6F6F6"}))))}},{key:"getPreparationWorkIcon",value:function(){return(0,a.h)("svg",{width:"60px",height:"63px",viewBox:"0 0 60 63",version:"1.1"},(0,a.h)("defs",null,(0,a.h)("path",{d:"M14.4973229,0.57613464 L14.4973229,0.57613464 L14.4973229,0.57613464 C15.7389717,0.483042186 16.8213633,1.4132827 16.9159945,2.65481525 L17.018698,4.0022539 C19.48808,4.31319289 21.7290427,5.43245748 23.4489057,7.1006423 L25.501023,5.70083779 L25.501023,5.70083779 C26.5297293,4.99912951 27.9324051,5.26330879 28.6353673,6.29115865 L28.6353673,6.29115865 L28.6353673,6.29115865 C29.3374289,7.31769165 29.0743928,8.71899441 28.0478598,9.42105596 C28.0472866,9.42144796 28.0467133,9.42183969 28.0461397,9.42223115 L25.9825488,10.8307522 C26.4405558,11.9204863 26.7542672,13.0895474 26.8489064,14.3315663 C26.9441298,15.5735852 26.8121023,16.7773881 26.5246796,17.921551 L28.7834642,19.0089268 L28.7834642,19.0089268 C29.9037141,19.5482136 30.3750531,20.8932569 29.8364672,22.013844 L29.8364672,22.013844 L29.8364672,22.013844 C29.2980038,23.1341764 27.9532841,23.6058744 26.8329517,23.0674109 C26.8329218,23.0673966 26.8328919,23.0673822 26.832862,23.0673679 L24.5863286,21.9874982 C23.1386994,23.8930852 21.0940254,25.3342903 18.7011726,26.0105971 L18.8039409,27.3588855 L18.8039409,27.3588855 C18.8983997,28.5981567 17.9703459,29.6793586 16.7310746,29.7738175 C16.7302653,29.7738792 16.7294558,29.7739404 16.7286464,29.7740012 L16.7286464,29.7740012 L16.7286464,29.7740012 C15.4874259,29.8672578 14.405203,28.9376026 14.3102175,27.6965132 L14.2069792,26.3475925 C11.7381814,26.0360744 9.49780284,24.9173889 7.77677152,23.2492041 L5.7247553,24.6491485 L5.7247553,24.6491485 C4.69629315,25.350795 3.29387177,25.0868194 2.59089406,24.0592667 L2.59089406,24.0592667 L2.59089406,24.0592667 C1.88884172,23.0330667 2.15161535,21.6320413 3.17781539,20.929989 C3.1783965,20.9295914 3.17897779,20.9291942 3.17955927,20.9287972 L5.24429672,19.5190942 C4.78570555,18.4305182 4.47199414,17.260878 4.37677075,16.0182801 C4.28213156,14.7768402 4.41474327,13.5736163 4.70216601,12.4282954 L2.44258307,11.3415899 L2.44258307,11.3415899 C1.32193216,10.8026332 0.850231251,9.45736218 1.38891784,8.33658138 L1.38891784,8.33658138 L1.38891784,8.33658138 C1.92748633,7.2160463 3.27245552,6.74426916 4.39299061,7.28283765 C4.39309115,7.28288597 4.39319169,7.2829343 4.39329222,7.28298264 L6.63934858,8.36292724 C8.08697778,6.4573402 10.1310676,5.01613506 12.5250888,4.33924924 L12.421943,2.99175511 L12.421943,2.99175511 C12.3270934,1.75264107 13.254703,0.671249865 14.493817,0.576400243 C14.4949856,0.576310796 14.4961542,0.576222261 14.4973229,0.57613464 Z M8.93931474,15.8092503 C9.2097959,19.3477014 12.1663945,22.0401899 15.6592819,22.0407689 C15.8292819,22.0407689 15.9998662,22.0343996 16.1716188,22.0210819 C19.8841626,21.7431476 22.6631667,18.5104243 22.3798333,14.8005804 C22.0964999,11.0901575 18.8577362,8.30965649 15.1451924,8.58874885 C11.433817,8.86726218 8.65539715,12.0994065 8.93931474,15.8092503 Z",id:"path-1"}),(0,a.h)("linearGradient",{x1:"50%",y1:"15.6382541%",x2:"50%",y2:"140.143913%",id:"linearGradient-3"},(0,a.h)("stop",{"stop-color":"#888B9E",offset:"0%"}),(0,a.h)("stop",{"stop-color":"#3D4048",offset:"100%"})),(0,a.h)("polygon",{id:"path-4",points:"0.11958422 43.4272341 39.5907306 43.4272341 39.5907306 0.274518023 0.11958422 0.274518023 0.11958422 43.4272341"}),(0,a.h)("linearGradient",{x1:"50%",y1:"-42.489415%",x2:"50%",y2:"100%",id:"linearGradient-6"},(0,a.h)("stop",{"stop-color":"#888B9E",offset:"0%"}),(0,a.h)("stop",{"stop-color":"#3D4048",offset:"100%"})),(0,a.h)("path",{d:"M14.9556219,14.9517072 L14.9556219,14.9517072 L14.9556219,14.9517072 C14.4428638,15.4204211 13.6473938,15.3853707 13.1778483,14.873374 L12.2481815,13.859657 C11.1014115,14.5469654 9.74374791,14.8712221 8.36505344,14.7293598 L8.13563373,15.4494351 L8.13563373,15.4494351 C7.92518674,16.1099612 7.22061964,16.4763434 6.55902211,16.2692895 L6.55902211,16.2692895 L6.55902211,16.2692895 C5.90179748,16.0636041 5.53575255,15.3640774 5.74143789,14.7068528 C5.74207508,14.7048167 5.74271751,14.7027823 5.74336515,14.7007496 L5.97278486,13.9806742 C4.76175366,13.3124739 3.8381452,12.2736944 3.29835126,11.0588899 L1.93918358,11.3619848 L1.93918358,11.3619848 C1.26646216,11.5120019 0.599500784,11.0882663 0.449483669,10.4155449 C0.449207184,10.4143051 0.448932593,10.4130648 0.448659896,10.4118241 L0.448659896,10.4118241 L0.448659896,10.4118241 C0.30009348,9.73589873 0.726203899,9.06713019 1.40160583,8.91620181 L2.7684886,8.61075198 C2.75972571,7.9541322 2.84209686,7.2853528 3.05299038,6.62352175 C3.26329971,5.96226973 3.58343724,5.36818517 3.97134111,4.83547776 L3.03641137,3.81568872 L3.03641137,3.81568872 C2.56784991,3.30459807 2.60232663,2.51043311 3.11341728,2.04187165 C3.11391608,2.04141435 3.11441526,2.04095746 3.1149148,2.04050097 L3.1149148,2.04050097 L3.1149148,2.04050097 C3.62785783,1.57176559 4.42347869,1.60688511 4.89312629,2.11899306 L5.82264737,3.13255116 C6.96941739,2.4452428 8.32708093,2.12040709 9.7051912,2.26226938 L9.93442176,1.54300535 L9.93442176,1.54300535 C10.144983,0.882320592 10.8497253,0.515855343 11.5115146,0.722918691 L11.5115146,0.722918691 L11.5115146,0.722918691 C12.1687965,0.928571712 12.534914,1.62811864 12.329261,2.28540049 C12.3286044,2.28749903 12.3279422,2.28959583 12.3272745,2.29169086 L12.098044,3.0109549 C13.308491,3.67915528 14.2320994,4.71793472 14.7724776,5.93331824 L16.1314275,5.62996705 L16.1314275,5.62996705 C16.8040917,5.4798118 17.4711186,5.90338894 17.6212738,6.57605308 C17.6215744,6.57739973 17.6218728,6.57874688 17.6221689,6.58009452 L17.6221689,6.58009452 L17.6221689,6.58009452 C17.7707262,7.2561383 17.344428,7.92497222 16.6688758,8.07574904 L15.301756,8.38087716 C15.3111031,9.03807597 15.2281478,9.70685537 15.0178385,10.3681074 C14.8075291,11.0293594 14.4873916,11.624023 14.0994877,12.1567304 L15.0341301,13.1765398 L15.0341301,13.1765398 C15.5026777,13.6877827 15.4680664,14.4820598 14.9568235,14.9506074 C14.9564232,14.9509743 14.9560227,14.9513409 14.9556219,14.9517072 Z M9.98794041,5.50599426 C8.33525962,4.98892066 6.57041386,5.90841996 6.04464055,7.55981292 C5.51828304,9.21120588 6.43079184,10.9685613 8.08288843,11.4856349 C9.73498503,12.0027085 11.5009992,11.0837882 12.0267725,9.43239525 C12.5525458,7.78042327 11.640037,6.02306786 9.98794041,5.50599426 Z",id:"path-7"}),(0,a.h)("linearGradient",{x1:"50%",y1:"-80.5345186%",x2:"50%",y2:"100%",id:"linearGradient-9"},(0,a.h)("stop",{"stop-color":"#888B9E",offset:"0%"}),(0,a.h)("stop",{"stop-color":"#3D4048",offset:"100%"}))),(0,a.h)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,a.h)("g",{transform:"translate(-1.000000, 0.000000)"},(0,a.h)("g",{id:"Group-5",transform:"translate(0.000000, 0.300516)"},(0,a.h)("mask",{id:"mask-2",fill:"white"},(0,a.h)("use",{href:"#path-1"})),(0,a.h)("g",{id:"Clip-4"}),(0,a.h)("polygon",{id:"Fill-3",fill:"url(#linearGradient-3)",mask:"url(#mask-2)",points:"-5.33017303 39.3361571 39.98915 35.933778 36.5564344 -8.9861949 -8.76288858 -5.58381586"})),(0,a.h)("g",{id:"Group-15",transform:"translate(2.920963, 19.408499)"},(0,a.h)("g",{id:"Group-8",transform:"translate(19.278355, 0.000000)"},(0,a.h)("mask",{id:"mask-5",fill:"white"},(0,a.h)("use",{href:"#path-4"})),(0,a.h)("g",{id:"Clip-7"}),(0,a.h)("path",{d:"M37.1135237,9.019334 L37.2064838,9.14183334 L37.2064838,9.14183334 C38.2080665,10.4616811 37.9500618,12.3435723 36.6302141,13.345155 C36.61783,13.3545529 36.6053729,13.3638543 36.5928442,13.3730585 L33.8385953,15.39646 C35.2500046,18.3356152 35.7167744,21.6974621 35.0303481,24.9950368 L36.8128658,25.7538381 L36.8128658,25.7538381 C38.3373407,26.402793 39.0470898,28.1647059 38.3981349,29.6891808 C38.3955936,29.6951506 38.3930329,29.7011122 38.3904529,29.7070654 L38.3491533,29.8023629 L38.3491533,29.8023629 C37.6932916,31.3157406 35.9387276,32.015813 34.4211959,31.3696211 L32.603028,30.5954129 C30.6629245,33.3591221 27.8809994,35.3382459 24.7584901,36.3469158 L25.1744593,39.7221436 L25.1744593,39.7221436 C25.3771197,41.3665568 24.2083482,42.8639059 22.563935,43.0665663 C22.5547682,43.067696 22.5455963,43.0687834 22.5364196,43.0698284 L22.3493673,43.0911291 L22.3493673,43.0911291 C20.7144126,43.277311 19.2346282,42.1117484 19.0326243,40.478673 L18.605774,37.0278548 C16.9875606,36.8894667 15.3611684,36.526415 13.7856011,35.8553195 C12.2100337,35.184803 10.8260815,34.2658827 9.60979256,33.1975728 L6.76317569,35.28773 L6.76317569,35.28773 C5.44260009,36.257376 3.58833504,35.9882559 2.59789995,34.6831997 L2.50453301,34.5601739 L2.50453301,34.5601739 C1.50290079,33.2403637 1.76083499,31.3584628 3.08064517,30.3568306 C3.09311631,30.347366 3.10566136,30.3379992 3.11827915,30.3287309 L5.87212848,28.3059291 C4.46071922,25.3661949 3.99394936,22.0043479 4.68037563,18.7067733 L2.89778102,17.9477129 L2.89778102,17.9477129 C1.37337593,17.2985941 0.663816144,15.5366049 1.31293488,14.0121998 C1.3154839,14.0062137 1.3180524,14.0002358 1.32064031,13.9942663 L1.36190542,13.8990813 L1.36190542,13.8990813 C2.01792018,12.3858712 3.77242404,11.6859973 5.28984046,12.332223 L7.10769577,13.1063972 C9.04838349,10.342688 11.8297243,8.36356417 14.9522336,7.35489428 L14.5362803,3.9797948 L14.5362803,3.9797948 C14.3336199,2.3353816 15.5023914,0.838032582 17.1468046,0.635372155 C17.1560138,0.634237206 17.1652281,0.633144989 17.1744474,0.632095537 L17.362743,0.610661354 L17.362743,0.610661354 C18.998074,0.424507426 20.4780291,1.59068713 20.679491,3.22420286 L21.1049498,6.67395525 C22.7243316,6.81292239 24.3489712,7.17539504 25.9251227,7.84649057 C27.5012743,8.51758609 28.8863949,9.4370854 30.1009312,10.5042373 L32.9487859,8.41426933 L32.9487859,8.41426933 C34.2694039,7.44510151 36.1232879,7.71443894 37.1135237,9.019334 Z M15.6894847,31.6312972 C21.0576302,33.9173068 27.2600027,31.4946462 29.5477009,26.2179477 C31.8342306,20.9412492 29.3379757,14.8122189 23.9698302,12.5267883 C18.6011004,10.2407787 12.3975595,12.6657555 10.1110298,17.942454 C7.82391586,23.2185734 10.3207549,29.3458666 15.6894847,31.6312972 Z",id:"Fill-6",fill:"url(#linearGradient-6)",mask:"url(#mask-5)"})),(0,a.h)("g",{id:"Group-14",transform:"translate(0.000000, 15.633804)"},(0,a.h)("g",{id:"Group-13"},(0,a.h)("mask",{id:"mask-8",fill:"white"},(0,a.h)("use",{href:"#path-7"})),(0,a.h)("g",{id:"Clip-12"}),(0,a.h)("polygon",{id:"Fill-11",fill:"url(#linearGradient-9)",mask:"url(#mask-8)",points:"-10.0293597 16.6790689 14.1007145 24.2301963 21.7191699 0.312791892 -2.41090433 -7.23833558"})))))))}},{key:"getAppIcon",value:function(){return(0,a.h)("svg",{width:"64px",height:"64px",viewBox:"0 0 64 64",version:"1.1"},(0,a.h)("defs",null,(0,a.h)("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"linearGradient-1"},(0,a.h)("stop",{"stop-color":"#888B9E",offset:"0%"}),(0,a.h)("stop",{"stop-color":"#3D4048",offset:"100%"}))),(0,a.h)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,a.h)("g",{id:"Group-21"},(0,a.h)("path",{d:"M16,10 C16,11.106 16.896,12 18,12 C19.104,12 20,11.106 20,10 C20,8.896 19.104,8 18,8 C16.896,8 16,8.896 16,10 Z M24,10 C24,11.106 24.896,12 26,12 C27.104,12 28,11.106 28,10 C28,8.896 27.104,8 26,8 C24.896,8 24,8.896 24,10 Z M56,60 L8,60 C5.792,60 4,58.208 4,56 L4,18 L60,18 L60,56 C60,58.208 58.208,60 56,60 Z M8,0 C3.582,0 0,3.582 0,8 L0,56 C0,60.418 3.582,64 8,64 L56,64 C60.418,64 64,60.418 64,56 L64,16 C64,11.582 60.418,8 56,8 L43.4909668,8 C33.5795898,8 38.9165039,0 28.5126953,0 L8,0 Z M8,10 C8,11.106 8.896,12 10,12 C11.104,12 12,11.106 12,10 C12,8.896 11.104,8 10,8 C8.896,8 8,8.896 8,10 Z",id:"Fill-109",fill:"url(#linearGradient-1)"}),(0,a.h)("path",{d:"M15.2918884,33.9521484 L17.6908142,33.9521484 L19.0687439,40.4682617 L20.4798767,33.9521484 L22.9452087,33.9521484 L20.3221619,43 L17.8900329,43 L16.4705994,36.4091797 L15.0345642,43 L12.5775329,43 L10.0374939,33.9521484 L12.5775329,33.9521484 L13.9886658,40.4433594 L15.2918884,33.9521484 Z M30.0110331,33.9521484 L32.4099589,33.9521484 L33.7878886,40.4682617 L35.1990214,33.9521484 L37.6643534,33.9521484 L35.0413066,43 L32.6091776,43 L31.1897441,36.4091797 L29.7537089,43 L27.2966776,43 L24.7566386,33.9521484 L27.2966776,33.9521484 L28.7078105,40.4433594 L30.0110331,33.9521484 Z M44.7301778,33.9521484 L47.1291036,33.9521484 L48.5070333,40.4682617 L49.9181661,33.9521484 L52.3834981,33.9521484 L49.7604513,43 L47.3283224,43 L45.9088888,36.4091797 L44.4728536,43 L42.0158224,43 L39.4757833,33.9521484 L42.0158224,33.9521484 L43.4269552,40.4433594 L44.7301778,33.9521484 Z",id:"www",fill:"#5C606C"}))))}}]),t}(a.Component);t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),l=n(14),u=function(e){return e&&e.__esModule?e:{default:e}}(l);n(21);var c=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){return this.props.collapsed?this.renderCollapsed():this.renderExpanded()}},{key:"renderCollapsed",value:function(){return(0,a.h)("div",{className:"system-components collapsed"},"...")}},{key:"renderExpanded",value:function(){return(0,a.h)("div",{className:"system-components row"},(0,a.h)("div",{className:"col-sm-3"},(0,a.h)(u.default,{type:"APP_SERVER",status:"WORKING"},this.props.spec.short_program_name," ",(0,a.h)("br",{class:"hidden-xs"}),"application server")),(0,a.h)("div",{className:"col-sm-1"},this.buildDivider()),(0,a.h)("div",{className:"col-sm-4"},(0,a.h)(u.default,{type:"PREPARATION_WORK",status:this.getPreparationWorkStatus()},"Preparation work"," ",(0,a.h)("br",{class:"hidden-xs"}),"before executing the app")),(0,a.h)("div",{className:"col-sm-1"},this.buildDivider()),(0,a.h)("div",{className:"col-sm-3"},(0,a.h)(u.default,{type:"APP",status:this.getWebAppStatus()},"Web"," ",(0,a.h)("br",{class:"hidden-xs"}),"application")))}},{key:"getGeneralSystemStatus",value:function(){var e=this.props.spec.journey;return e.steps.SUBPROCESS_APP_LOAD_OR_EXEC&&"STEP_ERRORED"===e.steps.SUBPROCESS_APP_LOAD_OR_EXEC.state?"app-error":e.steps.SUBPROCESS_LISTEN&&"STEP_ERRORED"===e.steps.SUBPROCESS_LISTEN.state?"app-error":"preparation-error"}},{key:"getPreparationWorkStatus",value:function(){return"app-error"===this.getGeneralSystemStatus()?"DONE":"ERROR"}},{key:"getWebAppStatus",value:function(){return"app-error"===this.getGeneralSystemStatus()?"ERROR":"NOT_REACHED"}},{key:"buildDivider",value:function(){return(0,a.h)("div",{className:"divider"},(0,a.h)("span",{className:"glyphicon glyphicon-menu-right hidden-xs","aria-hidden":"true"}),(0,a.h)("div",{className:"visible-xs"}))}}]),t}(a.Component);t.default=c},function(e,t,n){"use strict";(function(e){var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};/*!
|
25
|
+
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
26
|
+
* Copyright 2011-2017 Twitter, Inc.
|
27
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
28
|
+
*/
|
29
|
+
/*!
|
30
|
+
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=e18bae9569f7969c3d0bbc56a809d696)
|
31
|
+
* Config saved to config.json and https://gist.github.com/e18bae9569f7969c3d0bbc56a809d696
|
32
|
+
*/
|
33
|
+
if(void 0===e)throw new Error("Bootstrap's JavaScript requires jQuery");+function(e){var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||t[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(e),function(e){function n(t){var n,r=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(r)}function r(n){return this.each(function(){var r=e(this),i=r.data("bs.collapse"),s=e.extend({},o.DEFAULTS,r.data(),"object"==(void 0===n?"undefined":t(n))&&n);!i&&s.toggle&&/show|hide/.test(n)&&(s.toggle=!1),i||r.data("bs.collapse",i=new o(this,s)),"string"==typeof n&&i[n]()})}var o=function t(n,r){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,r),this.$trigger=e('[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()};o.VERSION="3.3.7",o.TRANSITION_DURATION=350,o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,n=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(n&&n.length&&(t=n.data("bs.collapse"))&&t.transitioning)){var i=e.Event("show.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){n&&n.length&&(r.call(n,"hide"),t||n.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return a.call(this);var l=e.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",e.proxy(a,this)).emulateTransitionEnd(o.TRANSITION_DURATION)[s](this.$element[0][l])}}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=e.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[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 r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!e.support.transition)return r.call(this);this.$element[n](0).one("bsTransitionEnd",e.proxy(r,this)).emulateTransitionEnd(o.TRANSITION_DURATION)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},o.prototype.getParent=function(){return e(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(t,r){var o=e(r);this.addAriaAndCollapsedClass(n(o),o)},this)).end()},o.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var i=e.fn.collapse;e.fn.collapse=r,e.fn.collapse.Constructor=o,e.fn.collapse.noConflict=function(){return e.fn.collapse=i,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var o=e(this);o.attr("data-target")||t.preventDefault();var i=n(o),s=i.data("bs.collapse"),a=s?"toggle":o.data();r.call(i,a)})}(e),function(e){function t(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}e.fn.emulateTransitionEnd=function(t){var n=!1,r=this;e(this).one("bsTransitionEnd",function(){n=!0});var o=function(){n||e(r).trigger(e.support.transition.end)};return setTimeout(o,t),this},e(function(){e.support.transition=t(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(e)}).call(t,n(1))},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){e.exports=n(4)}]);
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/*!
|
2
|
+
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
3
|
+
* Copyright 2011-2017 Twitter, Inc.
|
4
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
5
|
+
*/
|
6
|
+
|
7
|
+
/*!
|
8
|
+
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=e18bae9569f7969c3d0bbc56a809d696)
|
9
|
+
* Config saved to config.json and https://gist.github.com/e18bae9569f7969c3d0bbc56a809d696
|
10
|
+
*/
|
11
|
+
/*!
|
12
|
+
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
13
|
+
* Copyright 2011-2016 Twitter, Inc.
|
14
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
15
|
+
*/
|
16
|
+
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
|
17
|
+
/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{background:transparent!important;color:#000!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:Glyphicons Halflings;src:url("https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.eot");src:url("https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.eot?#iefix") format("embedded-opentype"),url("https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff2") format("woff2"),url("https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff") format("woff"),url("https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.ttf") format("truetype"),url("https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular") format("svg")}.glyphicon{position:relative;top:1px;display:inline-block;font-family:Glyphicons Halflings;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"*"}.glyphicon-plus:before{content:"+"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20AC"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270F"}.glyphicon-glass:before{content:"\E001"}.glyphicon-music:before{content:"\E002"}.glyphicon-search:before{content:"\E003"}.glyphicon-heart:before{content:"\E005"}.glyphicon-star:before{content:"\E006"}.glyphicon-star-empty:before{content:"\E007"}.glyphicon-user:before{content:"\E008"}.glyphicon-film:before{content:"\E009"}.glyphicon-th-large:before{content:"\E010"}.glyphicon-th:before{content:"\E011"}.glyphicon-th-list:before{content:"\E012"}.glyphicon-ok:before{content:"\E013"}.glyphicon-remove:before{content:"\E014"}.glyphicon-zoom-in:before{content:"\E015"}.glyphicon-zoom-out:before{content:"\E016"}.glyphicon-off:before{content:"\E017"}.glyphicon-signal:before{content:"\E018"}.glyphicon-cog:before{content:"\E019"}.glyphicon-trash:before{content:"\E020"}.glyphicon-home:before{content:"\E021"}.glyphicon-file:before{content:"\E022"}.glyphicon-time:before{content:"\E023"}.glyphicon-road:before{content:"\E024"}.glyphicon-download-alt:before{content:"\E025"}.glyphicon-download:before{content:"\E026"}.glyphicon-upload:before{content:"\E027"}.glyphicon-inbox:before{content:"\E028"}.glyphicon-play-circle:before{content:"\E029"}.glyphicon-repeat:before{content:"\E030"}.glyphicon-refresh:before{content:"\E031"}.glyphicon-list-alt:before{content:"\E032"}.glyphicon-lock:before{content:"\E033"}.glyphicon-flag:before{content:"\E034"}.glyphicon-headphones:before{content:"\E035"}.glyphicon-volume-off:before{content:"\E036"}.glyphicon-volume-down:before{content:"\E037"}.glyphicon-volume-up:before{content:"\E038"}.glyphicon-qrcode:before{content:"\E039"}.glyphicon-barcode:before{content:"\E040"}.glyphicon-tag:before{content:"\E041"}.glyphicon-tags:before{content:"\E042"}.glyphicon-book:before{content:"\E043"}.glyphicon-bookmark:before{content:"\E044"}.glyphicon-print:before{content:"\E045"}.glyphicon-camera:before{content:"\E046"}.glyphicon-font:before{content:"\E047"}.glyphicon-bold:before{content:"\E048"}.glyphicon-italic:before{content:"\E049"}.glyphicon-text-height:before{content:"\E050"}.glyphicon-text-width:before{content:"\E051"}.glyphicon-align-left:before{content:"\E052"}.glyphicon-align-center:before{content:"\E053"}.glyphicon-align-right:before{content:"\E054"}.glyphicon-align-justify:before{content:"\E055"}.glyphicon-list:before{content:"\E056"}.glyphicon-indent-left:before{content:"\E057"}.glyphicon-indent-right:before{content:"\E058"}.glyphicon-facetime-video:before{content:"\E059"}.glyphicon-picture:before{content:"\E060"}.glyphicon-map-marker:before{content:"\E062"}.glyphicon-adjust:before{content:"\E063"}.glyphicon-tint:before{content:"\E064"}.glyphicon-edit:before{content:"\E065"}.glyphicon-share:before{content:"\E066"}.glyphicon-check:before{content:"\E067"}.glyphicon-move:before{content:"\E068"}.glyphicon-step-backward:before{content:"\E069"}.glyphicon-fast-backward:before{content:"\E070"}.glyphicon-backward:before{content:"\E071"}.glyphicon-play:before{content:"\E072"}.glyphicon-pause:before{content:"\E073"}.glyphicon-stop:before{content:"\E074"}.glyphicon-forward:before{content:"\E075"}.glyphicon-fast-forward:before{content:"\E076"}.glyphicon-step-forward:before{content:"\E077"}.glyphicon-eject:before{content:"\E078"}.glyphicon-chevron-left:before{content:"\E079"}.glyphicon-chevron-right:before{content:"\E080"}.glyphicon-plus-sign:before{content:"\E081"}.glyphicon-minus-sign:before{content:"\E082"}.glyphicon-remove-sign:before{content:"\E083"}.glyphicon-ok-sign:before{content:"\E084"}.glyphicon-question-sign:before{content:"\E085"}.glyphicon-info-sign:before{content:"\E086"}.glyphicon-screenshot:before{content:"\E087"}.glyphicon-remove-circle:before{content:"\E088"}.glyphicon-ok-circle:before{content:"\E089"}.glyphicon-ban-circle:before{content:"\E090"}.glyphicon-arrow-left:before{content:"\E091"}.glyphicon-arrow-right:before{content:"\E092"}.glyphicon-arrow-up:before{content:"\E093"}.glyphicon-arrow-down:before{content:"\E094"}.glyphicon-share-alt:before{content:"\E095"}.glyphicon-resize-full:before{content:"\E096"}.glyphicon-resize-small:before{content:"\E097"}.glyphicon-exclamation-sign:before{content:"\E101"}.glyphicon-gift:before{content:"\E102"}.glyphicon-leaf:before{content:"\E103"}.glyphicon-fire:before{content:"\E104"}.glyphicon-eye-open:before{content:"\E105"}.glyphicon-eye-close:before{content:"\E106"}.glyphicon-warning-sign:before{content:"\E107"}.glyphicon-plane:before{content:"\E108"}.glyphicon-calendar:before{content:"\E109"}.glyphicon-random:before{content:"\E110"}.glyphicon-comment:before{content:"\E111"}.glyphicon-magnet:before{content:"\E112"}.glyphicon-chevron-up:before{content:"\E113"}.glyphicon-chevron-down:before{content:"\E114"}.glyphicon-retweet:before{content:"\E115"}.glyphicon-shopping-cart:before{content:"\E116"}.glyphicon-folder-close:before{content:"\E117"}.glyphicon-folder-open:before{content:"\E118"}.glyphicon-resize-vertical:before{content:"\E119"}.glyphicon-resize-horizontal:before{content:"\E120"}.glyphicon-hdd:before{content:"\E121"}.glyphicon-bullhorn:before{content:"\E122"}.glyphicon-bell:before{content:"\E123"}.glyphicon-certificate:before{content:"\E124"}.glyphicon-thumbs-up:before{content:"\E125"}.glyphicon-thumbs-down:before{content:"\E126"}.glyphicon-hand-right:before{content:"\E127"}.glyphicon-hand-left:before{content:"\E128"}.glyphicon-hand-up:before{content:"\E129"}.glyphicon-hand-down:before{content:"\E130"}.glyphicon-circle-arrow-right:before{content:"\E131"}.glyphicon-circle-arrow-left:before{content:"\E132"}.glyphicon-circle-arrow-up:before{content:"\E133"}.glyphicon-circle-arrow-down:before{content:"\E134"}.glyphicon-globe:before{content:"\E135"}.glyphicon-wrench:before{content:"\E136"}.glyphicon-tasks:before{content:"\E137"}.glyphicon-filter:before{content:"\E138"}.glyphicon-briefcase:before{content:"\E139"}.glyphicon-fullscreen:before{content:"\E140"}.glyphicon-dashboard:before{content:"\E141"}.glyphicon-paperclip:before{content:"\E142"}.glyphicon-heart-empty:before{content:"\E143"}.glyphicon-link:before{content:"\E144"}.glyphicon-phone:before{content:"\E145"}.glyphicon-pushpin:before{content:"\E146"}.glyphicon-usd:before{content:"\E148"}.glyphicon-gbp:before{content:"\E149"}.glyphicon-sort:before{content:"\E150"}.glyphicon-sort-by-alphabet:before{content:"\E151"}.glyphicon-sort-by-alphabet-alt:before{content:"\E152"}.glyphicon-sort-by-order:before{content:"\E153"}.glyphicon-sort-by-order-alt:before{content:"\E154"}.glyphicon-sort-by-attributes:before{content:"\E155"}.glyphicon-sort-by-attributes-alt:before{content:"\E156"}.glyphicon-unchecked:before{content:"\E157"}.glyphicon-expand:before{content:"\E158"}.glyphicon-collapse-down:before{content:"\E159"}.glyphicon-collapse-up:before{content:"\E160"}.glyphicon-log-in:before{content:"\E161"}.glyphicon-flash:before{content:"\E162"}.glyphicon-log-out:before{content:"\E163"}.glyphicon-new-window:before{content:"\E164"}.glyphicon-record:before{content:"\E165"}.glyphicon-save:before{content:"\E166"}.glyphicon-open:before{content:"\E167"}.glyphicon-saved:before{content:"\E168"}.glyphicon-import:before{content:"\E169"}.glyphicon-export:before{content:"\E170"}.glyphicon-send:before{content:"\E171"}.glyphicon-floppy-disk:before{content:"\E172"}.glyphicon-floppy-saved:before{content:"\E173"}.glyphicon-floppy-remove:before{content:"\E174"}.glyphicon-floppy-save:before{content:"\E175"}.glyphicon-floppy-open:before{content:"\E176"}.glyphicon-credit-card:before{content:"\E177"}.glyphicon-transfer:before{content:"\E178"}.glyphicon-cutlery:before{content:"\E179"}.glyphicon-header:before{content:"\E180"}.glyphicon-compressed:before{content:"\E181"}.glyphicon-earphone:before{content:"\E182"}.glyphicon-phone-alt:before{content:"\E183"}.glyphicon-tower:before{content:"\E184"}.glyphicon-stats:before{content:"\E185"}.glyphicon-sd-video:before{content:"\E186"}.glyphicon-hd-video:before{content:"\E187"}.glyphicon-subtitles:before{content:"\E188"}.glyphicon-sound-stereo:before{content:"\E189"}.glyphicon-sound-dolby:before{content:"\E190"}.glyphicon-sound-5-1:before{content:"\E191"}.glyphicon-sound-6-1:before{content:"\E192"}.glyphicon-sound-7-1:before{content:"\E193"}.glyphicon-copyright-mark:before{content:"\E194"}.glyphicon-registration-mark:before{content:"\E195"}.glyphicon-cloud-download:before{content:"\E197"}.glyphicon-cloud-upload:before{content:"\E198"}.glyphicon-tree-conifer:before{content:"\E199"}.glyphicon-tree-deciduous:before{content:"\E200"}.glyphicon-cd:before{content:"\E201"}.glyphicon-save-file:before{content:"\E202"}.glyphicon-open-file:before{content:"\E203"}.glyphicon-level-up:before{content:"\E204"}.glyphicon-copy:before{content:"\E205"}.glyphicon-paste:before{content:"\E206"}.glyphicon-alert:before{content:"\E209"}.glyphicon-equalizer:before{content:"\E210"}.glyphicon-king:before{content:"\E211"}.glyphicon-queen:before{content:"\E212"}.glyphicon-pawn:before{content:"\E213"}.glyphicon-bishop:before{content:"\E214"}.glyphicon-knight:before{content:"\E215"}.glyphicon-baby-formula:before{content:"\E216"}.glyphicon-tent:before{content:"\26FA"}.glyphicon-blackboard:before{content:"\E218"}.glyphicon-bed:before{content:"\E219"}.glyphicon-apple:before{content:"\F8FF"}.glyphicon-erase:before{content:"\E221"}.glyphicon-hourglass:before{content:"\231B"}.glyphicon-lamp:before{content:"\E223"}.glyphicon-duplicate:before{content:"\E224"}.glyphicon-piggy-bank:before{content:"\E225"}.glyphicon-scissors:before{content:"\E226"}.glyphicon-bitcoin:before,.glyphicon-btc:before,.glyphicon-xbt:before{content:"\E227"}.glyphicon-jpy:before,.glyphicon-yen:before{content:"\A5"}.glyphicon-rub:before,.glyphicon-ruble:before{content:"\20BD"}.glyphicon-scale:before{content:"\E230"}.glyphicon-ice-lolly:before{content:"\E231"}.glyphicon-ice-lolly-tasted:before{content:"\E232"}.glyphicon-education:before{content:"\E233"}.glyphicon-option-horizontal:before{content:"\E234"}.glyphicon-option-vertical:before{content:"\E235"}.glyphicon-menu-hamburger:before{content:"\E236"}.glyphicon-modal-window:before{content:"\E237"}.glyphicon-oil:before{content:"\E238"}.glyphicon-grain:before{content:"\E239"}.glyphicon-sunglasses:before{content:"\E240"}.glyphicon-text-size:before{content:"\E241"}.glyphicon-text-color:before{content:"\E242"}.glyphicon-text-background:before{content:"\E243"}.glyphicon-object-align-top:before{content:"\E244"}.glyphicon-object-align-bottom:before{content:"\E245"}.glyphicon-object-align-horizontal:before{content:"\E246"}.glyphicon-object-align-left:before{content:"\E247"}.glyphicon-object-align-vertical:before{content:"\E248"}.glyphicon-object-align-right:before{content:"\E249"}.glyphicon-triangle-right:before{content:"\E250"}.glyphicon-triangle-left:before{content:"\E251"}.glyphicon-triangle-bottom:before{content:"\E252"}.glyphicon-triangle-top:before{content:"\E253"}.glyphicon-console:before{content:"\E254"}.glyphicon-superscript:before{content:"\E255"}.glyphicon-subscript:before{content:"\E256"}.glyphicon-menu-left:before{content:"\E257"}.glyphicon-menu-right:before{content:"\E258"}.glyphicon-menu-down:before{content:"\E259"}.glyphicon-menu-up:before{content:"\E260"}*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.5;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:0}.img-thumbnail{padding:4px;line-height:1.5;background-color:#fff;border:1px solid #ddd;border-radius:0;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:24px;margin-bottom:24px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:24px;margin-bottom:12px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:12px;margin-bottom:12px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:41px}.h2,h2{font-size:34px}.h3,h3{font-size:28px}.h4,h4{font-size:20px}.h5,h5{font-size:16px}.h6,h6{font-size:14px}p{margin:0 0 12px}.lead{margin-bottom:24px;font-size:18px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:24px}}.small,small{font-size:87%}.mark,mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:11px;margin:48px 0 24px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:12px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:24px}dd,dt{line-height:1.5}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:12px 24px;margin:0 0 24px;font-size:20px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.5;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:"\2014 \A0"}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0;text-align:right}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:""}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:"\A0 \2014"}address{margin-bottom:24px;font-style:normal;line-height:1.5}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,Courier New,monospace}code{color:#c7254e;background-color:#f9f2f4}code,kbd{padding:2px 4px;font-size:90%;border-radius:0}kbd{color:#fff;background-color:#333;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:11.5px;margin:0 0 12px;font-size:15px;line-height:1.5;word-break:break-all;word-wrap:break-word;color:#333;background-color:#f5f5f5;border:1px solid #ccc;border-radius:0}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:30px;padding-right:30px}@media (min-width:768px){.container{width:780px}}@media (min-width:992px){.container{width:1000px}}@media (min-width:1200px){.container{width:1000px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:30px;padding-right:30px}.row{margin-left:-30px;margin-right:-30px}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:30px;padding-right:30px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777}caption,th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:24px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.5;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered,.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;float:none;display:table-column}table td[class*=col-],table th[class*=col-]{position:static;float:none;display:table-cell}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{overflow-x:auto;min-height:.01%}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:18px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}.btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:16px;line-height:1.5;border-radius:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.btn-default:hover,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary.active,.btn-primary:active,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success.active,.btn-success:active,.btn-success:hover,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info.active,.btn-info:active,.btn-info:hover,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.btn-warning:hover,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger.active,.btn-danger:active,.btn-danger:hover,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{color:#337ab7;font-weight:400;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-lg{padding:10px 16px;font-size:20px;line-height:1.3333333;border-radius:0}.btn-sm{padding:5px 10px}.btn-sm,.btn-xs{font-size:14px;line-height:1.5;border-radius:0}.btn-xs{padding:1px 5px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li,.nav>li>a{position:relative;display:block}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:11px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.5;border:1px solid transparent;border-radius:0 0 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:0 0 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:0}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:0 0 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.nav:after,.nav:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.nav:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}.system-component-view{text-align:center}.system-component-view>.icon{font-size:400%}.system-component-view>.status-icon{margin-top:.5em;font-size:200%}.system-component-view>.status-label{font-family:Lato,Arial,sans-serif;font-size:130%}.system-component-view.done>.status-icon,.system-component-view.done>.status-label,.system-component-view.working>.status-icon,.system-component-view.working>.status-label{color:#7cb342}.system-component-view.error>.status-icon,.system-component-view.error>.status-label{color:red}.system-component-view.not_reached>.status-icon,.system-component-view.not_reached>.status-label{color:gray}.system-components.collapsed{text-align:center}.system-components .divider{padding-top:1em;font-size:300%;color:#999;text-align:center}.solution-description .multiple-solutions h3{margin-top:48px;font-weight:400;color:#000}.journey.spawn-through-preloader .preloader,.journey.spawn-through-preloader .server-core,.journey.spawn-through-preloader .subprocess{width:25%}.journey th{padding-bottom:1em}.journey th small{font-weight:400;color:#aaa}.journey .duration{font-size:small;opacity:.7}.journey .step-separator{padding-left:.25em;color:#aaa}.journey .process-boundary .arrow-image{margin:0 2em}.journey .status-label{display:inline-block;float:left}.journey .title{display:block;margin-left:1.5em}.journey .done{color:#7cb342}.journey .error{color:red}.journey .not-started{color:#ccc}body{margin-top:2em;margin-bottom:2em}@media (max-width:991px){body{margin-top:1em;margin-bottom:1em}}.h1,.h2,.h3,h1,h2,h3{font-family:Lato,Helvetica,Arial,sans-serif;margin-top:24px;margin-bottom:16px;line-height:1.25;font-weight:700}.h2,h2{font-size:190%}.h3,h3{font-size:120%;color:#444}.page-title{font-size:250%;font-weight:300;color:#999;margin:0 0 1em}.page-system-components-container{position:relative;background:#f6f6f6;margin:0 0 2em;padding:2em}.page-system-components-container .collapse-button>a{position:absolute;right:0;top:0;background:#dcdcdc;font-size:90%;text-decoration:none;padding:.5em}.page-main-tabs>.nav-tabs>li>a{font-weight:700}.page-main-tabs>.tab-content{margin-top:2em}footer{font-size:14px;color:#7f7f7f;border-top:1px solid #e3e3e3;margin-top:50px;padding:40px 0}footer div{max-width:1000px;margin-left:auto;margin-right:auto;text-align:center}pre{color:#526379;border:none;font-size:12px}code{background:#e5eef9;color:#333}.list-with-extra-spacing>li{margin-top:.5em}.problem-causes th{background:#f5f5f5}.problem-causes .solution-preview{white-space:nowrap}.problem-causes .solution-description td{padding:1em;background:#d9edf7}.problem-causes .solution-description pre{background:#fff}.problem-causes .solution-description .multiple-solutions>h3:first-child{margin-top:0}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
/** @jsx h */
|
2
|
+
import { Component, h } from 'preact';
|
3
|
+
import Tabs from './Tabs.jsx';
|
4
|
+
import Tab from './Tab.jsx';
|
5
|
+
import JourneyView from './JourneyView.jsx';
|
6
|
+
import ProcessDetailsView from './ProcessDetailsView.jsx';
|
7
|
+
|
8
|
+
class DetailsView extends Component {
|
9
|
+
render() {
|
10
|
+
return (
|
11
|
+
<div className="details-view">
|
12
|
+
<p>Error ID: {this.props.spec.error.id}</p>
|
13
|
+
<Tabs defaultActiveKey="problem-location" id="details-process-tabs">
|
14
|
+
<Tab eventKey="problem-location" title="Problem location">
|
15
|
+
<p />
|
16
|
+
<JourneyView spec={this.props.spec} />
|
17
|
+
</Tab>
|
18
|
+
|
19
|
+
<Tab eventKey="core-process" title={this.props.spec.short_program_name + ' core'}>
|
20
|
+
<p />
|
21
|
+
<ProcessDetailsView spec={this.props.spec.diagnostics.core_process} />
|
22
|
+
</Tab>
|
23
|
+
|
24
|
+
{this.maybeRenderPreloaderProcessDetailsTab()}
|
25
|
+
|
26
|
+
<Tab eventKey="subprocess" title="Subprocess">
|
27
|
+
<p />
|
28
|
+
<ProcessDetailsView spec={this.props.spec.diagnostics.subprocess} />
|
29
|
+
</Tab>
|
30
|
+
|
31
|
+
<Tab eventKey="system-wide" title="System-wide stats">
|
32
|
+
<p />
|
33
|
+
<pre>{this.props.spec.diagnostics.system_wide.system_metrics}</pre>
|
34
|
+
</Tab>
|
35
|
+
</Tabs>
|
36
|
+
</div>
|
37
|
+
);
|
38
|
+
}
|
39
|
+
|
40
|
+
maybeRenderPreloaderProcessDetailsTab() {
|
41
|
+
if (this.props.spec.journey.type === 'SPAWN_THROUGH_PRELOADER') {
|
42
|
+
return (
|
43
|
+
<Tab eventKey="preloader" title="Preloader process">
|
44
|
+
<p />
|
45
|
+
<ProcessDetailsView spec={this.props.spec.diagnostics.preloader_process} />
|
46
|
+
</Tab>
|
47
|
+
);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
export default DetailsView;
|
@@ -0,0 +1,61 @@
|
|
1
|
+
/** @jsx h */
|
2
|
+
import { Component, h } from 'preact';
|
3
|
+
|
4
|
+
class GetHelpView extends Component {
|
5
|
+
render() {
|
6
|
+
return (
|
7
|
+
<div>
|
8
|
+
<p>
|
9
|
+
If you are stuck with a problem, please do not hesitate to contact
|
10
|
+
one of the support resources.
|
11
|
+
{' ' + this.props.spec.program_name + ' '}
|
12
|
+
has a friendly community of users who look out for each other.
|
13
|
+
We —
|
14
|
+
{" Passenger's "}
|
15
|
+
authors — are also ready to help you whenever we can.
|
16
|
+
</p>
|
17
|
+
<div className="row">
|
18
|
+
<div className="col-sm-6">
|
19
|
+
<h2>Community support forums</h2>
|
20
|
+
<p>
|
21
|
+
Post a message to either to Stack Overflow or our Google Group.
|
22
|
+
Support on these forums is provided by the community on a
|
23
|
+
best-effort basis, so sometimes a bit of patience will help.
|
24
|
+
</p>
|
25
|
+
<p>
|
26
|
+
<a href="https://stackoverflow.com/questions/tagged/passenger" className="btn btn-primary">Submit to Stack Overflow</a>
|
27
|
+
</p>
|
28
|
+
<p>
|
29
|
+
<a href="http://groups.google.com/group/phusion-passenger" className="btn btn-primary">Submit to Google Group</a>
|
30
|
+
</p>
|
31
|
+
</div>
|
32
|
+
<div className="col-sm-6">
|
33
|
+
<h2>Enterprise support</h2>
|
34
|
+
<p>
|
35
|
+
If you are a
|
36
|
+
{' '}
|
37
|
+
<a href="https://www.phusionpassenger.com/enterprise">Passenger Enterprise</a>
|
38
|
+
{' '}
|
39
|
+
customer, then you are eligible for
|
40
|
+
basic priority support.
|
41
|
+
</p>
|
42
|
+
<p>
|
43
|
+
<small>
|
44
|
+
For most customers, this basic priority support has a response time of 3 working days,
|
45
|
+
with a maximum of 1 support incident per month. Please consult your contract for the
|
46
|
+
exact support level that you are eligible for.
|
47
|
+
</small>
|
48
|
+
</p>
|
49
|
+
<p>
|
50
|
+
<a href="https://www.phusionpassenger.com/customers/help_support" className="btn btn-primary">
|
51
|
+
Submit Enterprise support ticket
|
52
|
+
</a>
|
53
|
+
</p>
|
54
|
+
</div>
|
55
|
+
</div>
|
56
|
+
</div>
|
57
|
+
);
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
export default GetHelpView;
|
@@ -0,0 +1,50 @@
|
|
1
|
+
.journey.spawn-through-preloader .server-core,
|
2
|
+
.journey.spawn-through-preloader .preloader,
|
3
|
+
.journey.spawn-through-preloader .subprocess {
|
4
|
+
width: 25%;
|
5
|
+
}
|
6
|
+
|
7
|
+
.journey th {
|
8
|
+
padding-bottom: 1em;
|
9
|
+
}
|
10
|
+
|
11
|
+
.journey th small {
|
12
|
+
font-weight: normal;
|
13
|
+
color: #aaa;
|
14
|
+
}
|
15
|
+
|
16
|
+
.journey .duration {
|
17
|
+
font-size: small;
|
18
|
+
opacity: 0.7;
|
19
|
+
}
|
20
|
+
|
21
|
+
.journey .step-separator {
|
22
|
+
padding-left: 0.25em;
|
23
|
+
color: #aaa;
|
24
|
+
}
|
25
|
+
|
26
|
+
.journey .process-boundary .arrow-image {
|
27
|
+
margin: 0 2em;
|
28
|
+
}
|
29
|
+
|
30
|
+
.journey .status-label {
|
31
|
+
display: inline-block;
|
32
|
+
float: left;
|
33
|
+
}
|
34
|
+
|
35
|
+
.journey .title {
|
36
|
+
display: block;
|
37
|
+
margin-left: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
.journey .done {
|
41
|
+
color: #7cb342;
|
42
|
+
}
|
43
|
+
|
44
|
+
.journey .error {
|
45
|
+
color: red;
|
46
|
+
}
|
47
|
+
|
48
|
+
.journey .not-started {
|
49
|
+
color: #ccc;
|
50
|
+
}
|
@@ -0,0 +1,621 @@
|
|
1
|
+
/** @jsx h */
|
2
|
+
import { Component, h } from 'preact';
|
3
|
+
import './JourneyView.css';
|
4
|
+
|
5
|
+
class JourneyView extends Component {
|
6
|
+
render() {
|
7
|
+
const journey = this.props.spec.journey;
|
8
|
+
if (journey.type === 'SPAWN_DIRECTLY') {
|
9
|
+
return this.renderSpawnDirectlyJourney();
|
10
|
+
} else if (journey.type === 'START_PRELOADER') {
|
11
|
+
return this.renderStartPreloaderJourney();
|
12
|
+
} else {
|
13
|
+
return this.renderSpawnThroughPreloaderJourney();
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
renderSpawnDirectlyJourney() {
|
18
|
+
const self = this;
|
19
|
+
|
20
|
+
function renderWrapperRows() {
|
21
|
+
if (!self.props.spec.journey.steps.SUBPROCESS_EXEC_WRAPPER) {
|
22
|
+
return [];
|
23
|
+
}
|
24
|
+
|
25
|
+
if (self.props.spec.config.wrapper_supplied_by_third_party) {
|
26
|
+
return [
|
27
|
+
(
|
28
|
+
<tr key="exec-wrapper">
|
29
|
+
<td className="server-core"></td>
|
30
|
+
<td className="process-boundary"></td>
|
31
|
+
{self.renderCell('subprocess', 'Initialize third-party wrapper',
|
32
|
+
['SUBPROCESS_EXEC_WRAPPER', 'SUBPROCESS_WRAPPER_PREPARATION'])}
|
33
|
+
</tr>
|
34
|
+
),
|
35
|
+
(
|
36
|
+
<tr server="sep1">
|
37
|
+
<td className="server-core"></td>
|
38
|
+
<td className="process-boundary"></td>
|
39
|
+
{self.renderStepSeparator('subprocess')}
|
40
|
+
</tr>
|
41
|
+
)
|
42
|
+
];
|
43
|
+
} else {
|
44
|
+
return [
|
45
|
+
(
|
46
|
+
<tr key="exec-wrapper">
|
47
|
+
<td className="server-core"></td>
|
48
|
+
<td className="process-boundary"></td>
|
49
|
+
{self.renderCell('subprocess', 'Initialize language runtime',
|
50
|
+
['SUBPROCESS_EXEC_WRAPPER', 'SUBPROCESS_WRAPPER_PREPARATION'])}
|
51
|
+
</tr>
|
52
|
+
),
|
53
|
+
(
|
54
|
+
<tr key="sep2">
|
55
|
+
<td className="server-core"></td>
|
56
|
+
<td className="process-boundary"></td>
|
57
|
+
{self.renderStepSeparator('subprocess')}
|
58
|
+
</tr>
|
59
|
+
)
|
60
|
+
];
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
return (
|
65
|
+
<table className="journey spawn-directly">
|
66
|
+
<thead>
|
67
|
+
<tr>
|
68
|
+
<th className="server-core">
|
69
|
+
In {this.props.spec.short_program_name} core
|
70
|
+
<br />
|
71
|
+
<small>PID {this.props.spec.diagnostics.core_process.pid}</small>
|
72
|
+
</th>
|
73
|
+
<th></th>
|
74
|
+
<th className="subprocess">
|
75
|
+
In subprocess
|
76
|
+
<br />
|
77
|
+
<small>PID {this.props.spec.diagnostics.subprocess.pid || 'unknown'}</small>
|
78
|
+
</th>
|
79
|
+
</tr>
|
80
|
+
</thead>
|
81
|
+
<tbody>
|
82
|
+
<tr>
|
83
|
+
{this.renderCell('server-core', 'Preparation work',
|
84
|
+
['SPAWNING_KIT_PREPARATION'])}
|
85
|
+
</tr>
|
86
|
+
<tr>
|
87
|
+
{this.renderStepSeparator('server-core')}
|
88
|
+
</tr>
|
89
|
+
<tr>
|
90
|
+
{this.renderCell('server-core', 'Spawn subprocess (fork())',
|
91
|
+
['SPAWNING_KIT_FORK_SUBPROCESS'])}
|
92
|
+
{this.renderProcessBoundaryArrow()}
|
93
|
+
{this.renderCell('subprocess', 'Basic initialization before exec()',
|
94
|
+
['SUBPROCESS_BEFORE_FIRST_EXEC'])}
|
95
|
+
</tr>
|
96
|
+
<tr>
|
97
|
+
{this.renderStepSeparator('server-core')}
|
98
|
+
<td className="process-boundary"></td>
|
99
|
+
{this.renderStepSeparator('subprocess')}
|
100
|
+
</tr>
|
101
|
+
<tr>
|
102
|
+
{this.renderCell('server-core', 'Handshake with subprocess',
|
103
|
+
['SPAWNING_KIT_HANDSHAKE_PERFORM'])}
|
104
|
+
<td className="process-boundary"></td>
|
105
|
+
{this.renderCell('subprocess', 'Setup environment (1)',
|
106
|
+
['SUBPROCESS_SPAWN_ENV_SETUPPER_BEFORE_SHELL'])}
|
107
|
+
</tr>
|
108
|
+
<tr>
|
109
|
+
{this.renderStepSeparator('server-core')}
|
110
|
+
<td className="process-boundary"></td>
|
111
|
+
{this.renderStepSeparator('subprocess')}
|
112
|
+
</tr>
|
113
|
+
<tr>
|
114
|
+
{this.renderCell('server-core', 'Finish',
|
115
|
+
['SPAWNING_KIT_FINISH'])}
|
116
|
+
<td className="process-boundary"></td>
|
117
|
+
{this.renderCell('subprocess', 'Load OS shell',
|
118
|
+
['SUBPROCESS_OS_SHELL'])}
|
119
|
+
</tr>
|
120
|
+
<tr>
|
121
|
+
<td className="server-core"></td>
|
122
|
+
<td className="process-boundary"></td>
|
123
|
+
{this.renderStepSeparator('subprocess')}
|
124
|
+
</tr>
|
125
|
+
<tr>
|
126
|
+
<td className="server-core"></td>
|
127
|
+
<td className="process-boundary"></td>
|
128
|
+
{this.renderCell('subprocess', 'Setup environment (2)',
|
129
|
+
['SUBPROCESS_SPAWN_ENV_SETUPPER_AFTER_SHELL'])}
|
130
|
+
</tr>
|
131
|
+
<tr>
|
132
|
+
<td className="server-core"></td>
|
133
|
+
<td className="process-boundary"></td>
|
134
|
+
{this.renderStepSeparator('subprocess')}
|
135
|
+
</tr>
|
136
|
+
{renderWrapperRows()}
|
137
|
+
<tr>
|
138
|
+
<td className="server-core"></td>
|
139
|
+
<td className="process-boundary"></td>
|
140
|
+
{this.renderCell('subprocess', 'Load or execute application',
|
141
|
+
['SUBPROCESS_APP_LOAD_OR_EXEC'])}
|
142
|
+
</tr>
|
143
|
+
<tr>
|
144
|
+
<td className="server-core"></td>
|
145
|
+
<td className="process-boundary"></td>
|
146
|
+
{this.renderStepSeparator('subprocess')}
|
147
|
+
</tr>
|
148
|
+
<tr>
|
149
|
+
<td className="server-core"></td>
|
150
|
+
<td className="process-boundary"></td>
|
151
|
+
{this.renderCell('subprocess', 'App start listening for requests',
|
152
|
+
['SUBPROCESS_LISTEN'])}
|
153
|
+
</tr>
|
154
|
+
<tr>
|
155
|
+
<td className="server-core"></td>
|
156
|
+
<td className="process-boundary"></td>
|
157
|
+
{this.renderStepSeparator('subprocess')}
|
158
|
+
</tr>
|
159
|
+
<tr>
|
160
|
+
<td className="server-core"></td>
|
161
|
+
<td className="process-boundary"></td>
|
162
|
+
{this.renderCell('subprocess', 'Finish',
|
163
|
+
['SUBPROCESS_FINISH'])}
|
164
|
+
</tr>
|
165
|
+
</tbody>
|
166
|
+
</table>
|
167
|
+
);
|
168
|
+
}
|
169
|
+
|
170
|
+
renderStartPreloaderJourney() {
|
171
|
+
const self = this;
|
172
|
+
|
173
|
+
function renderWrapperRows() {
|
174
|
+
if (!self.props.spec.journey.steps.SUBPROCESS_EXEC_WRAPPER) {
|
175
|
+
return [];
|
176
|
+
}
|
177
|
+
|
178
|
+
if (self.props.spec.config.wrapper_supplied_by_third_party) {
|
179
|
+
return [
|
180
|
+
(
|
181
|
+
<tr key="exec-wrapper">
|
182
|
+
<td className="server-core"></td>
|
183
|
+
<td className="process-boundary"></td>
|
184
|
+
{self.renderCell('subprocess', 'Initialize language runtime',
|
185
|
+
['SUBPROCESS_EXEC_WRAPPER'])}
|
186
|
+
</tr>
|
187
|
+
),
|
188
|
+
(
|
189
|
+
<tr key="sep1">
|
190
|
+
<td className="server-core"></td>
|
191
|
+
<td className="process-boundary"></td>
|
192
|
+
{self.renderStepSeparator('subprocess')}
|
193
|
+
</tr>
|
194
|
+
),
|
195
|
+
(
|
196
|
+
<tr key="prep-inside-wrapper">
|
197
|
+
<td className="server-core"></td>
|
198
|
+
<td className="process-boundary"></td>
|
199
|
+
{self.renderCell('subprocess', 'Initialize third-party preloading wrapper',
|
200
|
+
['SUBPROCESS_WRAPPER_PREPARATION'])}
|
201
|
+
</tr>
|
202
|
+
),
|
203
|
+
(
|
204
|
+
<tr key="sep2">
|
205
|
+
<td className="server-core"></td>
|
206
|
+
<td className="process-boundary"></td>
|
207
|
+
{self.renderStepSeparator('subprocess')}
|
208
|
+
</tr>
|
209
|
+
)
|
210
|
+
];
|
211
|
+
} else {
|
212
|
+
return [
|
213
|
+
(
|
214
|
+
<tr key="exec-wrapper">
|
215
|
+
<td className="server-core"></td>
|
216
|
+
<td className="process-boundary"></td>
|
217
|
+
{self.renderCell('subprocess', 'Initialize language runtime',
|
218
|
+
['SUBPROCESS_EXEC_WRAPPER'])}
|
219
|
+
</tr>
|
220
|
+
),
|
221
|
+
(
|
222
|
+
<tr key="sep1">
|
223
|
+
<td className="server-core"></td>
|
224
|
+
<td className="process-boundary"></td>
|
225
|
+
{self.renderStepSeparator('subprocess')}
|
226
|
+
</tr>
|
227
|
+
),
|
228
|
+
(
|
229
|
+
<tr key="prep-inside-wrapper">
|
230
|
+
<td className="server-core"></td>
|
231
|
+
<td className="process-boundary"></td>
|
232
|
+
{self.renderCell('subprocess',
|
233
|
+
'Initialize ' + self.props.spec.short_program_name + '-internal preloading wrapper',
|
234
|
+
['SUBPROCESS_WRAPPER_PREPARATION'])}
|
235
|
+
</tr>
|
236
|
+
),
|
237
|
+
(
|
238
|
+
<tr key="sep2">
|
239
|
+
<td className="server-core"></td>
|
240
|
+
<td className="process-boundary"></td>
|
241
|
+
{self.renderStepSeparator('subprocess')}
|
242
|
+
</tr>
|
243
|
+
)
|
244
|
+
];
|
245
|
+
}
|
246
|
+
}
|
247
|
+
|
248
|
+
return (
|
249
|
+
<table className="journey start-preloader">
|
250
|
+
<thead>
|
251
|
+
<tr>
|
252
|
+
<th className="server-core">
|
253
|
+
In {this.props.spec.short_program_name} core
|
254
|
+
<br />
|
255
|
+
<small>PID {this.props.spec.diagnostics.core_process.pid}</small>
|
256
|
+
</th>
|
257
|
+
<th></th>
|
258
|
+
<th className="subprocess">
|
259
|
+
In subprocess
|
260
|
+
<br />
|
261
|
+
<small>PID {this.props.spec.diagnostics.subprocess.pid || 'unknown'}</small>
|
262
|
+
</th>
|
263
|
+
</tr>
|
264
|
+
</thead>
|
265
|
+
<tbody>
|
266
|
+
<tr>
|
267
|
+
{this.renderCell('server-core', 'Preparation work',
|
268
|
+
['SPAWNING_KIT_PREPARATION'])}
|
269
|
+
</tr>
|
270
|
+
<tr>
|
271
|
+
{this.renderStepSeparator('server-core')}
|
272
|
+
</tr>
|
273
|
+
<tr>
|
274
|
+
{this.renderCell('server-core', 'Spawn subprocess (fork())',
|
275
|
+
['SPAWNING_KIT_FORK_SUBPROCESS'])}
|
276
|
+
{this.renderProcessBoundaryArrow()}
|
277
|
+
{this.renderCell('subprocess', 'Basic initialization before exec()',
|
278
|
+
['SUBPROCESS_BEFORE_FIRST_EXEC'])}
|
279
|
+
</tr>
|
280
|
+
<tr>
|
281
|
+
{this.renderStepSeparator('server-core')}
|
282
|
+
<td className="process-boundary"></td>
|
283
|
+
{this.renderStepSeparator('subprocess')}
|
284
|
+
</tr>
|
285
|
+
<tr>
|
286
|
+
{this.renderCell('server-core', 'Handshake with subprocess',
|
287
|
+
['SPAWNING_KIT_HANDSHAKE_PERFORM'])}
|
288
|
+
<td className="process-boundary"></td>
|
289
|
+
{this.renderCell('subprocess', 'Setup environment (1)',
|
290
|
+
['SUBPROCESS_SPAWN_ENV_SETUPPER_BEFORE_SHELL'])}
|
291
|
+
</tr>
|
292
|
+
<tr>
|
293
|
+
{this.renderStepSeparator('server-core')}
|
294
|
+
<td className="process-boundary"></td>
|
295
|
+
{this.renderStepSeparator('subprocess')}
|
296
|
+
</tr>
|
297
|
+
<tr>
|
298
|
+
{this.renderCell('server-core', 'Finish',
|
299
|
+
['SPAWNING_KIT_FINISH'])}
|
300
|
+
<td className="process-boundary"></td>
|
301
|
+
{this.renderCell('subprocess', 'Load OS shell',
|
302
|
+
['SUBPROCESS_OS_SHELL'])}
|
303
|
+
</tr>
|
304
|
+
<tr>
|
305
|
+
<td className="server-core"></td>
|
306
|
+
<td className="process-boundary"></td>
|
307
|
+
{this.renderStepSeparator('subprocess')}
|
308
|
+
</tr>
|
309
|
+
<tr>
|
310
|
+
<td className="server-core"></td>
|
311
|
+
<td className="process-boundary"></td>
|
312
|
+
{this.renderCell('subprocess', 'Setup environment (2)',
|
313
|
+
['SUBPROCESS_SPAWN_ENV_SETUPPER_AFTER_SHELL'])}
|
314
|
+
</tr>
|
315
|
+
<tr>
|
316
|
+
<td className="server-core"></td>
|
317
|
+
<td className="process-boundary"></td>
|
318
|
+
{this.renderStepSeparator('subprocess')}
|
319
|
+
</tr>
|
320
|
+
{renderWrapperRows()}
|
321
|
+
<tr>
|
322
|
+
<td className="server-core"></td>
|
323
|
+
<td className="process-boundary"></td>
|
324
|
+
{this.renderCell('subprocess', 'Load application',
|
325
|
+
['SUBPROCESS_APP_LOAD_OR_EXEC'])}
|
326
|
+
</tr>
|
327
|
+
<tr>
|
328
|
+
<td className="server-core"></td>
|
329
|
+
<td className="process-boundary"></td>
|
330
|
+
{this.renderStepSeparator('subprocess')}
|
331
|
+
</tr>
|
332
|
+
<tr>
|
333
|
+
<td className="server-core"></td>
|
334
|
+
<td className="process-boundary"></td>
|
335
|
+
{this.renderCell('subprocess', 'App start listening for preloader commands',
|
336
|
+
['SUBPROCESS_LISTEN'])}
|
337
|
+
</tr>
|
338
|
+
<tr>
|
339
|
+
<td className="server-core"></td>
|
340
|
+
<td className="process-boundary"></td>
|
341
|
+
{this.renderStepSeparator('subprocess')}
|
342
|
+
</tr>
|
343
|
+
<tr>
|
344
|
+
<td className="server-core"></td>
|
345
|
+
<td className="process-boundary"></td>
|
346
|
+
{this.renderCell('subprocess', 'Finish',
|
347
|
+
['SUBPROCESS_FINISH'])}
|
348
|
+
</tr>
|
349
|
+
</tbody>
|
350
|
+
</table>
|
351
|
+
);
|
352
|
+
}
|
353
|
+
|
354
|
+
renderSpawnThroughPreloaderJourney() {
|
355
|
+
return (
|
356
|
+
<table className="journey spawn-through-preloader">
|
357
|
+
<thead>
|
358
|
+
<tr>
|
359
|
+
<th className="server-core">
|
360
|
+
In {this.props.spec.short_program_name}
|
361
|
+
<br />
|
362
|
+
<small>PID {this.props.spec.diagnostics.core_process.pid}</small>
|
363
|
+
</th>
|
364
|
+
<th></th>
|
365
|
+
<th className="preloader">
|
366
|
+
In preloader
|
367
|
+
<br />
|
368
|
+
<small>PID {this.props.spec.diagnostics.preloader_process.pid || 'unknown'}</small>
|
369
|
+
</th>
|
370
|
+
<th></th>
|
371
|
+
<th className="subprocess">
|
372
|
+
In subprocess
|
373
|
+
<br />
|
374
|
+
<small>PID {this.props.spec.diagnostics.subprocess.pid || 'unknown'}</small>
|
375
|
+
</th>
|
376
|
+
</tr>
|
377
|
+
</thead>
|
378
|
+
<tbody>
|
379
|
+
<tr>
|
380
|
+
{this.renderCell('server-core', 'Preparation work',
|
381
|
+
['SPAWNING_KIT_PREPARATION'])}
|
382
|
+
</tr>
|
383
|
+
<tr>
|
384
|
+
{this.renderStepSeparator('server-core')}
|
385
|
+
</tr>
|
386
|
+
<tr>
|
387
|
+
{this.renderCell('server-core', 'Tell preloader to spawn a subprocess',
|
388
|
+
['SPAWNING_KIT_CONNECT_TO_PRELOADER', 'SPAWNING_KIT_SEND_COMMAND_TO_PRELOADER'])}
|
389
|
+
{this.renderProcessBoundaryArrow('small')}
|
390
|
+
{this.renderCell('preloader', 'Preparation work',
|
391
|
+
['PRELOADER_PREPARATION'])}
|
392
|
+
</tr>
|
393
|
+
<tr>
|
394
|
+
{this.renderStepSeparator('server-core')}
|
395
|
+
<td className="process-boundary"></td>
|
396
|
+
{this.renderStepSeparator('preloader')}
|
397
|
+
</tr>
|
398
|
+
<tr>
|
399
|
+
{this.renderCell('server-core', 'Receive and process preloader response',
|
400
|
+
['SPAWNING_KIT_READ_RESPONSE_FROM_PRELOADER',
|
401
|
+
'SPAWNING_KIT_PARSE_RESPONSE_FROM_PRELOADER',
|
402
|
+
'SPAWNING_KIT_PROCESS_RESPONSE_FROM_PRELOADER'])}
|
403
|
+
<td className="process-boundary"></td>
|
404
|
+
{this.renderCell('preloader', 'Spawn subprocess (fork())',
|
405
|
+
['PRELOADER_FORK_SUBPROCESS'])}
|
406
|
+
{this.renderProcessBoundaryArrow('small')}
|
407
|
+
{this.renderCell('subprocess', 'Preparation',
|
408
|
+
['SUBPROCESS_PREPARE_AFTER_FORKING_FROM_PRELOADER'])}
|
409
|
+
</tr>
|
410
|
+
<tr>
|
411
|
+
{this.renderStepSeparator('server-core')}
|
412
|
+
<td className="process-boundary"></td>
|
413
|
+
{this.renderStepSeparator('preloader')}
|
414
|
+
<td className="process-boundary"></td>
|
415
|
+
{this.renderStepSeparator('subprocess')}
|
416
|
+
</tr>
|
417
|
+
<tr>
|
418
|
+
{this.renderCell('server-core', 'Handshake with subprocess',
|
419
|
+
['SPAWNING_KIT_HANDSHAKE_PERFORM'])}
|
420
|
+
<td className="process-boundary"></td>
|
421
|
+
{this.renderCell('preloader',
|
422
|
+
'Send response to ' + this.props.spec.short_program_name + ' core',
|
423
|
+
['PRELOADER_SEND_RESPONSE'])}
|
424
|
+
<td className="process-boundary"></td>
|
425
|
+
{this.renderCell('subprocess', 'App start listening',
|
426
|
+
['SUBPROCESS_LISTEN'])}
|
427
|
+
</tr>
|
428
|
+
<tr>
|
429
|
+
{this.renderStepSeparator('server-core')}
|
430
|
+
<td className="process-boundary"></td>
|
431
|
+
{this.renderStepSeparator('preloader')}
|
432
|
+
<td className="process-boundary"></td>
|
433
|
+
{this.renderStepSeparator('subprocess')}
|
434
|
+
</tr>
|
435
|
+
<tr>
|
436
|
+
{this.renderCell('server-core', 'Finish',
|
437
|
+
['SPAWNING_KIT_FINISH'])}
|
438
|
+
<td className="process-boundary"></td>
|
439
|
+
{this.renderCell('preloader', 'Finish',
|
440
|
+
['PRELOADER_FINISH'])}
|
441
|
+
<td className="process-boundary"></td>
|
442
|
+
{this.renderCell('subprocess', 'Finish',
|
443
|
+
['SUBPROCESS_FINISH'])}
|
444
|
+
</tr>
|
445
|
+
</tbody>
|
446
|
+
</table>
|
447
|
+
);
|
448
|
+
}
|
449
|
+
|
450
|
+
renderCell(processName, title, steps) {
|
451
|
+
const journey = this.props.spec.journey;
|
452
|
+
|
453
|
+
function anyStepFailed() {
|
454
|
+
var i;
|
455
|
+
for (i = 0; i < steps.length; i++) {
|
456
|
+
var step = steps[i];
|
457
|
+
if (journey.steps[step].state === 'STEP_ERRORED') {
|
458
|
+
return true;
|
459
|
+
}
|
460
|
+
}
|
461
|
+
return false;
|
462
|
+
}
|
463
|
+
|
464
|
+
function allStepsDone() {
|
465
|
+
var i;
|
466
|
+
for (i = 0; i < steps.length; i++) {
|
467
|
+
var step = steps[i];
|
468
|
+
if (journey.steps[step].state !== 'STEP_PERFORMED') {
|
469
|
+
return false;
|
470
|
+
}
|
471
|
+
}
|
472
|
+
return true;
|
473
|
+
}
|
474
|
+
|
475
|
+
function allStepsNotStarted() {
|
476
|
+
var i;
|
477
|
+
for (i = 0; i < steps.length; i++) {
|
478
|
+
var step = steps[i];
|
479
|
+
if (journey.steps[step].state !== 'STEP_NOT_STARTED') {
|
480
|
+
return false;
|
481
|
+
}
|
482
|
+
}
|
483
|
+
return true;
|
484
|
+
}
|
485
|
+
|
486
|
+
function renderDuration() {
|
487
|
+
var i, totalDurationSec;
|
488
|
+
for (i = 0; i < steps.length; i++) {
|
489
|
+
var step = steps[i];
|
490
|
+
if (journey.steps[step].duration !== undefined) {
|
491
|
+
if (totalDurationSec === undefined) {
|
492
|
+
totalDurationSec = 0;
|
493
|
+
}
|
494
|
+
totalDurationSec += journey.steps[step].duration;
|
495
|
+
} else if (journey.steps[step].begin_time !== undefined) {
|
496
|
+
if (totalDurationSec === undefined) {
|
497
|
+
totalDurationSec = 0;
|
498
|
+
}
|
499
|
+
// relative_timestamp is negative
|
500
|
+
totalDurationSec -= journey.steps[step].begin_time.relative_timestamp;
|
501
|
+
}
|
502
|
+
}
|
503
|
+
if (totalDurationSec !== undefined) {
|
504
|
+
if (allStepsNotStarted()) {
|
505
|
+
return (<span className="duration">— skipped</span>);
|
506
|
+
} else {
|
507
|
+
return (<span className="duration">— {totalDurationSec.toFixed(1)}s</span>);
|
508
|
+
}
|
509
|
+
}
|
510
|
+
}
|
511
|
+
|
512
|
+
var statusClass, statusLabel;
|
513
|
+
if (anyStepFailed()) {
|
514
|
+
statusClass = 'error';
|
515
|
+
statusLabel = (
|
516
|
+
<span className="glyphicon glyphicon-remove" aria-hidden="true"></span>
|
517
|
+
);
|
518
|
+
} else if (allStepsDone()) {
|
519
|
+
statusClass = 'done';
|
520
|
+
statusLabel = (
|
521
|
+
<span className="glyphicon glyphicon-ok" aria-hidden="true"></span>
|
522
|
+
);
|
523
|
+
} else if (allStepsNotStarted()) {
|
524
|
+
statusClass = 'not-started';
|
525
|
+
statusLabel = (
|
526
|
+
<span className="glyphicon glyphicon-unchecked" aria-hidden="true"></span>
|
527
|
+
);
|
528
|
+
} else {
|
529
|
+
statusClass = 'in-progress';
|
530
|
+
statusLabel = (
|
531
|
+
<span className="glyphicon glyphicon-option-horizontal" aria-hidden="true"></span>
|
532
|
+
);
|
533
|
+
}
|
534
|
+
|
535
|
+
var className = processName + ' ' + statusClass;
|
536
|
+
|
537
|
+
return (
|
538
|
+
<td className={className}>
|
539
|
+
<span className="status-label">{statusLabel}</span>
|
540
|
+
<span className="title">{title} {renderDuration()}</span>
|
541
|
+
</td>
|
542
|
+
);
|
543
|
+
}
|
544
|
+
|
545
|
+
renderStepSeparator(componentName) {
|
546
|
+
return (
|
547
|
+
<td className={ `${componentName} step-separator` }>
|
548
|
+
|
|
549
|
+
</td>
|
550
|
+
);
|
551
|
+
}
|
552
|
+
|
553
|
+
renderProcessBoundaryArrow(size) {
|
554
|
+
var width;
|
555
|
+
if (size === 'small') {
|
556
|
+
width = 90;
|
557
|
+
} else {
|
558
|
+
width = 130;
|
559
|
+
}
|
560
|
+
return (
|
561
|
+
<td className="process-boundary arrow">
|
562
|
+
<svg
|
563
|
+
width={width}
|
564
|
+
height="20"
|
565
|
+
viewBox="0 0 130 20"
|
566
|
+
version="1.1"
|
567
|
+
className="arrow-image">
|
568
|
+
<defs
|
569
|
+
id="defs4">
|
570
|
+
<marker
|
571
|
+
orient="auto"
|
572
|
+
refY="0"
|
573
|
+
refX="0"
|
574
|
+
id="TriangleOutM"
|
575
|
+
style="overflow:visible">
|
576
|
+
<path
|
577
|
+
id="path4287"
|
578
|
+
d="m 5.77,0 -8.65,5 0,-10 8.65,5 z"
|
579
|
+
style="fill:#aaa;fill-opacity:1;fill-rule:evenodd;stroke:#aaa;stroke-width:1pt;stroke-opacity:1"
|
580
|
+
transform="scale(0.4,0.4)" />
|
581
|
+
</marker>
|
582
|
+
<marker
|
583
|
+
orient="auto"
|
584
|
+
refY="0"
|
585
|
+
refX="0"
|
586
|
+
id="Arrow2Lend"
|
587
|
+
style="overflow:visible">
|
588
|
+
<path
|
589
|
+
id="path4163"
|
590
|
+
style="fill:#aaa;fill-opacity:1;fill-rule:evenodd;stroke:#aaa;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
|
591
|
+
d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
|
592
|
+
transform="matrix(-1.1,0,0,-1.1,-1.1,0)" />
|
593
|
+
</marker>
|
594
|
+
<marker
|
595
|
+
orient="auto"
|
596
|
+
refY="0"
|
597
|
+
refX="0"
|
598
|
+
id="Arrow1Lend"
|
599
|
+
style="overflow:visible">
|
600
|
+
<path
|
601
|
+
id="path4145"
|
602
|
+
d="M 0,0 5,-5 -12.5,0 5,5 0,0 Z"
|
603
|
+
style="fill:#aaa;fill-opacity:1;fill-rule:evenodd;stroke:#aaa;stroke-width:1pt;stroke-opacity:1"
|
604
|
+
transform="matrix(-0.8,0,0,-0.8,-10,0)" />
|
605
|
+
</marker>
|
606
|
+
</defs>
|
607
|
+
<g
|
608
|
+
id="layer1"
|
609
|
+
transform="translate(0,-1032.3622)">
|
610
|
+
<path
|
611
|
+
style="fill:none;fill-rule:evenodd;stroke:#aaa;stroke-width:3.99429917;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#TriangleOutM)"
|
612
|
+
d="m 0,1042.3622 118.75284,0"
|
613
|
+
id="path3336" />
|
614
|
+
</g>
|
615
|
+
</svg>
|
616
|
+
</td>
|
617
|
+
)
|
618
|
+
}
|
619
|
+
}
|
620
|
+
|
621
|
+
export default JourneyView;
|