module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ 		}
/******/ 	};
/******/
/******/ 	// define __esModule on exports
/******/ 	__webpack_require__.r = function(exports) {
/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 		}
/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
/******/ 	};
/******/
/******/ 	// create a fake namespace object
/******/ 	// mode & 1: value is a module id, require it
/******/ 	// mode & 2: merge all properties of value into the ns
/******/ 	// mode & 4: return value when already ns object
/******/ 	// mode & 8|1: behave like require
/******/ 	__webpack_require__.t = function(value, mode) {
/******/ 		if(mode & 1) value = __webpack_require__(value);
/******/ 		if(mode & 8) return value;
/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ 		var ns = Object.create(null);
/******/ 		__webpack_require__.r(ns);
/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ 		return ns;
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "/dist/";
/******/
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = "./src/lang/en.ts");
/******/ })
/************************************************************************/
/******/ ({

/***/ "./src/components/accordion-group/accordion-group.lang.en.json":
/*!*********************************************************************!*\
  !*** ./src/components/accordion-group/accordion-group.lang.en.json ***!
  \*********************************************************************/
/*! exports provided: m-accordion-group, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-accordion-group\":{\"open-all\":\"Open all\",\"close-all\":\"Close all\"}}");

/***/ }),

/***/ "./src/components/accordion/accordion.lang.en.json":
/*!*********************************************************!*\
  !*** ./src/components/accordion/accordion.lang.en.json ***!
  \*********************************************************/
/*! exports provided: m-accordion, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-accordion\":{\"open\":\"Display content\",\"close\":\"Hide content\"}}");

/***/ }),

/***/ "./src/components/address/address-editor/address-editor.lang.en.json":
/*!***************************************************************************!*\
  !*** ./src/components/address/address-editor/address-editor.lang.en.json ***!
  \***************************************************************************/
/*! exports provided: m-address-editor, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-address-editor\":{\"building-number\":\"Building number\",\"sub-building\":\"Unit\",\"street\":\"Street\",\"city\":\"City\",\"country\":\"Country\",\"province\":\"Province / state\",\"postal-code\":\"Postal Code\"}}");

/***/ }),

/***/ "./src/components/address/address-lookup-field/address-lookup-field.lang.en.json":
/*!***************************************************************************************!*\
  !*** ./src/components/address/address-lookup-field/address-lookup-field.lang.en.json ***!
  \***************************************************************************************/
/*! exports provided: m-address-lookup-field, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-address-lookup-field\":{\"search-field\":\"Search address\",\"placeholder\":\"Enter an address to lookup\"}}");

/***/ }),

/***/ "./src/components/calendar/calendar.lang.en.json":
/*!*******************************************************!*\
  !*** ./src/components/calendar/calendar.lang.en.json ***!
  \*******************************************************/
/*! exports provided: m-calendar, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-calendar\":{\"previous.month\":\"Previous month\",\"previous.year\":\"Previous year\",\"next.month\":\"Next month\",\"next.year\":\"Next year\",\"month.january\":\"January\",\"month.february\":\"February\",\"month.march\":\"March\",\"month.april\":\"April\",\"month.may\":\"May\",\"month.june\":\"June\",\"month.july\":\"July\",\"month.august\":\"August\",\"month.september\":\"September\",\"month.october\":\"October\",\"month.november\":\"November\",\"month.december\":\"Décember\",\"month.january.short\":\"Jan.\",\"month.february.short\":\"Feb.\",\"month.march.short\":\"Mar.\",\"month.april.short\":\"Apr.\",\"month.may.short\":\"May\",\"month.june.short\":\"June\",\"month.july.short\":\"July\",\"month.august.short\":\"Aug.\",\"month.september.short\":\"Sept.\",\"month.october.short\":\"Oct.\",\"month.november.short\":\"Nov.\",\"month.december.short\":\"Dec.\",\"weekday.sunday\":\"Sunday\",\"weekday.monday\":\"Monday\",\"weekday.tuesday\":\"Tuesday\",\"weekday.wednesday\":\"Wednesday\",\"weekday.thursday\":\"Thursday\",\"weekday.friday\":\"Friday\",\"weekday.saturday\":\"Saturday\",\"weekday.sunday.short\":\"Sun.\",\"weekday.monday.short\":\"Mon.\",\"weekday.tuesday.short\":\"Tue.\",\"weekday.wednesday.short\":\"Wed.\",\"weekday.thursday.short\":\"Thu.\",\"weekday.friday.short\":\"Fri.\",\"weekday.saturday.short\":\"Sat.\"}}");

/***/ }),

/***/ "./src/components/chip/chip.lang.en.json":
/*!***********************************************!*\
  !*** ./src/components/chip/chip.lang.en.json ***!
  \***********************************************/
/*! exports provided: chip, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"chip\":{\"add\":\"Add\",\"delete\":\"Delete\"}}");

/***/ }),

/***/ "./src/components/copy-to-clipboard/copy-to-clipboard.lang.en.json":
/*!*************************************************************************!*\
  !*** ./src/components/copy-to-clipboard/copy-to-clipboard.lang.en.json ***!
  \*************************************************************************/
/*! exports provided: m-copy-to-clipboard, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-copy-to-clipboard\":{\"copy\":\"Copy\",\"copied\":\"Copied\"}}");

/***/ }),

/***/ "./src/components/datepicker/datepicker.lang.en.json":
/*!***********************************************************!*\
  !*** ./src/components/datepicker/datepicker.lang.en.json ***!
  \***********************************************************/
/*! exports provided: m-datepicker, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-datepicker\":{\"placeholder-aaaa-mm-jj\":\"YYYY-MM-DD\",\"placeholder-aaaa-mm\":\"YYYY-MM\",\"open\":\"Open calendar\",\"close\":\"Close calendar\",\"out-of-range-error\":\"Date is out of range\",\"format-error\":\"Enter a date in the format YYYY-MM-DD\"}}");

/***/ }),

/***/ "./src/components/daterangepicker/daterangepicker.lang.en.json":
/*!*********************************************************************!*\
  !*** ./src/components/daterangepicker/daterangepicker.lang.en.json ***!
  \*********************************************************************/
