!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("tslib"),require("@angular/core"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define(["tslib","@angular/core","rxjs","rxjs/operators"],t):"object"==typeof exports?exports.KendoAngularL10N=t(require("tslib"),require("@angular/core"),require("rxjs"),require("rxjs/operators")):e.KendoAngularL10N=t(e.tslib,e["@angular/core"],e.rxjs,e["rxjs/operators"])}(window,function(e,t,r,n){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=6)}([function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=r(1),i=r(3),s=function(){function e(){this.changes=new i.Subject}return e.prototype.notify=function(e){this.changes.next({rtl:e})},e.prototype.get=function(e){},e=n.__decorate([o.Injectable()],e)}();t.MessageService=s},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1);t.RTL=new n.InjectionToken("Kendo UI Right-to-Left token")},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0);n.__exportStar(r(2),t),n.__exportStar(r(7),t),n.__exportStar(r(8),t),n.__exportStar(r(5),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4),o=function(){function e(){}return Object.defineProperty(e.prototype,"override",{get:function(){return!1},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){this.register(e),Object.keys(e).some(function(t){return!e[t].isFirstChange()})&&this.service.notifyChanges()},e.prototype.ngOnInit=function(){var e=this;this.subscription=this.service.changes.pipe(n.skip(1)).subscribe(function(){return e.register(e)})},e.prototype.register=function(e){var t=this;Object.keys(e).forEach(function(e){return t.service.register(e,t[e],t.override)})},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e}();t.ComponentMessages=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=r(1),i=r(2),s=r(5),u=r(3),c=r(4);t.L10N_PREFIX=new o.InjectionToken("Localization key prefix");var a=function(){function e(e,t,r){var n=this;this.prefix=e,this.messageService=t,this._rtl=r,this.changes=new u.BehaviorSubject({rtl:this._rtl}),this.dictionary={},t&&(this.subscription=t.changes.pipe(c.map(function(e){var t=e.rtl;return void 0!==t?t:n._rtl}),c.tap(function(e){return n._rtl=e})).subscribe(function(e){n.dictionary={},n.changes.next({rtl:e})}))}return Object.defineProperty(e.prototype,"rtl",{get:function(){return this._rtl},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.get=function(e){var t=this.key(e);return this.dictionary[t]},e.prototype.register=function(e,t,r){void 0===r&&(r=!1);var n=this.key(e),o=t;if(!r){if(this.dictionary.hasOwnProperty(n))return;o=this.defaultValue(n,t)}this.dictionary[n]=o},e.prototype.notifyChanges=function(){this.changes.next({rtl:this.rtl})},e.prototype.key=function(e){return this.prefix+"."+e},e.prototype.defaultValue=function(e,t){if(!this.messageService)return t;var r=this.messageService.get(e);return void 0===r?t:r},e=n.__decorate([o.Injectable(),n.__param(0,o.Inject(t.L10N_PREFIX)),n.__param(1,o.Optional()),n.__param(2,o.Optional()),n.__param(2,o.Inject(s.RTL)),n.__metadata("design:paramtypes",[String,i.MessageService,Boolean])],e)}();t.LocalizationService=a}])});