@progress/kendo-angular-navigation 1.1.4 → 1.1.5-dev.202202251415

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("rxjs"),require("@angular/common"),require("@progress/kendo-angular-l10n"),require("rxjs/operators")):"function"==typeof define&&define.amd?define(["@angular/core","rxjs","@angular/common","@progress/kendo-angular-l10n","rxjs/operators"],t):"object"==typeof exports?exports.KendoAngularNavigation=t(require("@angular/core"),require("rxjs"),require("@angular/common"),require("@progress/kendo-angular-l10n"),require("rxjs/operators")):e.KendoAngularNavigation=t(e["@angular/core"],e.rxjs,e["@angular/common"],e["@progress/kendo-angular-l10n"],e["rxjs/operators"])}(window,(function(e,t,n,i,o){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=24)}([function(t,n){t.exports=e},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return o})),n.d(t,"__assign",(function(){return r})),n.d(t,"__rest",(function(){return a})),n.d(t,"__decorate",(function(){return s})),n.d(t,"__param",(function(){return c})),n.d(t,"__metadata",(function(){return u})),n.d(t,"__awaiter",(function(){return d})),n.d(t,"__generator",(function(){return l})),n.d(t,"__createBinding",(function(){return p})),n.d(t,"__exportStar",(function(){return m})),n.d(t,"__values",(function(){return f})),n.d(t,"__read",(function(){return h})),n.d(t,"__spread",(function(){return g})),n.d(t,"__spreadArrays",(function(){return _})),n.d(t,"__await",(function(){return y})),n.d(t,"__asyncGenerator",(function(){return v})),n.d(t,"__asyncDelegator",(function(){return b})),n.d(t,"__asyncValues",(function(){return C})),n.d(t,"__makeTemplateObject",(function(){return x})),n.d(t,"__importStar",(function(){return O})),n.d(t,"__importDefault",(function(){return B})),n.d(t,"__classPrivateFieldGet",(function(){return I})),n.d(t,"__classPrivateFieldSet",(function(){return k}));
5
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@angular/core"),require("@progress/kendo-angular-common"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-licensing"),require("@angular/common"),require("rxjs")):"function"==typeof define&&define.amd?define([,,,,,],e):"object"==typeof exports?exports.KendoAngularNavigation=e(require("@angular/core"),require("@progress/kendo-angular-common"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-licensing"),require("@angular/common"),require("rxjs")):t.KendoAngularNavigation=e(t.ng.core,t.KendoAngularCommon,t.KendoAngularL10N,t.KendoLicensing,t.ng.common,t.rxjs)}(window,(function(t,e,n,i,r,o){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=24)}([function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",(function(){return r})),n.d(e,"__assign",(function(){return o})),n.d(e,"__rest",(function(){return s})),n.d(e,"__decorate",(function(){return u})),n.d(e,"__param",(function(){return c})),n.d(e,"__metadata",(function(){return a})),n.d(e,"__awaiter",(function(){return l})),n.d(e,"__generator",(function(){return p})),n.d(e,"__createBinding",(function(){return h})),n.d(e,"__exportStar",(function(){return f})),n.d(e,"__values",(function(){return d})),n.d(e,"__read",(function(){return b})),n.d(e,"__spread",(function(){return y})),n.d(e,"__spreadArrays",(function(){return m})),n.d(e,"__await",(function(){return _})),n.d(e,"__asyncGenerator",(function(){return v})),n.d(e,"__asyncDelegator",(function(){return g})),n.d(e,"__asyncValues",(function(){return w})),n.d(e,"__makeTemplateObject",(function(){return x})),n.d(e,"__importStar",(function(){return S})),n.d(e,"__importDefault",(function(){return C})),n.d(e,"__classPrivateFieldGet",(function(){return I})),n.d(e,"__classPrivateFieldSet",(function(){return E}));
6
6
  /*! *****************************************************************************
7
7
  Copyright (c) Microsoft Corporation.
8
8
 
@@ -17,4 +17,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
17
17
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
18
18
  PERFORMANCE OF THIS SOFTWARE.
19
19
  ***************************************************************************** */
20
- var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var r=function(){return(r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}function s(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}function c(e,t){return function(n,i){t(n,i,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function d(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{c(i.next(e))}catch(e){r(e)}}function s(e){try{c(i.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))}function l(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){a.label=r[1];break}if(6===r[0]&&a.label<o[1]){a.label=o[1],o=r;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(r);break}o[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}}function p(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}function m(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function f(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e}function _(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],a=0,s=r.length;a<s;a++,o++)i[o]=r[a];return i}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function v(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,o=n.apply(e,t||[]),r=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(e){o[e]&&(i[e]=function(t){return new Promise((function(n,i){r.push([e,t,n,i])>1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof y?Promise.resolve(n.value.v).then(c,u):d(r[0][2],n)}catch(e){d(r[0][3],e)}var n}function c(e){s("next",e)}function u(e){s("throw",e)}function d(e,t){e(t),r.shift(),r.length&&s(r[0][0],r[0][1])}}function b(e){var t,n;return t={},i("next"),i("throw",(function(e){throw e})),i("return"),t[Symbol.iterator]=function(){return this},t;function i(i,o){t[i]=e[i]?function(t){return(n=!n)?{value:y(e[i](t)),done:"return"===i}:o?o(t):t}:o}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise((function(i,o){(function(e,t,n,i){Promise.resolve(i).then((function(t){e({value:t,done:n})}),t)})(i,o,(t=e[n](t)).done,t.value)}))}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function O(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function B(e){return e&&e.__esModule?e:{default:e}}function I(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function k(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPresent=function(e){return null!=e},t.outerWidth=function(e){var t=e.offsetWidth,n=getComputedStyle(e);return t+=(parseFloat(n.marginLeft)||0)+(parseFloat(n.marginRight)||0)}},function(e,t,n){"use strict";n.r(t),n.d(t,"ResizeService",(function(){return V})),n.d(t,"PreventableEvent",(function(){return te})),n.d(t,"DraggableDirective",(function(){return O})),n.d(t,"DraggableModule",(function(){return B})),n.d(t,"closestInScope",(function(){return I})),n.d(t,"closest",(function(){return k})),n.d(t,"contains",(function(){return w})),n.d(t,"findElement",(function(){return E})),n.d(t,"findFocusableChild",(function(){return z})),n.d(t,"findFocusable",(function(){return P})),n.d(t,"hasClasses",(function(){return A})),n.d(t,"isFocusableWithTabKey",(function(){return M})),n.d(t,"isFocusable",(function(){return S})),n.d(t,"isVisible",(function(){return D})),n.d(t,"matchesClasses",(function(){return N})),n.d(t,"matchesNodeName",(function(){return L})),n.d(t,"rtlScrollPosition",(function(){return K})),n.d(t,"EventsOutsideAngularDirective",(function(){return F})),n.d(t,"EventsModule",(function(){return U})),n.d(t,"ResizeSensorComponent",(function(){return J})),n.d(t,"ResizeBatchService",(function(){return W})),n.d(t,"ResizeCompatService",(function(){return X})),n.d(t,"ResizeObserverService",(function(){return Y})),n.d(t,"ResizeSensorModule",(function(){return Q})),n.d(t,"KendoInput",(function(){return ee})),n.d(t,"isDocumentAvailable",(function(){return y})),n.d(t,"isChanged",(function(){return v})),n.d(t,"anyChanged",(function(){return b})),n.d(t,"hasObservers",(function(){return C})),n.d(t,"guid",(function(){return x})),n.d(t,"Keys",(function(){return R}));var i=n(1),o=n(0),r=function(e,t){return function(n){return t(e(n))}},a=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},s=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},c=function(){},u=function(e){return e.preventDefault()},d=/touch/;function l(e){return e.type.match(d)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var p=function(e){var t=this,n=e.press;void 0===n&&(n=c);var i=e.drag;void 0===i&&(i=c);var o=e.release;void 0===o&&(o=c);var d=e.mouseOnly;void 0===d&&(d=!1),this._pressHandler=r(l,n),this._dragHandler=r(l,i),this._releaseHandler=r(l,o),this._ignoreMouse=!1,this._mouseOnly=d,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var n=e.which;n&&n>1||t._ignoreMouse||(a(t.document,"mousemove",t._mousemove),a(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){s(t.document,"mousemove",t._mousemove),s(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(a(t.document,"pointermove",t._pointermove),a(t.document,"pointerup",t._pointerup),a(t.document,"pointercancel",t._pointerup),a(t.document,"contextmenu",u),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(s(t.document,"pointermove",t._pointermove),s(t.document,"pointerup",t._pointerup),s(t.document,"pointercancel",t._pointerup),s(t.document,"contextmenu",u),t._releaseHandler(e))}},m={document:{configurable:!0}};p.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},m.document.get=function(){return this._element?this._element.ownerDocument:document},p.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},p.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?a(e,"pointerdown",this._pointerdown):(a(e,"mousedown",this._mousedown),this._mouseOnly||(a(e,"touchstart",this._touchstart),a(e,"touchmove",this._touchmove),a(e,"touchend",this._touchend)))},p.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return s(e,"pointerdown",this._pointerdown),s(this.document,"pointermove",this._pointermove),s(this.document,"pointerup",this._pointerup),s(this.document,"contextmenu",u),void s(this.document,"pointercancel",this._pointerup);s(e,"mousedown",this._mousedown),this._mouseOnly||(s(e,"touchstart",this._touchstart),s(e,"touchmove",this._touchmove),s(e,"touchend",this._touchend))},p.prototype._usePointers=function(){return!this._mouseOnly&&p.supportPointerEvent()},p.prototype.update=function(e){var t=e.press;void 0===t&&(t=c);var n=e.drag;void 0===n&&(n=c);var i=e.release;void 0===i&&(i=c);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=r(l,t),this._dragHandler=r(l,n),this._releaseHandler=r(l,i),this._mouseOnly=o},p.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(p.prototype,m),p.default=p;var f=p,h=n(5),g=n(8),_=n(2),y=function(){return"undefined"!=typeof document},v=function(e,t,n){return void 0===n&&(n=!0),!(void 0===t[e]||t[e].isFirstChange()&&n||t[e].previousValue===t[e].currentValue)},b=function(e,t,n){return void 0===n&&(n=!0),e.some((function(e){return v(e,t,n)}))},C=function(e){return e&&e.observers.length>0},x=function(){for(var e="",t=0;t<32;t++){var n=16*Math.random()|0;8!==t&&12!==t&&16!==t&&20!==t||(e+="-"),e+=(12===t?4:16===t?3&n|8:n).toString(16)}return e},O=function(){function e(e,t){this.element=e,this.ngZone=t,this.enableDrag=!0,this.kendoPress=new o.EventEmitter,this.kendoDrag=new o.EventEmitter,this.kendoRelease=new o.EventEmitter}return e.prototype.ngOnInit=function(){this.toggleDraggable()},e.prototype.ngOnChanges=function(e){v("enableDrag",e)&&this.toggleDraggable()},e.prototype.ngOnDestroy=function(){this.destroyDraggable()},e.prototype.toggleDraggable=function(){var e=this;y()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new f({drag:function(t){return e.kendoDrag.next(t)},press:function(t){return e.kendoPress.next(t)},release:function(t){return e.kendoRelease.next(t)}}),this.ngZone.runOutsideAngular((function(){return e.draggable.bindTo(e.element.nativeElement)}))))},e.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},Object(i.__decorate)([Object(o.Input)(),Object(i.__metadata)("design:type",Boolean)],e.prototype,"enableDrag",void 0),Object(i.__decorate)([Object(o.Output)(),Object(i.__metadata)("design:type",o.EventEmitter)],e.prototype,"kendoPress",void 0),Object(i.__decorate)([Object(o.Output)(),Object(i.__metadata)("design:type",o.EventEmitter)],e.prototype,"kendoDrag",void 0),Object(i.__decorate)([Object(o.Output)(),Object(i.__metadata)("design:type",o.EventEmitter)],e.prototype,"kendoRelease",void 0),e=Object(i.__decorate)([Object(o.Directive)({selector:"[kendoDraggable]"}),Object(i.__metadata)("design:paramtypes",[o.ElementRef,o.NgZone])],e)}(),B=function(){function e(){}return e=Object(i.__decorate)([Object(o.NgModule)({declarations:[O],exports:[O],imports:[h.CommonModule]})],e)}(),I=function(e,t,n){for(;e&&e!==n&&!t(e);)e=e.parentNode;if(e!==n)return e},k=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e},w=function(e,t,n){if(void 0===n&&(n=!1),!k(t,(function(t){return t===e})))return!1;var i=k(t,(function(e){return e===t}));return i&&(n||i!==e)},E=function(e,t,n){if(void 0===n&&(n=!0),e){if(n&&t(e))return e;for(e=e.firstChild;e;){if(1===e.nodeType){var i=E(e,t);if(i)return i}e=e.nextSibling}}},j=/^(?:a|input|select|option|textarea|button|object)$/i,S=function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase(),n=Boolean(e.getAttribute("tabIndex"));return!e.disabled&&j.test(t)||n},D=function(e){var t=e.getBoundingClientRect(),n=t.width>0&&t.height>0,i=0!==t.x&&0!==t.y;return(n||i)&&"hidden"!==window.getComputedStyle(e).visibility},M=function(e,t){if(void 0===t&&(t=!0),!S(e))return!1;var n=e.getAttribute("tabIndex");return(!t||D(e))&&"-1"!==n},z=function(e,t){return void 0===t&&(t=!0),E(e,(function(e){return M(e,t)}),!1)},P=function(e,t){return void 0===t&&(t=!0),E(e,(function(e){return M(e,t)}))},T=function(e){return String(e).trim().split(" ")},A=function(e,t){var n=T(t);return Boolean(T(e.className).find((function(e){return n.indexOf(e)>=0})))},N=function(e){return function(t){return A(t,e)}},H={},L=function(e){return H[e]||(H[e]=function(t){return String(t.nodeName).toLowerCase()===e.toLowerCase()}),H[e]};function K(e,t,n){var i=e;return n<0?i=-e:n>0&&(i=t.scrollWidth-t.offsetWidth-e),i}var R,F=function(){function e(e,t,n){this.element=e,this.ngZone=t,this.renderer=n,this.events={}}return e.prototype.ngOnInit=function(){var e=this;if(this.element&&this.element.nativeElement){var t=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular((function(){for(var n in t)t.hasOwnProperty(n)&&e.subscriptions.push(e.renderer.listen(e.element.nativeElement,n,e.scope?t[n].bind(e.scope):t[n]))}))}},e.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}},Object(i.__decorate)([Object(o.Input)("kendoEventsOutsideAngular"),Object(i.__metadata)("design:type",Object)],e.prototype,"events",void 0),Object(i.__decorate)([Object(o.Input)(),Object(i.__metadata)("design:type",Object)],e.prototype,"scope",void 0),e=Object(i.__decorate)([Object(o.Directive)({selector:"[kendoEventsOutsideAngular]"}),Object(i.__metadata)("design:paramtypes",[o.ElementRef,o.NgZone,o.Renderer2])],e)}(),U=function(){function e(){}return e=Object(i.__decorate)([Object(o.NgModule)({declarations:[F],exports:[F]})],e)}(),V=function(){function e(e){this.resizeBatchService=e,this.resize=new o.EventEmitter,this.acceptedSize=!1,this.state=0}return e.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},e.prototype.checkChanges=function(){y()&&0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init))},e.prototype.destroy=function(){this.resizeBatchService.cancel(this)},e.prototype.checkSize=function(){if(this.parentElement){var e=this.measure(),t=e.width,n=e.height;if(!(t===this.lastWidth&&n===this.lastHeight))return this.lastWidth=t,this.lastHeight=n,this.acceptedSize=!1,this.resize.emit(),!0}},e.prototype.initSize=function(){var e=this.measure();this.lastWidth=e.width,this.lastHeight=e.height},e.prototype.measure=function(){var e=0,t=0;return this.parentElement&&(t=this.parentElement.offsetHeight,e=this.parentElement.offsetWidth),{height:t,width:e}},e}(),Z=function(e){var t=document.createElement("div");return t.style.cssText=e,t},q="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",X=function(e){function t(t,n,i){var o=e.call(this,t)||this;return o.element=n,o.ngZone=i,o}return Object(i.__extends)(t,e),t.prototype.checkChanges=function(){2!==this.state?e.prototype.checkChanges.call(this):this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.checkSize)},t.prototype.destroy=function(){if(e.prototype.destroy.call(this),this.subscription&&this.subscription.unsubscribe(),this.expand){var t=this.element.nativeElement;t.removeChild(this.expand),t.removeChild(this.shrink),this.expand.removeChild(this.expandChild),this.expand=this.expandChild=this.shrink=this.element=null}},t.prototype.checkSize=function(){if(e.prototype.checkSize.call(this))return this.reset(),!0},t.prototype.init=function(){var e,t=this.parentElement=this.element.nativeElement.parentElement;"static"===(e="position",getComputedStyle(t,null).getPropertyValue(e))&&(t.style.position="relative"),this.state=2,this.render(),this.reset(),this.initSize(),this.subscribe()},t.prototype.render=function(){var e=this.element.nativeElement;e.style.cssText=q,e.setAttribute("dir","ltr"),this.expand=Z(q),this.expandChild=Z("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),e.appendChild(this.expand),this.shrink=Z(q);var t=Z("position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;");this.shrink.appendChild(t),e.appendChild(this.shrink)},t.prototype.reset=function(){var e=this.expandChild;e.style.width="100000px",e.style.height="100000px";var t=this.expand;t.scrollLeft=1e5,t.scrollTop=1e5;var n=this.shrink;n.scrollLeft=1e5,n.scrollTop=1e5},t.prototype.subscribe=function(){var e=this;this.ngZone.runOutsideAngular((function(){e.subscription=Object(_.merge)(Object(_.fromEvent)(e.shrink,"scroll"),Object(_.fromEvent)(e.expand,"scroll")).subscribe((function(){e.checkSize()}))}))},t}(V),G="undefined"!=typeof ResizeObserver,Y=function(e){function t(t,n,i){var o=e.call(this,t)||this;return o.element=n,o.ngZone=i,o}return Object(i.__extends)(t,e),t.supported=function(){return G},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.parentElement=null},t.prototype.init=function(){var e=this;this.parentElement=this.element.nativeElement.parentElement,this.initSize(),this.state=2,this.ngZone.runOutsideAngular((function(){e.resizeObserver=new ResizeObserver((function(){e.checkSize()})),e.resizeObserver.observe(e.parentElement)}))},t}(V),W=function(){function e(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}return e.prototype.schedule=function(e,t){var n=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular((function(){n.subscription=Object(_.from)(n.resolvedPromise).subscribe(n.flush)}))},e.prototype.isScheduled=function(e){return Boolean(this.scheduled.find((function(t){return t.instance===e})))},e.prototype.cancel=function(e){for(var t=this.scheduled,n=t.length,i=0;i<n;i++)if(t[i].instance===e)return t.splice(i,1),void(t.length||this.unsubscribe())},e.prototype.ngOnDestroy=function(){this.unsubscribe()},e.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},e.prototype.flush=function(){this.scheduled.forEach((function(e){e.method.call(e.instance)})),this.scheduled=[],this.unsubscribe()},e=Object(i.__decorate)([Object(o.Injectable)(),Object(i.__metadata)("design:paramtypes",[o.NgZone])],e)}(),J=function(){function e(e,t,n){var i=this;this.rateLimit=10,this.resize=new o.EventEmitter;var r=Y.supported()?Y:X;this.resizeService=new r(e,t,n);var a=1e3/(this.rateLimit||10);this.subscription=this.resizeService.resize.pipe(Object(g.auditTime)(a)).subscribe((function(){i.resizeService.acceptedSize||i.resize.emit()}))}return e.prototype.ngAfterViewChecked=function(){this.resizeService.checkChanges()},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe(),this.resizeService.destroy()},e.prototype.acceptSize=function(e){this.resizeService.acceptSize(e)},Object(i.__decorate)([Object(o.Input)(),Object(i.__metadata)("design:type",Number)],e.prototype,"rateLimit",void 0),Object(i.__decorate)([Object(o.Output)(),Object(i.__metadata)("design:type",o.EventEmitter)],e.prototype,"resize",void 0),e=Object(i.__decorate)([Object(o.Component)({selector:"kendo-resize-sensor",template:""}),Object(i.__metadata)("design:paramtypes",[W,o.ElementRef,o.NgZone])],e)}(),$=[J],Q=function(){function e(){}return e=Object(i.__decorate)([Object(o.NgModule)({declarations:[$],exports:[$],providers:[W]})],e)}(),ee=function(){};!function(e){e[e.Alt=18]="Alt",e[e.ArrowDown=40]="ArrowDown",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowUp=38]="ArrowUp",e[e.Backspace=8]="Backspace",e[e.Control=17]="Control",e[e.Delete=46]="Delete",e[e.Digit0=48]="Digit0",e[e.Digit1=49]="Digit1",e[e.Digit2=50]="Digit2",e[e.Digit3=51]="Digit3",e[e.Digit4=52]="Digit4",e[e.Digit5=53]="Digit5",e[e.Digit6=54]="Digit6",e[e.Digit7=55]="Digit7",e[e.Digit8=56]="Digit8",e[e.Digit9=57]="Digit9",e[e.End=35]="End",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.F1=112]="F1",e[e.F2=113]="F2",e[e.F10=121]="F10",e[e.Home=36]="Home",e[e.Insert=45]="Insert",e[e.KeyA=65]="KeyA",e[e.KeyB=66]="KeyB",e[e.KeyC=67]="KeyC",e[e.KeyD=68]="KeyD",e[e.KeyE=69]="KeyE",e[e.KeyF=70]="KeyF",e[e.KeyG=71]="KeyG",e[e.KeyH=72]="KeyH",e[e.KeyI=73]="KeyI",e[e.KeyJ=74]="KeyJ",e[e.KeyK=75]="KeyK",e[e.KeyL=76]="KeyL",e[e.KeyM=77]="KeyM",e[e.KeyN=78]="KeyN",e[e.KeyO=79]="KeyO",e[e.KeyP=80]="KeyP",e[e.KeyQ=81]="KeyQ",e[e.KeyR=82]="KeyR",e[e.KeyS=83]="KeyS",e[e.KeyT=84]="KeyT",e[e.KeyU=85]="KeyU",e[e.KeyV=86]="KeyV",e[e.KeyW=87]="KeyW",e[e.KeyX=88]="KeyX",e[e.KeyY=89]="KeyY",e[e.KeyZ=90]="KeyZ",e[e.NumpadDecimal=110]="NumpadDecimal",e[e.PageDown=34]="PageDown",e[e.PageUp=33]="PageUp",e[e.Shift=16]="Shift",e[e.Space=32]="Space",e[e.Tab=9]="Tab"}(R||(R={}));var te=function(){function e(){this.prevented=!1}return e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}()},function(e,t){e.exports=n},function(e,t){e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=function(){function e(e){this.templateRef=e}return e=i.__decorate([o.Directive({selector:"[kendoBottomNavigationItemTemplate]"}),i.__param(0,o.Optional()),i.__metadata("design:paramtypes",[o.TemplateRef])],e)}();t.BottomNavigationItemTemplateDirective=r},function(e,t){e.exports=o},function(e,t,n){"use strict";n.r(t),n.d(t,"setScriptKey",(function(){return u})),n.d(t,"validatePackage",(function(){return d}));var i,o,r=["EMfOwhq=","z3jVDxbfBMq=","B2jQzwn0","u2vLia==","BKDQzKK=","zNvUy3rPB24=","zgf0yq==","D1rPsKq=","z2v0","BgLJzw5Zzuv4CgLYyxrPB25eyxrL","DgLTzxn0yw1W","y29Kzq==","DhLWzq==","C2v0","DMvYC2LVBG==","ChjVzhvJDenVzgvZ","u3PgAeu=","BMfTzq==","sg94tgG=","zun0Beq=","z3jVDxa=","ChjVzhvJDhm=","CgfYC2u=","BfP2zKS=","lcb0AguGCgfJA2fNzsb3yxmGChvIBgLZAgvKig9Uia==","Cfj6wKC=","tM8GBgLJzw5ZzsbMB3vUzc4k","ChjVzhvJDe5HBwu=","uwrAy0q=","BefHr0m=","t3jquwq=","s1Ldrvi=","CNvlCgC=","AgfZ","zxHWAxj5rgf0zq==","CgfJA2fNzu5HBwu=","y3LqC08=","CMr1Aui=","CNvHzve=","zg9JC1vYBa==","uhjVz3jLC3mG","ChvIBgLZAerHDgu=","vgHLihbYB2r1y3qGAxmGBM90igLUy2X1zgvKigLUihrOzsbSAwnLBNnLlGO=","D2fYBG==","B3nTvxa=","swTrwfO=","CLfMrLm=","igzVCIbTB3jLigLUzM9YBwf0Aw9UlGO=","whv2wMO=","rLbJyLa=","ww91CIbSAwnLBNnLigv4CgLYzwqGB24G","C2nYAxb0s2v5","BgLJzw5ZAw5Nrg9JC1vYBa==","tgLJzw5ZzsbHy3rPDMf0Aw9UigzHAwXLzcbMB3iG","EfbArNi=","zMLUza==","Dw5KzwzPBMvK","Dg9mB2nHBgvtDhjPBMC=","BgvUz3rO"];i=r,o=131,function(e){for(;--e;)i.push(i.shift())}(++o);var a=function(e,t){var n=r[e-=0];if(void 0===a.eVebMg){a.JsjtEd=function(e){for(var t=function(e){for(var t,n,i=String(e).replace(/=+$/,""),o="",r=0,a=0;n=i.charAt(a++);~n&&(t=r%4?64*t+n:n,r++%4)?o+=String.fromCharCode(255&t>>(-2*r&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);return o}(e),n=[],i=0,o=t.length;i<o;i++)n+="%"+("00"+t.charCodeAt(i).toString(16)).slice(-2);return decodeURIComponent(n)},a.rqrXoU={},a.eVebMg=!0}var i=a.rqrXoU[e];return void 0===i?(n=a.JsjtEd(n),a.rqrXoU[e]=n):n=i,n},s={data:' {"timestamp":1635163540,"products":[{"trial":false,"code":"KENDOUIREACT","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUICOMPLETE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIVUE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIANGULAR","licenseExpirationDate":1642770000}],"integrity":"Iq+/hmrfWBiuOSBY/c3zb/zGgBg="} '},c=new Map;function u(e){}function d(e){if(c[a("0x14")](e[a("0x4")])){if(a("0x35")==a("0x35"))return c[a("0x36")](e[a("0x4")])}var t,n=e[a("0x1")]?" v"+e[a("0x1")]:"",i=e[a("0x4")]+n,o=JSON[a("0x9")](s[a("0x34")]),r=!o[a("0x26")]&&!o[a("0x38")],u=o[a("0x26")]&&typeof KendoLicensing===a("0x2b"),d=function(e,t){var n=e[a("0x8")];if(!n||!n[a("0x2d")]){if(a("0x11")==a("0x11"))return null}var i=new Set(t);return n[a("0x2a")]((function(e){if(a("0xa")!==a("0x18"))return i[a("0x14")](e[a("0x39")])}))}(o,e[a("0x2")]);if(r||u)if(a("0x29")!=a("0x29")){}else t={type:0,packageName:i,docsUrl:e[a("0x27")]};else if(a("0xf")===a("0x24")){}else if(d){if(a("0x12")!=a("0x12")){}else if(d[a("0x37")]<e[a("0x1c")])if(a("0x21")===a("0x32")){}else t={type:2,packageName:i,publishDate:l(e[a("0x1c")]),expiryDate:l(d[a("0x37")]),docsUrl:e[a("0x27")]}}else if(a("0x6")!=a("0x6")){}else t={type:1,packageName:i,docsUrl:e[a("0x27")]};if(t&&typeof console===a("0x30"))if(a("0x5")===a("0x3")){}else{var p=a("0x1b")+e[a("0xe")],m=typeof console[a("0x7")]===a("0x33");if(m)if(a("0xc")!=a("0xc")){}else console[a("0x7")](p);else if(a("0x17")!=a("0x17")){}else console[a("0x1e")](p);if(console[a("0x1e")](function(e){var t=a("0x28")+e[a("0x16")]+"\n";if(2===e[a("0x3a")])if(a("0x20")!=a("0x20")){}else t+=a("0x25")+e[a("0x15")][a("0x2c")]()+a("0xb")+e[a("0x1c")][a("0x2c")]()+".\n";else if(0===e[a("0x3a")])if(a("0x13")!==a("0x10"))t+=a("0xd");else{}else if(1===e[a("0x3a")])if(a("0x2e")===a("0x23")){}else t+=a("0x1d");return t+=a("0x31")+e[a("0x1a")]+a("0x22")}(t)),m)if(a("0x1f")!==a("0x19"))console[a("0x2f")]();else{}}var f=!t;return c[a("0x0")](e[a("0x4")],f),f}function l(e){return new Date(1e3*e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-navigation",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642578001,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=function(){function e(e){this.templateRef=e}return e=i.__decorate([o.Directive({selector:"[kendoBreadCrumbItemTemplate]"}),i.__param(0,o.Optional()),i.__metadata("design:paramtypes",[o.TemplateRef])],e)}();t.BreadCrumbItemTemplateDirective=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(6),a=n(9),s=n(10),c=function(){function e(e){var t=this;this.localizationService=e,this.hostClass=!0,this.position="top",this.positionMode="static",this.themeColor="light",this.rtl=!1,a.validatePackage(s.packageMetadata),this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var n=e.rtl;t.rtl=n,t.direction=t.rtl?"rtl":"ltr"}))}return Object.defineProperty(e.prototype,"topClass",{get:function(){return"top"===this.position},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomClass",{get:function(){return"bottom"===this.position},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stickyClass",{get:function(){return"sticky"===this.positionMode},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fixedClass",{get:function(){return"fixed"===this.positionMode},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"staticClass",{get:function(){return"static"===this.positionMode},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lightClass",{get:function(){return"light"===this.themeColor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"darkClass",{get:function(){return"dark"===this.themeColor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inheritClass",{get:function(){return"inherit"===this.themeColor},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},i.__decorate([o.HostBinding("class.k-appbar"),i.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),i.__decorate([o.HostBinding("class.k-appbar-top"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"topClass",null),i.__decorate([o.HostBinding("class.k-appbar-bottom"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"bottomClass",null),i.__decorate([o.HostBinding("class.k-appbar-sticky"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"stickyClass",null),i.__decorate([o.HostBinding("class.k-appbar-fixed"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"fixedClass",null),i.__decorate([o.HostBinding("class.k-appbar-static"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"staticClass",null),i.__decorate([o.HostBinding("class.k-appbar-light"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"lightClass",null),i.__decorate([o.HostBinding("class.k-appbar-dark"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"darkClass",null),i.__decorate([o.HostBinding("class.k-appbar-inherit"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"inheritClass",null),i.__decorate([o.HostBinding("attr.dir"),i.__metadata("design:type",String)],e.prototype,"direction",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"position",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"positionMode",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"themeColor",void 0),e=i.__decorate([o.Component({exportAs:"kendoAppBar",selector:"kendo-appbar",template:"\n <ng-content></ng-content>\n ",providers:[r.LocalizationService,{provide:r.L10N_PREFIX,useValue:"kendo.appbar.component"}]}),i.__metadata("design:paramtypes",[r.LocalizationService])],e)}();t.AppBarComponent=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=function(){function e(){this.hostClass=!0}return i.__decorate([o.HostBinding("class.k-appbar-section"),i.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),e=i.__decorate([o.Component({selector:"kendo-appbar-section",template:"\n <ng-content></ng-content>\n "})],e)}();t.AppBarSectionComponent=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(3),a=function(){function e(e,t){this.renderer=e,this.element=t,this.hostClass=!0}return Object.defineProperty(e.prototype,"sizedClass",{get:function(){return r.isPresent(this.width)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){if(r.isPresent(this.width)){var e=this.element.nativeElement;this.renderer.setStyle(e,"flexBasis",this.width)}},i.__decorate([o.HostBinding("class.k-appbar-spacer"),i.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),i.__decorate([o.HostBinding("class.k-appbar-spacer-sized"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"sizedClass",null),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"width",void 0),e=i.__decorate([o.Component({selector:"kendo-appbar-spacer",template:""}),i.__metadata("design:paramtypes",[o.Renderer2,o.ElementRef])],e)}();t.AppBarSpacerComponent=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(5),a=n(12),s=n(13),c=n(14),u=[a.AppBarComponent,s.AppBarSectionComponent,c.AppBarSpacerComponent],d=u.slice(),l=function(){function e(){}return e=i.__decorate([o.NgModule({declarations:[d],exports:[u],imports:[r.CommonModule]})],e)}();t.AppBarModule=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(5),a=n(4),s=n(17),c=n(19),u=n(11),d=n(28),l=n(18),p=[u.BreadCrumbItemTemplateDirective],m=[s.BreadCrumbComponent,c.BreadCrumbItemComponent,l.BreadCrumbListComponent].concat(p),f=m.concat([d.BreadCrumbSeparatorDirective]),h=function(){function e(){}return e=i.__decorate([o.NgModule({declarations:[f],exports:[m],imports:[r.CommonModule,a.ResizeSensorModule]})],e)}();t.BreadCrumbModule=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(2),a=n(8),s=n(4),c=n(9),u=n(10),d=n(6),l=n(11),p=n(3),m=n(18),f=n(27),h=function(){function e(e,t,n,i){this.el=e,this.cdr=t,this.zone=n,this.localization=i,this.itemClick=new o.EventEmitter,this.hostClasses=!0,this._items=[],this._collapseMode="auto",this.updateItems=new r.ReplaySubject,this.afterViewInit=new r.Subject,this.subscriptions=new r.Subscription,this.direction="ltr",c.validatePackage(u.packageMetadata);var s=this.updateItems.asObservable().pipe(a.startWith([]));this.direction=i.rtl?"rtl":"ltr",this.itemsData$=s.pipe(a.map((function(e){return e.filter(Boolean)})),a.map((function(e){return e.map((function(e,t,n){return{context:{collapsed:!1,isLast:t===n.length-1,isFirst:0===t},data:e}}))})),a.share()),this.firstItem$=s.pipe(a.map((function(e){return e.length>0?[{context:{collapsed:!1,isLast:1===e.length,isFirst:!0},data:e[0]}]:[]})),a.share())}return Object.defineProperty(e.prototype,"items",{get:function(){return this._items},set:function(e){this._items=e||[],this.updateItems.next(this._items)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapseMode",{get:function(){return this._collapseMode},set:function(e){if(o.isDevMode()&&["auto","wrap","none"].indexOf(e)<0)throw new Error('Invalid collapse mode. Allowed values are "auto", "wrap" or "none". \nFor more details see https://www.telerik.com/kendo-angular-ui/components/navigation/api/BreadCrumbCollapseMode/');this._collapseMode=e||"auto",this.updateItems.next(this.items)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrapMode",{get:function(){return"wrap"===this.collapseMode},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"getDir",{get:function(){return this.direction},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.subscriptions.add(this.localization.changes.subscribe((function(t){var n=t.rtl;return e.direction=n?"rtl":"ltr"})))},e.prototype.ngAfterViewInit=function(){this.attachResizeHandler(),this.afterViewInit.next()},e.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()},e.prototype.handleResize=function(){var e=this.listComponent.renderedItems.toArray().filter((function(e){return!e.item.context.isFirst&&!e.item.context.isLast})).slice(),t=p.outerWidth(this.el.nativeElement),n=Math.floor(this.itemsContainers.toArray().map((function(e){return p.outerWidth(e.nativeElement)})).reduce((function(e,t){return e+t}),0)),i=(e.slice().reverse().find(f.collapsed)||{width:0}).width;return t<=n&&e.find(f.expanded)?(f.collapseFirst(e),this.cdr.detectChanges(),this.handleResize()):t>n+i&&e.find(f.collapsed)?(f.expandFirst(e.slice().reverse()),this.cdr.detectChanges(),this.handleResize()):void 0},e.prototype.shouldResize=function(){return s.isDocumentAvailable()&&"auto"===this.collapseMode},e.prototype.attachResizeHandler=function(){var e=this;this.subscriptions.add(r.merge(this.resizeSensor.resize,this.itemsData$,this.afterViewInit.asObservable()).pipe(a.filter((function(){return e.shouldResize()}))).subscribe((function(){e.zone.runOutsideAngular((function(){return setTimeout((function(){e.zone.run((function(){e.listComponent&&(e.handleResize(),e.resizeSensor.acceptSize())}))}))}))})))},i.__decorate([o.Input(),i.__metadata("design:type",Array),i.__metadata("design:paramtypes",[Array])],e.prototype,"items",null),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"separatorIcon",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],e.prototype,"collapseMode",null),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"itemClick",void 0),i.__decorate([o.ViewChild("resizeSensor",{static:!0}),i.__metadata("design:type",s.ResizeSensorComponent)],e.prototype,"resizeSensor",void 0),i.__decorate([o.ViewChildren("itemsContainer",{read:o.ElementRef}),i.__metadata("design:type",o.QueryList)],e.prototype,"itemsContainers",void 0),i.__decorate([o.ViewChild(m.BreadCrumbListComponent,{static:!0}),i.__metadata("design:type",m.BreadCrumbListComponent)],e.prototype,"listComponent",void 0),i.__decorate([o.ContentChild(l.BreadCrumbItemTemplateDirective,{static:!0}),i.__metadata("design:type",l.BreadCrumbItemTemplateDirective)],e.prototype,"itemTemplate",void 0),i.__decorate([o.HostBinding("class.k-widget"),o.HostBinding("class.k-breadcrumb"),i.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),i.__decorate([o.HostBinding("class.k-breadcrumb-wrap"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"wrapMode",null),i.__decorate([o.HostBinding("attr.dir"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"getDir",null),e=i.__decorate([o.Component({exportAs:"kendoBreadCrumb",selector:"kendo-breadcrumb",providers:[d.LocalizationService,{provide:d.L10N_PREFIX,useValue:"kendo.breadcrumb"}],template:'\n <ol\n #itemsContainer\n kendoBreadCrumbList\n class="k-breadcrumb-root-item-container"\n *ngIf="collapseMode === \'wrap\'"\n [items]="firstItem$ | async"\n [itemTemplate]="itemTemplate?.templateRef"\n [collapseMode]="collapseMode"\n [separatorIcon]="separatorIcon"\n (itemClick)="itemClick.emit($event)"\n ></ol>\n <ol\n #itemsContainer\n kendoBreadCrumbList\n class="k-breadcrumb-container"\n [items]="itemsData$ | async"\n [itemTemplate]="itemTemplate?.templateRef"\n [collapseMode]="collapseMode"\n [separatorIcon]="separatorIcon"\n (itemClick)="itemClick.emit($event)"\n [ngClass]="{ \'k-flex-wrap\': collapseMode === \'wrap\', \'k-flex-none\': collapseMode === \'none\' }"\n ></ol>\n <kendo-resize-sensor [rateLimit]="1000" #resizeSensor></kendo-resize-sensor>\n '}),i.__metadata("design:paramtypes",[o.ElementRef,o.ChangeDetectorRef,o.NgZone,d.LocalizationService])],e)}();t.BreadCrumbComponent=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(2),a=n(8),s=n(4),c=n(26),u=n(19),d=n(20),l=n(3),p=function(){function e(e,t){var n=this;this.el=e,this.zone=t,this.items=[],this.collapseMode="auto",this.itemClick=new o.EventEmitter;var i=this.el.nativeElement;this.isRootItemContainer=i.classList.contains("k-breadcrumb-root-item-container"),this.zone.runOutsideAngular((function(){var e=r.fromEvent(i,"click"),t=r.fromEvent(i,"keydown").pipe(a.filter((function(e){return e.keyCode===s.Keys.Enter})));n.domEventsSubscription=r.merge(e,t).pipe(a.map((function(e){return e.target})),a.filter((function(e){return!e.classList.contains("k-breadcrumb-delimiter-icon")})),a.map((function(e){return n.getItemIndex(e)})),a.filter(l.isPresent),a.map((function(e){return parseInt(e,10)})),a.map((function(e){return n.items[e]})),a.filter((function(e){return!e.data.disabled&&!e.context.isLast})),a.map((function(e){return e.data}))).subscribe((function(e){n.zone.run((function(){return n.itemClick.emit(e)}))}))}))}return e.prototype.ngOnDestroy=function(){this.domEventsSubscription.unsubscribe()},e.prototype.getItemIndex=function(e){var t=d.closestItem(e,c.BREADCRUMB_ITEM_INDEX,this.el.nativeElement);if(t)return d.itemIndex(t,c.BREADCRUMB_ITEM_INDEX)},i.__decorate([o.Input(),i.__metadata("design:type",Array)],e.prototype,"items",void 0),i.__decorate([o.Input(),i.__metadata("design:type",o.TemplateRef)],e.prototype,"itemTemplate",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"collapseMode",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"separatorIcon",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"itemClick",void 0),i.__decorate([o.ViewChildren(u.BreadCrumbItemComponent,{static:!0}),i.__metadata("design:type",o.QueryList)],e.prototype,"renderedItems",void 0),e=i.__decorate([o.Component({selector:"[kendoBreadCrumbList]",template:'\n <ng-container *ngFor="let item of items; let i = index; let isFirst = first; let isLast = last">\n <li\n #renderedItem\n kendoBreadCrumbItem\n *ngIf="!(collapseMode === \'wrap\' && isFirst) || isRootItemContainer"\n [attr.'+c.BREADCRUMB_ITEM_INDEX+']="i"\n [item]="item"\n [index]="i"\n [collapseMode]="collapseMode"\n [itemTemplate]="itemTemplate"\n >\n <span kendoBreadCrumbSeparator [icon]="separatorIcon" *ngIf="collapseMode === \'wrap\' && !isFirst"></span>\n <span\n kendoBreadCrumbSeparator\n [icon]="separatorIcon"\n *ngIf="collapseMode !== \'wrap\' && !isLast && !(item?.context.collapsed && items[i + 1]?.context.collapsed)"\n ></span>\n </li>\n </ng-container>\n '}),i.__metadata("design:paramtypes",[o.ElementRef,o.NgZone])],e)}();t.BreadCrumbListComponent=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(4),a=n(3),s=function(){function e(e){this.el=e,this.index=-1,this.hostClasses=!0,this.disabled=!1}return Object.defineProperty(e.prototype,"isRootItem",{get:function(){return this.item.context.isFirst},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisabled",{get:function(){return this.disabled||null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isLastItem",{get:function(){return this.item.context.isLast},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.disabled=this.item.data&&(this.item.data.disabled||this.item.context.isLast)},e.prototype.ngAfterViewInit=function(){r.isDocumentAvailable()&&(this.width=a.outerWidth(this.el.nativeElement))},e.prototype.onImageLoad=function(){r.isDocumentAvailable()&&(this.width=a.outerWidth(this.el.nativeElement))},i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"item",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"collapseMode",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Number)],e.prototype,"index",void 0),i.__decorate([o.Input(),i.__metadata("design:type",o.TemplateRef)],e.prototype,"itemTemplate",void 0),i.__decorate([o.HostBinding("class.k-flex-none"),o.HostBinding("class.k-breadcrumb-item"),i.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),i.__decorate([o.HostBinding("class.k-breadcrumb-root-item"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"isRootItem",null),i.__decorate([o.HostBinding("attr.aria-disabled"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"isDisabled",null),i.__decorate([o.HostBinding("class.k-breadcrumb-last-item"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"isLastItem",null),e=i.__decorate([o.Component({selector:"[kendoBreadCrumbItem]",template:'\n <ng-template #separator>\n <ng-content select="[kendoBreadCrumbSeparator]"></ng-content>\n </ng-template>\n\n <ng-container *ngIf="collapseMode === \'wrap\'">\n <ng-container *ngTemplateOutlet="separator"></ng-container>\n </ng-container>\n\n <ng-container *ngIf="!item.context.collapsed">\n <span\n *ngIf="!itemTemplate"\n [ngClass]="{\n \'k-breadcrumb-root-link\': item.context.isFirst,\n \'k-breadcrumb-link\': index !== 0,\n \'k-breadcrumb-icontext-link\': !!item.data.icon && !!item.data.text,\n \'k-breadcrumb-icon-link\': !!item.data.icon && !item.data.text,\n \'k-state-disabled\': disabled\n }"\n [title]="item.data.title || \'\'"\n [tabindex]="disabled ? -1 : 0"\n [attr.aria-current]="item.context.isLast ? true : null"\n role="link"\n class="k-cursor-pointer k-flex-none"\n >\n <img *ngIf="item.data.imageUrl" (load)="onImageLoad()" [src]="item.data.imageUrl" class="k-image" role="presentation" />\n <span *ngIf="item.data.icon && !item.data.iconClass" class="k-icon k-i-{{ item.data.icon }}"></span>\n <span *ngIf="item.data.iconClass" class="{{ item.data.iconClass }}"></span>\n {{ item.data.text }}\n </span>\n <ng-template\n *ngIf="itemTemplate"\n [ngTemplateOutlet]="itemTemplate"\n [ngTemplateOutletContext]="{\n $implicit: item.data,\n index: index\n }"\n ></ng-template>\n </ng-container>\n\n <ng-container *ngIf="collapseMode !== \'wrap\'">\n <ng-container *ngTemplateOutlet="separator"></ng-container>\n </ng-container>\n '}),i.__metadata("design:paramtypes",[o.ElementRef])],e)}();t.BreadCrumbItemComponent=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=function(e,t){return i.isPresent(e.getAttribute(t))};t.itemIndex=function(e,t){return+e.getAttribute(t)},t.closestItem=function(e,t,n){return function(e,t,n,i){for(;e&&e!==i&&!n(e,t);)e=e.parentNode;if(e!==i)return e}(e,t,o,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(29),r=n(7),a=n(0),s=n(5),c=n(22),u=[r.BottomNavigationItemTemplateDirective],d=[c.BottomNavigationComponent].concat(u),l=[o.BottomNavigationItemComponent].concat(d),p=function(){function e(){}return e=i.__decorate([a.NgModule({declarations:[l],exports:[d],imports:[s.CommonModule]})],e)}();t.BottomNavigationModule=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(4),a=n(6),s=n(9),c=n(2),u=n(23),d=n(7),l=n(20),p=n(31),m=n(10),f=function(){function e(e,t,n,i,r){var a=this;this.localization=e,this.hostElement=t,this.ngZone=n,this.changeDetector=i,this.renderer=r,this.border=!1,this.disabled=!1,this.select=new o.EventEmitter,this.hostClass=!0,this.role="navigation",this._fill="flat",this._itemFlow="vertical",this._positionMode="fixed",this._themeColor="primary",this._nativeHostElement=this.hostElement.nativeElement,this.subscriptions=new c.Subscription,this.rtl=!1,s.validatePackage(m.packageMetadata),this.dynamicRTLSubscription=this.localization.changes.subscribe((function(e){var t=e.rtl;a.rtl=t,a.direction=a.rtl?"rtl":"ltr"}))}return Object.defineProperty(e.prototype,"fill",{get:function(){return this._fill},set:function(e){this.renderer.removeClass(this._nativeHostElement,"k-bottom-nav-"+this.fill),this._fill="solid"===e?"solid":"flat",this.renderer.addClass(this._nativeHostElement,"k-bottom-nav-"+this._fill)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemFlow",{get:function(){return this._itemFlow},set:function(e){this.renderer.removeClass(this._nativeHostElement,"k-bottom-nav-item-flow-"+this.itemFlow),this._itemFlow="horizontal"===e?"horizontal":"vertical",this.renderer.addClass(this._nativeHostElement,"k-bottom-nav-item-flow-"+this._itemFlow)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"positionMode",{get:function(){return this._positionMode},set:function(e){this.renderer.removeClass(this._nativeHostElement,"k-pos-"+this.positionMode),this._positionMode="sticky"===e?"sticky":"fixed",this.renderer.addClass(this._nativeHostElement,"k-pos-"+this._positionMode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"themeColor",{get:function(){return this._themeColor},set:function(e){p.colors.find((function(t){return t===e}))&&(this.renderer.removeClass(this._nativeHostElement,"k-bottom-nav-"+this._themeColor),this._themeColor=e,this.renderer.addClass(this._nativeHostElement,"k-bottom-nav-"+this._themeColor))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"borderClass",{get:function(){return this.border},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.initDomEvents()},e.prototype.ngAfterViewInit=function(){this.applyClasses()},e.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe(),this.subscriptions.unsubscribe()},e.prototype.selectItem=function(e,t){var n=new u.BottomNavigationSelectEvent(i.__assign({},t));this.select.emit(n),n.isDefaultPrevented()||(this.selectedIdx=e)},e.prototype.applyClasses=function(){this.renderer.addClass(this._nativeHostElement,"k-bottom-nav-"+this.fill),this.renderer.addClass(this._nativeHostElement,"k-bottom-nav-item-flow-"+this.itemFlow),this.renderer.addClass(this._nativeHostElement,"k-pos-"+this.positionMode),this.renderer.addClass(this._nativeHostElement,"k-bottom-nav-"+this.themeColor)},e.prototype.initDomEvents=function(){var e=this;this.hostElement&&this.ngZone.runOutsideAngular((function(){e.subscriptions.add(e.renderer.listen(e._nativeHostElement,"click",e.clickHandler.bind(e))),e.subscriptions.add(e.renderer.listen(e._nativeHostElement,"keydown",e.keyDownHandler.bind(e)))}))},e.prototype.clickHandler=function(e){var t=this,n=this.getBottomNavigationItemIndex(e.target),i=this.items[n];if(i)if(i.disabled)e.preventDefault();else{var o={index:n,item:i,originalEvent:e,sender:this};this.ngZone.run((function(){t.selectItem(n,o),t.changeDetector.markForCheck()}))}},e.prototype.keyDownHandler=function(e){(e.keyCode===r.Keys.Enter||e.keyCode===r.Keys.Space)&&this.clickHandler(e)},e.prototype.getBottomNavigationItemIndex=function(e){var t=l.closestItem(e,p.BOTTOMNAVIGATION_ITEM_INDEX,this._nativeHostElement);if(t)return l.itemIndex(t,p.BOTTOMNAVIGATION_ITEM_INDEX)},i.__decorate([o.Input(),i.__metadata("design:type",Array)],e.prototype,"items",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"border",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],e.prototype,"fill",null),i.__decorate([o.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],e.prototype,"itemFlow",null),i.__decorate([o.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],e.prototype,"positionMode",null),i.__decorate([o.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],e.prototype,"themeColor",null),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"select",void 0),i.__decorate([o.HostBinding("class.k-hstack"),o.HostBinding("class.k-justify-content-stretch"),o.HostBinding("class.k-bottom-nav"),i.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),i.__decorate([o.HostBinding("class.k-bottom-nav-border"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"borderClass",null),i.__decorate([o.HostBinding("class.k-state-disabled"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),i.__decorate([o.HostBinding("attr.role"),i.__metadata("design:type",String)],e.prototype,"role",void 0),i.__decorate([o.HostBinding("attr.dir"),i.__metadata("design:type",String)],e.prototype,"direction",void 0),i.__decorate([o.ContentChild(d.BottomNavigationItemTemplateDirective,{static:!1}),i.__metadata("design:type",d.BottomNavigationItemTemplateDirective)],e.prototype,"itemTemplate",void 0),e=i.__decorate([o.Component({exportAs:"kendoBottomNavigation",selector:"kendo-bottomnavigation",providers:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.bottomnavigation"}],template:'\n <ng-container *ngIf="items">\n <span kendoBottomNavigationItem\n *ngFor="let item of items; let idx=index"\n role="link"\n class="k-bottom-nav-item"\n [disabledComponent]="disabled"\n [item]="item"\n [index]="idx"\n [selectedIdx]="selectedIdx"\n [itemTemplate]="itemTemplate"\n [attr.'+p.BOTTOMNAVIGATION_ITEM_INDEX+']="idx"\n [ngClass]="item.cssClass"\n [ngStyle]="item.cssStyle"\n [orientation]="itemFlow">\n </span>\n </ng-container>\n '}),i.__metadata("design:paramtypes",[a.LocalizationService,o.ElementRef,o.NgZone,o.ChangeDetectorRef,o.Renderer2])],e)}();t.BottomNavigationComponent=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t}(n(30).PreventableEvent);t.BottomNavigationSelectEvent=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(12);t.AppBarComponent=i.AppBarComponent;var o=n(13);t.AppBarSectionComponent=o.AppBarSectionComponent;var r=n(14);t.AppBarSpacerComponent=r.AppBarSpacerComponent;var a=n(15);t.AppBarModule=a.AppBarModule;var s=n(25);t.NavigationModule=s.NavigationModule;var c=n(17);t.BreadCrumbComponent=c.BreadCrumbComponent;var u=n(11);t.BreadCrumbItemTemplateDirective=u.BreadCrumbItemTemplateDirective;var d=n(16);t.BreadCrumbModule=d.BreadCrumbModule;var l=n(22);t.BottomNavigationComponent=l.BottomNavigationComponent;var p=n(7);t.BottomNavigationItemTemplateDirective=p.BottomNavigationItemTemplateDirective;var m=n(23);t.BottomNavigationSelectEvent=m.BottomNavigationSelectEvent;var f=n(21);t.BottomNavigationModule=f.BottomNavigationModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(15),a=n(16),s=n(21),c=function(){function e(){}return e=i.__decorate([o.NgModule({exports:[r.AppBarModule,a.BreadCrumbModule,s.BottomNavigationModule]})],e)}();t.NavigationModule=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BREADCRUMB_ITEM_INDEX="data-kendo-breadcrumb-index"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e.item.context.collapsed};t.collapsed=function(e){return!0===i(e)},t.expanded=function(e){return!1===i(e)};var o=function(e){return function(t){return t.find((function(t){return i(t)===e})).item.context.collapsed=!e}};t.collapseFirst=o(!1),t.expandFirst=o(!0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(0),r=n(3),a=n(6),s=function(){function e(e,t){this.el=e,this.localization=t,this.defaultClasses=!0,this.ariaHidden=!0,this.direction="ltr",this.direction=this.localization.rtl?"rtl":"ltr"}return Object.defineProperty(e.prototype,"icon",{get:function(){return this._icon},set:function(e){var t=this.el.nativeElement;t.classList.remove("k-i-"+this._icon),r.isPresent(e)?(this._icon=e,this.hasDefaultIcon=!1):(this._icon="ltr"===this.direction?"arrow-chevron-right":"arrow-chevron-left",this.hasDefaultIcon=!0),t.classList.add("k-i-"+this._icon)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.localizationChangesSubscription=this.localization.changes.subscribe((function(t){var n=t.rtl;e.direction=n?"rtl":"ltr",e.hasDefaultIcon&&(e.icon=void 0)}))},e.prototype.ngOnDestroy=function(){this.localizationChangesSubscription.unsubscribe()},i.__decorate([o.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],e.prototype,"icon",null),i.__decorate([o.HostBinding("class.k-breadcrumb-delimiter-icon"),o.HostBinding("class.k-icon"),i.__metadata("design:type",Boolean)],e.prototype,"defaultClasses",void 0),i.__decorate([o.HostBinding("attr.aria-hidden"),i.__metadata("design:type",Boolean)],e.prototype,"ariaHidden",void 0),e=i.__decorate([o.Directive({selector:"[kendoBreadCrumbSeparator]"}),i.__metadata("design:paramtypes",[o.ElementRef,a.LocalizationService])],e)}();t.BreadCrumbSeparatorDirective=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(7),r=n(0),a=function(){function e(){}return Object.defineProperty(e.prototype,"disabledClass",{get:function(){return this.item.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalItemClass",{get:function(){return"horizontal"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalItemClass",{get:function(){return"vertical"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this.item.text?this.item.text:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabindex",{get:function(){return this.item.tabIndex?this.item.tabIndex:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedClass",{get:function(){return this.selectedIdx?this.selectedIdx===this.index:this.item.selected},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemIcon",{get:function(){return!(!this.item.icon&&!this.item.iconClass)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconClasses",{get:function(){return(this.item.icon?"k-icon k-i-"+this.item.icon:"")+" "+(this.item.iconClass?this.item.iconClass:"")},enumerable:!0,configurable:!0}),i.__decorate([r.Input(),i.__metadata("design:type",o.BottomNavigationItemTemplateDirective)],e.prototype,"itemTemplate",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"item",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"index",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"disabledComponent",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],e.prototype,"selectedIdx",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],e.prototype,"orientation",void 0),i.__decorate([r.HostBinding("attr.aria-disabled"),r.HostBinding("class.k-state-disabled"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),i.__decorate([r.HostBinding("class.k-hstack"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"horizontalItemClass",null),i.__decorate([r.HostBinding("class.k-vstack"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"verticalItemClass",null),i.__decorate([r.HostBinding("attr.aria-label"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"label",null),i.__decorate([r.HostBinding("attr.tabindex"),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[])],e.prototype,"tabindex",null),i.__decorate([r.HostBinding("attr.aria-selected"),r.HostBinding("class.k-state-selected"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"selectedClass",null),e=i.__decorate([r.Component({selector:"[kendoBottomNavigationItem]",template:'\n <ng-container *ngIf="!itemTemplate">\n <span *ngIf="itemIcon" class="k-bottom-nav-item-icon" [ngClass]="iconClasses"></span>\n <span *ngIf="item.text" class="k-bottom-nav-item-text">{{item.text}}</span>\n </ng-container>\n <ng-template *ngIf="itemTemplate"\n [ngTemplateOutlet]="itemTemplate?.templateRef"\n [ngTemplateOutletContext]="{ $implicit: item }">\n </ng-template>\n '})],e)}();t.BottomNavigationItemComponent=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){this.prevented=!1,Object.assign(this,e)}return e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}();t.PreventableEvent=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BOTTOMNAVIGATION_ITEM_INDEX="data-kendo-bottomnavigation-index",t.colors=["primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"]}])}));
20
+ var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function s(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n}function u(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var u=t.length-1;u>=0;u--)(r=t[u])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function c(t,e){return function(n,i){e(n,i,t)}}function a(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t,e,n,i){return new(n||(n=Promise))((function(r,o){function s(t){try{c(i.next(t))}catch(t){o(t)}}function u(t){try{c(i.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,u)}c((i=i.apply(t,e||[])).next())}))}function p(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}function h(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}function f(t,e){for(var n in t)"default"===n||e.hasOwnProperty(n)||(e[n]=t[n])}function d(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return s}function y(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(b(arguments[e]));return t}function m(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,u=o.length;s<u;s++,r++)i[r]=o[s];return i}function _(t){return this instanceof _?(this.v=t,this):new _(t)}function v(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(t){r[t]&&(i[t]=function(e){return new Promise((function(n,i){o.push([t,e,n,i])>1||u(t,e)}))})}function u(t,e){try{(n=r[t](e)).value instanceof _?Promise.resolve(n.value.v).then(c,a):l(o[0][2],n)}catch(t){l(o[0][3],t)}var n}function c(t){u("next",t)}function a(t){u("throw",t)}function l(t,e){t(e),o.shift(),o.length&&u(o[0][0],o[0][1])}}function g(t){var e,n;return e={},i("next"),i("throw",(function(t){throw t})),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,r){e[i]=t[i]?function(e){return(n=!n)?{value:_(t[i](e)),done:"return"===i}:r?r(e):e}:r}}function w(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=d(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise((function(i,r){(function(t,e,n,i){Promise.resolve(i).then((function(e){t({value:e,done:n})}),e)})(i,r,(e=t[n](e)).done,e.value)}))}}}function x(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function S(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function C(t){return t&&t.__esModule?t:{default:t}}function I(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function E(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},function(e,n){e.exports=t},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isPresent=function(t){return null!=t},e.outerWidth=function(t){var e=t.offsetWidth,n=getComputedStyle(t);return e+=(parseFloat(n.marginLeft)||0)+(parseFloat(n.marginRight)||0)}},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=function(){function t(t){this.templateRef=t}return t=i.__decorate([r.Directive({selector:"[kendoBottomNavigationItemTemplate]"}),i.__param(0,r.Optional()),i.__metadata("design:paramtypes",[r.TemplateRef])],t)}();e.BottomNavigationItemTemplateDirective=o},function(t,e){t.exports=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-angular-navigation",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1645798483,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(t,e){t.exports=r},function(t,e){t.exports=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=function(){function t(t){this.templateRef=t}return t=i.__decorate([r.Directive({selector:"[kendoBreadCrumbItemTemplate]"}),i.__param(0,r.Optional()),i.__metadata("design:paramtypes",[r.TemplateRef])],t)}();e.BreadCrumbItemTemplateDirective=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(4),s=n(6),u=n(7),c=function(){function t(t){var e=this;this.localizationService=t,this.hostClass=!0,this.position="top",this.positionMode="static",this.themeColor="light",this.rtl=!1,s.validatePackage(u.packageMetadata),this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(t){var n=t.rtl;e.rtl=n,e.direction=e.rtl?"rtl":"ltr"}))}return Object.defineProperty(t.prototype,"topClass",{get:function(){return"top"===this.position},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bottomClass",{get:function(){return"bottom"===this.position},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stickyClass",{get:function(){return"sticky"===this.positionMode},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fixedClass",{get:function(){return"fixed"===this.positionMode},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"staticClass",{get:function(){return"static"===this.positionMode},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lightClass",{get:function(){return"light"===this.themeColor},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"darkClass",{get:function(){return"dark"===this.themeColor},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inheritClass",{get:function(){return"inherit"===this.themeColor},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},i.__decorate([r.HostBinding("class.k-appbar"),i.__metadata("design:type",Boolean)],t.prototype,"hostClass",void 0),i.__decorate([r.HostBinding("class.k-appbar-top"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"topClass",null),i.__decorate([r.HostBinding("class.k-appbar-bottom"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"bottomClass",null),i.__decorate([r.HostBinding("class.k-appbar-sticky"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"stickyClass",null),i.__decorate([r.HostBinding("class.k-appbar-fixed"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"fixedClass",null),i.__decorate([r.HostBinding("class.k-appbar-static"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"staticClass",null),i.__decorate([r.HostBinding("class.k-appbar-light"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"lightClass",null),i.__decorate([r.HostBinding("class.k-appbar-dark"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"darkClass",null),i.__decorate([r.HostBinding("class.k-appbar-inherit"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"inheritClass",null),i.__decorate([r.HostBinding("attr.dir"),i.__metadata("design:type",String)],t.prototype,"direction",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],t.prototype,"position",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],t.prototype,"positionMode",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],t.prototype,"themeColor",void 0),t=i.__decorate([r.Component({exportAs:"kendoAppBar",selector:"kendo-appbar",template:"\n <ng-content></ng-content>\n ",providers:[o.LocalizationService,{provide:o.L10N_PREFIX,useValue:"kendo.appbar.component"}]}),i.__metadata("design:paramtypes",[o.LocalizationService])],t)}();e.AppBarComponent=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=function(){function t(){this.hostClass=!0}return i.__decorate([r.HostBinding("class.k-appbar-section"),i.__metadata("design:type",Boolean)],t.prototype,"hostClass",void 0),t=i.__decorate([r.Component({selector:"kendo-appbar-section",template:"\n <ng-content></ng-content>\n "})],t)}();e.AppBarSectionComponent=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(2),s=function(){function t(t,e){this.renderer=t,this.element=e,this.hostClass=!0}return Object.defineProperty(t.prototype,"sizedClass",{get:function(){return o.isPresent(this.width)},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){if(o.isPresent(this.width)){var t=this.element.nativeElement;this.renderer.setStyle(t,"flexBasis",this.width)}},i.__decorate([r.HostBinding("class.k-appbar-spacer"),i.__metadata("design:type",Boolean)],t.prototype,"hostClass",void 0),i.__decorate([r.HostBinding("class.k-appbar-spacer-sized"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"sizedClass",null),i.__decorate([r.Input(),i.__metadata("design:type",String)],t.prototype,"width",void 0),t=i.__decorate([r.Component({selector:"kendo-appbar-spacer",template:""}),i.__metadata("design:paramtypes",[r.Renderer2,r.ElementRef])],t)}();e.AppBarSpacerComponent=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(8),s=n(11),u=n(12),c=n(13),a=[s.AppBarComponent,u.AppBarSectionComponent,c.AppBarSpacerComponent],l=a.slice(),p=function(){function t(){}return t=i.__decorate([r.NgModule({declarations:[l],exports:[a],imports:[o.CommonModule]})],t)}();e.AppBarModule=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(8),s=n(3),u=n(16),c=n(18),a=n(10),l=n(28),p=n(17),h=[a.BreadCrumbItemTemplateDirective],f=[u.BreadCrumbComponent,c.BreadCrumbItemComponent,p.BreadCrumbListComponent].concat(h),d=f.concat([l.BreadCrumbSeparatorDirective]),b=function(){function t(){}return t=i.__decorate([r.NgModule({declarations:[d],exports:[f],imports:[o.CommonModule,s.ResizeSensorModule]})],t)}();e.BreadCrumbModule=b},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(9),s=n(23),u=n(3),c=n(6),a=n(7),l=n(4),p=n(10),h=n(2),f=n(17),d=n(27),b=function(){function t(t,e,n,i){this.el=t,this.cdr=e,this.zone=n,this.localization=i,this.itemClick=new r.EventEmitter,this.hostClasses=!0,this._items=[],this._collapseMode="auto",this.updateItems=new o.ReplaySubject,this.afterViewInit=new o.Subject,this.subscriptions=new o.Subscription,this.direction="ltr",c.validatePackage(a.packageMetadata);var u=this.updateItems.asObservable().pipe(s.startWith([]));this.direction=i.rtl?"rtl":"ltr",this.itemsData$=u.pipe(s.map((function(t){return t.filter(Boolean)})),s.map((function(t){return t.map((function(t,e,n){return{context:{collapsed:!1,isLast:e===n.length-1,isFirst:0===e},data:t}}))})),s.share()),this.firstItem$=u.pipe(s.map((function(t){return t.length>0?[{context:{collapsed:!1,isLast:1===t.length,isFirst:!0},data:t[0]}]:[]})),s.share())}return Object.defineProperty(t.prototype,"items",{get:function(){return this._items},set:function(t){this._items=t||[],this.updateItems.next(this._items)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"collapseMode",{get:function(){return this._collapseMode},set:function(t){if(r.isDevMode()&&["auto","wrap","none"].indexOf(t)<0)throw new Error('Invalid collapse mode. Allowed values are "auto", "wrap" or "none". \nFor more details see https://www.telerik.com/kendo-angular-ui/components/navigation/api/BreadCrumbCollapseMode/');this._collapseMode=t||"auto",this.updateItems.next(this.items)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"wrapMode",{get:function(){return"wrap"===this.collapseMode},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"getDir",{get:function(){return this.direction},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.subscriptions.add(this.localization.changes.subscribe((function(e){var n=e.rtl;return t.direction=n?"rtl":"ltr"})))},t.prototype.ngAfterViewInit=function(){this.attachResizeHandler(),this.afterViewInit.next()},t.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()},t.prototype.handleResize=function(){var t=this.listComponent.renderedItems.toArray().filter((function(t){return!t.item.context.isFirst&&!t.item.context.isLast})).slice(),e=h.outerWidth(this.el.nativeElement),n=Math.floor(this.itemsContainers.toArray().map((function(t){return h.outerWidth(t.nativeElement)})).reduce((function(t,e){return t+e}),0)),i=(t.slice().reverse().find(d.collapsed)||{width:0}).width;return e<=n&&t.find(d.expanded)?(d.collapseFirst(t),this.cdr.detectChanges(),this.handleResize()):e>n+i&&t.find(d.collapsed)?(d.expandFirst(t.slice().reverse()),this.cdr.detectChanges(),this.handleResize()):void 0},t.prototype.shouldResize=function(){return u.isDocumentAvailable()&&"auto"===this.collapseMode},t.prototype.attachResizeHandler=function(){var t=this;this.subscriptions.add(o.merge(this.resizeSensor.resize,this.itemsData$,this.afterViewInit.asObservable()).pipe(s.filter((function(){return t.shouldResize()}))).subscribe((function(){t.zone.runOutsideAngular((function(){return setTimeout((function(){t.zone.run((function(){t.listComponent&&(t.handleResize(),t.resizeSensor.acceptSize())}))}))}))})))},i.__decorate([r.Input(),i.__metadata("design:type",Array),i.__metadata("design:paramtypes",[Array])],t.prototype,"items",null),i.__decorate([r.Input(),i.__metadata("design:type",String)],t.prototype,"separatorIcon",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],t.prototype,"collapseMode",null),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"itemClick",void 0),i.__decorate([r.ViewChild("resizeSensor",{static:!0}),i.__metadata("design:type",u.ResizeSensorComponent)],t.prototype,"resizeSensor",void 0),i.__decorate([r.ViewChildren("itemsContainer",{read:r.ElementRef}),i.__metadata("design:type",r.QueryList)],t.prototype,"itemsContainers",void 0),i.__decorate([r.ViewChild(f.BreadCrumbListComponent,{static:!0}),i.__metadata("design:type",f.BreadCrumbListComponent)],t.prototype,"listComponent",void 0),i.__decorate([r.ContentChild(p.BreadCrumbItemTemplateDirective,{static:!0}),i.__metadata("design:type",p.BreadCrumbItemTemplateDirective)],t.prototype,"itemTemplate",void 0),i.__decorate([r.HostBinding("class.k-widget"),r.HostBinding("class.k-breadcrumb"),i.__metadata("design:type",Boolean)],t.prototype,"hostClasses",void 0),i.__decorate([r.HostBinding("class.k-breadcrumb-wrap"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"wrapMode",null),i.__decorate([r.HostBinding("attr.dir"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],t.prototype,"getDir",null),t=i.__decorate([r.Component({exportAs:"kendoBreadCrumb",selector:"kendo-breadcrumb",providers:[l.LocalizationService,{provide:l.L10N_PREFIX,useValue:"kendo.breadcrumb"}],template:'\n <ol\n #itemsContainer\n kendoBreadCrumbList\n class="k-breadcrumb-root-item-container"\n *ngIf="collapseMode === \'wrap\'"\n [items]="firstItem$ | async"\n [itemTemplate]="itemTemplate?.templateRef"\n [collapseMode]="collapseMode"\n [separatorIcon]="separatorIcon"\n (itemClick)="itemClick.emit($event)"\n ></ol>\n <ol\n #itemsContainer\n kendoBreadCrumbList\n class="k-breadcrumb-container"\n [items]="itemsData$ | async"\n [itemTemplate]="itemTemplate?.templateRef"\n [collapseMode]="collapseMode"\n [separatorIcon]="separatorIcon"\n (itemClick)="itemClick.emit($event)"\n [ngClass]="{ \'k-flex-wrap\': collapseMode === \'wrap\', \'k-flex-none\': collapseMode === \'none\' }"\n ></ol>\n <kendo-resize-sensor [rateLimit]="1000" #resizeSensor></kendo-resize-sensor>\n '}),i.__metadata("design:paramtypes",[r.ElementRef,r.ChangeDetectorRef,r.NgZone,l.LocalizationService])],t)}();e.BreadCrumbComponent=b},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(9),s=n(23),u=n(3),c=n(26),a=n(18),l=n(19),p=n(2),h=function(){function t(t,e){var n=this;this.el=t,this.zone=e,this.items=[],this.collapseMode="auto",this.itemClick=new r.EventEmitter;var i=this.el.nativeElement;this.isRootItemContainer=i.classList.contains("k-breadcrumb-root-item-container"),this.zone.runOutsideAngular((function(){var t=o.fromEvent(i,"click"),e=o.fromEvent(i,"keydown").pipe(s.filter((function(t){return t.keyCode===u.Keys.Enter})));n.domEventsSubscription=o.merge(t,e).pipe(s.map((function(t){return t.target})),s.filter((function(t){return!t.classList.contains("k-breadcrumb-delimiter-icon")})),s.map((function(t){return n.getItemIndex(t)})),s.filter(p.isPresent),s.map((function(t){return parseInt(t,10)})),s.map((function(t){return n.items[t]})),s.filter((function(t){return!t.data.disabled&&!t.context.isLast})),s.map((function(t){return t.data}))).subscribe((function(t){n.zone.run((function(){return n.itemClick.emit(t)}))}))}))}return t.prototype.ngOnDestroy=function(){this.domEventsSubscription.unsubscribe()},t.prototype.getItemIndex=function(t){var e=l.closestItem(t,c.BREADCRUMB_ITEM_INDEX,this.el.nativeElement);if(e)return l.itemIndex(e,c.BREADCRUMB_ITEM_INDEX)},i.__decorate([r.Input(),i.__metadata("design:type",Array)],t.prototype,"items",void 0),i.__decorate([r.Input(),i.__metadata("design:type",r.TemplateRef)],t.prototype,"itemTemplate",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],t.prototype,"collapseMode",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],t.prototype,"separatorIcon",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"itemClick",void 0),i.__decorate([r.ViewChildren(a.BreadCrumbItemComponent,{static:!0}),i.__metadata("design:type",r.QueryList)],t.prototype,"renderedItems",void 0),t=i.__decorate([r.Component({selector:"[kendoBreadCrumbList]",template:'\n <ng-container *ngFor="let item of items; let i = index; let isFirst = first; let isLast = last">\n <li\n #renderedItem\n kendoBreadCrumbItem\n *ngIf="!(collapseMode === \'wrap\' && isFirst) || isRootItemContainer"\n [attr.'+c.BREADCRUMB_ITEM_INDEX+']="i"\n [item]="item"\n [index]="i"\n [collapseMode]="collapseMode"\n [itemTemplate]="itemTemplate"\n >\n <span kendoBreadCrumbSeparator [icon]="separatorIcon" *ngIf="collapseMode === \'wrap\' && !isFirst"></span>\n <span\n kendoBreadCrumbSeparator\n [icon]="separatorIcon"\n *ngIf="collapseMode !== \'wrap\' && !isLast && !(item?.context.collapsed && items[i + 1]?.context.collapsed)"\n ></span>\n </li>\n </ng-container>\n '}),i.__metadata("design:paramtypes",[r.ElementRef,r.NgZone])],t)}();e.BreadCrumbListComponent=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(3),s=n(2),u=function(){function t(t){this.el=t,this.index=-1,this.hostClasses=!0,this.disabled=!1}return Object.defineProperty(t.prototype,"isRootItem",{get:function(){return this.item.context.isFirst},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDisabled",{get:function(){return this.disabled||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isLastItem",{get:function(){return this.item.context.isLast},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.disabled=this.item.data&&(this.item.data.disabled||this.item.context.isLast)},t.prototype.ngAfterViewInit=function(){o.isDocumentAvailable()&&(this.width=s.outerWidth(this.el.nativeElement))},t.prototype.onImageLoad=function(){o.isDocumentAvailable()&&(this.width=s.outerWidth(this.el.nativeElement))},i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"item",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String)],t.prototype,"collapseMode",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Number)],t.prototype,"index",void 0),i.__decorate([r.Input(),i.__metadata("design:type",r.TemplateRef)],t.prototype,"itemTemplate",void 0),i.__decorate([r.HostBinding("class.k-flex-none"),r.HostBinding("class.k-breadcrumb-item"),i.__metadata("design:type",Boolean)],t.prototype,"hostClasses",void 0),i.__decorate([r.HostBinding("class.k-breadcrumb-root-item"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"isRootItem",null),i.__decorate([r.HostBinding("attr.aria-disabled"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"isDisabled",null),i.__decorate([r.HostBinding("class.k-breadcrumb-last-item"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"isLastItem",null),t=i.__decorate([r.Component({selector:"[kendoBreadCrumbItem]",template:'\n <ng-template #separator>\n <ng-content select="[kendoBreadCrumbSeparator]"></ng-content>\n </ng-template>\n\n <ng-container *ngIf="collapseMode === \'wrap\'">\n <ng-container *ngTemplateOutlet="separator"></ng-container>\n </ng-container>\n\n <ng-container *ngIf="!item.context.collapsed">\n <span\n *ngIf="!itemTemplate"\n [ngClass]="{\n \'k-breadcrumb-root-link\': item.context.isFirst,\n \'k-breadcrumb-link\': index !== 0,\n \'k-breadcrumb-icontext-link\': !!item.data.icon && !!item.data.text,\n \'k-breadcrumb-icon-link\': !!item.data.icon && !item.data.text,\n \'k-state-disabled\': disabled\n }"\n [title]="item.data.title || \'\'"\n [tabindex]="disabled ? -1 : 0"\n [attr.aria-current]="item.context.isLast ? true : null"\n role="link"\n class="k-cursor-pointer k-flex-none"\n >\n <img *ngIf="item.data.imageUrl" (load)="onImageLoad()" [src]="item.data.imageUrl" class="k-image" role="presentation" />\n <span *ngIf="item.data.icon && !item.data.iconClass" class="k-icon k-i-{{ item.data.icon }}"></span>\n <span *ngIf="item.data.iconClass" class="{{ item.data.iconClass }}"></span>\n {{ item.data.text }}\n </span>\n <ng-template\n *ngIf="itemTemplate"\n [ngTemplateOutlet]="itemTemplate"\n [ngTemplateOutletContext]="{\n $implicit: item.data,\n index: index\n }"\n ></ng-template>\n </ng-container>\n\n <ng-container *ngIf="collapseMode !== \'wrap\'">\n <ng-container *ngTemplateOutlet="separator"></ng-container>\n </ng-container>\n '}),i.__metadata("design:paramtypes",[r.ElementRef])],t)}();e.BreadCrumbItemComponent=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),r=function(t,e){return i.isPresent(t.getAttribute(e))};e.itemIndex=function(t,e){return+t.getAttribute(e)},e.closestItem=function(t,e,n){return function(t,e,n,i){for(;t&&t!==i&&!n(t,e);)t=t.parentNode;if(t!==i)return t}(t,e,r,n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(29),o=n(5),s=n(1),u=n(8),c=n(21),a=[o.BottomNavigationItemTemplateDirective],l=[c.BottomNavigationComponent].concat(a),p=[r.BottomNavigationItemComponent].concat(l),h=function(){function t(){}return t=i.__decorate([s.NgModule({declarations:[p],exports:[l],imports:[u.CommonModule]})],t)}();e.BottomNavigationModule=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(3),s=n(4),u=n(6),c=n(9),a=n(22),l=n(5),p=n(19),h=n(31),f=n(7),d=function(){function t(t,e,n,i,o){var s=this;this.localization=t,this.hostElement=e,this.ngZone=n,this.changeDetector=i,this.renderer=o,this.border=!1,this.disabled=!1,this.select=new r.EventEmitter,this.hostClass=!0,this.role="navigation",this._fill="flat",this._itemFlow="vertical",this._positionMode="fixed",this._themeColor="primary",this._nativeHostElement=this.hostElement.nativeElement,this.subscriptions=new c.Subscription,this.rtl=!1,u.validatePackage(f.packageMetadata),this.dynamicRTLSubscription=this.localization.changes.subscribe((function(t){var e=t.rtl;s.rtl=e,s.direction=s.rtl?"rtl":"ltr"}))}return Object.defineProperty(t.prototype,"fill",{get:function(){return this._fill},set:function(t){this.renderer.removeClass(this._nativeHostElement,"k-bottom-nav-"+this.fill),this._fill="solid"===t?"solid":"flat",this.renderer.addClass(this._nativeHostElement,"k-bottom-nav-"+this._fill)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"itemFlow",{get:function(){return this._itemFlow},set:function(t){this.renderer.removeClass(this._nativeHostElement,"k-bottom-nav-item-flow-"+this.itemFlow),this._itemFlow="horizontal"===t?"horizontal":"vertical",this.renderer.addClass(this._nativeHostElement,"k-bottom-nav-item-flow-"+this._itemFlow)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"positionMode",{get:function(){return this._positionMode},set:function(t){this.renderer.removeClass(this._nativeHostElement,"k-pos-"+this.positionMode),this._positionMode="sticky"===t?"sticky":"fixed",this.renderer.addClass(this._nativeHostElement,"k-pos-"+this._positionMode)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"themeColor",{get:function(){return this._themeColor},set:function(t){h.colors.find((function(e){return e===t}))&&(this.renderer.removeClass(this._nativeHostElement,"k-bottom-nav-"+this._themeColor),this._themeColor=t,this.renderer.addClass(this._nativeHostElement,"k-bottom-nav-"+this._themeColor))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"borderClass",{get:function(){return this.border},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.initDomEvents()},t.prototype.ngAfterViewInit=function(){this.applyClasses()},t.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe(),this.subscriptions.unsubscribe()},t.prototype.selectItem=function(t,e){var n=new a.BottomNavigationSelectEvent(i.__assign({},e));this.select.emit(n),n.isDefaultPrevented()||(this.selectedIdx=t)},t.prototype.applyClasses=function(){this.renderer.addClass(this._nativeHostElement,"k-bottom-nav-"+this.fill),this.renderer.addClass(this._nativeHostElement,"k-bottom-nav-item-flow-"+this.itemFlow),this.renderer.addClass(this._nativeHostElement,"k-pos-"+this.positionMode),this.renderer.addClass(this._nativeHostElement,"k-bottom-nav-"+this.themeColor)},t.prototype.initDomEvents=function(){var t=this;this.hostElement&&this.ngZone.runOutsideAngular((function(){t.subscriptions.add(t.renderer.listen(t._nativeHostElement,"click",t.clickHandler.bind(t))),t.subscriptions.add(t.renderer.listen(t._nativeHostElement,"keydown",t.keyDownHandler.bind(t)))}))},t.prototype.clickHandler=function(t){var e=this,n=this.getBottomNavigationItemIndex(t.target),i=this.items[n];if(i)if(i.disabled)t.preventDefault();else{var r={index:n,item:i,originalEvent:t,sender:this};this.ngZone.run((function(){e.selectItem(n,r),e.changeDetector.markForCheck()}))}},t.prototype.keyDownHandler=function(t){(t.keyCode===o.Keys.Enter||t.keyCode===o.Keys.Space)&&this.clickHandler(t)},t.prototype.getBottomNavigationItemIndex=function(t){var e=p.closestItem(t,h.BOTTOMNAVIGATION_ITEM_INDEX,this._nativeHostElement);if(e)return p.itemIndex(e,h.BOTTOMNAVIGATION_ITEM_INDEX)},i.__decorate([r.Input(),i.__metadata("design:type",Array)],t.prototype,"items",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],t.prototype,"border",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],t.prototype,"disabled",void 0),i.__decorate([r.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],t.prototype,"fill",null),i.__decorate([r.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],t.prototype,"itemFlow",null),i.__decorate([r.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],t.prototype,"positionMode",null),i.__decorate([r.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],t.prototype,"themeColor",null),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"select",void 0),i.__decorate([r.HostBinding("class.k-hstack"),r.HostBinding("class.k-justify-content-stretch"),r.HostBinding("class.k-bottom-nav"),i.__metadata("design:type",Boolean)],t.prototype,"hostClass",void 0),i.__decorate([r.HostBinding("class.k-bottom-nav-border"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"borderClass",null),i.__decorate([r.HostBinding("class.k-state-disabled"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"disabledClass",null),i.__decorate([r.HostBinding("attr.role"),i.__metadata("design:type",String)],t.prototype,"role",void 0),i.__decorate([r.HostBinding("attr.dir"),i.__metadata("design:type",String)],t.prototype,"direction",void 0),i.__decorate([r.ContentChild(l.BottomNavigationItemTemplateDirective,{static:!1}),i.__metadata("design:type",l.BottomNavigationItemTemplateDirective)],t.prototype,"itemTemplate",void 0),t=i.__decorate([r.Component({exportAs:"kendoBottomNavigation",selector:"kendo-bottomnavigation",providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.bottomnavigation"}],template:'\n <ng-container *ngIf="items">\n <span kendoBottomNavigationItem\n *ngFor="let item of items; let idx=index"\n role="link"\n class="k-bottom-nav-item"\n [disabledComponent]="disabled"\n [item]="item"\n [index]="idx"\n [selectedIdx]="selectedIdx"\n [itemTemplate]="itemTemplate"\n [attr.'+h.BOTTOMNAVIGATION_ITEM_INDEX+']="idx"\n [ngClass]="item.cssClass"\n [ngStyle]="item.cssStyle"\n [orientation]="itemFlow">\n </span>\n </ng-container>\n '}),i.__metadata("design:paramtypes",[s.LocalizationService,r.ElementRef,r.NgZone,r.ChangeDetectorRef,r.Renderer2])],t)}();e.BottomNavigationComponent=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(n(30).PreventableEvent);e.BottomNavigationSelectEvent=r},function(t,e,n){"use strict";n.r(e),n.d(e,"audit",(function(){return A})),n.d(e,"auditTime",(function(){return U})),n.d(e,"buffer",(function(){return K})),n.d(e,"bufferCount",(function(){return $})),n.d(e,"bufferTime",(function(){return tt})),n.d(e,"bufferToggle",(function(){return ut})),n.d(e,"bufferWhen",(function(){return lt})),n.d(e,"catchError",(function(){return ft})),n.d(e,"combineAll",(function(){return gt})),n.d(e,"combineLatest",(function(){return xt})),n.d(e,"concat",(function(){return Dt})),n.d(e,"concatAll",(function(){return Vt})),n.d(e,"concatMap",(function(){return Rt})),n.d(e,"concatMapTo",(function(){return zt})),n.d(e,"count",(function(){return Ht})),n.d(e,"debounce",(function(){return Wt})),n.d(e,"debounceTime",(function(){return Ut})),n.d(e,"defaultIfEmpty",(function(){return $t})),n.d(e,"delay",(function(){return re})),n.d(e,"delayWhen",(function(){return ce})),n.d(e,"dematerialize",(function(){return fe})),n.d(e,"distinct",(function(){return ye})),n.d(e,"distinctUntilChanged",(function(){return ve})),n.d(e,"distinctUntilKeyChanged",(function(){return xe})),n.d(e,"elementAt",(function(){return Re})),n.d(e,"endWith",(function(){return ze})),n.d(e,"every",(function(){return He})),n.d(e,"exhaust",(function(){return We})),n.d(e,"exhaustMap",(function(){return Ue})),n.d(e,"expand",(function(){return Xe})),n.d(e,"filter",(function(){return Ie})),n.d(e,"finalize",(function(){return Qe})),n.d(e,"find",(function(){return en})),n.d(e,"findIndex",(function(){return on})),n.d(e,"first",(function(){return sn})),n.d(e,"groupBy",(function(){return fn})),n.d(e,"ignoreElements",(function(){return vn})),n.d(e,"isEmpty",(function(){return xn})),n.d(e,"last",(function(){return kn})),n.d(e,"map",(function(){return Tt})),n.d(e,"mapTo",(function(){return Nn})),n.d(e,"materialize",(function(){return jn})),n.d(e,"max",(function(){return zn})),n.d(e,"merge",(function(){return Fn})),n.d(e,"mergeAll",(function(){return Mt})),n.d(e,"mergeMap",(function(){return Ot})),n.d(e,"flatMap",(function(){return Ot})),n.d(e,"mergeMapTo",(function(){return Ln})),n.d(e,"mergeScan",(function(){return Wn})),n.d(e,"min",(function(){return Un})),n.d(e,"multicast",(function(){return Jn})),n.d(e,"observeOn",(function(){return ei})),n.d(e,"onErrorResumeNext",(function(){return oi})),n.d(e,"pairwise",(function(){return ci})),n.d(e,"partition",(function(){return hi})),n.d(e,"pluck",(function(){return fi})),n.d(e,"publish",(function(){return bi})),n.d(e,"publishBehavior",(function(){return mi})),n.d(e,"publishLast",(function(){return vi})),n.d(e,"publishReplay",(function(){return Ci})),n.d(e,"race",(function(){return ki})),n.d(e,"reduce",(function(){return Rn})),n.d(e,"repeat",(function(){return Ni})),n.d(e,"repeatWhen",(function(){return ji})),n.d(e,"retry",(function(){return Vi})),n.d(e,"retryWhen",(function(){return Ri})),n.d(e,"refCount",(function(){return Kn})),n.d(e,"sample",(function(){return Fi})),n.d(e,"sampleTime",(function(){return Yi})),n.d(e,"scan",(function(){return Vn})),n.d(e,"sequenceEqual",(function(){return Gi})),n.d(e,"share",(function(){return Ji})),n.d(e,"shareReplay",(function(){return tr})),n.d(e,"single",(function(){return er})),n.d(e,"skip",(function(){return rr})),n.d(e,"skipLast",(function(){return ur})),n.d(e,"skipUntil",(function(){return lr})),n.d(e,"skipWhile",(function(){return fr})),n.d(e,"startWith",(function(){return yr})),n.d(e,"subscribeOn",(function(){return Cr})),n.d(e,"switchAll",(function(){return Nr})),n.d(e,"switchMap",(function(){return Er})),n.d(e,"switchMapTo",(function(){return Or})),n.d(e,"take",(function(){return Ve})),n.d(e,"takeLast",(function(){return In})),n.d(e,"takeUntil",(function(){return Br})),n.d(e,"takeWhile",(function(){return Mr})),n.d(e,"tap",(function(){return ke})),n.d(e,"throttle",(function(){return Rr})),n.d(e,"throttleTime",(function(){return Fr})),n.d(e,"throwIfEmpty",(function(){return Pe})),n.d(e,"timeInterval",(function(){return qr})),n.d(e,"timeout",(function(){return Qr})),n.d(e,"timeoutWith",(function(){return Xr})),n.d(e,"timestamp",(function(){return Jr})),n.d(e,"toArray",(function(){return no})),n.d(e,"window",(function(){return io})),n.d(e,"windowCount",(function(){return so})),n.d(e,"windowTime",(function(){return ao})),n.d(e,"windowToggle",(function(){return mo})),n.d(e,"windowWhen",(function(){return go})),n.d(e,"withLatestFrom",(function(){return So})),n.d(e,"zip",(function(){return jo})),n.d(e,"zipAll",(function(){return Po}));var i=n(0);function r(t){return"function"==typeof t}var o=!1,s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){t&&(new Error).stack;o=t},get useDeprecatedSynchronousErrorHandling(){return o}};function u(t){setTimeout((function(){throw t}))}var c={closed:!0,next:function(t){},error:function(t){if(s.useDeprecatedSynchronousErrorHandling)throw t;u(t)},complete:function(){}},a=Array.isArray||function(t){return t&&"number"==typeof t.length};function l(t){return null!==t&&"object"==typeof t}function p(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}p.prototype=Object.create(Error.prototype);var h=p,f=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,i=this._parents,o=this._unsubscribe,s=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var u=-1,c=i?i.length:0;n;)n.remove(this),n=++u<c&&i[u]||null;if(r(o))try{o.call(this)}catch(n){e=!0,t=n instanceof h?d(n.errors):[n]}if(a(s))for(u=-1,c=s.length;++u<c;){var p=s[u];if(l(p))try{p.unsubscribe()}catch(n){e=!0,t=t||[],n instanceof h?t=t.concat(d(n.errors)):t.push(n)}}if(e)throw new h(t)}},t.prototype.add=function(e){var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var i=n;(n=new t)._subscriptions=[i]}break;default:if(!e)return t.EMPTY;throw new Error("unrecognized teardown "+e+" added to Subscription.")}if(n._addParent(this)){var r=this._subscriptions;r?r.push(n):this._subscriptions=[n]}return n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this._parent,n=this._parents;return e!==t&&(e?n?-1===n.indexOf(t)&&(n.push(t),!0):(this._parents=[t],!0):(this._parent=t,!0))},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();function d(t){return t.reduce((function(t,e){return t.concat(e instanceof h?e.errors:e)}),[])}var b="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),y=function(t){function e(n,i,r){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=c;break;case 1:if(!n){o.destination=c;break}if("object"==typeof n){n instanceof e?(o.syncErrorThrowable=n.syncErrorThrowable,o.destination=n,n.add(o)):(o.syncErrorThrowable=!0,o.destination=new m(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new m(o,n,i,r)}return o}return i.__extends(e,t),e.prototype[b]=function(){return this},e.create=function(t,n,i){var r=new e(t,n,i);return r.syncErrorThrowable=!1,r},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},e}(f),m=function(t){function e(e,n,i,o){var s,u=t.call(this)||this;u._parentSubscriber=e;var a=u;return r(n)?s=n:n&&(s=n.next,i=n.error,o=n.complete,n!==c&&(r((a=Object.create(n)).unsubscribe)&&u.add(a.unsubscribe.bind(a)),a.unsubscribe=u.unsubscribe.bind(u))),u._context=a,u._next=s,u._error=i,u._complete=o,u}return i.__extends(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=s.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):u(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;u(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw t;u(t)}},e.prototype.__tryOrSetError=function(t,e,n){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(e){return s.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):(u(e),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(y),_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(y),v=function(t){function e(e,n,i){var r=t.call(this)||this;return r.parent=e,r.outerValue=n,r.outerIndex=i,r.index=0,r}return i.__extends(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(y);var g="function"==typeof Symbol&&Symbol.observable||"@@observable";function w(){}function x(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return S(t)}function S(t){return t?1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}:w}var C=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var i=this.operator,r=function(t,e,n){if(t){if(t instanceof y)return t;if(t[b])return t[b]()}return t||e||n?new y(t,e,n):new y(c)}(t,e,n);if(i?r.add(i.call(r,this.source)):r.add(this.source||s.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),s.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){s.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),!function(t){for(;t;){var e=t,n=e.closed,i=e.destination,r=e.isStopped;if(n||r)return!1;t=i&&i instanceof y?i:null}return!0}(t)?console.warn(e):t.error(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=I(e))((function(e,i){var r;r=n.subscribe((function(e){try{t(e)}catch(t){i(t),r&&r.unsubscribe()}}),i,e)}))},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[g]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:S(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=I(t))((function(t,n){var i;e.subscribe((function(t){return i=t}),(function(t){return n(t)}),(function(){return t(i)}))}))},t.create=function(e){return new t(e)},t}();function I(t){if(t||(t=s.Promise||Promise),!t)throw new Error("no Promise impl found");return t}var E=function(t){return function(e){for(var n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.closed||e.complete()}},T=function(t){return function(e){return t.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,u),e}};function k(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var N=k(),O=function(t){return function(e){for(var n=t[N]();;){var i=n.next();if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e}},B=function(t){return function(e){var n=t[g]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}},j=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function P(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var M=function(t){if(t instanceof C)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[g])return B(t);if(j(t))return E(t);if(P(t))return T(t);if(t&&"function"==typeof t[N])return O(t);var e=l(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function V(t,e,n,i,r){if(void 0===r&&(r=new v(t,n,i)),!r.closed)return M(e)(r)}function A(t){return function(e){return e.lift(new D(t))}}var D=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new R(t,this.durationSelector))},t}(),R=function(t){function e(e,n){var i=t.call(this,e)||this;return i.durationSelector=n,i.hasValue=!1,i}return i.__extends(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=void 0;try{e=(0,this.durationSelector)(t)}catch(t){return this.destination.error(t)}var n=V(this,e);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}},e.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},e.prototype.notifyNext=function(t,e,n,i){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(_),z=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.pending=!1,i}return i.__extends(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,i=void 0;try{this.work(t)}catch(t){n=!0,i=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),i},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return i.__extends(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(f)),H=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}(),F=function(t){function e(n,i){void 0===i&&(i=H.now);var r=t.call(this,n,(function(){return e.delegate&&e.delegate!==r?e.delegate.now():i()}))||this;return r.actions=[],r.active=!1,r.scheduled=void 0,r}return i.__extends(e,t),e.prototype.schedule=function(n,i,r){return void 0===i&&(i=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,i,r):t.prototype.schedule.call(this,n,i,r)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(H),L=new F(z);function W(t){return!a(t)&&t-parseFloat(t)+1>=0}function Y(t){return t&&"function"==typeof t.schedule}function q(t){var e=t.index,n=t.period,i=t.subscriber;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function U(t,e){return void 0===e&&(e=L),A((function(){return function(t,e,n){void 0===t&&(t=0);var i=-1;return W(e)?i=Number(e)<1?1:Number(e):Y(e)&&(n=e),Y(n)||(n=L),new C((function(e){var r=W(t)?t:+t-n.now();return n.schedule(q,r,{index:0,period:i,subscriber:e})}))}(t,e)}))}function K(t){return function(e){return e.lift(new G(t))}}var G=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new X(t,this.closingNotifier))},t}(),X=function(t){function e(e,n){var i=t.call(this,e)||this;return i.buffer=[],i.add(V(i,n)),i}return i.__extends(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(t,e,n,i,r){var o=this.buffer;this.buffer=[],this.destination.next(o)},e}(_);function $(t,e){return void 0===e&&(e=null),function(n){return n.lift(new Z(t,e))}}var Z=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?J:Q}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),Q=function(t){function e(e,n){var i=t.call(this,e)||this;return i.bufferSize=n,i.buffer=[],i}return i.__extends(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(y),J=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.bufferSize=n,r.startBufferEvery=i,r.buffers=[],r.count=0,r}return i.__extends(e,t),e.prototype._next=function(t){var e=this.bufferSize,n=this.startBufferEvery,i=this.buffers,r=this.count;this.count++,r%n==0&&i.push([]);for(var o=i.length;o--;){var s=i[o];s.push(t),s.length===e&&(i.splice(o,1),this.destination.next(s))}},e.prototype._complete=function(){for(var e=this.buffers,n=this.destination;e.length>0;){var i=e.shift();i.length>0&&n.next(i)}t.prototype._complete.call(this)},e}(y);function tt(t){var e=arguments.length,n=L;Y(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var i=null;e>=2&&(i=arguments[1]);var r=Number.POSITIVE_INFINITY;return e>=3&&(r=arguments[2]),function(e){return e.lift(new et(t,i,r,n))}}var et=function(){function t(t,e,n,i){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new it(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),nt=function(){return function(){this.buffer=[]}}(),it=function(t){function e(e,n,i,r,o){var s=t.call(this,e)||this;s.bufferTimeSpan=n,s.bufferCreationInterval=i,s.maxBufferSize=r,s.scheduler=o,s.contexts=[];var u=s.openContext();if(s.timespanOnly=null==i||i<0,s.timespanOnly){var c={subscriber:s,context:u,bufferTimeSpan:n};s.add(u.closeAction=o.schedule(rt,n,c))}else{var a={subscriber:s,context:u},l={bufferTimeSpan:n,bufferCreationInterval:i,subscriber:s,scheduler:o};s.add(u.closeAction=o.schedule(st,n,a)),s.add(o.schedule(ot,i,l))}return s}return i.__extends(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,i=n.length,r=0;r<i;r++){var o=n[r],s=o.buffer;s.push(t),s.length==this.maxBufferSize&&(e=o)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts,n=this.destination;e.length>0;){var i=e.shift();n.next(i.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,i={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(rt,n,i))}},e.prototype.openContext=function(){var t=new nt;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(y);function rt(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function ot(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,i=t.subscriber,r=t.scheduler,o=i.openContext();i.closed||(i.add(o.closeAction=r.schedule(st,n,{subscriber:i,context:o})),this.schedule(t,e))}function st(t){var e=t.subscriber,n=t.context;e.closeContext(n)}function ut(t,e){return function(n){return n.lift(new ct(t,e))}}var ct=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new at(t,this.openings,this.closingSelector))},t}(),at=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.openings=n,r.closingSelector=i,r.contexts=[],r.add(V(r,n)),r}return i.__extends(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,i=0;i<n;i++)e[i].buffer.push(t)},e.prototype._error=function(e){for(var n=this.contexts;n.length>0;){var i=n.shift();i.subscription.unsubscribe(),i.buffer=null,i.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.buffer,i=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(i),i.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=new f,i={buffer:[],subscription:n};e.push(i);var r=V(this,t,i);!r||r.closed?this.closeBuffer(i):(r.context=i,this.add(r),n.add(r))},e}(_);function lt(t){return function(e){return e.lift(new pt(t))}}var pt=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new ht(t,this.closingSelector))},t}(),ht=function(t){function e(e,n){var i=t.call(this,e)||this;return i.closingSelector=n,i.subscribing=!1,i.openBuffer(),i}return i.__extends(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(t,e,n,i,r){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e,n=this.buffer;this.buffer&&this.destination.next(n),this.buffer=[];try{e=(0,this.closingSelector)()}catch(t){return this.error(t)}t=new f,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(V(this,e)),this.subscribing=!1},e}(_);function ft(t){return function(e){var n=new dt(t),i=e.lift(n);return n.caught=i}}var dt=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new bt(t,this.selector,this.caught))},t}(),bt=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.selector=n,r.caught=i,r}return i.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle();var i=new v(this,void 0,void 0);this.add(i),V(this,n,void 0,void 0,i)}},e}(_);function yt(t,e){return new C(e?function(n){var i=new f,r=0;return i.add(e.schedule((function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()}))),i}:E(t))}var mt={};var _t=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new vt(t,this.resultSelector))},t}(),vt=function(t){function e(e,n){var i=t.call(this,e)||this;return i.resultSelector=n,i.active=0,i.values=[],i.observables=[],i}return i.__extends(e,t),e.prototype._next=function(t){this.values.push(mt),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var i=t[n];this.add(V(this,i,i,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){var o=this.values,s=o[n],u=this.toRespond?s===mt?--this.toRespond:this.toRespond:0;o[n]=e,0===u&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(_);function gt(t){return function(e){return e.lift(new _t(t))}}function wt(t,e){if(!e)return t instanceof C?t:new C(M(t));if(null!=t){if(function(t){return t&&"function"==typeof t[g]}(t))return function(t,e){return new C(e?function(n){var i=new f;return i.add(e.schedule((function(){var r=t[g]();i.add(r.subscribe({next:function(t){i.add(e.schedule((function(){return n.next(t)})))},error:function(t){i.add(e.schedule((function(){return n.error(t)})))},complete:function(){i.add(e.schedule((function(){return n.complete()})))}}))}))),i}:B(t))}(t,e);if(P(t))return function(t,e){return new C(e?function(n){var i=new f;return i.add(e.schedule((function(){return t.then((function(t){i.add(e.schedule((function(){n.next(t),i.add(e.schedule((function(){return n.complete()})))})))}),(function(t){i.add(e.schedule((function(){return n.error(t)})))}))}))),i}:T(t))}(t,e);if(j(t))return yt(t,e);if(function(t){return t&&"function"==typeof t[N]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new C(e?function(n){var i,r=new f;return r.add((function(){i&&"function"==typeof i.return&&i.return()})),r.add(e.schedule((function(){i=t[N](),r.add(e.schedule((function(){if(!n.closed){var t,e;try{var r=i.next();t=r.value,e=r.done}catch(t){return void n.error(t)}e?n.complete():(n.next(t),this.schedule())}})))}))),r}:O(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function xt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&a(t[0])&&(t=t[0].slice()),function(e){return e.lift.call(wt([e].concat(t)),new _t(n))}}var St=new C((function(t){return t.complete()}));function Ct(t){return t?function(t){return new C((function(e){return t.schedule((function(){return e.complete()}))}))}(t):St}function It(t){var e=new C((function(e){e.next(t),e.complete()}));return e._isScalar=!0,e.value=t,e}function Et(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];switch(Y(n)?t.pop():n=void 0,t.length){case 0:return Ct(n);case 1:return n?yt(t,n):It(t[0]);default:return yt(t,n)}}function Tt(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new kt(t,e))}}var kt=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new Nt(t,this.project,this.thisArg))},t}(),Nt=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.project=n,r.count=0,r.thisArg=i||r,r}return i.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(y);function Ot(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(i){return i.pipe(Ot((function(n,i){return wt(t(n,i)).pipe(Tt((function(t,r){return e(n,t,i,r)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new Bt(t,n))})}var Bt=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new jt(t,this.project,this.concurrent))},t}(),jt=function(t){function e(e,n,i){void 0===i&&(i=Number.POSITIVE_INFINITY);var r=t.call(this,e)||this;return r.project=n,r.concurrent=i,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return i.__extends(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var i=new v(this,void 0,void 0);this.destination.add(i),V(this,t,e,n,i)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(_);function Pt(t){return t}function Mt(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Ot(Pt,t)}function Vt(){return Mt(1)}function At(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Vt()(Et.apply(void 0,t))}function Dt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(At.apply(void 0,[e].concat(t)))}}function Rt(t,e){return Ot(t,e,1)}function zt(t,e){return Rt((function(){return t}),e)}function Ht(t){return function(e){return e.lift(new Ft(t,e))}}var Ft=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Lt(t,this.predicate,this.source))},t}(),Lt=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.predicate=n,r.source=i,r.count=0,r.index=0,r}return i.__extends(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(y);function Wt(t){return function(e){return e.lift(new Yt(t))}}var Yt=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new qt(t,this.durationSelector))},t}(),qt=function(t){function e(e,n){var i=t.call(this,e)||this;return i.durationSelector=n,i.hasValue=!1,i.durationSubscription=null,i}return i.__extends(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=V(this,e))&&!n.closed&&this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(t,e,n,i,r){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=null,n.unsubscribe(),this.remove(n)),this.value=null,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(_);function Ut(t,e){return void 0===e&&(e=L),function(n){return n.lift(new Kt(t,e))}}var Kt=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new Gt(t,this.dueTime,this.scheduler))},t}(),Gt=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.dueTime=n,r.scheduler=i,r.debouncedSubscription=null,r.lastValue=null,r.hasValue=!1,r}return i.__extends(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Xt,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(y);function Xt(t){t.debouncedNext()}function $t(t){return void 0===t&&(t=null),function(e){return e.lift(new Qt(t))}}var Zt,Qt=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new Jt(t,this.defaultValue))},t}(),Jt=function(t){function e(e,n){var i=t.call(this,e)||this;return i.defaultValue=n,i.isEmpty=!0,i}return i.__extends(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(y);function te(t){return t instanceof Date&&!isNaN(+t)}function ee(t,e){return new C(e?function(n){return e.schedule(ne,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function ne(t){var e=t.error;t.subscriber.error(e)}Zt||(Zt={});var ie=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return Et(this.value);case"E":return ee(this.error);case"C":return Ct()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}();function re(t,e){void 0===e&&(e=L);var n=te(t)?+t-e.now():Math.abs(t);return function(t){return t.lift(new oe(n,e))}}var oe=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new se(t,this.delay,this.scheduler))},t}(),se=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.delay=n,r.scheduler=i,r.queue=[],r.active=!1,r.errored=!1,r}return i.__extends(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,i=t.scheduler,r=t.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new ue(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(ie.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(ie.createComplete()),this.unsubscribe()},e}(y),ue=function(){return function(t,e){this.time=t,this.notification=e}}();function ce(t,e){return e?function(n){return new pe(n,e).lift(new ae(t))}:function(e){return e.lift(new ae(t))}}var ae=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new le(t,this.delayDurationSelector))},t}(),le=function(t){function e(e,n){var i=t.call(this,e)||this;return i.delayDurationSelector=n,i.completed=!1,i.delayNotifierSubscriptions=[],i.index=0,i}return i.__extends(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(t),this.removeSubscription(r),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){var e=this.index++;try{var n=this.delayDurationSelector(t,e);n&&this.tryDelay(n,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t);return-1!==e&&this.delayNotifierSubscriptions.splice(e,1),t.outerValue},e.prototype.tryDelay=function(t,e){var n=V(this,t,e);n&&!n.closed&&(this.destination.add(n),this.delayNotifierSubscriptions.push(n))},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(_),pe=function(t){function e(e,n){var i=t.call(this)||this;return i.source=e,i.subscriptionDelay=n,i}return i.__extends(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new he(t,this.source))},e}(C),he=function(t){function e(e,n){var i=t.call(this)||this;return i.parent=e,i.source=n,i.sourceSubscribed=!1,i}return i.__extends(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.unsubscribe(),this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(y);function fe(){return function(t){return t.lift(new de)}}var de=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new be(t))},t}(),be=function(t){function e(e){return t.call(this,e)||this}return i.__extends(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(y);function ye(t,e){return function(n){return n.lift(new me(t,e))}}var me=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new _e(t,this.keySelector,this.flushes))},t}(),_e=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.keySelector=n,r.values=new Set,i&&r.add(V(r,i)),r}return i.__extends(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.values.clear()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(_);function ve(t,e){return function(n){return n.lift(new ge(t,e))}}var ge=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new we(t,this.compare,this.keySelector))},t}(),we=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.keySelector=i,r.hasKey=!1,"function"==typeof n&&(r.compare=n),r}return i.__extends(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(t){return this.destination.error(t)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,e)}catch(t){return this.destination.error(t)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))},e}(y);function xe(t,e){return ve((function(n,i){return e?e(n[t],i[t]):n[t]===i[t]}))}function Se(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}Se.prototype=Object.create(Error.prototype);var Ce=Se;function Ie(t,e){return function(n){return n.lift(new Ee(t,e))}}var Ee=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new Te(t,this.predicate,this.thisArg))},t}(),Te=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.predicate=n,r.thisArg=i,r.count=0,r}return i.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(y);function ke(t,e,n){return function(i){return i.lift(new Ne(t,e,n))}}var Ne=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new Oe(t,this.nextOrObserver,this.error,this.complete))},t}(),Oe=function(t){function e(e,n,i,o){var s=t.call(this,e)||this;return s._tapNext=w,s._tapError=w,s._tapComplete=w,s._tapError=i||w,s._tapComplete=o||w,r(n)?(s._context=s,s._tapNext=n):n&&(s._context=n,s._tapNext=n.next||w,s._tapError=n.error||w,s._tapComplete=n.complete||w),s}return i.__extends(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(y);function Be(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}Be.prototype=Object.create(Error.prototype);var je=Be,Pe=function(t){return void 0===t&&(t=Me),ke({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function Me(){return new je}function Ve(t){return function(e){return 0===t?Ct():e.lift(new Ae(t))}}var Ae=function(){function t(t){if(this.total=t,this.total<0)throw new Ce}return t.prototype.call=function(t,e){return e.subscribe(new De(t,this.total))},t}(),De=function(t){function e(e,n){var i=t.call(this,e)||this;return i.total=n,i.count=0,i}return i.__extends(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(y);function Re(t,e){if(t<0)throw new Ce;var n=arguments.length>=2;return function(i){return i.pipe(Ie((function(e,n){return n===t})),Ve(1),n?$t(e):Pe((function(){return new Ce})))}}function ze(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];Y(n)?t.pop():n=null;var i=t.length;return At(e,1!==i||n?i>0?yt(t,n):Ct(n):It(t[0]))}}function He(t,e){return function(n){return n.lift(new Fe(t,e,n))}}var Fe=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new Le(t,this.predicate,this.thisArg,this.source))},t}(),Le=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=i,o.source=r,o.index=0,o.thisArg=i||o,o}return i.__extends(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(y);function We(){return function(t){return t.lift(new Ye)}}var Ye=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new qe(t))},t}(),qe=function(t){function e(e){var n=t.call(this,e)||this;return n.hasCompleted=!1,n.hasSubscription=!1,n}return i.__extends(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(V(this,t)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(_);function Ue(t,e){return e?function(n){return n.pipe(Ue((function(n,i){return wt(t(n,i)).pipe(Tt((function(t,r){return e(n,t,i,r)})))})))}:function(e){return e.lift(new Ke(t))}}var Ke=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Ge(t,this.project))},t}(),Ge=function(t){function e(e,n){var i=t.call(this,e)||this;return i.project=n,i.hasSubscription=!1,i.hasCompleted=!1,i.index=0,i}return i.__extends(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.hasSubscription=!0,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var i=new v(this,void 0,void 0);this.destination.add(i),V(this,t,e,n,i)},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(_);function Xe(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,function(i){return i.lift(new $e(t,e,n))}}var $e=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new Ze(t,this.project,this.concurrent,this.scheduler))},t}(),Ze=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o.project=n,o.concurrent=i,o.scheduler=r,o.index=0,o.active=0,o.hasCompleted=!1,i<Number.POSITIVE_INFINITY&&(o.buffer=[]),o}return i.__extends(e,t),e.dispatch=function(t){var e=t.subscriber,n=t.result,i=t.value,r=t.index;e.subscribeToProjection(n,i,r)},e.prototype._next=function(t){var n=this.destination;if(n.closed)this._complete();else{var i=this.index++;if(this.active<this.concurrent){n.next(t);try{var r=(0,this.project)(t,i);if(this.scheduler){var o={subscriber:this,result:r,value:t,index:i};this.destination.add(this.scheduler.schedule(e.dispatch,0,o))}else this.subscribeToProjection(r,t,i)}catch(t){n.error(t)}}else this.buffer.push(t)}},e.prototype.subscribeToProjection=function(t,e,n){this.active++,this.destination.add(V(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,i,r){this._next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.destination.remove(t),this.active--,e&&e.length>0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(_);function Qe(t){return function(e){return e.lift(new Je(t))}}var Je=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new tn(t,this.callback))},t}(),tn=function(t){function e(e,n){var i=t.call(this,e)||this;return i.add(new f(n)),i}return i.__extends(e,t),e}(y);function en(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(n){return n.lift(new nn(t,n,!1,e))}}var nn=function(){function t(t,e,n,i){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=i}return t.prototype.call=function(t,e){return e.subscribe(new rn(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}(),rn=function(t){function e(e,n,i,r,o){var s=t.call(this,e)||this;return s.predicate=n,s.source=i,s.yieldIndex=r,s.thisArg=o,s.index=0,s}return i.__extends(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete(),this.unsubscribe()},e.prototype._next=function(t){var e=this.predicate,n=this.thisArg,i=this.index++;try{e.call(n||this,t,i,this.source)&&this.notifyComplete(this.yieldIndex?i:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(y);function on(t,e){return function(n){return n.lift(new nn(t,n,!0,e))}}function sn(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?Ie((function(e,n){return t(e,n,i)})):Pt,Ve(1),n?$t(e):Pe((function(){return new je})))}}function un(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}un.prototype=Object.create(Error.prototype);var cn=un,an=function(t){function e(e,n){var i=t.call(this)||this;return i.subject=e,i.subscriber=n,i.closed=!1,i}return i.__extends(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(f),ln=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return i.__extends(e,t),e}(y),pn=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return i.__extends(e,t),e.prototype[b]=function(){return new ln(this)},e.prototype.lift=function(t){var e=new hn(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new cn;if(!this.isStopped)for(var e=this.observers,n=e.length,i=e.slice(),r=0;r<n;r++)i[r].next(t)},e.prototype.error=function(t){if(this.closed)throw new cn;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,i=e.slice(),r=0;r<n;r++)i[r].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new cn;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),i=0;i<e;i++)n[i].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new cn;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new cn;return this.hasError?(t.error(this.thrownError),f.EMPTY):this.isStopped?(t.complete(),f.EMPTY):(this.observers.push(t),new an(this,t))},e.prototype.asObservable=function(){var t=new C;return t.source=this,t},e.create=function(t,e){return new hn(t,e)},e}(C),hn=function(t){function e(e,n){var i=t.call(this)||this;return i.destination=e,i.source=n,i}return i.__extends(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):f.EMPTY},e}(pn);function fn(t,e,n,i){return function(r){return r.lift(new dn(t,e,n,i))}}var dn=function(){function t(t,e,n,i){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=i}return t.prototype.call=function(t,e){return e.subscribe(new bn(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),bn=function(t){function e(e,n,i,r,o){var s=t.call(this,e)||this;return s.keySelector=n,s.elementSelector=i,s.durationSelector=r,s.subjectSelector=o,s.groups=null,s.attemptedToUnsubscribe=!1,s.count=0,s}return i.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups=new Map);var i,r=n.get(e);if(this.elementSelector)try{i=this.elementSelector(t)}catch(t){this.error(t)}else i=t;if(!r){r=this.subjectSelector?this.subjectSelector():new pn,n.set(e,r);var o=new mn(e,r,this);if(this.destination.next(o),this.durationSelector){var s=void 0;try{s=this.durationSelector(new mn(e,r))}catch(t){return void this.error(t)}this.add(s.subscribe(new yn(e,r,this)))}}r.closed||r.next(i)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach((function(e,n){e.error(t)})),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach((function(t,e){t.complete()})),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(y),yn=function(t){function e(e,n,i){var r=t.call(this,n)||this;return r.key=e,r.group=n,r.parent=i,r}return i.__extends(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this.parent,e=this.key;this.key=this.parent=null,t&&t.removeGroup(e)},e}(y),mn=function(t){function e(e,n,i){var r=t.call(this)||this;return r.key=e,r.groupSubject=n,r.refCountSubscription=i,r}return i.__extends(e,t),e.prototype._subscribe=function(t){var e=new f,n=this.refCountSubscription,i=this.groupSubject;return n&&!n.closed&&e.add(new _n(n)),e.add(i.subscribe(t)),e},e}(C),_n=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,e.count++,n}return i.__extends(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(f);function vn(){return function(t){return t.lift(new gn)}}var gn=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new wn(t))},t}(),wn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype._next=function(t){},e}(y);function xn(){return function(t){return t.lift(new Sn)}}var Sn=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Cn(t))},t}(),Cn=function(t){function e(e){return t.call(this,e)||this}return i.__extends(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(y);function In(t){return function(e){return 0===t?Ct():e.lift(new En(t))}}var En=function(){function t(t){if(this.total=t,this.total<0)throw new Ce}return t.prototype.call=function(t,e){return e.subscribe(new Tn(t,this.total))},t}(),Tn=function(t){function e(e,n){var i=t.call(this,e)||this;return i.total=n,i.ring=new Array,i.count=0,i}return i.__extends(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r<n;r++){var o=e++%n;t.next(i[o])}t.complete()},e}(y);function kn(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?Ie((function(e,n){return t(e,n,i)})):Pt,In(1),n?$t(e):Pe((function(){return new je})))}}function Nn(t){return function(e){return e.lift(new On(t))}}var On=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new Bn(t,this.value))},t}(),Bn=function(t){function e(e,n){var i=t.call(this,e)||this;return i.value=n,i}return i.__extends(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(y);function jn(){return function(t){return t.lift(new Pn)}}var Pn=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Mn(t))},t}(),Mn=function(t){function e(e){return t.call(this,e)||this}return i.__extends(e,t),e.prototype._next=function(t){this.destination.next(ie.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(ie.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(ie.createComplete()),t.complete()},e}(y);function Vn(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new An(t,e,n))}}var An=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new Dn(t,this.accumulator,this.seed,this.hasSeed))},t}(),Dn=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=i,o.hasSeed=r,o.index=0,o}return i.__extends(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(y);function Rn(t,e){return arguments.length>=2?function(n){return x(Vn(t,e),In(1),$t(e))(n)}:function(e){return x(Vn((function(e,n,i){return t(e,n,i+1)})),In(1))(e)}}function zn(t){return Rn("function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e})}function Hn(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,i=null,r=t[t.length-1];return Y(r)?(i=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof r&&(n=t.pop()),null===i&&1===t.length&&t[0]instanceof C?t[0]:Mt(n)(yt(t,i))}function Fn(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(Hn.apply(void 0,[e].concat(t)))}}function Ln(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?Ot((function(){return t}),e,n):("number"==typeof e&&(n=e),Ot((function(){return t}),n))}function Wn(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(i){return i.lift(new Yn(t,e,n))}}var Yn=function(){function t(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new qn(t,this.accumulator,this.seed,this.concurrent))},t}(),qn=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o.accumulator=n,o.acc=i,o.concurrent=r,o.hasValue=!1,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return i.__extends(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,n=this.destination,i=void 0;try{i=(0,this.accumulator)(this.acc,t,e)}catch(t){return n.error(t)}this.active++,this._innerSub(i,t,e)}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,n){var i=new v(this,void 0,void 0);this.destination.add(i),V(this,t,e,n,i)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,i,r){var o=this.destination;this.acc=e,this.hasValue=!0,o.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.destination.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(_);function Un(t){return Rn("function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e})}function Kn(){return function(t){return t.lift(new Gn(t))}}var Gn=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var i=new Xn(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r},t}(),Xn=function(t){function e(e,n){var i=t.call(this,e)||this;return i.connectable=n,i}return i.__extends(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null},e}(y),$n=function(t){function e(e,n){var i=t.call(this)||this;return i.source=e,i.subjectFactory=n,i._refCount=0,i._isComplete=!1,i}return i.__extends(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new f).add(this.source.subscribe(new Qn(this.getSubject(),this))),t.closed?(this._connection=null,t=f.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return Kn()(this)},e}(C).prototype,Zn={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:$n._subscribe},_isComplete:{value:$n._isComplete,writable:!0},getSubject:{value:$n.getSubject},connect:{value:$n.connect},refCount:{value:$n.refCount}},Qn=function(t){function e(e,n){var i=t.call(this,e)||this;return i.connectable=n,i}return i.__extends(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(ln);function Jn(t,e){return function(n){var i;if(i="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new ti(i,e));var r=Object.create(n,Zn);return r.source=n,r.subjectFactory=i,r}}var ti=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,i=this.subjectFactory(),r=n(i).subscribe(t);return r.add(e.subscribe(i)),r},t}();function ei(t,e){return void 0===e&&(e=0),function(n){return n.lift(new ni(t,e))}}var ni=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new ii(t,this.scheduler,this.delay))},t}(),ii=function(t){function e(e,n,i){void 0===i&&(i=0);var r=t.call(this,e)||this;return r.scheduler=n,r.delay=i,r}return i.__extends(e,t),e.dispatch=function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new ri(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(ie.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(ie.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(ie.createComplete()),this.unsubscribe()},e}(y),ri=function(){return function(t,e){this.notification=t,this.destination=e}}();function oi(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&a(t[0])&&(t=t[0]),function(e){return e.lift(new si(t))}}var si=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new ui(t,this.nextSources))},t}(),ui=function(t){function e(e,n){var i=t.call(this,e)||this;return i.destination=e,i.nextSources=n,i}return i.__extends(e,t),e.prototype.notifyError=function(t,e){this.subscribeToNextSource()},e.prototype.notifyComplete=function(t){this.subscribeToNextSource()},e.prototype._error=function(t){this.subscribeToNextSource(),this.unsubscribe()},e.prototype._complete=function(){this.subscribeToNextSource(),this.unsubscribe()},e.prototype.subscribeToNextSource=function(){var t=this.nextSources.shift();if(t){var e=new v(this,void 0,void 0);this.destination.add(e),V(this,t,void 0,void 0,e)}else this.destination.complete()},e}(_);function ci(){return function(t){return t.lift(new ai)}}var ai=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new li(t))},t}(),li=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return i.__extends(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(y);function pi(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}function hi(t,e){return function(n){return[Ie(t,e)(n),Ie(pi(t,e))(n)]}}function fi(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.length;if(0===n)throw new Error("list of properties cannot be empty.");return function(e){return Tt(di(t,n))(e)}}function di(t,e){return function(n){for(var i=n,r=0;r<e;r++){var o=i[t[r]];if(void 0===o)return;i=o}return i}}function bi(t){return t?Jn((function(){return new pn}),t):Jn(new pn)}var yi=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return i.__extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new cn;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(pn);function mi(t){return function(e){return Jn(new yi(t))(e)}}var _i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return i.__extends(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),f.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),f.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(pn);function vi(){return function(t){return Jn(new _i)(t)}}var gi=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return i.__extends(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,i):e.flush(this)},e}(z),wi=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(F))(gi),xi=function(t){function e(e,n,i){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var r=t.call(this)||this;return r.scheduler=i,r._events=[],r._infiniteTimeWindow=!1,r._bufferSize=e<1?1:e,r._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(r._infiniteTimeWindow=!0,r.next=r.nextInfiniteTimeWindow):r.next=r.nextTimeWindow,r}return i.__extends(e,t),e.prototype.nextInfiniteTimeWindow=function(e){var n=this._events;n.push(e),n.length>this._bufferSize&&n.shift(),t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this._events.push(new Si(this._getNow(),e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=i.length;if(this.closed)throw new cn;if(this.isStopped||this.hasError?e=f.EMPTY:(this.observers.push(t),e=new an(this,t)),r&&t.add(t=new ii(t,r)),n)for(var s=0;s<o&&!t.closed;s++)t.next(i[s]);else for(s=0;s<o&&!t.closed;s++)t.next(i[s].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||wi).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,r=i.length,o=0;o<r&&!(t-i[o].time<n);)o++;return r>e&&(o=Math.max(o,r-e)),o>0&&i.splice(0,o),i},e}(pn),Si=function(){return function(t,e){this.time=t,this.value=e}}();function Ci(t,e,n,i){n&&"function"!=typeof n&&(i=n);var r="function"==typeof n?n:void 0,o=new xi(t,e,i);return function(t){return Jn((function(){return o}),r)(t)}}function Ii(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){if(!a(t[0]))return t[0];t=t[0]}return yt(t,void 0).lift(new Ei)}var Ei=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Ti(t))},t}(),Ti=function(t){function e(e){var n=t.call(this,e)||this;return n.hasFirst=!1,n.observables=[],n.subscriptions=[],n}return i.__extends(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var n=0;n<e&&!this.hasFirst;n++){var i=t[n],r=V(this,i,i,n);this.subscriptions&&this.subscriptions.push(r),this.add(r)}this.observables=null}},e.prototype.notifyNext=function(t,e,n,i,r){if(!this.hasFirst){this.hasFirst=!0;for(var o=0;o<this.subscriptions.length;o++)if(o!==n){var s=this.subscriptions[o];s.unsubscribe(),this.remove(s)}this.subscriptions=null}this.destination.next(e)},e}(_);function ki(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return 1===t.length&&a(t[0])&&(t=t[0]),e.lift.call(Ii.apply(void 0,[e].concat(t)))}}function Ni(t){return void 0===t&&(t=-1),function(e){return 0===t?Ct():t<0?e.lift(new Oi(-1,e)):e.lift(new Oi(t-1,e))}}var Oi=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Bi(t,this.count,this.source))},t}(),Bi=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.count=n,r.source=i,r}return i.__extends(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this.source,n=this.count;if(0===n)return t.prototype.complete.call(this);n>-1&&(this.count=n-1),e.subscribe(this._unsubscribeAndRecycle())}},e}(y);function ji(t){return function(e){return e.lift(new Pi(t))}}var Pi=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new Mi(t,this.notifier,e))},t}(),Mi=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.notifier=n,r.source=i,r.sourceIsBeingSubscribedTo=!0,r}return i.__extends(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this._unsubscribe;return this._unsubscribe=null,t.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},e.prototype.subscribeToRetries=function(){var e;this.notifications=new pn;try{e=(0,this.notifier)(this.notifications)}catch(e){return t.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=V(this,e)},e}(_);function Vi(t){return void 0===t&&(t=-1),function(e){return e.lift(new Ai(t,e))}}var Ai=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Di(t,this.count,this.source))},t}(),Di=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.count=n,r.source=i,r}return i.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.source,i=this.count;if(0===i)return t.prototype.error.call(this,e);i>-1&&(this.count=i-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(y);function Ri(t){return function(e){return e.lift(new zi(t,e))}}var zi=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Hi(t,this.notifier,this.source))},t}(),Hi=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.notifier=n,r.source=i,r}return i.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,i=this.retries,r=this.retriesSubscription;if(i)this.errors=null,this.retriesSubscription=null;else{n=new pn;try{i=(0,this.notifier)(n)}catch(e){return t.prototype.error.call(this,e)}r=V(this,i)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=i,this.retriesSubscription=r,n.next(e)}},e.prototype._unsubscribe=function(){var t=this.errors,e=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,i,r){var o=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=o,this.source.subscribe(this)},e}(_);function Fi(t){return function(e){return e.lift(new Li(t))}}var Li=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new Wi(t),i=e.subscribe(n);return i.add(V(n,this.notifier)),i},t}(),Wi=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasValue=!1,e}return i.__extends(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,i,r){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(_);function Yi(t,e){return void 0===e&&(e=L),function(n){return n.lift(new qi(t,e))}}var qi=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new Ui(t,this.period,this.scheduler))},t}(),Ui=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.period=n,r.scheduler=i,r.hasValue=!1,r.add(i.schedule(Ki,n,{subscriber:r,period:n})),r}return i.__extends(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(y);function Ki(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}function Gi(t,e){return function(n){return n.lift(new Xi(t,e))}}var Xi=function(){function t(t,e){this.compareTo=t,this.comparator=e}return t.prototype.call=function(t,e){return e.subscribe(new $i(t,this.compareTo,this.comparator))},t}(),$i=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.compareTo=n,r.comparator=i,r._a=[],r._b=[],r._oneComplete=!1,r.destination.add(n.subscribe(new Zi(e,r))),r}return i.__extends(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},e.prototype.checkValues=function(){for(var t=this._a,e=this._b,n=this.comparator;t.length>0&&e.length>0;){var i=t.shift(),r=e.shift(),o=!1;try{o=n?n(i,r):i===r}catch(t){this.destination.error(t)}o||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e}(y),Zi=function(t){function e(e,n){var i=t.call(this,e)||this;return i.parent=n,i}return i.__extends(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},e}(y);function Qi(){return new pn}function Ji(){return function(t){return Kn()(Jn(Qi)(t))}}function tr(t,e,n){var i;return i=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},function(t){return t.lift(function(t){var e,n,i=t.bufferSize,r=void 0===i?Number.POSITIVE_INFINITY:i,o=t.windowTime,s=void 0===o?Number.POSITIVE_INFINITY:o,u=t.refCount,c=t.scheduler,a=0,l=!1,p=!1;return function(t){a++,e&&!l||(l=!1,e=new xi(r,s,c),n=t.subscribe({next:function(t){e.next(t)},error:function(t){l=!0,e.error(t)},complete:function(){p=!0,e.complete()}}));var i=e.subscribe(this);this.add((function(){a--,i.unsubscribe(),n&&!p&&u&&0===a&&(n.unsubscribe(),n=void 0,e=void 0)}))}}(i))}}function er(t){return function(e){return e.lift(new nr(t,e))}}var nr=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new ir(t,this.predicate,this.source))},t}(),ir=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.predicate=n,r.source=i,r.seenValue=!1,r.index=0,r}return i.__extends(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new je)},e}(y);function rr(t){return function(e){return e.lift(new or(t))}}var or=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new sr(t,this.total))},t}(),sr=function(t){function e(e,n){var i=t.call(this,e)||this;return i.total=n,i.count=0,i}return i.__extends(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(y);function ur(t){return function(e){return e.lift(new cr(t))}}var cr=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new Ce}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new y(t)):e.subscribe(new ar(t,this._skipCount))},t}(),ar=function(t){function e(e,n){var i=t.call(this,e)||this;return i._skipCount=n,i._count=0,i._ring=new Array(n),i}return i.__extends(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{var i=n%e,r=this._ring,o=r[i];r[i]=t,this.destination.next(o)}},e}(y);function lr(t){return function(e){return e.lift(new pr(t))}}var pr=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new hr(t,this.notifier))},t}(),hr=function(t){function e(e,n){var i=t.call(this,e)||this;i.hasValue=!1;var r=new v(i,void 0,void 0);return i.add(r),i.innerSubscription=r,V(i,n,void 0,void 0,r),i}return i.__extends(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype.notifyNext=function(t,e,n,i,r){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()},e.prototype.notifyComplete=function(){},e}(_);function fr(t){return function(e){return e.lift(new dr(t))}}var dr=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new br(t,this.predicate))},t}(),br=function(t){function e(e,n){var i=t.call(this,e)||this;return i.predicate=n,i.skipping=!0,i.index=0,i}return i.__extends(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(y);function yr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];Y(n)?t.pop():n=null;var i=t.length;return At(1!==i||n?i>0?yt(t,n):Ct(n):It(t[0]),e)}}var mr=1,_r={};var vr=function(t){var e=mr++;return _r[e]=t,Promise.resolve().then((function(){return function(t){var e=_r[t];e&&e()}(e)})),e},gr=function(t){delete _r[t]},wr=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return i.__extends(e,t),e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=vr(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,i);0===e.actions.length&&(gr(n),e.scheduled=void 0)},e}(z),xr=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}},e}(F))(wr),Sr=function(t){function e(e,n,i){void 0===n&&(n=0),void 0===i&&(i=xr);var r=t.call(this)||this;return r.source=e,r.delayTime=n,r.scheduler=i,(!W(n)||n<0)&&(r.delayTime=0),i&&"function"==typeof i.schedule||(r.scheduler=xr),r}return i.__extends(e,t),e.create=function(t,n,i){return void 0===n&&(n=0),void 0===i&&(i=xr),new e(t,n,i)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))},e.prototype._subscribe=function(t){var n=this.delayTime,i=this.source;return this.scheduler.schedule(e.dispatch,n,{source:i,subscriber:t})},e}(C);function Cr(t,e){return void 0===e&&(e=0),function(n){return n.lift(new Ir(t,e))}}var Ir=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new Sr(e,this.delay,this.scheduler).subscribe(t)},t}();function Er(t,e){return"function"==typeof e?function(n){return n.pipe(Er((function(n,i){return wt(t(n,i)).pipe(Tt((function(t,r){return e(n,t,i,r)})))})))}:function(e){return e.lift(new Tr(t))}}var Tr=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new kr(t,this.project))},t}(),kr=function(t){function e(e,n){var i=t.call(this,e)||this;return i.project=n,i.index=0,i}return i.__extends(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var i=this.innerSubscription;i&&i.unsubscribe();var r=new v(this,void 0,void 0);this.destination.add(r),this.innerSubscription=V(this,t,e,n,r)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(e)},e}(_);function Nr(){return Er(Pt)}function Or(t,e){return e?Er((function(){return t}),e):Er((function(){return t}))}function Br(t){return function(e){return e.lift(new jr(t))}}var jr=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new Pr(t),i=V(n,this.notifier);return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n},t}(),Pr=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return i.__extends(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(_);function Mr(t,e){return void 0===e&&(e=!1),function(n){return n.lift(new Vr(t,e))}}var Vr=function(){function t(t,e){this.predicate=t,this.inclusive=e}return t.prototype.call=function(t,e){return e.subscribe(new Ar(t,this.predicate,this.inclusive))},t}(),Ar=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.predicate=n,r.inclusive=i,r.index=0,r}return i.__extends(e,t),e.prototype._next=function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(t){return void n.error(t)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())},e}(y),Dr={leading:!0,trailing:!1};function Rr(t,e){return void 0===e&&(e=Dr),function(n){return n.lift(new zr(t,e.leading,e.trailing))}}var zr=function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new Hr(t,this.durationSelector,this.leading,this.trailing))},t}(),Hr=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o.destination=e,o.durationSelector=n,o._leading=i,o._trailing=r,o._hasValue=!1,o}return i.__extends(e,t),e.prototype._next=function(t){this._hasValue=!0,this._sendValue=t,this._throttled||(this._leading?this.send():this.throttle(t))},e.prototype.send=function(){var t=this._hasValue,e=this._sendValue;t&&(this.destination.next(e),this.throttle(e)),this._hasValue=!1,this._sendValue=null},e.prototype.throttle=function(t){var e=this.tryDurationSelector(t);e&&this.add(this._throttled=V(this,e))},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype.throttlingDone=function(){var t=this._throttled,e=this._trailing;t&&t.unsubscribe(),this._throttled=null,e&&this.send()},e.prototype.notifyNext=function(t,e,n,i,r){this.throttlingDone()},e.prototype.notifyComplete=function(){this.throttlingDone()},e}(_);function Fr(t,e,n){return void 0===e&&(e=L),void 0===n&&(n=Dr),function(i){return i.lift(new Lr(t,e,n.leading,n.trailing))}}var Lr=function(){function t(t,e,n,i){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=i}return t.prototype.call=function(t,e){return e.subscribe(new Wr(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),Wr=function(t){function e(e,n,i,r,o){var s=t.call(this,e)||this;return s.duration=n,s.scheduler=i,s.leading=r,s.trailing=o,s._hasTrailingValue=!1,s._trailingValue=null,s}return i.__extends(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(Yr,this.duration,{subscriber:this})),this.leading&&this.destination.next(t))},e.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(y);function Yr(t){t.subscriber.clearThrottle()}function qr(t){return void 0===t&&(t=L),function(e){return n=function(){return e.pipe(Vn((function(e,n){var i=e.current;return{value:n,current:t.now(),last:i}}),{current:t.now(),value:void 0,last:void 0}),Tt((function(t){var e=t.current,n=t.last,i=t.value;return new Ur(i,e-n)})))},new C((function(t){var e;try{e=n()}catch(e){return void t.error(e)}return(e?wt(e):Ct()).subscribe(t)}));var n}}var Ur=function(){return function(t,e){this.value=t,this.interval=e}}();function Kr(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}Kr.prototype=Object.create(Error.prototype);var Gr=Kr;function Xr(t,e,n){return void 0===n&&(n=L),function(i){var r=te(t),o=r?+t-n.now():Math.abs(t);return i.lift(new $r(o,r,e,n))}}var $r=function(){function t(t,e,n,i){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new Zr(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),Zr=function(t){function e(e,n,i,r,o){var s=t.call(this,e)||this;return s.absoluteTimeout=n,s.waitFor=i,s.withObservable=r,s.scheduler=o,s.action=null,s.scheduleTimeout(),s}return i.__extends(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(V(t,e))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(_);function Qr(t,e){return void 0===e&&(e=L),Xr(t,ee(new Gr),e)}function Jr(t){return void 0===t&&(t=L),Tt((function(e){return new to(e,t.now())}))}var to=function(){return function(t,e){this.value=t,this.timestamp=e}}();function eo(t,e,n){return 0===n?[e]:(t.push(e),t)}function no(){return Rn(eo,[])}function io(t){return function(e){return e.lift(new ro(t))}}var ro=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new oo(t),i=e.subscribe(n);return i.closed||n.add(V(n,this.windowBoundaries)),i},t}(),oo=function(t){function e(e){var n=t.call(this,e)||this;return n.window=new pn,e.next(n.window),n}return i.__extends(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.openWindow()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new pn;e.next(n)},e}(_);function so(t,e){return void 0===e&&(e=0),function(n){return n.lift(new uo(t,e))}}var uo=function(){function t(t,e){this.windowSize=t,this.startWindowEvery=e}return t.prototype.call=function(t,e){return e.subscribe(new co(t,this.windowSize,this.startWindowEvery))},t}(),co=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.destination=e,r.windowSize=n,r.startWindowEvery=i,r.windows=[new pn],r.count=0,e.next(r.windows[0]),r}return i.__extends(e,t),e.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,i=this.windowSize,r=this.windows,o=r.length,s=0;s<o&&!this.closed;s++)r[s].next(t);var u=this.count-i+1;if(u>=0&&u%e==0&&!this.closed&&r.shift().complete(),++this.count%e==0&&!this.closed){var c=new pn;r.push(c),n.next(c)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(y);function ao(t){var e=L,n=null,i=Number.POSITIVE_INFINITY;return Y(arguments[3])&&(e=arguments[3]),Y(arguments[2])?e=arguments[2]:W(arguments[2])&&(i=arguments[2]),Y(arguments[1])?e=arguments[1]:W(arguments[1])&&(n=arguments[1]),function(r){return r.lift(new lo(t,n,i,e))}}var lo=function(){function t(t,e,n,i){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=i}return t.prototype.call=function(t,e){return e.subscribe(new ho(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),po=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._numberOfNextedValues=0,e}return i.__extends(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(pn),ho=function(t){function e(e,n,i,r,o){var s=t.call(this,e)||this;s.destination=e,s.windowTimeSpan=n,s.windowCreationInterval=i,s.maxWindowSize=r,s.scheduler=o,s.windows=[];var u=s.openWindow();if(null!==i&&i>=0){var c={subscriber:s,window:u,context:null},a={windowTimeSpan:n,windowCreationInterval:i,subscriber:s,scheduler:o};s.add(o.schedule(yo,n,c)),s.add(o.schedule(bo,i,a))}else{var l={subscriber:s,window:u,windowTimeSpan:n};s.add(o.schedule(fo,n,l))}return s}return i.__extends(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,i=0;i<n;i++){var r=e[i];r.closed||(r.next(t),r.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(r))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new po;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(y);function fo(t){var e=t.subscriber,n=t.windowTimeSpan,i=t.window;i&&e.closeWindow(i),t.window=e.openWindow(),this.schedule(t,n)}function bo(t){var e=t.windowTimeSpan,n=t.subscriber,i=t.scheduler,r=t.windowCreationInterval,o=n.openWindow(),s={action:this,subscription:null},u={subscriber:n,window:o,context:s};s.subscription=i.schedule(yo,e,u),this.add(s.subscription),this.schedule(t,r)}function yo(t){var e=t.subscriber,n=t.window,i=t.context;i&&i.action&&i.subscription&&i.action.remove(i.subscription),e.closeWindow(n)}function mo(t,e){return function(n){return n.lift(new _o(t,e))}}var _o=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new vo(t,this.openings,this.closingSelector))},t}(),vo=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.openings=n,r.closingSelector=i,r.contexts=[],r.add(r.openSubscription=V(r,n,n)),r}return i.__extends(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,i=0;i<n;i++)e[i].window.next(t)},e.prototype._error=function(e){var n=this.contexts;if(this.contexts=null,n)for(var i=n.length,r=-1;++r<i;){var o=n[r];o.window.error(e),o.subscription.unsubscribe()}t.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var n=e.length,i=-1;++i<n;){var r=e[i];r.window.complete(),r.subscription.unsubscribe()}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,n=-1;++n<e;){var i=t[n];i.window.unsubscribe(),i.subscription.unsubscribe()}},e.prototype.notifyNext=function(t,e,n,i,r){if(t===this.openings){var o=void 0;try{o=(0,this.closingSelector)(e)}catch(t){return this.error(t)}var s=new pn,u=new f,c={window:s,subscription:u};this.contexts.push(c);var a=V(this,o,c);a.closed?this.closeWindow(this.contexts.length-1):(a.context=c,u.add(a)),this.destination.next(s)}else this.closeWindow(this.contexts.indexOf(t))},e.prototype.notifyError=function(t){this.error(t)},e.prototype.notifyComplete=function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))},e.prototype.closeWindow=function(t){if(-1!==t){var e=this.contexts,n=e[t],i=n.window,r=n.subscription;e.splice(t,1),i.complete(),r.unsubscribe()}},e}(_);function go(t){return function(e){return e.lift(new wo(t))}}var wo=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new xo(t,this.closingSelector))},t}(),xo=function(t){function e(e,n){var i=t.call(this,e)||this;return i.destination=e,i.closingSelector=n,i.openWindow(),i}return i.__extends(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.openWindow(r)},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this.openWindow(t)},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()},e.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},e.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},e.prototype.openWindow=function(t){void 0===t&&(t=null),t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var n,i=this.window=new pn;this.destination.next(i);try{n=(0,this.closingSelector)()}catch(t){return this.destination.error(t),void this.window.error(t)}this.add(this.closingNotification=V(this,n))},e}(_);function So(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n;"function"==typeof t[t.length-1]&&(n=t.pop());var i=t;return e.lift(new Co(i,n))}}var Co=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new Io(t,this.observables,this.project))},t}(),Io=function(t){function e(e,n,i){var r=t.call(this,e)||this;r.observables=n,r.project=i,r.toRespond=[];var o=n.length;r.values=new Array(o);for(var s=0;s<o;s++)r.toRespond.push(s);for(s=0;s<o;s++){var u=n[s];r.add(V(r,u,u,s))}return r}return i.__extends(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.values[n]=e;var o=this.toRespond;if(o.length>0){var s=o.indexOf(n);-1!==s&&o.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(_);function Eo(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return"function"==typeof n&&t.pop(),yt(t,void 0).lift(new To(n))}var To=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new ko(t,this.resultSelector))},t}(),ko=function(t){function e(e,n,i){void 0===i&&(i=Object.create(null));var r=t.call(this,e)||this;return r.iterators=[],r.active=0,r.resultSelector="function"==typeof n?n:null,r.values=i,r}return i.__extends(e,t),e.prototype._next=function(t){var e=this.iterators;a(t)?e.push(new Oo(t)):"function"==typeof t[N]?e.push(new No(t[N]())):e.push(new Bo(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(var n=0;n<e;n++){var i=t[n];if(i.stillUnsubscribed)this.destination.add(i.subscribe(i,n));else this.active--}}else this.destination.complete()},e.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,n=this.destination,i=0;i<e;i++){if("function"==typeof(s=t[i]).hasValue&&!s.hasValue())return}var r=!1,o=[];for(i=0;i<e;i++){var s,u=(s=t[i]).next();if(s.hasCompleted()&&(r=!0),u.done)return void n.complete();o.push(u.value)}this.resultSelector?this._tryresultSelector(o):n.next(o),r&&n.complete()},e.prototype._tryresultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(y),No=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return t&&t.done},t}(),Oo=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[N]=function(){return this},t.prototype.next=function(t){var e=this.index++,n=this.array;return e<this.length?{value:n[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),Bo=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.parent=n,r.observable=i,r.stillUnsubscribed=!0,r.buffer=[],r.isComplete=!1,r}return i.__extends(e,t),e.prototype[N]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return V(this,this.observable,this,e)},e}(_);function jo(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(Eo.apply(void 0,[e].concat(t)))}}function Po(t){return function(e){return e.lift(new To(t))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(11);e.AppBarComponent=i.AppBarComponent;var r=n(12);e.AppBarSectionComponent=r.AppBarSectionComponent;var o=n(13);e.AppBarSpacerComponent=o.AppBarSpacerComponent;var s=n(14);e.AppBarModule=s.AppBarModule;var u=n(25);e.NavigationModule=u.NavigationModule;var c=n(16);e.BreadCrumbComponent=c.BreadCrumbComponent;var a=n(10);e.BreadCrumbItemTemplateDirective=a.BreadCrumbItemTemplateDirective;var l=n(15);e.BreadCrumbModule=l.BreadCrumbModule;var p=n(21);e.BottomNavigationComponent=p.BottomNavigationComponent;var h=n(5);e.BottomNavigationItemTemplateDirective=h.BottomNavigationItemTemplateDirective;var f=n(22);e.BottomNavigationSelectEvent=f.BottomNavigationSelectEvent;var d=n(20);e.BottomNavigationModule=d.BottomNavigationModule},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(14),s=n(15),u=n(20),c=function(){function t(){}return t=i.__decorate([r.NgModule({exports:[o.AppBarModule,s.BreadCrumbModule,u.BottomNavigationModule]})],t)}();e.NavigationModule=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BREADCRUMB_ITEM_INDEX="data-kendo-breadcrumb-index"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t.item.context.collapsed};e.collapsed=function(t){return!0===i(t)},e.expanded=function(t){return!1===i(t)};var r=function(t){return function(e){return e.find((function(e){return i(e)===t})).item.context.collapsed=!t}};e.collapseFirst=r(!1),e.expandFirst=r(!0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(2),s=n(4),u=function(){function t(t,e){this.el=t,this.localization=e,this.defaultClasses=!0,this.ariaHidden=!0,this.direction="ltr",this.direction=this.localization.rtl?"rtl":"ltr"}return Object.defineProperty(t.prototype,"icon",{get:function(){return this._icon},set:function(t){var e=this.el.nativeElement;e.classList.remove("k-i-"+this._icon),o.isPresent(t)?(this._icon=t,this.hasDefaultIcon=!1):(this._icon="ltr"===this.direction?"arrow-chevron-right":"arrow-chevron-left",this.hasDefaultIcon=!0),e.classList.add("k-i-"+this._icon)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.localizationChangesSubscription=this.localization.changes.subscribe((function(e){var n=e.rtl;t.direction=n?"rtl":"ltr",t.hasDefaultIcon&&(t.icon=void 0)}))},t.prototype.ngOnDestroy=function(){this.localizationChangesSubscription.unsubscribe()},i.__decorate([r.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],t.prototype,"icon",null),i.__decorate([r.HostBinding("class.k-breadcrumb-delimiter-icon"),r.HostBinding("class.k-icon"),i.__metadata("design:type",Boolean)],t.prototype,"defaultClasses",void 0),i.__decorate([r.HostBinding("attr.aria-hidden"),i.__metadata("design:type",Boolean)],t.prototype,"ariaHidden",void 0),t=i.__decorate([r.Directive({selector:"[kendoBreadCrumbSeparator]"}),i.__metadata("design:paramtypes",[r.ElementRef,s.LocalizationService])],t)}();e.BreadCrumbSeparatorDirective=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(5),o=n(1),s=function(){function t(){}return Object.defineProperty(t.prototype,"disabledClass",{get:function(){return this.item.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"horizontalItemClass",{get:function(){return"horizontal"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"verticalItemClass",{get:function(){return"vertical"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"label",{get:function(){return this.item.text?this.item.text:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabindex",{get:function(){return this.item.tabIndex?this.item.tabIndex:0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedClass",{get:function(){return this.selectedIdx?this.selectedIdx===this.index:this.item.selected},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"itemIcon",{get:function(){return!(!this.item.icon&&!this.item.iconClass)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClasses",{get:function(){return(this.item.icon?"k-icon k-i-"+this.item.icon:"")+" "+(this.item.iconClass?this.item.iconClass:"")},enumerable:!0,configurable:!0}),i.__decorate([o.Input(),i.__metadata("design:type",r.BottomNavigationItemTemplateDirective)],t.prototype,"itemTemplate",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"item",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Number)],t.prototype,"index",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],t.prototype,"disabledComponent",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Number)],t.prototype,"selectedIdx",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"orientation",void 0),i.__decorate([o.HostBinding("attr.aria-disabled"),o.HostBinding("class.k-state-disabled"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"disabledClass",null),i.__decorate([o.HostBinding("class.k-hstack"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"horizontalItemClass",null),i.__decorate([o.HostBinding("class.k-vstack"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"verticalItemClass",null),i.__decorate([o.HostBinding("attr.aria-label"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],t.prototype,"label",null),i.__decorate([o.HostBinding("attr.tabindex"),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[])],t.prototype,"tabindex",null),i.__decorate([o.HostBinding("attr.aria-selected"),o.HostBinding("class.k-state-selected"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"selectedClass",null),t=i.__decorate([o.Component({selector:"[kendoBottomNavigationItem]",template:'\n <ng-container *ngIf="!itemTemplate">\n <span *ngIf="itemIcon" class="k-bottom-nav-item-icon" [ngClass]="iconClasses"></span>\n <span *ngIf="item.text" class="k-bottom-nav-item-text">{{item.text}}</span>\n </ng-container>\n <ng-template *ngIf="itemTemplate"\n [ngTemplateOutlet]="itemTemplate?.templateRef"\n [ngTemplateOutletContext]="{ $implicit: item }">\n </ng-template>\n '})],t)}();e.BottomNavigationItemComponent=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){this.prevented=!1,Object.assign(this,t)}return t.prototype.preventDefault=function(){this.prevented=!0},t.prototype.isDefaultPrevented=function(){return this.prevented},t}();e.PreventableEvent=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BOTTOMNAVIGATION_ITEM_INDEX="data-kendo-bottomnavigation-index",e.colors=["primary","secondary","tertiary","info","success","warning","error","dark","light","inverse"]}])}));