/*! exports provided: m-daterangepicker, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-daterangepicker\":{\"label.from\":\"From\",\"label.to\":\"To\"}}");

/***/ }),

/***/ "./src/components/dialog/dialog.lang.en.json":
/*!***************************************************!*\
  !*** ./src/components/dialog/dialog.lang.en.json ***!
  \***************************************************/
/*! exports provided: m-dialog, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-dialog\":{\"cancel\":\"Cancel\",\"ok\":\"Ok\"}}");

/***/ }),

/***/ "./src/components/dropdown/dropdown.lang.en.json":
/*!*******************************************************!*\
  !*** ./src/components/dropdown/dropdown.lang.en.json ***!
  \*******************************************************/
/*! exports provided: m-dropdown, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-dropdown\":{\"no-data\":\"No data\",\"no-result\":\"No result\",\"none\":\"(none)\",\"research\":\"Research\",\"search\":\"Search\",\"open\":\"Open drop-down\",\"close\":\"Close drop-down\"}}");

/***/ }),

/***/ "./src/components/file-select/file-select.lang.en.json":
/*!*************************************************************!*\
  !*** ./src/components/file-select/file-select.lang.en.json ***!
  \*************************************************************/
/*! exports provided: m-select-file, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-select-file\":{\"label\":\"Browse\"}}");

/***/ }),

/***/ "./src/components/file-upload/file-upload.lang.en.json":
/*!*************************************************************!*\
  !*** ./src/components/file-upload/file-upload.lang.en.json ***!
  \*************************************************************/
/*! exports provided: m-file-upload, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-file-upload\":{\"header-title\":\"Upload file\",\"header-title.p\":\"Upload files\",\"header-title-file-replacement\":\"Replace file\",\"dropFile\":\"Drop your file here or\",\"dropFile.p\":\"Drop your files here or\",\"selectFile\":\"Select file\",\"selectFile.p\":\"Select files\",\"format\":\"Accepted format\",\"format.p\":\"Accepted formats\",\"import\":\"Uploading\",\"file\":\"file\",\"file.p\":\"files\",\"add\":\"Add\",\"replace\":\"Replace\",\"cancel\":\"Cancel\",\"rejectFileMsg\":\"The following file can not be added.\",\"rejectFileMsg.p\":\"The following files can not be added.\",\"extensionFileMsg\":\"The file extension is not accepted.\",\"maxSizeMsg\":\"File is denied because its size exceeds the allowable limit\",\"maxNumberMsg\":\"The maximum number of files that can be added simultaneously is reached\",\"errorMsg\":\"An error occurred during the upload.\",\"cancelFileUpload\":\"Cancel upload\",\"deleteUploadedFile\":\"Delete uploaded file\"}}");

/***/ }),

/***/ "./src/components/form/form.lang.en.json":
/*!***********************************************!*\
  !*** ./src/components/form/form.lang.en.json ***!
  \***********************************************/
/*! exports provided: m-form, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-form\":{\"multipleErrorsToCorrect\":\"<strong>1 error</strong> to correct to continue.\",\"multipleErrorsToCorrect.p\":\"<strong>%(totalNbOfErrors)s errors</strong> to correct to continue.\",\"requiredValidatorErrorMessage\":\"This field is required.\",\"requiredValidatorErrorSummaryMessage\":\"The field %(controlLabel)s is required.\",\"minLengthValidatorErrorMessage\":\"The min length for this field is %(minLength)s.\",\"minLengthValidatorErrorSummaryMessage\":\"The min length for %(controlLabel)s is %(minLength)s.\",\"maxLengthValidatorErrorMessage\":\"The max length for this field is %(maxLength)s.\",\"maxLengthValidatorErrorSummaryMessage\":\"The max length for %(controlLabel)s is %(maxLength)s.\",\"minValidatorErrorMessage\":\"The min for this field is %(min)s.\",\"minValidatorErrorSummaryMessage\":\"The min for %(controlLabel)s is %(min)s.\",\"maxValidatorErrorMessage\":\"The max for this field is %(max)s.\",\"maxValidatorErrorSummaryMessage\":\"The max for %(controlLabel)s is %(max)s.\",\"betweenValidatorErrorMessage\":\"The value have to be between %(lowerBound)s and %(upperBound)s.\",\"betweenValidatorErrorSummaryMessage\":\"The value for %(controlLabel)s have to be between %(lowerBound)s and %(upperBound)s.\",\"emailValidatorErrorMessage\":\"The email format is not valid.\",\"emailValidatorErrorSummaryMessage\":\"The email format for %(controlLabel)s is not valid.\",\"compareValidatorErrorMessage\":\"The values of %(controlLabels)s must be the same.\",\"compareValidatorErrorSummaryMessage\":\"The values of %(controlLabels)s must be the same.\",\"compareValidatorErrorMessageNoName\":\"The values in this group must be the same.\",\"dateFormValidatorErrorSummaryMessage\":\"The date format is YYYY-MM-DD for %(controlLabel)s \",\"dateBetweenValidatorErrorMessage\":\"Enter a date between %(start)s and %(end)s\",\"dateBetweenValidatorErrorSummaryMessage\":\"The date must be between %(start)s and %(end)s for %(controlLabel)s\",\"phoneValidatorErrorMessage\":\"The phone number is not valid.\",\"phoneValidatorErrorSummaryMessage\":\"The phone number for %(controlLabel)s is not valid.\"}}");

/***/ }),

/***/ "./src/components/icon-file/icon-file.lang.en.json":
/*!*********************************************************!*\
  !*** ./src/components/icon-file/icon-file.lang.en.json ***!
  \*********************************************************/
