diff --git a/app/Resources/views/default/components/sidebar/searchSidebarWidgetInner.html.twig b/app/Resources/views/default/components/sidebar/searchSidebarWidgetInner.html.twig index 6d13e7bc..fc2e57f6 100644 --- a/app/Resources/views/default/components/sidebar/searchSidebarWidgetInner.html.twig +++ b/app/Resources/views/default/components/sidebar/searchSidebarWidgetInner.html.twig @@ -1,9 +1,9 @@ {% form_theme search_form 'default/form/theme.html.twig' %}
- +
-
+
{{ form_field_pho(search_form.c, 'Reiseziel') }} diff --git a/src/AppBundle/Listener/KernelControllerListener.php b/src/AppBundle/Listener/KernelControllerListener.php index 246f49ea..7b13c6d6 100644 --- a/src/AppBundle/Listener/KernelControllerListener.php +++ b/src/AppBundle/Listener/KernelControllerListener.php @@ -35,30 +35,30 @@ class KernelControllerListener private function setSessionAttributeByTime($request, $key){ $session = $request->getSession(); - $session->set('_open_side_about', ''); $session->set('_open_side_search', ''); - - if(!$session->get('time') || $session->get('time') < time()){ - //first visit - if($key === 'default'){ - $session->set('_open_side_search', 'open'); + if($key === 'default') {//is default visit + if (!$session->get('default_visit')) { //first visit + $session->set('default_visit', true); + $session->set('_open_side_about', 'open'); } - $session->set('_open_side_about', 'open'); - $session->set('time', time() + 86400); - }else{ - //sec visit - if($key === 'default'){ - $session->set('_open_side_search', 'open'); + $session->set('_open_side_search', 'open'); + } + + if($key === 'api') {//is api = Reiseführer + if (!$session->get('api_visit')) { //first visit + $session->set('api_visit', true); + $session->set('_open_side_about', 'open'); } } } public function onKernelController(FilterControllerEvent $event) { $request = $event->getRequest(); - - + if($request->get('_controller') === 'AppBundle\Controller\DefaultController::homeAction'){ + $this->setSessionAttributeByTime($request, "default"); + } if ($request->get('_controller') == 'AppBundle\Controller\DefaultController::defaultAction') { @@ -120,9 +120,9 @@ class KernelControllerListener } } //load content from API, is found by cms/search + if($api){ $this->setSessionAttributeByTime($request, "api"); - $request->attributes->set('_controller', 'AppBundle:Cms:iqTravelGuide'); $request->attributes->set('api', $api); $request->attributes->set('template', 'TravelGuide'); diff --git a/src/AppBundle/Resources/public/config.codekit3 b/src/AppBundle/Resources/public/config.codekit3 index 12d99851..f77c6ef1 100644 --- a/src/AppBundle/Resources/public/config.codekit3 +++ b/src/AppBundle/Resources/public/config.codekit3 @@ -1,5 +1,5 @@ { -"AAInfo": "This is a CodeKit 3 project config file. MODIFYING THE CONTENTS OF THIS FILE IS A POOR LIFE DECISION. Doing so will cause CodeKit to crash and/or corrupt your project. I know it looks like JSON, but it is *not*. Many numbers in this file are 64-bit long long bitFlags, which JSON does not support. These numbers *cannot* be treated as discrete values and if you attempt to parse this file as standard JSON with any public JSON parser, these values will be corrupted. This file is not backwards-compatible with CodeKit 1 or 2. For more information, see https://codekitapp.com/", +"AAInfo": "This is a CodeKit 3 project config file. EDITING THIS FILE IS A POOR LIFE DECISION. Doing so may cause CodeKit to crash and/or corrupt your project. Several critical values in this file are 64-bit integers, which JavaScript JSON parsers do not support because JavaScript cannot handle 64-bit integers. These values will be corrupted if the file is parsed with JavaScript. This file is not backwards-compatible with CodeKit 1 or 2. For details, see https://codekitapp.com/", "buildSteps": [ { "name": "Process All Remaining Files and Folders", @@ -7,7 +7,7 @@ "uuidString": "7B4142F5-F6AB-47B4-92FD-340AF03CE426" } ], -"creatorBuild": "32186", +"creatorBuild": "33081", "files": { "/css/booking.css": { "aP": 1, @@ -500,7 +500,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/_footer.svg": { "ft": 2097152, @@ -521,7 +523,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/android-icon-144x144.png": { "ft": 32768, @@ -532,7 +536,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/android-icon-192x192.png": { "ft": 32768, @@ -543,7 +549,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/android-icon-36x36.png": { "ft": 32768, @@ -554,7 +562,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/android-icon-48x48.png": { "ft": 32768, @@ -565,7 +575,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/android-icon-72x72.png": { "ft": 32768, @@ -576,7 +588,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/android-icon-96x96.png": { "ft": 32768, @@ -587,7 +601,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/apple-icon-114x114.png": { "ft": 32768, @@ -598,7 +614,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/apple-icon-120x120.png": { "ft": 32768, @@ -609,7 +627,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/apple-icon-144x144.png": { "ft": 32768, @@ -620,7 +640,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/apple-icon-152x152.png": { "ft": 32768, @@ -631,7 +653,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/apple-icon-180x180.png": { "ft": 32768, @@ -642,7 +666,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/apple-icon-57x57.png": { "ft": 32768, @@ -653,7 +679,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/apple-icon-60x60.png": { "ft": 32768, @@ -664,7 +692,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/apple-icon-72x72.png": { "ft": 32768, @@ -675,7 +705,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/apple-icon-76x76.png": { "ft": 32768, @@ -686,7 +718,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/apple-icon-precomposed.png": { "ft": 32768, @@ -697,7 +731,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/apple-icon.png": { "ft": 32768, @@ -708,7 +744,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/bg-embedlng-m.png": { "ft": 32768, @@ -719,7 +757,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/browserconfig.xml": { "cB": 0, @@ -738,7 +778,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/favicon-16x16.png": { "ft": 32768, @@ -749,7 +791,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/favicon-32x32.png": { "ft": 32768, @@ -760,7 +804,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/favicon-96x96.png": { "ft": 32768, @@ -771,7 +817,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/favicon.ico": { "cB": 0, @@ -790,7 +838,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/footer.svg": { "ft": 2097152, @@ -811,7 +861,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/header-bg.png": { "ft": 32768, @@ -822,7 +874,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/jordanien.jpg": { "ft": 16384, @@ -833,7 +887,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/loader.gif": { "ft": 4194304, @@ -841,7 +897,9 @@ "oA": 0, "oAP": "/images/loader.gif", "oF": 0, - "opt": 0 + "opt": 0, + "ou": "lpckwebp-none", + "rq": 75 }, "/images/logo-embed-m.png": { "ft": 32768, @@ -852,7 +910,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logo-qualitaet-22.png": { "ft": 32768, @@ -863,7 +923,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logo-qualitaet-23.png": { "ft": 32768, @@ -874,7 +936,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logo-qualitaet-24.png": { "ft": 32768, @@ -885,7 +949,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logo-qualitaet.png": { "ft": 32768, @@ -896,7 +962,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logo.png": { "ft": 32768, @@ -907,7 +975,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logos/DB.png": { "ft": 32768, @@ -918,7 +988,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logos/fairliners.png": { "ft": 32768, @@ -929,7 +1001,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logos/fairliners_g.png": { "ft": 32768, @@ -940,7 +1014,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logos/iata.png": { "ft": 32768, @@ -951,7 +1027,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logos/logo-jugendreisen-spezialist.png": { "ft": 32768, @@ -962,7 +1040,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logos/reisebuero.png": { "ft": 32768, @@ -973,7 +1053,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logos/rundv.png": { "ft": 32768, @@ -984,7 +1066,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logos/ssl 2.png": { "ft": 32768, @@ -995,7 +1079,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logos/ssl.png": { "ft": 32768, @@ -1006,7 +1092,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logos/stardeal.jpg": { "ft": 16384, @@ -1017,7 +1105,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logos/stern-tours.png": { "ft": 32768, @@ -1028,7 +1118,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logos/sunstar.png": { "ft": 32768, @@ -1039,7 +1131,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/logos/thawte.png": { "ft": 32768, @@ -1050,7 +1144,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/manifest.json": { "ft": 524288, @@ -1069,7 +1165,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/menu.png": { "ft": 32768, @@ -1080,7 +1178,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/ms-icon-144x144.png": { "ft": 32768, @@ -1091,7 +1191,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/ms-icon-150x150.png": { "ft": 32768, @@ -1102,7 +1204,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/ms-icon-310x310.png": { "ft": 32768, @@ -1113,7 +1217,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/ms-icon-70x70.png": { "ft": 32768, @@ -1124,7 +1230,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/no-picture.png": { "ft": 32768, @@ -1135,7 +1243,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/page-header.jpg": { "ft": 16384, @@ -1146,7 +1256,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/page1_img1.jpg": { "ft": 16384, @@ -1157,7 +1269,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/page1_img2.jpg": { "ft": 16384, @@ -1168,7 +1282,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/page1_img3.jpg": { "ft": 16384, @@ -1179,7 +1295,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/page1_img4.jpg": { "ft": 16384, @@ -1190,7 +1308,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/page2_img2.jpg": { "ft": 16384, @@ -1201,7 +1321,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/payment.png": { "ft": 32768, @@ -1212,7 +1334,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/progress.png": { "ft": 32768, @@ -1223,7 +1347,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/range_01.png": { "ft": 32768, @@ -1234,7 +1360,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/range_02.png": { "ft": 32768, @@ -1245,7 +1373,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/range_03.png": { "ft": 32768, @@ -1256,7 +1386,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/rating-5-cent-m.png": { "ft": 32768, @@ -1267,7 +1399,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/siegel_sehr_gut_SternTours.jpg": { "ft": 16384, @@ -1278,7 +1412,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/star-mini.png": { "ft": 32768, @@ -1289,7 +1425,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/star.png": { "ft": 32768, @@ -1300,7 +1438,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/STERN_Logo_Vektor.eps": { "cB": 0, @@ -1319,7 +1459,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/best-western-plus-hotel-baltic-hills-usedom-fotolia-strand.jpg.jpg": { "ft": 16384, @@ -1330,7 +1472,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/header-top-image.jpg": { "ft": 16384, @@ -1341,7 +1485,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/header-top-image1.jpg": { "ft": 16384, @@ -1352,7 +1498,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/header-top-image2.jpg": { "ft": 16384, @@ -1363,7 +1511,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/header-top-image3 kopie.jpg": { "ft": 16384, @@ -1374,7 +1524,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/header-top-image3.jpg": { "ft": 16384, @@ -1385,7 +1537,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/header_bg.jpg": { "ft": 16384, @@ -1396,7 +1550,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/header_bg.png": { "ft": 32768, @@ -1407,7 +1563,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/hurghada_sandstrand_sonnenschirme.jpg": { "ft": 16384, @@ -1418,7 +1576,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/israelreisen_start31.jpg": { "ft": 16384, @@ -1429,7 +1589,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/item1.jpg": { "ft": 16384, @@ -1440,7 +1602,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/item2.jpg": { "ft": 16384, @@ -1451,7 +1615,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/item3.jpg": { "ft": 16384, @@ -1462,7 +1628,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/item4.jpg": { "ft": 16384, @@ -1473,7 +1641,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/item5.jpg": { "ft": 16384, @@ -1484,7 +1654,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/jugendreisen-hotel-7.jpg": { "ft": 16384, @@ -1495,7 +1667,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/slider8.jpg": { "ft": 16384, @@ -1506,7 +1680,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/slider_aegypten Kopie.jpg": { "ft": 16384, @@ -1517,7 +1693,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/slider_aegypten.jpg": { "ft": 16384, @@ -1528,7 +1706,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/slider_felsendom Kopie.jpg": { "ft": 16384, @@ -1539,7 +1719,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/slider_felsendom.jpg": { "ft": 16384, @@ -1550,7 +1732,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/slider_petra Kopie.jpg": { "ft": 16384, @@ -1561,7 +1745,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/slider_petra.jpg": { "ft": 16384, @@ -1572,7 +1758,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/slider_strandkorb.jpg": { "ft": 16384, @@ -1583,7 +1771,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/travel/slider_usedom.jpg": { "ft": 16384, @@ -1594,7 +1784,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/images/wlogo.png": { "ft": 32768, @@ -1605,7 +1797,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/js/_old/_custom.js": { "bF": 0, @@ -2109,7 +2303,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/daterangepicker/example/amd/index.html": { "cB": 0, @@ -2288,7 +2484,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/arrow_large_right.png": { "ft": 32768, @@ -2299,7 +2497,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/arrow_left.png": { "ft": 32768, @@ -2310,7 +2510,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/arrow_left2.png": { "ft": 32768, @@ -2321,7 +2523,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/arrow_right.png": { "ft": 32768, @@ -2332,7 +2536,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/arrow_right2.png": { "ft": 32768, @@ -2343,7 +2549,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/arrowleft.png": { "ft": 32768, @@ -2354,7 +2562,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/arrowright.png": { "ft": 32768, @@ -2365,7 +2575,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/arrows.psd": { "cB": 0, @@ -2384,7 +2596,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/boxed_bgtile.png": { "ft": 32768, @@ -2395,7 +2609,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/bullet.png": { "ft": 32768, @@ -2406,7 +2622,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/bullet_boxed.png": { "ft": 32768, @@ -2417,7 +2635,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/bullets.png": { "ft": 32768, @@ -2428,7 +2648,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/bullets.psd": { "cB": 0, @@ -2447,7 +2669,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/coloredbg.png": { "ft": 32768, @@ -2458,7 +2682,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/grain.png": { "ft": 32768, @@ -2469,7 +2695,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/gridtile.png": { "ft": 32768, @@ -2480,7 +2708,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/gridtile_3x3.png": { "ft": 32768, @@ -2491,7 +2721,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/gridtile_3x3_white.png": { "ft": 32768, @@ -2502,7 +2734,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/gridtile_white.png": { "ft": 32768, @@ -2513,7 +2747,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/large_left.png": { "ft": 32768, @@ -2524,7 +2760,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/large_right.png": { "ft": 32768, @@ -2535,7 +2773,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/loader.gif": { "ft": 4194304, @@ -2543,7 +2783,9 @@ "oA": 0, "oAP": "/vendor/rs-plugin/assets/loader.gif", "oF": 0, - "opt": 0 + "opt": 0, + "ou": "lpckwebp-none", + "rq": 75 }, "/vendor/rs-plugin/assets/loader2.gif": { "ft": 4194304, @@ -2551,7 +2793,9 @@ "oA": 0, "oAP": "/vendor/rs-plugin/assets/loader2.gif", "oF": 0, - "opt": 0 + "opt": 0, + "ou": "lpckwebp-none", + "rq": 75 }, "/vendor/rs-plugin/assets/navigdots.png": { "ft": 32768, @@ -2562,7 +2806,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/navigdots_bgtile.png": { "ft": 32768, @@ -2573,7 +2819,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/shadow1.png": { "ft": 32768, @@ -2584,7 +2832,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/shadow2.png": { "ft": 32768, @@ -2595,7 +2845,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/shadow3.png": { "ft": 32768, @@ -2606,7 +2858,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/small_arrows.psd": { "cB": 0, @@ -2625,7 +2879,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/small_left_boxed.png": { "ft": 32768, @@ -2636,7 +2892,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/small_right.png": { "ft": 32768, @@ -2647,7 +2905,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/small_right_boxed.png": { "ft": 32768, @@ -2658,7 +2918,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/timer.png": { "ft": 32768, @@ -2669,7 +2931,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/timerdot.png": { "ft": 32768, @@ -2680,7 +2944,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/transparent.jpg": { "ft": 16384, @@ -2691,7 +2957,9 @@ "oF": 0, "oIPL": 0, "opt": 0, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/assets/white50.png": { "ft": 32768, @@ -2702,7 +2970,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/css/settings-ie8.css": { "aP": 1, @@ -2767,7 +3037,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/images/decor_inside_white.png": { "ft": 32768, @@ -2778,7 +3050,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/images/decor_testimonial.png": { "ft": 32768, @@ -2789,7 +3063,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/images/gradient/g30.png": { "ft": 32768, @@ -2800,7 +3076,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/images/gradient/g40.png": { "ft": 32768, @@ -2811,7 +3089,9 @@ "oIPL": 0, "opt": 0, "oT": 1, - "q": 100 + "ou": "lpckwebp-none", + "q": 100, + "rq": 75 }, "/vendor/rs-plugin/js/jquery.themepunch.enablelog.js": { "bF": 0, @@ -3340,8 +3620,7 @@ "optionString": "{'before': true, 'after': true}" }, "block-scoped-var": { - "active": 0, - "optionString": "" + "active": 0 }, "block-spacing": { "active": 0, @@ -3396,24 +3675,20 @@ "optionString": "'that'" }, "constructor-super": { - "active": 1, - "optionString": "" + "active": 1 }, "curly": { "active": 0, "optionString": "'all'" }, "default-case": { - "active": 0, - "optionString": "" + "active": 0 }, "default-case-last": { - "active": 0, - "optionString": "" + "active": 0 }, "default-param-last": { - "active": 0, - "optionString": "" + "active": 0 }, "dot-location": { "active": 0, @@ -3432,8 +3707,7 @@ "optionString": "'always', {'null': 'always'}" }, "for-direction": { - "active": 0, - "optionString": "" + "active": 0 }, "func-call-spacing": { "active": 0, @@ -3464,16 +3738,14 @@ "optionString": "{'allowImplicit': false}" }, "global-require": { - "active": 0, - "optionString": "" + "active": 0 }, "grouped-accessor-pairs": { "active": 0, "optionString": "'anyOrder'" }, "guard-for-in": { - "active": 0, - "optionString": "" + "active": 0 }, "handle-callback-err": { "active": 0, @@ -3588,44 +3860,35 @@ "optionString": "{'ignoreChainWithDepth': 2}" }, "no-alert": { - "active": 0, - "optionString": "" + "active": 0 }, "no-array-constructor": { - "active": 0, - "optionString": "" + "active": 0 }, "no-async-promise-executor": { - "active": 0, - "optionString": "" + "active": 0 }, "no-await-in-loop": { - "active": 0, - "optionString": "" + "active": 0 }, "no-bitwise": { "active": 0, "optionString": "{'allow': ['~'], 'int32Hint': true}" }, "no-buffer-constructor": { - "active": 0, - "optionString": "" + "active": 0 }, "no-caller": { - "active": 0, - "optionString": "" + "active": 0 }, "no-case-declarations": { - "active": 1, - "optionString": "" + "active": 1 }, "no-class-assign": { - "active": 1, - "optionString": "" + "active": 1 }, "no-compare-neg-zero": { - "active": 0, - "optionString": "" + "active": 0 }, "no-cond-assign": { "active": 1, @@ -3640,124 +3903,101 @@ "optionString": "{'allow': ['warn', 'error']}" }, "no-const-assign": { - "active": 1, - "optionString": "" + "active": 1 }, "no-constant-condition": { "active": 1, "optionString": "{'checkLoops': true}" }, "no-constructor-return": { - "active": 0, - "optionString": "" + "active": 0 }, "no-continue": { - "active": 0, - "optionString": "" + "active": 0 }, "no-control-regex": { - "active": 1, - "optionString": "" + "active": 1 }, "no-debugger": { - "active": 1, - "optionString": "" + "active": 1 }, "no-delete-var": { - "active": 1, - "optionString": "" + "active": 1 }, "no-div-regex": { - "active": 0, - "optionString": "" + "active": 0 }, "no-dupe-args": { - "active": 1, - "optionString": "" + "active": 1 }, "no-dupe-class-members": { - "active": 1, - "optionString": "" + "active": 1 }, "no-dupe-else-if": { - "active": 1, - "optionString": "" + "active": 1 }, "no-dupe-keys": { - "active": 1, - "optionString": "" + "active": 1 }, "no-duplicate-imports": { "active": 0, "optionString": "{'includeExports': false}" }, "no-else-return": { - "active": 0, - "optionString": "" + "active": 0 }, "no-empty": { "active": 1, "optionString": "{'allowEmptyCatch': false}" }, "no-empty-character-class": { - "active": 1, - "optionString": "" + "active": 1 }, "no-empty-function": { "active": 0, "optionString": "{'allow': []}" }, "no-empty-pattern": { - "active": 1, - "optionString": "" + "active": 1 }, "no-eq-null": { - "active": 0, - "optionString": "" + "active": 0 }, "no-eval": { "active": 0, "optionString": "{'allowIndirect': false}" }, "no-ex-assign": { - "active": 1, - "optionString": "" + "active": 1 }, "no-extend-native": { "active": 0, "optionString": "{'exceptions': []}" }, "no-extra-bind": { - "active": 0, - "optionString": "" + "active": 0 }, "no-extra-boolean-cast": { - "active": 1, - "optionString": "" + "active": 1 }, "no-extra-labels": { - "active": 0, - "optionString": "" + "active": 0 }, "no-extra-parens": { "active": 0, "optionString": "'all', {'conditionalAssign': false, 'returnAssign': false, 'nestedBinaryExpressions': false, 'ignoreJSX': 'none', 'enforceForArrowConditionals': false, 'enforceForSequenceExpressions': false, 'enforceForNewInMemberExpressions': false}" }, "no-extra-semi": { - "active": 1, - "optionString": "" + "active": 1 }, "no-fallthrough": { - "active": 1, - "optionString": "" + "active": 1 }, "no-floating-decimal": { - "active": 0, - "optionString": "" + "active": 0 }, "no-func-assign": { - "active": 1, - "optionString": "" + "active": 1 }, "no-global-assign": { "active": 1, @@ -3768,20 +4008,16 @@ "optionString": "{'boolean': true, 'number': true, 'string': true, 'allow': []}" }, "no-implicit-globals": { - "active": 0, - "optionString": "" + "active": 0 }, "no-implied-eval": { - "active": 0, - "optionString": "" + "active": 0 }, "no-import-assign": { - "active": 1, - "optionString": "" + "active": 1 }, "no-inline-comments": { - "active": 0, - "optionString": "" + "active": 0 }, "no-inner-declarations": { "active": 1, @@ -3800,40 +4036,33 @@ "optionString": "{'skipStrings': true, 'skipComments': false, 'skipRegExps': true, 'skipTemplates': true}" }, "no-iterator": { - "active": 0, - "optionString": "" + "active": 0 }, "no-label-var": { - "active": 0, - "optionString": "" + "active": 0 }, "no-labels": { "active": 0, "optionString": "{'allowLoop': false, 'allowSwitch': false}" }, "no-lone-blocks": { - "active": 0, - "optionString": "" + "active": 0 }, "no-lonely-if": { - "active": 0, - "optionString": "" + "active": 0 }, "no-loop-func": { - "active": 0, - "optionString": "" + "active": 0 }, "no-loss-of-precision": { - "active": 0, - "optionString": "" + "active": 0 }, "no-magic-numbers": { "active": 0, "optionString": "{'ignore': [], 'ignoreArrayIndexes': true, 'enforceConst': false, 'detectObjects': false}" }, "no-misleading-character-class": { - "active": 0, - "optionString": "" + "active": 0 }, "no-mixed-operators": { "active": 0, @@ -3848,100 +4077,84 @@ "optionString": "" }, "no-multi-assign": { - "active": 0, - "optionString": "" + "active": 0 }, "no-multi-spaces": { "active": 0, "optionString": "{'exceptions': {'Property': true, 'BinaryExpression': false, 'VariableDeclarator': false, 'ImportDeclaration': false}}" }, "no-multi-str": { - "active": 0, - "optionString": "" + "active": 0 }, "no-multiple-empty-lines": { "active": 0, "optionString": "{'max': 2, 'maxBOF': 2, 'maxEOF': 2}" }, "no-negated-condition": { - "active": 0, - "optionString": "" + "active": 0 }, "no-nested-ternary": { - "active": 0, - "optionString": "" + "active": 0 }, "no-new": { - "active": 0, - "optionString": "" + "active": 0 }, "no-new-func": { - "active": 0, - "optionString": "" + "active": 0 }, "no-new-object": { - "active": 0, - "optionString": "" + "active": 0 }, "no-new-require": { - "active": 0, - "optionString": "" + "active": 0 }, "no-new-symbol": { - "active": 1, - "optionString": "" + "active": 1 }, "no-new-wrappers": { - "active": 0, - "optionString": "" + "active": 0 }, "no-obj-calls": { - "active": 1, - "optionString": "" + "active": 1 }, "no-octal": { - "active": 1, - "optionString": "" + "active": 1 }, "no-octal-escape": { - "active": 0, - "optionString": "" + "active": 0 }, "no-param-reassign": { "active": 0, "optionString": "{'props': false}" }, "no-path-concat": { - "active": 0, - "optionString": "" + "active": 0 }, "no-plusplus": { "active": 0, "optionString": "{'allowForLoopAfterthoughts': false}" }, "no-process-env": { - "active": 0, - "optionString": "" + "active": 0 }, "no-process-exit": { - "active": 0, - "optionString": "" + "active": 0 + }, + "no-promise-executor-return": { + "active": 0 }, "no-proto": { - "active": 0, - "optionString": "" + "active": 0 }, "no-prototype-builtins": { - "active": 0, - "optionString": "" + "active": 0 }, "no-redeclare": { "active": 1, "optionString": "{'builtinGlobals': false}" }, "no-regex-spaces": { - "active": 1, - "optionString": "" + "active": 1 }, "no-restricted-exports": { "active": 0, @@ -3952,8 +4165,7 @@ "optionString": "'event', 'fdescribe'" }, "no-restricted-imports": { - "active": 0, - "optionString": "" + "active": 0 }, "no-restricted-modules": { "active": 0, @@ -3972,40 +4184,33 @@ "optionString": "'except-parens'" }, "no-return-await": { - "active": 0, - "optionString": "" + "active": 0 }, "no-script-url": { - "active": 0, - "optionString": "" + "active": 0 }, "no-self-assign": { "active": 1, "optionString": "{'props': true}" }, "no-self-compare": { - "active": 0, - "optionString": "" + "active": 0 }, "no-sequences": { - "active": 0, - "optionString": "" + "active": 0 }, "no-setter-return": { - "active": 1, - "optionString": "" + "active": 1 }, "no-shadow": { "active": 0, "optionString": "{'builtinGlobals': false, 'hoist': 'functions', 'allow': []}" }, "no-shadow-restricted-names": { - "active": 0, - "optionString": "" + "active": 0 }, "no-sparse-arrays": { - "active": 1, - "optionString": "" + "active": 1 }, "no-sync": { "active": 0, @@ -4016,20 +4221,16 @@ "optionString": "{allowIndentationTabs: false}" }, "no-template-curly-in-string": { - "active": 0, - "optionString": "" + "active": 0 }, "no-ternary": { - "active": 0, - "optionString": "" + "active": 0 }, "no-this-before-super": { - "active": 1, - "optionString": "" + "active": 1 }, "no-throw-literal": { - "active": 0, - "optionString": "" + "active": 0 }, "no-trailing-spaces": { "active": 0, @@ -4040,36 +4241,34 @@ "optionString": "{'typeof': false}" }, "no-undef-init": { - "active": 0, - "optionString": "" + "active": 0 }, "no-undefined": { - "active": 0, - "optionString": "" + "active": 0 }, "no-underscore-dangle": { "active": 0, "optionString": "{'allow': [], 'allowAfterThis': false, 'allowAfterSuper': false, 'allowAfterThisConstructor': false, 'enforceInMethodNames': false}" }, "no-unexpected-multiline": { - "active": 1, - "optionString": "" + "active": 1 }, "no-unmodified-loop-condition": { - "active": 0, - "optionString": "" + "active": 0 }, "no-unneeded-ternary": { "active": 0, "optionString": "{'defaultAssignment': true}" }, "no-unreachable": { - "active": 1, - "optionString": "" + "active": 1 + }, + "no-unreachable-loop": { + "active": 0, + "optionString": "{'ignore': []}" }, "no-unsafe-finally": { - "active": 1, - "optionString": "" + "active": 1 }, "no-unsafe-negation": { "active": 1, @@ -4080,8 +4279,7 @@ "optionString": "{'allowShortCircuit': false, 'allowTernary': false, 'allowTaggedTemplates': false}" }, "no-unused-labels": { - "active": 1, - "optionString": "" + "active": 1 }, "no-unused-vars": { "active": 1, @@ -4092,44 +4290,36 @@ "optionString": "{'functions': true, 'classes': true, 'variables': true}" }, "no-useless-backreference": { - "active": 0, - "optionString": "" + "active": 0 }, "no-useless-call": { - "active": 0, - "optionString": "" + "active": 0 }, "no-useless-catch": { - "active": 0, - "optionString": "" + "active": 0 }, "no-useless-computed-key": { "active": 0, "optionString": "{'enforceForClassMembers': false}" }, "no-useless-concat": { - "active": 0, - "optionString": "" + "active": 0 }, "no-useless-constructor": { - "active": 0, - "optionString": "" + "active": 0 }, "no-useless-escape": { - "active": 0, - "optionString": "" + "active": 0 }, "no-useless-rename": { "active": 0, "optionString": "{'ignoreDestructuring': false, 'ignoreImport': false, 'ignoreExport': false}" }, "no-useless-return": { - "active": 0, - "optionString": "" + "active": 0 }, "no-var": { - "active": 0, - "optionString": "" + "active": 0 }, "no-void": { "active": 0, @@ -4140,12 +4330,10 @@ "optionString": "{'terms': ['todo', 'fixme', 'xxx'], 'location': 'start'}" }, "no-whitespace-before-property": { - "active": 0, - "optionString": "" + "active": 0 }, "no-with": { - "active": 0, - "optionString": "" + "active": 0 }, "nonblock-statement-body-position": { "active": 0, @@ -4192,8 +4380,7 @@ "optionString": "{blankLine: 'always', prev:'*', next:'return'}" }, "prefer-arrow-callback": { - "active": 0, - "optionString": "" + "active": 0 }, "prefer-const": { "active": 0, @@ -4204,40 +4391,32 @@ "optionString": "{'array': true, 'object': true}, {'enforceForRenamedProperties': false}" }, "prefer-exponentiation-operator": { - "active": 0, - "optionString": "" + "active": 0 }, "prefer-named-capture-group": { - "active": 0, - "optionString": "" + "active": 0 }, "prefer-numeric-literals": { - "active": 0, - "optionString": "" + "active": 0 }, "prefer-object-spread": { - "active": 0, - "optionString": "" + "active": 0 }, "prefer-promise-reject-errors": { "active": 0, "optionString": "{'allowEmptyReject': false}" }, "prefer-regex-literals": { - "active": 0, - "optionString": "" + "active": 0 }, "prefer-rest-params": { - "active": 0, - "optionString": "" + "active": 0 }, "prefer-spread": { - "active": 0, - "optionString": "" + "active": 0 }, "prefer-template": { - "active": 0, - "optionString": "" + "active": 0 }, "quote-props": { "active": 0, @@ -4252,24 +4431,20 @@ "optionString": "'always'" }, "require-atomic-updates": { - "active": 0, - "optionString": "" + "active": 0 }, "require-await": { - "active": 0, - "optionString": "" + "active": 0 }, "require-jsdoc": { "active": 0, "optionString": "{'require': {'FunctionDeclaration': true, 'MethodDefinition': false, 'ClassDeclaration': false, 'ArrowFunctionExpression': false}}" }, "require-unicode-regexp": { - "active": 0, - "optionString": "" + "active": 0 }, "require-yield": { - "active": 1, - "optionString": "" + "active": 1 }, "rest-spread-spacing": { "active": 0, @@ -4332,8 +4507,7 @@ "optionString": "{'after': true, 'before': false}" }, "symbol-description": { - "active": 0, - "optionString": "" + "active": 0 }, "template-curly-spacing": { "active": 0, @@ -4360,16 +4534,14 @@ "optionString": "{'requireStringLiterals': true}" }, "vars-on-top": { - "active": 0, - "optionString": "" + "active": 0 }, "wrap-iife": { "active": 0, "optionString": "'outside'" }, "wrap-regex": { - "active": 0, - "optionString": "" + "active": 0 }, "yield-star-spacing": { "active": 0, @@ -4764,7 +4936,9 @@ "autoOutputPathRelativePath": "", "autoOutputPathReplace1": "", "autoOutputPathReplace2": "", - "autoOutputPathStyle": 0 + "autoOutputPathStyle": 0, + "webpOptimizationPresetUUID": "lpckwebp-none", + "webpRGBQuality": 75 }, "languageDefaultsHAML": { "autoOutputAction": 0, @@ -4790,7 +4964,9 @@ "autoOutputPathReplace2": "", "autoOutputPathStyle": 0, "outputFormat": 0, - "quality": 100 + "quality": 100, + "webpOptimizationPresetUUID": "lpckwebp-none", + "webpRGBQuality": 75 }, "languageDefaultsJS": { "autoOutputAction": 0, @@ -4882,7 +5058,9 @@ "autoOutputPathReplace2": "", "autoOutputPathStyle": 0, "optimizerType": 1, - "quality": 100 + "quality": 100, + "webpOptimizationPresetUUID": "lpckwebp-none", + "webpRGBQuality": 75 }, "languageDefaultsPUG": { "autoOutputAction": 0, @@ -5283,6 +5461,8 @@ }, "uglifyMangleNames": 1, "uglifyReservedNamesString": "$,exports,require", + "webpPresets": { + }, "websiteRelativeRoot": "" }, "settingsFileVersion": "3" diff --git a/src/AppBundle/Resources/public/js/custom.js b/src/AppBundle/Resources/public/js/custom.js index f90e33ed..e4d21889 100644 --- a/src/AppBundle/Resources/public/js/custom.js +++ b/src/AppBundle/Resources/public/js/custom.js @@ -1,7 +1,13 @@ + +var is_mobile_collapse = false; +if(jQuery(document).width() < 992){ + is_mobile_collapse = true; +} var collapse_status = 'mobile'; var collapse_on_responsive = function() { - if (jQuery(document).width() < 992) { + + if (is_mobile_collapse) { if(collapse_status !== 'mobile'){ collapse_status = 'mobile'; //close @@ -13,7 +19,7 @@ var collapse_on_responsive = function() { jQuery('.widget').find('.collapse.open').addClass('in'); } }else{ - if(collapse_status !== 'desktop') { + if(collapse_status !== 'desktop') { collapse_status = 'desktop'; jQuery('.widget').find('.collapse-widget').removeClass('collapsed'); jQuery('.widget').find('.collapse').addClass('in'); @@ -23,7 +29,7 @@ var collapse_on_responsive = function() { collapse_on_responsive(); $(window).on('resize',function(){ - collapse_on_responsive(); + // collapse_on_responsive(); }); $(document).ready(function() { diff --git a/web/js/custom-min.js b/web/js/custom-min.js index c3061aaf..ad8e9c0d 100644 --- a/web/js/custom-min.js +++ b/web/js/custom-min.js @@ -12,6 +12,6 @@ this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allow ;var o=t.fn.dropdown;t.fn.dropdown=function(e){return this.each((function(){var s=t(this),n=s.data("bs.dropdown");n||s.data("bs.dropdown",n=new i(this)),"string"==typeof e&&n[e].call(s)}))},t.fn.dropdown.Constructor=i,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=o,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",(function(t){t.stopPropagation()})).on("click.bs.dropdown.data-api",e,i.prototype.toggle).on("keydown.bs.dropdown.data-api",e,i.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",i.prototype.keydown)}(jQuery),function(t){"use strict";var e=function(e,i){this.options=i,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy((function(){this.$element.trigger("loaded.bs.modal")}),this))};function i(i,s){return this.each((function(){var n=t(this),o=n.data("bs.modal"),r=t.extend({},e.DEFAULTS,n.data(),"object"==typeof i&&i);o||n.data("bs.modal",o=new e(this,r)),"string"==typeof i?o[i](s):r.show&&o.show(s)}))}e.VERSION="3.3.7",e.TRANSITION_DURATION=300,e.BACKDROP_TRANSITION_DURATION=150,e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},e.prototype.show=function(i){var s=this,n=t.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(n),this.isShown||n.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",(function(){s.$element.one("mouseup.dismiss.bs.modal",(function(e){t(e.target).is(s.$element)&&(s.ignoreBackdropClick=!0)}))})),this.backdrop((function(){var n=t.support.transition&&s.$element.hasClass("fade");s.$element.parent().length||s.$element.appendTo(s.$body),s.$element.show().scrollTop(0),s.adjustDialog(),n&&s.$element[0].offsetWidth,s.$element.addClass("in"),s.enforceFocus();var o=t.Event("shown.bs.modal",{relatedTarget:i});n?s.$dialog.one("bsTransitionEnd",(function(){s.$element.trigger("focus").trigger(o)})).emulateTransitionEnd(e.TRANSITION_DURATION):s.$element.trigger("focus").trigger(o)})))},e.prototype.hide=function(i){i&&i.preventDefault(),i=t.Event("hide.bs.modal"),this.$element.trigger(i),this.isShown&&!i.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(e.TRANSITION_DURATION):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy((function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")}),this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy((function(t){27==t.which&&this.hide()}),this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},e.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop((function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")}))},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(i){var s=this,n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=t.support.transition&&n;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+n).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy((function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())}),this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;o?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):i()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var r=function(){s.removeBackdrop(),i&&i()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",r).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):r()}else i&&i()},e.prototype.handleUpdate=function(){this.adjustDialog()},e.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,i,s){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(s),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),o=n.length;o--;){var r=n[o];if("click"==r)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=r){var a="hover"==r?"mouseenter":"focusin",l="hover"==r?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,(function(t,s){i[t]!=s&&(e[t]=s)})),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState)i.hoverState="in";else{if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout((function(){"in"==i.hoverState&&i.show()}),i.options.delay.show)}},e.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout((function(){"out"==i.hoverState&&i.hide()}),i.options.delay.hide)}},e.prototype.show=function(){var i=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var s=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!s)return;var n=this,o=this.tip(),r=this.getUID(this.type);this.setContent(),o.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&o.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,h=l.test(a);h&&(a=a.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),u=o[0].offsetWidth,d=o[0].offsetHeight;if(h){var p=a,f=this.getPosition(this.$viewport);a="bottom"==a&&c.bottom+d>f.bottom?"top":"top"==a&&c.top-df.width?"left":"left"==a&&c.left-ur.top+r.height&&(n.top=r.top+r.height-l)}else{var h=e.left-o,c=e.left+o+i;hr.right&&(n.left=r.left+r.width-c)}return n},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null}))};var i=t.fn.tooltip;t.fn.tooltip=function(i){return this.each((function(){var s=t(this),n=s.data("bs.tooltip"),o="object"==typeof i&&i;!n&&/destroy|hide/.test(i)||(n||s.data("bs.tooltip",n=new e(this,o)),"string"==typeof i&&n[i]())}))},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.3.7",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=function(i){return this.each((function(){var s=t(this),n=s.data("bs.popover"),o="object"==typeof i&&i;!n&&/destroy|hide/.test(i)||(n||s.data("bs.popover",n=new e(this,o)),"string"==typeof i&&n[i]())}))},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),function(t){"use strict";function e(i,s){this.$body=t(document.body),this.$scrollElement=t(i).is(document.body)?t(window):t(i),this.options=t.extend({},e.DEFAULTS,s),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function i(i){return this.each((function(){var s=t(this),n=s.data("bs.scrollspy"),o="object"==typeof i&&i;n||s.data("bs.scrollspy",n=new e(this,o)),"string"==typeof i&&n[i]()}))}e.VERSION="3.3.7",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,i="offset",s=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(i="position",s=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var e=t(this),n=e.data("target")||e.attr("href"),o=/^#./.test(n)&&t(n);return o&&o.length&&o.is(":visible")&&[[o[i]().top+s,n]]||null})).sort((function(t,e){return t[0]-e[0]})).each((function(){e.offsets.push(this[0]),e.targets.push(this[1])}))},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),s=this.options.offset+i-this.$scrollElement.height(),n=this.offsets,o=this.targets,r=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),e>=s)return r!=(t=o[o.length-1])&&this.activate(t);if(r&&e=n[t]&&(void 0===n[t+1]||e .active"),r=n&&t.support.transition&&(o.length&&o.hasClass("fade")||!!s.find("> .fade").length);function a(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),i.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(i[0].offsetWidth,i.addClass("in")):i.removeClass("fade"),i.parent(".dropdown-menu").length&&i.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}o.length&&r?o.one("bsTransitionEnd",a).emulateTransitionEnd(e.TRANSITION_DURATION):a(),o.removeClass("in")};var s=t.fn.tab;t.fn.tab=i,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=s,this};var n=function(e){e.preventDefault(),i.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery),function(t){"use strict";var e=function(i,s){this.options=t.extend({},e.DEFAULTS,s),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(i),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function i(i){return this.each((function(){var s=t(this),n=s.data("bs.affix"),o="object"==typeof i&&i;n||s.data("bs.affix",n=new e(this,o)),"string"==typeof i&&n[i]()}))}e.VERSION="3.3.7",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,i,s){var n=this.$target.scrollTop(),o=this.$element.offset(),r=this.$target.height();if(null!=i&&"top"==this.affixed)return n=t-s&&"bottom"},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),i=this.$element.offset();return this.pinnedOffset=i.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var i=this.$element.height(),s=this.options.offset,n=s.top,o=s.bottom,r=Math.max(t(document).height(),t(document.body).height());"object"!=typeof s&&(o=n=s),"function"==typeof n&&(n=s.top(this.$element)),"function"==typeof o&&(o=s.bottom(this.$element));var a=this.getState(r,i,n,o);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),h=t.Event(l+".bs.affix");if(this.$element.trigger(h),h.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:r-i-o})}};var s=t.fn.affix;t.fn.affix=i,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=s,this},t(window).on("load",(function(){t('[data-spy="affix"]').each((function(){var e=t(this),s=e.data();s.offset=s.offset||{},null!=s.offsetBottom&&(s.offset.bottom=s.offsetBottom),null!=s.offsetTop&&(s.offset.top=s.offsetTop),i.call(e,s)}))}))}(jQuery),function(t,e){void 0===t&&void 0!==window&&(t=window),"function"==typeof define&&define.amd?define(["jquery"],(function(t){return e(t)})):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(t.jQuery)}(this,(function(t){!function(t){"use strict";var e,i,s,n=document.createElement("_");if(n.classList.toggle("c3",!1),n.classList.contains("c3")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:o.call(this,t)}}function r(t){var e,i=[],s=t&&t.options;if(t.multiple)for(var n=0,o=s.length;n1?arguments[1]:void 0,a=r?Number(r):0;a!=a&&(a=0);var l=Math.min(Math.max(a,0),s);if(o+l>s)return!1;for(var h=-1;++h]+>/g,"")),s&&(l=d(l)),l=l.toUpperCase(),o="contains"===i?l.indexOf(e)>=0:l.startsWith(e)))break}return o}function u(t){return parseInt(t,10)||0}function d(e){return t.each([{re:/[\xC0-\xC6]/g,ch:"A"},{re:/[\xE0-\xE6]/g,ch:"a"},{re:/[\xC8-\xCB]/g,ch:"E"},{re:/[\xE8-\xEB]/g,ch:"e"},{re:/[\xCC-\xCF]/g,ch:"I"},{re:/[\xEC-\xEF]/g,ch:"i"},{re:/[\xD2-\xD6]/g,ch:"O"},{re:/[\xF2-\xF6]/g,ch:"o"},{re:/[\xD9-\xDC]/g,ch:"U"},{re:/[\xF9-\xFC]/g,ch:"u"},{re:/[\xC7-\xE7]/g,ch:"c"},{re:/[\xD1]/g,ch:"N"},{re:/[\xF1]/g,ch:"n"}],(function(){e=e?e.replace(this.re,this.ch):""})),e}t.fn.triggerNative=function(t){var e,i=this[0];i.dispatchEvent?(h?e=new Event(t,{bubbles:!0}):(e=document.createEvent("Event")).initEvent(t,!0,!1),i.dispatchEvent(e)):i.fireEvent?((e=document.createEventObject()).eventType=t,i.fireEvent("on"+t,e)):this.trigger(t)};var p=function(t){var e=function(e){return t[e]},i="(?:"+Object.keys(t).join("|")+")",s=RegExp(i),n=RegExp(i,"g");return function(t){return t=null==t?"":""+t,s.test(t)?t.replace(n,e):t}},f=p({"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"}),g=p({"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"}),m={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"},v={success:!1,major:"3"};try{v.full=(t.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split("."),v.major=v.full[0],v.success=!0}catch(t){console.warn("There was an issue retrieving Bootstrap's version. Ensure Bootstrap is being loaded before bootstrap-select and there is no namespace collision. If loading Bootstrap asynchronously, the version may need to be manually specified via $.fn.selectpicker.Constructor.BootstrapVersion.",t)}var b={DISABLED:"disabled",DIVIDER:"divider",SHOW:"open",DROPUP:"dropup",MENU:"dropdown-menu",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",BUTTONCLASS:"btn-default",POPOVERHEADER:"popover-title"},y={MENU:"."+b.MENU};"4"===v.major&&(b.DIVIDER="dropdown-divider",b.SHOW="show",b.BUTTONCLASS="btn-light",b.POPOVERHEADER="popover-header");var _=new RegExp("38|40"),w=new RegExp("^9$|27"),x=(new RegExp("13|32"),function(e,i){var s=this;a.useDefault||(t.valHooks.select.set=a._set,a.useDefault=!0),this.$element=t(e),this.$newElement=null,this.$button=null,this.$menu=null,this.options=i,this.selectpicker={main:{map:{newIndex:{},originalIndex:{}}},current:{map:{}},search:{map:{}},view:{},keydown:{keyHistory:"",resetKeyHistory:{start:function(){return setTimeout((function(){s.selectpicker.keydown.keyHistory=""}),800)}}}},null===this.options.title&&(this.options.title=this.$element.attr("title"));var n=this.options.windowPadding;"number"==typeof n&&(this.options.windowPadding=[n,n,n,n]),this.val=x.prototype.val,this.render=x.prototype.render,this.refresh=x.prototype.refresh,this.setStyle=x.prototype.setStyle,this.selectAll=x.prototype.selectAll,this.deselectAll=x.prototype.deselectAll,this.destroy=x.prototype.destroy,this.remove=x.prototype.remove,this.show=x.prototype.show,this.hide=x.prototype.hide,this.init()});function C(e){var i,s=arguments,n=e;if([].shift.apply(s),!v.success){try{v.full=(t.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split(".")}catch(t){v.full=x.BootstrapVersion.split(" ")[0].split(".")}v.major=v.full[0],v.success=!0,"4"===v.major&&(b.DIVIDER="dropdown-divider",b.SHOW="show",b.BUTTONCLASS="btn-light",x.DEFAULTS.style=b.BUTTONCLASS="btn-light",b.POPOVERHEADER="popover-header")}var o=this.each((function(){var e=t(this);if(e.is("select")){var o=e.data("selectpicker"),r="object"==typeof n&&n;if(o){if(r)for(var a in r)r.hasOwnProperty(a)&&(o.options[a]=r[a])}else{var l=t.extend({},x.DEFAULTS,t.fn.selectpicker.defaults||{},e.data(),r);l.template=t.extend({},x.DEFAULTS.template,t.fn.selectpicker.defaults?t.fn.selectpicker.defaults.template:{},e.data().template,r.template),e.data("selectpicker",o=new x(this,l))}"string"==typeof n&&(i=o[n]instanceof Function?o[n].apply(o,s):o.options[n])}}));return void 0!==i?i:o}x.VERSION="1.13.2",x.BootstrapVersion=v.major,x.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results matched {0}",countSelectedText:function(t,e){return 1==t?"{0} item selected":"{0} items selected"},maxOptionsText:function(t,e){return[1==t?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==e?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",doneButton:!1,doneButtonText:"Close",multipleSeparator:", ",styleBase:"btn",style:b.BUTTONCLASS,size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,liveSearchPlaceholder:null,liveSearchNormalize:!1,liveSearchStyle:"contains",actionsBox:!1,iconBase:"glyphicon",tickIcon:"glyphicon-ok",showTick:!1,template:{caret:''},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0,virtualScroll:600,display:!1},"4"===v.major&&(x.DEFAULTS.style="btn-light",x.DEFAULTS.iconBase="",x.DEFAULTS.tickIcon="bs-ok-default"),x.prototype={constructor:x,init:function(){var t=this,e=this.$element.attr("id");this.$element.addClass("bs-select-hidden"),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$newElement=this.createDropdown(),this.createLi(),this.$element.after(this.$newElement).prependTo(this.$newElement),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(y.MENU),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),this.$element.removeClass("bs-select-hidden"),!0===this.options.dropdownAlignRight&&this.$menu.addClass(b.MENURIGHT),void 0!==e&&this.$button.attr("data-id",e),this.checkDisabled(),this.clickListener(),this.options.liveSearch&&this.liveSearchListener(),this.render(),this.setStyle(),this.setWidth(),this.options.container?this.selectPosition():this.$element.on("hide.bs.select",(function(){if(t.isVirtual()){var e=t.$menuInner[0],i=e.firstChild.cloneNode(!1);e.replaceChild(i,e.firstChild),e.scrollTop=0}})), this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(e){t.$menuInner.attr("aria-expanded",!1),t.$element.trigger("hide.bs.select",e)},"hidden.bs.dropdown":function(e){t.$element.trigger("hidden.bs.select",e)},"show.bs.dropdown":function(e){t.$menuInner.attr("aria-expanded",!0),t.$element.trigger("show.bs.select",e)},"shown.bs.dropdown":function(e){t.$element.trigger("shown.bs.select",e)}}),t.$element[0].hasAttribute("required")&&this.$element.on("invalid",(function(){t.$button.addClass("bs-invalid"),t.$element.on({"shown.bs.select":function(){t.$element.val(t.$element.val()).off("shown.bs.select")},"rendered.bs.select":function(){this.validity.valid&&t.$button.removeClass("bs-invalid"),t.$element.off("rendered.bs.select")}}),t.$button.on("blur.bs.select",(function(){t.$element.focus().blur(),t.$button.off("blur.bs.select")}))})),setTimeout((function(){t.$element.trigger("loaded.bs.select")}))},createDropdown:function(){var e=this.multiple||this.options.showTick?" show-tick":"",i=this.autofocus?" autofocus":"",s=this.options.header?'
'+this.options.header+"
":"",n=this.options.liveSearch?'':"",o=this.multiple&&this.options.actionsBox?'
":"",r=this.multiple&&this.options.doneButton?'
":"",a='";return t(a)},setPositionData:function(){this.selectpicker.view.canHighlight=[];for(var t=0;t=this.options.virtualScroll||!0===this.options.virtualScroll},createView:function(e,i){i=i||0;var s=this;this.selectpicker.current=e?this.selectpicker.search:this.selectpicker.main;var n,o,r=[];function a(t,i){var a,l,h,c,u,d,p,f,g,m=s.selectpicker.current.elements.length,v=[],b=void 0,y=!0,_=s.isVirtual();s.selectpicker.view.scrollTop=t,!0===_&&s.sizeInfo.hasScrollBar&&s.$menu[0].offsetWidth>s.sizeInfo.totalMenuWidth&&(s.sizeInfo.menuWidth=s.$menu[0].offsetWidth,s.sizeInfo.totalMenuWidth=s.sizeInfo.menuWidth+s.sizeInfo.scrollBarWidth,s.$menu.css("min-width",s.sizeInfo.menuWidth)),a=Math.ceil(s.sizeInfo.menuInnerHeight/s.sizeInfo.liHeight*1.5),l=Math.round(m/a)||1;for(var w=0;wm-1?0:s.selectpicker.current.data[m-1].position-s.selectpicker.current.data[s.selectpicker.view.position1-1].position,T.firstChild.style.marginTop=C+"px",T.firstChild.style.marginBottom=k+"px"),T.firstChild.appendChild(D)}if(s.prevActiveIndex=s.activeIndex,s.options.liveSearch){if(e&&i){var $,P=0;s.selectpicker.view.canHighlight[P]||(P=1+s.selectpicker.view.canHighlight.slice(1).indexOf(!0)),$=s.selectpicker.view.visibleElements[P],s.selectpicker.view.currentActive&&(s.selectpicker.view.currentActive.classList.remove("active"),s.selectpicker.view.currentActive.firstChild&&s.selectpicker.view.currentActive.firstChild.classList.remove("active")),$&&($.classList.add("active"),$.firstChild&&$.firstChild.classList.add("active")),s.activeIndex=s.selectpicker.current.map.originalIndex[P]}}else s.$menuInner.focus()}this.setPositionData(),a(i,!0),this.$menuInner.off("scroll.createView").on("scroll.createView",(function(t,e){s.noScroll||a(this.scrollTop,e),s.noScroll=!1})),t(window).off("resize.createView").on("resize.createView",(function(){a(s.$menuInner[0].scrollTop)}))},createLi:function(){var e,i=this,s=[],n=0,o=0,r=[],a=0,l=0,h=-1;this.selectpicker.view.titleOption||(this.selectpicker.view.titleOption=document.createElement("option"));var c={span:document.createElement("span"),subtext:document.createElement("small"),a:document.createElement("a"),li:document.createElement("li"),whitespace:document.createTextNode(" ")},u=c.span.cloneNode(!1),d=document.createDocumentFragment();u.className=i.options.iconBase+" "+i.options.tickIcon+" check-mark",c.a.appendChild(u),c.a.setAttribute("role","option"),c.subtext.className="text-muted",c.text=c.span.cloneNode(!1),c.text.className="text";var p=function(t,e,i,s){var n=c.li.cloneNode(!1);return t&&(1===t.nodeType||11===t.nodeType?n.appendChild(t):n.innerHTML=t),void 0!==i&&""!==i&&(n.className=i),null!=s&&n.classList.add("optgroup-"+s),n},g=function(t,e,i){var s=c.a.cloneNode(!0);return t&&(11===t.nodeType?s.appendChild(t):s.insertAdjacentHTML("beforeend",t)),void 0!==e&""!==e&&(s.className=e),"4"===v.major&&s.classList.add("dropdown-item"),i&&s.setAttribute("style",i),s},m=function(t){var e,s,n=c.text.cloneNode(!1);if(t.optionContent)n.innerHTML=t.optionContent;else{if(n.textContent=t.text,t.optionIcon){var o=c.whitespace.cloneNode(!1);(s=c.span.cloneNode(!1)).className=i.options.iconBase+" "+t.optionIcon,d.appendChild(s),d.appendChild(o)}t.optionSubtext&&((e=c.subtext.cloneNode(!1)).innerHTML=t.optionSubtext,n.appendChild(e))}return d.appendChild(n),d};if(this.options.title&&!this.multiple){h--;var y=this.$element[0],_=!1,w=!this.selectpicker.view.titleOption.parentNode;w&&(this.selectpicker.view.titleOption.className="bs-title-option",this.selectpicker.view.titleOption.value="",_=void 0===t(y.options[y.selectedIndex]).attr("selected")&&void 0===this.$element.data("selected")),(w||0!==this.selectpicker.view.titleOption.index)&&y.insertBefore(this.selectpicker.view.titleOption,y.firstChild),_&&(y.selectedIndex=0)}var x=this.$element.find("option");x.each((function(u){var v=t(this);if(h++,!v.hasClass("bs-title-option")){var y,_,w=v.data(),C=this.className||"",k=f(this.style.cssText),T=w.content,D=this.textContent,I=w.tokens,S=w.subtext,E=w.icon,$=v.parent(),P=$[0],O="OPTGROUP"===P.tagName,A=O&&P.disabled,N=this.disabled||A,M=this.previousElementSibling&&"OPTGROUP"===this.previousElementSibling.tagName,z=$.data();if(!0===w.hidden||i.options.hideDisabled&&(N&&!O||A))y=w.prevHiddenIndex,v.next().data("prevHiddenIndex",void 0!==y?y:u),h--,M||void 0!==y&&(q=x[y].previousElementSibling)&&"OPTGROUP"===q.tagName&&!q.disabled&&(M=!0),M&&"divider"!==r[r.length-1].type&&(h++,s.push(p(!1,0,b.DIVIDER,a+"div")),r.push({type:"divider",optID:a}));else{if(O&&!0!==w.divider){if(i.options.hideDisabled&&N){if(void 0===z.allOptionsDisabled){var H=$.children();$.data("allOptionsDisabled",H.filter(":disabled").length===H.length)}if($.data("allOptionsDisabled"))return void h--}var L=" "+P.className||"";if(!this.previousElementSibling){a+=1;var R=P.label,W=f(R),j=z.subtext,F=z.icon;0!==u&&s.length>0&&(h++,s.push(p(!1,0,b.DIVIDER,a+"div")),r.push({type:"divider",optID:a})),h++;var B=function(t){var e,s,n=c.text.cloneNode(!1);if(n.innerHTML=t.labelEscaped,t.labelIcon){var o=c.whitespace.cloneNode(!1);(s=c.span.cloneNode(!1)).className=i.options.iconBase+" "+t.labelIcon,d.appendChild(s),d.appendChild(o)}return t.labelSubtext&&((e=c.subtext.cloneNode(!1)).textContent=t.labelSubtext,n.appendChild(e)),d.appendChild(n),d}({labelEscaped:W,labelSubtext:j,labelIcon:F});s.push(p(B,0,"dropdown-header"+L,a)),r.push({content:W,subtext:j,type:"optgroup-label",optID:a}),l=h-1}if(i.options.hideDisabled&&N||!0===w.hidden)return void h--;_=m({text:D,optionContent:T,optionSubtext:S,optionIcon:E}),s.push(p(g(_,"opt "+C+L,k),0,"",a)),r.push({content:T||D,subtext:S,tokens:I,type:"option",optID:a,headerIndex:l,lastIndex:l+P.childElementCount,originalIndex:u,data:w}),n++}else if(!0===w.divider)s.push(p(!1,0,b.DIVIDER)),r.push({type:"divider",originalIndex:u,data:w});else{var q;!M&&i.options.hideDisabled&&void 0!==(y=w.prevHiddenIndex)&&(q=x[y].previousElementSibling)&&"OPTGROUP"===q.tagName&&!q.disabled&&(M=!0),M&&"divider"!==r[r.length-1].type&&(h++,s.push(p(!1,0,b.DIVIDER,a+"div")),r.push({type:"divider",optID:a})),_=m({text:D,optionContent:T,optionSubtext:S,optionIcon:E}),s.push(p(g(_,C,k))),r.push({content:T||D,subtext:S,tokens:I,type:"option",originalIndex:u,data:w}),n++}i.selectpicker.main.map.newIndex[u]=h,i.selectpicker.main.map.originalIndex[h]=u;var U=r[r.length-1];U.disabled=N;var V=0;U.content&&(V+=U.content.length),U.subtext&&(V+=U.subtext.length),E&&(V+=1),V>o&&(o=V,e=s[s.length-1])}}})),this.selectpicker.main.elements=s,this.selectpicker.main.data=r,this.selectpicker.current=this.selectpicker.main,this.selectpicker.view.widestOption=e,this.selectpicker.view.availableOptionsCount=n},findLis:function(){return this.$menuInner.find(".inner > li")},render:function(){var t=this.$element.find("option"),e=[],i=[];this.togglePlaceholder(),this.tabIndex();for(var s=0,n=this.selectpicker.main.elements.length;s ':"";r=this.options.showSubtext&&l.subtext&&!this.multiple?' '+l.subtext+"":"",a=o.title?o.title:l.content&&this.options.showContent?l.content.toString():h+o.innerHTML.trim()+r,i.push(a)}}var c=this.multiple?i.join(this.options.multipleSeparator):i[0];if(e.length>50&&(c+="..."),this.multiple&&-1!==this.options.selectedTextFormat.indexOf("count")){var u=this.options.selectedTextFormat.split(">");if(u.length>1&&e.length>u[1]||1===u.length&&e.length>=2){var d=this.selectpicker.view.availableOptionsCount;c=("function"==typeof this.options.countSelectedText?this.options.countSelectedText(e.length,d):this.options.countSelectedText).replace("{0}",e.length.toString()).replace("{1}",d.toString())}}null==this.options.title&&(this.options.title=this.$element.attr("title")),"static"==this.options.selectedTextFormat&&(c=this.options.title),c||(c=void 0!==this.options.title?this.options.title:this.options.noneSelectedText),this.$button[0].title=g(c.replace(/<[^>]*>?/g,"").trim()),this.$button.find(".filter-option-inner-inner")[0].innerHTML=c,this.$element.trigger("rendered.bs.select")},setStyle:function(t,e){this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,""));var i=t||this.options.style;"add"==e?this.$button.addClass(i):"remove"==e?this.$button.removeClass(i):(this.$button.removeClass(this.options.style),this.$button.addClass(i))},liHeight:function(e){if(e||!1!==this.options.size&&!this.sizeInfo){this.sizeInfo||(this.sizeInfo={});var i=document.createElement("div"),s=document.createElement("div"),n=document.createElement("div"),o=document.createElement("ul"),r=document.createElement("li"),a=document.createElement("li"),l=document.createElement("li"),h=document.createElement("a"),c=document.createElement("span"),d=this.options.header&&this.$menu.find("."+b.POPOVERHEADER).length>0?this.$menu.find("."+b.POPOVERHEADER)[0].cloneNode(!0):null,p=this.options.liveSearch?document.createElement("div"):null,f=this.options.actionsBox&&this.multiple&&this.$menu.find(".bs-actionsbox").length>0?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,g=this.options.doneButton&&this.multiple&&this.$menu.find(".bs-donebutton").length>0?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null;if(this.sizeInfo.selectWidth=this.$newElement[0].offsetWidth,c.className="text",h.className="dropdown-item "+this.$element.find("option")[0].className,i.className=this.$menu[0].parentNode.className+" "+b.SHOW,i.style.width=this.sizeInfo.selectWidth+"px","auto"===this.options.width&&(s.style.minWidth=0),s.className=b.MENU+" "+b.SHOW,n.className="inner "+b.SHOW,o.className=b.MENU+" inner "+("4"===v.major?b.SHOW:""),r.className=b.DIVIDER,a.className="dropdown-header",c.appendChild(document.createTextNode("Inner text")),h.appendChild(c),l.appendChild(h),a.appendChild(c.cloneNode(!0)),this.selectpicker.view.widestOption&&o.appendChild(this.selectpicker.view.widestOption.cloneNode(!0)),o.appendChild(l),o.appendChild(r),o.appendChild(a),d&&s.appendChild(d),p){var m=document.createElement("input");p.className="bs-searchbox",m.className="form-control",p.appendChild(m),s.appendChild(p)}f&&s.appendChild(f),n.appendChild(o),s.appendChild(n),g&&s.appendChild(g),i.appendChild(s),document.body.appendChild(i);var y,_=h.offsetHeight,w=a?a.offsetHeight:0,x=d?d.offsetHeight:0,C=p?p.offsetHeight:0,k=f?f.offsetHeight:0,T=g?g.offsetHeight:0,D=t(r).outerHeight(!0),I=!!window.getComputedStyle&&window.getComputedStyle(s),S=s.offsetWidth,E=I?null:t(s),$={vert:u(I?I.paddingTop:E.css("paddingTop"))+u(I?I.paddingBottom:E.css("paddingBottom"))+u(I?I.borderTopWidth:E.css("borderTopWidth"))+u(I?I.borderBottomWidth:E.css("borderBottomWidth")),horiz:u(I?I.paddingLeft:E.css("paddingLeft"))+u(I?I.paddingRight:E.css("paddingRight"))+u(I?I.borderLeftWidth:E.css("borderLeftWidth"))+u(I?I.borderRightWidth:E.css("borderRightWidth"))},P={vert:$.vert+u(I?I.marginTop:E.css("marginTop"))+u(I?I.marginBottom:E.css("marginBottom"))+2,horiz:$.horiz+u(I?I.marginLeft:E.css("marginLeft"))+u(I?I.marginRight:E.css("marginRight"))+2};n.style.overflowY="scroll",y=s.offsetWidth-S,document.body.removeChild(i),this.sizeInfo.liHeight=_,this.sizeInfo.dropdownHeaderHeight=w,this.sizeInfo.headerHeight=x,this.sizeInfo.searchHeight=C,this.sizeInfo.actionsHeight=k,this.sizeInfo.doneButtonHeight=T,this.sizeInfo.dividerHeight=D,this.sizeInfo.menuPadding=$,this.sizeInfo.menuExtras=P,this.sizeInfo.menuWidth=S,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth,this.sizeInfo.scrollBarWidth=y,this.sizeInfo.selectHeight=this.$newElement[0].offsetHeight,this.setPositionData()}},getSelectPosition:function(){var e,i=t(window),s=this.$newElement.offset(),n=t(this.options.container);this.options.container&&!n.is("body")?((e=n.offset()).top+=parseInt(n.css("borderTopWidth")),e.left+=parseInt(n.css("borderLeftWidth"))):e={top:0,left:0};var o=this.options.windowPadding;this.sizeInfo.selectOffsetTop=s.top-e.top-i.scrollTop(),this.sizeInfo.selectOffsetBot=i.height()-this.sizeInfo.selectOffsetTop-this.sizeInfo.selectHeight-e.top-o[2],this.sizeInfo.selectOffsetLeft=s.left-e.left-i.scrollLeft(),this.sizeInfo.selectOffsetRight=i.width()-this.sizeInfo.selectOffsetLeft-this.sizeInfo.selectWidth-e.left-o[1],this.sizeInfo.selectOffsetTop-=o[0],this.sizeInfo.selectOffsetLeft-=o[3]},setMenuSize:function(t){this.getSelectPosition();var e,i,s,n,o,r,a,l=this.sizeInfo.selectWidth,h=this.sizeInfo.liHeight,c=this.sizeInfo.headerHeight,u=this.sizeInfo.searchHeight,d=this.sizeInfo.actionsHeight,p=this.sizeInfo.doneButtonHeight,f=this.sizeInfo.dividerHeight,g=this.sizeInfo.menuPadding,m=0;if(this.options.dropupAuto&&(a=h*this.selectpicker.current.elements.length+g.vert,this.$newElement.toggleClass(b.DROPUP,this.sizeInfo.selectOffsetTop-this.sizeInfo.selectOffsetBot>this.sizeInfo.menuExtras.vert&&a+this.sizeInfo.menuExtras.vert+50>this.sizeInfo.selectOffsetBot)),"auto"===this.options.size)n=this.selectpicker.current.elements.length>3?3*this.sizeInfo.liHeight+this.sizeInfo.menuExtras.vert-2:0,i=this.sizeInfo.selectOffsetBot-this.sizeInfo.menuExtras.vert,s=n+c+u+d+p,r=Math.max(n-g.vert,0),this.$newElement.hasClass(b.DROPUP)&&(i=this.sizeInfo.selectOffsetTop-this.sizeInfo.menuExtras.vert),o=i,e=i-c-u-d-p-g.vert;else if(this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size){for(var v=0;vthis.sizeInfo.selectOffsetRight&&this.sizeInfo.selectOffsetRightthis.sizeInfo.menuInnerHeight&&(this.sizeInfo.hasScrollBar=!0,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth+this.sizeInfo.scrollBarWidth,this.$menu.css("min-width",this.sizeInfo.totalMenuWidth)),this.dropdown&&this.dropdown._popper&&this.dropdown._popper.update()},setSize:function(e){if(this.liHeight(e),this.options.header&&this.$menu.css("padding-top",0),!1!==this.options.size){var i,s=this,n=t(window),o=0;this.setMenuSize(),"auto"===this.options.size?(this.$searchbox.off("input.setMenuSize propertychange.setMenuSize").on("input.setMenuSize propertychange.setMenuSize",(function(){return s.setMenuSize()})),n.off("resize.setMenuSize scroll.setMenuSize").on("resize.setMenuSize scroll.setMenuSize",(function(){return s.setMenuSize()}))):this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size&&(this.$searchbox.off("input.setMenuSize propertychange.setMenuSize"),n.off("resize.setMenuSize scroll.setMenuSize")),e?o=this.$menuInner[0].scrollTop:s.multiple||"number"==typeof(i=s.selectpicker.main.map.newIndex[s.$element[0].selectedIndex])&&!1!==s.options.size&&(o=(o=s.sizeInfo.liHeight*i)-s.sizeInfo.menuInnerHeight/2+s.sizeInfo.liHeight/2),s.createView(!1,o)}},setWidth:function(){var t=this;"auto"===this.options.width?requestAnimationFrame((function(){t.$menu.css("min-width","0"),t.liHeight(),t.setMenuSize();var e=t.$newElement.clone().appendTo("body"),i=e.css("width","auto").children("button").outerWidth();e.remove(),t.sizeInfo.selectWidth=Math.max(t.sizeInfo.totalMenuWidth,i),t.$newElement.css("width",t.sizeInfo.selectWidth+"px")})):"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width","")),this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement.removeClass("fit-width")},selectPosition:function(){this.$bsContainer=t('
');var e,i,s,n=this,o=t(this.options.container),r=function(r){var a={},l=n.options.display||t.fn.dropdown.Constructor.Default.display;n.$bsContainer.addClass(r.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass(b.DROPUP,r.hasClass(b.DROPUP)),e=r.offset(),o.is("body")?i={top:0,left:0}:((i=o.offset()).top+=parseInt(o.css("borderTopWidth"))-o.scrollTop(),i.left+=parseInt(o.css("borderLeftWidth"))-o.scrollLeft()),s=r.hasClass(b.DROPUP)?0:r[0].offsetHeight,(v.major<4||"static"===l)&&(a.top=e.top-i.top+s,a.left=e.left-i.left),a.width=r[0].offsetWidth,n.$bsContainer.css(a)};this.$button.on("click.bs.dropdown.data-api",(function(){n.isDisabled()||(r(n.$newElement),n.$bsContainer.appendTo(n.options.container).toggleClass(b.SHOW,!n.$button.hasClass(b.SHOW)).append(n.$menu))})),t(window).on("resize scroll",(function(){r(n.$newElement)})),this.$element.on("hide.bs.select",(function(){n.$menu.data("height",n.$menu.height()),n.$bsContainer.detach()}))},setOptionStatus:function(){var t=this.$element.find("option");if(this.noScroll=!1,this.selectpicker.view.visibleElements&&this.selectpicker.view.visibleElements.length)for(var e=0;e3&&!e.dropdown&&(e.dropdown=e.$button.data("bs.dropdown"),e.dropdown._menu=e.$menu[0])})),this.$button.on("click.bs.dropdown.data-api",(function(){e.$newElement.hasClass(b.SHOW)||e.setSize()})),this.$element.on("shown.bs.select",(function(){e.$menuInner[0].scrollTop!==e.selectpicker.view.scrollTop&&(e.$menuInner[0].scrollTop=e.selectpicker.view.scrollTop),v.major>3?requestAnimationFrame(n):s()})),this.$menuInner.on("click","li a",(function(i,s){var n=t(this),o=e.isVirtual()?e.selectpicker.view.position0:0,a=e.selectpicker.current.map.originalIndex[n.parent().index()+o],h=r(e.$element[0]),c=e.$element.prop("selectedIndex"),u=!0;if(e.multiple&&1!==e.options.maxOptions&&i.stopPropagation(),i.preventDefault(),!e.isDisabled()&&!n.parent().hasClass(b.DISABLED)){var d=e.$element.find("option"),p=d.eq(a),f=p.prop("selected"),g=p.parent("optgroup"),m=g.find("option"),v=e.options.maxOptions,y=g.data("maxOptions")||!1;if(a===e.activeIndex&&(s=!0),s||(e.prevActiveIndex=e.activeIndex,e.activeIndex=void 0),e.multiple){if(p.prop("selected",!f),e.setSelected(a,!f),n.blur(),!1!==v||!1!==y){var _=v
');T[2]&&(D=D.replace("{var}",T[2][v>1?0:1]),I=I.replace("{var}",T[2][y>1?0:1])),p.prop("selected",!1),e.$menu.append(S),v&&_&&(S.append(t("
"+D+"
")),u=!1,e.$element.trigger("maxReached.bs.select")),y&&w&&(S.append(t("
"+I+"
")),u=!1,e.$element.trigger("maxReachedGrp.bs.select")),setTimeout((function(){e.setSelected(a,!1)}),10),S.delay(750).fadeOut(300,(function(){t(this).remove()}))}}}else d.prop("selected",!1),p.prop("selected",!0),e.setSelected(a,!0);!e.multiple||e.multiple&&1===e.options.maxOptions?e.$button.focus():e.options.liveSearch&&e.$searchbox.focus(),u&&(h!=r(e.$element[0])&&e.multiple||c!=e.$element.prop("selectedIndex")&&!e.multiple)&&(l=[a,p.prop("selected"),h],e.$element.triggerNative("change"))}})),this.$menu.on("click","li."+b.DISABLED+" a, ."+b.POPOVERHEADER+", ."+b.POPOVERHEADER+" :not(.close)",(function(i){i.currentTarget==this&&(i.preventDefault(),i.stopPropagation(),e.options.liveSearch&&!t(i.target).hasClass("close")?e.$searchbox.focus():e.$button.focus())})),this.$menuInner.on("click",".divider, .dropdown-header",(function(t){t.preventDefault(),t.stopPropagation(),e.options.liveSearch?e.$searchbox.focus():e.$button.focus()})),this.$menu.on("click","."+b.POPOVERHEADER+" .close",(function(){e.$button.click()})),this.$searchbox.on("click",(function(t){t.stopPropagation()})),this.$menu.on("click",".actions-btn",(function(i){e.options.liveSearch?e.$searchbox.focus():e.$button.focus(),i.preventDefault(),i.stopPropagation(),t(this).hasClass("bs-select-all")?e.selectAll():e.deselectAll()})),this.$element.on({change:function(){e.render(),e.$element.trigger("changed.bs.select",l),l=null},focus:function(){e.$button.focus()}})},liveSearchListener:function(){var t=this,e=document.createElement("li");this.$button.on("click.bs.dropdown.data-api",(function(){t.$searchbox.val()&&t.$searchbox.val("")})),this.$searchbox.on("click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api",(function(t){t.stopPropagation()})),this.$searchbox.on("input propertychange",(function(){var i=t.$searchbox.val();if(t.selectpicker.search.map.newIndex={},t.selectpicker.search.map.originalIndex={},t.selectpicker.search.elements=[],t.selectpicker.search.data=[],i){var s=[],n=i.toUpperCase(),o={},r=[],a=t._searchStyle(),l=t.options.liveSearchNormalize;t._$lisSelected=t.$menuInner.find(".selected");for(var h=0;h0&&(o[u.headerIndex-1]=!0,r.push(u.headerIndex-1)),o[u.headerIndex]=!0,r.push(u.headerIndex),o[u.lastIndex+1]=!0),o[h]&&"optgroup-label"!==u.type&&r.push(h)}h=0;for(var d=r.length;h=48&&e.which<=57||e.which>=96&&e.which<=105||e.which>=65&&e.which<=90)&&h.$button.trigger("click.bs.dropdown.data-api"),27===e.which&&s&&(e.preventDefault(),h.$button.trigger("click.bs.dropdown.data-api").focus()),f){if(!u.length)return;void 0===(i=!0===v?u.index(u.filter(".active")):h.selectpicker.current.map.newIndex[h.activeIndex])&&(i=-1),-1!==i&&((n=h.selectpicker.current.elements[i+x]).classList.remove("active"),n.firstChild&&n.firstChild.classList.remove("active")),38===e.which?(-1!==i&&i--,i+x<0&&(i+=u.length),h.selectpicker.view.canHighlight[i+x]||-1==(i=h.selectpicker.view.canHighlight.slice(0,i+x).lastIndexOf(!0)-x)&&(i=u.length-1)):(40===e.which||p)&&(++i+x>=h.selectpicker.view.canHighlight.length&&(i=0),h.selectpicker.view.canHighlight[i+x]||(i=i+1+h.selectpicker.view.canHighlight.slice(i+x+1).indexOf(!0))),e.preventDefault();var C=x+i;38===e.which?0===x&&i===u.length-1?(h.$menuInner[0].scrollTop=h.$menuInner[0].scrollHeight,C=h.selectpicker.current.elements.length-1):d=(r=(o=h.selectpicker.current.data[C]).position-o.height)g),(n=h.selectpicker.current.elements[C])&&(n.classList.add("active"),n.firstChild&&n.firstChild.classList.add("active")),h.activeIndex=h.selectpicker.current.map.originalIndex[C],h.selectpicker.view.currentActive=n,d&&(h.$menuInner[0].scrollTop=r),h.options.liveSearch?h.$searchbox.focus():a.focus()}else if(!a.is("input")&&!w.test(e.which)||32===e.which&&h.selectpicker.keydown.keyHistory){var k,T,D=[];e.preventDefault(),h.selectpicker.keydown.keyHistory+=m[e.which],h.selectpicker.keydown.resetKeyHistory.cancel&&clearTimeout(h.selectpicker.keydown.resetKeyHistory.cancel),h.selectpicker.keydown.resetKeyHistory.cancel=h.selectpicker.keydown.resetKeyHistory.start(),T=h.selectpicker.keydown.keyHistory,/^(.)\1+$/.test(T)&&(T=T.charAt(0));for(var I=0;I0?(r=o.position-o.height,d=!0):(r=o.position-h.sizeInfo.menuInnerHeight,d=o.position>g+h.sizeInfo.menuInnerHeight),(n=h.selectpicker.current.elements[k]).classList.add("active"),n.firstChild&&n.firstChild.classList.add("active"),h.activeIndex=D[E],n.firstChild.focus(),d&&(h.$menuInner[0].scrollTop=r),a.focus()}}s&&(32===e.which&&!h.selectpicker.keydown.keyHistory||13===e.which||9===e.which&&h.options.selectOnTab)&&(32!==e.which&&e.preventDefault(),h.options.liveSearch&&32===e.which||(h.$menuInner.find(".active a").trigger("click",!0),a.focus(),h.options.liveSearch||(e.preventDefault(),t(document).data("spaceSelect",!0))))},mobile:function(){this.$element.addClass("mobile-device")},refresh:function(){var e=t.extend({},this.options,this.$element.data());this.options=e,this.selectpicker.main.map.newIndex={},this.selectpicker.main.map.originalIndex={},this.createLi(),this.checkDisabled(),this.render(),this.setStyle(),this.setWidth(),this.setSize(!0),this.$element.trigger("refreshed.bs.select")},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),this.$bsContainer?this.$bsContainer.remove():this.$menu.remove(),this.$element.off(".bs.select").removeData("selectpicker").removeClass("bs-select-hidden selectpicker")}};var k=t.fn.selectpicker;t.fn.selectpicker=C,t.fn.selectpicker.Constructor=x,t.fn.selectpicker.noConflict=function(){return t.fn.selectpicker=k,this},t(document).off("keydown.bs.dropdown.data-api").on("keydown.bs.select",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bs-searchbox input',x.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bs-searchbox input',(function(t){t.stopPropagation()})),t(window).on("load.bs.select.data-api",(function(){t(".selectpicker").each((function(){var e=t(this);C.call(e,e.data())}))}))}(t)})),function(t){if(!t.hasInitialised){var e={escapeRegExp:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},hasClass:function(t,e){var i=" ";return 1===t.nodeType&&(i+t.className+i).replace(/[\n\t]/g,i).indexOf(i+e+i)>=0},addClass:function(t,e){t.className+=" "+e},removeClass:function(t,e){var i=new RegExp("\\b"+this.escapeRegExp(e)+"\\b");t.className=t.className.replace(i,"")},interpolateString:function(t,e){return t.replace(/{{([a-z][a-z0-9\-_]*)}}/gi,(function(t){return e(arguments[1])||""}))},getCookie:function(t){var e=("; "+document.cookie).split("; "+t+"=");return 2!=e.length?void 0:e.pop().split(";").shift()},setCookie:function(t,e,i,s,n){var o=new Date;o.setDate(o.getDate()+(i||365));var r=[t+"="+e,"expires="+o.toUTCString(),"path="+(n||"/")];s&&r.push("domain="+s),document.cookie=r.join(";")},deepExtend:function(t,e){for(var i in e)e.hasOwnProperty(i)&&(i in t&&this.isPlainObject(t[i])&&this.isPlainObject(e[i])?this.deepExtend(t[i],e[i]):t[i]=e[i]);return t},throttle:function(t,e){var i=!1;return function(){i||(t.apply(this,arguments),i=!0,setTimeout((function(){i=!1}),e))}},hash:function(t){var e,i,s=0;if(0===t.length)return s;for(e=0,i=t.length;e=128?"#000":"#fff"},getLuminance:function(t){var e=parseInt(this.normaliseHex(t),16),i=38+(e>>16),s=38+(e>>8&255),n=38+(255&e);return"#"+(16777216+65536*(i<255?i<1?0:i:255)+256*(s<255?s<1?0:s:255)+(n<255?n<1?0:n:255)).toString(16).slice(1)},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(t){return"object"==typeof t&&null!==t&&t.constructor==Object}};t.status={deny:"deny",allow:"allow",dismiss:"dismiss"},t.transitionEnd=function(){var t=document.createElement("div"),e={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"};for(var i in e)if(e.hasOwnProperty(i)&&void 0!==t.style[i+"ransition"])return e[i];return""}(),t.hasTransition=!!t.transitionEnd;var i=Object.keys(t.status).map(e.escapeRegExp);t.customStyles={},t.Popup=function(){function s(){this.initialise.apply(this,arguments)}function n(t){this.openingTimeout=null,e.removeClass(t,"cc-invisible")}function o(e){e.style.display="none",e.removeEventListener(t.transitionEnd,this.afterTransition),this.afterTransition=null}function r(){var e=this.options.onInitialise.bind(this);if(!window.navigator.cookieEnabled)return e(t.status.deny),!0;if(window.CookiesOK||window.navigator.CookiesOK)return e(t.status.allow),!0;var i=Object.keys(t.status),s=this.getStatus(),n=i.indexOf(s)>=0;return n&&e(s),n}function a(){var t=this.options.position.split("-"),e=[];return t.forEach((function(t){e.push("cc-"+t)})),e}function l(){var t=this.options,i="top"==t.position||"bottom"==t.position?"banner":"floating";e.isMobile()&&(i="floating");var s=["cc-"+i,"cc-type-"+t.type,"cc-theme-"+t.theme];return t.static&&s.push("cc-static"),s.push.apply(s,a.call(this)),d.call(this,this.options.palette),this.customStyleSelector&&s.push(this.customStyleSelector),s}function h(){var t={},i=this.options;i.showLink||(i.elements.link="",i.elements.messagelink=i.elements.message),Object.keys(i.elements).forEach((function(s){t[s]=e.interpolateString(i.elements[s],(function(t){var e=i.content[t];return t&&"string"==typeof e&&e.length?e:""}))}));var s=i.compliance[i.type];s||(s=i.compliance.info),t.compliance=e.interpolateString(s,(function(e){return t[e]}));var n=i.layouts[i.layout];return n||(n=i.layouts.basic),e.interpolateString(n,(function(e){return t[e]}))}function c(i){var s=this.options,n=document.createElement("div"),o=s.container&&1===s.container.nodeType?s.container:document.body;n.innerHTML=i;var r=n.children[0];return r.style.display="none",e.hasClass(r,"cc-window")&&t.hasTransition&&e.addClass(r,"cc-invisible"),this.onButtonClick=u.bind(this),r.addEventListener("click",this.onButtonClick),s.autoAttach&&(o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r)),r}function u(s){var n=s.target;if(e.hasClass(n,"cc-btn")){var o=n.className.match(new RegExp("\\bcc-("+i.join("|")+")\\b")),r=o&&o[1]||!1;r&&(this.setStatus(r),this.close(!0))}e.hasClass(n,"cc-close")&&(this.setStatus(t.status.dismiss),this.close(!0)),e.hasClass(n,"cc-revoke")&&this.revokeChoice()}function d(t){var i=e.hash(JSON.stringify(t)),s="cc-color-override-"+i,n=e.isPlainObject(t);return this.customStyleSelector=n?s:null,n&&p(i,t,"."+s),n}function p(i,s,n){if(t.customStyles[i])++t.customStyles[i].references;else{var o={},r=s.popup,a=s.button,l=s.highlight;r&&(r.text=r.text?r.text:e.getContrast(r.background),r.link=r.link?r.link:r.text,o[n+".cc-window"]=["color: "+r.text,"background-color: "+r.background],o[n+".cc-revoke"]=["color: "+r.text,"background-color: "+r.background],o[n+" .cc-link,"+n+" .cc-link:active,"+n+" .cc-link:visited"]=["color: "+r.link],a&&(a.text=a.text?a.text:e.getContrast(a.background),a.border=a.border?a.border:"transparent",o[n+" .cc-btn"]=["color: "+a.text,"border-color: "+a.border,"background-color: "+a.background],"transparent"!=a.background&&(o[n+" .cc-btn:hover, "+n+" .cc-btn:focus"]=["background-color: "+f(a.background)]),l?(l.text=l.text?l.text:e.getContrast(l.background),l.border=l.border?l.border:"transparent",o[n+" .cc-highlight .cc-btn:first-child"]=["color: "+l.text,"border-color: "+l.border,"background-color: "+l.background]):o[n+" .cc-highlight .cc-btn:first-child"]=["color: "+r.text]));var h=document.createElement("style");document.head.appendChild(h),t.customStyles[i]={references:1,element:h.sheet};var c=-1;for(var u in o)o.hasOwnProperty(u)&&h.sheet.insertRule(u+"{"+o[u].join(";")+"}",++c)}}function f(t){return"000000"==(t=e.normaliseHex(t))?"#222":e.getLuminance(t)}function g(t,e){for(var i=0,s=t.length;i=0&&(this.dismissTimeout=window.setTimeout((function(){e(t.status.dismiss)}),Math.floor(i)));var s=this.options.dismissOnScroll;if("number"==typeof s&&s>=0){var n=function(i){window.pageYOffset>Math.floor(s)&&(e(t.status.dismiss),window.removeEventListener("scroll",n),this.onWindowScroll=null)};this.onWindowScroll=n,window.addEventListener("scroll",n)}}function v(){if("info"!=this.options.type&&(this.options.revokable=!0),e.isMobile()&&(this.options.animateRevokable=!1),this.options.revokable){var t=a.call(this);this.options.animateRevokable&&t.push("cc-animate"),this.customStyleSelector&&t.push(this.customStyleSelector);var i=this.options.revokeBtn.replace("{{classes}}",t.join(" "));this.revokeBtn=c.call(this,i);var s=this.revokeBtn;if(this.options.animateRevokable){var n=e.throttle((function(t){var i=!1,n=window.innerHeight-20;e.hasClass(s,"cc-top")&&t.clientY<20&&(i=!0),e.hasClass(s,"cc-bottom")&&t.clientY>n&&(i=!0),i?e.hasClass(s,"cc-active")||e.addClass(s,"cc-active"):e.hasClass(s,"cc-active")&&e.removeClass(s,"cc-active")}),200);this.onMouseMove=n,window.addEventListener("mousemove",n)}}}var b={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"",expiryDays:365},onPopupOpen:function(){},onPopupClose:function(){},onInitialise:function(t){},onStatusChange:function(t,e){},onRevokeChoice:function(){},content:{header:"Cookies used on the website!",message:"This website uses cookies to ensure you get the best experience on our website.",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",link:"Learn more",href:"http://cookiesandyou.com",close:"❌"},elements:{header:'{{header}} ',message:'{{message}}',messagelink:'{{message}} {{link}}',dismiss:'{{dismiss}}',allow:'{{allow}}',deny:'{{deny}}',link:'{{link}}',close:'{{close}}'},window:'',revokeBtn:'
Cookie Policy
',compliance:{info:'
{{dismiss}}
',"opt-in":'
{{dismiss}}{{allow}}
',"opt-out":'
{{deny}}{{dismiss}}
'},type:"info",layouts:{basic:"{{messagelink}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}"},layout:"basic",position:"bottom",theme:"block",static:!1,palette:null,revokable:!1,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,autoOpen:!0,autoAttach:!0,whitelistPage:[],blacklistPage:[],overrideHTML:null};return s.prototype.initialise=function(t){this.options&&this.destroy(),e.deepExtend(this.options={},b),e.isPlainObject(t)&&e.deepExtend(this.options,t),r.call(this)&&(this.options.enabled=!1),g(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1),g(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);var i=this.options.window.replace("{{classes}}",l.call(this).join(" ")).replace("{{children}}",h.call(this)),s=this.options.overrideHTML;if("string"==typeof s&&s.length&&(i=s),this.options.static){var n=c.call(this,'
'+i+"
");n.style.display="",this.element=n.firstChild,this.element.style.display="none",e.addClass(this.element,"cc-invisible")}else this.element=c.call(this,i);m.call(this),v.call(this),this.options.autoOpen&&this.autoOpen()},s.prototype.destroy=function(){this.onButtonClick&&this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.onButtonClick=null),this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null),this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null),this.onMouseMove&&(window.removeEventListener("mousemove",this.onMouseMove),this.onMouseMove=null),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=null,this.revokeBtn&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn),this.revokeBtn=null,function(i){if(e.isPlainObject(i)){var s=e.hash(JSON.stringify(i)),n=t.customStyles[s];if(n&&!--n.references){var o=n.element.ownerNode;o&&o.parentNode&&o.parentNode.removeChild(o),t.customStyles[s]=null}}}(this.options.palette),this.options=null},s.prototype.open=function(e){if(this.element)return this.isOpen()||(t.hasTransition?this.fadeIn():this.element.style.display="",this.options.revokable&&this.toggleRevokeButton(),this.options.onPopupOpen.call(this)),this},s.prototype.close=function(e){if(this.element)return this.isOpen()&&(t.hasTransition?this.fadeOut():this.element.style.display="none",e&&this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},s.prototype.fadeIn=function(){var i=this.element;if(t.hasTransition&&i&&(this.afterTransition&&o.call(this,i),e.hasClass(i,"cc-invisible"))){if(i.style.display="",this.options.static){var s=this.element.clientHeight;this.element.parentNode.style.maxHeight=s+"px"}this.openingTimeout=setTimeout(n.bind(this,i),20)}},s.prototype.fadeOut=function(){var i=this.element;t.hasTransition&&i&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),n.bind(this,i)),e.hasClass(i,"cc-invisible")||(this.options.static&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=o.bind(this,i),i.addEventListener(t.transitionEnd,this.afterTransition),e.addClass(i,"cc-invisible")))},s.prototype.isOpen=function(){return this.element&&""==this.element.style.display&&(!t.hasTransition||!e.hasClass(this.element,"cc-invisible"))},s.prototype.toggleRevokeButton=function(t){this.revokeBtn&&(this.revokeBtn.style.display=t?"":"none")},s.prototype.revokeChoice=function(t){this.options.enabled=!0,this.clearStatus(),this.options.onRevokeChoice.call(this),t||this.autoOpen()},s.prototype.hasAnswered=function(e){return Object.keys(t.status).indexOf(this.getStatus())>=0},s.prototype.hasConsented=function(e){var i=this.getStatus();return i==t.status.allow||i==t.status.dismiss},s.prototype.autoOpen=function(t){!this.hasAnswered()&&this.options.enabled&&this.open()},s.prototype.setStatus=function(i){var s=this.options.cookie,n=e.getCookie(s.name),o=Object.keys(t.status).indexOf(n)>=0;Object.keys(t.status).indexOf(i)>=0?(e.setCookie(s.name,i,s.expiryDays,s.domain,s.path),this.options.onStatusChange.call(this,i,o)):this.clearStatus()},s.prototype.getStatus=function(){return e.getCookie(this.options.cookie.name)},s.prototype.clearStatus=function(){var t=this.options.cookie;e.setCookie(t.name,"",-1,t.domain,t.path)},s}(),t.Location=function(){function t(t){e.deepExtend(this.options={},o),e.isPlainObject(t)&&e.deepExtend(this.options,t),this.currentServiceIndex=-1}function i(t,e,i){var s,n=document.createElement("script");n.type="text/"+(t.type||"javascript"),n.src=t.src||t,n.async=!1,n.onreadystatechange=n.onload=function(){var t=n.readyState;clearTimeout(s),e.done||t&&!/loaded|complete/.test(t)||(e.done=!0,e(),n.onreadystatechange=n.onload=null)},document.body.appendChild(n),s=setTimeout((function(){e.done=!0,e(),n.onreadystatechange=n.onload=null}),i)}function s(t,e,i,s,n){var o=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0");if(o.open(s?"POST":"GET",t,1),o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(n))for(var r=0,a=n.length;r3&&e(o)}),o.send(s)}function n(t){return new Error("Error ["+(t.code||"UNKNOWN")+"]: "+t.error)}var o={timeout:5e3,services:["freegeoip","ipinfo","maxmind"],serviceDefinitions:{freegeoip:function(){return{url:"//freegeoip.net/json/?callback={callback}",isScript:!0,callback:function(t,e){try{var i=JSON.parse(e);return i.error?n(i):{code:i.country_code}}catch(t){return n({error:"Invalid response ("+t+")"})}}}},ipinfo:function(){return{url:"//ipinfo.io",headers:["Accept: application/json"],callback:function(t,e){try{var i=JSON.parse(e);return i.error?n(i):{code:i.country}}catch(t){return n({error:"Invalid response ("+t+")"})}}}},ipinfodb:function(t){return{url:"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}",isScript:!0,callback:function(t,e){try{var i=JSON.parse(e);return"ERROR"==i.statusCode?n({error:i.statusMessage}):{code:i.countryCode}}catch(t){return n({error:"Invalid response ("+t+")"})}}}},maxmind:function(){return{url:"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js",isScript:!0,callback:function(t){return window.geoip2?void geoip2.country((function(e){try{t({code:e.country.iso_code})}catch(e){t(n(e))}}),(function(e){t(n(e))})):void t(new Error("Unexpected response format. The downloaded script should have exported `geoip2` to the global scope"))}}}}};return t.prototype.getNextService=function(){var t;do{t=this.getServiceByIdx(++this.currentServiceIndex)}while(this.currentServiceIndex=0,revokable:e.revokable.indexOf(t)>=0,explicitAction:e.explicitAction.indexOf(t)>=0}},t.prototype.applyLaw=function(t,e){var i=this.get(e);return i.hasLaw||(t.enabled=!1),this.options.regionalLaw&&(i.revokable&&(t.revokable=!0),i.explicitAction&&(t.dismissOnScroll=!1,t.dismissOnTimeout=!1)),t},t}(),t.initialise=function(e,i,s){var n=new t.Law(e.law);i||(i=function(){}),s||(s=function(){}),t.getCountryCode(e,(function(s){delete e.law,delete e.location,s.code&&(e=n.applyLaw(e,s.code)),i(new t.Popup(e))}),(function(i){delete e.law,delete e.location,s(i,new t.Popup(e))}))},t.getCountryCode=function(e,i,s){e.law&&e.law.countryCode?i({code:e.law.countryCode}):e.location?new t.Location(e.location).locate((function(t){i(t||{})}),s):i({})},t.utils=e,t.hasInitialised=!0,window.cookieconsent=t}}(window.cookieconsent||{}),function(t,e,i,s){function n(e,i){this.settings=null,this.options=t.extend({},n.Defaults,i),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy((function(e,i){this._handlers[i]=t.proxy(this[i],this)}),this)),t.each(n.Plugins,t.proxy((function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)}),this)),t.each(n.Workers,t.proxy((function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})}),this)),this.setup(),this.initialize()}n.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},n.Width={Default:"default",Inner:"inner",Outer:"outer"},n.Type={Event:"event",State:"state"},n.Plugins={},n.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,s=this.settings.rtl,n={width:"auto","margin-left":s?e:"","margin-right":s?"":e};!i&&this.$stage.children().css(n),t.css=n}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,s=this._items.length,n=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};s--;)i=this._mergers[s],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=1",a)||this.op(e,"<",r)&&this.op(e,">",a))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],n.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(t("
",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},n.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");if(e.length)return this._items=e.get().map((function(e){return t(e)})),this._mergers=this._items.map((function(){return 1})),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},n.prototype.initialize=function(){var t,e,i;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:s,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t)),this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},n.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},n.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,s=-1,n=null;i?(t.each(i,(function(t){t<=e&&s").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},n.prototype.update=function(){for(var e=0,i=this._pipe.length,s=t.proxy((function(t){return this[t] -}),this._invalidated),n={};e",r[t+1]!==s?r[t+1]:a-o)&&(n="left"===i?t+1:t),-1===n}),this)),this.settings.loop||(this.op(e,">",r[this.minimum()])?n=e=this.minimum():this.op(e,"<",r[this.maximum()])&&(n=e=this.maximum())),n},n.prototype.animate=function(e){var i=0r/2&&(n+=-1*o*r),(s=(((t=i+n)-a)%r+r)%r+a)!==t&&s-n<=l&&0":return s?t=":return s?t<=i:i<=t;case"<=":return s?i<=t:t<=i}},n.prototype.on=function(t,e,i,s){t.addEventListener?t.addEventListener(e,i,s):t.attachEvent&&t.attachEvent("on"+e,i)},n.prototype.off=function(t,e,i,s){t.removeEventListener?t.removeEventListener(e,i,s):t.detachEvent&&t.detachEvent("on"+e,i)},n.prototype.trigger=function(e,i,s,o,r){var a={item:{count:this._items.length,index:this.current()}},l=t.camelCase(t.grep(["on",e,s],(function(t){return t})).join("-").toLowerCase()),h=t.Event([e,"owl",s||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,i));return this._supress[e]||(t.each(this._plugins,(function(t,e){e.onTrigger&&e.onTrigger(h)})),this.register({type:n.Type.Event,name:e}),this.$element.trigger(h),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,h)),h},n.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]===s&&(this._states.current[e]=0),this._states.current[e]++}),this))},n.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]--}),this))},n.prototype.register=function(e){if(e.type===n.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&-1
',s=h.lazyLoad?t("
",{class:"owl-video-tn "+l,srcType:i}):t("
",{class:"owl-video-tn",style:"opacity:1;background-image:url("+i+")"}),e.after(s),e.after('
')};if(e.wrap(t("
",{class:"owl-video-wrapper",style:o})),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),r.length)return c(r.attr(a)),r.remove(),!1;"youtube"===i.type?(n="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",c(n)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t[0].thumbnail_large,c(n)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t.framegrab_url,c(n)}})},n.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},n.prototype.play=function(e){var i,s=t(e.target).closest("."+this._core.settings.itemClass),n=this._videos[s.attr("data-video")],o=n.width||"100%",r=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),s=this._core.items(this._core.relative(s.index())),this._core.reset(s.index()),(i=t('')).attr("height",r),i.attr("width",o),"youtube"===n.type?i.attr("src","//www.youtube.com/embed/"+n.id+"?autoplay=1&rel=0&v="+n.id):"vimeo"===n.type?i.attr("src","//player.vimeo.com/video/"+n.id+"?autoplay=1"):"vzaar"===n.type&&i.attr("src","//view.vzaar.com/"+n.id+"/player?autoplay=true"),t(i).wrap('
').insertAfter(s.find(".owl-video")),this._playing=s.addClass("owl-video-playing"))},n.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},n.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this.core=e,this.core.options=t.extend({},n.Defaults,this.core.options),this.swapping=!0,this.previous=s,this.next=s,this.handlers={"change.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)}),this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy((function(t){t.namespace&&(this.swapping="translated"==t.type)}),this),"translate.owl.carousel":t.proxy((function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()}),this)},this.core.$element.on(this.handlers)};n.Defaults={animateOut:!1,animateIn:!1},n.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),s=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,r=this.core.settings.animateOut;this.core.current()!==this.previous&&(r&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),s.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(r)),o&&n.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(o))}},n.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":t.proxy((function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoplay&&this.play()}),this),"play.owl.autoplay":t.proxy((function(t,e,i){t.namespace&&this.play(e,i)}),this),"stop.owl.autoplay":t.proxy((function(t){t.namespace&&this.stop()}),this),"mouseover.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"mouseleave.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()}),this),"touchstart.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"touchend.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this.play()}),this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},n.Defaults,this._core.options)};n.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},n.prototype._next=function(s){this._call=e.setTimeout(t.proxy(this._next,this,s),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||i.hidden||this._core.next(s||this._core.settings.autoplaySpeed)},n.prototype.read=function(){return(new Date).getTime()-this._time},n.prototype.play=function(i,s){var n;this._core.is("rotating")||this._core.enter("rotating"),i=i||this._core.settings.autoplayTimeout,n=Math.min(this._time%(this._timeout||i),i),this._paused?(this._time=this.read(),this._paused=!1):e.clearTimeout(this._call),this._time+=this.read()%i-n,this._timeout=i,this._call=e.setTimeout(t.proxy(this._next,this,s),i-n)},n.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,e.clearTimeout(this._call),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,e.clearTimeout(this._call))},n.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){"use strict";var n=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy((function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('
'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")}),this),"added.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())}),this),"remove.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&this.draw()}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers)};n.Defaults={nav:!1,navText:['',''],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},n.prototype.initialize=function(){var e,i=this._core.settings;for(e in this._controls.$relative=(i.navContainer?t(i.navContainer):t("
").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy((function(t){this.prev(i.navSpeed)}),this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy((function(t){this.next(i.navSpeed)}),this)),i.dotsData||(this._templates=[t('