Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md4
-rwxr-xr-xconfig/global.ini.php10
-rw-r--r--core/API/Proxy.php2
-rw-r--r--core/API/Request.php4
-rw-r--r--core/Access/RolesProvider.php2
-rw-r--r--core/Archive/Chunk.php4
-rw-r--r--core/AssetManager.php2
-rw-r--r--core/Category/Category.php4
-rw-r--r--core/Category/CategoryList.php4
-rw-r--r--core/Category/Subcategory.php6
-rw-r--r--core/Columns/Dimension.php4
-rw-r--r--core/Common.php4
-rw-r--r--core/CronArchive.php4
-rw-r--r--core/DataAccess/LogAggregator.php4
-rw-r--r--core/DataTable/Manager.php4
-rw-r--r--core/Filesystem.php2
-rw-r--r--core/Intl/Data/Resources/languages-to-countries.php2
-rw-r--r--core/Notification.php2
-rw-r--r--core/Option.php2
-rw-r--r--core/Plugin/Segment.php2
-rw-r--r--core/Plugin/ViewDataTable.php4
-rw-r--r--core/RankingQuery.php4
-rw-r--r--core/Report/ReportWidgetConfig.php4
-rw-r--r--core/Scheduler/Scheduler.php2
-rw-r--r--core/Tracker/LogTable.php2
-rw-r--r--core/Tracker/Request.php2
-rw-r--r--core/Tracker/Settings.php2
-rw-r--r--core/Tracker/TrackerCodeGenerator.php2
-rw-r--r--core/Translation/Transifex/API.php2
-rw-r--r--core/Updater.php2
-rw-r--r--core/Updates.php2
-rw-r--r--core/Updates/2.10.0-b5.php2
-rw-r--r--core/Url.php2
-rw-r--r--core/View/UIControl.php4
-rw-r--r--core/ViewDataTable/Config.php4
-rw-r--r--core/ViewDataTable/RequestConfig.php2
-rw-r--r--core/Widget/WidgetConfig.php8
-rw-r--r--core/bootstrap.php2
-rw-r--r--js/piwik.js12
-rw-r--r--js/piwik.min.js44
-rw-r--r--matomo.js44
-rw-r--r--piwik.js44
-rw-r--r--plugins/API/API.php2
-rw-r--r--plugins/API/ProcessedReport.php2
-rw-r--r--plugins/API/WidgetMetadata.php4
-rw-r--r--plugins/Actions/Columns/ActionType.php2
-rw-r--r--plugins/Annotations/javascripts/annotations.js2
-rw-r--r--plugins/CoreHome/Controller.php2
-rw-r--r--plugins/CoreHome/DataTableRowAction/RowEvolution.php2
-rw-r--r--plugins/CoreHome/angularjs/common/directives/focusif.js4
-rw-r--r--plugins/CoreHome/angularjs/common/services/piwik-api.spec.js4
-rw-r--r--plugins/CoreHome/javascripts/dataTable.js4
-rw-r--r--plugins/CoreHome/javascripts/donate.js2
-rw-r--r--plugins/CoreVisualizations/javascripts/jqplot.js2
-rw-r--r--plugins/DBStats/MySQLMetadataProvider.php4
-rw-r--r--plugins/Dashboard/javascripts/dashboardObject.js2
-rw-r--r--plugins/Dashboard/javascripts/dashboardWidget.js2
-rw-r--r--plugins/DevicesDetection/API.php2
-rw-r--r--plugins/DevicesDetection/functions.php2
-rw-r--r--plugins/Ecommerce/Reports/BaseItem.php2
-rw-r--r--plugins/ExampleAPI/API.php2
-rw-r--r--plugins/GeoIp2/Commands/ConvertRegionCodesToIso.php2
-rw-r--r--plugins/Goals/Archiver.php2
-rw-r--r--plugins/ImageGraph/StaticGraph/GridGraph.php2
-rw-r--r--plugins/LanguagesManager/API.php2
-rw-r--r--plugins/LanguagesManager/Commands/CreatePull.php2
-rw-r--r--plugins/LanguagesManager/TranslationWriter/Filter/UnnecassaryWhitespaces.php2
-rw-r--r--plugins/Login/PasswordResetter.php2
-rw-r--r--plugins/Morpheus/fonts/README.md2
-rw-r--r--plugins/MultiSites/API.php4
-rw-r--r--plugins/PrivacyManager/Commands/AnonymizeRawData.php4
-rw-r--r--plugins/PrivacyManager/DoNotTrackHeaderChecker.php2
-rw-r--r--plugins/PrivacyManager/LogDataPurger.php6
-rw-r--r--plugins/Referrers/Social.php2
-rw-r--r--plugins/SEO/Metric/Bing.php2
-rw-r--r--plugins/ScheduledReports/API.php2
-rw-r--r--plugins/ScheduledReports/config/tcpdf_config.php2
-rw-r--r--plugins/SegmentEditor/javascripts/Segmentation.js2
-rw-r--r--plugins/SegmentEditor/lang/en.json4
-rw-r--r--plugins/SegmentEditor/tests/System/expected/test___VisitsSummary.get_customSegmentUnprocessed.xml2
-rw-r--r--plugins/UserCountryMap/javascripts/realtime-map.js2
-rw-r--r--plugins/UsersManager/API.php2
-rw-r--r--plugins/UsersManager/tests/Integration/UserAccessFilterTest.php22
-rw-r--r--plugins/UsersManager/tests/Integration/UsersManagerTest.php2
-rw-r--r--tests/PHPUnit/Integration/AccessTest.php2
-rw-r--r--tests/PHPUnit/Integration/Archive/ChunksTest.php4
-rw-r--r--tests/PHPUnit/Integration/ArchiveProcessor/PluginsArchiverTest.php8
-rw-r--r--tests/PHPUnit/Integration/SequenceTest.php2
-rw-r--r--tests/README.md2
-rw-r--r--tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png4
90 files changed, 207 insertions, 207 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 84e4d39e16..f0de03cded 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -105,7 +105,7 @@ The Product Changelog at **[matomo.org/changelog](https://matomo.org/changelog)*
### New APIs
* It is now possible to queue a request on the JavaScript tracker using the method `queueRequest(requestUrl)`. This can be useful to group multiple tracking requests into one bulk request to reduce the number of tracking requests that are sent to your server making the tracking more efficient.
-* When specifying a callback in the JavaScript tracker in a tracker method, we now make sure to execute the callback even in error cases or when sentBeacon is used. The callback recevies an event parameter to determine which request was sent and whether the request was sent successfully.
+* When specifying a callback in the JavaScript tracker in a tracker method, we now make sure to execute the callback even in error cases or when sentBeacon is used. The callback receives an event parameter to determine which request was sent and whether the request was sent successfully.
* Added new event `Metrics.getEvolutionUnit` which lets you set the unit for a metric used in evolution charts and row evolution.
### New Features
@@ -868,7 +868,7 @@ We are using `@since` annotations in case we are introducing new API's to make i
* [Visit Dimension](http://developer.matomo.org/2.x/api-reference/Piwik/Plugin/Dimension/VisitDimension) to add a dimension that tracks visit related information
* [Conversion Dimension](http://developer.matomo.org/2.x/api-reference/Piwik/Plugin/Dimension/ConversionDimension) to add a dimension that tracks conversion related information
* [Dimension](http://developer.matomo.org/2.x/api-reference/Piwik/Columns/Dimension) to add a basic non tracking dimension that can be used in `Reports`
-* [Widgets](http://developer.matomo.org/2.x/api-reference/Piwik/Plugin/Widgets) to add or modfiy widgets
+* [Widgets](http://developer.matomo.org/2.x/api-reference/Piwik/Plugin/Widgets) to add or modify widgets
* These Menu classes got new methods that make it easier to add new items to a specific section
* [MenuAdmin](http://developer.matomo.org/2.x/api-reference/Piwik/Menu/MenuAdmin) to add or modify admin menu items.
* [MenuReporting](http://developer.matomo.org/2.x/api-reference/Piwik/Menu/MenuReporting) to add or modify reporting menu items
diff --git a/config/global.ini.php b/config/global.ini.php
index b38e688281..ba5c30c047 100755
--- a/config/global.ini.php
+++ b/config/global.ini.php
@@ -292,7 +292,7 @@ adding_segment_requires_access = "view"
allow_adding_segments_for_all_websites = 1
; When archiving segments for the first time, this determines the oldest date that will be archived.
-; This option can be used to avoid archiving (for isntance) the lastN years for every new segment.
+; This option can be used to avoid archiving (for instance) the lastN years for every new segment.
; Valid option values include: "beginning_of_time" (start date of archiving will not be changed)
; "segment_last_edit_time" (start date of archiving will be the earliest last edit date found,
; if none is found, the created date is used)
@@ -332,8 +332,8 @@ default_day = yesterday
default_period = day
; Time in seconds after which an archive will be computed again. This setting is used only for today's statistics.
-; This setting is overriden in the UI, under "General Settings".
-; This setting is only used if it hasn't been overriden via the UI yet, or if enable_general_settings_admin=0
+; This setting is overridden in the UI, under "General Settings".
+; This setting is only used if it hasn't been overridden via the UI yet, or if enable_general_settings_admin=0
time_before_today_archive_considered_outdated = 900
; Time in seconds after which an archive will be computed again. This setting is used only for week's statistics.
@@ -350,7 +350,7 @@ time_before_year_archive_considered_outdated = -1
; Same as config setting "time_before_week_archive_considered_outdated" but it is only applied to range archives
time_before_range_archive_considered_outdated = -1
-; This setting is overriden in the UI, under "General Settings".
+; This setting is overridden in the UI, under "General Settings".
; The default value is to allow browsers to trigger the Matomo archiving process.
; This setting is only used if it hasn't been overridden via the UI yet, or if enable_general_settings_admin=0
enable_browser_archiving_triggering = 1
@@ -669,7 +669,7 @@ tmp_path = "/tmp"
; litespeed. To find out the type of interface for a PHP binary execute this command: php -r "echo php_sapi_name();"
php_binary_path = ""
-; In some rare cases it may be useful to explicitely tell Matomo not to use LOAD DATA INFILE
+; In some rare cases it may be useful to explicitly tell Matomo not to use LOAD DATA INFILE
; This may for example be useful when doing Mysql AWS replication
enable_load_data_infile = 1
diff --git a/core/API/Proxy.php b/core/API/Proxy.php
index 2d782bcfec..5b8c1ea35b 100644
--- a/core/API/Proxy.php
+++ b/core/API/Proxy.php
@@ -148,7 +148,7 @@ class Proxy
$this->registerClass($className);
- // instanciate the object
+ // instantiate the object
$object = $className::getInstance();
// check method exists
diff --git a/core/API/Request.php b/core/API/Request.php
index fd9a7327bc..c76e7e4b9a 100644
--- a/core/API/Request.php
+++ b/core/API/Request.php
@@ -84,7 +84,7 @@ class Request
private $request = null;
/**
- * Converts the supplied request string into an array of query paramater name/value
+ * Converts the supplied request string into an array of query parameter name/value
* mappings. The current query parameters (everything in `$_GET` and `$_POST`) are
* forwarded to request array before it is returned.
*
@@ -266,7 +266,7 @@ class Request
// get the response with the request query parameters loaded, since DataTablePost processor will use the Report
// class instance, which may inspect the query parameters. (eg, it may look for the idCustomReport parameters
- // which may only exist in $this->request, if the request was called programatically)
+ // which may only exist in $this->request, if the request was called programmatically)
$toReturn = Context::executeWithQueryParameters($this->request, function () use ($response, $returnedValue, $module, $method) {
return $response->getResponse($returnedValue, $module, $method);
});
diff --git a/core/Access/RolesProvider.php b/core/Access/RolesProvider.php
index a5a7a7e41f..32bc6e5c18 100644
--- a/core/Access/RolesProvider.php
+++ b/core/Access/RolesProvider.php
@@ -30,7 +30,7 @@ class RolesProvider
/**
* Returns the list of the existing Access level.
- * Useful when a given API method requests a given acccess Level.
+ * Useful when a given API method requests a given access Level.
* We first check that the required access level exists.
*
* @return array
diff --git a/core/Archive/Chunk.php b/core/Archive/Chunk.php
index 4bde7c26c1..e45b4b3e10 100644
--- a/core/Archive/Chunk.php
+++ b/core/Archive/Chunk.php
@@ -22,7 +22,7 @@ class Chunk
const NUM_TABLES_IN_CHUNK = 100;
/**
- * Get's the record name to use for a given tableId/subtableId.
+ * Gets the record name to use for a given tableId/subtableId.
*
* @param string $recordName eg 'Actions_ActionsUrl'
* @param int $tableId eg '5' for tableId '5'
@@ -41,7 +41,7 @@ class Chunk
* Moves the given blobs into chunks and assigns a proper record name containing the chunk number.
*
* @param string $recordName The original archive record name, eg 'Actions_ActionsUrl'
- * @param array $blobs An array containg a mapping of tableIds to blobs. Eg array(0 => 'blob', 1 => 'subtableBlob', ...)
+ * @param array $blobs An array containing a mapping of tableIds to blobs. Eg array(0 => 'blob', 1 => 'subtableBlob', ...)
* @return array An array where each blob is moved into a chunk, indexed by recordNames.
* eg array('Actions_ActionsUrl_chunk_0_99' => array(0 => 'blob', 1 => 'subtableBlob', ...),
* 'Actions_ActionsUrl_chunk_100_199' => array(...))
diff --git a/core/AssetManager.php b/core/AssetManager.php
index 4e4628db39..0a3282ecdd 100644
--- a/core/AssetManager.php
+++ b/core/AssetManager.php
@@ -84,7 +84,7 @@ class AssetManager extends Singleton
$assetManager = parent::getInstance();
/**
- * Triggered when creating an instance of the asset manager. Lets you overwite the
+ * Triggered when creating an instance of the asset manager. Lets you overwrite the
* asset manager behavior.
*
* @param AssetManager &$assetManager
diff --git a/core/Category/Category.php b/core/Category/Category.php
index b0b64daf8b..1eecd9cfe3 100644
--- a/core/Category/Category.php
+++ b/core/Category/Category.php
@@ -9,7 +9,7 @@ namespace Piwik\Category;
use Piwik\Piwik;
/**
- * Base type for category. lets you change the name for a categoryId and specifiy a different order
+ * Base type for category. lets you change the name for a categoryId and specify a different order
* so the category appears eg at a different order in the reporting menu.
*
* This class is for now not exposed as public API until needed. Categories of plugins will be automatically
@@ -121,4 +121,4 @@ class Category
return $this->icon;
}
-} \ No newline at end of file
+}
diff --git a/core/Category/CategoryList.php b/core/Category/CategoryList.php
index 88b72b733f..33eab9be13 100644
--- a/core/Category/CategoryList.php
+++ b/core/Category/CategoryList.php
@@ -10,7 +10,7 @@ namespace Piwik\Category;
use Piwik\Container\StaticContainer;
/**
- * Base type for category. lets you change the name for a categoryId and specifiy a different order
+ * Base type for category. lets you change the name for a categoryId and specify a different order
* so the category appears eg at a different order in the reporting menu.
*
* This class is for now not exposed as public API until needed. Categories of plugins will be automatically
@@ -91,4 +91,4 @@ class CategoryList
return $list;
}
-} \ No newline at end of file
+}
diff --git a/core/Category/Subcategory.php b/core/Category/Subcategory.php
index 5831d23bbb..895264aaaa 100644
--- a/core/Category/Subcategory.php
+++ b/core/Category/Subcategory.php
@@ -12,7 +12,7 @@ namespace Piwik\Category;
*
* All widgets within a subcategory will be rendered in the Piwik reporting UI under the same page. By default
* you do not have to specify any subcategory as they are created automatically. Only create a subcategory if you
- * want to change the name for a specific subcategoryId or if you want to specifiy a different order so the subcategory
+ * want to change the name for a specific subcategoryId or if you want to specify a different order so the subcategory
* appears eg at a different order in the reporting menu. It also affects the order of reports in
* `API.getReportMetadata` and wherever we display any reports.
*
@@ -77,7 +77,7 @@ class Subcategory
}
/**
- * Get the specifed categoryId see {@link $categoryId}.
+ * Get the specified categoryId see {@link $categoryId}.
*
* @return string
*/
@@ -143,4 +143,4 @@ class Subcategory
{
return $this->order;
}
-} \ No newline at end of file
+}
diff --git a/core/Columns/Dimension.php b/core/Columns/Dimension.php
index aaf1d76f32..eb00395391 100644
--- a/core/Columns/Dimension.php
+++ b/core/Columns/Dimension.php
@@ -138,7 +138,7 @@ abstract class Dimension
* Interesting when specifying a segment. Sometimes you want users to set segment values that differ from the way
* they are actually stored. For instance if you want to allow to filter by any URL than you might have to resolve
* this URL to an action id. Or a country name maybe has to be mapped to a 2 letter country code. You can do this by
- * specifing either a callable such as `array('Classname', 'methodName')` or by passing a closure.
+ * specifying either a callable such as `array('Classname', 'methodName')` or by passing a closure.
* There will be four values passed to the given closure or callable: `string $valueToMatch`, `string $segment`
* (see {@link setSegment()}), `string $matchType` (eg SegmentExpression::MATCH_EQUAL or any other match constant
* of this class) and `$segmentName`.
@@ -568,7 +568,7 @@ abstract class Dimension
}
if (!$this->suggestedValuesCallback) {
- // we can generate effecient value callback for enums automatically
+ // we can generate efficient value callback for enums automatically
$enum = $this->getEnumColumnValues();
if (!empty($enum)) {
$this->suggestedValuesCallback = function ($idSite, $maxValuesToReturn) use ($enum) {
diff --git a/core/Common.php b/core/Common.php
index 11602fe11c..50f107c8d4 100644
--- a/core/Common.php
+++ b/core/Common.php
@@ -920,7 +920,7 @@ class Common
* Returns the language and region string, based only on the Browser 'accepted language' information.
* * The language tag is defined by ISO 639-1
*
- * @param string $browserLanguage Browser's accepted langauge header
+ * @param string $browserLanguage Browser's accepted language header
* @param array $validLanguages array of valid language codes
* @return string 2 letter ISO 639 code 'es' (Spanish)
*/
@@ -945,7 +945,7 @@ class Common
* * The language tag is defined by ISO 639-1
* * The region tag is defined by ISO 3166-1
*
- * @param string $browserLanguage Browser's accepted langauge header
+ * @param string $browserLanguage Browser's accepted language header
* @param array $validLanguages array of valid language codes. Note that if the array includes "fr" then it will consider all regional variants of this language valid, such as "fr-ca" etc.
* @return string 2 letter ISO 639 code 'es' (Spanish) or if found, includes the region as well: 'es-ar'
*/
diff --git a/core/CronArchive.php b/core/CronArchive.php
index 501168f348..3b7f4007d2 100644
--- a/core/CronArchive.php
+++ b/core/CronArchive.php
@@ -448,9 +448,9 @@ class CronArchive
// `list of SharedSiteIds` have been potentially emptied and filled again from the beginning.
// This means 5 hours later, even though all websites that were originally in the list have been
// finished by now, the `cron:archive` will stay active and continue processing because the list of
- // siteIds to archive was resetted by another `cron:archive` command. Potentially some `cron:archive`
+ // siteIds to archive was reset by another `cron:archive` command. Potentially some `cron:archive`
// will basically never end because by the time the `cron:archive` finishes, the sharedSideIds have
- // been resettet. This can eventually lead to some random concurrency issues when there are like
+ // been reset. This can eventually lead to some random concurrency issues when there are like
// 40 `core:archive` active at the same time.
$this->logger->info("Stopping archiving as the initial list of websites has been processed.");
return;
diff --git a/core/DataAccess/LogAggregator.php b/core/DataAccess/LogAggregator.php
index 0c1cb02574..a2593b1f9e 100644
--- a/core/DataAccess/LogAggregator.php
+++ b/core/DataAccess/LogAggregator.php
@@ -295,7 +295,7 @@ class LogAggregator
if ($canSetTransactionLevel) {
// i know this could be shortened to one if or one line but I want to make sure this line where we
- // set uncomitted is easily noticable in the code as it could be missed quite easily otherwise
+ // set uncommitted is easily noticeable in the code as it could be missed quite easily otherwise
// we set uncommitted so we don't make the INSERT INTO... SELECT... locking ... we do not want to lock
// eg the visits table
if (!$transactionLevel->setUncommitted()) {
@@ -478,7 +478,7 @@ class LogAggregator
* - **{@link \Piwik\Metrics::INDEX_NB_VISITS}**: The total number of visits aggregated.
* - **{@link \Piwik\Metrics::INDEX_NB_ACTIONS}**: The total number of actions performed in this group of
* aggregated visits.
- * - **{@link \Piwik\Metrics::INDEX_MAX_ACTIONS}**: The maximum actions perfomred in one visit for this group of
+ * - **{@link \Piwik\Metrics::INDEX_MAX_ACTIONS}**: The maximum actions performed in one visit for this group of
* visits.
* - **{@link \Piwik\Metrics::INDEX_SUM_VISIT_LENGTH}**: The total amount of time spent on the site for this
* group of visits.
diff --git a/core/DataTable/Manager.php b/core/DataTable/Manager.php
index a42e7d1120..f6fae39371 100644
--- a/core/DataTable/Manager.php
+++ b/core/DataTable/Manager.php
@@ -14,7 +14,7 @@ use Piwik\Common;
use Piwik\DataTable;
/**
- * The DataTable_Manager registers all the instanciated DataTable and provides an
+ * The DataTable_Manager registers all the instantiated DataTable and provides an
* easy way to access them. This is used to store all the DataTable during the archiving process.
* At the end of archiving, the ArchiveProcessor will read the stored datatable and record them in the DB.
*/
@@ -52,7 +52,7 @@ class Manager extends \ArrayObject
/**
* Returns the DataTable associated to the ID $idTable.
- * NB: The datatable has to have been instanciated before!
+ * NB: The datatable has to have been instantiated before!
* This method will not fetch the DataTable from the DB.
*
* @param int $idTable
diff --git a/core/Filesystem.php b/core/Filesystem.php
index a07c90443c..c4195b0f2d 100644
--- a/core/Filesystem.php
+++ b/core/Filesystem.php
@@ -250,7 +250,7 @@ class Filesystem
/**
* Sort all given paths/filenames by its path length. Long path names will be listed first. This method can be
- * useful if you have for instance a bunch of files/directories to delete. By sorting them by lengh you can make
+ * useful if you have for instance a bunch of files/directories to delete. By sorting them by length you can make
* sure to delete all files within the folders before deleting the actual folder.
*
* @param string[] $files
diff --git a/core/Intl/Data/Resources/languages-to-countries.php b/core/Intl/Data/Resources/languages-to-countries.php
index cc8da1baab..b0a321fa65 100644
--- a/core/Intl/Data/Resources/languages-to-countries.php
+++ b/core/Intl/Data/Resources/languages-to-countries.php
@@ -45,7 +45,7 @@ return array(
'nn' => 'no', // Nynorsk => Norway
'no' => 'no', // Norwegian => Norway
'pl' => 'pl', // Polish => Poland
- 'pt' => 'pt', // Portugese => Portugal
+ 'pt' => 'pt', // Portuguese => Portugal
'ro' => 'ro', // Romanian => Romania
'ru' => 'ru', // Russian => Russia
'sk' => 'sk', // Slovak => Slovakia
diff --git a/core/Notification.php b/core/Notification.php
index 53d0deaccc..b35b3c7e8c 100644
--- a/core/Notification.php
+++ b/core/Notification.php
@@ -31,7 +31,7 @@ namespace Piwik;
*
* **Display a temporary success message**
*
- * $notification = new Notificiation('Success');
+ * $notification = new Notification('Success');
* $notification->context = Notification::CONTEXT_SUCCESS;
* $notification->type = Notification::TYPE_TOAST;
* Notification\Manager::notify('myUniqueNotificationId', $notification);
diff --git a/core/Option.php b/core/Option.php
index 0357865840..41d4bdd07f 100644
--- a/core/Option.php
+++ b/core/Option.php
@@ -63,7 +63,7 @@ class Option
*
* @param string $name The option name.
* @param string $value The value to set the option to.
- * @param int $autoLoad If set to 1, this option value will be automatically loaded when Piwik is initialzed;
+ * @param int $autoLoad If set to 1, this option value will be automatically loaded when Piwik is initialized;
* should be set to 1 for options that will be used in every Piwik request.
*/
public static function set($name, $value, $autoload = 0)
diff --git a/core/Plugin/Segment.php b/core/Plugin/Segment.php
index cfaaa4ef1c..0da1ebbc69 100644
--- a/core/Plugin/Segment.php
+++ b/core/Plugin/Segment.php
@@ -131,7 +131,7 @@ class Segment
/**
* Sometimes you want users to set values that differ from the way they are actually stored. For instance if you
* want to allow to filter by any URL than you might have to resolve this URL to an action id. Or a country name
- * maybe has to be mapped to a 2 letter country code. You can do this by specifing either a callable such as
+ * maybe has to be mapped to a 2 letter country code. You can do this by specifying either a callable such as
* `array('Classname', 'methodName')` or by passing a closure. There will be four values passed to the given closure
* or callable: `string $valueToMatch`, `string $segment` (see {@link setSegment()}), `string $matchType`
* (eg SegmentExpression::MATCH_EQUAL or any other match constant of this class) and `$segmentName`.
diff --git a/core/Plugin/ViewDataTable.php b/core/Plugin/ViewDataTable.php
index bdd071489a..35db8cf094 100644
--- a/core/Plugin/ViewDataTable.php
+++ b/core/Plugin/ViewDataTable.php
@@ -36,7 +36,7 @@ use Piwik\ViewDataTable\RequestConfig as VizRequest;
* ViewDataTable instances are not created via the new operator, instead the {@link Piwik\ViewDataTable\Factory}
* class is used.
*
- * The specific subclass to create is determined, first, by the **viewDataTable** query paramater.
+ * The specific subclass to create is determined, first, by the **viewDataTable** query parameter.
* If this parameter is not set, then the default visualization type for the report being
* displayed is used.
*
@@ -461,7 +461,7 @@ abstract class ViewDataTable implements ViewInterface
}
/**
- * Returns the list of view properties that can be overriden by query parameters.
+ * Returns the list of view properties that can be overridden by query parameters.
*
* @return array
*/
diff --git a/core/RankingQuery.php b/core/RankingQuery.php
index c0b4571015..6b82bbefa4 100644
--- a/core/RankingQuery.php
+++ b/core/RankingQuery.php
@@ -184,7 +184,7 @@ class RankingQuery
}
/**
- * This method can be used to parition the result based on the possible values of one
+ * This method can be used to partition the result based on the possible values of one
* table column. This means the query will split the result set into other sets of rows
* for each possible value you provide (where the rows of each set have a column value
* that equals a possible value). Each of these new sets of rows will be individually
@@ -197,7 +197,7 @@ class RankingQuery
* where `log_action.type = TYPE_OUTLINK`, for rows where `log_action.type = TYPE_ACTION_URL` and for
* rows `log_action.type = TYPE_DOWNLOAD`.
*
- * @param $partitionColumn string The column name to partion by.
+ * @param $partitionColumn string The column name to partition by.
* @param $possibleValues Array of possible column values.
* @throws Exception if method is used more than once.
*/
diff --git a/core/Report/ReportWidgetConfig.php b/core/Report/ReportWidgetConfig.php
index 52b046404b..24841a8e2a 100644
--- a/core/Report/ReportWidgetConfig.php
+++ b/core/Report/ReportWidgetConfig.php
@@ -20,7 +20,7 @@ class ReportWidgetConfig extends WidgetConfig
protected $forceViewDataTable = false;
/**
- * Sets a default viewDataTable that should be used to render the report. This is not neccessarily the
+ * Sets a default viewDataTable that should be used to render the report. This is not necessarily the
* view that will be actually used to render the report. Eg if a user switched manually to another viewDataTable
* Piwik will re-use the viewDataTable that was used the last time. If you want to force the usage of a
* viewDataTable use {@link forceViewDataTable()}.
@@ -87,4 +87,4 @@ class ReportWidgetConfig extends WidgetConfig
return $defaultParams + $parameters;
}
-} \ No newline at end of file
+}
diff --git a/core/Scheduler/Scheduler.php b/core/Scheduler/Scheduler.php
index d2f7fe0e0b..05f7672eb4 100644
--- a/core/Scheduler/Scheduler.php
+++ b/core/Scheduler/Scheduler.php
@@ -214,7 +214,7 @@ class Scheduler
* @param string $className The name of the class that contains the scheduled task method.
* @param string $methodName The name of the scheduled task method.
* @param string|null $methodParameter Optional method parameter.
- * @return mixed int|bool The time in miliseconds when the scheduled task will be executed
+ * @return mixed int|bool The time in milliseconds when the scheduled task will be executed
* next or false if it is not scheduled to run.
*/
public function getScheduledTimeForMethod($className, $methodName, $methodParameter = null)
diff --git a/core/Tracker/LogTable.php b/core/Tracker/LogTable.php
index 164abb33b8..2ab69015a7 100644
--- a/core/Tracker/LogTable.php
+++ b/core/Tracker/LogTable.php
@@ -44,7 +44,7 @@ abstract class LogTable {
* Get the name of the column that can be used to join an action with another table. This is the name of the column
* that represents the "idaction".
*
- * This could be more generic eg by specifiying "$this->joinableOn = array('action' => 'idaction') and this
+ * This could be more generic eg by specifying "$this->joinableOn = array('action' => 'idaction') and this
* would allow to also add more complex structures in the future but not needed for now I'd say. Let's go with
* simpler, more clean and expressive solution for now until needed.
*
diff --git a/core/Tracker/Request.php b/core/Tracker/Request.php
index 3b9bae24d3..3ec349f910 100644
--- a/core/Tracker/Request.php
+++ b/core/Tracker/Request.php
@@ -95,7 +95,7 @@ class Request
protected function replaceUnsupportedUtf8Chars($value, $key=false)
{
if (is_string($value) && preg_match('/[\x{10000}-\x{10FFFF}]/u', $value)) {
- Common::printDebug("Unsupport character detected in $key. Replacing with \xEF\xBF\xBD");
+ Common::printDebug("Unsupported character detected in $key. Replacing with \xEF\xBF\xBD");
return preg_replace('/[\x{10000}-\x{10FFFF}]/u', "\xEF\xBF\xBD", $value);
}
diff --git a/core/Tracker/Settings.php b/core/Tracker/Settings.php
index 0fd61612f9..7fdc9f9b11 100644
--- a/core/Tracker/Settings.php
+++ b/core/Tracker/Settings.php
@@ -77,7 +77,7 @@ class Settings // TODO: merge w/ visitor recognizer or make it it's own service.
}
/**
- * Returns a 64-bit hash that attemps to identify a user.
+ * Returns a 64-bit hash that attempts to identify a user.
* Maintaining some privacy by default, eg. prevents the merging of several Piwik serve together for matching across instances..
*
* @param $os
diff --git a/core/Tracker/TrackerCodeGenerator.php b/core/Tracker/TrackerCodeGenerator.php
index 343052bdcb..ab69d04ae7 100644
--- a/core/Tracker/TrackerCodeGenerator.php
+++ b/core/Tracker/TrackerCodeGenerator.php
@@ -175,7 +175,7 @@ class TrackerCodeGenerator
* the JavaScript tracker inside of anonymous function before
* adding setTrackerUrl into paq.
* - **protocol**: Piwik url protocol.
- * - **loadAsync**: boolean whether piwik.js should be loaded syncronous or asynchronous
+ * - **loadAsync**: boolean whether piwik.js should be loaded synchronous or asynchronous
*
* The **httpsPiwikUrl** element can be set if the HTTPS
* domain is different from the normal domain.
diff --git a/core/Translation/Transifex/API.php b/core/Translation/Transifex/API.php
index f559829ae8..69be207de1 100644
--- a/core/Translation/Transifex/API.php
+++ b/core/Translation/Transifex/API.php
@@ -105,7 +105,7 @@ class API
*
* @param string $resource e.g. piwik-base, piwik-plugin-api,...
* @param string $language e.g. de, pt_BR, hy,...
- * @param bool $raw if true plain response wil be returned (unparsed json)
+ * @param bool $raw if true plain response will be returned (unparsed json)
* @return mixed
* @throws AuthenticationFailedException
* @throws Exception
diff --git a/core/Updater.php b/core/Updater.php
index f13e020b1c..bf332739d4 100644
--- a/core/Updater.php
+++ b/core/Updater.php
@@ -206,7 +206,7 @@ class Updater
* Component has a new version?
*
* @param string $componentName
- * @return bool TRUE if compoment is to be updated; FALSE if not
+ * @return bool TRUE if component is to be updated; FALSE if not
*/
public function hasNewVersion($componentName)
{
diff --git a/core/Updates.php b/core/Updates.php
index a44038ea18..a2bdcb505b 100644
--- a/core/Updates.php
+++ b/core/Updates.php
@@ -44,7 +44,7 @@ abstract class Updates
/**
* Perform the incremental version update.
*
- * This method should preform all updating logic. If you define migrations in an overridden `getMigrations()`
+ * This method should perform all updating logic. If you define migrations in an overridden `getMigrations()`
* method, you must call {@link Updater::executeMigrations()} here.
*
* See {@link \Piwik\Plugins\ExamplePlugin\Updates\Updates_0_0_2} for an example.
diff --git a/core/Updates/2.10.0-b5.php b/core/Updates/2.10.0-b5.php
index 328502a540..6fce582338 100644
--- a/core/Updates/2.10.0-b5.php
+++ b/core/Updates/2.10.0-b5.php
@@ -27,7 +27,7 @@ use Piwik\Updater\Migration\Factory as MigrationFactory;
*
* Unlike DevicesDetection plugin, the UserSettings plugin did not store archives holding the os and browser data without
* their version number. The "version-less" reports were always generated out of the "version-containing" archives .
- * For big archives (month/year) that ment that some of the data was truncated, due to the datatable entry limit.
+ * For big archives (month/year) that meant that some of the data was truncated, due to the datatable entry limit.
* To avoid that data loss / inaccuracy in the future, DevicesDetection plugin will also store archives without the version.
* For data archived after DevicesDetection plugin was enabled, those archive already exist. As we are removing the
* UserSettings reports, there is a fallback in DevicesDetection API to build the report out of the datatable with versions.
diff --git a/core/Url.php b/core/Url.php
index 834d4c7062..2204257e29 100644
--- a/core/Url.php
+++ b/core/Url.php
@@ -373,7 +373,7 @@ class Url
}
/**
- * Returns an array mapping query paramater names with query parameter values for
+ * Returns an array mapping query parameter names with query parameter values for
* the current URL.
*
* @return array If current URL is `"http://example.org/dir1/dir2/index.php?param1=value1&param2=value2"`
diff --git a/core/View/UIControl.php b/core/View/UIControl.php
index 64054a1f7b..67cb073151 100644
--- a/core/View/UIControl.php
+++ b/core/View/UIControl.php
@@ -154,7 +154,7 @@ class UIControl extends \Piwik\View
/**
* Returns the array of property names whose values are passed to the UIControl JavaScript class.
*
- * Should be overriden by descendants.
+ * Should be overridden by descendants.
*
* @return array
*/
@@ -168,7 +168,7 @@ class UIControl extends \Piwik\View
* These values differ from those in {@link $clientSideProperties} in that they are meant to passed as
* request parameters when the JavaScript code makes an AJAX request.
*
- * Should be overriden by descendants.
+ * Should be overridden by descendants.
*
* @return array
*/
diff --git a/core/ViewDataTable/Config.php b/core/ViewDataTable/Config.php
index 0791b916a5..7fcb10d629 100644
--- a/core/ViewDataTable/Config.php
+++ b/core/ViewDataTable/Config.php
@@ -100,7 +100,7 @@ class Config
);
/**
- * The list of ViewDataTable properties that can be overriden by query parameters.
+ * The list of ViewDataTable properties that can be overridden by query parameters.
*/
public $overridableProperties = array(
'show_goals',
@@ -751,7 +751,7 @@ class Config
*
* @param string $relatedReport The plugin and method of the report, eg, `'DevicesDetection.getBrowsers'`.
* @param string $title The report's display name, eg, `'Browsers'`.
- * @param array $queryParams Any extra query parameters to set in releated report's URL, eg,
+ * @param array $queryParams Any extra query parameters to set in related report's URL, eg,
* `array('idGoal' => 'ecommerceOrder')`.
*/
public function addRelatedReport($relatedReport, $title, $queryParams = array())
diff --git a/core/ViewDataTable/RequestConfig.php b/core/ViewDataTable/RequestConfig.php
index c951f936dd..5331220000 100644
--- a/core/ViewDataTable/RequestConfig.php
+++ b/core/ViewDataTable/RequestConfig.php
@@ -102,7 +102,7 @@ class RequestConfig
);
/**
- * The list of ViewDataTable properties that can be overriden by query parameters.
+ * The list of ViewDataTable properties that can be overridden by query parameters.
*/
public $overridableProperties = array(
'filter_sort_column',
diff --git a/core/Widget/WidgetConfig.php b/core/Widget/WidgetConfig.php
index d1e85304d3..d03a442d96 100644
--- a/core/Widget/WidgetConfig.php
+++ b/core/Widget/WidgetConfig.php
@@ -319,11 +319,11 @@ class WidgetConfig
* If middleware parameters are specified, the corresponding action will be executed before showing the
* actual widget in the UI. Only if this action (can be a controller method or API method) returns JSON `true`
* the widget will be actually shown. It is similar to `isEnabled()` but the specified action is performed each
- * time the widget is requested in the UI whereas `isEnabled` is only checked once on the inital page load when
- * we load the inital list of widgets. So if your widget's visibility depends on archived data
+ * time the widget is requested in the UI whereas `isEnabled` is only checked once on the initial page load when
+ * we load the initial list of widgets. So if your widget's visibility depends on archived data
* (aka idSite/period/date) you should specify middle parameters. This has mainly two reasons:
*
- * - This way the inital page load time is faster as we won't have to request archived data on the initial page
+ * - This way the initial page load time is faster as we won't have to request archived data on the initial page
* load for widgets that are potentially never shown.
* - We execute that action every time before showing it. As the initial list of widgets is loaded on page load
* it is possible that some archives have no data yet, but at a later time there might be actually archived data.
@@ -370,4 +370,4 @@ class WidgetConfig
{
return $this->isWide;
}
-} \ No newline at end of file
+}
diff --git a/core/bootstrap.php b/core/bootstrap.php
index 2e46069641..61d98ed3d4 100644
--- a/core/bootstrap.php
+++ b/core/bootstrap.php
@@ -46,7 +46,7 @@ require_once PIWIK_VENDOR_PATH . '/autoload.php';
\Piwik\Plugin\Manager::initPluginDirectories();
/**
- * Eaccelerator does not support closures and is known to be not comptabile with Piwik. Therefore we are disabling
+ * Eaccelerator does not support closures and is known to be not compatible with Piwik. Therefore we are disabling
* it automatically. At this point it looks like Eaccelerator is no longer under development and the bug has not
* been fixed within a year.
*
diff --git a/js/piwik.js b/js/piwik.js
index 31e05210de..1730a89795 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -1901,7 +1901,7 @@ if (typeof window.Piwik !== 'object') {
return this.getLocation().origin + this.getLocation().pathname + url;
}
- // Eg mailto:x@y.z tel:012345, ... market:... sms:..., javasript:... ecmascript: ... and many more
+ // Eg mailto:x@y.z tel:012345, ... market:... sms:..., javascript:... ecmascript: ... and many more
if (0 === url.search('^[a-zA-Z]{2,11}:')) {
return url;
}
@@ -2300,7 +2300,7 @@ if (typeof window.Piwik !== 'object') {
// detect this 100% correct for an iframe so whenever Piwik is loaded inside an iframe we presume
// the window had focus at least once.
hadWindowFocusAtLeastOnce = isInsideAnIframe(),
- timeWindowLastFocussed = null,
+ timeWindowLastFocused = null,
// Timestamp of last tracker request sent to Piwik
lastTrackerRequestTime = null,
@@ -2688,9 +2688,9 @@ if (typeof window.Piwik !== 'object') {
// we execute it with a little delay in case the unload event occurred just after sending this request
// this is to avoid the following behaviour: Eg on form submit a tracking request is sent via POST
// in this method. Then a few ms later the browser wants to navigate to the new page and the unload
- // event occurrs and the browser cancels the just triggered POST request. This causes or fallback
+ // event occurs and the browser cancels the just triggered POST request. This causes or fallback
// method to be triggered and we execute the same request again (either as fallbackGet or sendBeacon).
- // The problem is that we do not know whether the inital POST request was already fully transferred
+ // The problem is that we do not know whether the initial POST request was already fully transferred
// to the server or not when the onreadystatechange callback is executed and we might execute the
// same request a second time. To avoid this, we delay the actual execution of this POST request just
// by 50ms which gives it usually enough time to detect the unload event in most cases.
@@ -2809,7 +2809,7 @@ if (typeof window.Piwik !== 'object') {
function heartBeatOnFocus() {
hadWindowFocusAtLeastOnce = true;
- timeWindowLastFocussed = new Date().getTime();
+ timeWindowLastFocused = new Date().getTime();
}
function hadWindowMinimalFocusToConsiderViewed() {
@@ -2817,7 +2817,7 @@ if (typeof window.Piwik !== 'object') {
// the page otherwise we can assume user was not really on the page and for example only switching
// through tabs
var now = new Date().getTime();
- return !timeWindowLastFocussed || (now - timeWindowLastFocussed) > configHeartBeatDelay;
+ return !timeWindowLastFocused || (now - timeWindowLastFocused) > configHeartBeatDelay;
}
function heartBeatOnBlur() {
diff --git a/js/piwik.min.js b/js/piwik.min.js
index 73dc8589eb..de7b72b070 100644
--- a/js/piwik.min.js
+++ b/js/piwik.min.js
@@ -28,37 +28,37 @@ if(-1!==M(aq,ao)&&ae.findFirstNodeHavingAttributeWithValue(at,"src")){var ar=ae.
if(T.innerHeight&&ao>T.innerHeight){ao=T.innerHeight}return((at.bottom>0||aq)&&at.right>0&&at.left<ap&&((at.top<ao)||aq))},isNodeVisible:function(ap){var ao=j(ap);var aq=this.isOrWasNodeInViewport(ap);return ao&&aq},buildInteractionRequestParams:function(ao,ap,aq,ar){var at="";if(ao){at+="c_i="+t(ao)}if(ap){if(at){at+="&"}at+="c_n="+t(ap)}if(aq){if(at){at+="&"}at+="c_p="+t(aq)}if(ar){if(at){at+="&"}at+="c_t="+t(ar)}return at},buildImpressionRequestParams:function(ao,ap,aq){var ar="c_n="+t(ao)+"&c_p="+t(ap);if(aq){ar+="&c_t="+t(aq)}return ar},buildContentBlock:function(aq){if(!aq){return}var ao=this.findContentName(aq);var ap=this.findContentPiece(aq);var ar=this.findContentTarget(aq);ao=this.trim(ao);ap=this.trim(ap);ar=this.trim(ar);return{name:ao||"Unknown",piece:ap||"Unknown",target:ar||""}},collectContent:function(ar){if(!ar||!ar.length){return[]}var aq=[];var ao,ap;for(ao=0;ao<ar.length;ao++){ap=this.buildContentBlock(ar[ao]);if(J(ap)){aq.push(ap)}}return aq},setLocation:function(ao){this.location=ao
},getLocation:function(){var ao=this.location||T.location;if(!ao.origin){ao.origin=ao.protocol+"//"+ao.hostname+(ao.port?":"+ao.port:"")}return ao},toAbsoluteUrl:function(ap){if((!ap||String(ap)!==ap)&&ap!==""){return ap}if(""===ap){return this.getLocation().href}if(ap.search(/^\/\//)!==-1){return this.getLocation().protocol+ap}if(ap.search(/:\/\//)!==-1){return ap}if(0===ap.indexOf("#")){return this.getLocation().origin+this.getLocation().pathname+ap}if(0===ap.indexOf("?")){return this.getLocation().origin+this.getLocation().pathname+ap}if(0===ap.search("^[a-zA-Z]{2,11}:")){return ap}if(ap.search(/^\//)!==-1){return this.getLocation().origin+ap}var ao="(.*/)";var aq=this.getLocation().origin+this.getLocation().pathname.match(new RegExp(ao))[0];return aq+ap},isUrlToCurrentDomain:function(ap){var aq=this.toAbsoluteUrl(ap);if(!aq){return false}var ao=this.getLocation().origin;if(ao===aq){return true}if(0===String(aq).indexOf(ao)){if(":"===String(aq).substr(ao.length,1)){return false}return true
}return false},setHrefAttribute:function(ap,ao){if(!ap||!ao){return}ae.setAnyAttribute(ap,"href",ao)},shouldIgnoreInteraction:function(aq){var ap=ae.hasNodeAttribute(aq,this.CONTENT_IGNOREINTERACTION_ATTR);var ao=ae.hasNodeCssClass(aq,this.CONTENT_IGNOREINTERACTION_CLASS);return ap||ao}};function O(ap,at){if(at){return at}ap=v.toAbsoluteUrl(ap);if(z(ap,"?")){var ar=ap.indexOf("?");ap=ap.slice(0,ar)}if(R(ap,"matomo.php")){ap=g(ap,"matomo.php".length)}else{if(R(ap,"piwik.php")){ap=g(ap,"piwik.php".length)}else{if(R(ap,".php")){var ao=ap.lastIndexOf("/");var aq=1;ap=ap.slice(0,ao+aq)}}}if(R(ap,"/js/")){ap=g(ap,"js/".length)}return ap}function N(av){var ax="Piwik_Overlay";var ap=new RegExp("index\\.php\\?module=Overlay&action=startOverlaySession&idSite=([0-9]+)&period=([^&]+)&date=([^&]+)(&segment=.*)?$");var aq=ap.exec(G.referrer);if(aq){var at=aq[1];if(at!==String(av)){return false}var au=aq[2],ao=aq[3],ar=aq[4];if(!ar){ar=""}else{if(ar.indexOf("&segment=")===0){ar=ar.substr("&segment=".length)
-}}T.name=ax+"###"+au+"###"+ao+"###"+ar}var aw=T.name.split("###");return aw.length===4&&aw[0]===ax}function Z(ap,aw,ar){var av=T.name.split("###"),au=av[1],ao=av[2],at=av[3],aq=O(ap,aw);o(aq+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(aq,ar,au,ao,at)})}function u(){var aq;try{aq=T.frameElement}catch(ap){return true}if(J(aq)){return(aq&&String(aq.nodeName).toLowerCase()==="iframe")?true:false}try{return T.self!==T.top}catch(ao){return true}}function Q(cb,b6){var bF=this,bc="mtm_consent",cH="mtm_consent_removed",b1=aa(G.domain,T.location.href,K()),cQ=L(b1[0]),bK=p(b1[1]),bl=p(b1[2]),cO=false,cf="GET",c6=cf,aH="application/x-www-form-urlencoded; charset=UTF-8",cu=aH,aD=cb||"",bE="",cV="",b3=b6||"",bw="",bL="",a3,bh="",c2=["7z","aac","apk","arc","arj","asf","asx","avi","azw3","bin","csv","deb","dmg","doc","docx","epub","exe","flv","gif","gz","gzip","hqx","ibooks","jar","jpg","jpeg","js","mobi","mp2","mp3","mp4","mpg","mpeg","mov","movie","msi","msp","odb","odf","odg","ods","odt","ogg","ogv","pdf","phps","png","ppt","pptx","qt","qtm","ra","ram","rar","rpm","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],ax=[cQ],bx=[],bI=[],a7=[],bG=500,cS=true,cE,a4,bO,c3=1800,bM,ao,co=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],bD=["pk_kwd","piwik_kwd","utm_term"],bi="_pk_",av="pk_vid",aY=180,cT,bn,bP=false,bj=false,cL,bd,bt,cF=33955200000,cm=1800000,c1=15768000000,a1=true,ck=0,bN=false,aP=false,b8,bT={},cj={},bk={},br=200,cW={},c4={},b7=[],cc=false,cy=false,ap=false,c5=false,cI=false,aM=false,bb=u(),cN=null,cU=null,b9,aQ,by,b4=am,bm,aK,cp=0,bs=["id","ses","cvar","ref"],cx=false,bz=null,cG=[],aw=U++;
-try{bh=G.title}catch(cv){bh=""}function da(dl,dj,di,dk,dh,dg){if(bj){return}var df;if(di){df=new Date();df.setTime(df.getTime()+di)}G.cookie=dl+"="+t(dj)+(di?";expires="+df.toGMTString():"")+";path="+(dk||"/")+(dh?";domain="+dh:"")+(dg?";secure":"")+";SameSite=Lax"}function aC(dh){if(bj){return 0}var df=new RegExp("(^|;)[ ]*"+dh+"=([^;]*)"),dg=df.exec(G.cookie);return dg?S(dg[2]):0}bz=!aC(cH);function bZ(df){var dg;df=k(df,av);if(bM){dg=new RegExp("#.*");return df.replace(dg,"")}return df}function bS(dh,df){var di=s(df),dg;if(di){return df}if(df.slice(0,1)==="/"){return s(dh)+"://"+d(dh)+df}dh=bZ(dh);dg=dh.indexOf("?");if(dg>=0){dh=dh.slice(0,dg)}dg=dh.lastIndexOf("/");if(dg!==dh.length-1){dh=dh.slice(0,dg+1)}return dh+df}function cC(dh,df){var dg;dh=String(dh).toLowerCase();df=String(df).toLowerCase();if(dh===df){return true}if(df.slice(0,1)==="."){if(dh===df.slice(1)){return true}dg=dh.length-df.length;if((dg>0)&&(dh.slice(dg)===df)){return true}}return false}function ci(df){var dg=document.createElement("a");
-if(df.indexOf("//")!==0&&df.indexOf("http")!==0){if(df.indexOf("*")===0){df=df.substr(1)}if(df.indexOf(".")===0){df=df.substr(1)}df="http://"+df}dg.href=v.toAbsoluteUrl(df);if(dg.pathname){return dg.pathname}return""}function a2(dg,df){if(!aj(df,"/")){df="/"+df}if(!aj(dg,"/")){dg="/"+dg}var dh=(df==="/"||df==="/*");if(dh){return true}if(dg===df){return true}df=String(df).toLowerCase();dg=String(dg).toLowerCase();if(R(df,"*")){df=df.slice(0,-1);dh=(!df||df==="/");if(dh){return true}if(dg===df){return true}return dg.indexOf(df)===0}if(!R(dg,"/")){dg+="/"}if(!R(df,"/")){df+="/"}return dg.indexOf(df)===0}function ar(dj,dl){var dg,df,dh,di,dk;for(dg=0;dg<ax.length;dg++){di=L(ax[dg]);dk=ci(ax[dg]);if(cC(dj,di)&&a2(dl,dk)){return true}}return false}function aU(di){var dg,df,dh;for(dg=0;dg<ax.length;dg++){df=L(ax[dg].toLowerCase());if(di===df){return true}if(df.slice(0,1)==="."){if(di===df.slice(1)){return true}dh=di.length-df.length;if((dh>0)&&(di.slice(dh)===df)){return true}}}return false}function cn(df,dh){df=df.replace("send_image=0","send_image=1");
+}}T.name=ax+"###"+au+"###"+ao+"###"+ar}var aw=T.name.split("###");return aw.length===4&&aw[0]===ax}function Z(ap,aw,ar){var av=T.name.split("###"),au=av[1],ao=av[2],at=av[3],aq=O(ap,aw);o(aq+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(aq,ar,au,ao,at)})}function u(){var aq;try{aq=T.frameElement}catch(ap){return true}if(J(aq)){return(aq&&String(aq.nodeName).toLowerCase()==="iframe")?true:false}try{return T.self!==T.top}catch(ao){return true}}function Q(cb,b6){var bF=this,bc="mtm_consent",cI="mtm_consent_removed",b1=aa(G.domain,T.location.href,K()),cQ=L(b1[0]),bK=p(b1[1]),bl=p(b1[2]),cO=false,cf="GET",c6=cf,aH="application/x-www-form-urlencoded; charset=UTF-8",cu=aH,aD=cb||"",bE="",cV="",b3=b6||"",bw="",bL="",a3,bh="",c2=["7z","aac","apk","arc","arj","asf","asx","avi","azw3","bin","csv","deb","dmg","doc","docx","epub","exe","flv","gif","gz","gzip","hqx","ibooks","jar","jpg","jpeg","js","mobi","mp2","mp3","mp4","mpg","mpeg","mov","movie","msi","msp","odb","odf","odg","ods","odt","ogg","ogv","pdf","phps","png","ppt","pptx","qt","qtm","ra","ram","rar","rpm","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],ax=[cQ],bx=[],bI=[],a7=[],bG=500,cS=true,cF,a4,bO,c3=1800,bM,ao,co=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],bD=["pk_kwd","piwik_kwd","utm_term"],bi="_pk_",av="pk_vid",aY=180,cT,bn,bP=false,bj=false,cM,bd,bt,cG=33955200000,cm=1800000,c1=15768000000,a1=true,ck=0,bN=false,aP=false,b8,bT={},cj={},bk={},br=200,cW={},c4={},b7=[],cc=false,cz=false,ap=false,c5=false,cJ=false,aM=false,bb=u(),cv=null,cU=null,b9,aQ,by,b4=am,bm,aK,cp=0,bs=["id","ses","cvar","ref"],cy=false,bz=null,cH=[],aw=U++;
+try{bh=G.title}catch(cw){bh=""}function da(dl,dj,di,dk,dh,dg){if(bj){return}var df;if(di){df=new Date();df.setTime(df.getTime()+di)}G.cookie=dl+"="+t(dj)+(di?";expires="+df.toGMTString():"")+";path="+(dk||"/")+(dh?";domain="+dh:"")+(dg?";secure":"")+";SameSite=Lax"}function aC(dh){if(bj){return 0}var df=new RegExp("(^|;)[ ]*"+dh+"=([^;]*)"),dg=df.exec(G.cookie);return dg?S(dg[2]):0}bz=!aC(cI);function bZ(df){var dg;df=k(df,av);if(bM){dg=new RegExp("#.*");return df.replace(dg,"")}return df}function bS(dh,df){var di=s(df),dg;if(di){return df}if(df.slice(0,1)==="/"){return s(dh)+"://"+d(dh)+df}dh=bZ(dh);dg=dh.indexOf("?");if(dg>=0){dh=dh.slice(0,dg)}dg=dh.lastIndexOf("/");if(dg!==dh.length-1){dh=dh.slice(0,dg+1)}return dh+df}function cD(dh,df){var dg;dh=String(dh).toLowerCase();df=String(df).toLowerCase();if(dh===df){return true}if(df.slice(0,1)==="."){if(dh===df.slice(1)){return true}dg=dh.length-df.length;if((dg>0)&&(dh.slice(dg)===df)){return true}}return false}function ci(df){var dg=document.createElement("a");
+if(df.indexOf("//")!==0&&df.indexOf("http")!==0){if(df.indexOf("*")===0){df=df.substr(1)}if(df.indexOf(".")===0){df=df.substr(1)}df="http://"+df}dg.href=v.toAbsoluteUrl(df);if(dg.pathname){return dg.pathname}return""}function a2(dg,df){if(!aj(df,"/")){df="/"+df}if(!aj(dg,"/")){dg="/"+dg}var dh=(df==="/"||df==="/*");if(dh){return true}if(dg===df){return true}df=String(df).toLowerCase();dg=String(dg).toLowerCase();if(R(df,"*")){df=df.slice(0,-1);dh=(!df||df==="/");if(dh){return true}if(dg===df){return true}return dg.indexOf(df)===0}if(!R(dg,"/")){dg+="/"}if(!R(df,"/")){df+="/"}return dg.indexOf(df)===0}function ar(dj,dl){var dg,df,dh,di,dk;for(dg=0;dg<ax.length;dg++){di=L(ax[dg]);dk=ci(ax[dg]);if(cD(dj,di)&&a2(dl,dk)){return true}}return false}function aU(di){var dg,df,dh;for(dg=0;dg<ax.length;dg++){df=L(ax[dg].toLowerCase());if(di===df){return true}if(df.slice(0,1)==="."){if(di===df.slice(1)){return true}dh=di.length-df.length;if((dh>0)&&(di.slice(dh)===df)){return true}}}return false}function cn(df,dh){df=df.replace("send_image=0","send_image=1");
var dg=new Image(1,1);dg.onload=function(){E=0;if(typeof dh==="function"){dh({request:df,trackerUrl:aD,success:true})}};dg.onerror=function(){if(typeof dh==="function"){dh({request:df,trackerUrl:aD,success:false})}};dg.src=aD+(aD.indexOf("?")<0?"?":"&")+df}function aJ(){return"object"===typeof h&&"function"===typeof h.sendBeacon&&"function"===typeof Blob}function a5(di,dm){var dh=aJ();if(!dh){return false}var dl={type:"application/x-www-form-urlencoded; charset=UTF-8"};var dk=false;var dg=aD;try{var df=new Blob([di],dl);if(di.length<=2000){df=new Blob([],dl);dg=dg+(dg.indexOf("?")<0?"?":"&")+di}dk=h.sendBeacon(dg,df)}catch(dj){return false}if(dk&&typeof dm==="function"){dm({request:di,trackerUrl:aD,success:true,isSendBeacon:true})}return dk}function c0(dg,dh,df){if(!J(df)||null===df){df=true}if(m&&a5(dg,dh)){return}setTimeout(function(){if(m&&a5(dg,dh)){return}var dk;try{var dj=T.XMLHttpRequest?new T.XMLHttpRequest():T.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;dj.open("POST",aD,true);
-dj.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dl=m&&a5(dg,dh);if(!dl&&df){cn(dg,dh)}else{if(typeof dh==="function"){dh({request:dg,trackerUrl:aD,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof dh==="function")){dh({request:dg,trackerUrl:aD,success:true,xhr:this})}}};dj.setRequestHeader("Content-Type",cu);dj.withCredentials=true;dj.send(dg)}catch(di){dk=m&&a5(dg,dh);if(!dk&&df){cn(dg,dh)}else{if(typeof dh==="function"){dh({request:dg,trackerUrl:aD,success:false})}}}},50)}function cd(dg){var df=new Date();var dh=df.getTime()+dg;if(!r||dh>r){r=dh}}function cl(df){if(b9||!a4||!bz){return}b9=setTimeout(function dg(){b9=null;if(!bb){bb=(!G.hasFocus||G.hasFocus())}if(!bb){cl(a4);return}if(bO()){return}var dh=new Date(),di=a4-(dh.getTime()-cU);di=Math.min(a4,di);cl(di)},df||a4)}function bH(){if(!b9){return}clearTimeout(b9);b9=null}function a9(){bb=true;cN=new Date().getTime()}function c9(){var df=new Date().getTime();return !cN||(df-cN)>a4
-}function ay(){if(c9()){bO()}bH()}function dc(){if(aM||!a4){return}aM=true;an(T,"focus",a9);an(T,"blur",ay);ab++;e.addPlugin("HeartBeat"+ab,{unload:function(){if(aM&&c9()){bO()}}})}function cz(dj){var dg=new Date();var df=dg.getTime();cU=df;if(cy&&df<cy){var dh=cy-df;setTimeout(dj,dh);cd(dh+50);cy+=50;return}if(cy===false){var di=800;cy=df+di}dj()}function aN(){if(aC(cH)){bz=false}else{if(aC(bc)){bz=true}}}function bC(dg,df,dh){aN();if(!bz){cG.push(dg);return}if(!cL&&dg){if(cx&&bz){dg+="&consent=1"}cz(function(){if(cS&&a5(dg,dh)){cd(100);return}if(c6==="POST"||String(dg).length>2000){c0(dg,dh)}else{cn(dg,dh)}cd(df)})}if(!aM){dc()}}function ch(df){if(cL){return false}return(df&&df.length)}function cZ(df,dj){if(!dj||dj>=df.length){return[df]}var dg=0;var dh=df.length;var di=[];for(dg;dg<dh;dg+=dj){di.push(df.slice(dg,dg+dj))}return di}function db(dg,df){if(!ch(dg)){return}if(!bz){cG.push(dg);return}cz(function(){var dj=cZ(dg,50);var dh=0,di;for(dh;dh<dj.length;dh++){di='{"requests":["?'+dj[dh].join('","?')+'"]}';
-c0(di,null,false)}cd(df)})}function aS(df){return bi+df+"."+b3+"."+bm}function bV(dh,dg,df){da(dh,"",-86400,dg,df)}function b2(){if(bj){return"0"}if(!J(T.showModalDialog)&&J(h.cookieEnabled)){return h.cookieEnabled?"1":"0"}var df=bi+"testcookie";da(df,"1",undefined,bn,cT,bP);var dg=aC(df)==="1"?"1":"0";bV(df);return dg}function bg(){bm=b4((cT||cQ)+(bn||"/")).slice(0,4)}function cD(){if(J(c4.res)){return c4}var dg,di,dj={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"};if(!((new RegExp("MSIE")).test(h.userAgent))){if(h.mimeTypes&&h.mimeTypes.length){for(dg in dj){if(Object.prototype.hasOwnProperty.call(dj,dg)){di=h.mimeTypes[dj[dg]];c4[dg]=(di&&di.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(h.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(h.javaEnabled)&&h.javaEnabled()){c4.java="1"
-}if(A(T.GearsFactory)){c4.gears="1"}c4.cookie=b2()}var dh=parseInt(X.width,10);var df=parseInt(X.height,10);c4.res=parseInt(dh,10)+"x"+parseInt(df,10);return c4}function bU(){var dg=aS("cvar"),df=aC(dg);if(df.length){df=T.JSON.parse(df);if(W(df)){return df}}return{}}function cA(){if(aP===false){aP=bU()}}function cM(){var df=cD();return b4((h.userAgent||"")+(h.platform||"")+T.JSON.stringify(df)+(new Date()).getTime()+Math.random()).slice(0,16)}function az(){var df=cD();return b4((h.userAgent||"")+(h.platform||"")+T.JSON.stringify(df)).slice(0,6)}function be(){return Math.floor((new Date()).getTime()/1000)}function aI(){var dg=be();var dh=az();var df=String(dg)+dh;return df}function cY(dh){dh=String(dh);var dk=az();var di=dk.length;var dj=dh.substr(-1*di,di);var dg=parseInt(dh.substr(0,dh.length-di),10);if(dg&&dj&&dj===dk){var df=be();if(aY<=0){return true}if(df>=dg&&df<=(dg+aY)){return true}}return false}function dd(df){if(!cI){return""}var dj=f(df,av);if(!dj){return""}dj=String(dj);var dh=new RegExp("^[a-zA-Z0-9]+$");
-if(dj.length===32&&dh.test(dj)){var dg=dj.substr(16,32);if(cY(dg)){var di=dj.substr(0,16);return di}}return""}function cJ(){if(!bL){bL=dd(bK)}var dh=new Date(),df=Math.round(dh.getTime()/1000),dg=aS("id"),dk=aC(dg),dj,di;if(dk){dj=dk.split(".");dj.unshift("0");if(bL.length){dj[1]=bL}return dj}if(bL.length){di=bL}else{if("0"===b2()){di=""}else{di=cM()}}dj=["1",di,df,0,df,"",""];return dj}function aX(){var dm=cJ(),di=dm[0],dj=dm[1],dg=dm[2],df=dm[3],dk=dm[4],dh=dm[5];if(!J(dm[6])){dm[6]=""}var dl=dm[6];return{newVisitor:di,uuid:dj,createTs:dg,visitCount:df,currentVisitTs:dk,lastVisitTs:dh,lastEcommerceOrderTs:dl}}function aG(){var di=new Date(),dg=di.getTime(),dj=aX().createTs;var df=parseInt(dj,10);var dh=(df*1000)+cF-dg;return dh}function aL(df){if(!b3){return}var dh=new Date(),dg=Math.round(dh.getTime()/1000);if(!J(df)){df=aX()}var di=df.uuid+"."+df.createTs+"."+df.visitCount+"."+dg+"."+df.lastVisitTs+"."+df.lastEcommerceOrderTs;da(aS("id"),di,aG(),bn,cT,bP)}function bJ(){var df=aC(aS("ref"));
-if(df.length){try{df=T.JSON.parse(df);if(W(df)){return df}}catch(dg){}}return["","",0,""]}function bu(dg){var df="testvalue";da("test",df,10000,null,dg);if(aC("test")===df){bV("test",null,dg);return true}return false}function aE(){var dg=bj;bj=false;var df,dh;for(df=0;df<bs.length;df++){dh=aS(bs[df]);if(dh!==cH&&dh!==bc&&0!==aC(dh)){bV(dh,bn,cT)}}bj=dg}function b0(df){b3=df;aL()}function de(dj){if(!dj||!W(dj)){return}var di=[];var dh;for(dh in dj){if(Object.prototype.hasOwnProperty.call(dj,dh)){di.push(dh)}}var dk={};di.sort();var df=di.length;var dg;for(dg=0;dg<df;dg++){dk[di[dg]]=dj[di[dg]]}return dk}function ca(){da(aS("ses"),"1",cm,bn,cT,bP)}function bf(){var di="";var dg="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dh=dg.length;var df;for(df=0;df<6;df++){di+=dg.charAt(Math.floor(Math.random()*dh))}return di}function cq(dh,dD,dE,di){var dC,dg=new Date(),dq=Math.round(dg.getTime()/1000),dm,dB,dj=1024,dK,dr,dz=aP,dk=aS("ses"),dx=aS("ref"),du=aS("cvar"),dv=aC(dk),dA=bJ(),dG=a3||bK,dn,df;
-if(bj){aE()}if(cL){return""}var dw=aX();if(!J(di)){di=""}var dt=G.characterSet||G.charset;if(!dt||dt.toLowerCase()==="utf-8"){dt=null}dn=dA[0];df=dA[1];dm=dA[2];dB=dA[3];if(!dv){var dF=cm/1000;if(!dw.lastVisitTs||(dq-dw.lastVisitTs)>dF){dw.visitCount++;dw.lastVisitTs=dw.currentVisitTs}if(!bt||!dn.length){for(dC in co){if(Object.prototype.hasOwnProperty.call(co,dC)){dn=f(dG,co[dC]);if(dn.length){break}}}for(dC in bD){if(Object.prototype.hasOwnProperty.call(bD,dC)){df=f(dG,bD[dC]);if(df.length){break}}}}dK=d(bl);dr=dB.length?d(dB):"";if(dK.length&&!aU(dK)&&(!bt||!dr.length||aU(dr))){dB=bl}if(dB.length||dn.length){dm=dq;dA=[dn,df,dm,bZ(dB.slice(0,dj))];da(dx,T.JSON.stringify(dA),c1,bn,cT,bP)}}dh+="&idsite="+b3+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dg.getHours()+"&m="+dg.getMinutes()+"&s="+dg.getSeconds()+"&url="+t(bZ(dG))+(bl.length?"&urlref="+t(bZ(bl)):"")+((bw&&bw.length)?"&uid="+t(bw):"")+"&_id="+dw.uuid+"&_idts="+dw.createTs+"&_idvc="+dw.visitCount+"&_idn="+dw.newVisitor+(dn.length?"&_rcn="+t(dn):"")+(df.length?"&_rck="+t(df):"")+"&_refts="+dm+"&_viewts="+dw.lastVisitTs+(String(dw.lastEcommerceOrderTs).length?"&_ects="+dw.lastEcommerceOrderTs:"")+(String(dB).length?"&_ref="+t(bZ(dB.slice(0,dj))):"")+(dt?"&cs="+t(dt):"")+"&send_image=0";
-var dJ=cD();for(dC in dJ){if(Object.prototype.hasOwnProperty.call(dJ,dC)){dh+="&"+dC+"="+dJ[dC]}}var dI=[];if(dD){for(dC in dD){if(Object.prototype.hasOwnProperty.call(dD,dC)&&/^dimension\d+$/.test(dC)){var dl=dC.replace("dimension","");dI.push(parseInt(dl,10));dI.push(String(dl));dh+="&"+dC+"="+t(dD[dC]);delete dD[dC]}}}if(dD&&B(dD)){dD=null}for(dC in bk){if(Object.prototype.hasOwnProperty.call(bk,dC)){var ds=(-1===M(dI,dC));if(ds){dh+="&dimension"+dC+"="+t(bk[dC])}}}if(dD){dh+="&data="+t(T.JSON.stringify(dD))}else{if(ao){dh+="&data="+t(T.JSON.stringify(ao))}}function dp(dL,dM){var dN=T.JSON.stringify(dL);if(dN.length>2){return"&"+dM+"="+t(dN)}return""}var dH=de(bT);var dy=de(cj);dh+=dp(dH,"cvar");dh+=dp(dy,"e_cvar");if(aP){dh+=dp(aP,"_cvar");for(dC in dz){if(Object.prototype.hasOwnProperty.call(dz,dC)){if(aP[dC][0]===""||aP[dC][1]===""){delete aP[dC]}}}if(bN){da(du,T.JSON.stringify(aP),cm,bn,cT,bP)}}if(a1){if(ck){dh+="&gt_ms="+ck}else{if(i&&i.timing&&i.timing.requestStart&&i.timing.responseEnd){dh+="&gt_ms="+(i.timing.responseEnd-i.timing.requestStart)
+dj.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dl=m&&a5(dg,dh);if(!dl&&df){cn(dg,dh)}else{if(typeof dh==="function"){dh({request:dg,trackerUrl:aD,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof dh==="function")){dh({request:dg,trackerUrl:aD,success:true,xhr:this})}}};dj.setRequestHeader("Content-Type",cu);dj.withCredentials=true;dj.send(dg)}catch(di){dk=m&&a5(dg,dh);if(!dk&&df){cn(dg,dh)}else{if(typeof dh==="function"){dh({request:dg,trackerUrl:aD,success:false})}}}},50)}function cd(dg){var df=new Date();var dh=df.getTime()+dg;if(!r||dh>r){r=dh}}function cl(df){if(b9||!a4||!bz){return}b9=setTimeout(function dg(){b9=null;if(!bb){bb=(!G.hasFocus||G.hasFocus())}if(!bb){cl(a4);return}if(bO()){return}var dh=new Date(),di=a4-(dh.getTime()-cU);di=Math.min(a4,di);cl(di)},df||a4)}function bH(){if(!b9){return}clearTimeout(b9);b9=null}function a9(){bb=true;cv=new Date().getTime()}function c9(){var df=new Date().getTime();return !cv||(df-cv)>a4
+}function ay(){if(c9()){bO()}bH()}function dc(){if(aM||!a4){return}aM=true;an(T,"focus",a9);an(T,"blur",ay);ab++;e.addPlugin("HeartBeat"+ab,{unload:function(){if(aM&&c9()){bO()}}})}function cA(dj){var dg=new Date();var df=dg.getTime();cU=df;if(cz&&df<cz){var dh=cz-df;setTimeout(dj,dh);cd(dh+50);cz+=50;return}if(cz===false){var di=800;cz=df+di}dj()}function aN(){if(aC(cI)){bz=false}else{if(aC(bc)){bz=true}}}function bC(dg,df,dh){aN();if(!bz){cH.push(dg);return}if(!cM&&dg){if(cy&&bz){dg+="&consent=1"}cA(function(){if(cS&&a5(dg,dh)){cd(100);return}if(c6==="POST"||String(dg).length>2000){c0(dg,dh)}else{cn(dg,dh)}cd(df)})}if(!aM){dc()}}function ch(df){if(cM){return false}return(df&&df.length)}function cZ(df,dj){if(!dj||dj>=df.length){return[df]}var dg=0;var dh=df.length;var di=[];for(dg;dg<dh;dg+=dj){di.push(df.slice(dg,dg+dj))}return di}function db(dg,df){if(!ch(dg)){return}if(!bz){cH.push(dg);return}cA(function(){var dj=cZ(dg,50);var dh=0,di;for(dh;dh<dj.length;dh++){di='{"requests":["?'+dj[dh].join('","?')+'"]}';
+c0(di,null,false)}cd(df)})}function aS(df){return bi+df+"."+b3+"."+bm}function bV(dh,dg,df){da(dh,"",-86400,dg,df)}function b2(){if(bj){return"0"}if(!J(T.showModalDialog)&&J(h.cookieEnabled)){return h.cookieEnabled?"1":"0"}var df=bi+"testcookie";da(df,"1",undefined,bn,cT,bP);var dg=aC(df)==="1"?"1":"0";bV(df);return dg}function bg(){bm=b4((cT||cQ)+(bn||"/")).slice(0,4)}function cE(){if(J(c4.res)){return c4}var dg,di,dj={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"};if(!((new RegExp("MSIE")).test(h.userAgent))){if(h.mimeTypes&&h.mimeTypes.length){for(dg in dj){if(Object.prototype.hasOwnProperty.call(dj,dg)){di=h.mimeTypes[dj[dg]];c4[dg]=(di&&di.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(h.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(h.javaEnabled)&&h.javaEnabled()){c4.java="1"
+}if(A(T.GearsFactory)){c4.gears="1"}c4.cookie=b2()}var dh=parseInt(X.width,10);var df=parseInt(X.height,10);c4.res=parseInt(dh,10)+"x"+parseInt(df,10);return c4}function bU(){var dg=aS("cvar"),df=aC(dg);if(df.length){df=T.JSON.parse(df);if(W(df)){return df}}return{}}function cB(){if(aP===false){aP=bU()}}function cN(){var df=cE();return b4((h.userAgent||"")+(h.platform||"")+T.JSON.stringify(df)+(new Date()).getTime()+Math.random()).slice(0,16)}function az(){var df=cE();return b4((h.userAgent||"")+(h.platform||"")+T.JSON.stringify(df)).slice(0,6)}function be(){return Math.floor((new Date()).getTime()/1000)}function aI(){var dg=be();var dh=az();var df=String(dg)+dh;return df}function cY(dh){dh=String(dh);var dk=az();var di=dk.length;var dj=dh.substr(-1*di,di);var dg=parseInt(dh.substr(0,dh.length-di),10);if(dg&&dj&&dj===dk){var df=be();if(aY<=0){return true}if(df>=dg&&df<=(dg+aY)){return true}}return false}function dd(df){if(!cJ){return""}var dj=f(df,av);if(!dj){return""}dj=String(dj);var dh=new RegExp("^[a-zA-Z0-9]+$");
+if(dj.length===32&&dh.test(dj)){var dg=dj.substr(16,32);if(cY(dg)){var di=dj.substr(0,16);return di}}return""}function cK(){if(!bL){bL=dd(bK)}var dh=new Date(),df=Math.round(dh.getTime()/1000),dg=aS("id"),dk=aC(dg),dj,di;if(dk){dj=dk.split(".");dj.unshift("0");if(bL.length){dj[1]=bL}return dj}if(bL.length){di=bL}else{if("0"===b2()){di=""}else{di=cN()}}dj=["1",di,df,0,df,"",""];return dj}function aX(){var dm=cK(),di=dm[0],dj=dm[1],dg=dm[2],df=dm[3],dk=dm[4],dh=dm[5];if(!J(dm[6])){dm[6]=""}var dl=dm[6];return{newVisitor:di,uuid:dj,createTs:dg,visitCount:df,currentVisitTs:dk,lastVisitTs:dh,lastEcommerceOrderTs:dl}}function aG(){var di=new Date(),dg=di.getTime(),dj=aX().createTs;var df=parseInt(dj,10);var dh=(df*1000)+cG-dg;return dh}function aL(df){if(!b3){return}var dh=new Date(),dg=Math.round(dh.getTime()/1000);if(!J(df)){df=aX()}var di=df.uuid+"."+df.createTs+"."+df.visitCount+"."+dg+"."+df.lastVisitTs+"."+df.lastEcommerceOrderTs;da(aS("id"),di,aG(),bn,cT,bP)}function bJ(){var df=aC(aS("ref"));
+if(df.length){try{df=T.JSON.parse(df);if(W(df)){return df}}catch(dg){}}return["","",0,""]}function bu(dg){var df="testvalue";da("test",df,10000,null,dg);if(aC("test")===df){bV("test",null,dg);return true}return false}function aE(){var dg=bj;bj=false;var df,dh;for(df=0;df<bs.length;df++){dh=aS(bs[df]);if(dh!==cI&&dh!==bc&&0!==aC(dh)){bV(dh,bn,cT)}}bj=dg}function b0(df){b3=df;aL()}function de(dj){if(!dj||!W(dj)){return}var di=[];var dh;for(dh in dj){if(Object.prototype.hasOwnProperty.call(dj,dh)){di.push(dh)}}var dk={};di.sort();var df=di.length;var dg;for(dg=0;dg<df;dg++){dk[di[dg]]=dj[di[dg]]}return dk}function ca(){da(aS("ses"),"1",cm,bn,cT,bP)}function bf(){var di="";var dg="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dh=dg.length;var df;for(df=0;df<6;df++){di+=dg.charAt(Math.floor(Math.random()*dh))}return di}function cq(dh,dD,dE,di){var dC,dg=new Date(),dq=Math.round(dg.getTime()/1000),dm,dB,dj=1024,dK,dr,dz=aP,dk=aS("ses"),dx=aS("ref"),du=aS("cvar"),dv=aC(dk),dA=bJ(),dG=a3||bK,dn,df;
+if(bj){aE()}if(cM){return""}var dw=aX();if(!J(di)){di=""}var dt=G.characterSet||G.charset;if(!dt||dt.toLowerCase()==="utf-8"){dt=null}dn=dA[0];df=dA[1];dm=dA[2];dB=dA[3];if(!dv){var dF=cm/1000;if(!dw.lastVisitTs||(dq-dw.lastVisitTs)>dF){dw.visitCount++;dw.lastVisitTs=dw.currentVisitTs}if(!bt||!dn.length){for(dC in co){if(Object.prototype.hasOwnProperty.call(co,dC)){dn=f(dG,co[dC]);if(dn.length){break}}}for(dC in bD){if(Object.prototype.hasOwnProperty.call(bD,dC)){df=f(dG,bD[dC]);if(df.length){break}}}}dK=d(bl);dr=dB.length?d(dB):"";if(dK.length&&!aU(dK)&&(!bt||!dr.length||aU(dr))){dB=bl}if(dB.length||dn.length){dm=dq;dA=[dn,df,dm,bZ(dB.slice(0,dj))];da(dx,T.JSON.stringify(dA),c1,bn,cT,bP)}}dh+="&idsite="+b3+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dg.getHours()+"&m="+dg.getMinutes()+"&s="+dg.getSeconds()+"&url="+t(bZ(dG))+(bl.length?"&urlref="+t(bZ(bl)):"")+((bw&&bw.length)?"&uid="+t(bw):"")+"&_id="+dw.uuid+"&_idts="+dw.createTs+"&_idvc="+dw.visitCount+"&_idn="+dw.newVisitor+(dn.length?"&_rcn="+t(dn):"")+(df.length?"&_rck="+t(df):"")+"&_refts="+dm+"&_viewts="+dw.lastVisitTs+(String(dw.lastEcommerceOrderTs).length?"&_ects="+dw.lastEcommerceOrderTs:"")+(String(dB).length?"&_ref="+t(bZ(dB.slice(0,dj))):"")+(dt?"&cs="+t(dt):"")+"&send_image=0";
+var dJ=cE();for(dC in dJ){if(Object.prototype.hasOwnProperty.call(dJ,dC)){dh+="&"+dC+"="+dJ[dC]}}var dI=[];if(dD){for(dC in dD){if(Object.prototype.hasOwnProperty.call(dD,dC)&&/^dimension\d+$/.test(dC)){var dl=dC.replace("dimension","");dI.push(parseInt(dl,10));dI.push(String(dl));dh+="&"+dC+"="+t(dD[dC]);delete dD[dC]}}}if(dD&&B(dD)){dD=null}for(dC in bk){if(Object.prototype.hasOwnProperty.call(bk,dC)){var ds=(-1===M(dI,dC));if(ds){dh+="&dimension"+dC+"="+t(bk[dC])}}}if(dD){dh+="&data="+t(T.JSON.stringify(dD))}else{if(ao){dh+="&data="+t(T.JSON.stringify(ao))}}function dp(dL,dM){var dN=T.JSON.stringify(dL);if(dN.length>2){return"&"+dM+"="+t(dN)}return""}var dH=de(bT);var dy=de(cj);dh+=dp(dH,"cvar");dh+=dp(dy,"e_cvar");if(aP){dh+=dp(aP,"_cvar");for(dC in dz){if(Object.prototype.hasOwnProperty.call(dz,dC)){if(aP[dC][0]===""||aP[dC][1]===""){delete aP[dC]}}}if(bN){da(du,T.JSON.stringify(aP),cm,bn,cT,bP)}}if(a1){if(ck){dh+="&gt_ms="+ck}else{if(i&&i.timing&&i.timing.requestStart&&i.timing.responseEnd){dh+="&gt_ms="+(i.timing.responseEnd-i.timing.requestStart)
}}}if(aK){dh+="&pv_id="+aK}dw.lastEcommerceOrderTs=J(di)&&String(di).length?di:dw.lastEcommerceOrderTs;aL(dw);ca();dh+=ac(dE,{tracker:bF,request:dh});if(cV.length){dh+="&"+cV}if(A(b8)){dh=b8(dh)}return dh}bO=function a6(){var df=new Date();df=df.getTime();if(!cU){return false}if((cU+(1000*c3))<=df){return false}if(cU+a4<=df){bF.ping();return true}return false};function bo(di,dh,dn,dj,df,dr){var dl="idgoal=0",dm,dg=new Date(),dp=[],dq,dk=String(di).length;if(dk){dl+="&ec_id="+t(di);dm=Math.round(dg.getTime()/1000)}dl+="&revenue="+dh;if(String(dn).length){dl+="&ec_st="+dn}if(String(dj).length){dl+="&ec_tx="+dj}if(String(df).length){dl+="&ec_sh="+df}if(String(dr).length){dl+="&ec_dt="+dr}if(cW){for(dq in cW){if(Object.prototype.hasOwnProperty.call(cW,dq)){if(!J(cW[dq][1])){cW[dq][1]=""}if(!J(cW[dq][2])){cW[dq][2]=""}if(!J(cW[dq][3])||String(cW[dq][3]).length===0){cW[dq][3]=0}if(!J(cW[dq][4])||String(cW[dq][4]).length===0){cW[dq][4]=1}dp.push(cW[dq])}}dl+="&ec_items="+t(T.JSON.stringify(dp))
}dl=cq(dl,ao,"ecommerce",dm);bC(dl,bG);if(dk){cW={}}}function bW(df,dj,di,dh,dg,dk){if(String(df).length&&J(dj)){bo(df,dj,di,dh,dg,dk)}}function bq(df){if(J(df)){bo("",df,"","","","")}}function bX(dg,di,dh){aK=bf();var df=cq("action_name="+t(al(dg||bh)),di,"log");bC(df,bG,dh)}function aZ(dh,dg){var di,df="(^| )(piwik[_-]"+dg;if(dh){for(di=0;di<dh.length;di++){df+="|"+dh[di]}}df+=")( |$)";return new RegExp(df)}function aT(df){return(aD&&df&&0===String(df).indexOf(aD))}function cs(dj,df,dk,dg){if(aT(df)){return 0}var di=aZ(bI,"download"),dh=aZ(a7,"link"),dl=new RegExp("\\.("+c2.join("|")+")([?&#]|$)","i");if(dh.test(dj)){return"link"}if(dg||di.test(dj)||dl.test(df)){return"download"}if(dk){return 0}return"link"}function au(dg){var df;df=dg.parentNode;while(df!==null&&J(df)){if(ae.isLinkElement(dg)){break}dg=df;df=dg.parentNode}return dg}function c8(dk){dk=au(dk);if(!ae.hasNodeAttribute(dk,"href")){return}if(!J(dk.href)){return}var dj=ae.getAttributeValueFromNode(dk,"href");var dg=dk.pathname||ci(dk.href);
var dl=dk.hostname||d(dk.href);var dm=dl.toLowerCase();var dh=dk.href.replace(dl,dm);var di=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!di.test(dh)){var df=cs(dk.className,dh,ar(dm,dg),ae.hasNodeAttribute(dk,"download"));if(df){return{type:df,href:dh}}}}function aO(df,dg,dh,di){var dj=v.buildInteractionRequestParams(df,dg,dh,di);if(!dj){return}return cq(dj,null,"contentInteraction")}function ba(df,dg){if(!df||!dg){return false}var dh=v.findTargetNode(df);if(v.shouldIgnoreInteraction(dh)){return false}dh=v.findTargetNodeNoDefault(df);if(dh&&!V(dh,dg)){return false}return true}function cr(dh,dg,dj){if(!dh){return}var df=v.findParentContentNode(dh);if(!df){return}if(!ba(df,dh)){return}var di=v.buildContentBlock(df);if(!di){return}if(!di.target&&dj){di.target=dj}return v.buildInteractionRequestParams(dg,di.name,di.piece,di.target)}function aV(dg){if(!b7||!b7.length){return false}var df,dh;for(df=0;df<b7.length;df++){dh=b7[df];if(dh&&dh.name===dg.name&&dh.piece===dg.piece&&dh.target===dg.target){return true
-}}return false}function aW(df){return function(dj){if(!df){return}var dh=v.findParentContentNode(df);var dg;if(dj){dg=dj.target||dj.srcElement}if(!dg){dg=df}if(!ba(dh,dg)){return}if(!dh){return false}var dk=v.findTargetNode(dh);if(!dk||v.shouldIgnoreInteraction(dk)){return false}var di=c8(dk);if(c5&&di&&di.type){return di.type}return bF.trackContentInteractionNode(dg,"click")}}function bY(dh){if(!dh||!dh.length){return}var df,dg;for(df=0;df<dh.length;df++){dg=v.findTargetNode(dh[df]);if(dg&&!dg.contentInteractionTrackingSetupDone){dg.contentInteractionTrackingSetupDone=true;an(dg,"click",aW(dg))}}}function bv(dh,di){if(!dh||!dh.length){return[]}var df,dg;for(df=0;df<dh.length;df++){if(aV(dh[df])){dh.splice(df,1);df--}else{b7.push(dh[df])}}if(!dh||!dh.length){return[]}bY(di);var dj=[];for(df=0;df<dh.length;df++){dg=cq(v.buildImpressionRequestParams(dh[df].name,dh[df].piece,dh[df].target),undefined,"contentImpressions");if(dg){dj.push(dg)}}return dj}function cw(dg){var df=v.collectContent(dg);
-return bv(df,dg)}function a8(dg){if(!dg||!dg.length){return[]}var df;for(df=0;df<dg.length;df++){if(!v.isNodeVisible(dg[df])){dg.splice(df,1);df--}}if(!dg||!dg.length){return[]}return cw(dg)}function aF(dh,df,dg){var di=v.buildImpressionRequestParams(dh,df,dg);return cq(di,null,"contentImpression")}function c7(di,dg){if(!di){return}var df=v.findParentContentNode(di);var dh=v.buildContentBlock(df);if(!dh){return}if(!dg){dg="Unknown"}return aO(dg,dh.name,dh.piece,dh.target)}function cK(dg,di,df,dh){return"e_c="+t(dg)+"&e_a="+t(di)+(J(df)?"&e_n="+t(df):"")+(J(dh)?"&e_v="+t(dh):"")}function at(dh,dj,df,di,dl,dk){if(a(String(dh)).length===0||a(String(dj)).length===0){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dg=cq(cK(dh,dj,df,di),dl,"event");bC(dg,bG,dk)}function b5(df,di,dg,dj){var dh=cq("search="+t(df)+(di?"&search_cat="+t(di):"")+(J(dg)?"&search_count="+dg:""),dj,"sitesearch");bC(dh,bG)}function cP(df,dj,di,dh){var dg=cq("idgoal="+df+(dj?"&revenue="+dj:""),di,"goal");
+}}return false}function aW(df){return function(dj){if(!df){return}var dh=v.findParentContentNode(df);var dg;if(dj){dg=dj.target||dj.srcElement}if(!dg){dg=df}if(!ba(dh,dg)){return}if(!dh){return false}var dk=v.findTargetNode(dh);if(!dk||v.shouldIgnoreInteraction(dk)){return false}var di=c8(dk);if(c5&&di&&di.type){return di.type}return bF.trackContentInteractionNode(dg,"click")}}function bY(dh){if(!dh||!dh.length){return}var df,dg;for(df=0;df<dh.length;df++){dg=v.findTargetNode(dh[df]);if(dg&&!dg.contentInteractionTrackingSetupDone){dg.contentInteractionTrackingSetupDone=true;an(dg,"click",aW(dg))}}}function bv(dh,di){if(!dh||!dh.length){return[]}var df,dg;for(df=0;df<dh.length;df++){if(aV(dh[df])){dh.splice(df,1);df--}else{b7.push(dh[df])}}if(!dh||!dh.length){return[]}bY(di);var dj=[];for(df=0;df<dh.length;df++){dg=cq(v.buildImpressionRequestParams(dh[df].name,dh[df].piece,dh[df].target),undefined,"contentImpressions");if(dg){dj.push(dg)}}return dj}function cx(dg){var df=v.collectContent(dg);
+return bv(df,dg)}function a8(dg){if(!dg||!dg.length){return[]}var df;for(df=0;df<dg.length;df++){if(!v.isNodeVisible(dg[df])){dg.splice(df,1);df--}}if(!dg||!dg.length){return[]}return cx(dg)}function aF(dh,df,dg){var di=v.buildImpressionRequestParams(dh,df,dg);return cq(di,null,"contentImpression")}function c7(di,dg){if(!di){return}var df=v.findParentContentNode(di);var dh=v.buildContentBlock(df);if(!dh){return}if(!dg){dg="Unknown"}return aO(dg,dh.name,dh.piece,dh.target)}function cL(dg,di,df,dh){return"e_c="+t(dg)+"&e_a="+t(di)+(J(df)?"&e_n="+t(df):"")+(J(dh)?"&e_v="+t(dh):"")}function at(dh,dj,df,di,dl,dk){if(a(String(dh)).length===0||a(String(dj)).length===0){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dg=cq(cL(dh,dj,df,di),dl,"event");bC(dg,bG,dk)}function b5(df,di,dg,dj){var dh=cq("search="+t(df)+(di?"&search_cat="+t(di):"")+(J(dg)?"&search_count="+dg:""),dj,"sitesearch");bC(dh,bG)}function cP(df,dj,di,dh){var dg=cq("idgoal="+df+(dj?"&revenue="+dj:""),di,"goal");
bC(dg,bG,dh)}function cX(di,df,dm,dl,dh){var dk=df+"="+t(bZ(di));var dg=cr(dh,"click",di);if(dg){dk+="&"+dg}var dj=cq(dk,dm,"link");bC(dj,bG,dl)}function bR(dg,df){if(dg!==""){return dg+df.charAt(0).toUpperCase()+df.slice(1)}return df}function ce(dk){var dj,df,di=["","webkit","ms","moz"],dh;if(!bd){for(df=0;df<di.length;df++){dh=di[df];if(Object.prototype.hasOwnProperty.call(G,bR(dh,"hidden"))){if(G[bR(dh,"visibilityState")]==="prerender"){dj=true}break}}}if(dj){an(G,dh+"visibilitychange",function dg(){G.removeEventListener(dh+"visibilitychange",dg,false);dk()});return}dk()}function bp(){var dg=aX().uuid;var df=aI();return dg+df}function cg(df){if(!df){return}if(!ae.hasNodeAttribute(df,"href")){return}var dg=ae.getAttributeValueFromNode(df,"href");if(!dg||aT(dg)){return}dg=k(dg,av);var dh=bp();dg=F(dg,av,dh);ae.setAnyAttribute(df,"href",dg)}function aA(di){var dj=ae.getAttributeValueFromNode(di,"href");if(!dj){return false}dj=String(dj);var dg=dj.indexOf("//")===0||dj.indexOf("http://")===0||dj.indexOf("https://")===0;
-if(!dg){return false}var df=di.pathname||ci(di.href);var dh=(di.hostname||d(di.href)).toLowerCase();if(ar(dh,df)){if(!cC(cQ,L(dh))){return true}return false}return false}function cB(df){var dg=c8(df);if(dg&&dg.type){dg.href=p(dg.href);cX(dg.href,dg.type,undefined,null,df);return}if(cI){df=au(df);if(aA(df)){cg(df)}}}function ct(){return G.all&&!G.addEventListener}function cR(df){var dh=df.which;var dg=(typeof df.button);if(!dh&&dg!=="undefined"){if(ct()){if(df.button&1){dh=1}else{if(df.button&2){dh=3}else{if(df.button&4){dh=2}}}}else{if(df.button===0||df.button==="0"){dh=1}else{if(df.button&1){dh=2}else{if(df.button&2){dh=3}}}}}return dh}function bQ(df){switch(cR(df)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a0(df){return df.target||df.srcElement}function aB(df){return function(di){di=di||T.event;var dh=bQ(di);var dj=a0(di);if(di.type==="click"){var dg=false;if(df&&dh==="middle"){dg=true}if(dj&&!dg){cB(dj)}}else{if(di.type==="mousedown"){if(dh==="middle"&&dj){aQ=dh;
-by=dj}else{aQ=by=null}}else{if(di.type==="mouseup"){if(dh===aQ&&dj===by){cB(dj)}aQ=by=null}else{if(di.type==="contextmenu"){cB(dj)}}}}}}function aq(dh,dg){var df=typeof dg;if(df==="undefined"){dg=true}an(dh,"click",aB(dg),false);if(dg){an(dh,"mouseup",aB(dg),false);an(dh,"mousedown",aB(dg),false);an(dh,"contextmenu",aB(dg),false)}}function bB(dh,dj){ap=true;var di,dg=aZ(bx,"ignore"),dk=G.links,df=null,dl=null;if(dk){for(di=0;di<dk.length;di++){df=dk[di];if(!dg.test(df.className)){dl=typeof df.piwikTrackers;if("undefined"===dl){df.piwikTrackers=[]}if(-1===M(df.piwikTrackers,dj)){df.piwikTrackers.push(dj);aq(df,dh)}}}}}function aR(dg,dj,dk){if(cc){return true}cc=true;var dl=false;var di,dh;function df(){dl=true}n(function(){function dm(dp){setTimeout(function(){if(!cc){return}dl=false;dk.trackVisibleContentImpressions();dm(dp)},dp)}function dn(dp){setTimeout(function(){if(!cc){return}if(dl){dl=false;dk.trackVisibleContentImpressions()}dn(dp)},dp)}if(dg){di=["scroll","resize"];for(dh=0;dh<di.length;
-dh++){if(G.addEventListener){G.addEventListener(di[dh],df,false)}else{T.attachEvent("on"+di[dh],df)}}dn(100)}if(dj&&dj>0){dj=parseInt(dj,10);dm(dj)}})}var bA={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var df=this.requests;this.requests=[];if(df.length===1){bC(df[0],bG)}else{db(df,bG)}},push:function(df){if(!df){return}if(m||!this.enabled){bC(df,bG);return}bA.requests.push(df);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bA.timeout=null;bA.sendRequests()},bA.interval);var dg="RequestQueue"+aw;if(!Object.prototype.hasOwnProperty.call(b,dg)){b[dg]={unload:function(){if(bA.timeout){clearTimeout(bA.timeout)}bA.sendRequests()}}}}};bg();aL();this.hasConsent=function(){return bz};this.getVisitorId=function(){return aX().uuid};this.getVisitorInfo=function(){return cJ()};this.getAttributionInfo=function(){return bJ()};this.getAttributionCampaignName=function(){return bJ()[0]};this.getAttributionCampaignKeyword=function(){return bJ()[1]
+if(!dg){return false}var df=di.pathname||ci(di.href);var dh=(di.hostname||d(di.href)).toLowerCase();if(ar(dh,df)){if(!cD(cQ,L(dh))){return true}return false}return false}function cC(df){var dg=c8(df);if(dg&&dg.type){dg.href=p(dg.href);cX(dg.href,dg.type,undefined,null,df);return}if(cJ){df=au(df);if(aA(df)){cg(df)}}}function ct(){return G.all&&!G.addEventListener}function cR(df){var dh=df.which;var dg=(typeof df.button);if(!dh&&dg!=="undefined"){if(ct()){if(df.button&1){dh=1}else{if(df.button&2){dh=3}else{if(df.button&4){dh=2}}}}else{if(df.button===0||df.button==="0"){dh=1}else{if(df.button&1){dh=2}else{if(df.button&2){dh=3}}}}}return dh}function bQ(df){switch(cR(df)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a0(df){return df.target||df.srcElement}function aB(df){return function(di){di=di||T.event;var dh=bQ(di);var dj=a0(di);if(di.type==="click"){var dg=false;if(df&&dh==="middle"){dg=true}if(dj&&!dg){cC(dj)}}else{if(di.type==="mousedown"){if(dh==="middle"&&dj){aQ=dh;
+by=dj}else{aQ=by=null}}else{if(di.type==="mouseup"){if(dh===aQ&&dj===by){cC(dj)}aQ=by=null}else{if(di.type==="contextmenu"){cC(dj)}}}}}}function aq(dh,dg){var df=typeof dg;if(df==="undefined"){dg=true}an(dh,"click",aB(dg),false);if(dg){an(dh,"mouseup",aB(dg),false);an(dh,"mousedown",aB(dg),false);an(dh,"contextmenu",aB(dg),false)}}function bB(dh,dj){ap=true;var di,dg=aZ(bx,"ignore"),dk=G.links,df=null,dl=null;if(dk){for(di=0;di<dk.length;di++){df=dk[di];if(!dg.test(df.className)){dl=typeof df.piwikTrackers;if("undefined"===dl){df.piwikTrackers=[]}if(-1===M(df.piwikTrackers,dj)){df.piwikTrackers.push(dj);aq(df,dh)}}}}}function aR(dg,dj,dk){if(cc){return true}cc=true;var dl=false;var di,dh;function df(){dl=true}n(function(){function dm(dp){setTimeout(function(){if(!cc){return}dl=false;dk.trackVisibleContentImpressions();dm(dp)},dp)}function dn(dp){setTimeout(function(){if(!cc){return}if(dl){dl=false;dk.trackVisibleContentImpressions()}dn(dp)},dp)}if(dg){di=["scroll","resize"];for(dh=0;dh<di.length;
+dh++){if(G.addEventListener){G.addEventListener(di[dh],df,false)}else{T.attachEvent("on"+di[dh],df)}}dn(100)}if(dj&&dj>0){dj=parseInt(dj,10);dm(dj)}})}var bA={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var df=this.requests;this.requests=[];if(df.length===1){bC(df[0],bG)}else{db(df,bG)}},push:function(df){if(!df){return}if(m||!this.enabled){bC(df,bG);return}bA.requests.push(df);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bA.timeout=null;bA.sendRequests()},bA.interval);var dg="RequestQueue"+aw;if(!Object.prototype.hasOwnProperty.call(b,dg)){b[dg]={unload:function(){if(bA.timeout){clearTimeout(bA.timeout)}bA.sendRequests()}}}}};bg();aL();this.hasConsent=function(){return bz};this.getVisitorId=function(){return aX().uuid};this.getVisitorInfo=function(){return cK()};this.getAttributionInfo=function(){return bJ()};this.getAttributionCampaignName=function(){return bJ()[0]};this.getAttributionCampaignKeyword=function(){return bJ()[1]
};this.getAttributionReferrerTimestamp=function(){return bJ()[2]};this.getAttributionReferrerUrl=function(){return bJ()[3]};this.setTrackerUrl=function(df){aD=df};this.getTrackerUrl=function(){return aD};this.getPiwikUrl=function(){return O(this.getTrackerUrl(),bE)};this.addTracker=function(df,dh){if(!J(df)||null===df){df=this.getTrackerUrl()}var dg=new Q(df,dh);I.push(dg);e.trigger("TrackerAdded",[this]);return dg};this.getSiteId=function(){return b3};this.setSiteId=function(df){b0(df)};this.resetUserId=function(){bw=""};this.setUserId=function(df){if(Y(df)){bw=df}};this.getUserId=function(){return bw};this.setCustomData=function(df,dg){if(W(df)){ao=df}else{if(!ao){ao={}}ao[df]=dg}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(df){b8=df};this.appendToTrackingUrl=function(df){cV=df};this.getRequest=function(df){return cq(df)};this.addPlugin=function(df,dg){b[df]=dg};this.setCustomDimension=function(df,dg){df=parseInt(df,10);if(df>0){if(!J(dg)){dg=""}if(!w(dg)){dg=String(dg)
-}bk[df]=dg}};this.getCustomDimension=function(df){df=parseInt(df,10);if(df>0&&Object.prototype.hasOwnProperty.call(bk,df)){return bk[df]}};this.deleteCustomDimension=function(df){df=parseInt(df,10);if(df>0){delete bk[df]}};this.setCustomVariable=function(dg,df,dj,dh){var di;if(!J(dh)){dh="visit"}if(!J(df)){return}if(!J(dj)){dj=""}if(dg>0){df=!w(df)?String(df):df;dj=!w(dj)?String(dj):dj;di=[df.slice(0,br),dj.slice(0,br)];if(dh==="visit"||dh===2){cA();aP[dg]=di}else{if(dh==="page"||dh===3){bT[dg]=di}else{if(dh==="event"){cj[dg]=di}}}}};this.getCustomVariable=function(dg,dh){var df;if(!J(dh)){dh="visit"}if(dh==="page"||dh===3){df=bT[dg]}else{if(dh==="event"){df=cj[dg]}else{if(dh==="visit"||dh===2){cA();df=aP[dg]}}}if(!J(df)||(df&&df[0]==="")){return false}return df};this.deleteCustomVariable=function(df,dg){if(this.getCustomVariable(df,dg)){this.setCustomVariable(df,"","",dg)}};this.deleteCustomVariables=function(df){if(df==="page"||df===3){bT={}}else{if(df==="event"){cj={}}else{if(df==="visit"||df===2){aP={}
-}}}};this.storeCustomVariablesInCookie=function(){bN=true};this.setLinkTrackingTimer=function(df){bG=df};this.getLinkTrackingTimer=function(){return bG};this.setDownloadExtensions=function(df){if(w(df)){df=df.split("|")}c2=df};this.addDownloadExtensions=function(dg){var df;if(w(dg)){dg=dg.split("|")}for(df=0;df<dg.length;df++){c2.push(dg[df])}};this.removeDownloadExtensions=function(dh){var dg,df=[];if(w(dh)){dh=dh.split("|")}for(dg=0;dg<c2.length;dg++){if(M(dh,c2[dg])===-1){df.push(c2[dg])}}c2=df};this.setDomains=function(df){ax=w(df)?[df]:df;var dj=false,dh=0,dg;for(dh;dh<ax.length;dh++){dg=String(ax[dh]);if(cC(cQ,L(dg))){dj=true;break}var di=ci(dg);if(di&&di!=="/"&&di!=="/*"){dj=true;break}}if(!dj){ax.push(cQ)}};this.enableCrossDomainLinking=function(){cI=true};this.disableCrossDomainLinking=function(){cI=false};this.isCrossDomainLinkingEnabled=function(){return cI};this.setCrossDomainLinkingTimeout=function(df){aY=df};this.getCrossDomainLinkingUrlParameter=function(){return t(av)+"="+t(bp())
+}bk[df]=dg}};this.getCustomDimension=function(df){df=parseInt(df,10);if(df>0&&Object.prototype.hasOwnProperty.call(bk,df)){return bk[df]}};this.deleteCustomDimension=function(df){df=parseInt(df,10);if(df>0){delete bk[df]}};this.setCustomVariable=function(dg,df,dj,dh){var di;if(!J(dh)){dh="visit"}if(!J(df)){return}if(!J(dj)){dj=""}if(dg>0){df=!w(df)?String(df):df;dj=!w(dj)?String(dj):dj;di=[df.slice(0,br),dj.slice(0,br)];if(dh==="visit"||dh===2){cB();aP[dg]=di}else{if(dh==="page"||dh===3){bT[dg]=di}else{if(dh==="event"){cj[dg]=di}}}}};this.getCustomVariable=function(dg,dh){var df;if(!J(dh)){dh="visit"}if(dh==="page"||dh===3){df=bT[dg]}else{if(dh==="event"){df=cj[dg]}else{if(dh==="visit"||dh===2){cB();df=aP[dg]}}}if(!J(df)||(df&&df[0]==="")){return false}return df};this.deleteCustomVariable=function(df,dg){if(this.getCustomVariable(df,dg)){this.setCustomVariable(df,"","",dg)}};this.deleteCustomVariables=function(df){if(df==="page"||df===3){bT={}}else{if(df==="event"){cj={}}else{if(df==="visit"||df===2){aP={}
+}}}};this.storeCustomVariablesInCookie=function(){bN=true};this.setLinkTrackingTimer=function(df){bG=df};this.getLinkTrackingTimer=function(){return bG};this.setDownloadExtensions=function(df){if(w(df)){df=df.split("|")}c2=df};this.addDownloadExtensions=function(dg){var df;if(w(dg)){dg=dg.split("|")}for(df=0;df<dg.length;df++){c2.push(dg[df])}};this.removeDownloadExtensions=function(dh){var dg,df=[];if(w(dh)){dh=dh.split("|")}for(dg=0;dg<c2.length;dg++){if(M(dh,c2[dg])===-1){df.push(c2[dg])}}c2=df};this.setDomains=function(df){ax=w(df)?[df]:df;var dj=false,dh=0,dg;for(dh;dh<ax.length;dh++){dg=String(ax[dh]);if(cD(cQ,L(dg))){dj=true;break}var di=ci(dg);if(di&&di!=="/"&&di!=="/*"){dj=true;break}}if(!dj){ax.push(cQ)}};this.enableCrossDomainLinking=function(){cJ=true};this.disableCrossDomainLinking=function(){cJ=false};this.isCrossDomainLinkingEnabled=function(){return cJ};this.setCrossDomainLinkingTimeout=function(df){aY=df};this.getCrossDomainLinkingUrlParameter=function(){return t(av)+"="+t(bp())
};this.setIgnoreClasses=function(df){bx=w(df)?[df]:df};this.setRequestMethod=function(df){c6=df||cf};this.setRequestContentType=function(df){cu=df||aH};this.setReferrerUrl=function(df){bl=df};this.setCustomUrl=function(df){a3=bS(bK,df)};this.getCurrentUrl=function(){return a3||bK};this.setDocumentTitle=function(df){bh=df};this.setAPIUrl=function(df){bE=df};this.setDownloadClasses=function(df){bI=w(df)?[df]:df};this.setLinkClasses=function(df){a7=w(df)?[df]:df};this.setCampaignNameKey=function(df){co=w(df)?[df]:df};this.setCampaignKeywordKey=function(df){bD=w(df)?[df]:df};this.discardHashTag=function(df){bM=df};this.setCookieNamePrefix=function(df){bi=df;aP=bU()};this.setCookieDomain=function(df){var dg=L(df);if(bu(dg)){cT=dg;bg()}};this.getCookieDomain=function(){return cT};this.hasCookies=function(){return"1"===b2()};this.setSessionCookie=function(dh,dg,df){if(!dh){throw new Error("Missing cookie name")}if(!J(df)){df=cm}bs.push(dh);da(aS(dh),dg,df,bn,cT)};this.getCookie=function(dg){var df=aC(aS(dg));
-if(df===0){return null}return df};this.setCookiePath=function(df){bn=df;bg()};this.getCookiePath=function(df){return bn};this.setVisitorCookieTimeout=function(df){cF=df*1000};this.setSessionCookieTimeout=function(df){cm=df*1000};this.getSessionCookieTimeout=function(){return cm};this.setReferralCookieTimeout=function(df){c1=df*1000};this.setConversionAttributionFirstReferrer=function(df){bt=df};this.setSecureCookie=function(df){bP=df};this.disableCookies=function(){bj=true;c4.cookie="0";if(b3){aE()}};this.deleteCookies=function(){aE()};this.setDoNotTrack=function(dg){var df=h.doNotTrack||h.msDoNotTrack;cL=dg&&(df==="yes"||df==="1");if(cL){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cS=true};this.disableAlwaysUseSendBeacon=function(){cS=false};this.addListener=function(dg,df){aq(dg,df)};this.enableLinkTracking=function(dg){c5=true;var df=this;ce(function(){q(function(){bB(dg,df)})})};this.enableJSErrorTracking=function(){if(cO){return}cO=true;var df=T.onerror;T.onerror=function(dk,di,dh,dj,dg){ce(function(){var dl="JavaScript Errors";
+if(df===0){return null}return df};this.setCookiePath=function(df){bn=df;bg()};this.getCookiePath=function(df){return bn};this.setVisitorCookieTimeout=function(df){cG=df*1000};this.setSessionCookieTimeout=function(df){cm=df*1000};this.getSessionCookieTimeout=function(){return cm};this.setReferralCookieTimeout=function(df){c1=df*1000};this.setConversionAttributionFirstReferrer=function(df){bt=df};this.setSecureCookie=function(df){bP=df};this.disableCookies=function(){bj=true;c4.cookie="0";if(b3){aE()}};this.deleteCookies=function(){aE()};this.setDoNotTrack=function(dg){var df=h.doNotTrack||h.msDoNotTrack;cM=dg&&(df==="yes"||df==="1");if(cM){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cS=true};this.disableAlwaysUseSendBeacon=function(){cS=false};this.addListener=function(dg,df){aq(dg,df)};this.enableLinkTracking=function(dg){c5=true;var df=this;ce(function(){q(function(){bB(dg,df)})})};this.enableJSErrorTracking=function(){if(cO){return}cO=true;var df=T.onerror;T.onerror=function(dk,di,dh,dj,dg){ce(function(){var dl="JavaScript Errors";
var dm=di+":"+dh;if(dj){dm+=":"+dj}at(dl,dm,dk)});if(df){return df(dk,di,dh,dj,dg)}return false}};this.disablePerformanceTracking=function(){a1=false};this.setGenerationTimeMs=function(df){ck=parseInt(df,10)};this.setVisitStandardLength=function(df){df=Math.max(df,5);c3=df};this.enableHeartBeatTimer=function(df){df=Math.max(df,5);a4=(df||15)*1000;if(cU!==null){dc()}};this.disableHeartBeatTimer=function(){bH();if(a4||aM){if(T.removeEventListener){T.removeEventListener("focus",a9);T.removeEventListener("blur",ay)}else{if(T.detachEvent){T.detachEvent("onfocus",a9);T.detachEvent("onblur",ay)}}}a4=null;aM=false};this.killFrame=function(){if(T.location!==T.top.location){T.top.location=T.location}};this.redirectFile=function(df){if(T.location.protocol==="file:"){T.location=df}};this.setCountPreRendered=function(df){bd=df};this.trackGoal=function(df,di,dh,dg){ce(function(){cP(df,di,dh,dg)})};this.trackLink=function(dg,df,di,dh){ce(function(){cX(dg,df,di,dh)})};this.getNumTrackedPageViews=function(){return cp
-};this.trackPageView=function(df,dh,dg){b7=[];cG=[];if(N(b3)){ce(function(){Z(aD,bE,b3)})}else{ce(function(){cp++;bX(df,dh,dg)})}};this.trackAllContentImpressions=function(){if(N(b3)){return}ce(function(){q(function(){var df=v.findContentNodes();var dg=cw(df);db(dg,bG)})})};this.trackVisibleContentImpressions=function(df,dg){if(N(b3)){return}if(!J(df)){df=true}if(!J(dg)){dg=750}aR(df,dg,this);ce(function(){n(function(){var dh=v.findContentNodes();var di=a8(dh);db(di,bG)})})};this.trackContentImpression=function(dh,df,dg){if(N(b3)){return}dh=a(dh);df=a(df);dg=a(dg);if(!dh){return}df=df||"Unknown";ce(function(){var di=aF(dh,df,dg);bC(di,bG)})};this.trackContentImpressionsWithinNode=function(df){if(N(b3)||!df){return}ce(function(){if(cc){n(function(){var dg=v.findContentNodesWithinNode(df);var dh=a8(dg);db(dh,bG)})}else{q(function(){var dg=v.findContentNodesWithinNode(df);var dh=cw(dg);db(dh,bG)})}})};this.trackContentInteraction=function(dh,di,df,dg){if(N(b3)){return}dh=a(dh);di=a(di);df=a(df);
+};this.trackPageView=function(df,dh,dg){b7=[];cH=[];if(N(b3)){ce(function(){Z(aD,bE,b3)})}else{ce(function(){cp++;bX(df,dh,dg)})}};this.trackAllContentImpressions=function(){if(N(b3)){return}ce(function(){q(function(){var df=v.findContentNodes();var dg=cx(df);db(dg,bG)})})};this.trackVisibleContentImpressions=function(df,dg){if(N(b3)){return}if(!J(df)){df=true}if(!J(dg)){dg=750}aR(df,dg,this);ce(function(){n(function(){var dh=v.findContentNodes();var di=a8(dh);db(di,bG)})})};this.trackContentImpression=function(dh,df,dg){if(N(b3)){return}dh=a(dh);df=a(df);dg=a(dg);if(!dh){return}df=df||"Unknown";ce(function(){var di=aF(dh,df,dg);bC(di,bG)})};this.trackContentImpressionsWithinNode=function(df){if(N(b3)||!df){return}ce(function(){if(cc){n(function(){var dg=v.findContentNodesWithinNode(df);var dh=a8(dg);db(dh,bG)})}else{q(function(){var dg=v.findContentNodesWithinNode(df);var dh=cx(dg);db(dh,bG)})}})};this.trackContentInteraction=function(dh,di,df,dg){if(N(b3)){return}dh=a(dh);di=a(di);df=a(df);
dg=a(dg);if(!dh||!di){return}df=df||"Unknown";ce(function(){var dj=aO(dh,di,df,dg);if(dj){bC(dj,bG)}})};this.trackContentInteractionNode=function(dh,dg){if(N(b3)||!dh){return}var df=null;ce(function(){df=c7(dh,dg);if(df){bC(df,bG)}});return df};this.logAllContentBlocksOnPage=function(){var dh=v.findContentNodes();var df=v.collectContent(dh);var dg=typeof console;if(dg!=="undefined"&&console&&console.log){console.log(df)}};this.trackEvent=function(dg,di,df,dh,dk,dj){ce(function(){at(dg,di,df,dh,dk,dj)})};this.trackSiteSearch=function(df,dh,dg,di){b7=[];ce(function(){b5(df,dh,dg,di)})};this.setEcommerceView=function(di,df,dh,dg){if(Y(dh)){dh=String(dh)}if(!J(dh)||dh===null||dh===false||!dh.length){dh=""}else{if(dh instanceof Array){dh=T.JSON.stringify(dh)}}bT[5]=["_pkc",dh];if(J(dg)&&dg!==null&&dg!==false&&String(dg).length){bT[2]=["_pkp",dg]}if(!Y(di)&&!Y(df)){return}if(Y(di)){bT[3]=["_pks",di]}if(!Y(df)){df=""}bT[4]=["_pkn",df]};this.getEcommerceItems=function(){return JSON.parse(JSON.stringify(cW))
-};this.addEcommerceItem=function(dj,df,dh,dg,di){if(Y(dj)){cW[dj]=[String(dj),df,dh,dg,di]}};this.removeEcommerceItem=function(df){if(Y(df)){df=String(df);delete cW[df]}};this.clearEcommerceCart=function(){cW={}};this.trackEcommerceOrder=function(df,dj,di,dh,dg,dk){bW(df,dj,di,dh,dg,dk)};this.trackEcommerceCartUpdate=function(df){bq(df)};this.trackRequest=function(dg,di,dh,df){ce(function(){var dj=cq(dg,di,df);bC(dj,bG,dh)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bA.enabled=false};this.setRequestQueueInterval=function(df){if(df<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bA.interval=df};this.queueRequest=function(df){ce(function(){var dg=cq(df);bA.push(dg)})};this.isConsentRequired=function(){return cx};this.getRememberedConsent=function(){var df=aC(bc);if(aC(cH)){if(df){bV(bc,bn,cT)}return null}if(!df||df===0){return null}return df};this.hasRememberedConsent=function(){return !!this.getRememberedConsent()
-};this.requireConsent=function(){cx=true;bz=this.hasRememberedConsent();x++;b["CoreConsent"+x]={unload:function(){if(!bz){aE()}}}};this.setConsentGiven=function(){bz=true;bV(cH,bn,cT);var dg,df;for(dg=0;dg<cG.length;dg++){df=typeof cG[dg];if(df==="string"){bC(cG[dg],bG)}else{if(df==="object"){db(cG[dg],bG)}}}cG=[]};this.rememberConsentGiven=function(dg){if(dg){dg=dg*60*60*1000}else{dg=30*365*24*60*60*1000}this.setConsentGiven();var df=new Date().getTime();da(bc,df,dg,bn,cT,bP)};this.forgetConsentGiven=function(){var df=30*365*24*60*60*1000;bV(bc,bn,cT);da(cH,new Date().getTime(),df,bn,cT,bP);this.requireConsent()};this.isUserOptedOut=function(){return !bz};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=this.rememberConsentGiven;e.trigger("TrackerSetup",[this])}function H(){return{push:af}}function c(au,at){var av={};var aq,ar;for(aq=0;aq<at.length;aq++){var ao=at[aq];av[ao]=1;for(ar=0;ar<au.length;ar++){if(au[ar]&&au[ar][0]){var ap=au[ar][0];if(ao===ap){af(au[ar]);delete au[ar];
+};this.addEcommerceItem=function(dj,df,dh,dg,di){if(Y(dj)){cW[dj]=[String(dj),df,dh,dg,di]}};this.removeEcommerceItem=function(df){if(Y(df)){df=String(df);delete cW[df]}};this.clearEcommerceCart=function(){cW={}};this.trackEcommerceOrder=function(df,dj,di,dh,dg,dk){bW(df,dj,di,dh,dg,dk)};this.trackEcommerceCartUpdate=function(df){bq(df)};this.trackRequest=function(dg,di,dh,df){ce(function(){var dj=cq(dg,di,df);bC(dj,bG,dh)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bA.enabled=false};this.setRequestQueueInterval=function(df){if(df<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bA.interval=df};this.queueRequest=function(df){ce(function(){var dg=cq(df);bA.push(dg)})};this.isConsentRequired=function(){return cy};this.getRememberedConsent=function(){var df=aC(bc);if(aC(cI)){if(df){bV(bc,bn,cT)}return null}if(!df||df===0){return null}return df};this.hasRememberedConsent=function(){return !!this.getRememberedConsent()
+};this.requireConsent=function(){cy=true;bz=this.hasRememberedConsent();x++;b["CoreConsent"+x]={unload:function(){if(!bz){aE()}}}};this.setConsentGiven=function(){bz=true;bV(cI,bn,cT);var dg,df;for(dg=0;dg<cH.length;dg++){df=typeof cH[dg];if(df==="string"){bC(cH[dg],bG)}else{if(df==="object"){db(cH[dg],bG)}}}cH=[]};this.rememberConsentGiven=function(dg){if(dg){dg=dg*60*60*1000}else{dg=30*365*24*60*60*1000}this.setConsentGiven();var df=new Date().getTime();da(bc,df,dg,bn,cT,bP)};this.forgetConsentGiven=function(){var df=30*365*24*60*60*1000;bV(bc,bn,cT);da(cI,new Date().getTime(),df,bn,cT,bP);this.requireConsent()};this.isUserOptedOut=function(){return !bz};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=this.rememberConsentGiven;e.trigger("TrackerSetup",[this])}function H(){return{push:af}}function c(au,at){var av={};var aq,ar;for(aq=0;aq<at.length;aq++){var ao=at[aq];av[ao]=1;for(ar=0;ar<au.length;ar++){if(au[ar]&&au[ar][0]){var ap=au[ar][0];if(ao===ap){af(au[ar]);delete au[ar];
if(av[ap]>1&&ap!=="addTracker"){ak("The method "+ap+' is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation: https://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers')}av[ap]++}}}}return au}var C=["addTracker","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCrossDomainLinkingTimeout","setSessionCookieTimeout","setVisitorCookieTimeout","setSecureCookie","setCookiePath","setCookieDomain","setDomains","setUserId","setSiteId","alwaysUseSendBeacon","enableLinkTracking","requireConsent","setConsentGiven"];function ad(ao,aq){var ap=new Q(ao,aq);I.push(ap);_paq=c(_paq,C);for(E=0;E<_paq.length;E++){if(_paq[E]){af(_paq[E])}}_paq=new H();e.trigger("TrackerAdded",[ap]);return ap}an(T,"beforeunload",ai,false);an(T,"message",function(au){if(!au||!au.origin){return}var aw,ar,ap;var ax=d(au.origin);var at=e.getAsyncTrackers();for(ar=0;ar<at.length;ar++){ap=d(at[ar].getPiwikUrl());
if(ap===ax){aw=at[ar];break}}if(!aw){return}var aq=null;try{aq=JSON.parse(au.data)}catch(av){return}if(!aq){return}function ao(aA){var aC=G.getElementsByTagName("iframe");for(ar=0;ar<aC.length;ar++){var aB=aC[ar];var ay=d(aB.src);if(aB.contentWindow&&J(aB.contentWindow.postMessage)&&ay===ax){var az=JSON.stringify(aA);aB.contentWindow.postMessage(az,"*")}}}if(J(aq.maq_initial_value)){ao({maq_opted_in:aq.maq_initial_value&&aw.hasConsent(),maq_url:aw.getPiwikUrl(),maq_optout_by_default:aw.isConsentRequired()})}else{if(J(aq.maq_opted_in)){at=e.getAsyncTrackers();for(ar=0;ar<at.length;ar++){aw=at[ar];if(aq.maq_opted_in){aw.rememberConsentGiven()}else{aw.forgetConsentGiven()}}ao({maq_confirm_opted_in:aw.hasConsent(),maq_url:aw.getPiwikUrl(),maq_optout_by_default:aw.isConsentRequired()})}}},false);Date.prototype.getTimeAlias=Date.prototype.getTime;e={initialized:false,JSON:T.JSON,DOM:{addEventListener:function(ar,aq,ap,ao){var at=typeof ao;if(at==="undefined"){ao=false}an(ar,aq,ap,ao)},onLoad:n,onReady:q,isNodeVisible:j,isOrWasNodeVisible:v.isNodeVisible},on:function(ap,ao){if(!y[ap]){y[ap]=[]
}y[ap].push(ao)},off:function(aq,ap){if(!y[aq]){return}var ao=0;for(ao;ao<y[aq].length;ao++){if(y[aq][ao]===ap){y[aq].splice(ao,1)}}},trigger:function(aq,ar,ap){if(!y[aq]){return}var ao=0;for(ao;ao<y[aq].length;ao++){y[aq][ao].apply(ap||T,ar)}},addPlugin:function(ao,ap){b[ao]=ap},getTracker:function(ao,ap){if(!J(ap)){ap=this.getAsyncTracker().getSiteId()}if(!J(ao)){ao=this.getAsyncTracker().getTrackerUrl()}return new Q(ao,ap)},getAsyncTrackers:function(){return I},addTracker:function(ao,aq){var ap;if(!I.length){ap=ad(ao,aq)}else{ap=I[0].addTracker(ao,aq)}return ap},getAsyncTracker:function(ap,at){var ar;if(I&&I.length&&I[0]){ar=I[0]}else{return ad(ap,at)}if(!at&&!ap){return ar}if((!J(at)||null===at)&&ar){at=ar.getSiteId()}if((!J(ap)||null===ap)&&ar){ap=ar.getTrackerUrl()}var aq,ao=0;for(ao;ao<I.length;ao++){aq=I[ao];if(aq&&String(aq.getSiteId())===String(at)&&aq.getTrackerUrl()===ap){return aq}}},retryMissedPluginCalls:function(){var ap=ah;ah=[];var ao=0;for(ao;ao<ap.length;ao++){af(ap[ao])
diff --git a/matomo.js b/matomo.js
index 73dc8589eb..de7b72b070 100644
--- a/matomo.js
+++ b/matomo.js
@@ -28,37 +28,37 @@ if(-1!==M(aq,ao)&&ae.findFirstNodeHavingAttributeWithValue(at,"src")){var ar=ae.
if(T.innerHeight&&ao>T.innerHeight){ao=T.innerHeight}return((at.bottom>0||aq)&&at.right>0&&at.left<ap&&((at.top<ao)||aq))},isNodeVisible:function(ap){var ao=j(ap);var aq=this.isOrWasNodeInViewport(ap);return ao&&aq},buildInteractionRequestParams:function(ao,ap,aq,ar){var at="";if(ao){at+="c_i="+t(ao)}if(ap){if(at){at+="&"}at+="c_n="+t(ap)}if(aq){if(at){at+="&"}at+="c_p="+t(aq)}if(ar){if(at){at+="&"}at+="c_t="+t(ar)}return at},buildImpressionRequestParams:function(ao,ap,aq){var ar="c_n="+t(ao)+"&c_p="+t(ap);if(aq){ar+="&c_t="+t(aq)}return ar},buildContentBlock:function(aq){if(!aq){return}var ao=this.findContentName(aq);var ap=this.findContentPiece(aq);var ar=this.findContentTarget(aq);ao=this.trim(ao);ap=this.trim(ap);ar=this.trim(ar);return{name:ao||"Unknown",piece:ap||"Unknown",target:ar||""}},collectContent:function(ar){if(!ar||!ar.length){return[]}var aq=[];var ao,ap;for(ao=0;ao<ar.length;ao++){ap=this.buildContentBlock(ar[ao]);if(J(ap)){aq.push(ap)}}return aq},setLocation:function(ao){this.location=ao
},getLocation:function(){var ao=this.location||T.location;if(!ao.origin){ao.origin=ao.protocol+"//"+ao.hostname+(ao.port?":"+ao.port:"")}return ao},toAbsoluteUrl:function(ap){if((!ap||String(ap)!==ap)&&ap!==""){return ap}if(""===ap){return this.getLocation().href}if(ap.search(/^\/\//)!==-1){return this.getLocation().protocol+ap}if(ap.search(/:\/\//)!==-1){return ap}if(0===ap.indexOf("#")){return this.getLocation().origin+this.getLocation().pathname+ap}if(0===ap.indexOf("?")){return this.getLocation().origin+this.getLocation().pathname+ap}if(0===ap.search("^[a-zA-Z]{2,11}:")){return ap}if(ap.search(/^\//)!==-1){return this.getLocation().origin+ap}var ao="(.*/)";var aq=this.getLocation().origin+this.getLocation().pathname.match(new RegExp(ao))[0];return aq+ap},isUrlToCurrentDomain:function(ap){var aq=this.toAbsoluteUrl(ap);if(!aq){return false}var ao=this.getLocation().origin;if(ao===aq){return true}if(0===String(aq).indexOf(ao)){if(":"===String(aq).substr(ao.length,1)){return false}return true
}return false},setHrefAttribute:function(ap,ao){if(!ap||!ao){return}ae.setAnyAttribute(ap,"href",ao)},shouldIgnoreInteraction:function(aq){var ap=ae.hasNodeAttribute(aq,this.CONTENT_IGNOREINTERACTION_ATTR);var ao=ae.hasNodeCssClass(aq,this.CONTENT_IGNOREINTERACTION_CLASS);return ap||ao}};function O(ap,at){if(at){return at}ap=v.toAbsoluteUrl(ap);if(z(ap,"?")){var ar=ap.indexOf("?");ap=ap.slice(0,ar)}if(R(ap,"matomo.php")){ap=g(ap,"matomo.php".length)}else{if(R(ap,"piwik.php")){ap=g(ap,"piwik.php".length)}else{if(R(ap,".php")){var ao=ap.lastIndexOf("/");var aq=1;ap=ap.slice(0,ao+aq)}}}if(R(ap,"/js/")){ap=g(ap,"js/".length)}return ap}function N(av){var ax="Piwik_Overlay";var ap=new RegExp("index\\.php\\?module=Overlay&action=startOverlaySession&idSite=([0-9]+)&period=([^&]+)&date=([^&]+)(&segment=.*)?$");var aq=ap.exec(G.referrer);if(aq){var at=aq[1];if(at!==String(av)){return false}var au=aq[2],ao=aq[3],ar=aq[4];if(!ar){ar=""}else{if(ar.indexOf("&segment=")===0){ar=ar.substr("&segment=".length)
-}}T.name=ax+"###"+au+"###"+ao+"###"+ar}var aw=T.name.split("###");return aw.length===4&&aw[0]===ax}function Z(ap,aw,ar){var av=T.name.split("###"),au=av[1],ao=av[2],at=av[3],aq=O(ap,aw);o(aq+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(aq,ar,au,ao,at)})}function u(){var aq;try{aq=T.frameElement}catch(ap){return true}if(J(aq)){return(aq&&String(aq.nodeName).toLowerCase()==="iframe")?true:false}try{return T.self!==T.top}catch(ao){return true}}function Q(cb,b6){var bF=this,bc="mtm_consent",cH="mtm_consent_removed",b1=aa(G.domain,T.location.href,K()),cQ=L(b1[0]),bK=p(b1[1]),bl=p(b1[2]),cO=false,cf="GET",c6=cf,aH="application/x-www-form-urlencoded; charset=UTF-8",cu=aH,aD=cb||"",bE="",cV="",b3=b6||"",bw="",bL="",a3,bh="",c2=["7z","aac","apk","arc","arj","asf","asx","avi","azw3","bin","csv","deb","dmg","doc","docx","epub","exe","flv","gif","gz","gzip","hqx","ibooks","jar","jpg","jpeg","js","mobi","mp2","mp3","mp4","mpg","mpeg","mov","movie","msi","msp","odb","odf","odg","ods","odt","ogg","ogv","pdf","phps","png","ppt","pptx","qt","qtm","ra","ram","rar","rpm","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],ax=[cQ],bx=[],bI=[],a7=[],bG=500,cS=true,cE,a4,bO,c3=1800,bM,ao,co=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],bD=["pk_kwd","piwik_kwd","utm_term"],bi="_pk_",av="pk_vid",aY=180,cT,bn,bP=false,bj=false,cL,bd,bt,cF=33955200000,cm=1800000,c1=15768000000,a1=true,ck=0,bN=false,aP=false,b8,bT={},cj={},bk={},br=200,cW={},c4={},b7=[],cc=false,cy=false,ap=false,c5=false,cI=false,aM=false,bb=u(),cN=null,cU=null,b9,aQ,by,b4=am,bm,aK,cp=0,bs=["id","ses","cvar","ref"],cx=false,bz=null,cG=[],aw=U++;
-try{bh=G.title}catch(cv){bh=""}function da(dl,dj,di,dk,dh,dg){if(bj){return}var df;if(di){df=new Date();df.setTime(df.getTime()+di)}G.cookie=dl+"="+t(dj)+(di?";expires="+df.toGMTString():"")+";path="+(dk||"/")+(dh?";domain="+dh:"")+(dg?";secure":"")+";SameSite=Lax"}function aC(dh){if(bj){return 0}var df=new RegExp("(^|;)[ ]*"+dh+"=([^;]*)"),dg=df.exec(G.cookie);return dg?S(dg[2]):0}bz=!aC(cH);function bZ(df){var dg;df=k(df,av);if(bM){dg=new RegExp("#.*");return df.replace(dg,"")}return df}function bS(dh,df){var di=s(df),dg;if(di){return df}if(df.slice(0,1)==="/"){return s(dh)+"://"+d(dh)+df}dh=bZ(dh);dg=dh.indexOf("?");if(dg>=0){dh=dh.slice(0,dg)}dg=dh.lastIndexOf("/");if(dg!==dh.length-1){dh=dh.slice(0,dg+1)}return dh+df}function cC(dh,df){var dg;dh=String(dh).toLowerCase();df=String(df).toLowerCase();if(dh===df){return true}if(df.slice(0,1)==="."){if(dh===df.slice(1)){return true}dg=dh.length-df.length;if((dg>0)&&(dh.slice(dg)===df)){return true}}return false}function ci(df){var dg=document.createElement("a");
-if(df.indexOf("//")!==0&&df.indexOf("http")!==0){if(df.indexOf("*")===0){df=df.substr(1)}if(df.indexOf(".")===0){df=df.substr(1)}df="http://"+df}dg.href=v.toAbsoluteUrl(df);if(dg.pathname){return dg.pathname}return""}function a2(dg,df){if(!aj(df,"/")){df="/"+df}if(!aj(dg,"/")){dg="/"+dg}var dh=(df==="/"||df==="/*");if(dh){return true}if(dg===df){return true}df=String(df).toLowerCase();dg=String(dg).toLowerCase();if(R(df,"*")){df=df.slice(0,-1);dh=(!df||df==="/");if(dh){return true}if(dg===df){return true}return dg.indexOf(df)===0}if(!R(dg,"/")){dg+="/"}if(!R(df,"/")){df+="/"}return dg.indexOf(df)===0}function ar(dj,dl){var dg,df,dh,di,dk;for(dg=0;dg<ax.length;dg++){di=L(ax[dg]);dk=ci(ax[dg]);if(cC(dj,di)&&a2(dl,dk)){return true}}return false}function aU(di){var dg,df,dh;for(dg=0;dg<ax.length;dg++){df=L(ax[dg].toLowerCase());if(di===df){return true}if(df.slice(0,1)==="."){if(di===df.slice(1)){return true}dh=di.length-df.length;if((dh>0)&&(di.slice(dh)===df)){return true}}}return false}function cn(df,dh){df=df.replace("send_image=0","send_image=1");
+}}T.name=ax+"###"+au+"###"+ao+"###"+ar}var aw=T.name.split("###");return aw.length===4&&aw[0]===ax}function Z(ap,aw,ar){var av=T.name.split("###"),au=av[1],ao=av[2],at=av[3],aq=O(ap,aw);o(aq+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(aq,ar,au,ao,at)})}function u(){var aq;try{aq=T.frameElement}catch(ap){return true}if(J(aq)){return(aq&&String(aq.nodeName).toLowerCase()==="iframe")?true:false}try{return T.self!==T.top}catch(ao){return true}}function Q(cb,b6){var bF=this,bc="mtm_consent",cI="mtm_consent_removed",b1=aa(G.domain,T.location.href,K()),cQ=L(b1[0]),bK=p(b1[1]),bl=p(b1[2]),cO=false,cf="GET",c6=cf,aH="application/x-www-form-urlencoded; charset=UTF-8",cu=aH,aD=cb||"",bE="",cV="",b3=b6||"",bw="",bL="",a3,bh="",c2=["7z","aac","apk","arc","arj","asf","asx","avi","azw3","bin","csv","deb","dmg","doc","docx","epub","exe","flv","gif","gz","gzip","hqx","ibooks","jar","jpg","jpeg","js","mobi","mp2","mp3","mp4","mpg","mpeg","mov","movie","msi","msp","odb","odf","odg","ods","odt","ogg","ogv","pdf","phps","png","ppt","pptx","qt","qtm","ra","ram","rar","rpm","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],ax=[cQ],bx=[],bI=[],a7=[],bG=500,cS=true,cF,a4,bO,c3=1800,bM,ao,co=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],bD=["pk_kwd","piwik_kwd","utm_term"],bi="_pk_",av="pk_vid",aY=180,cT,bn,bP=false,bj=false,cM,bd,bt,cG=33955200000,cm=1800000,c1=15768000000,a1=true,ck=0,bN=false,aP=false,b8,bT={},cj={},bk={},br=200,cW={},c4={},b7=[],cc=false,cz=false,ap=false,c5=false,cJ=false,aM=false,bb=u(),cv=null,cU=null,b9,aQ,by,b4=am,bm,aK,cp=0,bs=["id","ses","cvar","ref"],cy=false,bz=null,cH=[],aw=U++;
+try{bh=G.title}catch(cw){bh=""}function da(dl,dj,di,dk,dh,dg){if(bj){return}var df;if(di){df=new Date();df.setTime(df.getTime()+di)}G.cookie=dl+"="+t(dj)+(di?";expires="+df.toGMTString():"")+";path="+(dk||"/")+(dh?";domain="+dh:"")+(dg?";secure":"")+";SameSite=Lax"}function aC(dh){if(bj){return 0}var df=new RegExp("(^|;)[ ]*"+dh+"=([^;]*)"),dg=df.exec(G.cookie);return dg?S(dg[2]):0}bz=!aC(cI);function bZ(df){var dg;df=k(df,av);if(bM){dg=new RegExp("#.*");return df.replace(dg,"")}return df}function bS(dh,df){var di=s(df),dg;if(di){return df}if(df.slice(0,1)==="/"){return s(dh)+"://"+d(dh)+df}dh=bZ(dh);dg=dh.indexOf("?");if(dg>=0){dh=dh.slice(0,dg)}dg=dh.lastIndexOf("/");if(dg!==dh.length-1){dh=dh.slice(0,dg+1)}return dh+df}function cD(dh,df){var dg;dh=String(dh).toLowerCase();df=String(df).toLowerCase();if(dh===df){return true}if(df.slice(0,1)==="."){if(dh===df.slice(1)){return true}dg=dh.length-df.length;if((dg>0)&&(dh.slice(dg)===df)){return true}}return false}function ci(df){var dg=document.createElement("a");
+if(df.indexOf("//")!==0&&df.indexOf("http")!==0){if(df.indexOf("*")===0){df=df.substr(1)}if(df.indexOf(".")===0){df=df.substr(1)}df="http://"+df}dg.href=v.toAbsoluteUrl(df);if(dg.pathname){return dg.pathname}return""}function a2(dg,df){if(!aj(df,"/")){df="/"+df}if(!aj(dg,"/")){dg="/"+dg}var dh=(df==="/"||df==="/*");if(dh){return true}if(dg===df){return true}df=String(df).toLowerCase();dg=String(dg).toLowerCase();if(R(df,"*")){df=df.slice(0,-1);dh=(!df||df==="/");if(dh){return true}if(dg===df){return true}return dg.indexOf(df)===0}if(!R(dg,"/")){dg+="/"}if(!R(df,"/")){df+="/"}return dg.indexOf(df)===0}function ar(dj,dl){var dg,df,dh,di,dk;for(dg=0;dg<ax.length;dg++){di=L(ax[dg]);dk=ci(ax[dg]);if(cD(dj,di)&&a2(dl,dk)){return true}}return false}function aU(di){var dg,df,dh;for(dg=0;dg<ax.length;dg++){df=L(ax[dg].toLowerCase());if(di===df){return true}if(df.slice(0,1)==="."){if(di===df.slice(1)){return true}dh=di.length-df.length;if((dh>0)&&(di.slice(dh)===df)){return true}}}return false}function cn(df,dh){df=df.replace("send_image=0","send_image=1");
var dg=new Image(1,1);dg.onload=function(){E=0;if(typeof dh==="function"){dh({request:df,trackerUrl:aD,success:true})}};dg.onerror=function(){if(typeof dh==="function"){dh({request:df,trackerUrl:aD,success:false})}};dg.src=aD+(aD.indexOf("?")<0?"?":"&")+df}function aJ(){return"object"===typeof h&&"function"===typeof h.sendBeacon&&"function"===typeof Blob}function a5(di,dm){var dh=aJ();if(!dh){return false}var dl={type:"application/x-www-form-urlencoded; charset=UTF-8"};var dk=false;var dg=aD;try{var df=new Blob([di],dl);if(di.length<=2000){df=new Blob([],dl);dg=dg+(dg.indexOf("?")<0?"?":"&")+di}dk=h.sendBeacon(dg,df)}catch(dj){return false}if(dk&&typeof dm==="function"){dm({request:di,trackerUrl:aD,success:true,isSendBeacon:true})}return dk}function c0(dg,dh,df){if(!J(df)||null===df){df=true}if(m&&a5(dg,dh)){return}setTimeout(function(){if(m&&a5(dg,dh)){return}var dk;try{var dj=T.XMLHttpRequest?new T.XMLHttpRequest():T.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;dj.open("POST",aD,true);
-dj.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dl=m&&a5(dg,dh);if(!dl&&df){cn(dg,dh)}else{if(typeof dh==="function"){dh({request:dg,trackerUrl:aD,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof dh==="function")){dh({request:dg,trackerUrl:aD,success:true,xhr:this})}}};dj.setRequestHeader("Content-Type",cu);dj.withCredentials=true;dj.send(dg)}catch(di){dk=m&&a5(dg,dh);if(!dk&&df){cn(dg,dh)}else{if(typeof dh==="function"){dh({request:dg,trackerUrl:aD,success:false})}}}},50)}function cd(dg){var df=new Date();var dh=df.getTime()+dg;if(!r||dh>r){r=dh}}function cl(df){if(b9||!a4||!bz){return}b9=setTimeout(function dg(){b9=null;if(!bb){bb=(!G.hasFocus||G.hasFocus())}if(!bb){cl(a4);return}if(bO()){return}var dh=new Date(),di=a4-(dh.getTime()-cU);di=Math.min(a4,di);cl(di)},df||a4)}function bH(){if(!b9){return}clearTimeout(b9);b9=null}function a9(){bb=true;cN=new Date().getTime()}function c9(){var df=new Date().getTime();return !cN||(df-cN)>a4
-}function ay(){if(c9()){bO()}bH()}function dc(){if(aM||!a4){return}aM=true;an(T,"focus",a9);an(T,"blur",ay);ab++;e.addPlugin("HeartBeat"+ab,{unload:function(){if(aM&&c9()){bO()}}})}function cz(dj){var dg=new Date();var df=dg.getTime();cU=df;if(cy&&df<cy){var dh=cy-df;setTimeout(dj,dh);cd(dh+50);cy+=50;return}if(cy===false){var di=800;cy=df+di}dj()}function aN(){if(aC(cH)){bz=false}else{if(aC(bc)){bz=true}}}function bC(dg,df,dh){aN();if(!bz){cG.push(dg);return}if(!cL&&dg){if(cx&&bz){dg+="&consent=1"}cz(function(){if(cS&&a5(dg,dh)){cd(100);return}if(c6==="POST"||String(dg).length>2000){c0(dg,dh)}else{cn(dg,dh)}cd(df)})}if(!aM){dc()}}function ch(df){if(cL){return false}return(df&&df.length)}function cZ(df,dj){if(!dj||dj>=df.length){return[df]}var dg=0;var dh=df.length;var di=[];for(dg;dg<dh;dg+=dj){di.push(df.slice(dg,dg+dj))}return di}function db(dg,df){if(!ch(dg)){return}if(!bz){cG.push(dg);return}cz(function(){var dj=cZ(dg,50);var dh=0,di;for(dh;dh<dj.length;dh++){di='{"requests":["?'+dj[dh].join('","?')+'"]}';
-c0(di,null,false)}cd(df)})}function aS(df){return bi+df+"."+b3+"."+bm}function bV(dh,dg,df){da(dh,"",-86400,dg,df)}function b2(){if(bj){return"0"}if(!J(T.showModalDialog)&&J(h.cookieEnabled)){return h.cookieEnabled?"1":"0"}var df=bi+"testcookie";da(df,"1",undefined,bn,cT,bP);var dg=aC(df)==="1"?"1":"0";bV(df);return dg}function bg(){bm=b4((cT||cQ)+(bn||"/")).slice(0,4)}function cD(){if(J(c4.res)){return c4}var dg,di,dj={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"};if(!((new RegExp("MSIE")).test(h.userAgent))){if(h.mimeTypes&&h.mimeTypes.length){for(dg in dj){if(Object.prototype.hasOwnProperty.call(dj,dg)){di=h.mimeTypes[dj[dg]];c4[dg]=(di&&di.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(h.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(h.javaEnabled)&&h.javaEnabled()){c4.java="1"
-}if(A(T.GearsFactory)){c4.gears="1"}c4.cookie=b2()}var dh=parseInt(X.width,10);var df=parseInt(X.height,10);c4.res=parseInt(dh,10)+"x"+parseInt(df,10);return c4}function bU(){var dg=aS("cvar"),df=aC(dg);if(df.length){df=T.JSON.parse(df);if(W(df)){return df}}return{}}function cA(){if(aP===false){aP=bU()}}function cM(){var df=cD();return b4((h.userAgent||"")+(h.platform||"")+T.JSON.stringify(df)+(new Date()).getTime()+Math.random()).slice(0,16)}function az(){var df=cD();return b4((h.userAgent||"")+(h.platform||"")+T.JSON.stringify(df)).slice(0,6)}function be(){return Math.floor((new Date()).getTime()/1000)}function aI(){var dg=be();var dh=az();var df=String(dg)+dh;return df}function cY(dh){dh=String(dh);var dk=az();var di=dk.length;var dj=dh.substr(-1*di,di);var dg=parseInt(dh.substr(0,dh.length-di),10);if(dg&&dj&&dj===dk){var df=be();if(aY<=0){return true}if(df>=dg&&df<=(dg+aY)){return true}}return false}function dd(df){if(!cI){return""}var dj=f(df,av);if(!dj){return""}dj=String(dj);var dh=new RegExp("^[a-zA-Z0-9]+$");
-if(dj.length===32&&dh.test(dj)){var dg=dj.substr(16,32);if(cY(dg)){var di=dj.substr(0,16);return di}}return""}function cJ(){if(!bL){bL=dd(bK)}var dh=new Date(),df=Math.round(dh.getTime()/1000),dg=aS("id"),dk=aC(dg),dj,di;if(dk){dj=dk.split(".");dj.unshift("0");if(bL.length){dj[1]=bL}return dj}if(bL.length){di=bL}else{if("0"===b2()){di=""}else{di=cM()}}dj=["1",di,df,0,df,"",""];return dj}function aX(){var dm=cJ(),di=dm[0],dj=dm[1],dg=dm[2],df=dm[3],dk=dm[4],dh=dm[5];if(!J(dm[6])){dm[6]=""}var dl=dm[6];return{newVisitor:di,uuid:dj,createTs:dg,visitCount:df,currentVisitTs:dk,lastVisitTs:dh,lastEcommerceOrderTs:dl}}function aG(){var di=new Date(),dg=di.getTime(),dj=aX().createTs;var df=parseInt(dj,10);var dh=(df*1000)+cF-dg;return dh}function aL(df){if(!b3){return}var dh=new Date(),dg=Math.round(dh.getTime()/1000);if(!J(df)){df=aX()}var di=df.uuid+"."+df.createTs+"."+df.visitCount+"."+dg+"."+df.lastVisitTs+"."+df.lastEcommerceOrderTs;da(aS("id"),di,aG(),bn,cT,bP)}function bJ(){var df=aC(aS("ref"));
-if(df.length){try{df=T.JSON.parse(df);if(W(df)){return df}}catch(dg){}}return["","",0,""]}function bu(dg){var df="testvalue";da("test",df,10000,null,dg);if(aC("test")===df){bV("test",null,dg);return true}return false}function aE(){var dg=bj;bj=false;var df,dh;for(df=0;df<bs.length;df++){dh=aS(bs[df]);if(dh!==cH&&dh!==bc&&0!==aC(dh)){bV(dh,bn,cT)}}bj=dg}function b0(df){b3=df;aL()}function de(dj){if(!dj||!W(dj)){return}var di=[];var dh;for(dh in dj){if(Object.prototype.hasOwnProperty.call(dj,dh)){di.push(dh)}}var dk={};di.sort();var df=di.length;var dg;for(dg=0;dg<df;dg++){dk[di[dg]]=dj[di[dg]]}return dk}function ca(){da(aS("ses"),"1",cm,bn,cT,bP)}function bf(){var di="";var dg="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dh=dg.length;var df;for(df=0;df<6;df++){di+=dg.charAt(Math.floor(Math.random()*dh))}return di}function cq(dh,dD,dE,di){var dC,dg=new Date(),dq=Math.round(dg.getTime()/1000),dm,dB,dj=1024,dK,dr,dz=aP,dk=aS("ses"),dx=aS("ref"),du=aS("cvar"),dv=aC(dk),dA=bJ(),dG=a3||bK,dn,df;
-if(bj){aE()}if(cL){return""}var dw=aX();if(!J(di)){di=""}var dt=G.characterSet||G.charset;if(!dt||dt.toLowerCase()==="utf-8"){dt=null}dn=dA[0];df=dA[1];dm=dA[2];dB=dA[3];if(!dv){var dF=cm/1000;if(!dw.lastVisitTs||(dq-dw.lastVisitTs)>dF){dw.visitCount++;dw.lastVisitTs=dw.currentVisitTs}if(!bt||!dn.length){for(dC in co){if(Object.prototype.hasOwnProperty.call(co,dC)){dn=f(dG,co[dC]);if(dn.length){break}}}for(dC in bD){if(Object.prototype.hasOwnProperty.call(bD,dC)){df=f(dG,bD[dC]);if(df.length){break}}}}dK=d(bl);dr=dB.length?d(dB):"";if(dK.length&&!aU(dK)&&(!bt||!dr.length||aU(dr))){dB=bl}if(dB.length||dn.length){dm=dq;dA=[dn,df,dm,bZ(dB.slice(0,dj))];da(dx,T.JSON.stringify(dA),c1,bn,cT,bP)}}dh+="&idsite="+b3+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dg.getHours()+"&m="+dg.getMinutes()+"&s="+dg.getSeconds()+"&url="+t(bZ(dG))+(bl.length?"&urlref="+t(bZ(bl)):"")+((bw&&bw.length)?"&uid="+t(bw):"")+"&_id="+dw.uuid+"&_idts="+dw.createTs+"&_idvc="+dw.visitCount+"&_idn="+dw.newVisitor+(dn.length?"&_rcn="+t(dn):"")+(df.length?"&_rck="+t(df):"")+"&_refts="+dm+"&_viewts="+dw.lastVisitTs+(String(dw.lastEcommerceOrderTs).length?"&_ects="+dw.lastEcommerceOrderTs:"")+(String(dB).length?"&_ref="+t(bZ(dB.slice(0,dj))):"")+(dt?"&cs="+t(dt):"")+"&send_image=0";
-var dJ=cD();for(dC in dJ){if(Object.prototype.hasOwnProperty.call(dJ,dC)){dh+="&"+dC+"="+dJ[dC]}}var dI=[];if(dD){for(dC in dD){if(Object.prototype.hasOwnProperty.call(dD,dC)&&/^dimension\d+$/.test(dC)){var dl=dC.replace("dimension","");dI.push(parseInt(dl,10));dI.push(String(dl));dh+="&"+dC+"="+t(dD[dC]);delete dD[dC]}}}if(dD&&B(dD)){dD=null}for(dC in bk){if(Object.prototype.hasOwnProperty.call(bk,dC)){var ds=(-1===M(dI,dC));if(ds){dh+="&dimension"+dC+"="+t(bk[dC])}}}if(dD){dh+="&data="+t(T.JSON.stringify(dD))}else{if(ao){dh+="&data="+t(T.JSON.stringify(ao))}}function dp(dL,dM){var dN=T.JSON.stringify(dL);if(dN.length>2){return"&"+dM+"="+t(dN)}return""}var dH=de(bT);var dy=de(cj);dh+=dp(dH,"cvar");dh+=dp(dy,"e_cvar");if(aP){dh+=dp(aP,"_cvar");for(dC in dz){if(Object.prototype.hasOwnProperty.call(dz,dC)){if(aP[dC][0]===""||aP[dC][1]===""){delete aP[dC]}}}if(bN){da(du,T.JSON.stringify(aP),cm,bn,cT,bP)}}if(a1){if(ck){dh+="&gt_ms="+ck}else{if(i&&i.timing&&i.timing.requestStart&&i.timing.responseEnd){dh+="&gt_ms="+(i.timing.responseEnd-i.timing.requestStart)
+dj.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dl=m&&a5(dg,dh);if(!dl&&df){cn(dg,dh)}else{if(typeof dh==="function"){dh({request:dg,trackerUrl:aD,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof dh==="function")){dh({request:dg,trackerUrl:aD,success:true,xhr:this})}}};dj.setRequestHeader("Content-Type",cu);dj.withCredentials=true;dj.send(dg)}catch(di){dk=m&&a5(dg,dh);if(!dk&&df){cn(dg,dh)}else{if(typeof dh==="function"){dh({request:dg,trackerUrl:aD,success:false})}}}},50)}function cd(dg){var df=new Date();var dh=df.getTime()+dg;if(!r||dh>r){r=dh}}function cl(df){if(b9||!a4||!bz){return}b9=setTimeout(function dg(){b9=null;if(!bb){bb=(!G.hasFocus||G.hasFocus())}if(!bb){cl(a4);return}if(bO()){return}var dh=new Date(),di=a4-(dh.getTime()-cU);di=Math.min(a4,di);cl(di)},df||a4)}function bH(){if(!b9){return}clearTimeout(b9);b9=null}function a9(){bb=true;cv=new Date().getTime()}function c9(){var df=new Date().getTime();return !cv||(df-cv)>a4
+}function ay(){if(c9()){bO()}bH()}function dc(){if(aM||!a4){return}aM=true;an(T,"focus",a9);an(T,"blur",ay);ab++;e.addPlugin("HeartBeat"+ab,{unload:function(){if(aM&&c9()){bO()}}})}function cA(dj){var dg=new Date();var df=dg.getTime();cU=df;if(cz&&df<cz){var dh=cz-df;setTimeout(dj,dh);cd(dh+50);cz+=50;return}if(cz===false){var di=800;cz=df+di}dj()}function aN(){if(aC(cI)){bz=false}else{if(aC(bc)){bz=true}}}function bC(dg,df,dh){aN();if(!bz){cH.push(dg);return}if(!cM&&dg){if(cy&&bz){dg+="&consent=1"}cA(function(){if(cS&&a5(dg,dh)){cd(100);return}if(c6==="POST"||String(dg).length>2000){c0(dg,dh)}else{cn(dg,dh)}cd(df)})}if(!aM){dc()}}function ch(df){if(cM){return false}return(df&&df.length)}function cZ(df,dj){if(!dj||dj>=df.length){return[df]}var dg=0;var dh=df.length;var di=[];for(dg;dg<dh;dg+=dj){di.push(df.slice(dg,dg+dj))}return di}function db(dg,df){if(!ch(dg)){return}if(!bz){cH.push(dg);return}cA(function(){var dj=cZ(dg,50);var dh=0,di;for(dh;dh<dj.length;dh++){di='{"requests":["?'+dj[dh].join('","?')+'"]}';
+c0(di,null,false)}cd(df)})}function aS(df){return bi+df+"."+b3+"."+bm}function bV(dh,dg,df){da(dh,"",-86400,dg,df)}function b2(){if(bj){return"0"}if(!J(T.showModalDialog)&&J(h.cookieEnabled)){return h.cookieEnabled?"1":"0"}var df=bi+"testcookie";da(df,"1",undefined,bn,cT,bP);var dg=aC(df)==="1"?"1":"0";bV(df);return dg}function bg(){bm=b4((cT||cQ)+(bn||"/")).slice(0,4)}function cE(){if(J(c4.res)){return c4}var dg,di,dj={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"};if(!((new RegExp("MSIE")).test(h.userAgent))){if(h.mimeTypes&&h.mimeTypes.length){for(dg in dj){if(Object.prototype.hasOwnProperty.call(dj,dg)){di=h.mimeTypes[dj[dg]];c4[dg]=(di&&di.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(h.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(h.javaEnabled)&&h.javaEnabled()){c4.java="1"
+}if(A(T.GearsFactory)){c4.gears="1"}c4.cookie=b2()}var dh=parseInt(X.width,10);var df=parseInt(X.height,10);c4.res=parseInt(dh,10)+"x"+parseInt(df,10);return c4}function bU(){var dg=aS("cvar"),df=aC(dg);if(df.length){df=T.JSON.parse(df);if(W(df)){return df}}return{}}function cB(){if(aP===false){aP=bU()}}function cN(){var df=cE();return b4((h.userAgent||"")+(h.platform||"")+T.JSON.stringify(df)+(new Date()).getTime()+Math.random()).slice(0,16)}function az(){var df=cE();return b4((h.userAgent||"")+(h.platform||"")+T.JSON.stringify(df)).slice(0,6)}function be(){return Math.floor((new Date()).getTime()/1000)}function aI(){var dg=be();var dh=az();var df=String(dg)+dh;return df}function cY(dh){dh=String(dh);var dk=az();var di=dk.length;var dj=dh.substr(-1*di,di);var dg=parseInt(dh.substr(0,dh.length-di),10);if(dg&&dj&&dj===dk){var df=be();if(aY<=0){return true}if(df>=dg&&df<=(dg+aY)){return true}}return false}function dd(df){if(!cJ){return""}var dj=f(df,av);if(!dj){return""}dj=String(dj);var dh=new RegExp("^[a-zA-Z0-9]+$");
+if(dj.length===32&&dh.test(dj)){var dg=dj.substr(16,32);if(cY(dg)){var di=dj.substr(0,16);return di}}return""}function cK(){if(!bL){bL=dd(bK)}var dh=new Date(),df=Math.round(dh.getTime()/1000),dg=aS("id"),dk=aC(dg),dj,di;if(dk){dj=dk.split(".");dj.unshift("0");if(bL.length){dj[1]=bL}return dj}if(bL.length){di=bL}else{if("0"===b2()){di=""}else{di=cN()}}dj=["1",di,df,0,df,"",""];return dj}function aX(){var dm=cK(),di=dm[0],dj=dm[1],dg=dm[2],df=dm[3],dk=dm[4],dh=dm[5];if(!J(dm[6])){dm[6]=""}var dl=dm[6];return{newVisitor:di,uuid:dj,createTs:dg,visitCount:df,currentVisitTs:dk,lastVisitTs:dh,lastEcommerceOrderTs:dl}}function aG(){var di=new Date(),dg=di.getTime(),dj=aX().createTs;var df=parseInt(dj,10);var dh=(df*1000)+cG-dg;return dh}function aL(df){if(!b3){return}var dh=new Date(),dg=Math.round(dh.getTime()/1000);if(!J(df)){df=aX()}var di=df.uuid+"."+df.createTs+"."+df.visitCount+"."+dg+"."+df.lastVisitTs+"."+df.lastEcommerceOrderTs;da(aS("id"),di,aG(),bn,cT,bP)}function bJ(){var df=aC(aS("ref"));
+if(df.length){try{df=T.JSON.parse(df);if(W(df)){return df}}catch(dg){}}return["","",0,""]}function bu(dg){var df="testvalue";da("test",df,10000,null,dg);if(aC("test")===df){bV("test",null,dg);return true}return false}function aE(){var dg=bj;bj=false;var df,dh;for(df=0;df<bs.length;df++){dh=aS(bs[df]);if(dh!==cI&&dh!==bc&&0!==aC(dh)){bV(dh,bn,cT)}}bj=dg}function b0(df){b3=df;aL()}function de(dj){if(!dj||!W(dj)){return}var di=[];var dh;for(dh in dj){if(Object.prototype.hasOwnProperty.call(dj,dh)){di.push(dh)}}var dk={};di.sort();var df=di.length;var dg;for(dg=0;dg<df;dg++){dk[di[dg]]=dj[di[dg]]}return dk}function ca(){da(aS("ses"),"1",cm,bn,cT,bP)}function bf(){var di="";var dg="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dh=dg.length;var df;for(df=0;df<6;df++){di+=dg.charAt(Math.floor(Math.random()*dh))}return di}function cq(dh,dD,dE,di){var dC,dg=new Date(),dq=Math.round(dg.getTime()/1000),dm,dB,dj=1024,dK,dr,dz=aP,dk=aS("ses"),dx=aS("ref"),du=aS("cvar"),dv=aC(dk),dA=bJ(),dG=a3||bK,dn,df;
+if(bj){aE()}if(cM){return""}var dw=aX();if(!J(di)){di=""}var dt=G.characterSet||G.charset;if(!dt||dt.toLowerCase()==="utf-8"){dt=null}dn=dA[0];df=dA[1];dm=dA[2];dB=dA[3];if(!dv){var dF=cm/1000;if(!dw.lastVisitTs||(dq-dw.lastVisitTs)>dF){dw.visitCount++;dw.lastVisitTs=dw.currentVisitTs}if(!bt||!dn.length){for(dC in co){if(Object.prototype.hasOwnProperty.call(co,dC)){dn=f(dG,co[dC]);if(dn.length){break}}}for(dC in bD){if(Object.prototype.hasOwnProperty.call(bD,dC)){df=f(dG,bD[dC]);if(df.length){break}}}}dK=d(bl);dr=dB.length?d(dB):"";if(dK.length&&!aU(dK)&&(!bt||!dr.length||aU(dr))){dB=bl}if(dB.length||dn.length){dm=dq;dA=[dn,df,dm,bZ(dB.slice(0,dj))];da(dx,T.JSON.stringify(dA),c1,bn,cT,bP)}}dh+="&idsite="+b3+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dg.getHours()+"&m="+dg.getMinutes()+"&s="+dg.getSeconds()+"&url="+t(bZ(dG))+(bl.length?"&urlref="+t(bZ(bl)):"")+((bw&&bw.length)?"&uid="+t(bw):"")+"&_id="+dw.uuid+"&_idts="+dw.createTs+"&_idvc="+dw.visitCount+"&_idn="+dw.newVisitor+(dn.length?"&_rcn="+t(dn):"")+(df.length?"&_rck="+t(df):"")+"&_refts="+dm+"&_viewts="+dw.lastVisitTs+(String(dw.lastEcommerceOrderTs).length?"&_ects="+dw.lastEcommerceOrderTs:"")+(String(dB).length?"&_ref="+t(bZ(dB.slice(0,dj))):"")+(dt?"&cs="+t(dt):"")+"&send_image=0";
+var dJ=cE();for(dC in dJ){if(Object.prototype.hasOwnProperty.call(dJ,dC)){dh+="&"+dC+"="+dJ[dC]}}var dI=[];if(dD){for(dC in dD){if(Object.prototype.hasOwnProperty.call(dD,dC)&&/^dimension\d+$/.test(dC)){var dl=dC.replace("dimension","");dI.push(parseInt(dl,10));dI.push(String(dl));dh+="&"+dC+"="+t(dD[dC]);delete dD[dC]}}}if(dD&&B(dD)){dD=null}for(dC in bk){if(Object.prototype.hasOwnProperty.call(bk,dC)){var ds=(-1===M(dI,dC));if(ds){dh+="&dimension"+dC+"="+t(bk[dC])}}}if(dD){dh+="&data="+t(T.JSON.stringify(dD))}else{if(ao){dh+="&data="+t(T.JSON.stringify(ao))}}function dp(dL,dM){var dN=T.JSON.stringify(dL);if(dN.length>2){return"&"+dM+"="+t(dN)}return""}var dH=de(bT);var dy=de(cj);dh+=dp(dH,"cvar");dh+=dp(dy,"e_cvar");if(aP){dh+=dp(aP,"_cvar");for(dC in dz){if(Object.prototype.hasOwnProperty.call(dz,dC)){if(aP[dC][0]===""||aP[dC][1]===""){delete aP[dC]}}}if(bN){da(du,T.JSON.stringify(aP),cm,bn,cT,bP)}}if(a1){if(ck){dh+="&gt_ms="+ck}else{if(i&&i.timing&&i.timing.requestStart&&i.timing.responseEnd){dh+="&gt_ms="+(i.timing.responseEnd-i.timing.requestStart)
}}}if(aK){dh+="&pv_id="+aK}dw.lastEcommerceOrderTs=J(di)&&String(di).length?di:dw.lastEcommerceOrderTs;aL(dw);ca();dh+=ac(dE,{tracker:bF,request:dh});if(cV.length){dh+="&"+cV}if(A(b8)){dh=b8(dh)}return dh}bO=function a6(){var df=new Date();df=df.getTime();if(!cU){return false}if((cU+(1000*c3))<=df){return false}if(cU+a4<=df){bF.ping();return true}return false};function bo(di,dh,dn,dj,df,dr){var dl="idgoal=0",dm,dg=new Date(),dp=[],dq,dk=String(di).length;if(dk){dl+="&ec_id="+t(di);dm=Math.round(dg.getTime()/1000)}dl+="&revenue="+dh;if(String(dn).length){dl+="&ec_st="+dn}if(String(dj).length){dl+="&ec_tx="+dj}if(String(df).length){dl+="&ec_sh="+df}if(String(dr).length){dl+="&ec_dt="+dr}if(cW){for(dq in cW){if(Object.prototype.hasOwnProperty.call(cW,dq)){if(!J(cW[dq][1])){cW[dq][1]=""}if(!J(cW[dq][2])){cW[dq][2]=""}if(!J(cW[dq][3])||String(cW[dq][3]).length===0){cW[dq][3]=0}if(!J(cW[dq][4])||String(cW[dq][4]).length===0){cW[dq][4]=1}dp.push(cW[dq])}}dl+="&ec_items="+t(T.JSON.stringify(dp))
}dl=cq(dl,ao,"ecommerce",dm);bC(dl,bG);if(dk){cW={}}}function bW(df,dj,di,dh,dg,dk){if(String(df).length&&J(dj)){bo(df,dj,di,dh,dg,dk)}}function bq(df){if(J(df)){bo("",df,"","","","")}}function bX(dg,di,dh){aK=bf();var df=cq("action_name="+t(al(dg||bh)),di,"log");bC(df,bG,dh)}function aZ(dh,dg){var di,df="(^| )(piwik[_-]"+dg;if(dh){for(di=0;di<dh.length;di++){df+="|"+dh[di]}}df+=")( |$)";return new RegExp(df)}function aT(df){return(aD&&df&&0===String(df).indexOf(aD))}function cs(dj,df,dk,dg){if(aT(df)){return 0}var di=aZ(bI,"download"),dh=aZ(a7,"link"),dl=new RegExp("\\.("+c2.join("|")+")([?&#]|$)","i");if(dh.test(dj)){return"link"}if(dg||di.test(dj)||dl.test(df)){return"download"}if(dk){return 0}return"link"}function au(dg){var df;df=dg.parentNode;while(df!==null&&J(df)){if(ae.isLinkElement(dg)){break}dg=df;df=dg.parentNode}return dg}function c8(dk){dk=au(dk);if(!ae.hasNodeAttribute(dk,"href")){return}if(!J(dk.href)){return}var dj=ae.getAttributeValueFromNode(dk,"href");var dg=dk.pathname||ci(dk.href);
var dl=dk.hostname||d(dk.href);var dm=dl.toLowerCase();var dh=dk.href.replace(dl,dm);var di=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!di.test(dh)){var df=cs(dk.className,dh,ar(dm,dg),ae.hasNodeAttribute(dk,"download"));if(df){return{type:df,href:dh}}}}function aO(df,dg,dh,di){var dj=v.buildInteractionRequestParams(df,dg,dh,di);if(!dj){return}return cq(dj,null,"contentInteraction")}function ba(df,dg){if(!df||!dg){return false}var dh=v.findTargetNode(df);if(v.shouldIgnoreInteraction(dh)){return false}dh=v.findTargetNodeNoDefault(df);if(dh&&!V(dh,dg)){return false}return true}function cr(dh,dg,dj){if(!dh){return}var df=v.findParentContentNode(dh);if(!df){return}if(!ba(df,dh)){return}var di=v.buildContentBlock(df);if(!di){return}if(!di.target&&dj){di.target=dj}return v.buildInteractionRequestParams(dg,di.name,di.piece,di.target)}function aV(dg){if(!b7||!b7.length){return false}var df,dh;for(df=0;df<b7.length;df++){dh=b7[df];if(dh&&dh.name===dg.name&&dh.piece===dg.piece&&dh.target===dg.target){return true
-}}return false}function aW(df){return function(dj){if(!df){return}var dh=v.findParentContentNode(df);var dg;if(dj){dg=dj.target||dj.srcElement}if(!dg){dg=df}if(!ba(dh,dg)){return}if(!dh){return false}var dk=v.findTargetNode(dh);if(!dk||v.shouldIgnoreInteraction(dk)){return false}var di=c8(dk);if(c5&&di&&di.type){return di.type}return bF.trackContentInteractionNode(dg,"click")}}function bY(dh){if(!dh||!dh.length){return}var df,dg;for(df=0;df<dh.length;df++){dg=v.findTargetNode(dh[df]);if(dg&&!dg.contentInteractionTrackingSetupDone){dg.contentInteractionTrackingSetupDone=true;an(dg,"click",aW(dg))}}}function bv(dh,di){if(!dh||!dh.length){return[]}var df,dg;for(df=0;df<dh.length;df++){if(aV(dh[df])){dh.splice(df,1);df--}else{b7.push(dh[df])}}if(!dh||!dh.length){return[]}bY(di);var dj=[];for(df=0;df<dh.length;df++){dg=cq(v.buildImpressionRequestParams(dh[df].name,dh[df].piece,dh[df].target),undefined,"contentImpressions");if(dg){dj.push(dg)}}return dj}function cw(dg){var df=v.collectContent(dg);
-return bv(df,dg)}function a8(dg){if(!dg||!dg.length){return[]}var df;for(df=0;df<dg.length;df++){if(!v.isNodeVisible(dg[df])){dg.splice(df,1);df--}}if(!dg||!dg.length){return[]}return cw(dg)}function aF(dh,df,dg){var di=v.buildImpressionRequestParams(dh,df,dg);return cq(di,null,"contentImpression")}function c7(di,dg){if(!di){return}var df=v.findParentContentNode(di);var dh=v.buildContentBlock(df);if(!dh){return}if(!dg){dg="Unknown"}return aO(dg,dh.name,dh.piece,dh.target)}function cK(dg,di,df,dh){return"e_c="+t(dg)+"&e_a="+t(di)+(J(df)?"&e_n="+t(df):"")+(J(dh)?"&e_v="+t(dh):"")}function at(dh,dj,df,di,dl,dk){if(a(String(dh)).length===0||a(String(dj)).length===0){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dg=cq(cK(dh,dj,df,di),dl,"event");bC(dg,bG,dk)}function b5(df,di,dg,dj){var dh=cq("search="+t(df)+(di?"&search_cat="+t(di):"")+(J(dg)?"&search_count="+dg:""),dj,"sitesearch");bC(dh,bG)}function cP(df,dj,di,dh){var dg=cq("idgoal="+df+(dj?"&revenue="+dj:""),di,"goal");
+}}return false}function aW(df){return function(dj){if(!df){return}var dh=v.findParentContentNode(df);var dg;if(dj){dg=dj.target||dj.srcElement}if(!dg){dg=df}if(!ba(dh,dg)){return}if(!dh){return false}var dk=v.findTargetNode(dh);if(!dk||v.shouldIgnoreInteraction(dk)){return false}var di=c8(dk);if(c5&&di&&di.type){return di.type}return bF.trackContentInteractionNode(dg,"click")}}function bY(dh){if(!dh||!dh.length){return}var df,dg;for(df=0;df<dh.length;df++){dg=v.findTargetNode(dh[df]);if(dg&&!dg.contentInteractionTrackingSetupDone){dg.contentInteractionTrackingSetupDone=true;an(dg,"click",aW(dg))}}}function bv(dh,di){if(!dh||!dh.length){return[]}var df,dg;for(df=0;df<dh.length;df++){if(aV(dh[df])){dh.splice(df,1);df--}else{b7.push(dh[df])}}if(!dh||!dh.length){return[]}bY(di);var dj=[];for(df=0;df<dh.length;df++){dg=cq(v.buildImpressionRequestParams(dh[df].name,dh[df].piece,dh[df].target),undefined,"contentImpressions");if(dg){dj.push(dg)}}return dj}function cx(dg){var df=v.collectContent(dg);
+return bv(df,dg)}function a8(dg){if(!dg||!dg.length){return[]}var df;for(df=0;df<dg.length;df++){if(!v.isNodeVisible(dg[df])){dg.splice(df,1);df--}}if(!dg||!dg.length){return[]}return cx(dg)}function aF(dh,df,dg){var di=v.buildImpressionRequestParams(dh,df,dg);return cq(di,null,"contentImpression")}function c7(di,dg){if(!di){return}var df=v.findParentContentNode(di);var dh=v.buildContentBlock(df);if(!dh){return}if(!dg){dg="Unknown"}return aO(dg,dh.name,dh.piece,dh.target)}function cL(dg,di,df,dh){return"e_c="+t(dg)+"&e_a="+t(di)+(J(df)?"&e_n="+t(df):"")+(J(dh)?"&e_v="+t(dh):"")}function at(dh,dj,df,di,dl,dk){if(a(String(dh)).length===0||a(String(dj)).length===0){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dg=cq(cL(dh,dj,df,di),dl,"event");bC(dg,bG,dk)}function b5(df,di,dg,dj){var dh=cq("search="+t(df)+(di?"&search_cat="+t(di):"")+(J(dg)?"&search_count="+dg:""),dj,"sitesearch");bC(dh,bG)}function cP(df,dj,di,dh){var dg=cq("idgoal="+df+(dj?"&revenue="+dj:""),di,"goal");
bC(dg,bG,dh)}function cX(di,df,dm,dl,dh){var dk=df+"="+t(bZ(di));var dg=cr(dh,"click",di);if(dg){dk+="&"+dg}var dj=cq(dk,dm,"link");bC(dj,bG,dl)}function bR(dg,df){if(dg!==""){return dg+df.charAt(0).toUpperCase()+df.slice(1)}return df}function ce(dk){var dj,df,di=["","webkit","ms","moz"],dh;if(!bd){for(df=0;df<di.length;df++){dh=di[df];if(Object.prototype.hasOwnProperty.call(G,bR(dh,"hidden"))){if(G[bR(dh,"visibilityState")]==="prerender"){dj=true}break}}}if(dj){an(G,dh+"visibilitychange",function dg(){G.removeEventListener(dh+"visibilitychange",dg,false);dk()});return}dk()}function bp(){var dg=aX().uuid;var df=aI();return dg+df}function cg(df){if(!df){return}if(!ae.hasNodeAttribute(df,"href")){return}var dg=ae.getAttributeValueFromNode(df,"href");if(!dg||aT(dg)){return}dg=k(dg,av);var dh=bp();dg=F(dg,av,dh);ae.setAnyAttribute(df,"href",dg)}function aA(di){var dj=ae.getAttributeValueFromNode(di,"href");if(!dj){return false}dj=String(dj);var dg=dj.indexOf("//")===0||dj.indexOf("http://")===0||dj.indexOf("https://")===0;
-if(!dg){return false}var df=di.pathname||ci(di.href);var dh=(di.hostname||d(di.href)).toLowerCase();if(ar(dh,df)){if(!cC(cQ,L(dh))){return true}return false}return false}function cB(df){var dg=c8(df);if(dg&&dg.type){dg.href=p(dg.href);cX(dg.href,dg.type,undefined,null,df);return}if(cI){df=au(df);if(aA(df)){cg(df)}}}function ct(){return G.all&&!G.addEventListener}function cR(df){var dh=df.which;var dg=(typeof df.button);if(!dh&&dg!=="undefined"){if(ct()){if(df.button&1){dh=1}else{if(df.button&2){dh=3}else{if(df.button&4){dh=2}}}}else{if(df.button===0||df.button==="0"){dh=1}else{if(df.button&1){dh=2}else{if(df.button&2){dh=3}}}}}return dh}function bQ(df){switch(cR(df)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a0(df){return df.target||df.srcElement}function aB(df){return function(di){di=di||T.event;var dh=bQ(di);var dj=a0(di);if(di.type==="click"){var dg=false;if(df&&dh==="middle"){dg=true}if(dj&&!dg){cB(dj)}}else{if(di.type==="mousedown"){if(dh==="middle"&&dj){aQ=dh;
-by=dj}else{aQ=by=null}}else{if(di.type==="mouseup"){if(dh===aQ&&dj===by){cB(dj)}aQ=by=null}else{if(di.type==="contextmenu"){cB(dj)}}}}}}function aq(dh,dg){var df=typeof dg;if(df==="undefined"){dg=true}an(dh,"click",aB(dg),false);if(dg){an(dh,"mouseup",aB(dg),false);an(dh,"mousedown",aB(dg),false);an(dh,"contextmenu",aB(dg),false)}}function bB(dh,dj){ap=true;var di,dg=aZ(bx,"ignore"),dk=G.links,df=null,dl=null;if(dk){for(di=0;di<dk.length;di++){df=dk[di];if(!dg.test(df.className)){dl=typeof df.piwikTrackers;if("undefined"===dl){df.piwikTrackers=[]}if(-1===M(df.piwikTrackers,dj)){df.piwikTrackers.push(dj);aq(df,dh)}}}}}function aR(dg,dj,dk){if(cc){return true}cc=true;var dl=false;var di,dh;function df(){dl=true}n(function(){function dm(dp){setTimeout(function(){if(!cc){return}dl=false;dk.trackVisibleContentImpressions();dm(dp)},dp)}function dn(dp){setTimeout(function(){if(!cc){return}if(dl){dl=false;dk.trackVisibleContentImpressions()}dn(dp)},dp)}if(dg){di=["scroll","resize"];for(dh=0;dh<di.length;
-dh++){if(G.addEventListener){G.addEventListener(di[dh],df,false)}else{T.attachEvent("on"+di[dh],df)}}dn(100)}if(dj&&dj>0){dj=parseInt(dj,10);dm(dj)}})}var bA={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var df=this.requests;this.requests=[];if(df.length===1){bC(df[0],bG)}else{db(df,bG)}},push:function(df){if(!df){return}if(m||!this.enabled){bC(df,bG);return}bA.requests.push(df);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bA.timeout=null;bA.sendRequests()},bA.interval);var dg="RequestQueue"+aw;if(!Object.prototype.hasOwnProperty.call(b,dg)){b[dg]={unload:function(){if(bA.timeout){clearTimeout(bA.timeout)}bA.sendRequests()}}}}};bg();aL();this.hasConsent=function(){return bz};this.getVisitorId=function(){return aX().uuid};this.getVisitorInfo=function(){return cJ()};this.getAttributionInfo=function(){return bJ()};this.getAttributionCampaignName=function(){return bJ()[0]};this.getAttributionCampaignKeyword=function(){return bJ()[1]
+if(!dg){return false}var df=di.pathname||ci(di.href);var dh=(di.hostname||d(di.href)).toLowerCase();if(ar(dh,df)){if(!cD(cQ,L(dh))){return true}return false}return false}function cC(df){var dg=c8(df);if(dg&&dg.type){dg.href=p(dg.href);cX(dg.href,dg.type,undefined,null,df);return}if(cJ){df=au(df);if(aA(df)){cg(df)}}}function ct(){return G.all&&!G.addEventListener}function cR(df){var dh=df.which;var dg=(typeof df.button);if(!dh&&dg!=="undefined"){if(ct()){if(df.button&1){dh=1}else{if(df.button&2){dh=3}else{if(df.button&4){dh=2}}}}else{if(df.button===0||df.button==="0"){dh=1}else{if(df.button&1){dh=2}else{if(df.button&2){dh=3}}}}}return dh}function bQ(df){switch(cR(df)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a0(df){return df.target||df.srcElement}function aB(df){return function(di){di=di||T.event;var dh=bQ(di);var dj=a0(di);if(di.type==="click"){var dg=false;if(df&&dh==="middle"){dg=true}if(dj&&!dg){cC(dj)}}else{if(di.type==="mousedown"){if(dh==="middle"&&dj){aQ=dh;
+by=dj}else{aQ=by=null}}else{if(di.type==="mouseup"){if(dh===aQ&&dj===by){cC(dj)}aQ=by=null}else{if(di.type==="contextmenu"){cC(dj)}}}}}}function aq(dh,dg){var df=typeof dg;if(df==="undefined"){dg=true}an(dh,"click",aB(dg),false);if(dg){an(dh,"mouseup",aB(dg),false);an(dh,"mousedown",aB(dg),false);an(dh,"contextmenu",aB(dg),false)}}function bB(dh,dj){ap=true;var di,dg=aZ(bx,"ignore"),dk=G.links,df=null,dl=null;if(dk){for(di=0;di<dk.length;di++){df=dk[di];if(!dg.test(df.className)){dl=typeof df.piwikTrackers;if("undefined"===dl){df.piwikTrackers=[]}if(-1===M(df.piwikTrackers,dj)){df.piwikTrackers.push(dj);aq(df,dh)}}}}}function aR(dg,dj,dk){if(cc){return true}cc=true;var dl=false;var di,dh;function df(){dl=true}n(function(){function dm(dp){setTimeout(function(){if(!cc){return}dl=false;dk.trackVisibleContentImpressions();dm(dp)},dp)}function dn(dp){setTimeout(function(){if(!cc){return}if(dl){dl=false;dk.trackVisibleContentImpressions()}dn(dp)},dp)}if(dg){di=["scroll","resize"];for(dh=0;dh<di.length;
+dh++){if(G.addEventListener){G.addEventListener(di[dh],df,false)}else{T.attachEvent("on"+di[dh],df)}}dn(100)}if(dj&&dj>0){dj=parseInt(dj,10);dm(dj)}})}var bA={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var df=this.requests;this.requests=[];if(df.length===1){bC(df[0],bG)}else{db(df,bG)}},push:function(df){if(!df){return}if(m||!this.enabled){bC(df,bG);return}bA.requests.push(df);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bA.timeout=null;bA.sendRequests()},bA.interval);var dg="RequestQueue"+aw;if(!Object.prototype.hasOwnProperty.call(b,dg)){b[dg]={unload:function(){if(bA.timeout){clearTimeout(bA.timeout)}bA.sendRequests()}}}}};bg();aL();this.hasConsent=function(){return bz};this.getVisitorId=function(){return aX().uuid};this.getVisitorInfo=function(){return cK()};this.getAttributionInfo=function(){return bJ()};this.getAttributionCampaignName=function(){return bJ()[0]};this.getAttributionCampaignKeyword=function(){return bJ()[1]
};this.getAttributionReferrerTimestamp=function(){return bJ()[2]};this.getAttributionReferrerUrl=function(){return bJ()[3]};this.setTrackerUrl=function(df){aD=df};this.getTrackerUrl=function(){return aD};this.getPiwikUrl=function(){return O(this.getTrackerUrl(),bE)};this.addTracker=function(df,dh){if(!J(df)||null===df){df=this.getTrackerUrl()}var dg=new Q(df,dh);I.push(dg);e.trigger("TrackerAdded",[this]);return dg};this.getSiteId=function(){return b3};this.setSiteId=function(df){b0(df)};this.resetUserId=function(){bw=""};this.setUserId=function(df){if(Y(df)){bw=df}};this.getUserId=function(){return bw};this.setCustomData=function(df,dg){if(W(df)){ao=df}else{if(!ao){ao={}}ao[df]=dg}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(df){b8=df};this.appendToTrackingUrl=function(df){cV=df};this.getRequest=function(df){return cq(df)};this.addPlugin=function(df,dg){b[df]=dg};this.setCustomDimension=function(df,dg){df=parseInt(df,10);if(df>0){if(!J(dg)){dg=""}if(!w(dg)){dg=String(dg)
-}bk[df]=dg}};this.getCustomDimension=function(df){df=parseInt(df,10);if(df>0&&Object.prototype.hasOwnProperty.call(bk,df)){return bk[df]}};this.deleteCustomDimension=function(df){df=parseInt(df,10);if(df>0){delete bk[df]}};this.setCustomVariable=function(dg,df,dj,dh){var di;if(!J(dh)){dh="visit"}if(!J(df)){return}if(!J(dj)){dj=""}if(dg>0){df=!w(df)?String(df):df;dj=!w(dj)?String(dj):dj;di=[df.slice(0,br),dj.slice(0,br)];if(dh==="visit"||dh===2){cA();aP[dg]=di}else{if(dh==="page"||dh===3){bT[dg]=di}else{if(dh==="event"){cj[dg]=di}}}}};this.getCustomVariable=function(dg,dh){var df;if(!J(dh)){dh="visit"}if(dh==="page"||dh===3){df=bT[dg]}else{if(dh==="event"){df=cj[dg]}else{if(dh==="visit"||dh===2){cA();df=aP[dg]}}}if(!J(df)||(df&&df[0]==="")){return false}return df};this.deleteCustomVariable=function(df,dg){if(this.getCustomVariable(df,dg)){this.setCustomVariable(df,"","",dg)}};this.deleteCustomVariables=function(df){if(df==="page"||df===3){bT={}}else{if(df==="event"){cj={}}else{if(df==="visit"||df===2){aP={}
-}}}};this.storeCustomVariablesInCookie=function(){bN=true};this.setLinkTrackingTimer=function(df){bG=df};this.getLinkTrackingTimer=function(){return bG};this.setDownloadExtensions=function(df){if(w(df)){df=df.split("|")}c2=df};this.addDownloadExtensions=function(dg){var df;if(w(dg)){dg=dg.split("|")}for(df=0;df<dg.length;df++){c2.push(dg[df])}};this.removeDownloadExtensions=function(dh){var dg,df=[];if(w(dh)){dh=dh.split("|")}for(dg=0;dg<c2.length;dg++){if(M(dh,c2[dg])===-1){df.push(c2[dg])}}c2=df};this.setDomains=function(df){ax=w(df)?[df]:df;var dj=false,dh=0,dg;for(dh;dh<ax.length;dh++){dg=String(ax[dh]);if(cC(cQ,L(dg))){dj=true;break}var di=ci(dg);if(di&&di!=="/"&&di!=="/*"){dj=true;break}}if(!dj){ax.push(cQ)}};this.enableCrossDomainLinking=function(){cI=true};this.disableCrossDomainLinking=function(){cI=false};this.isCrossDomainLinkingEnabled=function(){return cI};this.setCrossDomainLinkingTimeout=function(df){aY=df};this.getCrossDomainLinkingUrlParameter=function(){return t(av)+"="+t(bp())
+}bk[df]=dg}};this.getCustomDimension=function(df){df=parseInt(df,10);if(df>0&&Object.prototype.hasOwnProperty.call(bk,df)){return bk[df]}};this.deleteCustomDimension=function(df){df=parseInt(df,10);if(df>0){delete bk[df]}};this.setCustomVariable=function(dg,df,dj,dh){var di;if(!J(dh)){dh="visit"}if(!J(df)){return}if(!J(dj)){dj=""}if(dg>0){df=!w(df)?String(df):df;dj=!w(dj)?String(dj):dj;di=[df.slice(0,br),dj.slice(0,br)];if(dh==="visit"||dh===2){cB();aP[dg]=di}else{if(dh==="page"||dh===3){bT[dg]=di}else{if(dh==="event"){cj[dg]=di}}}}};this.getCustomVariable=function(dg,dh){var df;if(!J(dh)){dh="visit"}if(dh==="page"||dh===3){df=bT[dg]}else{if(dh==="event"){df=cj[dg]}else{if(dh==="visit"||dh===2){cB();df=aP[dg]}}}if(!J(df)||(df&&df[0]==="")){return false}return df};this.deleteCustomVariable=function(df,dg){if(this.getCustomVariable(df,dg)){this.setCustomVariable(df,"","",dg)}};this.deleteCustomVariables=function(df){if(df==="page"||df===3){bT={}}else{if(df==="event"){cj={}}else{if(df==="visit"||df===2){aP={}
+}}}};this.storeCustomVariablesInCookie=function(){bN=true};this.setLinkTrackingTimer=function(df){bG=df};this.getLinkTrackingTimer=function(){return bG};this.setDownloadExtensions=function(df){if(w(df)){df=df.split("|")}c2=df};this.addDownloadExtensions=function(dg){var df;if(w(dg)){dg=dg.split("|")}for(df=0;df<dg.length;df++){c2.push(dg[df])}};this.removeDownloadExtensions=function(dh){var dg,df=[];if(w(dh)){dh=dh.split("|")}for(dg=0;dg<c2.length;dg++){if(M(dh,c2[dg])===-1){df.push(c2[dg])}}c2=df};this.setDomains=function(df){ax=w(df)?[df]:df;var dj=false,dh=0,dg;for(dh;dh<ax.length;dh++){dg=String(ax[dh]);if(cD(cQ,L(dg))){dj=true;break}var di=ci(dg);if(di&&di!=="/"&&di!=="/*"){dj=true;break}}if(!dj){ax.push(cQ)}};this.enableCrossDomainLinking=function(){cJ=true};this.disableCrossDomainLinking=function(){cJ=false};this.isCrossDomainLinkingEnabled=function(){return cJ};this.setCrossDomainLinkingTimeout=function(df){aY=df};this.getCrossDomainLinkingUrlParameter=function(){return t(av)+"="+t(bp())
};this.setIgnoreClasses=function(df){bx=w(df)?[df]:df};this.setRequestMethod=function(df){c6=df||cf};this.setRequestContentType=function(df){cu=df||aH};this.setReferrerUrl=function(df){bl=df};this.setCustomUrl=function(df){a3=bS(bK,df)};this.getCurrentUrl=function(){return a3||bK};this.setDocumentTitle=function(df){bh=df};this.setAPIUrl=function(df){bE=df};this.setDownloadClasses=function(df){bI=w(df)?[df]:df};this.setLinkClasses=function(df){a7=w(df)?[df]:df};this.setCampaignNameKey=function(df){co=w(df)?[df]:df};this.setCampaignKeywordKey=function(df){bD=w(df)?[df]:df};this.discardHashTag=function(df){bM=df};this.setCookieNamePrefix=function(df){bi=df;aP=bU()};this.setCookieDomain=function(df){var dg=L(df);if(bu(dg)){cT=dg;bg()}};this.getCookieDomain=function(){return cT};this.hasCookies=function(){return"1"===b2()};this.setSessionCookie=function(dh,dg,df){if(!dh){throw new Error("Missing cookie name")}if(!J(df)){df=cm}bs.push(dh);da(aS(dh),dg,df,bn,cT)};this.getCookie=function(dg){var df=aC(aS(dg));
-if(df===0){return null}return df};this.setCookiePath=function(df){bn=df;bg()};this.getCookiePath=function(df){return bn};this.setVisitorCookieTimeout=function(df){cF=df*1000};this.setSessionCookieTimeout=function(df){cm=df*1000};this.getSessionCookieTimeout=function(){return cm};this.setReferralCookieTimeout=function(df){c1=df*1000};this.setConversionAttributionFirstReferrer=function(df){bt=df};this.setSecureCookie=function(df){bP=df};this.disableCookies=function(){bj=true;c4.cookie="0";if(b3){aE()}};this.deleteCookies=function(){aE()};this.setDoNotTrack=function(dg){var df=h.doNotTrack||h.msDoNotTrack;cL=dg&&(df==="yes"||df==="1");if(cL){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cS=true};this.disableAlwaysUseSendBeacon=function(){cS=false};this.addListener=function(dg,df){aq(dg,df)};this.enableLinkTracking=function(dg){c5=true;var df=this;ce(function(){q(function(){bB(dg,df)})})};this.enableJSErrorTracking=function(){if(cO){return}cO=true;var df=T.onerror;T.onerror=function(dk,di,dh,dj,dg){ce(function(){var dl="JavaScript Errors";
+if(df===0){return null}return df};this.setCookiePath=function(df){bn=df;bg()};this.getCookiePath=function(df){return bn};this.setVisitorCookieTimeout=function(df){cG=df*1000};this.setSessionCookieTimeout=function(df){cm=df*1000};this.getSessionCookieTimeout=function(){return cm};this.setReferralCookieTimeout=function(df){c1=df*1000};this.setConversionAttributionFirstReferrer=function(df){bt=df};this.setSecureCookie=function(df){bP=df};this.disableCookies=function(){bj=true;c4.cookie="0";if(b3){aE()}};this.deleteCookies=function(){aE()};this.setDoNotTrack=function(dg){var df=h.doNotTrack||h.msDoNotTrack;cM=dg&&(df==="yes"||df==="1");if(cM){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cS=true};this.disableAlwaysUseSendBeacon=function(){cS=false};this.addListener=function(dg,df){aq(dg,df)};this.enableLinkTracking=function(dg){c5=true;var df=this;ce(function(){q(function(){bB(dg,df)})})};this.enableJSErrorTracking=function(){if(cO){return}cO=true;var df=T.onerror;T.onerror=function(dk,di,dh,dj,dg){ce(function(){var dl="JavaScript Errors";
var dm=di+":"+dh;if(dj){dm+=":"+dj}at(dl,dm,dk)});if(df){return df(dk,di,dh,dj,dg)}return false}};this.disablePerformanceTracking=function(){a1=false};this.setGenerationTimeMs=function(df){ck=parseInt(df,10)};this.setVisitStandardLength=function(df){df=Math.max(df,5);c3=df};this.enableHeartBeatTimer=function(df){df=Math.max(df,5);a4=(df||15)*1000;if(cU!==null){dc()}};this.disableHeartBeatTimer=function(){bH();if(a4||aM){if(T.removeEventListener){T.removeEventListener("focus",a9);T.removeEventListener("blur",ay)}else{if(T.detachEvent){T.detachEvent("onfocus",a9);T.detachEvent("onblur",ay)}}}a4=null;aM=false};this.killFrame=function(){if(T.location!==T.top.location){T.top.location=T.location}};this.redirectFile=function(df){if(T.location.protocol==="file:"){T.location=df}};this.setCountPreRendered=function(df){bd=df};this.trackGoal=function(df,di,dh,dg){ce(function(){cP(df,di,dh,dg)})};this.trackLink=function(dg,df,di,dh){ce(function(){cX(dg,df,di,dh)})};this.getNumTrackedPageViews=function(){return cp
-};this.trackPageView=function(df,dh,dg){b7=[];cG=[];if(N(b3)){ce(function(){Z(aD,bE,b3)})}else{ce(function(){cp++;bX(df,dh,dg)})}};this.trackAllContentImpressions=function(){if(N(b3)){return}ce(function(){q(function(){var df=v.findContentNodes();var dg=cw(df);db(dg,bG)})})};this.trackVisibleContentImpressions=function(df,dg){if(N(b3)){return}if(!J(df)){df=true}if(!J(dg)){dg=750}aR(df,dg,this);ce(function(){n(function(){var dh=v.findContentNodes();var di=a8(dh);db(di,bG)})})};this.trackContentImpression=function(dh,df,dg){if(N(b3)){return}dh=a(dh);df=a(df);dg=a(dg);if(!dh){return}df=df||"Unknown";ce(function(){var di=aF(dh,df,dg);bC(di,bG)})};this.trackContentImpressionsWithinNode=function(df){if(N(b3)||!df){return}ce(function(){if(cc){n(function(){var dg=v.findContentNodesWithinNode(df);var dh=a8(dg);db(dh,bG)})}else{q(function(){var dg=v.findContentNodesWithinNode(df);var dh=cw(dg);db(dh,bG)})}})};this.trackContentInteraction=function(dh,di,df,dg){if(N(b3)){return}dh=a(dh);di=a(di);df=a(df);
+};this.trackPageView=function(df,dh,dg){b7=[];cH=[];if(N(b3)){ce(function(){Z(aD,bE,b3)})}else{ce(function(){cp++;bX(df,dh,dg)})}};this.trackAllContentImpressions=function(){if(N(b3)){return}ce(function(){q(function(){var df=v.findContentNodes();var dg=cx(df);db(dg,bG)})})};this.trackVisibleContentImpressions=function(df,dg){if(N(b3)){return}if(!J(df)){df=true}if(!J(dg)){dg=750}aR(df,dg,this);ce(function(){n(function(){var dh=v.findContentNodes();var di=a8(dh);db(di,bG)})})};this.trackContentImpression=function(dh,df,dg){if(N(b3)){return}dh=a(dh);df=a(df);dg=a(dg);if(!dh){return}df=df||"Unknown";ce(function(){var di=aF(dh,df,dg);bC(di,bG)})};this.trackContentImpressionsWithinNode=function(df){if(N(b3)||!df){return}ce(function(){if(cc){n(function(){var dg=v.findContentNodesWithinNode(df);var dh=a8(dg);db(dh,bG)})}else{q(function(){var dg=v.findContentNodesWithinNode(df);var dh=cx(dg);db(dh,bG)})}})};this.trackContentInteraction=function(dh,di,df,dg){if(N(b3)){return}dh=a(dh);di=a(di);df=a(df);
dg=a(dg);if(!dh||!di){return}df=df||"Unknown";ce(function(){var dj=aO(dh,di,df,dg);if(dj){bC(dj,bG)}})};this.trackContentInteractionNode=function(dh,dg){if(N(b3)||!dh){return}var df=null;ce(function(){df=c7(dh,dg);if(df){bC(df,bG)}});return df};this.logAllContentBlocksOnPage=function(){var dh=v.findContentNodes();var df=v.collectContent(dh);var dg=typeof console;if(dg!=="undefined"&&console&&console.log){console.log(df)}};this.trackEvent=function(dg,di,df,dh,dk,dj){ce(function(){at(dg,di,df,dh,dk,dj)})};this.trackSiteSearch=function(df,dh,dg,di){b7=[];ce(function(){b5(df,dh,dg,di)})};this.setEcommerceView=function(di,df,dh,dg){if(Y(dh)){dh=String(dh)}if(!J(dh)||dh===null||dh===false||!dh.length){dh=""}else{if(dh instanceof Array){dh=T.JSON.stringify(dh)}}bT[5]=["_pkc",dh];if(J(dg)&&dg!==null&&dg!==false&&String(dg).length){bT[2]=["_pkp",dg]}if(!Y(di)&&!Y(df)){return}if(Y(di)){bT[3]=["_pks",di]}if(!Y(df)){df=""}bT[4]=["_pkn",df]};this.getEcommerceItems=function(){return JSON.parse(JSON.stringify(cW))
-};this.addEcommerceItem=function(dj,df,dh,dg,di){if(Y(dj)){cW[dj]=[String(dj),df,dh,dg,di]}};this.removeEcommerceItem=function(df){if(Y(df)){df=String(df);delete cW[df]}};this.clearEcommerceCart=function(){cW={}};this.trackEcommerceOrder=function(df,dj,di,dh,dg,dk){bW(df,dj,di,dh,dg,dk)};this.trackEcommerceCartUpdate=function(df){bq(df)};this.trackRequest=function(dg,di,dh,df){ce(function(){var dj=cq(dg,di,df);bC(dj,bG,dh)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bA.enabled=false};this.setRequestQueueInterval=function(df){if(df<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bA.interval=df};this.queueRequest=function(df){ce(function(){var dg=cq(df);bA.push(dg)})};this.isConsentRequired=function(){return cx};this.getRememberedConsent=function(){var df=aC(bc);if(aC(cH)){if(df){bV(bc,bn,cT)}return null}if(!df||df===0){return null}return df};this.hasRememberedConsent=function(){return !!this.getRememberedConsent()
-};this.requireConsent=function(){cx=true;bz=this.hasRememberedConsent();x++;b["CoreConsent"+x]={unload:function(){if(!bz){aE()}}}};this.setConsentGiven=function(){bz=true;bV(cH,bn,cT);var dg,df;for(dg=0;dg<cG.length;dg++){df=typeof cG[dg];if(df==="string"){bC(cG[dg],bG)}else{if(df==="object"){db(cG[dg],bG)}}}cG=[]};this.rememberConsentGiven=function(dg){if(dg){dg=dg*60*60*1000}else{dg=30*365*24*60*60*1000}this.setConsentGiven();var df=new Date().getTime();da(bc,df,dg,bn,cT,bP)};this.forgetConsentGiven=function(){var df=30*365*24*60*60*1000;bV(bc,bn,cT);da(cH,new Date().getTime(),df,bn,cT,bP);this.requireConsent()};this.isUserOptedOut=function(){return !bz};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=this.rememberConsentGiven;e.trigger("TrackerSetup",[this])}function H(){return{push:af}}function c(au,at){var av={};var aq,ar;for(aq=0;aq<at.length;aq++){var ao=at[aq];av[ao]=1;for(ar=0;ar<au.length;ar++){if(au[ar]&&au[ar][0]){var ap=au[ar][0];if(ao===ap){af(au[ar]);delete au[ar];
+};this.addEcommerceItem=function(dj,df,dh,dg,di){if(Y(dj)){cW[dj]=[String(dj),df,dh,dg,di]}};this.removeEcommerceItem=function(df){if(Y(df)){df=String(df);delete cW[df]}};this.clearEcommerceCart=function(){cW={}};this.trackEcommerceOrder=function(df,dj,di,dh,dg,dk){bW(df,dj,di,dh,dg,dk)};this.trackEcommerceCartUpdate=function(df){bq(df)};this.trackRequest=function(dg,di,dh,df){ce(function(){var dj=cq(dg,di,df);bC(dj,bG,dh)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bA.enabled=false};this.setRequestQueueInterval=function(df){if(df<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bA.interval=df};this.queueRequest=function(df){ce(function(){var dg=cq(df);bA.push(dg)})};this.isConsentRequired=function(){return cy};this.getRememberedConsent=function(){var df=aC(bc);if(aC(cI)){if(df){bV(bc,bn,cT)}return null}if(!df||df===0){return null}return df};this.hasRememberedConsent=function(){return !!this.getRememberedConsent()
+};this.requireConsent=function(){cy=true;bz=this.hasRememberedConsent();x++;b["CoreConsent"+x]={unload:function(){if(!bz){aE()}}}};this.setConsentGiven=function(){bz=true;bV(cI,bn,cT);var dg,df;for(dg=0;dg<cH.length;dg++){df=typeof cH[dg];if(df==="string"){bC(cH[dg],bG)}else{if(df==="object"){db(cH[dg],bG)}}}cH=[]};this.rememberConsentGiven=function(dg){if(dg){dg=dg*60*60*1000}else{dg=30*365*24*60*60*1000}this.setConsentGiven();var df=new Date().getTime();da(bc,df,dg,bn,cT,bP)};this.forgetConsentGiven=function(){var df=30*365*24*60*60*1000;bV(bc,bn,cT);da(cI,new Date().getTime(),df,bn,cT,bP);this.requireConsent()};this.isUserOptedOut=function(){return !bz};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=this.rememberConsentGiven;e.trigger("TrackerSetup",[this])}function H(){return{push:af}}function c(au,at){var av={};var aq,ar;for(aq=0;aq<at.length;aq++){var ao=at[aq];av[ao]=1;for(ar=0;ar<au.length;ar++){if(au[ar]&&au[ar][0]){var ap=au[ar][0];if(ao===ap){af(au[ar]);delete au[ar];
if(av[ap]>1&&ap!=="addTracker"){ak("The method "+ap+' is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation: https://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers')}av[ap]++}}}}return au}var C=["addTracker","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCrossDomainLinkingTimeout","setSessionCookieTimeout","setVisitorCookieTimeout","setSecureCookie","setCookiePath","setCookieDomain","setDomains","setUserId","setSiteId","alwaysUseSendBeacon","enableLinkTracking","requireConsent","setConsentGiven"];function ad(ao,aq){var ap=new Q(ao,aq);I.push(ap);_paq=c(_paq,C);for(E=0;E<_paq.length;E++){if(_paq[E]){af(_paq[E])}}_paq=new H();e.trigger("TrackerAdded",[ap]);return ap}an(T,"beforeunload",ai,false);an(T,"message",function(au){if(!au||!au.origin){return}var aw,ar,ap;var ax=d(au.origin);var at=e.getAsyncTrackers();for(ar=0;ar<at.length;ar++){ap=d(at[ar].getPiwikUrl());
if(ap===ax){aw=at[ar];break}}if(!aw){return}var aq=null;try{aq=JSON.parse(au.data)}catch(av){return}if(!aq){return}function ao(aA){var aC=G.getElementsByTagName("iframe");for(ar=0;ar<aC.length;ar++){var aB=aC[ar];var ay=d(aB.src);if(aB.contentWindow&&J(aB.contentWindow.postMessage)&&ay===ax){var az=JSON.stringify(aA);aB.contentWindow.postMessage(az,"*")}}}if(J(aq.maq_initial_value)){ao({maq_opted_in:aq.maq_initial_value&&aw.hasConsent(),maq_url:aw.getPiwikUrl(),maq_optout_by_default:aw.isConsentRequired()})}else{if(J(aq.maq_opted_in)){at=e.getAsyncTrackers();for(ar=0;ar<at.length;ar++){aw=at[ar];if(aq.maq_opted_in){aw.rememberConsentGiven()}else{aw.forgetConsentGiven()}}ao({maq_confirm_opted_in:aw.hasConsent(),maq_url:aw.getPiwikUrl(),maq_optout_by_default:aw.isConsentRequired()})}}},false);Date.prototype.getTimeAlias=Date.prototype.getTime;e={initialized:false,JSON:T.JSON,DOM:{addEventListener:function(ar,aq,ap,ao){var at=typeof ao;if(at==="undefined"){ao=false}an(ar,aq,ap,ao)},onLoad:n,onReady:q,isNodeVisible:j,isOrWasNodeVisible:v.isNodeVisible},on:function(ap,ao){if(!y[ap]){y[ap]=[]
}y[ap].push(ao)},off:function(aq,ap){if(!y[aq]){return}var ao=0;for(ao;ao<y[aq].length;ao++){if(y[aq][ao]===ap){y[aq].splice(ao,1)}}},trigger:function(aq,ar,ap){if(!y[aq]){return}var ao=0;for(ao;ao<y[aq].length;ao++){y[aq][ao].apply(ap||T,ar)}},addPlugin:function(ao,ap){b[ao]=ap},getTracker:function(ao,ap){if(!J(ap)){ap=this.getAsyncTracker().getSiteId()}if(!J(ao)){ao=this.getAsyncTracker().getTrackerUrl()}return new Q(ao,ap)},getAsyncTrackers:function(){return I},addTracker:function(ao,aq){var ap;if(!I.length){ap=ad(ao,aq)}else{ap=I[0].addTracker(ao,aq)}return ap},getAsyncTracker:function(ap,at){var ar;if(I&&I.length&&I[0]){ar=I[0]}else{return ad(ap,at)}if(!at&&!ap){return ar}if((!J(at)||null===at)&&ar){at=ar.getSiteId()}if((!J(ap)||null===ap)&&ar){ap=ar.getTrackerUrl()}var aq,ao=0;for(ao;ao<I.length;ao++){aq=I[ao];if(aq&&String(aq.getSiteId())===String(at)&&aq.getTrackerUrl()===ap){return aq}}},retryMissedPluginCalls:function(){var ap=ah;ah=[];var ao=0;for(ao;ao<ap.length;ao++){af(ap[ao])
diff --git a/piwik.js b/piwik.js
index 73dc8589eb..de7b72b070 100644
--- a/piwik.js
+++ b/piwik.js
@@ -28,37 +28,37 @@ if(-1!==M(aq,ao)&&ae.findFirstNodeHavingAttributeWithValue(at,"src")){var ar=ae.
if(T.innerHeight&&ao>T.innerHeight){ao=T.innerHeight}return((at.bottom>0||aq)&&at.right>0&&at.left<ap&&((at.top<ao)||aq))},isNodeVisible:function(ap){var ao=j(ap);var aq=this.isOrWasNodeInViewport(ap);return ao&&aq},buildInteractionRequestParams:function(ao,ap,aq,ar){var at="";if(ao){at+="c_i="+t(ao)}if(ap){if(at){at+="&"}at+="c_n="+t(ap)}if(aq){if(at){at+="&"}at+="c_p="+t(aq)}if(ar){if(at){at+="&"}at+="c_t="+t(ar)}return at},buildImpressionRequestParams:function(ao,ap,aq){var ar="c_n="+t(ao)+"&c_p="+t(ap);if(aq){ar+="&c_t="+t(aq)}return ar},buildContentBlock:function(aq){if(!aq){return}var ao=this.findContentName(aq);var ap=this.findContentPiece(aq);var ar=this.findContentTarget(aq);ao=this.trim(ao);ap=this.trim(ap);ar=this.trim(ar);return{name:ao||"Unknown",piece:ap||"Unknown",target:ar||""}},collectContent:function(ar){if(!ar||!ar.length){return[]}var aq=[];var ao,ap;for(ao=0;ao<ar.length;ao++){ap=this.buildContentBlock(ar[ao]);if(J(ap)){aq.push(ap)}}return aq},setLocation:function(ao){this.location=ao
},getLocation:function(){var ao=this.location||T.location;if(!ao.origin){ao.origin=ao.protocol+"//"+ao.hostname+(ao.port?":"+ao.port:"")}return ao},toAbsoluteUrl:function(ap){if((!ap||String(ap)!==ap)&&ap!==""){return ap}if(""===ap){return this.getLocation().href}if(ap.search(/^\/\//)!==-1){return this.getLocation().protocol+ap}if(ap.search(/:\/\//)!==-1){return ap}if(0===ap.indexOf("#")){return this.getLocation().origin+this.getLocation().pathname+ap}if(0===ap.indexOf("?")){return this.getLocation().origin+this.getLocation().pathname+ap}if(0===ap.search("^[a-zA-Z]{2,11}:")){return ap}if(ap.search(/^\//)!==-1){return this.getLocation().origin+ap}var ao="(.*/)";var aq=this.getLocation().origin+this.getLocation().pathname.match(new RegExp(ao))[0];return aq+ap},isUrlToCurrentDomain:function(ap){var aq=this.toAbsoluteUrl(ap);if(!aq){return false}var ao=this.getLocation().origin;if(ao===aq){return true}if(0===String(aq).indexOf(ao)){if(":"===String(aq).substr(ao.length,1)){return false}return true
}return false},setHrefAttribute:function(ap,ao){if(!ap||!ao){return}ae.setAnyAttribute(ap,"href",ao)},shouldIgnoreInteraction:function(aq){var ap=ae.hasNodeAttribute(aq,this.CONTENT_IGNOREINTERACTION_ATTR);var ao=ae.hasNodeCssClass(aq,this.CONTENT_IGNOREINTERACTION_CLASS);return ap||ao}};function O(ap,at){if(at){return at}ap=v.toAbsoluteUrl(ap);if(z(ap,"?")){var ar=ap.indexOf("?");ap=ap.slice(0,ar)}if(R(ap,"matomo.php")){ap=g(ap,"matomo.php".length)}else{if(R(ap,"piwik.php")){ap=g(ap,"piwik.php".length)}else{if(R(ap,".php")){var ao=ap.lastIndexOf("/");var aq=1;ap=ap.slice(0,ao+aq)}}}if(R(ap,"/js/")){ap=g(ap,"js/".length)}return ap}function N(av){var ax="Piwik_Overlay";var ap=new RegExp("index\\.php\\?module=Overlay&action=startOverlaySession&idSite=([0-9]+)&period=([^&]+)&date=([^&]+)(&segment=.*)?$");var aq=ap.exec(G.referrer);if(aq){var at=aq[1];if(at!==String(av)){return false}var au=aq[2],ao=aq[3],ar=aq[4];if(!ar){ar=""}else{if(ar.indexOf("&segment=")===0){ar=ar.substr("&segment=".length)
-}}T.name=ax+"###"+au+"###"+ao+"###"+ar}var aw=T.name.split("###");return aw.length===4&&aw[0]===ax}function Z(ap,aw,ar){var av=T.name.split("###"),au=av[1],ao=av[2],at=av[3],aq=O(ap,aw);o(aq+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(aq,ar,au,ao,at)})}function u(){var aq;try{aq=T.frameElement}catch(ap){return true}if(J(aq)){return(aq&&String(aq.nodeName).toLowerCase()==="iframe")?true:false}try{return T.self!==T.top}catch(ao){return true}}function Q(cb,b6){var bF=this,bc="mtm_consent",cH="mtm_consent_removed",b1=aa(G.domain,T.location.href,K()),cQ=L(b1[0]),bK=p(b1[1]),bl=p(b1[2]),cO=false,cf="GET",c6=cf,aH="application/x-www-form-urlencoded; charset=UTF-8",cu=aH,aD=cb||"",bE="",cV="",b3=b6||"",bw="",bL="",a3,bh="",c2=["7z","aac","apk","arc","arj","asf","asx","avi","azw3","bin","csv","deb","dmg","doc","docx","epub","exe","flv","gif","gz","gzip","hqx","ibooks","jar","jpg","jpeg","js","mobi","mp2","mp3","mp4","mpg","mpeg","mov","movie","msi","msp","odb","odf","odg","ods","odt","ogg","ogv","pdf","phps","png","ppt","pptx","qt","qtm","ra","ram","rar","rpm","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],ax=[cQ],bx=[],bI=[],a7=[],bG=500,cS=true,cE,a4,bO,c3=1800,bM,ao,co=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],bD=["pk_kwd","piwik_kwd","utm_term"],bi="_pk_",av="pk_vid",aY=180,cT,bn,bP=false,bj=false,cL,bd,bt,cF=33955200000,cm=1800000,c1=15768000000,a1=true,ck=0,bN=false,aP=false,b8,bT={},cj={},bk={},br=200,cW={},c4={},b7=[],cc=false,cy=false,ap=false,c5=false,cI=false,aM=false,bb=u(),cN=null,cU=null,b9,aQ,by,b4=am,bm,aK,cp=0,bs=["id","ses","cvar","ref"],cx=false,bz=null,cG=[],aw=U++;
-try{bh=G.title}catch(cv){bh=""}function da(dl,dj,di,dk,dh,dg){if(bj){return}var df;if(di){df=new Date();df.setTime(df.getTime()+di)}G.cookie=dl+"="+t(dj)+(di?";expires="+df.toGMTString():"")+";path="+(dk||"/")+(dh?";domain="+dh:"")+(dg?";secure":"")+";SameSite=Lax"}function aC(dh){if(bj){return 0}var df=new RegExp("(^|;)[ ]*"+dh+"=([^;]*)"),dg=df.exec(G.cookie);return dg?S(dg[2]):0}bz=!aC(cH);function bZ(df){var dg;df=k(df,av);if(bM){dg=new RegExp("#.*");return df.replace(dg,"")}return df}function bS(dh,df){var di=s(df),dg;if(di){return df}if(df.slice(0,1)==="/"){return s(dh)+"://"+d(dh)+df}dh=bZ(dh);dg=dh.indexOf("?");if(dg>=0){dh=dh.slice(0,dg)}dg=dh.lastIndexOf("/");if(dg!==dh.length-1){dh=dh.slice(0,dg+1)}return dh+df}function cC(dh,df){var dg;dh=String(dh).toLowerCase();df=String(df).toLowerCase();if(dh===df){return true}if(df.slice(0,1)==="."){if(dh===df.slice(1)){return true}dg=dh.length-df.length;if((dg>0)&&(dh.slice(dg)===df)){return true}}return false}function ci(df){var dg=document.createElement("a");
-if(df.indexOf("//")!==0&&df.indexOf("http")!==0){if(df.indexOf("*")===0){df=df.substr(1)}if(df.indexOf(".")===0){df=df.substr(1)}df="http://"+df}dg.href=v.toAbsoluteUrl(df);if(dg.pathname){return dg.pathname}return""}function a2(dg,df){if(!aj(df,"/")){df="/"+df}if(!aj(dg,"/")){dg="/"+dg}var dh=(df==="/"||df==="/*");if(dh){return true}if(dg===df){return true}df=String(df).toLowerCase();dg=String(dg).toLowerCase();if(R(df,"*")){df=df.slice(0,-1);dh=(!df||df==="/");if(dh){return true}if(dg===df){return true}return dg.indexOf(df)===0}if(!R(dg,"/")){dg+="/"}if(!R(df,"/")){df+="/"}return dg.indexOf(df)===0}function ar(dj,dl){var dg,df,dh,di,dk;for(dg=0;dg<ax.length;dg++){di=L(ax[dg]);dk=ci(ax[dg]);if(cC(dj,di)&&a2(dl,dk)){return true}}return false}function aU(di){var dg,df,dh;for(dg=0;dg<ax.length;dg++){df=L(ax[dg].toLowerCase());if(di===df){return true}if(df.slice(0,1)==="."){if(di===df.slice(1)){return true}dh=di.length-df.length;if((dh>0)&&(di.slice(dh)===df)){return true}}}return false}function cn(df,dh){df=df.replace("send_image=0","send_image=1");
+}}T.name=ax+"###"+au+"###"+ao+"###"+ar}var aw=T.name.split("###");return aw.length===4&&aw[0]===ax}function Z(ap,aw,ar){var av=T.name.split("###"),au=av[1],ao=av[2],at=av[3],aq=O(ap,aw);o(aq+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(aq,ar,au,ao,at)})}function u(){var aq;try{aq=T.frameElement}catch(ap){return true}if(J(aq)){return(aq&&String(aq.nodeName).toLowerCase()==="iframe")?true:false}try{return T.self!==T.top}catch(ao){return true}}function Q(cb,b6){var bF=this,bc="mtm_consent",cI="mtm_consent_removed",b1=aa(G.domain,T.location.href,K()),cQ=L(b1[0]),bK=p(b1[1]),bl=p(b1[2]),cO=false,cf="GET",c6=cf,aH="application/x-www-form-urlencoded; charset=UTF-8",cu=aH,aD=cb||"",bE="",cV="",b3=b6||"",bw="",bL="",a3,bh="",c2=["7z","aac","apk","arc","arj","asf","asx","avi","azw3","bin","csv","deb","dmg","doc","docx","epub","exe","flv","gif","gz","gzip","hqx","ibooks","jar","jpg","jpeg","js","mobi","mp2","mp3","mp4","mpg","mpeg","mov","movie","msi","msp","odb","odf","odg","ods","odt","ogg","ogv","pdf","phps","png","ppt","pptx","qt","qtm","ra","ram","rar","rpm","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],ax=[cQ],bx=[],bI=[],a7=[],bG=500,cS=true,cF,a4,bO,c3=1800,bM,ao,co=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],bD=["pk_kwd","piwik_kwd","utm_term"],bi="_pk_",av="pk_vid",aY=180,cT,bn,bP=false,bj=false,cM,bd,bt,cG=33955200000,cm=1800000,c1=15768000000,a1=true,ck=0,bN=false,aP=false,b8,bT={},cj={},bk={},br=200,cW={},c4={},b7=[],cc=false,cz=false,ap=false,c5=false,cJ=false,aM=false,bb=u(),cv=null,cU=null,b9,aQ,by,b4=am,bm,aK,cp=0,bs=["id","ses","cvar","ref"],cy=false,bz=null,cH=[],aw=U++;
+try{bh=G.title}catch(cw){bh=""}function da(dl,dj,di,dk,dh,dg){if(bj){return}var df;if(di){df=new Date();df.setTime(df.getTime()+di)}G.cookie=dl+"="+t(dj)+(di?";expires="+df.toGMTString():"")+";path="+(dk||"/")+(dh?";domain="+dh:"")+(dg?";secure":"")+";SameSite=Lax"}function aC(dh){if(bj){return 0}var df=new RegExp("(^|;)[ ]*"+dh+"=([^;]*)"),dg=df.exec(G.cookie);return dg?S(dg[2]):0}bz=!aC(cI);function bZ(df){var dg;df=k(df,av);if(bM){dg=new RegExp("#.*");return df.replace(dg,"")}return df}function bS(dh,df){var di=s(df),dg;if(di){return df}if(df.slice(0,1)==="/"){return s(dh)+"://"+d(dh)+df}dh=bZ(dh);dg=dh.indexOf("?");if(dg>=0){dh=dh.slice(0,dg)}dg=dh.lastIndexOf("/");if(dg!==dh.length-1){dh=dh.slice(0,dg+1)}return dh+df}function cD(dh,df){var dg;dh=String(dh).toLowerCase();df=String(df).toLowerCase();if(dh===df){return true}if(df.slice(0,1)==="."){if(dh===df.slice(1)){return true}dg=dh.length-df.length;if((dg>0)&&(dh.slice(dg)===df)){return true}}return false}function ci(df){var dg=document.createElement("a");
+if(df.indexOf("//")!==0&&df.indexOf("http")!==0){if(df.indexOf("*")===0){df=df.substr(1)}if(df.indexOf(".")===0){df=df.substr(1)}df="http://"+df}dg.href=v.toAbsoluteUrl(df);if(dg.pathname){return dg.pathname}return""}function a2(dg,df){if(!aj(df,"/")){df="/"+df}if(!aj(dg,"/")){dg="/"+dg}var dh=(df==="/"||df==="/*");if(dh){return true}if(dg===df){return true}df=String(df).toLowerCase();dg=String(dg).toLowerCase();if(R(df,"*")){df=df.slice(0,-1);dh=(!df||df==="/");if(dh){return true}if(dg===df){return true}return dg.indexOf(df)===0}if(!R(dg,"/")){dg+="/"}if(!R(df,"/")){df+="/"}return dg.indexOf(df)===0}function ar(dj,dl){var dg,df,dh,di,dk;for(dg=0;dg<ax.length;dg++){di=L(ax[dg]);dk=ci(ax[dg]);if(cD(dj,di)&&a2(dl,dk)){return true}}return false}function aU(di){var dg,df,dh;for(dg=0;dg<ax.length;dg++){df=L(ax[dg].toLowerCase());if(di===df){return true}if(df.slice(0,1)==="."){if(di===df.slice(1)){return true}dh=di.length-df.length;if((dh>0)&&(di.slice(dh)===df)){return true}}}return false}function cn(df,dh){df=df.replace("send_image=0","send_image=1");
var dg=new Image(1,1);dg.onload=function(){E=0;if(typeof dh==="function"){dh({request:df,trackerUrl:aD,success:true})}};dg.onerror=function(){if(typeof dh==="function"){dh({request:df,trackerUrl:aD,success:false})}};dg.src=aD+(aD.indexOf("?")<0?"?":"&")+df}function aJ(){return"object"===typeof h&&"function"===typeof h.sendBeacon&&"function"===typeof Blob}function a5(di,dm){var dh=aJ();if(!dh){return false}var dl={type:"application/x-www-form-urlencoded; charset=UTF-8"};var dk=false;var dg=aD;try{var df=new Blob([di],dl);if(di.length<=2000){df=new Blob([],dl);dg=dg+(dg.indexOf("?")<0?"?":"&")+di}dk=h.sendBeacon(dg,df)}catch(dj){return false}if(dk&&typeof dm==="function"){dm({request:di,trackerUrl:aD,success:true,isSendBeacon:true})}return dk}function c0(dg,dh,df){if(!J(df)||null===df){df=true}if(m&&a5(dg,dh)){return}setTimeout(function(){if(m&&a5(dg,dh)){return}var dk;try{var dj=T.XMLHttpRequest?new T.XMLHttpRequest():T.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;dj.open("POST",aD,true);
-dj.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dl=m&&a5(dg,dh);if(!dl&&df){cn(dg,dh)}else{if(typeof dh==="function"){dh({request:dg,trackerUrl:aD,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof dh==="function")){dh({request:dg,trackerUrl:aD,success:true,xhr:this})}}};dj.setRequestHeader("Content-Type",cu);dj.withCredentials=true;dj.send(dg)}catch(di){dk=m&&a5(dg,dh);if(!dk&&df){cn(dg,dh)}else{if(typeof dh==="function"){dh({request:dg,trackerUrl:aD,success:false})}}}},50)}function cd(dg){var df=new Date();var dh=df.getTime()+dg;if(!r||dh>r){r=dh}}function cl(df){if(b9||!a4||!bz){return}b9=setTimeout(function dg(){b9=null;if(!bb){bb=(!G.hasFocus||G.hasFocus())}if(!bb){cl(a4);return}if(bO()){return}var dh=new Date(),di=a4-(dh.getTime()-cU);di=Math.min(a4,di);cl(di)},df||a4)}function bH(){if(!b9){return}clearTimeout(b9);b9=null}function a9(){bb=true;cN=new Date().getTime()}function c9(){var df=new Date().getTime();return !cN||(df-cN)>a4
-}function ay(){if(c9()){bO()}bH()}function dc(){if(aM||!a4){return}aM=true;an(T,"focus",a9);an(T,"blur",ay);ab++;e.addPlugin("HeartBeat"+ab,{unload:function(){if(aM&&c9()){bO()}}})}function cz(dj){var dg=new Date();var df=dg.getTime();cU=df;if(cy&&df<cy){var dh=cy-df;setTimeout(dj,dh);cd(dh+50);cy+=50;return}if(cy===false){var di=800;cy=df+di}dj()}function aN(){if(aC(cH)){bz=false}else{if(aC(bc)){bz=true}}}function bC(dg,df,dh){aN();if(!bz){cG.push(dg);return}if(!cL&&dg){if(cx&&bz){dg+="&consent=1"}cz(function(){if(cS&&a5(dg,dh)){cd(100);return}if(c6==="POST"||String(dg).length>2000){c0(dg,dh)}else{cn(dg,dh)}cd(df)})}if(!aM){dc()}}function ch(df){if(cL){return false}return(df&&df.length)}function cZ(df,dj){if(!dj||dj>=df.length){return[df]}var dg=0;var dh=df.length;var di=[];for(dg;dg<dh;dg+=dj){di.push(df.slice(dg,dg+dj))}return di}function db(dg,df){if(!ch(dg)){return}if(!bz){cG.push(dg);return}cz(function(){var dj=cZ(dg,50);var dh=0,di;for(dh;dh<dj.length;dh++){di='{"requests":["?'+dj[dh].join('","?')+'"]}';
-c0(di,null,false)}cd(df)})}function aS(df){return bi+df+"."+b3+"."+bm}function bV(dh,dg,df){da(dh,"",-86400,dg,df)}function b2(){if(bj){return"0"}if(!J(T.showModalDialog)&&J(h.cookieEnabled)){return h.cookieEnabled?"1":"0"}var df=bi+"testcookie";da(df,"1",undefined,bn,cT,bP);var dg=aC(df)==="1"?"1":"0";bV(df);return dg}function bg(){bm=b4((cT||cQ)+(bn||"/")).slice(0,4)}function cD(){if(J(c4.res)){return c4}var dg,di,dj={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"};if(!((new RegExp("MSIE")).test(h.userAgent))){if(h.mimeTypes&&h.mimeTypes.length){for(dg in dj){if(Object.prototype.hasOwnProperty.call(dj,dg)){di=h.mimeTypes[dj[dg]];c4[dg]=(di&&di.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(h.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(h.javaEnabled)&&h.javaEnabled()){c4.java="1"
-}if(A(T.GearsFactory)){c4.gears="1"}c4.cookie=b2()}var dh=parseInt(X.width,10);var df=parseInt(X.height,10);c4.res=parseInt(dh,10)+"x"+parseInt(df,10);return c4}function bU(){var dg=aS("cvar"),df=aC(dg);if(df.length){df=T.JSON.parse(df);if(W(df)){return df}}return{}}function cA(){if(aP===false){aP=bU()}}function cM(){var df=cD();return b4((h.userAgent||"")+(h.platform||"")+T.JSON.stringify(df)+(new Date()).getTime()+Math.random()).slice(0,16)}function az(){var df=cD();return b4((h.userAgent||"")+(h.platform||"")+T.JSON.stringify(df)).slice(0,6)}function be(){return Math.floor((new Date()).getTime()/1000)}function aI(){var dg=be();var dh=az();var df=String(dg)+dh;return df}function cY(dh){dh=String(dh);var dk=az();var di=dk.length;var dj=dh.substr(-1*di,di);var dg=parseInt(dh.substr(0,dh.length-di),10);if(dg&&dj&&dj===dk){var df=be();if(aY<=0){return true}if(df>=dg&&df<=(dg+aY)){return true}}return false}function dd(df){if(!cI){return""}var dj=f(df,av);if(!dj){return""}dj=String(dj);var dh=new RegExp("^[a-zA-Z0-9]+$");
-if(dj.length===32&&dh.test(dj)){var dg=dj.substr(16,32);if(cY(dg)){var di=dj.substr(0,16);return di}}return""}function cJ(){if(!bL){bL=dd(bK)}var dh=new Date(),df=Math.round(dh.getTime()/1000),dg=aS("id"),dk=aC(dg),dj,di;if(dk){dj=dk.split(".");dj.unshift("0");if(bL.length){dj[1]=bL}return dj}if(bL.length){di=bL}else{if("0"===b2()){di=""}else{di=cM()}}dj=["1",di,df,0,df,"",""];return dj}function aX(){var dm=cJ(),di=dm[0],dj=dm[1],dg=dm[2],df=dm[3],dk=dm[4],dh=dm[5];if(!J(dm[6])){dm[6]=""}var dl=dm[6];return{newVisitor:di,uuid:dj,createTs:dg,visitCount:df,currentVisitTs:dk,lastVisitTs:dh,lastEcommerceOrderTs:dl}}function aG(){var di=new Date(),dg=di.getTime(),dj=aX().createTs;var df=parseInt(dj,10);var dh=(df*1000)+cF-dg;return dh}function aL(df){if(!b3){return}var dh=new Date(),dg=Math.round(dh.getTime()/1000);if(!J(df)){df=aX()}var di=df.uuid+"."+df.createTs+"."+df.visitCount+"."+dg+"."+df.lastVisitTs+"."+df.lastEcommerceOrderTs;da(aS("id"),di,aG(),bn,cT,bP)}function bJ(){var df=aC(aS("ref"));
-if(df.length){try{df=T.JSON.parse(df);if(W(df)){return df}}catch(dg){}}return["","",0,""]}function bu(dg){var df="testvalue";da("test",df,10000,null,dg);if(aC("test")===df){bV("test",null,dg);return true}return false}function aE(){var dg=bj;bj=false;var df,dh;for(df=0;df<bs.length;df++){dh=aS(bs[df]);if(dh!==cH&&dh!==bc&&0!==aC(dh)){bV(dh,bn,cT)}}bj=dg}function b0(df){b3=df;aL()}function de(dj){if(!dj||!W(dj)){return}var di=[];var dh;for(dh in dj){if(Object.prototype.hasOwnProperty.call(dj,dh)){di.push(dh)}}var dk={};di.sort();var df=di.length;var dg;for(dg=0;dg<df;dg++){dk[di[dg]]=dj[di[dg]]}return dk}function ca(){da(aS("ses"),"1",cm,bn,cT,bP)}function bf(){var di="";var dg="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dh=dg.length;var df;for(df=0;df<6;df++){di+=dg.charAt(Math.floor(Math.random()*dh))}return di}function cq(dh,dD,dE,di){var dC,dg=new Date(),dq=Math.round(dg.getTime()/1000),dm,dB,dj=1024,dK,dr,dz=aP,dk=aS("ses"),dx=aS("ref"),du=aS("cvar"),dv=aC(dk),dA=bJ(),dG=a3||bK,dn,df;
-if(bj){aE()}if(cL){return""}var dw=aX();if(!J(di)){di=""}var dt=G.characterSet||G.charset;if(!dt||dt.toLowerCase()==="utf-8"){dt=null}dn=dA[0];df=dA[1];dm=dA[2];dB=dA[3];if(!dv){var dF=cm/1000;if(!dw.lastVisitTs||(dq-dw.lastVisitTs)>dF){dw.visitCount++;dw.lastVisitTs=dw.currentVisitTs}if(!bt||!dn.length){for(dC in co){if(Object.prototype.hasOwnProperty.call(co,dC)){dn=f(dG,co[dC]);if(dn.length){break}}}for(dC in bD){if(Object.prototype.hasOwnProperty.call(bD,dC)){df=f(dG,bD[dC]);if(df.length){break}}}}dK=d(bl);dr=dB.length?d(dB):"";if(dK.length&&!aU(dK)&&(!bt||!dr.length||aU(dr))){dB=bl}if(dB.length||dn.length){dm=dq;dA=[dn,df,dm,bZ(dB.slice(0,dj))];da(dx,T.JSON.stringify(dA),c1,bn,cT,bP)}}dh+="&idsite="+b3+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dg.getHours()+"&m="+dg.getMinutes()+"&s="+dg.getSeconds()+"&url="+t(bZ(dG))+(bl.length?"&urlref="+t(bZ(bl)):"")+((bw&&bw.length)?"&uid="+t(bw):"")+"&_id="+dw.uuid+"&_idts="+dw.createTs+"&_idvc="+dw.visitCount+"&_idn="+dw.newVisitor+(dn.length?"&_rcn="+t(dn):"")+(df.length?"&_rck="+t(df):"")+"&_refts="+dm+"&_viewts="+dw.lastVisitTs+(String(dw.lastEcommerceOrderTs).length?"&_ects="+dw.lastEcommerceOrderTs:"")+(String(dB).length?"&_ref="+t(bZ(dB.slice(0,dj))):"")+(dt?"&cs="+t(dt):"")+"&send_image=0";
-var dJ=cD();for(dC in dJ){if(Object.prototype.hasOwnProperty.call(dJ,dC)){dh+="&"+dC+"="+dJ[dC]}}var dI=[];if(dD){for(dC in dD){if(Object.prototype.hasOwnProperty.call(dD,dC)&&/^dimension\d+$/.test(dC)){var dl=dC.replace("dimension","");dI.push(parseInt(dl,10));dI.push(String(dl));dh+="&"+dC+"="+t(dD[dC]);delete dD[dC]}}}if(dD&&B(dD)){dD=null}for(dC in bk){if(Object.prototype.hasOwnProperty.call(bk,dC)){var ds=(-1===M(dI,dC));if(ds){dh+="&dimension"+dC+"="+t(bk[dC])}}}if(dD){dh+="&data="+t(T.JSON.stringify(dD))}else{if(ao){dh+="&data="+t(T.JSON.stringify(ao))}}function dp(dL,dM){var dN=T.JSON.stringify(dL);if(dN.length>2){return"&"+dM+"="+t(dN)}return""}var dH=de(bT);var dy=de(cj);dh+=dp(dH,"cvar");dh+=dp(dy,"e_cvar");if(aP){dh+=dp(aP,"_cvar");for(dC in dz){if(Object.prototype.hasOwnProperty.call(dz,dC)){if(aP[dC][0]===""||aP[dC][1]===""){delete aP[dC]}}}if(bN){da(du,T.JSON.stringify(aP),cm,bn,cT,bP)}}if(a1){if(ck){dh+="&gt_ms="+ck}else{if(i&&i.timing&&i.timing.requestStart&&i.timing.responseEnd){dh+="&gt_ms="+(i.timing.responseEnd-i.timing.requestStart)
+dj.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dl=m&&a5(dg,dh);if(!dl&&df){cn(dg,dh)}else{if(typeof dh==="function"){dh({request:dg,trackerUrl:aD,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof dh==="function")){dh({request:dg,trackerUrl:aD,success:true,xhr:this})}}};dj.setRequestHeader("Content-Type",cu);dj.withCredentials=true;dj.send(dg)}catch(di){dk=m&&a5(dg,dh);if(!dk&&df){cn(dg,dh)}else{if(typeof dh==="function"){dh({request:dg,trackerUrl:aD,success:false})}}}},50)}function cd(dg){var df=new Date();var dh=df.getTime()+dg;if(!r||dh>r){r=dh}}function cl(df){if(b9||!a4||!bz){return}b9=setTimeout(function dg(){b9=null;if(!bb){bb=(!G.hasFocus||G.hasFocus())}if(!bb){cl(a4);return}if(bO()){return}var dh=new Date(),di=a4-(dh.getTime()-cU);di=Math.min(a4,di);cl(di)},df||a4)}function bH(){if(!b9){return}clearTimeout(b9);b9=null}function a9(){bb=true;cv=new Date().getTime()}function c9(){var df=new Date().getTime();return !cv||(df-cv)>a4
+}function ay(){if(c9()){bO()}bH()}function dc(){if(aM||!a4){return}aM=true;an(T,"focus",a9);an(T,"blur",ay);ab++;e.addPlugin("HeartBeat"+ab,{unload:function(){if(aM&&c9()){bO()}}})}function cA(dj){var dg=new Date();var df=dg.getTime();cU=df;if(cz&&df<cz){var dh=cz-df;setTimeout(dj,dh);cd(dh+50);cz+=50;return}if(cz===false){var di=800;cz=df+di}dj()}function aN(){if(aC(cI)){bz=false}else{if(aC(bc)){bz=true}}}function bC(dg,df,dh){aN();if(!bz){cH.push(dg);return}if(!cM&&dg){if(cy&&bz){dg+="&consent=1"}cA(function(){if(cS&&a5(dg,dh)){cd(100);return}if(c6==="POST"||String(dg).length>2000){c0(dg,dh)}else{cn(dg,dh)}cd(df)})}if(!aM){dc()}}function ch(df){if(cM){return false}return(df&&df.length)}function cZ(df,dj){if(!dj||dj>=df.length){return[df]}var dg=0;var dh=df.length;var di=[];for(dg;dg<dh;dg+=dj){di.push(df.slice(dg,dg+dj))}return di}function db(dg,df){if(!ch(dg)){return}if(!bz){cH.push(dg);return}cA(function(){var dj=cZ(dg,50);var dh=0,di;for(dh;dh<dj.length;dh++){di='{"requests":["?'+dj[dh].join('","?')+'"]}';
+c0(di,null,false)}cd(df)})}function aS(df){return bi+df+"."+b3+"."+bm}function bV(dh,dg,df){da(dh,"",-86400,dg,df)}function b2(){if(bj){return"0"}if(!J(T.showModalDialog)&&J(h.cookieEnabled)){return h.cookieEnabled?"1":"0"}var df=bi+"testcookie";da(df,"1",undefined,bn,cT,bP);var dg=aC(df)==="1"?"1":"0";bV(df);return dg}function bg(){bm=b4((cT||cQ)+(bn||"/")).slice(0,4)}function cE(){if(J(c4.res)){return c4}var dg,di,dj={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"};if(!((new RegExp("MSIE")).test(h.userAgent))){if(h.mimeTypes&&h.mimeTypes.length){for(dg in dj){if(Object.prototype.hasOwnProperty.call(dj,dg)){di=h.mimeTypes[dj[dg]];c4[dg]=(di&&di.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(h.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(h.javaEnabled)&&h.javaEnabled()){c4.java="1"
+}if(A(T.GearsFactory)){c4.gears="1"}c4.cookie=b2()}var dh=parseInt(X.width,10);var df=parseInt(X.height,10);c4.res=parseInt(dh,10)+"x"+parseInt(df,10);return c4}function bU(){var dg=aS("cvar"),df=aC(dg);if(df.length){df=T.JSON.parse(df);if(W(df)){return df}}return{}}function cB(){if(aP===false){aP=bU()}}function cN(){var df=cE();return b4((h.userAgent||"")+(h.platform||"")+T.JSON.stringify(df)+(new Date()).getTime()+Math.random()).slice(0,16)}function az(){var df=cE();return b4((h.userAgent||"")+(h.platform||"")+T.JSON.stringify(df)).slice(0,6)}function be(){return Math.floor((new Date()).getTime()/1000)}function aI(){var dg=be();var dh=az();var df=String(dg)+dh;return df}function cY(dh){dh=String(dh);var dk=az();var di=dk.length;var dj=dh.substr(-1*di,di);var dg=parseInt(dh.substr(0,dh.length-di),10);if(dg&&dj&&dj===dk){var df=be();if(aY<=0){return true}if(df>=dg&&df<=(dg+aY)){return true}}return false}function dd(df){if(!cJ){return""}var dj=f(df,av);if(!dj){return""}dj=String(dj);var dh=new RegExp("^[a-zA-Z0-9]+$");
+if(dj.length===32&&dh.test(dj)){var dg=dj.substr(16,32);if(cY(dg)){var di=dj.substr(0,16);return di}}return""}function cK(){if(!bL){bL=dd(bK)}var dh=new Date(),df=Math.round(dh.getTime()/1000),dg=aS("id"),dk=aC(dg),dj,di;if(dk){dj=dk.split(".");dj.unshift("0");if(bL.length){dj[1]=bL}return dj}if(bL.length){di=bL}else{if("0"===b2()){di=""}else{di=cN()}}dj=["1",di,df,0,df,"",""];return dj}function aX(){var dm=cK(),di=dm[0],dj=dm[1],dg=dm[2],df=dm[3],dk=dm[4],dh=dm[5];if(!J(dm[6])){dm[6]=""}var dl=dm[6];return{newVisitor:di,uuid:dj,createTs:dg,visitCount:df,currentVisitTs:dk,lastVisitTs:dh,lastEcommerceOrderTs:dl}}function aG(){var di=new Date(),dg=di.getTime(),dj=aX().createTs;var df=parseInt(dj,10);var dh=(df*1000)+cG-dg;return dh}function aL(df){if(!b3){return}var dh=new Date(),dg=Math.round(dh.getTime()/1000);if(!J(df)){df=aX()}var di=df.uuid+"."+df.createTs+"."+df.visitCount+"."+dg+"."+df.lastVisitTs+"."+df.lastEcommerceOrderTs;da(aS("id"),di,aG(),bn,cT,bP)}function bJ(){var df=aC(aS("ref"));
+if(df.length){try{df=T.JSON.parse(df);if(W(df)){return df}}catch(dg){}}return["","",0,""]}function bu(dg){var df="testvalue";da("test",df,10000,null,dg);if(aC("test")===df){bV("test",null,dg);return true}return false}function aE(){var dg=bj;bj=false;var df,dh;for(df=0;df<bs.length;df++){dh=aS(bs[df]);if(dh!==cI&&dh!==bc&&0!==aC(dh)){bV(dh,bn,cT)}}bj=dg}function b0(df){b3=df;aL()}function de(dj){if(!dj||!W(dj)){return}var di=[];var dh;for(dh in dj){if(Object.prototype.hasOwnProperty.call(dj,dh)){di.push(dh)}}var dk={};di.sort();var df=di.length;var dg;for(dg=0;dg<df;dg++){dk[di[dg]]=dj[di[dg]]}return dk}function ca(){da(aS("ses"),"1",cm,bn,cT,bP)}function bf(){var di="";var dg="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dh=dg.length;var df;for(df=0;df<6;df++){di+=dg.charAt(Math.floor(Math.random()*dh))}return di}function cq(dh,dD,dE,di){var dC,dg=new Date(),dq=Math.round(dg.getTime()/1000),dm,dB,dj=1024,dK,dr,dz=aP,dk=aS("ses"),dx=aS("ref"),du=aS("cvar"),dv=aC(dk),dA=bJ(),dG=a3||bK,dn,df;
+if(bj){aE()}if(cM){return""}var dw=aX();if(!J(di)){di=""}var dt=G.characterSet||G.charset;if(!dt||dt.toLowerCase()==="utf-8"){dt=null}dn=dA[0];df=dA[1];dm=dA[2];dB=dA[3];if(!dv){var dF=cm/1000;if(!dw.lastVisitTs||(dq-dw.lastVisitTs)>dF){dw.visitCount++;dw.lastVisitTs=dw.currentVisitTs}if(!bt||!dn.length){for(dC in co){if(Object.prototype.hasOwnProperty.call(co,dC)){dn=f(dG,co[dC]);if(dn.length){break}}}for(dC in bD){if(Object.prototype.hasOwnProperty.call(bD,dC)){df=f(dG,bD[dC]);if(df.length){break}}}}dK=d(bl);dr=dB.length?d(dB):"";if(dK.length&&!aU(dK)&&(!bt||!dr.length||aU(dr))){dB=bl}if(dB.length||dn.length){dm=dq;dA=[dn,df,dm,bZ(dB.slice(0,dj))];da(dx,T.JSON.stringify(dA),c1,bn,cT,bP)}}dh+="&idsite="+b3+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dg.getHours()+"&m="+dg.getMinutes()+"&s="+dg.getSeconds()+"&url="+t(bZ(dG))+(bl.length?"&urlref="+t(bZ(bl)):"")+((bw&&bw.length)?"&uid="+t(bw):"")+"&_id="+dw.uuid+"&_idts="+dw.createTs+"&_idvc="+dw.visitCount+"&_idn="+dw.newVisitor+(dn.length?"&_rcn="+t(dn):"")+(df.length?"&_rck="+t(df):"")+"&_refts="+dm+"&_viewts="+dw.lastVisitTs+(String(dw.lastEcommerceOrderTs).length?"&_ects="+dw.lastEcommerceOrderTs:"")+(String(dB).length?"&_ref="+t(bZ(dB.slice(0,dj))):"")+(dt?"&cs="+t(dt):"")+"&send_image=0";
+var dJ=cE();for(dC in dJ){if(Object.prototype.hasOwnProperty.call(dJ,dC)){dh+="&"+dC+"="+dJ[dC]}}var dI=[];if(dD){for(dC in dD){if(Object.prototype.hasOwnProperty.call(dD,dC)&&/^dimension\d+$/.test(dC)){var dl=dC.replace("dimension","");dI.push(parseInt(dl,10));dI.push(String(dl));dh+="&"+dC+"="+t(dD[dC]);delete dD[dC]}}}if(dD&&B(dD)){dD=null}for(dC in bk){if(Object.prototype.hasOwnProperty.call(bk,dC)){var ds=(-1===M(dI,dC));if(ds){dh+="&dimension"+dC+"="+t(bk[dC])}}}if(dD){dh+="&data="+t(T.JSON.stringify(dD))}else{if(ao){dh+="&data="+t(T.JSON.stringify(ao))}}function dp(dL,dM){var dN=T.JSON.stringify(dL);if(dN.length>2){return"&"+dM+"="+t(dN)}return""}var dH=de(bT);var dy=de(cj);dh+=dp(dH,"cvar");dh+=dp(dy,"e_cvar");if(aP){dh+=dp(aP,"_cvar");for(dC in dz){if(Object.prototype.hasOwnProperty.call(dz,dC)){if(aP[dC][0]===""||aP[dC][1]===""){delete aP[dC]}}}if(bN){da(du,T.JSON.stringify(aP),cm,bn,cT,bP)}}if(a1){if(ck){dh+="&gt_ms="+ck}else{if(i&&i.timing&&i.timing.requestStart&&i.timing.responseEnd){dh+="&gt_ms="+(i.timing.responseEnd-i.timing.requestStart)
}}}if(aK){dh+="&pv_id="+aK}dw.lastEcommerceOrderTs=J(di)&&String(di).length?di:dw.lastEcommerceOrderTs;aL(dw);ca();dh+=ac(dE,{tracker:bF,request:dh});if(cV.length){dh+="&"+cV}if(A(b8)){dh=b8(dh)}return dh}bO=function a6(){var df=new Date();df=df.getTime();if(!cU){return false}if((cU+(1000*c3))<=df){return false}if(cU+a4<=df){bF.ping();return true}return false};function bo(di,dh,dn,dj,df,dr){var dl="idgoal=0",dm,dg=new Date(),dp=[],dq,dk=String(di).length;if(dk){dl+="&ec_id="+t(di);dm=Math.round(dg.getTime()/1000)}dl+="&revenue="+dh;if(String(dn).length){dl+="&ec_st="+dn}if(String(dj).length){dl+="&ec_tx="+dj}if(String(df).length){dl+="&ec_sh="+df}if(String(dr).length){dl+="&ec_dt="+dr}if(cW){for(dq in cW){if(Object.prototype.hasOwnProperty.call(cW,dq)){if(!J(cW[dq][1])){cW[dq][1]=""}if(!J(cW[dq][2])){cW[dq][2]=""}if(!J(cW[dq][3])||String(cW[dq][3]).length===0){cW[dq][3]=0}if(!J(cW[dq][4])||String(cW[dq][4]).length===0){cW[dq][4]=1}dp.push(cW[dq])}}dl+="&ec_items="+t(T.JSON.stringify(dp))
}dl=cq(dl,ao,"ecommerce",dm);bC(dl,bG);if(dk){cW={}}}function bW(df,dj,di,dh,dg,dk){if(String(df).length&&J(dj)){bo(df,dj,di,dh,dg,dk)}}function bq(df){if(J(df)){bo("",df,"","","","")}}function bX(dg,di,dh){aK=bf();var df=cq("action_name="+t(al(dg||bh)),di,"log");bC(df,bG,dh)}function aZ(dh,dg){var di,df="(^| )(piwik[_-]"+dg;if(dh){for(di=0;di<dh.length;di++){df+="|"+dh[di]}}df+=")( |$)";return new RegExp(df)}function aT(df){return(aD&&df&&0===String(df).indexOf(aD))}function cs(dj,df,dk,dg){if(aT(df)){return 0}var di=aZ(bI,"download"),dh=aZ(a7,"link"),dl=new RegExp("\\.("+c2.join("|")+")([?&#]|$)","i");if(dh.test(dj)){return"link"}if(dg||di.test(dj)||dl.test(df)){return"download"}if(dk){return 0}return"link"}function au(dg){var df;df=dg.parentNode;while(df!==null&&J(df)){if(ae.isLinkElement(dg)){break}dg=df;df=dg.parentNode}return dg}function c8(dk){dk=au(dk);if(!ae.hasNodeAttribute(dk,"href")){return}if(!J(dk.href)){return}var dj=ae.getAttributeValueFromNode(dk,"href");var dg=dk.pathname||ci(dk.href);
var dl=dk.hostname||d(dk.href);var dm=dl.toLowerCase();var dh=dk.href.replace(dl,dm);var di=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!di.test(dh)){var df=cs(dk.className,dh,ar(dm,dg),ae.hasNodeAttribute(dk,"download"));if(df){return{type:df,href:dh}}}}function aO(df,dg,dh,di){var dj=v.buildInteractionRequestParams(df,dg,dh,di);if(!dj){return}return cq(dj,null,"contentInteraction")}function ba(df,dg){if(!df||!dg){return false}var dh=v.findTargetNode(df);if(v.shouldIgnoreInteraction(dh)){return false}dh=v.findTargetNodeNoDefault(df);if(dh&&!V(dh,dg)){return false}return true}function cr(dh,dg,dj){if(!dh){return}var df=v.findParentContentNode(dh);if(!df){return}if(!ba(df,dh)){return}var di=v.buildContentBlock(df);if(!di){return}if(!di.target&&dj){di.target=dj}return v.buildInteractionRequestParams(dg,di.name,di.piece,di.target)}function aV(dg){if(!b7||!b7.length){return false}var df,dh;for(df=0;df<b7.length;df++){dh=b7[df];if(dh&&dh.name===dg.name&&dh.piece===dg.piece&&dh.target===dg.target){return true
-}}return false}function aW(df){return function(dj){if(!df){return}var dh=v.findParentContentNode(df);var dg;if(dj){dg=dj.target||dj.srcElement}if(!dg){dg=df}if(!ba(dh,dg)){return}if(!dh){return false}var dk=v.findTargetNode(dh);if(!dk||v.shouldIgnoreInteraction(dk)){return false}var di=c8(dk);if(c5&&di&&di.type){return di.type}return bF.trackContentInteractionNode(dg,"click")}}function bY(dh){if(!dh||!dh.length){return}var df,dg;for(df=0;df<dh.length;df++){dg=v.findTargetNode(dh[df]);if(dg&&!dg.contentInteractionTrackingSetupDone){dg.contentInteractionTrackingSetupDone=true;an(dg,"click",aW(dg))}}}function bv(dh,di){if(!dh||!dh.length){return[]}var df,dg;for(df=0;df<dh.length;df++){if(aV(dh[df])){dh.splice(df,1);df--}else{b7.push(dh[df])}}if(!dh||!dh.length){return[]}bY(di);var dj=[];for(df=0;df<dh.length;df++){dg=cq(v.buildImpressionRequestParams(dh[df].name,dh[df].piece,dh[df].target),undefined,"contentImpressions");if(dg){dj.push(dg)}}return dj}function cw(dg){var df=v.collectContent(dg);
-return bv(df,dg)}function a8(dg){if(!dg||!dg.length){return[]}var df;for(df=0;df<dg.length;df++){if(!v.isNodeVisible(dg[df])){dg.splice(df,1);df--}}if(!dg||!dg.length){return[]}return cw(dg)}function aF(dh,df,dg){var di=v.buildImpressionRequestParams(dh,df,dg);return cq(di,null,"contentImpression")}function c7(di,dg){if(!di){return}var df=v.findParentContentNode(di);var dh=v.buildContentBlock(df);if(!dh){return}if(!dg){dg="Unknown"}return aO(dg,dh.name,dh.piece,dh.target)}function cK(dg,di,df,dh){return"e_c="+t(dg)+"&e_a="+t(di)+(J(df)?"&e_n="+t(df):"")+(J(dh)?"&e_v="+t(dh):"")}function at(dh,dj,df,di,dl,dk){if(a(String(dh)).length===0||a(String(dj)).length===0){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dg=cq(cK(dh,dj,df,di),dl,"event");bC(dg,bG,dk)}function b5(df,di,dg,dj){var dh=cq("search="+t(df)+(di?"&search_cat="+t(di):"")+(J(dg)?"&search_count="+dg:""),dj,"sitesearch");bC(dh,bG)}function cP(df,dj,di,dh){var dg=cq("idgoal="+df+(dj?"&revenue="+dj:""),di,"goal");
+}}return false}function aW(df){return function(dj){if(!df){return}var dh=v.findParentContentNode(df);var dg;if(dj){dg=dj.target||dj.srcElement}if(!dg){dg=df}if(!ba(dh,dg)){return}if(!dh){return false}var dk=v.findTargetNode(dh);if(!dk||v.shouldIgnoreInteraction(dk)){return false}var di=c8(dk);if(c5&&di&&di.type){return di.type}return bF.trackContentInteractionNode(dg,"click")}}function bY(dh){if(!dh||!dh.length){return}var df,dg;for(df=0;df<dh.length;df++){dg=v.findTargetNode(dh[df]);if(dg&&!dg.contentInteractionTrackingSetupDone){dg.contentInteractionTrackingSetupDone=true;an(dg,"click",aW(dg))}}}function bv(dh,di){if(!dh||!dh.length){return[]}var df,dg;for(df=0;df<dh.length;df++){if(aV(dh[df])){dh.splice(df,1);df--}else{b7.push(dh[df])}}if(!dh||!dh.length){return[]}bY(di);var dj=[];for(df=0;df<dh.length;df++){dg=cq(v.buildImpressionRequestParams(dh[df].name,dh[df].piece,dh[df].target),undefined,"contentImpressions");if(dg){dj.push(dg)}}return dj}function cx(dg){var df=v.collectContent(dg);
+return bv(df,dg)}function a8(dg){if(!dg||!dg.length){return[]}var df;for(df=0;df<dg.length;df++){if(!v.isNodeVisible(dg[df])){dg.splice(df,1);df--}}if(!dg||!dg.length){return[]}return cx(dg)}function aF(dh,df,dg){var di=v.buildImpressionRequestParams(dh,df,dg);return cq(di,null,"contentImpression")}function c7(di,dg){if(!di){return}var df=v.findParentContentNode(di);var dh=v.buildContentBlock(df);if(!dh){return}if(!dg){dg="Unknown"}return aO(dg,dh.name,dh.piece,dh.target)}function cL(dg,di,df,dh){return"e_c="+t(dg)+"&e_a="+t(di)+(J(df)?"&e_n="+t(df):"")+(J(dh)?"&e_v="+t(dh):"")}function at(dh,dj,df,di,dl,dk){if(a(String(dh)).length===0||a(String(dj)).length===0){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dg=cq(cL(dh,dj,df,di),dl,"event");bC(dg,bG,dk)}function b5(df,di,dg,dj){var dh=cq("search="+t(df)+(di?"&search_cat="+t(di):"")+(J(dg)?"&search_count="+dg:""),dj,"sitesearch");bC(dh,bG)}function cP(df,dj,di,dh){var dg=cq("idgoal="+df+(dj?"&revenue="+dj:""),di,"goal");
bC(dg,bG,dh)}function cX(di,df,dm,dl,dh){var dk=df+"="+t(bZ(di));var dg=cr(dh,"click",di);if(dg){dk+="&"+dg}var dj=cq(dk,dm,"link");bC(dj,bG,dl)}function bR(dg,df){if(dg!==""){return dg+df.charAt(0).toUpperCase()+df.slice(1)}return df}function ce(dk){var dj,df,di=["","webkit","ms","moz"],dh;if(!bd){for(df=0;df<di.length;df++){dh=di[df];if(Object.prototype.hasOwnProperty.call(G,bR(dh,"hidden"))){if(G[bR(dh,"visibilityState")]==="prerender"){dj=true}break}}}if(dj){an(G,dh+"visibilitychange",function dg(){G.removeEventListener(dh+"visibilitychange",dg,false);dk()});return}dk()}function bp(){var dg=aX().uuid;var df=aI();return dg+df}function cg(df){if(!df){return}if(!ae.hasNodeAttribute(df,"href")){return}var dg=ae.getAttributeValueFromNode(df,"href");if(!dg||aT(dg)){return}dg=k(dg,av);var dh=bp();dg=F(dg,av,dh);ae.setAnyAttribute(df,"href",dg)}function aA(di){var dj=ae.getAttributeValueFromNode(di,"href");if(!dj){return false}dj=String(dj);var dg=dj.indexOf("//")===0||dj.indexOf("http://")===0||dj.indexOf("https://")===0;
-if(!dg){return false}var df=di.pathname||ci(di.href);var dh=(di.hostname||d(di.href)).toLowerCase();if(ar(dh,df)){if(!cC(cQ,L(dh))){return true}return false}return false}function cB(df){var dg=c8(df);if(dg&&dg.type){dg.href=p(dg.href);cX(dg.href,dg.type,undefined,null,df);return}if(cI){df=au(df);if(aA(df)){cg(df)}}}function ct(){return G.all&&!G.addEventListener}function cR(df){var dh=df.which;var dg=(typeof df.button);if(!dh&&dg!=="undefined"){if(ct()){if(df.button&1){dh=1}else{if(df.button&2){dh=3}else{if(df.button&4){dh=2}}}}else{if(df.button===0||df.button==="0"){dh=1}else{if(df.button&1){dh=2}else{if(df.button&2){dh=3}}}}}return dh}function bQ(df){switch(cR(df)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a0(df){return df.target||df.srcElement}function aB(df){return function(di){di=di||T.event;var dh=bQ(di);var dj=a0(di);if(di.type==="click"){var dg=false;if(df&&dh==="middle"){dg=true}if(dj&&!dg){cB(dj)}}else{if(di.type==="mousedown"){if(dh==="middle"&&dj){aQ=dh;
-by=dj}else{aQ=by=null}}else{if(di.type==="mouseup"){if(dh===aQ&&dj===by){cB(dj)}aQ=by=null}else{if(di.type==="contextmenu"){cB(dj)}}}}}}function aq(dh,dg){var df=typeof dg;if(df==="undefined"){dg=true}an(dh,"click",aB(dg),false);if(dg){an(dh,"mouseup",aB(dg),false);an(dh,"mousedown",aB(dg),false);an(dh,"contextmenu",aB(dg),false)}}function bB(dh,dj){ap=true;var di,dg=aZ(bx,"ignore"),dk=G.links,df=null,dl=null;if(dk){for(di=0;di<dk.length;di++){df=dk[di];if(!dg.test(df.className)){dl=typeof df.piwikTrackers;if("undefined"===dl){df.piwikTrackers=[]}if(-1===M(df.piwikTrackers,dj)){df.piwikTrackers.push(dj);aq(df,dh)}}}}}function aR(dg,dj,dk){if(cc){return true}cc=true;var dl=false;var di,dh;function df(){dl=true}n(function(){function dm(dp){setTimeout(function(){if(!cc){return}dl=false;dk.trackVisibleContentImpressions();dm(dp)},dp)}function dn(dp){setTimeout(function(){if(!cc){return}if(dl){dl=false;dk.trackVisibleContentImpressions()}dn(dp)},dp)}if(dg){di=["scroll","resize"];for(dh=0;dh<di.length;
-dh++){if(G.addEventListener){G.addEventListener(di[dh],df,false)}else{T.attachEvent("on"+di[dh],df)}}dn(100)}if(dj&&dj>0){dj=parseInt(dj,10);dm(dj)}})}var bA={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var df=this.requests;this.requests=[];if(df.length===1){bC(df[0],bG)}else{db(df,bG)}},push:function(df){if(!df){return}if(m||!this.enabled){bC(df,bG);return}bA.requests.push(df);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bA.timeout=null;bA.sendRequests()},bA.interval);var dg="RequestQueue"+aw;if(!Object.prototype.hasOwnProperty.call(b,dg)){b[dg]={unload:function(){if(bA.timeout){clearTimeout(bA.timeout)}bA.sendRequests()}}}}};bg();aL();this.hasConsent=function(){return bz};this.getVisitorId=function(){return aX().uuid};this.getVisitorInfo=function(){return cJ()};this.getAttributionInfo=function(){return bJ()};this.getAttributionCampaignName=function(){return bJ()[0]};this.getAttributionCampaignKeyword=function(){return bJ()[1]
+if(!dg){return false}var df=di.pathname||ci(di.href);var dh=(di.hostname||d(di.href)).toLowerCase();if(ar(dh,df)){if(!cD(cQ,L(dh))){return true}return false}return false}function cC(df){var dg=c8(df);if(dg&&dg.type){dg.href=p(dg.href);cX(dg.href,dg.type,undefined,null,df);return}if(cJ){df=au(df);if(aA(df)){cg(df)}}}function ct(){return G.all&&!G.addEventListener}function cR(df){var dh=df.which;var dg=(typeof df.button);if(!dh&&dg!=="undefined"){if(ct()){if(df.button&1){dh=1}else{if(df.button&2){dh=3}else{if(df.button&4){dh=2}}}}else{if(df.button===0||df.button==="0"){dh=1}else{if(df.button&1){dh=2}else{if(df.button&2){dh=3}}}}}return dh}function bQ(df){switch(cR(df)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a0(df){return df.target||df.srcElement}function aB(df){return function(di){di=di||T.event;var dh=bQ(di);var dj=a0(di);if(di.type==="click"){var dg=false;if(df&&dh==="middle"){dg=true}if(dj&&!dg){cC(dj)}}else{if(di.type==="mousedown"){if(dh==="middle"&&dj){aQ=dh;
+by=dj}else{aQ=by=null}}else{if(di.type==="mouseup"){if(dh===aQ&&dj===by){cC(dj)}aQ=by=null}else{if(di.type==="contextmenu"){cC(dj)}}}}}}function aq(dh,dg){var df=typeof dg;if(df==="undefined"){dg=true}an(dh,"click",aB(dg),false);if(dg){an(dh,"mouseup",aB(dg),false);an(dh,"mousedown",aB(dg),false);an(dh,"contextmenu",aB(dg),false)}}function bB(dh,dj){ap=true;var di,dg=aZ(bx,"ignore"),dk=G.links,df=null,dl=null;if(dk){for(di=0;di<dk.length;di++){df=dk[di];if(!dg.test(df.className)){dl=typeof df.piwikTrackers;if("undefined"===dl){df.piwikTrackers=[]}if(-1===M(df.piwikTrackers,dj)){df.piwikTrackers.push(dj);aq(df,dh)}}}}}function aR(dg,dj,dk){if(cc){return true}cc=true;var dl=false;var di,dh;function df(){dl=true}n(function(){function dm(dp){setTimeout(function(){if(!cc){return}dl=false;dk.trackVisibleContentImpressions();dm(dp)},dp)}function dn(dp){setTimeout(function(){if(!cc){return}if(dl){dl=false;dk.trackVisibleContentImpressions()}dn(dp)},dp)}if(dg){di=["scroll","resize"];for(dh=0;dh<di.length;
+dh++){if(G.addEventListener){G.addEventListener(di[dh],df,false)}else{T.attachEvent("on"+di[dh],df)}}dn(100)}if(dj&&dj>0){dj=parseInt(dj,10);dm(dj)}})}var bA={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var df=this.requests;this.requests=[];if(df.length===1){bC(df[0],bG)}else{db(df,bG)}},push:function(df){if(!df){return}if(m||!this.enabled){bC(df,bG);return}bA.requests.push(df);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bA.timeout=null;bA.sendRequests()},bA.interval);var dg="RequestQueue"+aw;if(!Object.prototype.hasOwnProperty.call(b,dg)){b[dg]={unload:function(){if(bA.timeout){clearTimeout(bA.timeout)}bA.sendRequests()}}}}};bg();aL();this.hasConsent=function(){return bz};this.getVisitorId=function(){return aX().uuid};this.getVisitorInfo=function(){return cK()};this.getAttributionInfo=function(){return bJ()};this.getAttributionCampaignName=function(){return bJ()[0]};this.getAttributionCampaignKeyword=function(){return bJ()[1]
};this.getAttributionReferrerTimestamp=function(){return bJ()[2]};this.getAttributionReferrerUrl=function(){return bJ()[3]};this.setTrackerUrl=function(df){aD=df};this.getTrackerUrl=function(){return aD};this.getPiwikUrl=function(){return O(this.getTrackerUrl(),bE)};this.addTracker=function(df,dh){if(!J(df)||null===df){df=this.getTrackerUrl()}var dg=new Q(df,dh);I.push(dg);e.trigger("TrackerAdded",[this]);return dg};this.getSiteId=function(){return b3};this.setSiteId=function(df){b0(df)};this.resetUserId=function(){bw=""};this.setUserId=function(df){if(Y(df)){bw=df}};this.getUserId=function(){return bw};this.setCustomData=function(df,dg){if(W(df)){ao=df}else{if(!ao){ao={}}ao[df]=dg}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(df){b8=df};this.appendToTrackingUrl=function(df){cV=df};this.getRequest=function(df){return cq(df)};this.addPlugin=function(df,dg){b[df]=dg};this.setCustomDimension=function(df,dg){df=parseInt(df,10);if(df>0){if(!J(dg)){dg=""}if(!w(dg)){dg=String(dg)
-}bk[df]=dg}};this.getCustomDimension=function(df){df=parseInt(df,10);if(df>0&&Object.prototype.hasOwnProperty.call(bk,df)){return bk[df]}};this.deleteCustomDimension=function(df){df=parseInt(df,10);if(df>0){delete bk[df]}};this.setCustomVariable=function(dg,df,dj,dh){var di;if(!J(dh)){dh="visit"}if(!J(df)){return}if(!J(dj)){dj=""}if(dg>0){df=!w(df)?String(df):df;dj=!w(dj)?String(dj):dj;di=[df.slice(0,br),dj.slice(0,br)];if(dh==="visit"||dh===2){cA();aP[dg]=di}else{if(dh==="page"||dh===3){bT[dg]=di}else{if(dh==="event"){cj[dg]=di}}}}};this.getCustomVariable=function(dg,dh){var df;if(!J(dh)){dh="visit"}if(dh==="page"||dh===3){df=bT[dg]}else{if(dh==="event"){df=cj[dg]}else{if(dh==="visit"||dh===2){cA();df=aP[dg]}}}if(!J(df)||(df&&df[0]==="")){return false}return df};this.deleteCustomVariable=function(df,dg){if(this.getCustomVariable(df,dg)){this.setCustomVariable(df,"","",dg)}};this.deleteCustomVariables=function(df){if(df==="page"||df===3){bT={}}else{if(df==="event"){cj={}}else{if(df==="visit"||df===2){aP={}
-}}}};this.storeCustomVariablesInCookie=function(){bN=true};this.setLinkTrackingTimer=function(df){bG=df};this.getLinkTrackingTimer=function(){return bG};this.setDownloadExtensions=function(df){if(w(df)){df=df.split("|")}c2=df};this.addDownloadExtensions=function(dg){var df;if(w(dg)){dg=dg.split("|")}for(df=0;df<dg.length;df++){c2.push(dg[df])}};this.removeDownloadExtensions=function(dh){var dg,df=[];if(w(dh)){dh=dh.split("|")}for(dg=0;dg<c2.length;dg++){if(M(dh,c2[dg])===-1){df.push(c2[dg])}}c2=df};this.setDomains=function(df){ax=w(df)?[df]:df;var dj=false,dh=0,dg;for(dh;dh<ax.length;dh++){dg=String(ax[dh]);if(cC(cQ,L(dg))){dj=true;break}var di=ci(dg);if(di&&di!=="/"&&di!=="/*"){dj=true;break}}if(!dj){ax.push(cQ)}};this.enableCrossDomainLinking=function(){cI=true};this.disableCrossDomainLinking=function(){cI=false};this.isCrossDomainLinkingEnabled=function(){return cI};this.setCrossDomainLinkingTimeout=function(df){aY=df};this.getCrossDomainLinkingUrlParameter=function(){return t(av)+"="+t(bp())
+}bk[df]=dg}};this.getCustomDimension=function(df){df=parseInt(df,10);if(df>0&&Object.prototype.hasOwnProperty.call(bk,df)){return bk[df]}};this.deleteCustomDimension=function(df){df=parseInt(df,10);if(df>0){delete bk[df]}};this.setCustomVariable=function(dg,df,dj,dh){var di;if(!J(dh)){dh="visit"}if(!J(df)){return}if(!J(dj)){dj=""}if(dg>0){df=!w(df)?String(df):df;dj=!w(dj)?String(dj):dj;di=[df.slice(0,br),dj.slice(0,br)];if(dh==="visit"||dh===2){cB();aP[dg]=di}else{if(dh==="page"||dh===3){bT[dg]=di}else{if(dh==="event"){cj[dg]=di}}}}};this.getCustomVariable=function(dg,dh){var df;if(!J(dh)){dh="visit"}if(dh==="page"||dh===3){df=bT[dg]}else{if(dh==="event"){df=cj[dg]}else{if(dh==="visit"||dh===2){cB();df=aP[dg]}}}if(!J(df)||(df&&df[0]==="")){return false}return df};this.deleteCustomVariable=function(df,dg){if(this.getCustomVariable(df,dg)){this.setCustomVariable(df,"","",dg)}};this.deleteCustomVariables=function(df){if(df==="page"||df===3){bT={}}else{if(df==="event"){cj={}}else{if(df==="visit"||df===2){aP={}
+}}}};this.storeCustomVariablesInCookie=function(){bN=true};this.setLinkTrackingTimer=function(df){bG=df};this.getLinkTrackingTimer=function(){return bG};this.setDownloadExtensions=function(df){if(w(df)){df=df.split("|")}c2=df};this.addDownloadExtensions=function(dg){var df;if(w(dg)){dg=dg.split("|")}for(df=0;df<dg.length;df++){c2.push(dg[df])}};this.removeDownloadExtensions=function(dh){var dg,df=[];if(w(dh)){dh=dh.split("|")}for(dg=0;dg<c2.length;dg++){if(M(dh,c2[dg])===-1){df.push(c2[dg])}}c2=df};this.setDomains=function(df){ax=w(df)?[df]:df;var dj=false,dh=0,dg;for(dh;dh<ax.length;dh++){dg=String(ax[dh]);if(cD(cQ,L(dg))){dj=true;break}var di=ci(dg);if(di&&di!=="/"&&di!=="/*"){dj=true;break}}if(!dj){ax.push(cQ)}};this.enableCrossDomainLinking=function(){cJ=true};this.disableCrossDomainLinking=function(){cJ=false};this.isCrossDomainLinkingEnabled=function(){return cJ};this.setCrossDomainLinkingTimeout=function(df){aY=df};this.getCrossDomainLinkingUrlParameter=function(){return t(av)+"="+t(bp())
};this.setIgnoreClasses=function(df){bx=w(df)?[df]:df};this.setRequestMethod=function(df){c6=df||cf};this.setRequestContentType=function(df){cu=df||aH};this.setReferrerUrl=function(df){bl=df};this.setCustomUrl=function(df){a3=bS(bK,df)};this.getCurrentUrl=function(){return a3||bK};this.setDocumentTitle=function(df){bh=df};this.setAPIUrl=function(df){bE=df};this.setDownloadClasses=function(df){bI=w(df)?[df]:df};this.setLinkClasses=function(df){a7=w(df)?[df]:df};this.setCampaignNameKey=function(df){co=w(df)?[df]:df};this.setCampaignKeywordKey=function(df){bD=w(df)?[df]:df};this.discardHashTag=function(df){bM=df};this.setCookieNamePrefix=function(df){bi=df;aP=bU()};this.setCookieDomain=function(df){var dg=L(df);if(bu(dg)){cT=dg;bg()}};this.getCookieDomain=function(){return cT};this.hasCookies=function(){return"1"===b2()};this.setSessionCookie=function(dh,dg,df){if(!dh){throw new Error("Missing cookie name")}if(!J(df)){df=cm}bs.push(dh);da(aS(dh),dg,df,bn,cT)};this.getCookie=function(dg){var df=aC(aS(dg));
-if(df===0){return null}return df};this.setCookiePath=function(df){bn=df;bg()};this.getCookiePath=function(df){return bn};this.setVisitorCookieTimeout=function(df){cF=df*1000};this.setSessionCookieTimeout=function(df){cm=df*1000};this.getSessionCookieTimeout=function(){return cm};this.setReferralCookieTimeout=function(df){c1=df*1000};this.setConversionAttributionFirstReferrer=function(df){bt=df};this.setSecureCookie=function(df){bP=df};this.disableCookies=function(){bj=true;c4.cookie="0";if(b3){aE()}};this.deleteCookies=function(){aE()};this.setDoNotTrack=function(dg){var df=h.doNotTrack||h.msDoNotTrack;cL=dg&&(df==="yes"||df==="1");if(cL){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cS=true};this.disableAlwaysUseSendBeacon=function(){cS=false};this.addListener=function(dg,df){aq(dg,df)};this.enableLinkTracking=function(dg){c5=true;var df=this;ce(function(){q(function(){bB(dg,df)})})};this.enableJSErrorTracking=function(){if(cO){return}cO=true;var df=T.onerror;T.onerror=function(dk,di,dh,dj,dg){ce(function(){var dl="JavaScript Errors";
+if(df===0){return null}return df};this.setCookiePath=function(df){bn=df;bg()};this.getCookiePath=function(df){return bn};this.setVisitorCookieTimeout=function(df){cG=df*1000};this.setSessionCookieTimeout=function(df){cm=df*1000};this.getSessionCookieTimeout=function(){return cm};this.setReferralCookieTimeout=function(df){c1=df*1000};this.setConversionAttributionFirstReferrer=function(df){bt=df};this.setSecureCookie=function(df){bP=df};this.disableCookies=function(){bj=true;c4.cookie="0";if(b3){aE()}};this.deleteCookies=function(){aE()};this.setDoNotTrack=function(dg){var df=h.doNotTrack||h.msDoNotTrack;cM=dg&&(df==="yes"||df==="1");if(cM){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cS=true};this.disableAlwaysUseSendBeacon=function(){cS=false};this.addListener=function(dg,df){aq(dg,df)};this.enableLinkTracking=function(dg){c5=true;var df=this;ce(function(){q(function(){bB(dg,df)})})};this.enableJSErrorTracking=function(){if(cO){return}cO=true;var df=T.onerror;T.onerror=function(dk,di,dh,dj,dg){ce(function(){var dl="JavaScript Errors";
var dm=di+":"+dh;if(dj){dm+=":"+dj}at(dl,dm,dk)});if(df){return df(dk,di,dh,dj,dg)}return false}};this.disablePerformanceTracking=function(){a1=false};this.setGenerationTimeMs=function(df){ck=parseInt(df,10)};this.setVisitStandardLength=function(df){df=Math.max(df,5);c3=df};this.enableHeartBeatTimer=function(df){df=Math.max(df,5);a4=(df||15)*1000;if(cU!==null){dc()}};this.disableHeartBeatTimer=function(){bH();if(a4||aM){if(T.removeEventListener){T.removeEventListener("focus",a9);T.removeEventListener("blur",ay)}else{if(T.detachEvent){T.detachEvent("onfocus",a9);T.detachEvent("onblur",ay)}}}a4=null;aM=false};this.killFrame=function(){if(T.location!==T.top.location){T.top.location=T.location}};this.redirectFile=function(df){if(T.location.protocol==="file:"){T.location=df}};this.setCountPreRendered=function(df){bd=df};this.trackGoal=function(df,di,dh,dg){ce(function(){cP(df,di,dh,dg)})};this.trackLink=function(dg,df,di,dh){ce(function(){cX(dg,df,di,dh)})};this.getNumTrackedPageViews=function(){return cp
-};this.trackPageView=function(df,dh,dg){b7=[];cG=[];if(N(b3)){ce(function(){Z(aD,bE,b3)})}else{ce(function(){cp++;bX(df,dh,dg)})}};this.trackAllContentImpressions=function(){if(N(b3)){return}ce(function(){q(function(){var df=v.findContentNodes();var dg=cw(df);db(dg,bG)})})};this.trackVisibleContentImpressions=function(df,dg){if(N(b3)){return}if(!J(df)){df=true}if(!J(dg)){dg=750}aR(df,dg,this);ce(function(){n(function(){var dh=v.findContentNodes();var di=a8(dh);db(di,bG)})})};this.trackContentImpression=function(dh,df,dg){if(N(b3)){return}dh=a(dh);df=a(df);dg=a(dg);if(!dh){return}df=df||"Unknown";ce(function(){var di=aF(dh,df,dg);bC(di,bG)})};this.trackContentImpressionsWithinNode=function(df){if(N(b3)||!df){return}ce(function(){if(cc){n(function(){var dg=v.findContentNodesWithinNode(df);var dh=a8(dg);db(dh,bG)})}else{q(function(){var dg=v.findContentNodesWithinNode(df);var dh=cw(dg);db(dh,bG)})}})};this.trackContentInteraction=function(dh,di,df,dg){if(N(b3)){return}dh=a(dh);di=a(di);df=a(df);
+};this.trackPageView=function(df,dh,dg){b7=[];cH=[];if(N(b3)){ce(function(){Z(aD,bE,b3)})}else{ce(function(){cp++;bX(df,dh,dg)})}};this.trackAllContentImpressions=function(){if(N(b3)){return}ce(function(){q(function(){var df=v.findContentNodes();var dg=cx(df);db(dg,bG)})})};this.trackVisibleContentImpressions=function(df,dg){if(N(b3)){return}if(!J(df)){df=true}if(!J(dg)){dg=750}aR(df,dg,this);ce(function(){n(function(){var dh=v.findContentNodes();var di=a8(dh);db(di,bG)})})};this.trackContentImpression=function(dh,df,dg){if(N(b3)){return}dh=a(dh);df=a(df);dg=a(dg);if(!dh){return}df=df||"Unknown";ce(function(){var di=aF(dh,df,dg);bC(di,bG)})};this.trackContentImpressionsWithinNode=function(df){if(N(b3)||!df){return}ce(function(){if(cc){n(function(){var dg=v.findContentNodesWithinNode(df);var dh=a8(dg);db(dh,bG)})}else{q(function(){var dg=v.findContentNodesWithinNode(df);var dh=cx(dg);db(dh,bG)})}})};this.trackContentInteraction=function(dh,di,df,dg){if(N(b3)){return}dh=a(dh);di=a(di);df=a(df);
dg=a(dg);if(!dh||!di){return}df=df||"Unknown";ce(function(){var dj=aO(dh,di,df,dg);if(dj){bC(dj,bG)}})};this.trackContentInteractionNode=function(dh,dg){if(N(b3)||!dh){return}var df=null;ce(function(){df=c7(dh,dg);if(df){bC(df,bG)}});return df};this.logAllContentBlocksOnPage=function(){var dh=v.findContentNodes();var df=v.collectContent(dh);var dg=typeof console;if(dg!=="undefined"&&console&&console.log){console.log(df)}};this.trackEvent=function(dg,di,df,dh,dk,dj){ce(function(){at(dg,di,df,dh,dk,dj)})};this.trackSiteSearch=function(df,dh,dg,di){b7=[];ce(function(){b5(df,dh,dg,di)})};this.setEcommerceView=function(di,df,dh,dg){if(Y(dh)){dh=String(dh)}if(!J(dh)||dh===null||dh===false||!dh.length){dh=""}else{if(dh instanceof Array){dh=T.JSON.stringify(dh)}}bT[5]=["_pkc",dh];if(J(dg)&&dg!==null&&dg!==false&&String(dg).length){bT[2]=["_pkp",dg]}if(!Y(di)&&!Y(df)){return}if(Y(di)){bT[3]=["_pks",di]}if(!Y(df)){df=""}bT[4]=["_pkn",df]};this.getEcommerceItems=function(){return JSON.parse(JSON.stringify(cW))
-};this.addEcommerceItem=function(dj,df,dh,dg,di){if(Y(dj)){cW[dj]=[String(dj),df,dh,dg,di]}};this.removeEcommerceItem=function(df){if(Y(df)){df=String(df);delete cW[df]}};this.clearEcommerceCart=function(){cW={}};this.trackEcommerceOrder=function(df,dj,di,dh,dg,dk){bW(df,dj,di,dh,dg,dk)};this.trackEcommerceCartUpdate=function(df){bq(df)};this.trackRequest=function(dg,di,dh,df){ce(function(){var dj=cq(dg,di,df);bC(dj,bG,dh)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bA.enabled=false};this.setRequestQueueInterval=function(df){if(df<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bA.interval=df};this.queueRequest=function(df){ce(function(){var dg=cq(df);bA.push(dg)})};this.isConsentRequired=function(){return cx};this.getRememberedConsent=function(){var df=aC(bc);if(aC(cH)){if(df){bV(bc,bn,cT)}return null}if(!df||df===0){return null}return df};this.hasRememberedConsent=function(){return !!this.getRememberedConsent()
-};this.requireConsent=function(){cx=true;bz=this.hasRememberedConsent();x++;b["CoreConsent"+x]={unload:function(){if(!bz){aE()}}}};this.setConsentGiven=function(){bz=true;bV(cH,bn,cT);var dg,df;for(dg=0;dg<cG.length;dg++){df=typeof cG[dg];if(df==="string"){bC(cG[dg],bG)}else{if(df==="object"){db(cG[dg],bG)}}}cG=[]};this.rememberConsentGiven=function(dg){if(dg){dg=dg*60*60*1000}else{dg=30*365*24*60*60*1000}this.setConsentGiven();var df=new Date().getTime();da(bc,df,dg,bn,cT,bP)};this.forgetConsentGiven=function(){var df=30*365*24*60*60*1000;bV(bc,bn,cT);da(cH,new Date().getTime(),df,bn,cT,bP);this.requireConsent()};this.isUserOptedOut=function(){return !bz};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=this.rememberConsentGiven;e.trigger("TrackerSetup",[this])}function H(){return{push:af}}function c(au,at){var av={};var aq,ar;for(aq=0;aq<at.length;aq++){var ao=at[aq];av[ao]=1;for(ar=0;ar<au.length;ar++){if(au[ar]&&au[ar][0]){var ap=au[ar][0];if(ao===ap){af(au[ar]);delete au[ar];
+};this.addEcommerceItem=function(dj,df,dh,dg,di){if(Y(dj)){cW[dj]=[String(dj),df,dh,dg,di]}};this.removeEcommerceItem=function(df){if(Y(df)){df=String(df);delete cW[df]}};this.clearEcommerceCart=function(){cW={}};this.trackEcommerceOrder=function(df,dj,di,dh,dg,dk){bW(df,dj,di,dh,dg,dk)};this.trackEcommerceCartUpdate=function(df){bq(df)};this.trackRequest=function(dg,di,dh,df){ce(function(){var dj=cq(dg,di,df);bC(dj,bG,dh)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bA.enabled=false};this.setRequestQueueInterval=function(df){if(df<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bA.interval=df};this.queueRequest=function(df){ce(function(){var dg=cq(df);bA.push(dg)})};this.isConsentRequired=function(){return cy};this.getRememberedConsent=function(){var df=aC(bc);if(aC(cI)){if(df){bV(bc,bn,cT)}return null}if(!df||df===0){return null}return df};this.hasRememberedConsent=function(){return !!this.getRememberedConsent()
+};this.requireConsent=function(){cy=true;bz=this.hasRememberedConsent();x++;b["CoreConsent"+x]={unload:function(){if(!bz){aE()}}}};this.setConsentGiven=function(){bz=true;bV(cI,bn,cT);var dg,df;for(dg=0;dg<cH.length;dg++){df=typeof cH[dg];if(df==="string"){bC(cH[dg],bG)}else{if(df==="object"){db(cH[dg],bG)}}}cH=[]};this.rememberConsentGiven=function(dg){if(dg){dg=dg*60*60*1000}else{dg=30*365*24*60*60*1000}this.setConsentGiven();var df=new Date().getTime();da(bc,df,dg,bn,cT,bP)};this.forgetConsentGiven=function(){var df=30*365*24*60*60*1000;bV(bc,bn,cT);da(cI,new Date().getTime(),df,bn,cT,bP);this.requireConsent()};this.isUserOptedOut=function(){return !bz};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=this.rememberConsentGiven;e.trigger("TrackerSetup",[this])}function H(){return{push:af}}function c(au,at){var av={};var aq,ar;for(aq=0;aq<at.length;aq++){var ao=at[aq];av[ao]=1;for(ar=0;ar<au.length;ar++){if(au[ar]&&au[ar][0]){var ap=au[ar][0];if(ao===ap){af(au[ar]);delete au[ar];
if(av[ap]>1&&ap!=="addTracker"){ak("The method "+ap+' is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation: https://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers')}av[ap]++}}}}return au}var C=["addTracker","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCrossDomainLinkingTimeout","setSessionCookieTimeout","setVisitorCookieTimeout","setSecureCookie","setCookiePath","setCookieDomain","setDomains","setUserId","setSiteId","alwaysUseSendBeacon","enableLinkTracking","requireConsent","setConsentGiven"];function ad(ao,aq){var ap=new Q(ao,aq);I.push(ap);_paq=c(_paq,C);for(E=0;E<_paq.length;E++){if(_paq[E]){af(_paq[E])}}_paq=new H();e.trigger("TrackerAdded",[ap]);return ap}an(T,"beforeunload",ai,false);an(T,"message",function(au){if(!au||!au.origin){return}var aw,ar,ap;var ax=d(au.origin);var at=e.getAsyncTrackers();for(ar=0;ar<at.length;ar++){ap=d(at[ar].getPiwikUrl());
if(ap===ax){aw=at[ar];break}}if(!aw){return}var aq=null;try{aq=JSON.parse(au.data)}catch(av){return}if(!aq){return}function ao(aA){var aC=G.getElementsByTagName("iframe");for(ar=0;ar<aC.length;ar++){var aB=aC[ar];var ay=d(aB.src);if(aB.contentWindow&&J(aB.contentWindow.postMessage)&&ay===ax){var az=JSON.stringify(aA);aB.contentWindow.postMessage(az,"*")}}}if(J(aq.maq_initial_value)){ao({maq_opted_in:aq.maq_initial_value&&aw.hasConsent(),maq_url:aw.getPiwikUrl(),maq_optout_by_default:aw.isConsentRequired()})}else{if(J(aq.maq_opted_in)){at=e.getAsyncTrackers();for(ar=0;ar<at.length;ar++){aw=at[ar];if(aq.maq_opted_in){aw.rememberConsentGiven()}else{aw.forgetConsentGiven()}}ao({maq_confirm_opted_in:aw.hasConsent(),maq_url:aw.getPiwikUrl(),maq_optout_by_default:aw.isConsentRequired()})}}},false);Date.prototype.getTimeAlias=Date.prototype.getTime;e={initialized:false,JSON:T.JSON,DOM:{addEventListener:function(ar,aq,ap,ao){var at=typeof ao;if(at==="undefined"){ao=false}an(ar,aq,ap,ao)},onLoad:n,onReady:q,isNodeVisible:j,isOrWasNodeVisible:v.isNodeVisible},on:function(ap,ao){if(!y[ap]){y[ap]=[]
}y[ap].push(ao)},off:function(aq,ap){if(!y[aq]){return}var ao=0;for(ao;ao<y[aq].length;ao++){if(y[aq][ao]===ap){y[aq].splice(ao,1)}}},trigger:function(aq,ar,ap){if(!y[aq]){return}var ao=0;for(ao;ao<y[aq].length;ao++){y[aq][ao].apply(ap||T,ar)}},addPlugin:function(ao,ap){b[ao]=ap},getTracker:function(ao,ap){if(!J(ap)){ap=this.getAsyncTracker().getSiteId()}if(!J(ao)){ao=this.getAsyncTracker().getTrackerUrl()}return new Q(ao,ap)},getAsyncTrackers:function(){return I},addTracker:function(ao,aq){var ap;if(!I.length){ap=ad(ao,aq)}else{ap=I[0].addTracker(ao,aq)}return ap},getAsyncTracker:function(ap,at){var ar;if(I&&I.length&&I[0]){ar=I[0]}else{return ad(ap,at)}if(!at&&!ap){return ar}if((!J(at)||null===at)&&ar){at=ar.getSiteId()}if((!J(ap)||null===ap)&&ar){ap=ar.getTrackerUrl()}var aq,ao=0;for(ao;ao<I.length;ao++){aq=I[ao];if(aq&&String(aq.getSiteId())===String(at)&&aq.getTrackerUrl()===ap){return aq}}},retryMissedPluginCalls:function(){var ap=ah;ah=[];var ao=0;for(ao;ao<ap.length;ao++){af(ap[ao])
diff --git a/plugins/API/API.php b/plugins/API/API.php
index 29eceadaea..dfc484e9a6 100644
--- a/plugins/API/API.php
+++ b/plugins/API/API.php
@@ -329,7 +329,7 @@ class API extends \Piwik\Plugin\API
$idSite = $idSites;
}
} elseif (empty($idSite) && empty($idSites)) {
- throw new \Exception('Calling API.getReportMetadata without any idSite is no longer supported since Matomo 3.0.0. Please specifiy at least one idSite via the "idSite" parameter.');
+ throw new \Exception('Calling API.getReportMetadata without any idSite is no longer supported since Matomo 3.0.0. Please specify at least one idSite via the "idSite" parameter.');
}
Piwik::checkUserHasViewAccess($idSite);
diff --git a/plugins/API/ProcessedReport.php b/plugins/API/ProcessedReport.php
index 6e963ec416..61d1699bc1 100644
--- a/plugins/API/ProcessedReport.php
+++ b/plugins/API/ProcessedReport.php
@@ -134,7 +134,7 @@ class ProcessedReport
}
/**
- * Translates the given metric in case the report exists and in case the metric acutally belongs to the report.
+ * Translates the given metric in case the report exists and in case the metric actually belongs to the report.
*
* @param string $metric For example 'nb_visits'
* @param int $idSite
diff --git a/plugins/API/WidgetMetadata.php b/plugins/API/WidgetMetadata.php
index ef1c6e51d2..bf0962e5f6 100644
--- a/plugins/API/WidgetMetadata.php
+++ b/plugins/API/WidgetMetadata.php
@@ -124,7 +124,7 @@ class WidgetMetadata
$item['layout'] = $widget->getLayout();
$item['isContainer'] = true;
- // we do not want to create categories to the inital categoryList. Otherwise we'd maybe display more pages
+ // we do not want to create categories to the initial categoryList. Otherwise we'd maybe display more pages
// etc.
$subCategoryList = new CategoryList();
$this->createMissingCategoriesAndSubcategories($subCategoryList, $widget->getWidgetConfigs());
@@ -316,4 +316,4 @@ class WidgetMetadata
return $ca;
}
-} \ No newline at end of file
+}
diff --git a/plugins/Actions/Columns/ActionType.php b/plugins/Actions/Columns/ActionType.php
index f862faf80b..00e55e2cad 100644
--- a/plugins/Actions/Columns/ActionType.php
+++ b/plugins/Actions/Columns/ActionType.php
@@ -75,7 +75,7 @@ class ActionType extends ActionDimension
public function configureMetrics(MetricsList $metricsList, DimensionMetricFactory $dimensionMetricFactory)
{
- // do not genereate any metric for this
+ // do not generate any metric for this
}
}
diff --git a/plugins/Annotations/javascripts/annotations.js b/plugins/Annotations/javascripts/annotations.js
index 988690e9ea..901eb64012 100644
--- a/plugins/Annotations/javascripts/annotations.js
+++ b/plugins/Annotations/javascripts/annotations.js
@@ -444,7 +444,7 @@
/**
* Shows an annotation manager under a report for a specific site & date range.
*
- * @param {Element} domElem The element of the report to show the annotation manger
+ * @param {Element} domElem The element of the report to show the annotation manager
* under.
* @param {int} idSite The ID of the site to show the annotations of.
* @param {string} date The start date of the period.
diff --git a/plugins/CoreHome/Controller.php b/plugins/CoreHome/Controller.php
index a6f12a139a..d343a1fadb 100644
--- a/plugins/CoreHome/Controller.php
+++ b/plugins/CoreHome/Controller.php
@@ -201,7 +201,7 @@ class Controller extends \Piwik\Plugin\Controller
// --------------------------------------------------------
// ROW EVOLUTION
// The following methods render the popover that shows the
- // evolution of a singe or multiple rows in a data table
+ // evolution of a single or multiple rows in a data table
// --------------------------------------------------------
/** Render the entire row evolution popover for a single row */
diff --git a/plugins/CoreHome/DataTableRowAction/RowEvolution.php b/plugins/CoreHome/DataTableRowAction/RowEvolution.php
index bb73f9bb87..59d342274e 100644
--- a/plugins/CoreHome/DataTableRowAction/RowEvolution.php
+++ b/plugins/CoreHome/DataTableRowAction/RowEvolution.php
@@ -24,7 +24,7 @@ use Piwik\ViewDataTable\Factory;
/**
* ROW EVOLUTION
- * The class handles the popover that shows the evolution of a singe row in a data table
+ * The class handles the popover that shows the evolution of a single row in a data table
*/
class RowEvolution
{
diff --git a/plugins/CoreHome/angularjs/common/directives/focusif.js b/plugins/CoreHome/angularjs/common/directives/focusif.js
index 56940808b1..669e3e7ff5 100644
--- a/plugins/CoreHome/angularjs/common/directives/focusif.js
+++ b/plugins/CoreHome/angularjs/common/directives/focusif.js
@@ -6,7 +6,7 @@
*/
/**
- * If the given expression evaluates to true the element will be focussed
+ * If the given expression evaluates to true the element will be focused
*
* Example:
* <input type="text" piwik-focus-if="view.editName">
@@ -30,4 +30,4 @@
}
};
}
-})(); \ No newline at end of file
+})();
diff --git a/plugins/CoreHome/angularjs/common/services/piwik-api.spec.js b/plugins/CoreHome/angularjs/common/services/piwik-api.spec.js
index 916c5b73e1..e30ea0746e 100644
--- a/plugins/CoreHome/angularjs/common/services/piwik-api.spec.js
+++ b/plugins/CoreHome/angularjs/common/services/piwik-api.spec.js
@@ -251,7 +251,7 @@
$httpBackend.flush();
});
- it("shuld correctly handle errors in a bulk request response, regardless of error location", function (done) {
+ it("should correctly handle errors in a bulk request response, regardless of error location", function (done) {
piwikApi.bulkFetch([
{
method: "SomeOtherPlugin.whatever"
@@ -270,4 +270,4 @@
$httpBackend.flush();
});
});
-})(); \ No newline at end of file
+})();
diff --git a/plugins/CoreHome/javascripts/dataTable.js b/plugins/CoreHome/javascripts/dataTable.js
index 073781f369..d786f880d4 100644
--- a/plugins/CoreHome/javascripts/dataTable.js
+++ b/plugins/CoreHome/javascripts/dataTable.js
@@ -639,7 +639,7 @@ $.extend(DataTable.prototype, UIControl.prototype, {
var normalOverlapBecauseTableIsFullWidth = showScrollbarIfMoreThanThisPxOverlap || 51;
if (tableWidth > widthToCheckElementIsActuallyThere && dataTableWidth > widthToCheckElementIsActuallyThere
&& (dataTableWidth - tableWidth) > normalOverlapBecauseTableIsFullWidth) {
- // when after adjusting the columns the widget/report is sitll wider than the actual dataTable, we need
+ // when after adjusting the columns the widget/report is still wider than the actual dataTable, we need
// to make it scrollable otherwise reports overlap each other
$domNodeToSetOverflow.css('overflow-y', 'scroll');
@@ -1494,7 +1494,7 @@ $.extend(DataTable.prototype, UIControl.prototype, {
}
});
- // higlight all columns on hover
+ // highlight all columns on hover
$(domElem).on('mouseenter', 'td', function (e) {
e.stopPropagation();
var $this = $(e.target);
diff --git a/plugins/CoreHome/javascripts/donate.js b/plugins/CoreHome/javascripts/donate.js
index e403f18497..f377796d6c 100644
--- a/plugins/CoreHome/javascripts/donate.js
+++ b/plugins/CoreHome/javascripts/donate.js
@@ -133,7 +133,7 @@
}
});
- // event for programatically changing the position
+ // event for programmatically changing the position
$('body').on('piwik:changePosition', '.piwik-donate-slider', function (e, data) {
moveSliderPosition(this, data.position);
});
diff --git a/plugins/CoreVisualizations/javascripts/jqplot.js b/plugins/CoreVisualizations/javascripts/jqplot.js
index c53cdcb493..b6fd479e49 100644
--- a/plugins/CoreVisualizations/javascripts/jqplot.js
+++ b/plugins/CoreVisualizations/javascripts/jqplot.js
@@ -1016,7 +1016,7 @@ RowEvolutionSeriesToggle.prototype.beforeReplot = function () {
ctx.restore();
}
- // tigger the event jqplotPiwikTickOver when the mosue enters
+ // trigger the event jqplotPiwikTickOver when the mosue enters
// and new tick. this is used for tooltips.
function handleMouseMove(ev, gridpos, datapos, neighbor, plot) {
var c = plot.plugins.piwikTicks;
diff --git a/plugins/DBStats/MySQLMetadataProvider.php b/plugins/DBStats/MySQLMetadataProvider.php
index 6d31318866..638ce56d0c 100644
--- a/plugins/DBStats/MySQLMetadataProvider.php
+++ b/plugins/DBStats/MySQLMetadataProvider.php
@@ -142,7 +142,7 @@ class MySQLMetadataProvider
}
/**
- * Retruns table statuses for every admin table.
+ * Returns table statuses for every admin table.
*
* @return array An array of status arrays. See http://dev.mysql.com/doc/refman/5.5/en/show-table-status.html.
*/
@@ -347,4 +347,4 @@ class MySQLMetadataProvider
{
$this->tableStatuses = null;
}
-} \ No newline at end of file
+}
diff --git a/plugins/Dashboard/javascripts/dashboardObject.js b/plugins/Dashboard/javascripts/dashboardObject.js
index 4f0e1a2553..b2d5175a5b 100644
--- a/plugins/Dashboard/javascripts/dashboardObject.js
+++ b/plugins/Dashboard/javascripts/dashboardObject.js
@@ -29,7 +29,7 @@
*/
var dashboardElement = null;
/**
- * Boolean indicating wether the layout config has been changed or not
+ * Boolean indicating weather the layout config has been changed or not
* @type {boolean}
*/
var dashboardChanged = false;
diff --git a/plugins/Dashboard/javascripts/dashboardWidget.js b/plugins/Dashboard/javascripts/dashboardWidget.js
index 9d10183b19..7d920c9053 100644
--- a/plugins/Dashboard/javascripts/dashboardWidget.js
+++ b/plugins/Dashboard/javascripts/dashboardWidget.js
@@ -9,7 +9,7 @@
$.widget('piwik.dashboardWidget', {
/**
- * Boolean indicating wether the widget is currently maximised
+ * Boolean indicating weather the widget is currently maximised
* @type {Boolean}
*/
isMaximised: false,
diff --git a/plugins/DevicesDetection/API.php b/plugins/DevicesDetection/API.php
index a04af1b929..dcaefc7a1c 100644
--- a/plugins/DevicesDetection/API.php
+++ b/plugins/DevicesDetection/API.php
@@ -164,7 +164,7 @@ class API extends \Piwik\Plugin\API
*
* Unlike DevicesDetection plugin now, the UserSettings plugin did not store archives holding the os and browser data without
* their version number. The "version-less" reports were always generated out of the "version-containing" archives .
- * For big archives (month/year) that ment that some of the data was truncated, due to the datatable entry limit.
+ * For big archives (month/year) that meant that some of the data was truncated, due to the datatable entry limit.
* To avoid that data loss / inaccuracy in the future, DevicesDetection plugin will also store archives without the version.
* For data archived before DevicesDetection plugin was enabled, those archives do not exist, so we try to calculate
* them here from the "version-containing" reports if possible.
diff --git a/plugins/DevicesDetection/functions.php b/plugins/DevicesDetection/functions.php
index 5399309477..814b7c1e00 100644
--- a/plugins/DevicesDetection/functions.php
+++ b/plugins/DevicesDetection/functions.php
@@ -323,7 +323,7 @@ function getOsLogo($short)
*/
function getBrowserEngineName($engineName) {
/*
- * Map leagcy types to engines
+ * Map legacy types to engines
*/
$oldTypeMapping = array(
'ie' => 'Trident',
diff --git a/plugins/Ecommerce/Reports/BaseItem.php b/plugins/Ecommerce/Reports/BaseItem.php
index 13190fedc5..b9e5ac6b17 100644
--- a/plugins/Ecommerce/Reports/BaseItem.php
+++ b/plugins/Ecommerce/Reports/BaseItem.php
@@ -49,7 +49,7 @@ abstract class BaseItem extends Base
public function getMetricsDocumentation()
{
- // we do not check whether it is abondon carts if not set re performance improvements
+ // we do not check whether it is abandon carts if not set re performance improvements
if ($this->isAbandonedCart($fetchIfNotSet = false)) {
return array(
'revenue' => Piwik::translate('Goals_ColumnRevenueDocumentation',
diff --git a/plugins/ExampleAPI/API.php b/plugins/ExampleAPI/API.php
index 9a13f3abad..cfaffdcc45 100644
--- a/plugins/ExampleAPI/API.php
+++ b/plugins/ExampleAPI/API.php
@@ -66,7 +66,7 @@ class API extends \Piwik\Plugin\API
/**
* Sums two floats and returns the result.
- * The paramaters are set automatically from the GET request
+ * The parameters are set automatically from the GET request
* when the API function is called. You can also use default values
* as shown in this example.
*
diff --git a/plugins/GeoIp2/Commands/ConvertRegionCodesToIso.php b/plugins/GeoIp2/Commands/ConvertRegionCodesToIso.php
index 49be8fd1f5..2d5af784a6 100644
--- a/plugins/GeoIp2/Commands/ConvertRegionCodesToIso.php
+++ b/plugins/GeoIp2/Commands/ConvertRegionCodesToIso.php
@@ -87,7 +87,7 @@ class ConvertRegionCodesToIso extends ConsoleCommand
$activationTime = Option::get(GeoIp2::SWITCH_TO_ISO_REGIONS_OPTION_NAME);
$activationDateTime = date('Y-m-d H:i:s', $activationTime);
- // fix country and region of tibet so it wil be updated correctly afterwards
+ // fix country and region of tibet so it will be updated correctly afterwards
$tibetFixQuery = 'UPDATE %s SET location_country = "cn", location_region = "14" WHERE location_country = "ti"';
// replace invalid country codes used by GeoIP Legacy
diff --git a/plugins/Goals/Archiver.php b/plugins/Goals/Archiver.php
index c494afd0b8..1cab17715c 100644
--- a/plugins/Goals/Archiver.php
+++ b/plugins/Goals/Archiver.php
@@ -315,7 +315,7 @@ class Archiver extends \Piwik\Plugin\Archiver
}
if ($row['ecommerceType'] == GoalManager::IDGOAL_CART) {
- // abandoned carts are the numner of visits with an abandoned cart
+ // abandoned carts are the number of visits with an abandoned cart
$row[Metrics::INDEX_ECOMMERCE_ORDERS] = $row[Metrics::INDEX_NB_VISITS];
}
diff --git a/plugins/ImageGraph/StaticGraph/GridGraph.php b/plugins/ImageGraph/StaticGraph/GridGraph.php
index 05ced42693..d06ddd07c5 100644
--- a/plugins/ImageGraph/StaticGraph/GridGraph.php
+++ b/plugins/ImageGraph/StaticGraph/GridGraph.php
@@ -196,7 +196,7 @@ abstract class GridGraph extends StaticGraph
// Caution :
// - pChart will silently add some value (see $paddingAddedByPChart) to $legendTopLeftYValue depending on multiple criteria
// - pChart will not take into account the size of the text. Setting $legendTopLeftYValue = 0 will crop the legend's labels
- // The following section of code determines the value of $legendTopLeftYValue while taking into account the following paremeters :
+ // The following section of code determines the value of $legendTopLeftYValue while taking into account the following parameters :
// - whether legend items have icons
// - whether icons are bigger than the legend's labels
// - how much colored shadow padding is required
diff --git a/plugins/LanguagesManager/API.php b/plugins/LanguagesManager/API.php
index d2341f2d09..88c9d44199 100644
--- a/plugins/LanguagesManager/API.php
+++ b/plugins/LanguagesManager/API.php
@@ -185,7 +185,7 @@ class API extends \Piwik\Plugin\API
/**
* Return array of available languages
*
- * @return array Arry of array, each containing its ISO language code and name of the language
+ * @return array Array of array, each containing its ISO language code and name of the language
*/
public function getAvailableLanguageNames()
{
diff --git a/plugins/LanguagesManager/Commands/CreatePull.php b/plugins/LanguagesManager/Commands/CreatePull.php
index 03159542ce..3458016cc4 100644
--- a/plugins/LanguagesManager/Commands/CreatePull.php
+++ b/plugins/LanguagesManager/Commands/CreatePull.php
@@ -37,7 +37,7 @@ class CreatePull extends TranslationBase
if (!empty($changes)) {
- $output->writeln("You have uncommited changes. Creating pull request is only available with a clean working directory");
+ $output->writeln("You have uncommitted changes. Creating pull request is only available with a clean working directory");
return;
}
diff --git a/plugins/LanguagesManager/TranslationWriter/Filter/UnnecassaryWhitespaces.php b/plugins/LanguagesManager/TranslationWriter/Filter/UnnecassaryWhitespaces.php
index 2914beaff9..3c3717607f 100644
--- a/plugins/LanguagesManager/TranslationWriter/Filter/UnnecassaryWhitespaces.php
+++ b/plugins/LanguagesManager/TranslationWriter/Filter/UnnecassaryWhitespaces.php
@@ -42,7 +42,7 @@ class UnnecassaryWhitespaces extends FilterAbstract
// remove excessive line breaks (and leading/trailing whitespace) from translations
$stringNoLineBreak = trim($translation);
- $stringNoLineBreak = str_replace("\r", "", $stringNoLineBreak); # remove useless carrige renturns
+ $stringNoLineBreak = str_replace("\r", "", $stringNoLineBreak); # remove useless carriage returns
$stringNoLineBreak = preg_replace('/(\n[ ]+)/', "\n", $stringNoLineBreak); # remove useless white spaces after line breaks
$stringNoLineBreak = preg_replace('/([\n]{2,})/', "\n\n", $stringNoLineBreak); # remove excessive line breaks
if (empty($baseTranslation) || !substr_count($baseTranslation, "\n")) {
diff --git a/plugins/Login/PasswordResetter.php b/plugins/Login/PasswordResetter.php
index e4800e7a93..0c12a92065 100644
--- a/plugins/Login/PasswordResetter.php
+++ b/plugins/Login/PasswordResetter.php
@@ -98,7 +98,7 @@ class PasswordResetter
/**
* The from email to use in the confirm password reset email.
*
- * Deafults to the `[General] login_password_recovery_email_address` INI config option.
+ * Defaults to the `[General] login_password_recovery_email_address` INI config option.
*
* @var
*/
diff --git a/plugins/Morpheus/fonts/README.md b/plugins/Morpheus/fonts/README.md
index d40014a490..51cc41cd4f 100644
--- a/plugins/Morpheus/fonts/README.md
+++ b/plugins/Morpheus/fonts/README.md
@@ -6,7 +6,7 @@ them in `LEGALNOTICE`.
WOFF2 is a font format that allows higher compression than WOFF and is already supported by [all major browsers](https://caniuse.com/#feat=woff2).
-Unfortunatly icomoon doesn't create WOFF2 files, but as WOFF2 is just a container for ttf fonts, they can be easily converted.
+Unfortunately icomoon doesn't create WOFF2 files, but as WOFF2 is just a container for ttf fonts, they can be easily converted.
### Steps
diff --git a/plugins/MultiSites/API.php b/plugins/MultiSites/API.php
index fc4a5e34ae..4aef392f07 100644
--- a/plugins/MultiSites/API.php
+++ b/plugins/MultiSites/API.php
@@ -66,7 +66,7 @@ class API extends \Piwik\Plugin\API
* well as the evolution of these values, of all existing sites over a
* specified period of time.
*
- * If the specified period is not a 'range', this function will calculcate
+ * If the specified period is not a 'range', this function will calculate
* evolution metrics. Evolution metrics are metrics that display the
* percent increase/decrease of another metric since the last period.
*
@@ -455,7 +455,7 @@ class API extends \Piwik\Plugin\API
}
/**
- * Sets the number of total visits in tha pastTable on the dataTable as metadata.
+ * Sets the number of total visits in the pastTable on the dataTable as metadata.
*
* @param DataTable $dataTable
* @param DataTable $pastTable
diff --git a/plugins/PrivacyManager/Commands/AnonymizeRawData.php b/plugins/PrivacyManager/Commands/AnonymizeRawData.php
index 0a2a0beaab..c59b73307c 100644
--- a/plugins/PrivacyManager/Commands/AnonymizeRawData.php
+++ b/plugins/PrivacyManager/Commands/AnonymizeRawData.php
@@ -26,8 +26,8 @@ class AnonymizeRawData extends ConsoleCommand
$this->setName('privacymanager:anonymize-some-raw-data');
$this->setDescription('Anonymize some of the stored raw data (logs). The reason it only anonymizes "some" data is that personal data can be present in many various data collection points, for example some of your page URLs or page titles may include personal data and these will not be anonymized by this command as it is not possible to detect personal data for example in a URL automatically.');
$this->addOption('date', null, InputOption::VALUE_REQUIRED, 'Date or date range to invalidate raw data for (UTC). Either a date like "2015-01-03" or a range like "2015-01-05,2015-02-12". By default, all data including today will be anonymized.', $defaultDate);
- $this->addOption('unset-visit-columns', null, InputOption::VALUE_REQUIRED, 'Comma seperated list of log_visit columns that you want to unset. Each value for that column will be set to its default value. If the same column exists in "log_conversion" table as well, the column will be unset there as well. This action cannot be undone.', '');
- $this->addOption('unset-link-visit-action-columns', null, InputOption::VALUE_REQUIRED, 'Comma seperated list of log_link_visit_action columns that you want to unset. Each value for that column will be set to its default value. This action cannot be undone.', '');
+ $this->addOption('unset-visit-columns', null, InputOption::VALUE_REQUIRED, 'Comma separated list of log_visit columns that you want to unset. Each value for that column will be set to its default value. If the same column exists in "log_conversion" table as well, the column will be unset there as well. This action cannot be undone.', '');
+ $this->addOption('unset-link-visit-action-columns', null, InputOption::VALUE_REQUIRED, 'Comma separated list of log_link_visit_action columns that you want to unset. Each value for that column will be set to its default value. This action cannot be undone.', '');
$this->addOption('anonymize-ip', null, InputOption::VALUE_NONE, 'If set, the IP will be anonymized with a mask of at least 2. This action cannot be undone.');
$this->addOption('anonymize-location', null, InputOption::VALUE_NONE, 'If set, the location will be re-evaluated based on the anonymized IP. This action cannot be undone.');
$this->addOption('anonymize-userid', null, InputOption::VALUE_NONE, 'If set, any set user-id will be anonymized. This action cannot be undone.');
diff --git a/plugins/PrivacyManager/DoNotTrackHeaderChecker.php b/plugins/PrivacyManager/DoNotTrackHeaderChecker.php
index e5311a5057..36eb75554e 100644
--- a/plugins/PrivacyManager/DoNotTrackHeaderChecker.php
+++ b/plugins/PrivacyManager/DoNotTrackHeaderChecker.php
@@ -49,7 +49,7 @@ class DoNotTrackHeaderChecker
// /.well-known/dnt
// per Tracking Preference Expression
- //Tracking Perference Expression has been updated to require Tk: N rather than Tk: 1
+ //Tracking Preference Expression has been updated to require Tk: N rather than Tk: 1
Common::sendHeader('Tk: N');
}
}
diff --git a/plugins/PrivacyManager/LogDataPurger.php b/plugins/PrivacyManager/LogDataPurger.php
index 5ed877cd2f..c8e7ccd8ab 100644
--- a/plugins/PrivacyManager/LogDataPurger.php
+++ b/plugins/PrivacyManager/LogDataPurger.php
@@ -58,7 +58,7 @@ class LogDataPurger
* - log_conversion_item
* - log_action
*
- * @param int $deleteLogsOlderThan The number of days after which log entires are considered old.
+ * @param int $deleteLogsOlderThan The number of days after which log entries are considered old.
* Visits and related data whose age is greater than this number
* will be purged.
* @param bool $deleteUnusedLogActions Whether to delete unused log actions or not
@@ -91,7 +91,7 @@ class LogDataPurger
* }
*
* @param \Piwik\Date $dateUpperLimit A date where visits that occur before this time should be deleted.
- * @param int $deleteLogsOlderThan The number of days after which log entires are considered old.
+ * @param int $deleteLogsOlderThan The number of days after which log entries are considered old.
* Visits and related data whose age is greater than this number will be purged.
*/
Piwik::postEvent('PrivacyManager.deleteLogsOlderThan', array($dateUpperLimit, $deleteLogsOlderThan));
@@ -106,7 +106,7 @@ class LogDataPurger
* This function returns an array that maps table names with the number of rows
* that will be deleted.
*
- * @param int $deleteLogsOlderThan The number of days after which log entires are considered old.
+ * @param int $deleteLogsOlderThan The number of days after which log entries are considered old.
* Visits and related data whose age is greater than this number
* will be purged.
* @return array
diff --git a/plugins/Referrers/Social.php b/plugins/Referrers/Social.php
index c0c792bc86..52ac670e21 100644
--- a/plugins/Referrers/Social.php
+++ b/plugins/Referrers/Social.php
@@ -119,7 +119,7 @@ class Social extends Singleton
/**
- * Get's social network name from URL.
+ * Gets social network name from URL.
*
* @param string $url
* @return string
diff --git a/plugins/SEO/Metric/Bing.php b/plugins/SEO/Metric/Bing.php
index d570d15ed7..5529a65ddd 100644
--- a/plugins/SEO/Metric/Bing.php
+++ b/plugins/SEO/Metric/Bing.php
@@ -35,7 +35,7 @@ class Bing implements MetricsProvider
try {
$response = str_replace('&nbsp;', ' ', Http::sendHttpRequest($url, $timeout = 10, @$_SERVER['HTTP_USER_AGENT']));
- $response = str_replace('&#160;', '', $response); // number uses nbsp as thousand seperator
+ $response = str_replace('&#160;', '', $response); // number uses nbsp as thousand separator
if (preg_match('#([0-9,\.]+) results#i', $response, $p)) {
$pageCount = NumberFormatter::getInstance()->formatNumber((int)str_replace(array(',', '.'), '', $p[1]));
diff --git a/plugins/ScheduledReports/API.php b/plugins/ScheduledReports/API.php
index 4288a28f49..b4946c15ad 100644
--- a/plugins/ScheduledReports/API.php
+++ b/plugins/ScheduledReports/API.php
@@ -711,7 +711,7 @@ class API extends \Piwik\Plugin\API
* event to list the available report parameters for their transport medium.
*
* @param array $availableParameters The list of available parameters for this report type.
- * This is an array that maps paramater IDs with a boolean
+ * This is an array that maps parameter IDs with a boolean
* that indicates whether the parameter is mandatory or not.
* @param string $reportType A string ID describing how the report is sent, eg,
* `'sms'` or `'email'`.
diff --git a/plugins/ScheduledReports/config/tcpdf_config.php b/plugins/ScheduledReports/config/tcpdf_config.php
index 97f0b9d286..8172076ca9 100644
--- a/plugins/ScheduledReports/config/tcpdf_config.php
+++ b/plugins/ScheduledReports/config/tcpdf_config.php
@@ -211,7 +211,7 @@ if (!defined('K_TCPDF_EXTERNAL_CONFIG')) {
define('HEAD_MAGNIFICATION', 1.1);
/**
- * height of cell repect font height
+ * height of cell respect font height
*/
define('K_CELL_HEIGHT_RATIO', 1.25);
diff --git a/plugins/SegmentEditor/javascripts/Segmentation.js b/plugins/SegmentEditor/javascripts/Segmentation.js
index 8b6efbce62..51d5d6508e 100644
--- a/plugins/SegmentEditor/javascripts/Segmentation.js
+++ b/plugins/SegmentEditor/javascripts/Segmentation.js
@@ -834,7 +834,7 @@ Segmentation = (function($) {
this.content = this.target.find(".segmentationContainer");
}
- // assign content to object attribute to make it easil accesible through all widget methods
+ // assign content to object attribute to make it easily accessible through all widget methods
this.markCurrentSegment();
setTimeout(function () {
self.markComparedSegments();
diff --git a/plugins/SegmentEditor/lang/en.json b/plugins/SegmentEditor/lang/en.json
index 5713dfbd78..7d98806741 100644
--- a/plugins/SegmentEditor/lang/en.json
+++ b/plugins/SegmentEditor/lang/en.json
@@ -47,7 +47,7 @@
"UnprocessedSegmentApiError3": "Then after a few hours your segment data should become available through the API. (If it does not, there may be a problem.)",
"CustomUnprocessedSegmentApiError1": "The Segment you requested has not yet been created in the Segment Editor and so the report data has not been pre-processed.",
"CustomUnprocessedSegmentApiError2": "To see data for this segment, you must go to Matomo and create this segment manually in the Segment Editor.",
- "CustomUnprocessedSegmentApiError3": "(Alternatively, you can create a new segment programatically using the SegmentEditor.add API method).",
+ "CustomUnprocessedSegmentApiError3": "(Alternatively, you can create a new segment programmatically using the SegmentEditor.add API method).",
"CustomUnprocessedSegmentApiError4": "Once created the segment in the editor (or via API), this error message will disappear and within a few hours you will see your segmented report data, after the segment data has been pre-processed. (If it does not, there may be a problem.)",
"CustomUnprocessedSegmentApiError5": "Please note that you can test whether your segment will work without having to wait for it to be processed by using the Live.getLastVisitsDetails API.",
"CustomUnprocessedSegmentApiError6": "When using this API method, you will see which users and actions were matched by your &segment= parameter.",
@@ -58,4 +58,4 @@
"CompareThisSegment": "Compare this segment with the selected segment and period.",
"Test": "Test"
}
-} \ No newline at end of file
+}
diff --git a/plugins/SegmentEditor/tests/System/expected/test___VisitsSummary.get_customSegmentUnprocessed.xml b/plugins/SegmentEditor/tests/System/expected/test___VisitsSummary.get_customSegmentUnprocessed.xml
index ed4fec1ebd..dcffffeaea 100644
--- a/plugins/SegmentEditor/tests/System/expected/test___VisitsSummary.get_customSegmentUnprocessed.xml
+++ b/plugins/SegmentEditor/tests/System/expected/test___VisitsSummary.get_customSegmentUnprocessed.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<result>
- <error message="The Segment you requested has not yet been created in the Segment Editor and so the report data has not been pre-processed. To see data for this segment, you must go to Matomo and create this segment manually in the Segment Editor. (Alternatively, you can create a new segment programatically using the SegmentEditor.add API method). Once created the segment in the editor (or via API), this error message will disappear and within a few hours you will see your segmented report data, after the segment data has been pre-processed. (If it does not, there may be a problem.) Please note that you can test whether your segment will work without having to wait for it to be processed by using the Live.getLastVisitsDetails API. When using this API method, you will see which users and actions were matched by your &amp;segment= parameter. This can help you confirm your Segment matches the users and actions you expect it to." />
+ <error message="The Segment you requested has not yet been created in the Segment Editor and so the report data has not been pre-processed. To see data for this segment, you must go to Matomo and create this segment manually in the Segment Editor. (Alternatively, you can create a new segment programmatically using the SegmentEditor.add API method). Once created the segment in the editor (or via API), this error message will disappear and within a few hours you will see your segmented report data, after the segment data has been pre-processed. (If it does not, there may be a problem.) Please note that you can test whether your segment will work without having to wait for it to be processed by using the Live.getLastVisitsDetails API. When using this API method, you will see which users and actions were matched by your &amp;segment= parameter. This can help you confirm your Segment matches the users and actions you expect it to." />
</result> \ No newline at end of file
diff --git a/plugins/UserCountryMap/javascripts/realtime-map.js b/plugins/UserCountryMap/javascripts/realtime-map.js
index 2f42048818..adf7553a02 100644
--- a/plugins/UserCountryMap/javascripts/realtime-map.js
+++ b/plugins/UserCountryMap/javascripts/realtime-map.js
@@ -408,7 +408,7 @@
$('#realTimeMapNoVisitsInfo').toggle(!report.length);
}
- // check wether we got any geolocated visits left
+ // check whether we got any geolocated visits left
if (!report.length) {
$('.realTimeMap_overlay .showing_visits_of').hide();
$('.realTimeMap_overlay .no_data').show();
diff --git a/plugins/UsersManager/API.php b/plugins/UsersManager/API.php
index d04efc19f7..4b7b584cd8 100644
--- a/plugins/UsersManager/API.php
+++ b/plugins/UsersManager/API.php
@@ -1036,7 +1036,7 @@ class API extends \Piwik\Plugin\API
$capabilities = array();
if (is_array($access)) {
- // we require one role, and optionally multiple capabilties
+ // we require one role, and optionally multiple capabilities
list($roles, $capabilities) = $this->getRoleAndCapabilitiesFromAccess($access);
if (count($roles) < 1) {
diff --git a/plugins/UsersManager/tests/Integration/UserAccessFilterTest.php b/plugins/UsersManager/tests/Integration/UserAccessFilterTest.php
index 06b05a618b..b3dd4159c9 100644
--- a/plugins/UsersManager/tests/Integration/UserAccessFilterTest.php
+++ b/plugins/UsersManager/tests/Integration/UserAccessFilterTest.php
@@ -73,7 +73,7 @@ class UserAccessFilterTest extends IntegrationTestCase
public function test_filterUser_WithSuperUserAccess_ShouldAlwaysReturnTrue()
{
- $this->configureAcccessForLogin('login1');
+ $this->configureAccessForLogin('login1');
foreach ($this->getAllLogins() as $login) {
$this->assertSame(array('login' => $login), $this->filter->filterUser(array('login' => $login)));
}
@@ -82,7 +82,7 @@ class UserAccessFilterTest extends IntegrationTestCase
public function test_filterUser_WithViewUserAccess_ShouldOnlyReturnUserForOwnLogin()
{
$identity = 'login4';
- $this->configureAcccessForLogin($identity);
+ $this->configureAccessForLogin($identity);
$this->assertSame(array('login' => $identity), $this->filter->filterUser(array('login' => $identity)));
foreach ($this->getAllLogins() as $login) {
if ($login !== $identity) {
@@ -96,7 +96,7 @@ class UserAccessFilterTest extends IntegrationTestCase
*/
public function test_filterUser_WithAdminAccess_ShouldOnlyReturnUserForOwnLogin($expectedAllowed, $loginToSee)
{
- $this->configureAcccessForLogin('login2');
+ $this->configureAccessForLogin('login2');
if ($expectedAllowed) {
$this->assertSame(array('login' => $loginToSee), $this->filter->filterUser(array('login' => $loginToSee)));
} else {
@@ -109,7 +109,7 @@ class UserAccessFilterTest extends IntegrationTestCase
*/
public function test_isNonSuperUserAllowedToSeeThisLogin_WithAdminAccess_IsAllowedToSeeAnyUserHavingAccessToSameAdminSites($expectedAllowed, $loginToSee)
{
- $this->configureAcccessForLogin('login2');
+ $this->configureAccessForLogin('login2');
$this->assertSame($expectedAllowed, $this->filter->isNonSuperUserAllowedToSeeThisLogin($loginToSee));
}
@@ -129,7 +129,7 @@ class UserAccessFilterTest extends IntegrationTestCase
public function test_isNonSuperUserAllowedToSeeThisLogin_WithAdminAccess_IsAllowedToSeeAnyUserHavingAccessToSameAdminSites_UserHasAccessToOnlyOneAdminSite()
{
- $this->configureAcccessForLogin('login5');
+ $this->configureAccessForLogin('login5');
$this->assertTrue($this->filter->isNonSuperUserAllowedToSeeThisLogin('login2'));
$this->assertTrue($this->filter->isNonSuperUserAllowedToSeeThisLogin('login5'));
@@ -144,7 +144,7 @@ class UserAccessFilterTest extends IntegrationTestCase
public function test_isNonSuperUserAllowedToSeeThisLogin_WithOnlyViewAccess_IsAllowedToSeeOnlyOwnUser()
{
- $this->configureAcccessForLogin('login7');
+ $this->configureAccessForLogin('login7');
$this->assertTrue($this->filter->isNonSuperUserAllowedToSeeThisLogin('login7')); // a view user is allowed to see itself
$this->assertFalse($this->filter->isNonSuperUserAllowedToSeeThisLogin('login1')); // a user having view access only is not allowed to see any other user
@@ -158,7 +158,7 @@ class UserAccessFilterTest extends IntegrationTestCase
public function test_isNonSuperUserAllowedToSeeThisLogin_WithNoAccess_IsStillAllowedToSeeAnyUser()
{
- $this->configureAcccessForLogin('login3');
+ $this->configureAccessForLogin('login3');
$this->assertTrue($this->filter->isNonSuperUserAllowedToSeeThisLogin('login3')); // a view user is allowed to see itself
$this->assertFalse($this->filter->isNonSuperUserAllowedToSeeThisLogin('login1'));
@@ -175,7 +175,7 @@ class UserAccessFilterTest extends IntegrationTestCase
*/
public function test_filterLogins($expectedLogins, $loginIdentity, $logins)
{
- $this->configureAcccessForLogin($loginIdentity);
+ $this->configureAccessForLogin($loginIdentity);
$this->assertSame($expectedLogins, $this->filter->filterLogins($logins)); // a view user is allowed to see itself
}
@@ -184,7 +184,7 @@ class UserAccessFilterTest extends IntegrationTestCase
*/
public function test_filterUsers($expectedLogins, $loginIdentity, $logins)
{
- $this->configureAcccessForLogin($loginIdentity);
+ $this->configureAccessForLogin($loginIdentity);
$users = array();
$expectedUsers = array();
@@ -206,7 +206,7 @@ class UserAccessFilterTest extends IntegrationTestCase
*/
public function test_filterLoginIndexedArray($expectedLogins, $loginIdentity, $logins)
{
- $this->configureAcccessForLogin($loginIdentity);
+ $this->configureAccessForLogin($loginIdentity);
$testArray = array();
$expectedTestArray = array();
@@ -303,7 +303,7 @@ class UserAccessFilterTest extends IntegrationTestCase
}
}
- private function configureAcccessForLogin($login)
+ private function configureAccessForLogin($login)
{
$hasSuperUser = false;
$idSitesAdmin = array();
diff --git a/plugins/UsersManager/tests/Integration/UsersManagerTest.php b/plugins/UsersManager/tests/Integration/UsersManagerTest.php
index 5aac364007..067ee2214a 100644
--- a/plugins/UsersManager/tests/Integration/UsersManagerTest.php
+++ b/plugins/UsersManager/tests/Integration/UsersManagerTest.php
@@ -663,7 +663,7 @@ class UsersManagerTest extends IntegrationTestCase
}
/**
- * normal case, set different acccess to different websites for one user
+ * normal case, set different access to different websites for one user
*/
public function testSetUserAccessMultipleCallDistinctAccessSameUser()
{
diff --git a/tests/PHPUnit/Integration/AccessTest.php b/tests/PHPUnit/Integration/AccessTest.php
index d1eeec96ea..d679b8e597 100644
--- a/tests/PHPUnit/Integration/AccessTest.php
+++ b/tests/PHPUnit/Integration/AccessTest.php
@@ -497,7 +497,7 @@ class AccessTest extends IntegrationTestCase
try {
// should fail as now only permission to site 1
$mock->checkUserHasAdminAccess('1,3');
- $this->fail('An expected exception has not been triggered. Permissions were not resetted');
+ $this->fail('An expected exception has not been triggered. Permissions were not reset');
} catch (NoAccessException $e) {
}
diff --git a/tests/PHPUnit/Integration/Archive/ChunksTest.php b/tests/PHPUnit/Integration/Archive/ChunksTest.php
index bd8621b8e8..1e5a7a5f8a 100644
--- a/tests/PHPUnit/Integration/Archive/ChunksTest.php
+++ b/tests/PHPUnit/Integration/Archive/ChunksTest.php
@@ -125,7 +125,7 @@ class ChunksTest extends IntegrationTestCase
return $dataTable->getSerialized();
}
- private function createArchiveProcessorParamaters()
+ private function createArchiveProcessorParameters()
{
$oPeriod = PeriodFactory::makePeriodFromQueryParams('UTC', 'day', $this->date);
@@ -137,7 +137,7 @@ class ChunksTest extends IntegrationTestCase
private function createPluginsArchiver()
{
- $params = $this->createArchiveProcessorParamaters();
+ $params = $this->createArchiveProcessorParameters();
return new ArchiveProcessor\PluginsArchiver($params);
}
diff --git a/tests/PHPUnit/Integration/ArchiveProcessor/PluginsArchiverTest.php b/tests/PHPUnit/Integration/ArchiveProcessor/PluginsArchiverTest.php
index 613e88c9cb..633e48f62a 100644
--- a/tests/PHPUnit/Integration/ArchiveProcessor/PluginsArchiverTest.php
+++ b/tests/PHPUnit/Integration/ArchiveProcessor/PluginsArchiverTest.php
@@ -68,10 +68,10 @@ class PluginsArchiverTest extends IntegrationTestCase
Fixture::createWebsite('2015-01-01 00:00:00');
Fixture::createWebsite('2015-01-01 00:00:00');
- $this->pluginsArchiver = new CustomPluginsArchiver($this->createArchiveProcessorParamaters());
+ $this->pluginsArchiver = new CustomPluginsArchiver($this->createArchiveProcessorParameters());
}
- private function createArchiveProcessorParamaters()
+ private function createArchiveProcessorParameters()
{
$oPeriod = PeriodFactory::makePeriodFromQueryParams('UTC', 'day', '2015-01-01');
@@ -105,9 +105,9 @@ class PluginsArchiverTest extends IntegrationTestCase
}
});
- $this->pluginsArchiver = new PluginsArchiver($this->createArchiveProcessorParamaters());
+ $this->pluginsArchiver = new PluginsArchiver($this->createArchiveProcessorParameters());
$this->pluginsArchiver->callAggregateCoreMetrics();
$this->pluginsArchiver->callAggregateAllPlugins(1, 1, $forceArchivingWithoutVisits = true);
}
-} \ No newline at end of file
+}
diff --git a/tests/PHPUnit/Integration/SequenceTest.php b/tests/PHPUnit/Integration/SequenceTest.php
index 75a42f4a6c..1822a3dc65 100644
--- a/tests/PHPUnit/Integration/SequenceTest.php
+++ b/tests/PHPUnit/Integration/SequenceTest.php
@@ -18,7 +18,7 @@ use Piwik\Tests\Framework\TestCase\IntegrationTestCase;
*/
class SequenceTest extends IntegrationTestCase
{
- public function test_create_shouldAddNewSequenceWithInitalId1()
+ public function test_create_shouldAddNewSequenceWithInitialId1()
{
$sequence = $this->getEmptySequence();
diff --git a/tests/README.md b/tests/README.md
index 0adbbac80d..4f86392ff7 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -153,7 +153,7 @@ You can retrieve the files generated during the build (the build artifacts) at [
By default tests running on Travis CI will log all messages of at least `INFO` level in `$PIWIK_ROOT_DIR/tmp/logs/piwik.log`. In a given travis build output, you can view the logs by clicking on the line `$ cat $PIWIK_ROOT_DIR/tmp/logs/matomo.log` at the end of the build output text.
-Note: `DEBUG` and `VERBOSE` messages are not logged by default (to keep Travis page loading fast). At any time you can temporarirly enable logging by [modifying this file](https://github.com/matomo-org/matomo/blob/master/tests/PHPUnit/config.ini.travis.php#L23-27) and changing `log_level = info` to `log_level = debug` or `log_level = verbose`.
+Note: `DEBUG` and `VERBOSE` messages are not logged by default (to keep Travis page loading fast). At any time you can temporarily enable logging by [modifying this file](https://github.com/matomo-org/matomo/blob/master/tests/PHPUnit/config.ini.travis.php#L23-27) and changing `log_level = info` to `log_level = debug` or `log_level = verbose`.
### Screenshot tests build artifacts
diff --git a/tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png b/tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png
index 0720a07a75..607b5f0a79 100644
--- a/tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png
+++ b/tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:f8a3da31d0858d28ee2cbdfd13e70c71f24242997fa1b2765f2294349be71c98
-size 4227165
+oid sha256:8132ed243cf6dbcba28385bd8a8d6dcea67c384cdffc09804768b7a4d382ddad
+size 4233016