/*! exports provided: m-icon-file, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-icon-file\":{\"prefix\":\"File Type: \",\"image\":\"Image\",\"txt\":\"Text\",\"doc\":\"Word Document\",\"vsd\":\"Visio Diagram\",\"ppt\":\"Powerpoint Presentation\",\"xls\":\"Excel Spreadsheet\",\"accdb\":\"Access Database\",\"pdf\":\"PDF Document\",\"rm\":\"RealMedia Audio\",\"mov\":\"Quicktime Video\",\"wma\":\"Windows Media Video\",\"swf\":\"Flash\",\"video\":\"Mpeg Video\",\"music\":\"Audio\",\"zip\":\"Archive\",\"openoffice1\":\"Open Office Document\",\"odt\":\"Open Document Doc\",\"odp\":\"Open Document Presentation\",\"odg\":\"Open Document Drawing\",\"ods\":\"Open Document Spreadsheet\",\"odf\":\"Mathematical Formula Open Document\",\"odb\":\"Open Document Database\",\"spss\":\"SPSS Statistics\",\"dwg\":\"AutoCAD Drawing\",\"enl\":\"EndNote Bibliography\",\"sas\":\"SAS Dtatistics\",\"xml\":\"XML Data Format\",\"html\":\"HTML\",\"css\":\"Cascading Style Sheet\",\"json\":\"JSON Data Format\",\"js\":\"Code\",\"default\":\"Unrecognized File\"}}");

/***/ }),

/***/ "./src/components/inplace-edit/inplace-edit.lang.en.json":
/*!***************************************************************!*\
  !*** ./src/components/inplace-edit/inplace-edit.lang.en.json ***!
  \***************************************************************/
/*! exports provided: m-inplace-edit, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-inplace-edit\":{\"save\":\"Save\",\"cancel\":\"Cancel\",\"modify\":\"Modify\"}}");

/***/ }),

/***/ "./src/components/limit-elements/limit-elements.lang.en.json":
/*!*******************************************************************!*\
  !*** ./src/components/limit-elements/limit-elements.lang.en.json ***!
  \*******************************************************************/
/*! exports provided: m-limit-elements, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-limit-elements\":{\"show-more-label\":\"Show %(nbElements)s more\",\"show-less-label\":\"Show less\"}}");

/***/ }),

/***/ "./src/components/limit-text/limit-text.lang.en.json":
/*!***********************************************************!*\
  !*** ./src/components/limit-text/limit-text.lang.en.json ***!
  \***********************************************************/
/*! exports provided: m-limit-text, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-limit-text\":{\"open\":\"Show more\",\"close\":\"Show less\"}}");

/***/ }),

/***/ "./src/components/link/link.lang.en.json":
/*!***********************************************!*\
  !*** ./src/components/link/link.lang.en.json ***!
  \***********************************************/
/*! exports provided: m-link, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-link\":{\"open-new-tab\":\"This hyperlink will open in a new tab.\"}}");

/***/ }),

/***/ "./src/components/list-item/list-item.lang.en.json":
/*!*********************************************************!*\
  !*** ./src/components/list-item/list-item.lang.en.json ***!
  \*********************************************************/
/*! exports provided: m-list-item, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-list-item\":{\"delete\":\"Delete\"}}");

/***/ }),

/***/ "./src/components/menu/menu.lang.en.json":
/*!***********************************************!*\
  !*** ./src/components/menu/menu.lang.en.json ***!
  \***********************************************/
/*! exports provided: m-menu, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-menu\":{\"open\":\"Open menu\",\"close\":\"Close menu\"}}");

/***/ }),

/***/ "./src/components/message/message.lang.en.json":
/*!*****************************************************!*\
  !*** ./src/components/message/message.lang.en.json ***!
  \*****************************************************/
/*! exports provided: m-message, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-message\":{\"close\":\"Close\"}}");

/***/ }),

/***/ "./src/components/modal/modal.lang.en.json":
/*!*************************************************!*\
  !*** ./src/components/modal/modal.lang.en.json ***!
  \*************************************************/
/*! exports provided: m-modal, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-modal\":{\"close\":\"Close\"}}");

/***/ }),

/***/ "./src/components/multi-select/multi-select.lang.en.json":
/*!***************************************************************!*\
  !*** ./src/components/multi-select/multi-select.lang.en.json ***!
  \***************************************************************/
/*! exports provided: m-multi-select, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-multi-select\":{\"open\":\"Open drop-down\",\"close\":\"Close drop-down\",\"link-select-all\":\"Select All\",\"link-deselect-all\":\"Deselect All\",\"all-selected\":\"All items selected ({0})\",\"more\":\"{0} more...\",\"selected-items.0\":\"No item selected\",\"selected-items.1\":\"Selected item\",\"selected-items.p\":\"{0} selected items\"}}");

/***/ }),

/***/ "./src/components/option/option.lang.en.json":
/*!***************************************************!*\
  !*** ./src/components/option/option.lang.en.json ***!
  \***************************************************/
/*! exports provided: m-option, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-option\":{\"show-more\":\"Show more options\",\"close\":\"Close menu\",\"add\":\"Add\",\"edit\":\"Edit\",\"delete\":\"Delete\",\"archive\":\"Archive\"}}");

/***/ }),

/***/ "./src/components/organize-table-columns-modal/organize-table-columns-modal.lang.en.json":
/*!***********************************************************************************************!*\
  !*** ./src/components/organize-table-columns-modal/organize-table-columns-modal.lang.en.json ***!
  \***********************************************************************************************/
/*! exports provided: m-organize-table-columns-modal, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-organize-table-columns-modal\":{\"title\":\"Reorganize columns\",\"action.reorganize\":\"Reorganize\",\"action.reset\":\"Reset\"}}");

/***/ }),

/***/ "./src/components/organize-table-columns-modal/organize-table-columns/organize-table-columns.lang.en.json":
/*!****************************************************************************************************************!*\
  !*** ./src/components/organize-table-columns-modal/organize-table-columns/organize-table-columns.lang.en.json ***!
  \****************************************************************************************************************/
/*! exports provided: m-organize-table-columns, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-organize-table-columns\":{\"title\":\"Reorganize columns\",\"helper-1\":\"Columns Selected\",\"helper-2\":\"Columns Available\",\"add-column\":\"Add column\",\"error.fixed1\":\"Fixed column can't%(_NBSP_)sbe%(_NBSP_)sinvisible.\",\"error.fixed2\":\"Fixed column can't%(_NBSP_)sbe after a%(_NBSP_)snon%(_NBSP_)sfixed%(_NBSP_)sone.\"}}");

/***/ }),

/***/ "./src/components/overlay/overlay.lang.en.json":
/*!*****************************************************!*\
  !*** ./src/components/overlay/overlay.lang.en.json ***!
  \*****************************************************/
/*! exports provided: m-overlay, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-overlay\":{\"save\":\"Save\",\"cancel\":\"Cancel\"}}");

/***/ }),

/***/ "./src/components/pagination/pagination.lang.en.json":
/*!***********************************************************!*\
  !*** ./src/components/pagination/pagination.lang.en.json ***!
  \***********************************************************/
/*! exports provided: m-pagination, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-pagination\":{\"previous\":\"Previous Page\",\"next\":\"Next Page\",\"ellipsis\":\"...\",\"status-single\":\"%(nbResults)s result\",\"status-single.p\":\"%(nbResults)s results\",\"status.p\":\"%(idxFirst)s to %(idxLast)s of %(nbResults)s results\"}}");

/***/ }),

/***/ "./src/components/photo-editor/photo-editor.lang.en.json":
/*!***************************************************************!*\
  !*** ./src/components/photo-editor/photo-editor.lang.en.json ***!
  \***************************************************************/
/*! exports provided: m-photo-editor, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-photo-editor\":{\"title\":\"Profile picture\",\"choose-photo\":\"Choose a photo\",\"cancel\":\"Cancel\",\"save\":\"Save\",\"delete\":\"Supprimer\",\"file-error\":\"Please choose a format image %(extensions)s\"}}");

/***/ }),

/***/ "./src/components/repeater/repeater.lang.en.json":
/*!*******************************************************!*\
  !*** ./src/components/repeater/repeater.lang.en.json ***!
  \*******************************************************/
/*! exports provided: m-repeater, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-repeater\":{\"add\":\"Add\",\"delete\":\"Delete\"}}");

/***/ }),

/***/ "./src/components/rich-text-editor/rich-text-editor.lang.en.json":
/*!***********************************************************************!*\
  !*** ./src/components/rich-text-editor/rich-text-editor.lang.en.json ***!
  \***********************************************************************/
/*! exports provided: m-rich-text-editor, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-rich-text-editor\":{\"hide-submenu\":\"hide submenu\",\"image-block-center\":\"Center\",\"image-block-left\":\"Align left\",\"image-float-left\":\"Left thumbnail\",\"image-float-right\":\"Right thumbnail\",\"image-layout\":\"Image layout\",\"insert\":\"insertions\",\"insert-image\":\"Insert image\",\"lists\":\"listes\",\"normal-level\":\"Normal\",\"replace-image\":\"Replace image\",\"styles\":\"styles\",\"subtitle\":\"Subtitle\",\"title\":\"Title\",\"title-level\":\"Title %(headerLevel)s\",\"URL\":\"URL or email\"}}");

/***/ }),

/***/ "./src/components/scroll-top/scroll-top.lang.en.json":
/*!***********************************************************!*\
  !*** ./src/components/scroll-top/scroll-top.lang.en.json ***!
  \***********************************************************/
/*! exports provided: m-scroll-top, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-scroll-top\":{\"top\":\"Scroll to the top of the page\"}}");

/***/ }),

/***/ "./src/components/select/select.lang.en.json":
/*!***************************************************!*\
  !*** ./src/components/select/select.lang.en.json ***!
  \***************************************************/
/*! exports provided: m-select, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-select\":{\"open\":\"Open drop-down\",\"close\":\"Close drop-down\",\"delete\":\"Delete selection\"}}");

/***/ }),

/***/ "./src/components/show-more/show-more.lang.en.json":
/*!*********************************************************!*\
  !*** ./src/components/show-more/show-more.lang.en.json ***!
  \*********************************************************/
/*! exports provided: m-show-more, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-show-more\":{\"status\":\"%(nbVisible)s of %(nbTotal)s\",\"button-label\":\"Show more results\"}}");

/***/ }),

/***/ "./src/components/sidebar/sidebar.lang.en.json":
/*!*****************************************************!*\
  !*** ./src/components/sidebar/sidebar.lang.en.json ***!
  \*****************************************************/
/*! exports provided: m-sidebar, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-sidebar\":{\"close\":\"Close\"}}");

/***/ }),

/***/ "./src/components/spinner/spinner.lang.en.json":
/*!*****************************************************!*\
  !*** ./src/components/spinner/spinner.lang.en.json ***!
  \*****************************************************/
/*! exports provided: m-spinner, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-spinner\":{\"loading\":\"Loading\",\"processing\":\"Processing\",\"description\":\"Please wait.\"}}");

/***/ }),

/***/ "./src/components/switch/switch.lang.en.json":
/*!***************************************************!*\
  !*** ./src/components/switch/switch.lang.en.json ***!
  \***************************************************/
/*! exports provided: m-switch, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-switch\":{\"yes\":\"Yes\",\"no\":\"No\"}}");

/***/ }),

/***/ "./src/components/table/table.lang.en.json":
/*!*************************************************!*\
  !*** ./src/components/table/table.lang.en.json ***!
  \*************************************************/
/*! exports provided: m-table, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-table\":{\"no-data\":\"No data to display\",\"loading\":\"Loading\",\"please-wait\":\"Please wait.\",\"sort\":\"Sort column\"}}");

/***/ }),

/***/ "./src/components/textfield/textfield.lang.en.json":
/*!*********************************************************!*\
  !*** ./src/components/textfield/textfield.lang.en.json ***!
  \*********************************************************/
/*! exports provided: m-textfield, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-textfield\":{\"show-password\":\"Display password\",\"hide-password\":\"Hide password\",\"search\":\"Search\"}}");

/***/ }),

/***/ "./src/components/timepicker/timepicker.lang.en.json":
/*!***********************************************************!*\
  !*** ./src/components/timepicker/timepicker.lang.en.json ***!
  \***********************************************************/
/*! exports provided: m-timepicker, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-timepicker\":{\"button-ok\":\"OK\",\"placeholder\":\"HH:MM\",\"hours\":\"Hours\",\"minutes\":\"Minutes\",\"open\":\"Open time selector\",\"close\":\"Close time selector\",\"out-of-bounds-error\":\"Time out of bounds\",\"error-format\":\"Enter a time in the format HH:MM\"}}");

/***/ }),

/***/ "./src/components/toast/toast.lang.en.json":
/*!*************************************************!*\
  !*** ./src/components/toast/toast.lang.en.json ***!
  \*************************************************/
/*! exports provided: m-toast, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-toast\":{\"close\":\"Close\",\"error\":\"Error: \",\"warning\":\"Warning: \"}}");

/***/ }),

/***/ "./src/components/tooltip/tooltip.lang.en.json":
/*!*****************************************************!*\
  !*** ./src/components/tooltip/tooltip.lang.en.json ***!
  \*****************************************************/
/*! exports provided: m-tooltip, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-tooltip\":{\"open\":\"Open tooltip\",\"close\":\"Close tooltip\"}}");

/***/ }),

/***/ "./src/components/tree/tree.lang.en.json":
/*!***********************************************!*\
  !*** ./src/components/tree/tree.lang.en.json ***!
  \***********************************************/
/*! exports provided: m-tree, m-tree-node, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-tree\":{\"empty\":\"No content\",\"error\":\"Some items could not be displayed because of a technical problem.\"},\"m-tree-node\":{\"empty\":\"No content\"}}");

/***/ }),

/***/ "./src/components/typeahead/typeahead.lang.en.json":
/*!*********************************************************!*\
  !*** ./src/components/typeahead/typeahead.lang.en.json ***!
  \*********************************************************/
/*! exports provided: m-tyepahead, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-tyepahead\":{\"research\":\"Research\",\"search\":\"Search\"}}");

/***/ }),

/***/ "./src/components/validation-message/validation-message.lang.en.json":
/*!***************************************************************************!*\
  !*** ./src/components/validation-message/validation-message.lang.en.json ***!
  \***************************************************************************/
/*! exports provided: m-validation-message, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"m-validation-message\":{\"title-error-icon\":\"Error\",\"title-valid-icon\":\"Valid\"}}");

/***/ }),

/***/ "./src/filters/date/date-time/date-time.lang.en.json":
/*!***********************************************************!*\
  !*** ./src/filters/date/date-time/date-time.lang.en.json ***!
  \***********************************************************/
/*! exports provided: f-m-date-time, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"f-m-date-time\":{\"long\":\"%(date)s à %(time)s\",\"short\":\"%(date)s %(time)s\"}}");

/***/ }),

/***/ "./src/filters/date/date/date.lang.en.json":
/*!*************************************************!*\
  !*** ./src/filters/date/date/date.lang.en.json ***!
  \*************************************************/
/*! exports provided: f-m-date, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"f-m-date\":{\"long\":\"[$]Do[$] MMMM YYYY\",\"short\":\"[$]Do[$] MMM YYYY\"}}");

/***/ }),

/***/ "./src/filters/date/period/period.lang.en.json":
/*!*****************************************************!*\
  !*** ./src/filters/date/period/period.lang.en.json ***!
  \*****************************************************/
/*! exports provided: f-m-period, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"f-m-period\":{\"dates\":\"Du %(start)s au %(end)s\",\"start\":\"Débute le %(start)s\",\"end\":\"Se termine le %(end)s\",\"sameDay\":\"Le %(date)s\",\"sameDayShowTime\":\"Le %(date)s %(time)s\"}}");

/***/ }),

/***/ "./src/filters/date/time-elapsed/time-elapsed.lang.en.json":
/*!*****************************************************************!*\
  !*** ./src/filters/date/time-elapsed/time-elapsed.lang.en.json ***!
  \*****************************************************************/
/*! exports provided: f-m-time-elapsed, f-m-time-elapsed-start-sentence, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"f-m-time-elapsed\":{\"now\":\"just now\",\"minute\":\"%(minute)s minute ago\",\"minute.p\":\"%(minute)s minutes ago\",\"hour\":\"%(hour)s hour ago\",\"hour.p\":\"%(hour)s hours ago\",\"day\":\" %(day)s day ago\",\"day.p\":\"%(day)s days ago\"},\"f-m-time-elapsed-start-sentence\":{\"now\":\"Just now\",\"minute\":\"%(minute)s minute ago\",\"minute.p\":\"%(minute)s minutes ago\",\"hour\":\"%(hour)s hour ago\",\"hour.p\":\"%(hour)s hours ago\",\"day\":\" %(day)s day ago\",\"day.p\":\"%(day)s days ago\"}}");

/***/ }),

/***/ "./src/filters/date/time/time.lang.en.json":
/*!*************************************************!*\
  !*** ./src/filters/date/time/time.lang.en.json ***!
  \*************************************************/
/*! exports provided: f-m-time, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"f-m-time\":{\"timeOnly\":\"%(time)s\",\"atTime\":\"At %(time)s\",\"fromTime\":\"From %(time)s\",\"untilTime\":\"Until %(time)s\",\"timePeriod\":\"%(from)s - %(to)s\",\"timePeriodWithPreposition\":\"From %(from)s to %(to)s\"}}");

/***/ }),

/***/ "./src/filters/filesize/filesize.lang.en.json":
/*!****************************************************!*\
  !*** ./src/filters/filesize/filesize.lang.en.json ***!
  \****************************************************/
/*! exports provided: f-m-filesize, default */
/***/ (function(module) {

module.exports = JSON.parse("{\"f-m-filesize\":{\"size-b\":\"b\",\"size-kb\":\"Kb\",\"size-mb\":\"Mb\",\"size-gb\":\"Gb\"}}");

/***/ }),

/***/ "./src/lang/en.ts":
/*!************************!*\
  !*** ./src/lang/en.ts ***!
  \************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _utils_i18n_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/i18n/i18n */ "./src/utils/i18n/i18n.ts");

var EnglishPlugin = {
    install: function (v, options) {
        v.prototype.$log.debug('EnglishPlugin', 'plugin.install');
        var i18n = (v.prototype).$i18n;
        if (i18n) {
            var msgs = [
                __webpack_require__(/*! ../components/accordion/accordion.lang.en.json */ "./src/components/accordion/accordion.lang.en.json"),
                __webpack_require__(/*! ../components/accordion-group/accordion-group.lang.en.json */ "./src/components/accordion-group/accordion-group.lang.en.json"),
                __webpack_require__(/*! ../components/address/address-editor/address-editor.lang.en.json */ "./src/components/address/address-editor/address-editor.lang.en.json"),
                __webpack_require__(/*! ../components/address/address-lookup-field/address-lookup-field.lang.en.json */ "./src/components/address/address-lookup-field/address-lookup-field.lang.en.json"),
                __webpack_require__(/*! ../components/list-item/list-item.lang.en.json */ "./src/components/list-item/list-item.lang.en.json"),
                __webpack_require__(/*! ../components/modal/modal.lang.en.json */ "./src/components/modal/modal.lang.en.json"),
                __webpack_require__(/*! ../components/calendar/calendar.lang.en.json */ "./src/components/calendar/calendar.lang.en.json"),
                __webpack_require__(/*! ../components/chip/chip.lang.en.json */ "./src/components/chip/chip.lang.en.json"),
                __webpack_require__(/*! ../components/copy-to-clipboard/copy-to-clipboard.lang.en.json */ "./src/components/copy-to-clipboard/copy-to-clipboard.lang.en.json"),
                __webpack_require__(/*! ../components/datepicker/datepicker.lang.en.json */ "./src/components/datepicker/datepicker.lang.en.json"),
                __webpack_require__(/*! ../components/daterangepicker/daterangepicker.lang.en.json */ "./src/components/daterangepicker/daterangepicker.lang.en.json"),
                __webpack_require__(/*! ../components/dropdown/dropdown.lang.en.json */ "./src/components/dropdown/dropdown.lang.en.json"),
                __webpack_require__(/*! ../components/overlay/overlay.lang.en.json */ "./src/components/overlay/overlay.lang.en.json"),
                __webpack_require__(/*! ../components/file-select/file-select.lang.en.json */ "./src/components/file-select/file-select.lang.en.json"),
                __webpack_require__(/*! ../components/file-upload/file-upload.lang.en.json */ "./src/components/file-upload/file-upload.lang.en.json"),
                __webpack_require__(/*! ../components/form/form.lang.en.json */ "./src/components/form/form.lang.en.json"),
                __webpack_require__(/*! ../components/icon-file/icon-file.lang.en.json */ "./src/components/icon-file/icon-file.lang.en.json"),
                __webpack_require__(/*! ../components/inplace-edit/inplace-edit.lang.en.json */ "./src/components/inplace-edit/inplace-edit.lang.en.json"),
                __webpack_require__(/*! ../components/link/link.lang.en.json */ "./src/components/link/link.lang.en.json"),
                __webpack_require__(/*! ../components/limit-elements/limit-elements.lang.en.json */ "./src/components/limit-elements/limit-elements.lang.en.json"),
                __webpack_require__(/*! ../components/limit-text/limit-text.lang.en.json */ "./src/components/limit-text/limit-text.lang.en.json"),
                __webpack_require__(/*! ../components/message/message.lang.en.json */ "./src/components/message/message.lang.en.json"),
                __webpack_require__(/*! ../components/menu/menu.lang.en.json */ "./src/components/menu/menu.lang.en.json"),
                __webpack_require__(/*! ../components/multi-select/multi-select.lang.en.json */ "./src/components/multi-select/multi-select.lang.en.json"),
                __webpack_require__(/*! ../components/option/option.lang.en.json */ "./src/components/option/option.lang.en.json"),
                __webpack_require__(/*! ../components/dialog/dialog.lang.en.json */ "./src/components/dialog/dialog.lang.en.json"),
                __webpack_require__(/*! ../components/organize-table-columns-modal/organize-table-columns-modal.lang.en.json */ "./src/components/organize-table-columns-modal/organize-table-columns-modal.lang.en.json"),
                __webpack_require__(/*! ../components/organize-table-columns-modal/organize-table-columns/organize-table-columns.lang.en.json */ "./src/components/organize-table-columns-modal/organize-table-columns/organize-table-columns.lang.en.json"),
                __webpack_require__(/*! ../components/pagination/pagination.lang.en.json */ "./src/components/pagination/pagination.lang.en.json"),
                __webpack_require__(/*! ../components/photo-editor/photo-editor.lang.en.json */ "./src/components/photo-editor/photo-editor.lang.en.json"),
                __webpack_require__(/*! ../components/repeater/repeater.lang.en.json */ "./src/components/repeater/repeater.lang.en.json"),
                __webpack_require__(/*! ../components/rich-text-editor/rich-text-editor.lang.en.json */ "./src/components/rich-text-editor/rich-text-editor.lang.en.json"),
                __webpack_require__(/*! ../components/table/table.lang.en.json */ "./src/components/table/table.lang.en.json"),
                __webpack_require__(/*! ../components/toast/toast.lang.en.json */ "./src/components/toast/toast.lang.en.json"),
                __webpack_require__(/*! ../components/tree/tree.lang.en.json */ "./src/components/tree/tree.lang.en.json"),
                __webpack_require__(/*! ../components/select/select.lang.en.json */ "./src/components/select/select.lang.en.json"),
                __webpack_require__(/*! ../components/scroll-top/scroll-top.lang.en.json */ "./src/components/scroll-top/scroll-top.lang.en.json"),
                __webpack_require__(/*! ../components/show-more/show-more.lang.en.json */ "./src/components/show-more/show-more.lang.en.json"),
                __webpack_require__(/*! ../components/sidebar/sidebar.lang.en.json */ "./src/components/sidebar/sidebar.lang.en.json"),
                __webpack_require__(/*! ../components/spinner/spinner.lang.en.json */ "./src/components/spinner/spinner.lang.en.json"),
                __webpack_require__(/*! ../components/switch/switch.lang.en.json */ "./src/components/switch/switch.lang.en.json"),
                __webpack_require__(/*! ../components/textfield/textfield.lang.en.json */ "./src/components/textfield/textfield.lang.en.json"),
                __webpack_require__(/*! ../components/timepicker/timepicker.lang.en.json */ "./src/components/timepicker/timepicker.lang.en.json"),
                __webpack_require__(/*! ../components/tooltip/tooltip.lang.en.json */ "./src/components/tooltip/tooltip.lang.en.json"),
                __webpack_require__(/*! ../components/typeahead/typeahead.lang.en.json */ "./src/components/typeahead/typeahead.lang.en.json"),
                __webpack_require__(/*! ../components/validation-message/validation-message.lang.en.json */ "./src/components/validation-message/validation-message.lang.en.json"),
                __webpack_require__(/*! ../filters/filesize/filesize.lang.en.json */ "./src/filters/filesize/filesize.lang.en.json"),
                __webpack_require__(/*! ../filters/date/date/date.lang.en.json */ "./src/filters/date/date/date.lang.en.json"),
                __webpack_require__(/*! ../filters/date/period/period.lang.en.json */ "./src/filters/date/period/period.lang.en.json"),
                __webpack_require__(/*! ../filters/date/time/time.lang.en.json */ "./src/filters/date/time/time.lang.en.json"),
                __webpack_require__(/*! ../filters/date/date-time/date-time.lang.en.json */ "./src/filters/date/date-time/date-time.lang.en.json"),
                __webpack_require__(/*! ../filters/date/time-elapsed/time-elapsed.lang.en.json */ "./src/filters/date/time-elapsed/time-elapsed.lang.en.json")
            ];
            msgs.forEach(function (msgs) { return i18n.addMessages(_utils_i18n_i18n__WEBPACK_IMPORTED_MODULE_0__["ENGLISH"], msgs); });
        }
        else {
            throw new Error('EnglishPlugin.install -> You must use the i18n plugin.');
        }
    }
};
/* harmony default export */ __webpack_exports__["default"] = (EnglishPlugin);


/***/ }),

/***/ "./src/utils/i18n/i18n.ts":
/*!********************************!*\
  !*** ./src/utils/i18n/i18n.ts ***!
  \********************************/
/*! exports provided: FRENCH, ENGLISH, SpecialCharacter, DebugMode, FormatMode, Messages, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FRENCH", function() { return FRENCH; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ENGLISH", function() { return ENGLISH; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpecialCharacter", function() { return SpecialCharacter; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DebugMode", function() { return DebugMode; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FormatMode", function() { return FormatMode; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Messages", function() { return Messages; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "tslib");
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var sprintf_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! sprintf-js */ "sprintf-js");
/* harmony import */ var sprintf_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(sprintf_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ "vue");
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_2__);



/**
 * This package provides language and locales utilities.
 */
/**
 * French language code.
 */
var FRENCH = 'fr';
/**
 * English language code.
 */
var ENGLISH = 'en';
/**
 * Regex to parse and format messages.
 */
var FORMAT_REGEX = /{\d+}/g;
/**
 * String used as a special characters wrapper
 */
var SPECIAL_CHARACTER_PREFIXE = '_';
var SPECIAL_CHARACTER_SUFIXE = '_';
/**
 * Special characters must be represented as their unicode equivalent \u00xxxx
 */
var SpecialCharacter;
(function (SpecialCharacter) {
    SpecialCharacter["NBSP"] = "160";
    SpecialCharacter["NBHYPHEN"] = "8209";
    SpecialCharacter["EMDASH"] = "8212";
    SpecialCharacter["ENDASH"] = "8211"; // en dash equivalent to unicode :\u002013, HTML entity : &#ndash; => (–)
})(SpecialCharacter || (SpecialCharacter = {}));
var DebugMode;
(function (DebugMode) {
    DebugMode[DebugMode["Throw"] = 0] = "Throw";
    DebugMode[DebugMode["Warn"] = 1] = "Warn";
    DebugMode[DebugMode["Prod"] = 2] = "Prod";
})(DebugMode || (DebugMode = {}));
var FormatMode;
(function (FormatMode) {
    FormatMode["Default"] = "";
    FormatMode["Vsprintf"] = "vsprintf";
    FormatMode["Sprintf"] = "sprintf";
})(FormatMode || (FormatMode = {}));
var Messages = /** @class */ (function () {
    function Messages(options) {
        this.options = options;
        this.curLang = ENGLISH;
        this.messages = {};
        this.specialCharacterDict = {};
        if (options) {
            if (options.curLang) {
                this.currentLang(options.curLang);
            }
            if (options.formatMode) {
                this.formatMode = options.formatMode;
            }
        }
        this.initSpecialCharactersDict();
    }
    /**
     * Set the application language globally
     *
     * @param lang The language, for example: 'en'
     */
    Messages.prototype.currentLang = function (lang) {
        if (lang) {
            this.curLang = lang;
            this.curLocale = this.getCurrentLocale();
        }
        return this.curLang;
    };
    /**
     * Get current locale
     */
    Messages.prototype.getCurrentLocale = function () {
        var locale;
        switch (this.curLang) {
            case FRENCH:
                locale = 'fr-CA';
                break;
            case ENGLISH:
            default:
                locale = 'en-CA';
                break;
        }
        return locale;
    };
    Object.defineProperty(Messages.prototype, "currentLocale", {
        get: function () {
            return this.curLocale;
        },
        enumerable: false,
        configurable: true
    });
    /**
     * Adds the messages so that they can be resolved.
     *
     * @param lang The language, for example: 'en'
     * @param messages The messages
     */
    Messages.prototype.addMessages = function (lang, bundle) {
        var languageBundles = this.messages[lang];
        this.messages[lang] = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])(Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({}, languageBundles), bundle);
    };
    /**
     * Allows to translate a key into the specified language.
     *
     * The resolution is made in this order:
     *
     * key.nb.modifier
     * key.p.modifier
     * key.nb
     * key.p
     * key.modifier
     * key
     */
    Messages.prototype.translate = function (key, params, nb, modifier, htmlEncodeParams, formatMode) {
        if (params === void 0) { params = []; }
        if (htmlEncodeParams === void 0) { htmlEncodeParams = true; }
        if (formatMode === void 0) { formatMode = this.formatMode; }
        if (!key) {
            throw new Error('The key is empty.');
        }
        var val = this.resolveKey(this.curLang, key, nb, modifier);
        if (htmlEncodeParams && params.length) {
            Object.keys(params).forEach(function (key) { params[key] = htmlEncode(params[key].toString()); });
        }
        if (formatMode === FormatMode.Sprintf || formatMode === FormatMode.Vsprintf) {
            params = Object.assign(this.specialCharacterDict, params);
        }
        val = this.format(val, params, formatMode);
        return val;
    };
    /**
     * format a string with depending on the option formatMode
     * @param {string} val the string to format
     * @param {any[]} params the values to insert in string
     */
    Messages.prototype.format = function (val, params, formatMode) {
        switch (formatMode) {
            case FormatMode.Vsprintf:
                return Object(sprintf_js__WEBPACK_IMPORTED_MODULE_1__["vsprintf"])(val, params);
            case FormatMode.Sprintf:
                return Object(sprintf_js__WEBPACK_IMPORTED_MODULE_1__["sprintf"])(val, params);
            default:
                return formatRegexp(val, params);
        }
    };
    Messages.prototype.resolveKey = function (lang, key, nb, modifier, encodeParams) {
        var val = undefined;
        if (nb !== undefined && modifier) {
            // key.nb.modifier
            val = this.findKey(lang, key + "." + nb + "." + modifier);
            if (val) {
                return val;
            }
            // key.p.modifier
            if (nb < -1 || nb > 1) {
                val = this.findKey(lang, key + ".p." + modifier);
                if (val) {
                    return val;
                }
            }
        }
        if (nb !== undefined) {
            // key.nb
            val = this.findKey(lang, key + "." + nb);
            if (val) {
                return val;
            }
            // key.p
            if (nb < -1 || nb > 1) {
                val = this.findKey(lang, key + ".p");
                if (val) {
                    return val;
                }
            }
        }
        if (modifier) {
            // key.modifier
            val = this.findKey(lang, key + "." + modifier);
            if (val) {
                return val;
            }
        }
        // key
        val = this.findKey(lang, key);
        if (val) {
            return val;
        }
        var error = "The key " + key + " does not exist. Current lang: " + this.curLang;
        if (this.options && this.options.debug === DebugMode.Throw) {
            throw new Error(error);
        }
        else {
            if (!this.options || this.options.debug === DebugMode.Warn) {
                vue__WEBPACK_IMPORTED_MODULE_2___default.a.prototype.$log.warn(error);
            }
            else {
                vue__WEBPACK_IMPORTED_MODULE_2___default.a.prototype.$log.debug(error);
            }
            return key;
        }
    };
    /**
     * Build the list of special characters that are automatically replaced to the desired pattern
     *
     * Example with '_' as PREFIXE and SUFIXE
     * NBSP => _NBSP_ : '\xOA'
     */
    Messages.prototype.initSpecialCharactersDict = function () {
        var _this = this;
        Object.keys(SpecialCharacter).forEach(function (key) {
            _this.specialCharacterDict["" + SPECIAL_CHARACTER_PREFIXE + key + SPECIAL_CHARACTER_SUFIXE] = String.fromCharCode(SpecialCharacter[key]);
        });
    };
    /**
     * Finds a key in the available messages or returns null.
     *
     * @param lang The language to use
     * @param key The key to find
     */
    Messages.prototype.findKey = function (lang, key) {
        var parts = key.split(':');
        if (parts.length !== 2) {
            var error = "The key " + key + " is invalid. The key needs to be in the format <bundle>:<id>";
            if (this.options && this.options.debug === DebugMode.Throw) {
                throw new Error(error);
            }
            else {
                if (!this.options || this.options.debug === DebugMode.Warn) {
                    vue__WEBPACK_IMPORTED_MODULE_2___default.a.prototype.$log.warn(error);
                }
                else {
                    vue__WEBPACK_IMPORTED_MODULE_2___default.a.prototype.$log.debug(error);
                }
                return undefined;
            }
        }
        var bundleName = parts[0];
        var id = parts[1];
        var langMsgs = this.messages[lang];
        var bundleMsgs = langMsgs && langMsgs[bundleName];
        return bundleMsgs && bundleMsgs[id];
    };
    return Messages;
}());

/**
 * Formats a value containing parameters.
 *
 * The format is 'This is a {0} containing {1}...'
 */
function formatRegexp(val, params) {
    return val.replace(FORMAT_REGEX, function (match) {
        // TODO: should use the regex variable notation instead of parsing the regex match
        var index = parseInt(match.substring(1, match.length - 1), 10);
        if (index >= params.length) {
            vue__WEBPACK_IMPORTED_MODULE_2___default.a.prototype.$log.warn("The parameter " + index + " doesn't exist while translating: '" + val + "'");
        }
        return params[index];
    });
}
/**
 * Encodes a value so that it can be inserted in an html string.
 * @param val The value to encode
 */
function htmlEncode(val) {
    return val
        .replace(/&/g, '&amp;')
        .replace(/"/g, '&quot;')
        .replace(/'/g, '&#39;')
        .replace(/</g, '&lt;')
        .replace(/>/g, '&gt;');
}
var MessagePlugin = {
    install: function (v, options) {
        v.prototype.$log.debug('$i18n', 'plugin.install');
        var msg = new Messages(options);
        (v.prototype).$i18n = msg;
    }
};
/* harmony default export */ __webpack_exports__["default"] = (MessagePlugin);


/***/ }),

/***/ "sprintf-js":
/*!*****************************!*\
  !*** external "sprintf-js" ***!
  \*****************************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports = require("sprintf-js");

/***/ }),

/***/ "tslib":
/*!************************!*\
  !*** external "tslib" ***!
  \************************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports = require("tslib");

/***/ }),

/***/ "vue":
/*!**********************!*\
  !*** external "vue" ***!
  \**********************/
/*! no static exports found */
/***/ (function(module, exports) {

module.exports = require("vue");

/***/ })

/******/ });
//# sourceMappingURL=en.js.map