@progress/kendo-angular-common 2.0.2-dev.202111011243 → 2.0.3

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("rxjs/operators")):"function"==typeof define&&define.amd?define(["@angular/core","rxjs","@angular/common","rxjs/operators"],t):"object"==typeof exports?exports.KendoAngularCommon=t(require("@angular/core"),require("rxjs"),require("@angular/common"),require("rxjs/operators")):e.KendoAngularCommon=t(e["@angular/core"],e.rxjs,e["@angular/common"],e["rxjs/operators"])}(window,(function(e,t,n,r){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},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=18)}([function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return i})),n.d(t,"__assign",(function(){return o})),n.d(t,"__rest",(function(){return s})),n.d(t,"__decorate",(function(){return u})),n.d(t,"__param",(function(){return a})),n.d(t,"__metadata",(function(){return c})),n.d(t,"__awaiter",(function(){return l})),n.d(t,"__generator",(function(){return d})),n.d(t,"__createBinding",(function(){return f})),n.d(t,"__exportStar",(function(){return p})),n.d(t,"__values",(function(){return h})),n.d(t,"__read",(function(){return v})),n.d(t,"__spread",(function(){return y})),n.d(t,"__spreadArrays",(function(){return _})),n.d(t,"__await",(function(){return m})),n.d(t,"__asyncGenerator",(function(){return b})),n.d(t,"__asyncDelegator",(function(){return g})),n.d(t,"__asyncValues",(function(){return O})),n.d(t,"__makeTemplateObject",(function(){return S})),n.d(t,"__importStar",(function(){return w})),n.d(t,"__importDefault",(function(){return P})),n.d(t,"__classPrivateFieldGet",(function(){return E})),n.d(t,"__classPrivateFieldSet",(function(){return D}));
5
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@angular/core"),require("rxjs"),require("@angular/common")):"function"==typeof define&&define.amd?define([,,],e):"object"==typeof exports?exports.KendoAngularCommon=e(require("@angular/core"),require("rxjs"),require("@angular/common")):t.KendoAngularCommon=e(t.ng.core,t.rxjs,t.ng.common)}(window,(function(t,e,n){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=18)}([function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",(function(){return i})),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 h})),n.d(e,"__generator",(function(){return l})),n.d(e,"__createBinding",(function(){return f})),n.d(e,"__exportStar",(function(){return p})),n.d(e,"__values",(function(){return d})),n.d(e,"__read",(function(){return b})),n.d(e,"__spread",(function(){return v})),n.d(e,"__spreadArrays",(function(){return y})),n.d(e,"__await",(function(){return _})),n.d(e,"__asyncGenerator",(function(){return m})),n.d(e,"__asyncDelegator",(function(){return w})),n.d(e,"__asyncValues",(function(){return x})),n.d(e,"__makeTemplateObject",(function(){return g})),n.d(e,"__importStar",(function(){return S})),n.d(e,"__importDefault",(function(){return E})),n.d(e,"__classPrivateFieldGet",(function(){return C})),n.d(e,"__classPrivateFieldSet",(function(){return O}));
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 r=function(e,t){return(r=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 i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function u(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function a(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{a(r.next(e))}catch(e){o(e)}}function u(e){try{a(r.throw(e))}catch(e){o(e)}}function a(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,u)}a((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[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,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}function f(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function p(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function y(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function _(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,u=o.length;s<u;s++,i++)r[i]=o[s];return r}function m(e){return this instanceof m?(this.v=e,this):new m(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||u(e,t)}))})}function u(e,t){try{(n=i[e](t)).value instanceof m?Promise.resolve(n.value.v).then(a,c):l(o[0][2],n)}catch(e){l(o[0][3],e)}var n}function a(e){u("next",e)}function c(e){u("throw",e)}function l(e,t){e(t),o.shift(),o.length&&u(o[0][0],o[0][1])}}function g(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:m(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function O(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}}function S(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(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 P(e){return e&&e.__esModule?e:{default:e}}function E(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function D(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(t,n){t.exports=e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20);t.isDocumentAvailable=r.isDocumentAvailable;var i=n(7);t.isChanged=i.isChanged;var o=n(21);t.anyChanged=o.anyChanged;var s=n(22);t.hasObservers=s.hasObservers;var u=n(23);t.guid=u.guid},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findElement=function(e,n,r){if(void 0===r&&(r=!0),e){if(r&&n(e))return e;for(e=e.firstChild;e;){if(1===e.nodeType){var i=t.findElement(e,n);if(i)return i}e=e.nextSibling}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9),i=n(10);t.isFocusableWithTabKey=function(e,t){if(void 0===t&&(t=!0),!r.isFocusable(e))return!1;var n=e.getAttribute("tabIndex");return(!t||i.isVisible(e))&&"-1"!==n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(16),s=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=o.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,r=0;r<n;r++)if(t[r].instance===e)return t.splice(r,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=r.__decorate([i.Injectable(),r.__metadata("design:paramtypes",[i.NgZone])],e)}();t.ResizeBatchService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(2),s=n(24),u=function(){function e(e,t){this.element=e,this.ngZone=t,this.enableDrag=!0,this.kendoPress=new i.EventEmitter,this.kendoDrag=new i.EventEmitter,this.kendoRelease=new i.EventEmitter}return e.prototype.ngOnInit=function(){this.toggleDraggable()},e.prototype.ngOnChanges=function(e){o.isChanged("enableDrag",e)&&this.toggleDraggable()},e.prototype.ngOnDestroy=function(){this.destroyDraggable()},e.prototype.toggleDraggable=function(){var e=this;o.isDocumentAvailable()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new s.default({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)},r.__decorate([i.Input(),r.__metadata("design:type",Boolean)],e.prototype,"enableDrag",void 0),r.__decorate([i.Output(),r.__metadata("design:type",i.EventEmitter)],e.prototype,"kendoPress",void 0),r.__decorate([i.Output(),r.__metadata("design:type",i.EventEmitter)],e.prototype,"kendoDrag",void 0),r.__decorate([i.Output(),r.__metadata("design:type",i.EventEmitter)],e.prototype,"kendoRelease",void 0),e=r.__decorate([i.Directive({selector:"[kendoDraggable]"}),r.__metadata("design:paramtypes",[i.ElementRef,i.NgZone])],e)}();t.DraggableDirective=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isChanged=function(e,t,n){return void 0===n&&(n=!0),!(void 0===t[e]||t[e].isFirstChange()&&n||t[e].previousValue===t[e].currentValue)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closest=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=/^(?:a|input|select|option|textarea|button|object)$/i;t.isFocusable=function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase(),n=Boolean(e.getAttribute("tabIndex"));return!e.disabled&&r.test(t)||n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVisible=function(e){var t=e.getBoundingClientRect(),n=t.width>0&&t.height>0,r=0!==t.x&&0!==t.y;return(n||r)&&"hidden"!==window.getComputedStyle(e).visibility}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return String(e).trim().split(" ")};t.hasClasses=function(e,t){var n=r(t);return Boolean(r(e.className).find((function(e){return n.indexOf(e)>=0})))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=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}},r.__decorate([i.Input("kendoEventsOutsideAngular"),r.__metadata("design:type",Object)],e.prototype,"events",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],e.prototype,"scope",void 0),e=r.__decorate([i.Directive({selector:"[kendoEventsOutsideAngular]"}),r.__metadata("design:paramtypes",[i.ElementRef,i.NgZone,i.Renderer2])],e)}();t.EventsOutsideAngularDirective=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(38),s=n(14),u=n(17),a=n(5),c=function(){function e(e,t,n){var r=this;this.rateLimit=10,this.resize=new i.EventEmitter;var a=u.ResizeObserverService.supported()?u.ResizeObserverService:s.ResizeCompatService;this.resizeService=new a(e,t,n);var c=1e3/(this.rateLimit||10);this.subscription=this.resizeService.resize.pipe(o.auditTime(c)).subscribe((function(){r.resizeService.acceptedSize||r.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)},r.__decorate([i.Input(),r.__metadata("design:type",Number)],e.prototype,"rateLimit",void 0),r.__decorate([i.Output(),r.__metadata("design:type",i.EventEmitter)],e.prototype,"resize",void 0),e=r.__decorate([i.Component({selector:"kendo-resize-sensor",template:""}),r.__metadata("design:paramtypes",[a.ResizeBatchService,i.ElementRef,i.NgZone])],e)}();t.ResizeSensorComponent=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(15),o=n(16),s=function(e){var t=document.createElement("div");return t.style.cssText=e,t},u="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",a=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.element=n,i.ngZone=r,i}return r.__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=u,e.setAttribute("dir","ltr"),this.expand=s(u),this.expandChild=s("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),e.appendChild(this.expand),this.shrink=s(u);var t=s("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=o.merge(o.fromEvent(e.shrink,"scroll"),o.fromEvent(e.expand,"scroll")).subscribe((function(){e.checkSize()}))}))},t}(i.ResizeService);t.ResizeCompatService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(2),o=function(){function e(e){this.resizeBatchService=e,this.resize=new r.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(){i.isDocumentAvailable()&&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}();t.ResizeService=o},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(15),o="undefined"!=typeof ResizeObserver,s=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.element=n,i.ngZone=r,i}return r.__extends(t,e),t.supported=function(){return o},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}(i.ResizeService);t.ResizeObserverService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);r.__exportStar(n(19),t),r.__exportStar(n(27),t),r.__exportStar(n(35),t),r.__exportStar(n(37),t),r.__exportStar(n(40),t),r.__exportStar(n(2),t),r.__exportStar(n(41),t);var i=n(43);t.PreventableEvent=i.PreventableEvent},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6);t.DraggableDirective=r.DraggableDirective;var i=n(25);t.DraggableModule=i.DraggableModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDocumentAvailable=function(){return"undefined"!=typeof document}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7);t.anyChanged=function(e,t,n){return void 0===n&&(n=!0),e.some((function(e){return r.isChanged(e,t,n)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasObservers=function(e){return e&&e.observers.length>0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.guid=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}},function(e,t,n){"use strict";n.r(t),n.d(t,"Draggable",(function(){return l}));var r=function(e,t){return function(n){return t(e(n))}},i=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},o=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},s=function(){},u=function(e){return e.preventDefault()},a=/touch/;function c(e){return e.type.match(a)?{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 l=function(e){var t=this,n=e.press;void 0===n&&(n=s);var a=e.drag;void 0===a&&(a=s);var l=e.release;void 0===l&&(l=s);var d=e.mouseOnly;void 0===d&&(d=!1),this._pressHandler=r(c,n),this._dragHandler=r(c,a),this._releaseHandler=r(c,l),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||(i(t.document,"mousemove",t._mousemove),i(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){o(t.document,"mousemove",t._mousemove),o(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(i(t.document,"pointermove",t._pointermove),i(t.document,"pointerup",t._pointerup),i(t.document,"pointercancel",t._pointerup),i(t.document,"contextmenu",u),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(o(t.document,"pointermove",t._pointermove),o(t.document,"pointerup",t._pointerup),o(t.document,"pointercancel",t._pointerup),o(t.document,"contextmenu",u),t._releaseHandler(e))}},d={document:{configurable:!0}};l.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},d.document.get=function(){return this._element?this._element.ownerDocument:document},l.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},l.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?i(e,"pointerdown",this._pointerdown):(i(e,"mousedown",this._mousedown),this._mouseOnly||(i(e,"touchstart",this._touchstart),i(e,"touchmove",this._touchmove),i(e,"touchend",this._touchend)))},l.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return o(e,"pointerdown",this._pointerdown),o(this.document,"pointermove",this._pointermove),o(this.document,"pointerup",this._pointerup),o(this.document,"contextmenu",u),void o(this.document,"pointercancel",this._pointerup);o(e,"mousedown",this._mousedown),this._mouseOnly||(o(e,"touchstart",this._touchstart),o(e,"touchmove",this._touchmove),o(e,"touchend",this._touchend))},l.prototype._usePointers=function(){return!this._mouseOnly&&l.supportPointerEvent()},l.prototype.update=function(e){var t=e.press;void 0===t&&(t=s);var n=e.drag;void 0===n&&(n=s);var i=e.release;void 0===i&&(i=s);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=r(c,t),this._dragHandler=r(c,n),this._releaseHandler=r(c,i),this._mouseOnly=o},l.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(l.prototype,d),l.default=l,t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(6),s=n(26),u=function(){function e(){}return e=r.__decorate([i.NgModule({declarations:[o.DraggableDirective],exports:[o.DraggableDirective],imports:[s.CommonModule]})],e)}();t.DraggableModule=u},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(28);t.closestInScope=r.closestInScope;var i=n(8);t.closest=i.closest;var o=n(29);t.contains=o.contains;var s=n(3);t.findElement=s.findElement;var u=n(30);t.findFocusableChild=u.findFocusableChild;var a=n(31);t.findFocusable=a.findFocusable;var c=n(11);t.hasClasses=c.hasClasses;var l=n(4);t.isFocusableWithTabKey=l.isFocusableWithTabKey;var d=n(9);t.isFocusable=d.isFocusable;var f=n(10);t.isVisible=f.isVisible;var p=n(32);t.matchesClasses=p.matchesClasses;var h=n(33);t.matchesNodeName=h.matchesNodeName;var v=n(34);t.rtlScrollPosition=v.rtlScrollPosition},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closestInScope=function(e,t,n){for(;e&&e!==n&&!t(e);)e=e.parentNode;if(e!==n)return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8);t.contains=function(e,t,n){if(void 0===n&&(n=!1),!r.closest(t,(function(t){return t===e})))return!1;var i=r.closest(t,(function(e){return e===t}));return i&&(n||i!==e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=n(4);t.findFocusableChild=function(e,t){return void 0===t&&(t=!0),r.findElement(e,(function(e){return i.isFocusableWithTabKey(e,t)}),!1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=n(4);t.findFocusable=function(e,t){return void 0===t&&(t=!0),r.findElement(e,(function(e){return i.isFocusableWithTabKey(e,t)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11);t.matchesClasses=function(e){return function(t){return r.hasClasses(t,e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={};t.matchesNodeName=function(e){return r[e]||(r[e]=function(t){return String(t.nodeName).toLowerCase()===e.toLowerCase()}),r[e]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rtlScrollPosition=function(e,t,n){var r=e;return n<0?r=-e:n>0&&(r=t.scrollWidth-t.offsetWidth-e),r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12);t.EventsOutsideAngularDirective=r.EventsOutsideAngularDirective;var i=n(36);t.EventsModule=i.EventsModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(12),s=function(){function e(){}return e=r.__decorate([i.NgModule({declarations:[o.EventsOutsideAngularDirective],exports:[o.EventsOutsideAngularDirective]})],e)}();t.EventsModule=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13);t.ResizeSensorComponent=r.ResizeSensorComponent;var i=n(5);t.ResizeBatchService=i.ResizeBatchService;var o=n(14);t.ResizeCompatService=o.ResizeCompatService;var s=n(17);t.ResizeObserverService=s.ResizeObserverService;var u=n(39);t.ResizeSensorModule=u.ResizeSensorModule},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(13),s=n(5),u=[o.ResizeSensorComponent],a=function(){function e(){}return e=r.__decorate([i.NgModule({declarations:[u],exports:[u],providers:[s.ResizeBatchService]})],e)}();t.ResizeSensorModule=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){};t.KendoInput=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(42);t.Keys=r.Keys},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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"}(t.Keys||(t.Keys={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.prevented=!1}return e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}();t.PreventableEvent=r}])}));
20
+ var r=function(t,e){return(r=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 i(t,e){function n(){this.constructor=t}r(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,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function u(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(i=t[u])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function c(t,e){return function(n,r){e(n,r,t)}}function a(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function h(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{c(r.next(t))}catch(t){o(t)}}function u(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,u)}c((r=r.apply(t,e||[])).next())}))}function l(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[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,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}function f(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}function p(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],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],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 r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function v(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(b(arguments[e]));return t}function y(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,u=o.length;s<u;s++,i++)r[i]=o[s];return r}function _(t){return this instanceof _?(this.v=t,this):new _(t)}function m(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(t){i[t]&&(r[t]=function(e){return new Promise((function(n,r){o.push([t,e,n,r])>1||u(t,e)}))})}function u(t,e){try{(n=i[t](e)).value instanceof _?Promise.resolve(n.value.v).then(c,a):h(o[0][2],n)}catch(t){h(o[0][3],t)}var n}function c(t){u("next",t)}function a(t){u("throw",t)}function h(t,e){t(e),o.shift(),o.length&&u(o[0][0],o[0][1])}}function w(t){var e,n;return e={},r("next"),r("throw",(function(t){throw t})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:_(t[r](e)),done:"return"===r}:i?i(e):e}:i}}function x(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={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,i){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)})(r,i,(e=t[n](e)).done,e.value)}))}}}function g(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 E(t){return t&&t.__esModule?t:{default:t}}function C(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function O(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});var r=n(20);e.isDocumentAvailable=r.isDocumentAvailable;var i=n(7);e.isChanged=i.isChanged;var o=n(21);e.anyChanged=o.anyChanged;var s=n(22);e.hasObservers=s.hasObservers;var u=n(23);e.guid=u.guid},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findElement=function(t,n,r){if(void 0===r&&(r=!0),t){if(r&&n(t))return t;for(t=t.firstChild;t;){if(1===t.nodeType){var i=e.findElement(t,n);if(i)return i}t=t.nextSibling}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(9),i=n(10);e.isFocusableWithTabKey=function(t,e){if(void 0===e&&(e=!0),!r.isFocusable(t))return!1;var n=t.getAttribute("tabIndex");return(!e||i.isVisible(t))&&"-1"!==n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(16),s=function(){function t(t){this.ngZone=t,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}return t.prototype.schedule=function(t,e){var n=this;this.scheduled.push({instance:t,method:e}),this.subscription||this.ngZone.runOutsideAngular((function(){n.subscription=o.from(n.resolvedPromise).subscribe(n.flush)}))},t.prototype.isScheduled=function(t){return Boolean(this.scheduled.find((function(e){return e.instance===t})))},t.prototype.cancel=function(t){for(var e=this.scheduled,n=e.length,r=0;r<n;r++)if(e[r].instance===t)return e.splice(r,1),void(e.length||this.unsubscribe())},t.prototype.ngOnDestroy=function(){this.unsubscribe()},t.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},t.prototype.flush=function(){this.scheduled.forEach((function(t){t.method.call(t.instance)})),this.scheduled=[],this.unsubscribe()},t=r.__decorate([i.Injectable(),r.__metadata("design:paramtypes",[i.NgZone])],t)}();e.ResizeBatchService=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(2),s=n(24),u=function(){function t(t,e){this.element=t,this.ngZone=e,this.enableDrag=!0,this.kendoPress=new i.EventEmitter,this.kendoDrag=new i.EventEmitter,this.kendoRelease=new i.EventEmitter}return t.prototype.ngOnInit=function(){this.toggleDraggable()},t.prototype.ngOnChanges=function(t){o.isChanged("enableDrag",t)&&this.toggleDraggable()},t.prototype.ngOnDestroy=function(){this.destroyDraggable()},t.prototype.toggleDraggable=function(){var t=this;o.isDocumentAvailable()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new s.default({drag:function(e){return t.kendoDrag.next(e)},press:function(e){return t.kendoPress.next(e)},release:function(e){return t.kendoRelease.next(e)}}),this.ngZone.runOutsideAngular((function(){return t.draggable.bindTo(t.element.nativeElement)}))))},t.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},r.__decorate([i.Input(),r.__metadata("design:type",Boolean)],t.prototype,"enableDrag",void 0),r.__decorate([i.Output(),r.__metadata("design:type",i.EventEmitter)],t.prototype,"kendoPress",void 0),r.__decorate([i.Output(),r.__metadata("design:type",i.EventEmitter)],t.prototype,"kendoDrag",void 0),r.__decorate([i.Output(),r.__metadata("design:type",i.EventEmitter)],t.prototype,"kendoRelease",void 0),t=r.__decorate([i.Directive({selector:"[kendoDraggable]"}),r.__metadata("design:paramtypes",[i.ElementRef,i.NgZone])],t)}();e.DraggableDirective=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isChanged=function(t,e,n){return void 0===n&&(n=!0),!(void 0===e[t]||e[t].isFirstChange()&&n||e[t].previousValue===e[t].currentValue)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.closest=function(t,e){for(;t&&!e(t);)t=t.parentNode;return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=/^(?:a|input|select|option|textarea|button|object)$/i;e.isFocusable=function(t){if(!t.tagName)return!1;var e=t.tagName.toLowerCase(),n=Boolean(t.getAttribute("tabIndex"));return!t.disabled&&r.test(e)||n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isVisible=function(t){var e=t.getBoundingClientRect(),n=e.width>0&&e.height>0,r=0!==e.x&&0!==e.y;return(n||r)&&"hidden"!==window.getComputedStyle(t).visibility}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){return String(t).trim().split(" ")};e.hasClasses=function(t,e){var n=r(e);return Boolean(r(t.className).find((function(t){return n.indexOf(t)>=0})))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(1),o=function(){function t(t,e,n){this.element=t,this.ngZone=e,this.renderer=n,this.events={}}return t.prototype.ngOnInit=function(){var t=this;if(this.element&&this.element.nativeElement){var e=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular((function(){for(var n in e)e.hasOwnProperty(n)&&t.subscriptions.push(t.renderer.listen(t.element.nativeElement,n,t.scope?e[n].bind(t.scope):e[n]))}))}},t.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var t=0;t<this.subscriptions.length;t++)this.subscriptions[t]();this.subscriptions=null}},r.__decorate([i.Input("kendoEventsOutsideAngular"),r.__metadata("design:type",Object)],t.prototype,"events",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],t.prototype,"scope",void 0),t=r.__decorate([i.Directive({selector:"[kendoEventsOutsideAngular]"}),r.__metadata("design:paramtypes",[i.ElementRef,i.NgZone,i.Renderer2])],t)}();e.EventsOutsideAngularDirective=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(43),s=n(14),u=n(17),c=n(5),a=function(){function t(t,e,n){var r=this;this.rateLimit=10,this.resize=new i.EventEmitter;var c=u.ResizeObserverService.supported()?u.ResizeObserverService:s.ResizeCompatService;this.resizeService=new c(t,e,n);var a=1e3/(this.rateLimit||10);this.subscription=this.resizeService.resize.pipe(o.auditTime(a)).subscribe((function(){r.resizeService.acceptedSize||r.resize.emit()}))}return t.prototype.ngAfterViewChecked=function(){this.resizeService.checkChanges()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe(),this.resizeService.destroy()},t.prototype.acceptSize=function(t){this.resizeService.acceptSize(t)},r.__decorate([i.Input(),r.__metadata("design:type",Number)],t.prototype,"rateLimit",void 0),r.__decorate([i.Output(),r.__metadata("design:type",i.EventEmitter)],t.prototype,"resize",void 0),t=r.__decorate([i.Component({selector:"kendo-resize-sensor",template:""}),r.__metadata("design:paramtypes",[c.ResizeBatchService,i.ElementRef,i.NgZone])],t)}();e.ResizeSensorComponent=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(15),o=n(16),s=function(t){var e=document.createElement("div");return e.style.cssText=t,e},u="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",c=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.element=n,i.ngZone=r,i}return r.__extends(e,t),e.prototype.checkChanges=function(){2!==this.state?t.prototype.checkChanges.call(this):this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.checkSize)},e.prototype.destroy=function(){if(t.prototype.destroy.call(this),this.subscription&&this.subscription.unsubscribe(),this.expand){var e=this.element.nativeElement;e.removeChild(this.expand),e.removeChild(this.shrink),this.expand.removeChild(this.expandChild),this.expand=this.expandChild=this.shrink=this.element=null}},e.prototype.checkSize=function(){if(t.prototype.checkSize.call(this))return this.reset(),!0},e.prototype.init=function(){var t,e=this.parentElement=this.element.nativeElement.parentElement;"static"===(t="position",getComputedStyle(e,null).getPropertyValue(t))&&(e.style.position="relative"),this.state=2,this.render(),this.reset(),this.initSize(),this.subscribe()},e.prototype.render=function(){var t=this.element.nativeElement;t.style.cssText=u,t.setAttribute("dir","ltr"),this.expand=s(u),this.expandChild=s("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),t.appendChild(this.expand),this.shrink=s(u);var e=s("position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;");this.shrink.appendChild(e),t.appendChild(this.shrink)},e.prototype.reset=function(){var t=this.expandChild;t.style.width="100000px",t.style.height="100000px";var e=this.expand;e.scrollLeft=1e5,e.scrollTop=1e5;var n=this.shrink;n.scrollLeft=1e5,n.scrollTop=1e5},e.prototype.subscribe=function(){var t=this;this.ngZone.runOutsideAngular((function(){t.subscription=o.merge(o.fromEvent(t.shrink,"scroll"),o.fromEvent(t.expand,"scroll")).subscribe((function(){t.checkSize()}))}))},e}(i.ResizeService);e.ResizeCompatService=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(2),o=function(){function t(t){this.resizeBatchService=t,this.resize=new r.EventEmitter,this.acceptedSize=!1,this.state=0}return t.prototype.acceptSize=function(t){void 0===t&&(t=this.measure()),this.lastWidth=t.width,this.lastHeight=t.height,this.acceptedSize=!0},t.prototype.checkChanges=function(){i.isDocumentAvailable()&&0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init))},t.prototype.destroy=function(){this.resizeBatchService.cancel(this)},t.prototype.checkSize=function(){if(this.parentElement){var t=this.measure(),e=t.width,n=t.height;if(!(e===this.lastWidth&&n===this.lastHeight))return this.lastWidth=e,this.lastHeight=n,this.acceptedSize=!1,this.resize.emit(),!0}},t.prototype.initSize=function(){var t=this.measure();this.lastWidth=t.width,this.lastHeight=t.height},t.prototype.measure=function(){var t=0,e=0;return this.parentElement&&(e=this.parentElement.offsetHeight,t=this.parentElement.offsetWidth),{height:e,width:t}},t}();e.ResizeService=o},function(t,n){t.exports=e},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(15),o="undefined"!=typeof ResizeObserver,s=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.element=n,i.ngZone=r,i}return r.__extends(e,t),e.supported=function(){return o},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.parentElement=null},e.prototype.init=function(){var t=this;this.parentElement=this.element.nativeElement.parentElement,this.initSize(),this.state=2,this.ngZone.runOutsideAngular((function(){t.resizeObserver=new ResizeObserver((function(){t.checkSize()})),t.resizeObserver.observe(t.parentElement)}))},e}(i.ResizeService);e.ResizeObserverService=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0);r.__exportStar(n(19),e),r.__exportStar(n(27),e),r.__exportStar(n(35),e),r.__exportStar(n(37),e),r.__exportStar(n(39),e),r.__exportStar(n(2),e),r.__exportStar(n(40),e);var i=n(42);e.PreventableEvent=i.PreventableEvent},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.DraggableDirective=r.DraggableDirective;var i=n(25);e.DraggableModule=i.DraggableModule},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isDocumentAvailable=function(){return"undefined"!=typeof document}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(7);e.anyChanged=function(t,e,n){return void 0===n&&(n=!0),t.some((function(t){return r.isChanged(t,e,n)}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasObservers=function(t){return t&&t.observers.length>0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.guid=function(){for(var t="",e=0;e<32;e++){var n=16*Math.random()|0;8!==e&&12!==e&&16!==e&&20!==e||(t+="-"),t+=(12===e?4:16===e?3&n|8:n).toString(16)}return t}},function(t,e,n){"use strict";n.r(e),n.d(e,"Draggable",(function(){return h}));var r=function(t,e){return function(n){return e(t(n))}},i=function(t,e,n){return t.addEventListener&&t.addEventListener(e,n)},o=function(t,e,n){return t&&t.removeEventListener&&t.removeEventListener(e,n)},s=function(){},u=function(t){return t.preventDefault()},c=/touch/;function a(t){return t.type.match(c)?{pageX:t.changedTouches[0].pageX,pageY:t.changedTouches[0].pageY,clientX:t.changedTouches[0].clientX,clientY:t.changedTouches[0].clientY,type:t.type,originalEvent:t,isTouch:!0}:{pageX:t.pageX,pageY:t.pageY,clientX:t.clientX,clientY:t.clientY,offsetX:t.offsetX,offsetY:t.offsetY,type:t.type,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,originalEvent:t}}var h=function(t){var e=this,n=t.press;void 0===n&&(n=s);var c=t.drag;void 0===c&&(c=s);var h=t.release;void 0===h&&(h=s);var l=t.mouseOnly;void 0===l&&(l=!1),this._pressHandler=r(a,n),this._dragHandler=r(a,c),this._releaseHandler=r(a,h),this._ignoreMouse=!1,this._mouseOnly=l,this._touchstart=function(t){1===t.touches.length&&e._pressHandler(t)},this._touchmove=function(t){1===t.touches.length&&e._dragHandler(t)},this._touchend=function(t){0===t.touches.length&&1===t.changedTouches.length&&(e._releaseHandler(t),e._ignoreMouse=!0,setTimeout(e._restoreMouse,2e3))},this._restoreMouse=function(){e._ignoreMouse=!1},this._mousedown=function(t){var n=t.which;n&&n>1||e._ignoreMouse||(i(e.document,"mousemove",e._mousemove),i(e.document,"mouseup",e._mouseup),e._pressHandler(t))},this._mousemove=function(t){e._dragHandler(t)},this._mouseup=function(t){o(e.document,"mousemove",e._mousemove),o(e.document,"mouseup",e._mouseup),e._releaseHandler(t)},this._pointerdown=function(t){t.isPrimary&&0===t.button&&(i(e.document,"pointermove",e._pointermove),i(e.document,"pointerup",e._pointerup),i(e.document,"pointercancel",e._pointerup),i(e.document,"contextmenu",u),e._pressHandler(t))},this._pointermove=function(t){t.isPrimary&&e._dragHandler(t)},this._pointerup=function(t){t.isPrimary&&(o(e.document,"pointermove",e._pointermove),o(e.document,"pointerup",e._pointerup),o(e.document,"pointercancel",e._pointerup),o(e.document,"contextmenu",u),e._releaseHandler(t))}},l={document:{configurable:!0}};h.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},l.document.get=function(){return this._element?this._element.ownerDocument:document},h.prototype.bindTo=function(t){t!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=t,this._bindToCurrent())},h.prototype._bindToCurrent=function(){var t=this._element;this._usePointers()?i(t,"pointerdown",this._pointerdown):(i(t,"mousedown",this._mousedown),this._mouseOnly||(i(t,"touchstart",this._touchstart),i(t,"touchmove",this._touchmove),i(t,"touchend",this._touchend)))},h.prototype._unbindFromCurrent=function(){var t=this._element;if(this._usePointers())return o(t,"pointerdown",this._pointerdown),o(this.document,"pointermove",this._pointermove),o(this.document,"pointerup",this._pointerup),o(this.document,"contextmenu",u),void o(this.document,"pointercancel",this._pointerup);o(t,"mousedown",this._mousedown),this._mouseOnly||(o(t,"touchstart",this._touchstart),o(t,"touchmove",this._touchmove),o(t,"touchend",this._touchend))},h.prototype._usePointers=function(){return!this._mouseOnly&&h.supportPointerEvent()},h.prototype.update=function(t){var e=t.press;void 0===e&&(e=s);var n=t.drag;void 0===n&&(n=s);var i=t.release;void 0===i&&(i=s);var o=t.mouseOnly;void 0===o&&(o=!1),this._pressHandler=r(a,e),this._dragHandler=r(a,n),this._releaseHandler=r(a,i),this._mouseOnly=o},h.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(h.prototype,l),h.default=h,e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(6),s=n(26),u=function(){function t(){}return t=r.__decorate([i.NgModule({declarations:[o.DraggableDirective],exports:[o.DraggableDirective],imports:[s.CommonModule]})],t)}();e.DraggableModule=u},function(t,e){t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(28);e.closestInScope=r.closestInScope;var i=n(8);e.closest=i.closest;var o=n(29);e.contains=o.contains;var s=n(3);e.findElement=s.findElement;var u=n(30);e.findFocusableChild=u.findFocusableChild;var c=n(31);e.findFocusable=c.findFocusable;var a=n(11);e.hasClasses=a.hasClasses;var h=n(4);e.isFocusableWithTabKey=h.isFocusableWithTabKey;var l=n(9);e.isFocusable=l.isFocusable;var f=n(10);e.isVisible=f.isVisible;var p=n(32);e.matchesClasses=p.matchesClasses;var d=n(33);e.matchesNodeName=d.matchesNodeName;var b=n(34);e.rtlScrollPosition=b.rtlScrollPosition},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.closestInScope=function(t,e,n){for(;t&&t!==n&&!e(t);)t=t.parentNode;if(t!==n)return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(8);e.contains=function(t,e,n){if(void 0===n&&(n=!1),!r.closest(e,(function(e){return e===t})))return!1;var i=r.closest(e,(function(t){return t===e}));return i&&(n||i!==t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i=n(4);e.findFocusableChild=function(t,e){return void 0===e&&(e=!0),r.findElement(t,(function(t){return i.isFocusableWithTabKey(t,e)}),!1)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i=n(4);e.findFocusable=function(t,e){return void 0===e&&(e=!0),r.findElement(t,(function(t){return i.isFocusableWithTabKey(t,e)}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(11);e.matchesClasses=function(t){return function(e){return r.hasClasses(e,t)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={};e.matchesNodeName=function(t){return r[t]||(r[t]=function(e){return String(e.nodeName).toLowerCase()===t.toLowerCase()}),r[t]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.rtlScrollPosition=function(t,e,n){var r=t;return n<0?r=-t:n>0&&(r=e.scrollWidth-e.offsetWidth-t),r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(12);e.EventsOutsideAngularDirective=r.EventsOutsideAngularDirective;var i=n(36);e.EventsModule=i.EventsModule},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(12),s=function(){function t(){}return t=r.__decorate([i.NgModule({declarations:[o.EventsOutsideAngularDirective],exports:[o.EventsOutsideAngularDirective]})],t)}();e.EventsModule=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(13);e.ResizeSensorComponent=r.ResizeSensorComponent;var i=n(5);e.ResizeBatchService=i.ResizeBatchService;var o=n(14);e.ResizeCompatService=o.ResizeCompatService;var s=n(17);e.ResizeObserverService=s.ResizeObserverService;var u=n(38);e.ResizeSensorModule=u.ResizeSensorModule},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(13),s=n(5),u=[o.ResizeSensorComponent],c=function(){function t(){}return t=r.__decorate([i.NgModule({declarations:[u],exports:[u],providers:[s.ResizeBatchService]})],t)}();e.ResizeSensorModule=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){};e.KendoInput=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(41);e.Keys=r.Keys},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.Alt=18]="Alt",t[t.ArrowDown=40]="ArrowDown",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowUp=38]="ArrowUp",t[t.Backspace=8]="Backspace",t[t.Control=17]="Control",t[t.Delete=46]="Delete",t[t.Digit0=48]="Digit0",t[t.Digit1=49]="Digit1",t[t.Digit2=50]="Digit2",t[t.Digit3=51]="Digit3",t[t.Digit4=52]="Digit4",t[t.Digit5=53]="Digit5",t[t.Digit6=54]="Digit6",t[t.Digit7=55]="Digit7",t[t.Digit8=56]="Digit8",t[t.Digit9=57]="Digit9",t[t.End=35]="End",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.F1=112]="F1",t[t.F2=113]="F2",t[t.F10=121]="F10",t[t.Home=36]="Home",t[t.Insert=45]="Insert",t[t.KeyA=65]="KeyA",t[t.KeyB=66]="KeyB",t[t.KeyC=67]="KeyC",t[t.KeyD=68]="KeyD",t[t.KeyE=69]="KeyE",t[t.KeyF=70]="KeyF",t[t.KeyG=71]="KeyG",t[t.KeyH=72]="KeyH",t[t.KeyI=73]="KeyI",t[t.KeyJ=74]="KeyJ",t[t.KeyK=75]="KeyK",t[t.KeyL=76]="KeyL",t[t.KeyM=77]="KeyM",t[t.KeyN=78]="KeyN",t[t.KeyO=79]="KeyO",t[t.KeyP=80]="KeyP",t[t.KeyQ=81]="KeyQ",t[t.KeyR=82]="KeyR",t[t.KeyS=83]="KeyS",t[t.KeyT=84]="KeyT",t[t.KeyU=85]="KeyU",t[t.KeyV=86]="KeyV",t[t.KeyW=87]="KeyW",t[t.KeyX=88]="KeyX",t[t.KeyY=89]="KeyY",t[t.KeyZ=90]="KeyZ",t[t.NumpadDecimal=110]="NumpadDecimal",t[t.PageDown=34]="PageDown",t[t.PageUp=33]="PageUp",t[t.Shift=16]="Shift",t[t.Space=32]="Space",t[t.Tab=9]="Tab"}(e.Keys||(e.Keys={}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){this.prevented=!1}return t.prototype.preventDefault=function(){this.prevented=!0},t.prototype.isDefaultPrevented=function(){return this.prevented},t}();e.PreventableEvent=r},function(t,e,n){"use strict";n.r(e),n.d(e,"audit",(function(){return z})),n.d(e,"auditTime",(function(){return U})),n.d(e,"buffer",(function(){return q})),n.d(e,"bufferCount",(function(){return G})),n.d(e,"bufferTime",(function(){return tt})),n.d(e,"bufferToggle",(function(){return ut})),n.d(e,"bufferWhen",(function(){return ht})),n.d(e,"catchError",(function(){return pt})),n.d(e,"combineAll",(function(){return wt})),n.d(e,"combineLatest",(function(){return gt})),n.d(e,"concat",(function(){return Mt})),n.d(e,"concatAll",(function(){return At})),n.d(e,"concatMap",(function(){return Kt})),n.d(e,"concatMapTo",(function(){return Rt})),n.d(e,"count",(function(){return Ft})),n.d(e,"debounce",(function(){return Yt})),n.d(e,"debounceTime",(function(){return Ut})),n.d(e,"defaultIfEmpty",(function(){return Gt})),n.d(e,"delay",(function(){return ie})),n.d(e,"delayWhen",(function(){return ce})),n.d(e,"dematerialize",(function(){return pe})),n.d(e,"distinct",(function(){return ve})),n.d(e,"distinctUntilChanged",(function(){return me})),n.d(e,"distinctUntilKeyChanged",(function(){return ge})),n.d(e,"elementAt",(function(){return Ke})),n.d(e,"endWith",(function(){return Re})),n.d(e,"every",(function(){return Fe})),n.d(e,"exhaust",(function(){return Ye})),n.d(e,"exhaustMap",(function(){return Ue})),n.d(e,"expand",(function(){return Xe})),n.d(e,"filter",(function(){return Ce})),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 pn})),n.d(e,"ignoreElements",(function(){return mn})),n.d(e,"isEmpty",(function(){return gn})),n.d(e,"last",(function(){return Nn})),n.d(e,"map",(function(){return Tt})),n.d(e,"mapTo",(function(){return In})),n.d(e,"materialize",(function(){return Vn})),n.d(e,"max",(function(){return Rn})),n.d(e,"merge",(function(){return Wn})),n.d(e,"mergeAll",(function(){return kt})),n.d(e,"mergeMap",(function(){return jt})),n.d(e,"flatMap",(function(){return jt})),n.d(e,"mergeMapTo",(function(){return Bn})),n.d(e,"mergeScan",(function(){return Yn})),n.d(e,"min",(function(){return Un})),n.d(e,"multicast",(function(){return $n})),n.d(e,"observeOn",(function(){return er})),n.d(e,"onErrorResumeNext",(function(){return or})),n.d(e,"pairwise",(function(){return cr})),n.d(e,"partition",(function(){return fr})),n.d(e,"pluck",(function(){return pr})),n.d(e,"publish",(function(){return br})),n.d(e,"publishBehavior",(function(){return yr})),n.d(e,"publishLast",(function(){return mr})),n.d(e,"publishReplay",(function(){return Er})),n.d(e,"race",(function(){return Nr})),n.d(e,"reduce",(function(){return Kn})),n.d(e,"repeat",(function(){return Ir})),n.d(e,"repeatWhen",(function(){return Vr})),n.d(e,"retry",(function(){return Ar})),n.d(e,"retryWhen",(function(){return Kr})),n.d(e,"refCount",(function(){return qn})),n.d(e,"sample",(function(){return Wr})),n.d(e,"sampleTime",(function(){return Hr})),n.d(e,"scan",(function(){return An})),n.d(e,"sequenceEqual",(function(){return Zr})),n.d(e,"share",(function(){return $r})),n.d(e,"shareReplay",(function(){return ti})),n.d(e,"single",(function(){return ei})),n.d(e,"skip",(function(){return ii})),n.d(e,"skipLast",(function(){return ui})),n.d(e,"skipUntil",(function(){return hi})),n.d(e,"skipWhile",(function(){return pi})),n.d(e,"startWith",(function(){return vi})),n.d(e,"subscribeOn",(function(){return Ei})),n.d(e,"switchAll",(function(){return Ii})),n.d(e,"switchMap",(function(){return Oi})),n.d(e,"switchMapTo",(function(){return ji})),n.d(e,"take",(function(){return Ae})),n.d(e,"takeLast",(function(){return Cn})),n.d(e,"takeUntil",(function(){return Pi})),n.d(e,"takeWhile",(function(){return ki})),n.d(e,"tap",(function(){return Ne})),n.d(e,"throttle",(function(){return Ki})),n.d(e,"throttleTime",(function(){return Wi})),n.d(e,"throwIfEmpty",(function(){return De})),n.d(e,"timeInterval",(function(){return Li})),n.d(e,"timeout",(function(){return Qi})),n.d(e,"timeoutWith",(function(){return Xi})),n.d(e,"timestamp",(function(){return $i})),n.d(e,"toArray",(function(){return no})),n.d(e,"window",(function(){return ro})),n.d(e,"windowCount",(function(){return so})),n.d(e,"windowTime",(function(){return ao})),n.d(e,"windowToggle",(function(){return yo})),n.d(e,"windowWhen",(function(){return wo})),n.d(e,"withLatestFrom",(function(){return So})),n.d(e,"zip",(function(){return Vo})),n.d(e,"zipAll",(function(){return Do}));var r=n(0);function i(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 h(t){return null!==t&&"object"==typeof t}function l(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}l.prototype=Object.create(Error.prototype);var f=l,p=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,r=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=r?r.length:0;n;)n.remove(this),n=++u<c&&r[u]||null;if(i(o))try{o.call(this)}catch(n){e=!0,t=n instanceof f?d(n.errors):[n]}if(a(s))for(u=-1,c=s.length;++u<c;){var l=s[u];if(h(l))try{l.unsubscribe()}catch(n){e=!0,t=t||[],n instanceof f?t=t.concat(d(n.errors)):t.push(n)}}if(e)throw new f(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 r=n;(n=new t)._subscriptions=[r]}break;default:if(!e)return t.EMPTY;throw new Error("unrecognized teardown "+e+" added to Subscription.")}if(n._addParent(this)){var i=this._subscriptions;i?i.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 f?e.errors:e)}),[])}var b="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),v=function(t){function e(n,r,i){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 y(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new y(o,n,r,i)}return o}return r.__extends(e,t),e.prototype[b]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},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}(p),y=function(t){function e(e,n,r,o){var s,u=t.call(this)||this;u._parentSubscriber=e;var a=u;return i(n)?s=n:n&&(s=n.next,r=n.error,o=n.complete,n!==c&&(i((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=r,u._complete=o,u}return r.__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}(v),_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(v),m=function(t){function e(e,n,r){var i=t.call(this)||this;return i.parent=e,i.outerValue=n,i.outerIndex=r,i.index=0,i}return r.__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}(v);var w="function"==typeof Symbol&&Symbol.observable||"@@observable";function x(){}function g(){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)}:x}var E=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 r=this.operator,i=function(t,e,n){if(t){if(t instanceof v)return t;if(t[b])return t[b]()}return t||e||n?new v(t,e,n):new v(c)}(t,e,n);if(r?i.add(r.call(i,this.source)):i.add(this.source||s.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),s.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},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,r=e.destination,i=e.isStopped;if(n||i)return!1;t=r&&r instanceof v?r:null}return!0}(t)?console.warn(e):t.error(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=C(e))((function(e,r){var i;i=n.subscribe((function(e){try{t(e)}catch(t){r(t),i&&i.unsubscribe()}}),r,e)}))},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[w]=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=C(t))((function(t,n){var r;e.subscribe((function(t){return r=t}),(function(t){return n(t)}),(function(){return t(r)}))}))},t.create=function(e){return new t(e)},t}();function C(t){if(t||(t=s.Promise||Promise),!t)throw new Error("no Promise impl found");return t}var O=function(t){return function(e){for(var n=0,r=t.length;n<r&&!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 N(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var I=N(),j=function(t){return function(e){for(var n=t[I]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e}},P=function(t){return function(e){var n=t[w]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}},V=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function D(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var k=function(t){if(t instanceof E)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[w])return P(t);if(V(t))return O(t);if(D(t))return T(t);if(t&&"function"==typeof t[I])return j(t);var e=h(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 A(t,e,n,r,i){if(void 0===i&&(i=new m(t,n,r)),!i.closed)return k(e)(i)}function z(t){return function(e){return e.lift(new M(t))}}var M=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new K(t,this.durationSelector))},t}(),K=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return r.__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=A(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,r){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(_),R=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return r.__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,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,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,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,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 r.__extends(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(p)),F=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}(),W=function(t){function e(n,r){void 0===r&&(r=F.now);var i=t.call(this,n,(function(){return e.delegate&&e.delegate!==i?e.delegate.now():r()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return r.__extends(e,t),e.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,i):t.prototype.schedule.call(this,n,r,i)},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}(F),B=new W(R);function Y(t){return!a(t)&&t-parseFloat(t)+1>=0}function H(t){return t&&"function"==typeof t.schedule}function L(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}function U(t,e){return void 0===e&&(e=B),z((function(){return function(t,e,n){void 0===t&&(t=0);var r=-1;return Y(e)?r=Number(e)<1?1:Number(e):H(e)&&(n=e),H(n)||(n=B),new E((function(e){var i=Y(t)?t:+t-n.now();return n.schedule(L,i,{index:0,period:r,subscriber:e})}))}(t,e)}))}function q(t){return function(e){return e.lift(new Z(t))}}var Z=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 r=t.call(this,e)||this;return r.buffer=[],r.add(A(r,n)),r}return r.__extends(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.buffer;this.buffer=[],this.destination.next(o)},e}(_);function G(t,e){return void 0===e&&(e=null),function(n){return n.lift(new J(t,e))}}var J=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?$: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 r=t.call(this,e)||this;return r.bufferSize=n,r.buffer=[],r}return r.__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}(v),$=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.bufferSize=n,i.startBufferEvery=r,i.buffers=[],i.count=0,i}return r.__extends(e,t),e.prototype._next=function(t){var e=this.bufferSize,n=this.startBufferEvery,r=this.buffers,i=this.count;this.count++,i%n==0&&r.push([]);for(var o=r.length;o--;){var s=r[o];s.push(t),s.length===e&&(r.splice(o,1),this.destination.next(s))}},e.prototype._complete=function(){for(var e=this.buffers,n=this.destination;e.length>0;){var r=e.shift();r.length>0&&n.next(r)}t.prototype._complete.call(this)},e}(v);function tt(t){var e=arguments.length,n=B;H(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return e>=3&&(i=arguments[2]),function(e){return e.lift(new et(t,r,i,n))}}var et=function(){function t(t,e,n,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new rt(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),nt=function(){return function(){this.buffer=[]}}(),rt=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;s.bufferTimeSpan=n,s.bufferCreationInterval=r,s.maxBufferSize=i,s.scheduler=o,s.contexts=[];var u=s.openContext();if(s.timespanOnly=null==r||r<0,s.timespanOnly){var c={subscriber:s,context:u,bufferTimeSpan:n};s.add(u.closeAction=o.schedule(it,n,c))}else{var a={subscriber:s,context:u},h={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:s,scheduler:o};s.add(u.closeAction=o.schedule(st,n,a)),s.add(o.schedule(ot,r,h))}return s}return r.__extends(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,r=n.length,i=0;i<r;i++){var o=n[i],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 r=e.shift();n.next(r.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,r={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(it,n,r))}},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}(v);function it(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,r=t.subscriber,i=t.scheduler,o=r.openContext();r.closed||(r.add(o.closeAction=i.schedule(st,n,{subscriber:r,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,r){var i=t.call(this,e)||this;return i.openings=n,i.closingSelector=r,i.contexts=[],i.add(A(i,n)),i}return r.__extends(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,r=0;r<n;r++)e[r].buffer.push(t)},e.prototype._error=function(e){for(var n=this.contexts;n.length>0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.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,r,i){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,r=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(r),r.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=new p,r={buffer:[],subscription:n};e.push(r);var i=A(this,t,r);!i||i.closed?this.closeBuffer(r):(i.context=r,this.add(i),n.add(i))},e}(_);function ht(t){return function(e){return e.lift(new lt(t))}}var lt=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new ft(t,this.closingSelector))},t}(),ft=function(t){function e(e,n){var r=t.call(this,e)||this;return r.closingSelector=n,r.subscribing=!1,r.openBuffer(),r}return r.__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,r,i){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 p,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(A(this,e)),this.subscribing=!1},e}(_);function pt(t){return function(e){var n=new dt(t),r=e.lift(n);return n.caught=r}}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,r){var i=t.call(this,e)||this;return i.selector=n,i.caught=r,i}return r.__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 r=new m(this,void 0,void 0);this.add(r),A(this,n,void 0,void 0,r)}},e}(_);function vt(t,e){return new E(e?function(n){var r=new p,i=0;return r.add(e.schedule((function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r}:O(t))}var yt={};var _t=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new mt(t,this.resultSelector))},t}(),mt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return r.__extends(e,t),e.prototype._next=function(t){this.values.push(yt),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 r=t[n];this.add(A(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.values,s=o[n],u=this.toRespond?s===yt?--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 wt(t){return function(e){return e.lift(new _t(t))}}function xt(t,e){if(!e)return t instanceof E?t:new E(k(t));if(null!=t){if(function(t){return t&&"function"==typeof t[w]}(t))return function(t,e){return new E(e?function(n){var r=new p;return r.add(e.schedule((function(){var i=t[w]();r.add(i.subscribe({next:function(t){r.add(e.schedule((function(){return n.next(t)})))},error:function(t){r.add(e.schedule((function(){return n.error(t)})))},complete:function(){r.add(e.schedule((function(){return n.complete()})))}}))}))),r}:P(t))}(t,e);if(D(t))return function(t,e){return new E(e?function(n){var r=new p;return r.add(e.schedule((function(){return t.then((function(t){r.add(e.schedule((function(){n.next(t),r.add(e.schedule((function(){return n.complete()})))})))}),(function(t){r.add(e.schedule((function(){return n.error(t)})))}))}))),r}:T(t))}(t,e);if(V(t))return vt(t,e);if(function(t){return t&&"function"==typeof t[I]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new E(e?function(n){var r,i=new p;return i.add((function(){r&&"function"==typeof r.return&&r.return()})),i.add(e.schedule((function(){r=t[I](),i.add(e.schedule((function(){if(!n.closed){var t,e;try{var i=r.next();t=i.value,e=i.done}catch(t){return void n.error(t)}e?n.complete():(n.next(t),this.schedule())}})))}))),i}:j(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function gt(){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(xt([e].concat(t)),new _t(n))}}var St=new E((function(t){return t.complete()}));function Et(t){return t?function(t){return new E((function(e){return t.schedule((function(){return e.complete()}))}))}(t):St}function Ct(t){var e=new E((function(e){e.next(t),e.complete()}));return e._isScalar=!0,e.value=t,e}function Ot(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];switch(H(n)?t.pop():n=void 0,t.length){case 0:return Et(n);case 1:return n?vt(t,n):Ct(t[0]);default:return vt(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 Nt(t,e))}}var Nt=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new It(t,this.project,this.thisArg))},t}(),It=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return r.__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}(v);function jt(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(jt((function(n,r){return xt(t(n,r)).pipe(Tt((function(t,i){return e(n,t,r,i)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new Pt(t,n))})}var Pt=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 Vt(t,this.project,this.concurrent))},t}(),Vt=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return r.__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 r=new m(this,void 0,void 0);this.destination.add(r),A(this,t,e,n,r)},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,r,i){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 Dt(t){return t}function kt(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),jt(Dt,t)}function At(){return kt(1)}function zt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return At()(Ot.apply(void 0,t))}function Mt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(zt.apply(void 0,[e].concat(t)))}}function Kt(t,e){return jt(t,e,1)}function Rt(t,e){return Kt((function(){return t}),e)}function Ft(t){return function(e){return e.lift(new Wt(t,e))}}var Wt=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Bt(t,this.predicate,this.source))},t}(),Bt=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.source=r,i.count=0,i.index=0,i}return r.__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}(v);function Yt(t){return function(e){return e.lift(new Ht(t))}}var Ht=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Lt(t,this.durationSelector))},t}(),Lt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r.durationSubscription=null,r}return r.__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=A(this,e))&&!n.closed&&this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(t,e,n,r,i){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=B),function(n){return n.lift(new qt(t,e))}}var qt=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new Zt(t,this.dueTime,this.scheduler))},t}(),Zt=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.dueTime=n,i.scheduler=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return r.__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}(v);function Xt(t){t.debouncedNext()}function Gt(t){return void 0===t&&(t=null),function(e){return e.lift(new Qt(t))}}var Jt,Qt=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new $t(t,this.defaultValue))},t}(),$t=function(t){function e(e,n){var r=t.call(this,e)||this;return r.defaultValue=n,r.isEmpty=!0,r}return r.__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}(v);function te(t){return t instanceof Date&&!isNaN(+t)}function ee(t,e){return new E(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)}Jt||(Jt={});var re=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 Ot(this.value);case"E":return ee(this.error);case"C":return Et()}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 ie(t,e){void 0===e&&(e=B);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,r){var i=t.call(this,e)||this;return i.delay=n,i.scheduler=r,i.queue=[],i.active=!1,i.errored=!1,i}return r.__extends(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.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(re.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(re.createComplete()),this.unsubscribe()},e}(v),ue=function(){return function(t,e){this.time=t,this.notification=e}}();function ce(t,e){return e?function(n){return new le(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 he(t,this.delayDurationSelector))},t}(),he=function(t){function e(e,n){var r=t.call(this,e)||this;return r.delayDurationSelector=n,r.completed=!1,r.delayNotifierSubscriptions=[],r.index=0,r}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(t),this.removeSubscription(i),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=A(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}(_),le=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subscriptionDelay=n,r}return r.__extends(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new fe(t,this.source))},e}(E),fe=function(t){function e(e,n){var r=t.call(this)||this;return r.parent=e,r.source=n,r.sourceSubscribed=!1,r}return r.__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}(v);function pe(){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 r.__extends(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(v);function ve(t,e){return function(n){return n.lift(new ye(t,e))}}var ye=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,r){var i=t.call(this,e)||this;return i.keySelector=n,i.values=new Set,r&&i.add(A(i,r)),i}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){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 me(t,e){return function(n){return n.lift(new we(t,e))}}var we=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new xe(t,this.compare,this.keySelector))},t}(),xe=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return r.__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 r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(t){return this.destination.error(t)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(v);function ge(t,e){return me((function(n,r){return e?e(n[t],r[t]):n[t]===r[t]}))}function Se(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}Se.prototype=Object.create(Error.prototype);var Ee=Se;function Ce(t,e){return function(n){return n.lift(new Oe(t,e))}}var Oe=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,r){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.count=0,i}return r.__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}(v);function Ne(t,e,n){return function(r){return r.lift(new Ie(t,e,n))}}var Ie=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 je(t,this.nextOrObserver,this.error,this.complete))},t}(),je=function(t){function e(e,n,r,o){var s=t.call(this,e)||this;return s._tapNext=x,s._tapError=x,s._tapComplete=x,s._tapError=r||x,s._tapComplete=o||x,i(n)?(s._context=s,s._tapNext=n):n&&(s._context=n,s._tapNext=n.next||x,s._tapError=n.error||x,s._tapComplete=n.complete||x),s}return r.__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}(v);function Pe(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}Pe.prototype=Object.create(Error.prototype);var Ve=Pe,De=function(t){return void 0===t&&(t=ke),Ne({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function ke(){return new Ve}function Ae(t){return function(e){return 0===t?Et():e.lift(new ze(t))}}var ze=function(){function t(t){if(this.total=t,this.total<0)throw new Ee}return t.prototype.call=function(t,e){return e.subscribe(new Me(t,this.total))},t}(),Me=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.__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}(v);function Ke(t,e){if(t<0)throw new Ee;var n=arguments.length>=2;return function(r){return r.pipe(Ce((function(e,n){return n===t})),Ae(1),n?Gt(e):De((function(){return new Ee})))}}function Re(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];H(n)?t.pop():n=null;var r=t.length;return zt(e,1!==r||n?r>0?vt(t,n):Et(n):Ct(t[0]))}}function Fe(t,e){return function(n){return n.lift(new We(t,e,n))}}var We=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 Be(t,this.predicate,this.thisArg,this.source))},t}(),Be=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return r.__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}(v);function Ye(){return function(t){return t.lift(new He)}}var He=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Le(t))},t}(),Le=function(t){function e(e){var n=t.call(this,e)||this;return n.hasCompleted=!1,n.hasSubscription=!1,n}return r.__extends(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(A(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,r){return xt(t(n,r)).pipe(Tt((function(t,i){return e(n,t,r,i)})))})))}:function(e){return e.lift(new qe(t))}}var qe=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Ze(t,this.project))},t}(),Ze=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.hasSubscription=!1,r.hasCompleted=!1,r.index=0,r}return r.__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 r=new m(this,void 0,void 0);this.destination.add(r),A(this,t,e,n,r)},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,i){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(r){return r.lift(new Ge(t,e,n))}}var Ge=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 Je(t,this.project,this.concurrent,this.scheduler))},t}(),Je=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.project=n,o.concurrent=r,o.scheduler=i,o.index=0,o.active=0,o.hasCompleted=!1,r<Number.POSITIVE_INFINITY&&(o.buffer=[]),o}return r.__extends(e,t),e.dispatch=function(t){var e=t.subscriber,n=t.result,r=t.value,i=t.index;e.subscribeToProjection(n,r,i)},e.prototype._next=function(t){var n=this.destination;if(n.closed)this._complete();else{var r=this.index++;if(this.active<this.concurrent){n.next(t);try{var i=(0,this.project)(t,r);if(this.scheduler){var o={subscriber:this,result:i,value:t,index:r};this.destination.add(this.scheduler.schedule(e.dispatch,0,o))}else this.subscribeToProjection(i,t,r)}catch(t){n.error(t)}}else this.buffer.push(t)}},e.prototype.subscribeToProjection=function(t,e,n){this.active++,this.destination.add(A(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,r,i){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 $e(t))}}var $e=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 r=t.call(this,e)||this;return r.add(new p(n)),r}return r.__extends(e,t),e}(v);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,r){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=r}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,r,i,o){var s=t.call(this,e)||this;return s.predicate=n,s.source=r,s.yieldIndex=i,s.thisArg=o,s.index=0,s}return r.__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,r=this.index++;try{e.call(n||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(v);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(r){return r.pipe(t?Ce((function(e,n){return t(e,n,r)})):Dt,Ae(1),n?Gt(e):De((function(){return new Ve})))}}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 r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return r.__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}(p),hn=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return r.__extends(e,t),e}(v),ln=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 r.__extends(e,t),e.prototype[b]=function(){return new hn(this)},e.prototype.lift=function(t){var e=new fn(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,r=e.slice(),i=0;i<n;i++)r[i].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,r=e.slice(),i=0;i<n;i++)r[i].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(),r=0;r<e;r++)n[r].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),p.EMPTY):this.isStopped?(t.complete(),p.EMPTY):(this.observers.push(t),new an(this,t))},e.prototype.asObservable=function(){var t=new E;return t.source=this,t},e.create=function(t,e){return new fn(t,e)},e}(E),fn=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return r.__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):p.EMPTY},e}(ln);function pn(t,e,n,r){return function(i){return i.lift(new dn(t,e,n,r))}}var dn=function(){function t(t,e,n,r){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=r}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,r,i,o){var s=t.call(this,e)||this;return s.keySelector=n,s.elementSelector=r,s.durationSelector=i,s.subjectSelector=o,s.groups=null,s.attemptedToUnsubscribe=!1,s.count=0,s}return r.__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 r,i=n.get(e);if(this.elementSelector)try{r=this.elementSelector(t)}catch(t){this.error(t)}else r=t;if(!i){i=this.subjectSelector?this.subjectSelector():new ln,n.set(e,i);var o=new yn(e,i,this);if(this.destination.next(o),this.durationSelector){var s=void 0;try{s=this.durationSelector(new yn(e,i))}catch(t){return void this.error(t)}this.add(s.subscribe(new vn(e,i,this)))}}i.closed||i.next(r)},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}(v),vn=function(t){function e(e,n,r){var i=t.call(this,n)||this;return i.key=e,i.group=n,i.parent=r,i}return r.__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}(v),yn=function(t){function e(e,n,r){var i=t.call(this)||this;return i.key=e,i.groupSubject=n,i.refCountSubscription=r,i}return r.__extends(e,t),e.prototype._subscribe=function(t){var e=new p,n=this.refCountSubscription,r=this.groupSubject;return n&&!n.closed&&e.add(new _n(n)),e.add(r.subscribe(t)),e},e}(E),_n=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,e.count++,n}return r.__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}(p);function mn(){return function(t){return t.lift(new wn)}}var wn=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new xn(t))},t}(),xn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype._next=function(t){},e}(v);function gn(){return function(t){return t.lift(new Sn)}}var Sn=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new En(t))},t}(),En=function(t){function e(e){return t.call(this,e)||this}return r.__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}(v);function Cn(t){return function(e){return 0===t?Et():e.lift(new On(t))}}var On=function(){function t(t){if(this.total=t,this.total<0)throw new Ee}return t.prototype.call=function(t,e){return e.subscribe(new Tn(t,this.total))},t}(),Tn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return r.__extends(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%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,r=this.ring,i=0;i<n;i++){var o=e++%n;t.next(r[o])}t.complete()},e}(v);function Nn(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Ce((function(e,n){return t(e,n,r)})):Dt,Cn(1),n?Gt(e):De((function(){return new Ve})))}}function In(t){return function(e){return e.lift(new jn(t))}}var jn=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new Pn(t,this.value))},t}(),Pn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return r.__extends(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(v);function Vn(){return function(t){return t.lift(new Dn)}}var Dn=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new kn(t))},t}(),kn=function(t){function e(e){return t.call(this,e)||this}return r.__extends(e,t),e.prototype._next=function(t){this.destination.next(re.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(re.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(re.createComplete()),t.complete()},e}(v);function An(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new zn(t,e,n))}}var zn=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 Mn(t,this.accumulator,this.seed,this.hasSeed))},t}(),Mn=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return r.__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}(v);function Kn(t,e){return arguments.length>=2?function(n){return g(An(t,e),Cn(1),Gt(e))(n)}:function(e){return g(An((function(e,n,r){return t(e,n,r+1)})),Cn(1))(e)}}function Rn(t){return Kn("function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e})}function Fn(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,r=null,i=t[t.length-1];return H(i)?(r=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof i&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof E?t[0]:kt(n)(vt(t,r))}function Wn(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(Fn.apply(void 0,[e].concat(t)))}}function Bn(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?jt((function(){return t}),e,n):("number"==typeof e&&(n=e),jt((function(){return t}),n))}function Yn(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return r.lift(new Hn(t,e,n))}}var Hn=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 Ln(t,this.accumulator,this.seed,this.concurrent))},t}(),Ln=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o.acc=r,o.concurrent=i,o.hasValue=!1,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return r.__extends(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,n=this.destination,r=void 0;try{r=(0,this.accumulator)(this.acc,t,e)}catch(t){return n.error(t)}this.active++,this._innerSub(r,t,e)}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,n){var r=new m(this,void 0,void 0);this.destination.add(r),A(this,t,e,n,r)},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,r,i){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 Kn("function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e})}function qn(){return function(t){return t.lift(new Zn(t))}}var Zn=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new Xn(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),Xn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.__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,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(v),Gn=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.__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 p).add(this.source.subscribe(new Qn(this.getSubject(),this))),t.closed?(this._connection=null,t=p.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return qn()(this)},e}(E).prototype,Jn={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:Gn._subscribe},_isComplete:{value:Gn._isComplete,writable:!0},getSubject:{value:Gn.getSubject},connect:{value:Gn.connect},refCount:{value:Gn.refCount}},Qn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.__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}(hn);function $n(t,e){return function(n){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new tr(r,e));var i=Object.create(n,Jn);return i.source=n,i.subjectFactory=r,i}}var tr=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(t);return i.add(e.subscribe(r)),i},t}();function er(t,e){return void 0===e&&(e=0),function(n){return n.lift(new nr(t,e))}}var nr=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 rr(t,this.scheduler,this.delay))},t}(),rr=function(t){function e(e,n,r){void 0===r&&(r=0);var i=t.call(this,e)||this;return i.scheduler=n,i.delay=r,i}return r.__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 ir(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(re.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(re.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(re.createComplete()),this.unsubscribe()},e}(v),ir=function(){return function(t,e){this.notification=t,this.destination=e}}();function or(){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 sr(t))}}var sr=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new ur(t,this.nextSources))},t}(),ur=function(t){function e(e,n){var r=t.call(this,e)||this;return r.destination=e,r.nextSources=n,r}return r.__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 m(this,void 0,void 0);this.destination.add(e),A(this,t,void 0,void 0,e)}else this.destination.complete()},e}(_);function cr(){return function(t){return t.lift(new ar)}}var ar=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new hr(t))},t}(),hr=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return r.__extends(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(v);function lr(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}function fr(t,e){return function(n){return[Ce(t,e)(n),Ce(lr(t,e))(n)]}}function pr(){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(dr(t,n))(e)}}function dr(t,e){return function(n){for(var r=n,i=0;i<e;i++){var o=r[t[i]];if(void 0===o)return;r=o}return r}}function br(t){return t?$n((function(){return new ln}),t):$n(new ln)}var vr=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return r.__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}(ln);function yr(t){return function(e){return $n(new vr(t))(e)}}var _r=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 r.__extends(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),p.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),p.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}(ln);function mr(){return function(t){return $n(new _r)(t)}}var wr=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return r.__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,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(R),xr=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e}(W))(wr),gr=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var i=t.call(this)||this;return i.scheduler=r,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=e<1?1:e,i._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return r.__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 Sr(this._getNow(),e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new cn;if(this.isStopped||this.hasError?e=p.EMPTY:(this.observers.push(t),e=new an(this,t)),i&&t.add(t=new rr(t,i)),n)for(var s=0;s<o&&!t.closed;s++)t.next(r[s]);else for(s=0;s<o&&!t.closed;s++)t.next(r[s].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||xr).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,r=this._events,i=r.length,o=0;o<i&&!(t-r[o].time<n);)o++;return i>e&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r},e}(ln),Sr=function(){return function(t,e){this.time=t,this.value=e}}();function Er(t,e,n,r){n&&"function"!=typeof n&&(r=n);var i="function"==typeof n?n:void 0,o=new gr(t,e,r);return function(t){return $n((function(){return o}),i)(t)}}function Cr(){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 vt(t,void 0).lift(new Or)}var Or=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Tr(t))},t}(),Tr=function(t){function e(e){var n=t.call(this,e)||this;return n.hasFirst=!1,n.observables=[],n.subscriptions=[],n}return r.__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 r=t[n],i=A(this,r,r,n);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}},e.prototype.notifyNext=function(t,e,n,r,i){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 Nr(){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(Cr.apply(void 0,[e].concat(t)))}}function Ir(t){return void 0===t&&(t=-1),function(e){return 0===t?Et():t<0?e.lift(new jr(-1,e)):e.lift(new jr(t-1,e))}}var jr=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Pr(t,this.count,this.source))},t}(),Pr=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.count=n,i.source=r,i}return r.__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}(v);function Vr(t){return function(e){return e.lift(new Dr(t))}}var Dr=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new kr(t,this.notifier,e))},t}(),kr=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i.sourceIsBeingSubscribedTo=!0,i}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){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 ln;try{e=(0,this.notifier)(this.notifications)}catch(e){return t.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=A(this,e)},e}(_);function Ar(t){return void 0===t&&(t=-1),function(e){return e.lift(new zr(t,e))}}var zr=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Mr(t,this.count,this.source))},t}(),Mr=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.count=n,i.source=r,i}return r.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.source,r=this.count;if(0===r)return t.prototype.error.call(this,e);r>-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(v);function Kr(t){return function(e){return e.lift(new Rr(t,e))}}var Rr=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Fr(t,this.notifier,this.source))},t}(),Fr=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i}return r.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,i=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{n=new ln;try{r=(0,this.notifier)(n)}catch(e){return t.prototype.error.call(this,e)}i=A(this,r)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=i,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,r,i){var o=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=o,this.source.subscribe(this)},e}(_);function Wr(t){return function(e){return e.lift(new Br(t))}}var Br=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new Yr(t),r=e.subscribe(n);return r.add(A(n,this.notifier)),r},t}(),Yr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasValue=!1,e}return r.__extends(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(_);function Hr(t,e){return void 0===e&&(e=B),function(n){return n.lift(new Lr(t,e))}}var Lr=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new Ur(t,this.period,this.scheduler))},t}(),Ur=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.period=n,i.scheduler=r,i.hasValue=!1,i.add(r.schedule(qr,n,{subscriber:i,period:n})),i}return r.__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}(v);function qr(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}function Zr(t,e){return function(n){return n.lift(new Xr(t,e))}}var Xr=function(){function t(t,e){this.compareTo=t,this.comparator=e}return t.prototype.call=function(t,e){return e.subscribe(new Gr(t,this.compareTo,this.comparator))},t}(),Gr=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.compareTo=n,i.comparator=r,i._a=[],i._b=[],i._oneComplete=!1,i.destination.add(n.subscribe(new Jr(e,i))),i}return r.__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 r=t.shift(),i=e.shift(),o=!1;try{o=n?n(r,i):r===i}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}(v),Jr=function(t){function e(e,n){var r=t.call(this,e)||this;return r.parent=n,r}return r.__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}(v);function Qr(){return new ln}function $r(){return function(t){return qn()($n(Qr)(t))}}function ti(t,e,n){var r;return r=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},function(t){return t.lift(function(t){var e,n,r=t.bufferSize,i=void 0===r?Number.POSITIVE_INFINITY:r,o=t.windowTime,s=void 0===o?Number.POSITIVE_INFINITY:o,u=t.refCount,c=t.scheduler,a=0,h=!1,l=!1;return function(t){a++,e&&!h||(h=!1,e=new gr(i,s,c),n=t.subscribe({next:function(t){e.next(t)},error:function(t){h=!0,e.error(t)},complete:function(){l=!0,e.complete()}}));var r=e.subscribe(this);this.add((function(){a--,r.unsubscribe(),n&&!l&&u&&0===a&&(n.unsubscribe(),n=void 0,e=void 0)}))}}(r))}}function ei(t){return function(e){return e.lift(new ni(t,e))}}var ni=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new ri(t,this.predicate,this.source))},t}(),ri=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.source=r,i.seenValue=!1,i.index=0,i}return r.__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 Ve)},e}(v);function ii(t){return function(e){return e.lift(new oi(t))}}var oi=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new si(t,this.total))},t}(),si=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.__extends(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(v);function ui(t){return function(e){return e.lift(new ci(t))}}var ci=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new Ee}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new v(t)):e.subscribe(new ai(t,this._skipCount))},t}(),ai=function(t){function e(e,n){var r=t.call(this,e)||this;return r._skipCount=n,r._count=0,r._ring=new Array(n),r}return r.__extends(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{var r=n%e,i=this._ring,o=i[r];i[r]=t,this.destination.next(o)}},e}(v);function hi(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){return e.subscribe(new fi(t,this.notifier))},t}(),fi=function(t){function e(e,n){var r=t.call(this,e)||this;r.hasValue=!1;var i=new m(r,void 0,void 0);return r.add(i),r.innerSubscription=i,A(r,n,void 0,void 0,i),r}return r.__extends(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype.notifyNext=function(t,e,n,r,i){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()},e.prototype.notifyComplete=function(){},e}(_);function pi(t){return function(e){return e.lift(new di(t))}}var di=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new bi(t,this.predicate))},t}(),bi=function(t){function e(e,n){var r=t.call(this,e)||this;return r.predicate=n,r.skipping=!0,r.index=0,r}return r.__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}(v);function vi(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];H(n)?t.pop():n=null;var r=t.length;return zt(1!==r||n?r>0?vt(t,n):Et(n):Ct(t[0]),e)}}var yi=1,_i={};var mi=function(t){var e=yi++;return _i[e]=t,Promise.resolve().then((function(){return function(t){var e=_i[t];e&&e()}(e)})),e},wi=function(t){delete _i[t]},xi=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return r.__extends(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=mi(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(wi(n),e.scheduled=void 0)},e}(R),gi=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(W))(xi),Si=function(t){function e(e,n,r){void 0===n&&(n=0),void 0===r&&(r=gi);var i=t.call(this)||this;return i.source=e,i.delayTime=n,i.scheduler=r,(!Y(n)||n<0)&&(i.delayTime=0),r&&"function"==typeof r.schedule||(i.scheduler=gi),i}return r.__extends(e,t),e.create=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=gi),new e(t,n,r)},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,r=this.source;return this.scheduler.schedule(e.dispatch,n,{source:r,subscriber:t})},e}(E);function Ei(t,e){return void 0===e&&(e=0),function(n){return n.lift(new Ci(t,e))}}var Ci=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new Si(e,this.delay,this.scheduler).subscribe(t)},t}();function Oi(t,e){return"function"==typeof e?function(n){return n.pipe(Oi((function(n,r){return xt(t(n,r)).pipe(Tt((function(t,i){return e(n,t,r,i)})))})))}:function(e){return e.lift(new Ti(t))}}var Ti=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Ni(t,this.project))},t}(),Ni=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return r.__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 r=this.innerSubscription;r&&r.unsubscribe();var i=new m(this,void 0,void 0);this.destination.add(i),this.innerSubscription=A(this,t,e,n,i)},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,r,i){this.destination.next(e)},e}(_);function Ii(){return Oi(Dt)}function ji(t,e){return e?Oi((function(){return t}),e):Oi((function(){return t}))}function Pi(t){return function(e){return e.lift(new Vi(t))}}var Vi=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new Di(t),r=A(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),Di=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(_);function ki(t,e){return void 0===e&&(e=!1),function(n){return n.lift(new Ai(t,e))}}var Ai=function(){function t(t,e){this.predicate=t,this.inclusive=e}return t.prototype.call=function(t,e){return e.subscribe(new zi(t,this.predicate,this.inclusive))},t}(),zi=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.inclusive=r,i.index=0,i}return r.__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}(v),Mi={leading:!0,trailing:!1};function Ki(t,e){return void 0===e&&(e=Mi),function(n){return n.lift(new Ri(t,e.leading,e.trailing))}}var Ri=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 Fi(t,this.durationSelector,this.leading,this.trailing))},t}(),Fi=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.destination=e,o.durationSelector=n,o._leading=r,o._trailing=i,o._hasValue=!1,o}return r.__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=A(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,r,i){this.throttlingDone()},e.prototype.notifyComplete=function(){this.throttlingDone()},e}(_);function Wi(t,e,n){return void 0===e&&(e=B),void 0===n&&(n=Mi),function(r){return r.lift(new Bi(t,e,n.leading,n.trailing))}}var Bi=function(){function t(t,e,n,r){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=r}return t.prototype.call=function(t,e){return e.subscribe(new Yi(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),Yi=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.duration=n,s.scheduler=r,s.leading=i,s.trailing=o,s._hasTrailingValue=!1,s._trailingValue=null,s}return r.__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(Hi,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}(v);function Hi(t){t.subscriber.clearThrottle()}function Li(t){return void 0===t&&(t=B),function(e){return n=function(){return e.pipe(An((function(e,n){var r=e.current;return{value:n,current:t.now(),last:r}}),{current:t.now(),value:void 0,last:void 0}),Tt((function(t){var e=t.current,n=t.last,r=t.value;return new Ui(r,e-n)})))},new E((function(t){var e;try{e=n()}catch(e){return void t.error(e)}return(e?xt(e):Et()).subscribe(t)}));var n}}var Ui=function(){return function(t,e){this.value=t,this.interval=e}}();function qi(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}qi.prototype=Object.create(Error.prototype);var Zi=qi;function Xi(t,e,n){return void 0===n&&(n=B),function(r){var i=te(t),o=i?+t-n.now():Math.abs(t);return r.lift(new Gi(o,i,e,n))}}var Gi=function(){function t(t,e,n,r){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new Ji(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),Ji=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.absoluteTimeout=n,s.waitFor=r,s.withObservable=i,s.scheduler=o,s.action=null,s.scheduleTimeout(),s}return r.__extends(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(A(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 Qi(t,e){return void 0===e&&(e=B),Xi(t,ee(new Zi),e)}function $i(t){return void 0===t&&(t=B),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 Kn(eo,[])}function ro(t){return function(e){return e.lift(new io(t))}}var io=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new oo(t),r=e.subscribe(n);return r.closed||n.add(A(n,this.windowBoundaries)),r},t}(),oo=function(t){function e(e){var n=t.call(this,e)||this;return n.window=new ln,e.next(n.window),n}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){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 ln;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,r){var i=t.call(this,e)||this;return i.destination=e,i.windowSize=n,i.startWindowEvery=r,i.windows=[new ln],i.count=0,e.next(i.windows[0]),i}return r.__extends(e,t),e.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,i=this.windows,o=i.length,s=0;s<o&&!this.closed;s++)i[s].next(t);var u=this.count-r+1;if(u>=0&&u%e==0&&!this.closed&&i.shift().complete(),++this.count%e==0&&!this.closed){var c=new ln;i.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}(v);function ao(t){var e=B,n=null,r=Number.POSITIVE_INFINITY;return H(arguments[3])&&(e=arguments[3]),H(arguments[2])?e=arguments[2]:Y(arguments[2])&&(r=arguments[2]),H(arguments[1])?e=arguments[1]:Y(arguments[1])&&(n=arguments[1]),function(i){return i.lift(new ho(t,n,r,e))}}var ho=function(){function t(t,e,n,r){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new fo(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),lo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._numberOfNextedValues=0,e}return r.__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}(ln),fo=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;s.destination=e,s.windowTimeSpan=n,s.windowCreationInterval=r,s.maxWindowSize=i,s.scheduler=o,s.windows=[];var u=s.openWindow();if(null!==r&&r>=0){var c={subscriber:s,window:u,context:null},a={windowTimeSpan:n,windowCreationInterval:r,subscriber:s,scheduler:o};s.add(o.schedule(vo,n,c)),s.add(o.schedule(bo,r,a))}else{var h={subscriber:s,window:u,windowTimeSpan:n};s.add(o.schedule(po,n,h))}return s}return r.__extends(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,r=0;r<n;r++){var i=e[r];i.closed||(i.next(t),i.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(i))}},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 lo;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}(v);function po(t){var e=t.subscriber,n=t.windowTimeSpan,r=t.window;r&&e.closeWindow(r),t.window=e.openWindow(),this.schedule(t,n)}function bo(t){var e=t.windowTimeSpan,n=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,o=n.openWindow(),s={action:this,subscription:null},u={subscriber:n,window:o,context:s};s.subscription=r.schedule(vo,e,u),this.add(s.subscription),this.schedule(t,i)}function vo(t){var e=t.subscriber,n=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),e.closeWindow(n)}function yo(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 mo(t,this.openings,this.closingSelector))},t}(),mo=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.openings=n,i.closingSelector=r,i.contexts=[],i.add(i.openSubscription=A(i,n,n)),i}return r.__extends(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,r=0;r<n;r++)e[r].window.next(t)},e.prototype._error=function(e){var n=this.contexts;if(this.contexts=null,n)for(var r=n.length,i=-1;++i<r;){var o=n[i];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,r=-1;++r<n;){var i=e[r];i.window.complete(),i.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 r=t[n];r.window.unsubscribe(),r.subscription.unsubscribe()}},e.prototype.notifyNext=function(t,e,n,r,i){if(t===this.openings){var o=void 0;try{o=(0,this.closingSelector)(e)}catch(t){return this.error(t)}var s=new ln,u=new p,c={window:s,subscription:u};this.contexts.push(c);var a=A(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],r=n.window,i=n.subscription;e.splice(t,1),r.complete(),i.unsubscribe()}},e}(_);function wo(t){return function(e){return e.lift(new xo(t))}}var xo=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new go(t,this.closingSelector))},t}(),go=function(t){function e(e,n){var r=t.call(this,e)||this;return r.destination=e,r.closingSelector=n,r.openWindow(),r}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.openWindow(i)},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,r=this.window=new ln;this.destination.next(r);try{n=(0,this.closingSelector)()}catch(t){return this.destination.error(t),void this.window.error(t)}this.add(this.closingNotification=A(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 r=t;return e.lift(new Eo(r,n))}}var Eo=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new Co(t,this.observables,this.project))},t}(),Co=function(t){function e(e,n,r){var i=t.call(this,e)||this;i.observables=n,i.project=r,i.toRespond=[];var o=n.length;i.values=new Array(o);for(var s=0;s<o;s++)i.toRespond.push(s);for(s=0;s<o;s++){var u=n[s];i.add(A(i,u,u,s))}return i}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){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 Oo(){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(),vt(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 No(t,this.resultSelector))},t}(),No=function(t){function e(e,n,r){void 0===r&&(r=Object.create(null));var i=t.call(this,e)||this;return i.iterators=[],i.active=0,i.resultSelector="function"==typeof n?n:null,i.values=r,i}return r.__extends(e,t),e.prototype._next=function(t){var e=this.iterators;a(t)?e.push(new jo(t)):"function"==typeof t[I]?e.push(new Io(t[I]())):e.push(new Po(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 r=t[n];if(r.stillUnsubscribed)this.destination.add(r.subscribe(r,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,r=0;r<e;r++){if("function"==typeof(s=t[r]).hasValue&&!s.hasValue())return}var i=!1,o=[];for(r=0;r<e;r++){var s,u=(s=t[r]).next();if(s.hasCompleted()&&(i=!0),u.done)return void n.complete();o.push(u.value)}this.resultSelector?this._tryresultSelector(o):n.next(o),i&&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}(v),Io=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}(),jo=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[I]=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}(),Po=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.parent=n,i.observable=r,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return r.__extends(e,t),e.prototype[I]=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,r,i){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return A(this,this.observable,this,e)},e}(_);function Vo(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(Oo.apply(void 0,[e].concat(t)))}}function Do(t){return function(e){return e.lift(new To(t))}}}])}));
package/dist/cdn/main.js CHANGED
@@ -2,4 +2,4 @@
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("tslib"),require("@angular/core"),require("rxjs"),require("@telerik/kendo-draggable"),require("@angular/common"),require("rxjs/operators")):"function"==typeof define&&define.amd?define(["tslib","@angular/core","rxjs","@telerik/kendo-draggable","@angular/common","rxjs/operators"],t):"object"==typeof exports?exports.KendoAngularCommon=t(require("tslib"),require("@angular/core"),require("rxjs"),require("@telerik/kendo-draggable"),require("@angular/common"),require("rxjs/operators")):e.KendoAngularCommon=t(e.tslib,e["@angular/core"],e.rxjs,e["@telerik/kendo-draggable"],e["@angular/common"],e["rxjs/operators"])}(window,(function(e,t,i,n,r,s){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=18)}([function(t,i){t.exports=e},function(e,i){e.exports=t},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(20);t.isDocumentAvailable=n.isDocumentAvailable;var r=i(7);t.isChanged=r.isChanged;var s=i(21);t.anyChanged=s.anyChanged;var o=i(22);t.hasObservers=o.hasObservers;var u=i(23);t.guid=u.guid},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findElement=function(e,i,n){if(void 0===n&&(n=!0),e){if(n&&i(e))return e;for(e=e.firstChild;e;){if(1===e.nodeType){var r=t.findElement(e,i);if(r)return r}e=e.nextSibling}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(9),r=i(10);t.isFocusableWithTabKey=function(e,t){if(void 0===t&&(t=!0),!n.isFocusable(e))return!1;var i=e.getAttribute("tabIndex");return(!t||r.isVisible(e))&&"-1"!==i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(16),o=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 i=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular((function(){i.subscription=s.from(i.resolvedPromise).subscribe(i.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,i=t.length,n=0;n<i;n++)if(t[n].instance===e)return t.splice(n,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=n.__decorate([r.Injectable(),n.__metadata("design:paramtypes",[r.NgZone])],e)}();t.ResizeBatchService=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(2),o=i(24),u=function(){function e(e,t){this.element=e,this.ngZone=t,this.enableDrag=!0,this.kendoPress=new r.EventEmitter,this.kendoDrag=new r.EventEmitter,this.kendoRelease=new r.EventEmitter}return e.prototype.ngOnInit=function(){this.toggleDraggable()},e.prototype.ngOnChanges=function(e){s.isChanged("enableDrag",e)&&this.toggleDraggable()},e.prototype.ngOnDestroy=function(){this.destroyDraggable()},e.prototype.toggleDraggable=function(){var e=this;s.isDocumentAvailable()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new o.default({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)},n.__decorate([r.Input(),n.__metadata("design:type",Boolean)],e.prototype,"enableDrag",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],e.prototype,"kendoPress",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],e.prototype,"kendoDrag",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],e.prototype,"kendoRelease",void 0),e=n.__decorate([r.Directive({selector:"[kendoDraggable]"}),n.__metadata("design:paramtypes",[r.ElementRef,r.NgZone])],e)}();t.DraggableDirective=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isChanged=function(e,t,i){return void 0===i&&(i=!0),!(void 0===t[e]||t[e].isFirstChange()&&i||t[e].previousValue===t[e].currentValue)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closest=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=/^(?:a|input|select|option|textarea|button|object)$/i;t.isFocusable=function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase(),i=Boolean(e.getAttribute("tabIndex"));return!e.disabled&&n.test(t)||i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVisible=function(e){var t=e.getBoundingClientRect(),i=t.width>0&&t.height>0,n=0!==t.x&&0!==t.y;return(i||n)&&"hidden"!==window.getComputedStyle(e).visibility}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return String(e).trim().split(" ")};t.hasClasses=function(e,t){var i=n(t);return Boolean(n(e.className).find((function(e){return i.indexOf(e)>=0})))}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=function(){function e(e,t,i){this.element=e,this.ngZone=t,this.renderer=i,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 i in t)t.hasOwnProperty(i)&&e.subscriptions.push(e.renderer.listen(e.element.nativeElement,i,e.scope?t[i].bind(e.scope):t[i]))}))}},e.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}},n.__decorate([r.Input("kendoEventsOutsideAngular"),n.__metadata("design:type",Object)],e.prototype,"events",void 0),n.__decorate([r.Input(),n.__metadata("design:type",Object)],e.prototype,"scope",void 0),e=n.__decorate([r.Directive({selector:"[kendoEventsOutsideAngular]"}),n.__metadata("design:paramtypes",[r.ElementRef,r.NgZone,r.Renderer2])],e)}();t.EventsOutsideAngularDirective=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(38),o=i(14),u=i(17),a=i(5),c=function(){function e(e,t,i){var n=this;this.rateLimit=10,this.resize=new r.EventEmitter;var a=u.ResizeObserverService.supported()?u.ResizeObserverService:o.ResizeCompatService;this.resizeService=new a(e,t,i);var c=1e3/(this.rateLimit||10);this.subscription=this.resizeService.resize.pipe(s.auditTime(c)).subscribe((function(){n.resizeService.acceptedSize||n.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)},n.__decorate([r.Input(),n.__metadata("design:type",Number)],e.prototype,"rateLimit",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],e.prototype,"resize",void 0),e=n.__decorate([r.Component({selector:"kendo-resize-sensor",template:""}),n.__metadata("design:paramtypes",[a.ResizeBatchService,r.ElementRef,r.NgZone])],e)}();t.ResizeSensorComponent=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(15),s=i(16),o=function(e){var t=document.createElement("div");return t.style.cssText=e,t},u="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",a=function(e){function t(t,i,n){var r=e.call(this,t)||this;return r.element=i,r.ngZone=n,r}return n.__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=u,e.setAttribute("dir","ltr"),this.expand=o(u),this.expandChild=o("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),e.appendChild(this.expand),this.shrink=o(u);var t=o("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 i=this.shrink;i.scrollLeft=1e5,i.scrollTop=1e5},t.prototype.subscribe=function(){var e=this;this.ngZone.runOutsideAngular((function(){e.subscription=s.merge(s.fromEvent(e.shrink,"scroll"),s.fromEvent(e.expand,"scroll")).subscribe((function(){e.checkSize()}))}))},t}(r.ResizeService);t.ResizeCompatService=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(1),r=i(2),s=function(){function e(e){this.resizeBatchService=e,this.resize=new n.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(){r.isDocumentAvailable()&&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,i=e.height;if(!(t===this.lastWidth&&i===this.lastHeight))return this.lastWidth=t,this.lastHeight=i,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}();t.ResizeService=s},function(e,t){e.exports=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(15),s="undefined"!=typeof ResizeObserver,o=function(e){function t(t,i,n){var r=e.call(this,t)||this;return r.element=i,r.ngZone=n,r}return n.__extends(t,e),t.supported=function(){return s},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}(r.ResizeService);t.ResizeObserverService=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0);n.__exportStar(i(19),t),n.__exportStar(i(27),t),n.__exportStar(i(35),t),n.__exportStar(i(37),t),n.__exportStar(i(40),t),n.__exportStar(i(2),t),n.__exportStar(i(41),t);var r=i(43);t.PreventableEvent=r.PreventableEvent},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(6);t.DraggableDirective=n.DraggableDirective;var r=i(25);t.DraggableModule=r.DraggableModule},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDocumentAvailable=function(){return"undefined"!=typeof document}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(7);t.anyChanged=function(e,t,i){return void 0===i&&(i=!0),e.some((function(e){return n.isChanged(e,t,i)}))}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasObservers=function(e){return e&&e.observers.length>0}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.guid=function(){for(var e="",t=0;t<32;t++){var i=16*Math.random()|0;8!==t&&12!==t&&16!==t&&20!==t||(e+="-"),e+=(12===t?4:16===t?3&i|8:i).toString(16)}return e}},function(e,t){e.exports=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(6),o=i(26),u=function(){function e(){}return e=n.__decorate([r.NgModule({declarations:[s.DraggableDirective],exports:[s.DraggableDirective],imports:[o.CommonModule]})],e)}();t.DraggableModule=u},function(e,t){e.exports=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(28);t.closestInScope=n.closestInScope;var r=i(8);t.closest=r.closest;var s=i(29);t.contains=s.contains;var o=i(3);t.findElement=o.findElement;var u=i(30);t.findFocusableChild=u.findFocusableChild;var a=i(31);t.findFocusable=a.findFocusable;var c=i(11);t.hasClasses=c.hasClasses;var l=i(4);t.isFocusableWithTabKey=l.isFocusableWithTabKey;var d=i(9);t.isFocusable=d.isFocusable;var p=i(10);t.isVisible=p.isVisible;var h=i(32);t.matchesClasses=h.matchesClasses;var f=i(33);t.matchesNodeName=f.matchesNodeName;var v=i(34);t.rtlScrollPosition=v.rtlScrollPosition},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closestInScope=function(e,t,i){for(;e&&e!==i&&!t(e);)e=e.parentNode;if(e!==i)return e}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(8);t.contains=function(e,t,i){if(void 0===i&&(i=!1),!n.closest(t,(function(t){return t===e})))return!1;var r=n.closest(t,(function(e){return e===t}));return r&&(i||r!==e)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(3),r=i(4);t.findFocusableChild=function(e,t){return void 0===t&&(t=!0),n.findElement(e,(function(e){return r.isFocusableWithTabKey(e,t)}),!1)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(3),r=i(4);t.findFocusable=function(e,t){return void 0===t&&(t=!0),n.findElement(e,(function(e){return r.isFocusableWithTabKey(e,t)}))}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(11);t.matchesClasses=function(e){return function(t){return n.hasClasses(t,e)}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={};t.matchesNodeName=function(e){return n[e]||(n[e]=function(t){return String(t.nodeName).toLowerCase()===e.toLowerCase()}),n[e]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rtlScrollPosition=function(e,t,i){var n=e;return i<0?n=-e:i>0&&(n=t.scrollWidth-t.offsetWidth-e),n}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(12);t.EventsOutsideAngularDirective=n.EventsOutsideAngularDirective;var r=i(36);t.EventsModule=r.EventsModule},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(12),o=function(){function e(){}return e=n.__decorate([r.NgModule({declarations:[s.EventsOutsideAngularDirective],exports:[s.EventsOutsideAngularDirective]})],e)}();t.EventsModule=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(13);t.ResizeSensorComponent=n.ResizeSensorComponent;var r=i(5);t.ResizeBatchService=r.ResizeBatchService;var s=i(14);t.ResizeCompatService=s.ResizeCompatService;var o=i(17);t.ResizeObserverService=o.ResizeObserverService;var u=i(39);t.ResizeSensorModule=u.ResizeSensorModule},function(e,t){e.exports=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(13),o=i(5),u=[s.ResizeSensorComponent],a=function(){function e(){}return e=n.__decorate([r.NgModule({declarations:[u],exports:[u],providers:[o.ResizeBatchService]})],e)}();t.ResizeSensorModule=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){};t.KendoInput=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(42);t.Keys=n.Keys},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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"}(t.Keys||(t.Keys={}))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.prevented=!1}return e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}();t.PreventableEvent=n}])}));
5
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("tslib"),require("@angular/core"),require("rxjs"),require("@telerik/kendo-draggable"),require("@angular/common")):"function"==typeof define&&define.amd?define([,,,,],e):"object"==typeof exports?exports.KendoAngularCommon=e(require("tslib"),require("@angular/core"),require("rxjs"),require("@telerik/kendo-draggable"),require("@angular/common")):t.KendoAngularCommon=e(t.self,t.ng.core,t.rxjs,t.KendoDraggable,t.ng.common)}(window,(function(t,e,n,i,r){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=18)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(20);e.isDocumentAvailable=i.isDocumentAvailable;var r=n(7);e.isChanged=r.isChanged;var o=n(21);e.anyChanged=o.anyChanged;var s=n(22);e.hasObservers=s.hasObservers;var u=n(23);e.guid=u.guid},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findElement=function(t,n,i){if(void 0===i&&(i=!0),t){if(i&&n(t))return t;for(t=t.firstChild;t;){if(1===t.nodeType){var r=e.findElement(t,n);if(r)return r}t=t.nextSibling}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(9),r=n(10);e.isFocusableWithTabKey=function(t,e){if(void 0===e&&(e=!0),!i.isFocusable(t))return!1;var n=t.getAttribute("tabIndex");return(!e||r.isVisible(t))&&"-1"!==n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(16),s=function(){function t(t){this.ngZone=t,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}return t.prototype.schedule=function(t,e){var n=this;this.scheduled.push({instance:t,method:e}),this.subscription||this.ngZone.runOutsideAngular((function(){n.subscription=o.from(n.resolvedPromise).subscribe(n.flush)}))},t.prototype.isScheduled=function(t){return Boolean(this.scheduled.find((function(e){return e.instance===t})))},t.prototype.cancel=function(t){for(var e=this.scheduled,n=e.length,i=0;i<n;i++)if(e[i].instance===t)return e.splice(i,1),void(e.length||this.unsubscribe())},t.prototype.ngOnDestroy=function(){this.unsubscribe()},t.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},t.prototype.flush=function(){this.scheduled.forEach((function(t){t.method.call(t.instance)})),this.scheduled=[],this.unsubscribe()},t=i.__decorate([r.Injectable(),i.__metadata("design:paramtypes",[r.NgZone])],t)}();e.ResizeBatchService=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(2),s=n(24),u=function(){function t(t,e){this.element=t,this.ngZone=e,this.enableDrag=!0,this.kendoPress=new r.EventEmitter,this.kendoDrag=new r.EventEmitter,this.kendoRelease=new r.EventEmitter}return t.prototype.ngOnInit=function(){this.toggleDraggable()},t.prototype.ngOnChanges=function(t){o.isChanged("enableDrag",t)&&this.toggleDraggable()},t.prototype.ngOnDestroy=function(){this.destroyDraggable()},t.prototype.toggleDraggable=function(){var t=this;o.isDocumentAvailable()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new s.default({drag:function(e){return t.kendoDrag.next(e)},press:function(e){return t.kendoPress.next(e)},release:function(e){return t.kendoRelease.next(e)}}),this.ngZone.runOutsideAngular((function(){return t.draggable.bindTo(t.element.nativeElement)}))))},t.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],t.prototype,"enableDrag",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"kendoPress",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"kendoDrag",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"kendoRelease",void 0),t=i.__decorate([r.Directive({selector:"[kendoDraggable]"}),i.__metadata("design:paramtypes",[r.ElementRef,r.NgZone])],t)}();e.DraggableDirective=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isChanged=function(t,e,n){return void 0===n&&(n=!0),!(void 0===e[t]||e[t].isFirstChange()&&n||e[t].previousValue===e[t].currentValue)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.closest=function(t,e){for(;t&&!e(t);)t=t.parentNode;return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=/^(?:a|input|select|option|textarea|button|object)$/i;e.isFocusable=function(t){if(!t.tagName)return!1;var e=t.tagName.toLowerCase(),n=Boolean(t.getAttribute("tabIndex"));return!t.disabled&&i.test(e)||n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isVisible=function(t){var e=t.getBoundingClientRect(),n=e.width>0&&e.height>0,i=0!==e.x&&0!==e.y;return(n||i)&&"hidden"!==window.getComputedStyle(t).visibility}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return String(t).trim().split(" ")};e.hasClasses=function(t,e){var n=i(e);return Boolean(i(t.className).find((function(t){return n.indexOf(t)>=0})))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=function(){function t(t,e,n){this.element=t,this.ngZone=e,this.renderer=n,this.events={}}return t.prototype.ngOnInit=function(){var t=this;if(this.element&&this.element.nativeElement){var e=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular((function(){for(var n in e)e.hasOwnProperty(n)&&t.subscriptions.push(t.renderer.listen(t.element.nativeElement,n,t.scope?e[n].bind(t.scope):e[n]))}))}},t.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var t=0;t<this.subscriptions.length;t++)this.subscriptions[t]();this.subscriptions=null}},i.__decorate([r.Input("kendoEventsOutsideAngular"),i.__metadata("design:type",Object)],t.prototype,"events",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],t.prototype,"scope",void 0),t=i.__decorate([r.Directive({selector:"[kendoEventsOutsideAngular]"}),i.__metadata("design:paramtypes",[r.ElementRef,r.NgZone,r.Renderer2])],t)}();e.EventsOutsideAngularDirective=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(43),s=n(14),u=n(17),c=n(5),h=function(){function t(t,e,n){var i=this;this.rateLimit=10,this.resize=new r.EventEmitter;var c=u.ResizeObserverService.supported()?u.ResizeObserverService:s.ResizeCompatService;this.resizeService=new c(t,e,n);var h=1e3/(this.rateLimit||10);this.subscription=this.resizeService.resize.pipe(o.auditTime(h)).subscribe((function(){i.resizeService.acceptedSize||i.resize.emit()}))}return t.prototype.ngAfterViewChecked=function(){this.resizeService.checkChanges()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe(),this.resizeService.destroy()},t.prototype.acceptSize=function(t){this.resizeService.acceptSize(t)},i.__decorate([r.Input(),i.__metadata("design:type",Number)],t.prototype,"rateLimit",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],t.prototype,"resize",void 0),t=i.__decorate([r.Component({selector:"kendo-resize-sensor",template:""}),i.__metadata("design:paramtypes",[c.ResizeBatchService,r.ElementRef,r.NgZone])],t)}();e.ResizeSensorComponent=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(15),o=n(16),s=function(t){var e=document.createElement("div");return e.style.cssText=t,e},u="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",c=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.element=n,r.ngZone=i,r}return i.__extends(e,t),e.prototype.checkChanges=function(){2!==this.state?t.prototype.checkChanges.call(this):this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.checkSize)},e.prototype.destroy=function(){if(t.prototype.destroy.call(this),this.subscription&&this.subscription.unsubscribe(),this.expand){var e=this.element.nativeElement;e.removeChild(this.expand),e.removeChild(this.shrink),this.expand.removeChild(this.expandChild),this.expand=this.expandChild=this.shrink=this.element=null}},e.prototype.checkSize=function(){if(t.prototype.checkSize.call(this))return this.reset(),!0},e.prototype.init=function(){var t,e=this.parentElement=this.element.nativeElement.parentElement;"static"===(t="position",getComputedStyle(e,null).getPropertyValue(t))&&(e.style.position="relative"),this.state=2,this.render(),this.reset(),this.initSize(),this.subscribe()},e.prototype.render=function(){var t=this.element.nativeElement;t.style.cssText=u,t.setAttribute("dir","ltr"),this.expand=s(u),this.expandChild=s("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),t.appendChild(this.expand),this.shrink=s(u);var e=s("position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;");this.shrink.appendChild(e),t.appendChild(this.shrink)},e.prototype.reset=function(){var t=this.expandChild;t.style.width="100000px",t.style.height="100000px";var e=this.expand;e.scrollLeft=1e5,e.scrollTop=1e5;var n=this.shrink;n.scrollLeft=1e5,n.scrollTop=1e5},e.prototype.subscribe=function(){var t=this;this.ngZone.runOutsideAngular((function(){t.subscription=o.merge(o.fromEvent(t.shrink,"scroll"),o.fromEvent(t.expand,"scroll")).subscribe((function(){t.checkSize()}))}))},e}(r.ResizeService);e.ResizeCompatService=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),r=n(2),o=function(){function t(t){this.resizeBatchService=t,this.resize=new i.EventEmitter,this.acceptedSize=!1,this.state=0}return t.prototype.acceptSize=function(t){void 0===t&&(t=this.measure()),this.lastWidth=t.width,this.lastHeight=t.height,this.acceptedSize=!0},t.prototype.checkChanges=function(){r.isDocumentAvailable()&&0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init))},t.prototype.destroy=function(){this.resizeBatchService.cancel(this)},t.prototype.checkSize=function(){if(this.parentElement){var t=this.measure(),e=t.width,n=t.height;if(!(e===this.lastWidth&&n===this.lastHeight))return this.lastWidth=e,this.lastHeight=n,this.acceptedSize=!1,this.resize.emit(),!0}},t.prototype.initSize=function(){var t=this.measure();this.lastWidth=t.width,this.lastHeight=t.height},t.prototype.measure=function(){var t=0,e=0;return this.parentElement&&(e=this.parentElement.offsetHeight,t=this.parentElement.offsetWidth),{height:e,width:t}},t}();e.ResizeService=o},function(t,e){t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(15),o="undefined"!=typeof ResizeObserver,s=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.element=n,r.ngZone=i,r}return i.__extends(e,t),e.supported=function(){return o},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.parentElement=null},e.prototype.init=function(){var t=this;this.parentElement=this.element.nativeElement.parentElement,this.initSize(),this.state=2,this.ngZone.runOutsideAngular((function(){t.resizeObserver=new ResizeObserver((function(){t.checkSize()})),t.resizeObserver.observe(t.parentElement)}))},e}(r.ResizeService);e.ResizeObserverService=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0);i.__exportStar(n(19),e),i.__exportStar(n(27),e),i.__exportStar(n(35),e),i.__exportStar(n(37),e),i.__exportStar(n(39),e),i.__exportStar(n(2),e),i.__exportStar(n(40),e);var r=n(42);e.PreventableEvent=r.PreventableEvent},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(6);e.DraggableDirective=i.DraggableDirective;var r=n(25);e.DraggableModule=r.DraggableModule},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isDocumentAvailable=function(){return"undefined"!=typeof document}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(7);e.anyChanged=function(t,e,n){return void 0===n&&(n=!0),t.some((function(t){return i.isChanged(t,e,n)}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasObservers=function(t){return t&&t.observers.length>0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.guid=function(){for(var t="",e=0;e<32;e++){var n=16*Math.random()|0;8!==e&&12!==e&&16!==e&&20!==e||(t+="-"),t+=(12===e?4:16===e?3&n|8:n).toString(16)}return t}},function(t,e){t.exports=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(6),s=n(26),u=function(){function t(){}return t=i.__decorate([r.NgModule({declarations:[o.DraggableDirective],exports:[o.DraggableDirective],imports:[s.CommonModule]})],t)}();e.DraggableModule=u},function(t,e){t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(28);e.closestInScope=i.closestInScope;var r=n(8);e.closest=r.closest;var o=n(29);e.contains=o.contains;var s=n(3);e.findElement=s.findElement;var u=n(30);e.findFocusableChild=u.findFocusableChild;var c=n(31);e.findFocusable=c.findFocusable;var h=n(11);e.hasClasses=h.hasClasses;var a=n(4);e.isFocusableWithTabKey=a.isFocusableWithTabKey;var l=n(9);e.isFocusable=l.isFocusable;var f=n(10);e.isVisible=f.isVisible;var p=n(32);e.matchesClasses=p.matchesClasses;var d=n(33);e.matchesNodeName=d.matchesNodeName;var b=n(34);e.rtlScrollPosition=b.rtlScrollPosition},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.closestInScope=function(t,e,n){for(;t&&t!==n&&!e(t);)t=t.parentNode;if(t!==n)return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(8);e.contains=function(t,e,n){if(void 0===n&&(n=!1),!i.closest(e,(function(e){return e===t})))return!1;var r=i.closest(e,(function(t){return t===e}));return r&&(n||r!==t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),r=n(4);e.findFocusableChild=function(t,e){return void 0===e&&(e=!0),i.findElement(t,(function(t){return r.isFocusableWithTabKey(t,e)}),!1)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),r=n(4);e.findFocusable=function(t,e){return void 0===e&&(e=!0),i.findElement(t,(function(t){return r.isFocusableWithTabKey(t,e)}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(11);e.matchesClasses=function(t){return function(e){return i.hasClasses(e,t)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={};e.matchesNodeName=function(t){return i[t]||(i[t]=function(e){return String(e.nodeName).toLowerCase()===t.toLowerCase()}),i[t]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.rtlScrollPosition=function(t,e,n){var i=t;return n<0?i=-t:n>0&&(i=e.scrollWidth-e.offsetWidth-t),i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(12);e.EventsOutsideAngularDirective=i.EventsOutsideAngularDirective;var r=n(36);e.EventsModule=r.EventsModule},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(12),s=function(){function t(){}return t=i.__decorate([r.NgModule({declarations:[o.EventsOutsideAngularDirective],exports:[o.EventsOutsideAngularDirective]})],t)}();e.EventsModule=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(13);e.ResizeSensorComponent=i.ResizeSensorComponent;var r=n(5);e.ResizeBatchService=r.ResizeBatchService;var o=n(14);e.ResizeCompatService=o.ResizeCompatService;var s=n(17);e.ResizeObserverService=s.ResizeObserverService;var u=n(38);e.ResizeSensorModule=u.ResizeSensorModule},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(13),s=n(5),u=[o.ResizeSensorComponent],c=function(){function t(){}return t=i.__decorate([r.NgModule({declarations:[u],exports:[u],providers:[s.ResizeBatchService]})],t)}();e.ResizeSensorModule=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){};e.KendoInput=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(41);e.Keys=i.Keys},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.Alt=18]="Alt",t[t.ArrowDown=40]="ArrowDown",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowUp=38]="ArrowUp",t[t.Backspace=8]="Backspace",t[t.Control=17]="Control",t[t.Delete=46]="Delete",t[t.Digit0=48]="Digit0",t[t.Digit1=49]="Digit1",t[t.Digit2=50]="Digit2",t[t.Digit3=51]="Digit3",t[t.Digit4=52]="Digit4",t[t.Digit5=53]="Digit5",t[t.Digit6=54]="Digit6",t[t.Digit7=55]="Digit7",t[t.Digit8=56]="Digit8",t[t.Digit9=57]="Digit9",t[t.End=35]="End",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.F1=112]="F1",t[t.F2=113]="F2",t[t.F10=121]="F10",t[t.Home=36]="Home",t[t.Insert=45]="Insert",t[t.KeyA=65]="KeyA",t[t.KeyB=66]="KeyB",t[t.KeyC=67]="KeyC",t[t.KeyD=68]="KeyD",t[t.KeyE=69]="KeyE",t[t.KeyF=70]="KeyF",t[t.KeyG=71]="KeyG",t[t.KeyH=72]="KeyH",t[t.KeyI=73]="KeyI",t[t.KeyJ=74]="KeyJ",t[t.KeyK=75]="KeyK",t[t.KeyL=76]="KeyL",t[t.KeyM=77]="KeyM",t[t.KeyN=78]="KeyN",t[t.KeyO=79]="KeyO",t[t.KeyP=80]="KeyP",t[t.KeyQ=81]="KeyQ",t[t.KeyR=82]="KeyR",t[t.KeyS=83]="KeyS",t[t.KeyT=84]="KeyT",t[t.KeyU=85]="KeyU",t[t.KeyV=86]="KeyV",t[t.KeyW=87]="KeyW",t[t.KeyX=88]="KeyX",t[t.KeyY=89]="KeyY",t[t.KeyZ=90]="KeyZ",t[t.NumpadDecimal=110]="NumpadDecimal",t[t.PageDown=34]="PageDown",t[t.PageUp=33]="PageUp",t[t.Shift=16]="Shift",t[t.Space=32]="Space",t[t.Tab=9]="Tab"}(e.Keys||(e.Keys={}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){this.prevented=!1}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";n.r(e),n.d(e,"audit",(function(){return A})),n.d(e,"auditTime",(function(){return U})),n.d(e,"buffer",(function(){return L})),n.d(e,"bufferCount",(function(){return J})),n.d(e,"bufferTime",(function(){return tt})),n.d(e,"bufferToggle",(function(){return ut})),n.d(e,"bufferWhen",(function(){return at})),n.d(e,"catchError",(function(){return pt})),n.d(e,"combineAll",(function(){return xt})),n.d(e,"combineLatest",(function(){return gt})),n.d(e,"concat",(function(){return Mt})),n.d(e,"concatAll",(function(){return zt})),n.d(e,"concatMap",(function(){return Kt})),n.d(e,"concatMapTo",(function(){return Rt})),n.d(e,"count",(function(){return Ft})),n.d(e,"debounce",(function(){return Yt})),n.d(e,"debounceTime",(function(){return Ut})),n.d(e,"defaultIfEmpty",(function(){return Jt})),n.d(e,"delay",(function(){return re})),n.d(e,"delayWhen",(function(){return ce})),n.d(e,"dematerialize",(function(){return pe})),n.d(e,"distinct",(function(){return ve})),n.d(e,"distinctUntilChanged",(function(){return me})),n.d(e,"distinctUntilKeyChanged",(function(){return ge})),n.d(e,"elementAt",(function(){return Ke})),n.d(e,"endWith",(function(){return Re})),n.d(e,"every",(function(){return Fe})),n.d(e,"exhaust",(function(){return Ye})),n.d(e,"exhaustMap",(function(){return Ue})),n.d(e,"expand",(function(){return Ge})),n.d(e,"filter",(function(){return Ce})),n.d(e,"finalize",(function(){return Xe})),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 pn})),n.d(e,"ignoreElements",(function(){return mn})),n.d(e,"isEmpty",(function(){return gn})),n.d(e,"last",(function(){return On})),n.d(e,"map",(function(){return Nt})),n.d(e,"mapTo",(function(){return In})),n.d(e,"materialize",(function(){return Pn})),n.d(e,"max",(function(){return Rn})),n.d(e,"merge",(function(){return Wn})),n.d(e,"mergeAll",(function(){return kt})),n.d(e,"mergeMap",(function(){return jt})),n.d(e,"flatMap",(function(){return jt})),n.d(e,"mergeMapTo",(function(){return Bn})),n.d(e,"mergeScan",(function(){return Yn})),n.d(e,"min",(function(){return Un})),n.d(e,"multicast",(function(){return $n})),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 fi})),n.d(e,"pluck",(function(){return pi})),n.d(e,"publish",(function(){return bi})),n.d(e,"publishBehavior",(function(){return yi})),n.d(e,"publishLast",(function(){return mi})),n.d(e,"publishReplay",(function(){return Ei})),n.d(e,"race",(function(){return Oi})),n.d(e,"reduce",(function(){return Kn})),n.d(e,"repeat",(function(){return Ii})),n.d(e,"repeatWhen",(function(){return Pi})),n.d(e,"retry",(function(){return zi})),n.d(e,"retryWhen",(function(){return Ki})),n.d(e,"refCount",(function(){return Ln})),n.d(e,"sample",(function(){return Wi})),n.d(e,"sampleTime",(function(){return qi})),n.d(e,"scan",(function(){return zn})),n.d(e,"sequenceEqual",(function(){return Zi})),n.d(e,"share",(function(){return $i})),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 ar})),n.d(e,"skipWhile",(function(){return pr})),n.d(e,"startWith",(function(){return vr})),n.d(e,"subscribeOn",(function(){return Er})),n.d(e,"switchAll",(function(){return Ir})),n.d(e,"switchMap",(function(){return Tr})),n.d(e,"switchMapTo",(function(){return jr})),n.d(e,"take",(function(){return ze})),n.d(e,"takeLast",(function(){return Cn})),n.d(e,"takeUntil",(function(){return Vr})),n.d(e,"takeWhile",(function(){return kr})),n.d(e,"tap",(function(){return Oe})),n.d(e,"throttle",(function(){return Kr})),n.d(e,"throttleTime",(function(){return Wr})),n.d(e,"throwIfEmpty",(function(){return De})),n.d(e,"timeInterval",(function(){return Hr})),n.d(e,"timeout",(function(){return Xr})),n.d(e,"timeoutWith",(function(){return Gr})),n.d(e,"timestamp",(function(){return $r})),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 ho})),n.d(e,"windowToggle",(function(){return yo})),n.d(e,"windowWhen",(function(){return xo})),n.d(e,"withLatestFrom",(function(){return So})),n.d(e,"zip",(function(){return Po})),n.d(e,"zipAll",(function(){return Do}));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(){}},h=Array.isArray||function(t){return t&&"number"==typeof t.length};function a(t){return null!==t&&"object"==typeof t}function l(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}l.prototype=Object.create(Error.prototype);var f=l,p=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 f?d(n.errors):[n]}if(h(s))for(u=-1,c=s.length;++u<c;){var l=s[u];if(a(l))try{l.unsubscribe()}catch(n){e=!0,t=t||[],n instanceof f?t=t.concat(d(n.errors)):t.push(n)}}if(e)throw new f(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 f?e.errors:e)}),[])}var b="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),v=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 y(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new y(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}(p),y=function(t){function e(e,n,i,o){var s,u=t.call(this)||this;u._parentSubscriber=e;var h=u;return r(n)?s=n:n&&(s=n.next,i=n.error,o=n.complete,n!==c&&(r((h=Object.create(n)).unsubscribe)&&u.add(h.unsubscribe.bind(h)),h.unsubscribe=u.unsubscribe.bind(u))),u._context=h,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}(v),_=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}(v),m=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}(v);var x="function"==typeof Symbol&&Symbol.observable||"@@observable";function w(){}function g(){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 E=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 v)return t;if(t[b])return t[b]()}return t||e||n?new v(t,e,n):new v(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 v?i:null}return!0}(t)?console.warn(e):t.error(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=C(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[x]=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=C(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 C(t){if(t||(t=s.Promise||Promise),!t)throw new Error("no Promise impl found");return t}var T=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()}},N=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 O(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var I=O(),j=function(t){return function(e){for(var n=t[I]();;){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}},V=function(t){return function(e){var n=t[x]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}},P=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function D(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var k=function(t){if(t instanceof E)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[x])return V(t);if(P(t))return T(t);if(D(t))return N(t);if(t&&"function"==typeof t[I])return j(t);var e=a(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 z(t,e,n,i,r){if(void 0===r&&(r=new m(t,n,i)),!r.closed)return k(e)(r)}function A(t){return function(e){return e.lift(new M(t))}}var M=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new K(t,this.durationSelector))},t}(),K=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=z(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}(_),R=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}(p)),F=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}(),W=function(t){function e(n,i){void 0===i&&(i=F.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}(F),B=new W(R);function Y(t){return!h(t)&&t-parseFloat(t)+1>=0}function q(t){return t&&"function"==typeof t.schedule}function H(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=B),A((function(){return function(t,e,n){void 0===t&&(t=0);var i=-1;return Y(e)?i=Number(e)<1?1:Number(e):q(e)&&(n=e),q(n)||(n=B),new E((function(e){var r=Y(t)?t:+t-n.now();return n.schedule(H,r,{index:0,period:i,subscriber:e})}))}(t,e)}))}function L(t){return function(e){return e.lift(new Z(t))}}var Z=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new G(t,this.closingNotifier))},t}(),G=function(t){function e(e,n){var i=t.call(this,e)||this;return i.buffer=[],i.add(z(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 J(t,e){return void 0===e&&(e=null),function(n){return n.lift(new Q(t,e))}}var Q=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?$:X}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),X=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}(v),$=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}(v);function tt(t){var e=arguments.length,n=B;q(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 h={subscriber:s,context:u},a={bufferTimeSpan:n,bufferCreationInterval:i,subscriber:s,scheduler:o};s.add(u.closeAction=o.schedule(st,n,h)),s.add(o.schedule(ot,i,a))}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}(v);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 ht(t,this.openings,this.closingSelector))},t}(),ht=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(z(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 p,i={buffer:[],subscription:n};e.push(i);var r=z(this,t,i);!r||r.closed?this.closeBuffer(i):(r.context=i,this.add(r),n.add(r))},e}(_);function at(t){return function(e){return e.lift(new lt(t))}}var lt=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new ft(t,this.closingSelector))},t}(),ft=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 p,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(z(this,e)),this.subscribing=!1},e}(_);function pt(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 m(this,void 0,void 0);this.add(i),z(this,n,void 0,void 0,i)}},e}(_);function vt(t,e){return new E(e?function(n){var i=new p,r=0;return i.add(e.schedule((function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()}))),i}:T(t))}var yt={};var _t=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new mt(t,this.resultSelector))},t}(),mt=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(yt),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(z(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===yt?--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 xt(t){return function(e){return e.lift(new _t(t))}}function wt(t,e){if(!e)return t instanceof E?t:new E(k(t));if(null!=t){if(function(t){return t&&"function"==typeof t[x]}(t))return function(t,e){return new E(e?function(n){var i=new p;return i.add(e.schedule((function(){var r=t[x]();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}:V(t))}(t,e);if(D(t))return function(t,e){return new E(e?function(n){var i=new p;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}:N(t))}(t,e);if(P(t))return vt(t,e);if(function(t){return t&&"function"==typeof t[I]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new E(e?function(n){var i,r=new p;return r.add((function(){i&&"function"==typeof i.return&&i.return()})),r.add(e.schedule((function(){i=t[I](),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}:j(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function gt(){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&&h(t[0])&&(t=t[0].slice()),function(e){return e.lift.call(wt([e].concat(t)),new _t(n))}}var St=new E((function(t){return t.complete()}));function Et(t){return t?function(t){return new E((function(e){return t.schedule((function(){return e.complete()}))}))}(t):St}function Ct(t){var e=new E((function(e){e.next(t),e.complete()}));return e._isScalar=!0,e.value=t,e}function Tt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];switch(q(n)?t.pop():n=void 0,t.length){case 0:return Et(n);case 1:return n?vt(t,n):Ct(t[0]);default:return vt(t,n)}}function Nt(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 Ot(t,e))}}var Ot=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new It(t,this.project,this.thisArg))},t}(),It=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}(v);function jt(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(i){return i.pipe(jt((function(n,i){return wt(t(n,i)).pipe(Nt((function(t,r){return e(n,t,i,r)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new Vt(t,n))})}var Vt=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 Pt(t,this.project,this.concurrent))},t}(),Pt=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 m(this,void 0,void 0);this.destination.add(i),z(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 Dt(t){return t}function kt(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),jt(Dt,t)}function zt(){return kt(1)}function At(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return zt()(Tt.apply(void 0,t))}function Mt(){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 Kt(t,e){return jt(t,e,1)}function Rt(t,e){return Kt((function(){return t}),e)}function Ft(t){return function(e){return e.lift(new Wt(t,e))}}var Wt=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Bt(t,this.predicate,this.source))},t}(),Bt=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}(v);function Yt(t){return function(e){return e.lift(new qt(t))}}var qt=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Ht(t,this.durationSelector))},t}(),Ht=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=z(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=B),function(n){return n.lift(new Lt(t,e))}}var Lt=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new Zt(t,this.dueTime,this.scheduler))},t}(),Zt=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(Gt,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}(v);function Gt(t){t.debouncedNext()}function Jt(t){return void 0===t&&(t=null),function(e){return e.lift(new Xt(t))}}var Qt,Xt=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new $t(t,this.defaultValue))},t}(),$t=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}(v);function te(t){return t instanceof Date&&!isNaN(+t)}function ee(t,e){return new E(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)}Qt||(Qt={});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 Tt(this.value);case"E":return ee(this.error);case"C":return Et()}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=B);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}(v),ue=function(){return function(t,e){this.time=t,this.notification=e}}();function ce(t,e){return e?function(n){return new le(n,e).lift(new he(t))}:function(e){return e.lift(new he(t))}}var he=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new ae(t,this.delayDurationSelector))},t}(),ae=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=z(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}(_),le=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 fe(t,this.source))},e}(E),fe=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}(v);function pe(){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}(v);function ve(t,e){return function(n){return n.lift(new ye(t,e))}}var ye=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(z(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 me(t,e){return function(n){return n.lift(new xe(t,e))}}var xe=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}(v);function ge(t,e){return me((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 Ee=Se;function Ce(t,e){return function(n){return n.lift(new Te(t,e))}}var Te=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new Ne(t,this.predicate,this.thisArg))},t}(),Ne=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}(v);function Oe(t,e,n){return function(i){return i.lift(new Ie(t,e,n))}}var Ie=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 je(t,this.nextOrObserver,this.error,this.complete))},t}(),je=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}(v);function Ve(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}Ve.prototype=Object.create(Error.prototype);var Pe=Ve,De=function(t){return void 0===t&&(t=ke),Oe({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function ke(){return new Pe}function ze(t){return function(e){return 0===t?Et():e.lift(new Ae(t))}}var Ae=function(){function t(t){if(this.total=t,this.total<0)throw new Ee}return t.prototype.call=function(t,e){return e.subscribe(new Me(t,this.total))},t}(),Me=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}(v);function Ke(t,e){if(t<0)throw new Ee;var n=arguments.length>=2;return function(i){return i.pipe(Ce((function(e,n){return n===t})),ze(1),n?Jt(e):De((function(){return new Ee})))}}function Re(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];q(n)?t.pop():n=null;var i=t.length;return At(e,1!==i||n?i>0?vt(t,n):Et(n):Ct(t[0]))}}function Fe(t,e){return function(n){return n.lift(new We(t,e,n))}}var We=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 Be(t,this.predicate,this.thisArg,this.source))},t}(),Be=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}(v);function Ye(){return function(t){return t.lift(new qe)}}var qe=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new He(t))},t}(),He=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(z(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(Nt((function(t,r){return e(n,t,i,r)})))})))}:function(e){return e.lift(new Le(t))}}var Le=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Ze(t,this.project))},t}(),Ze=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 m(this,void 0,void 0);this.destination.add(i),z(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 Ge(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 Je(t,e,n))}}var Je=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 Qe(t,this.project,this.concurrent,this.scheduler))},t}(),Qe=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(z(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 Xe(t){return function(e){return e.lift(new $e(t))}}var $e=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 p(n)),i}return i.__extends(e,t),e}(v);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}(v);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?Ce((function(e,n){return t(e,n,i)})):Dt,ze(1),n?Jt(e):De((function(){return new Pe})))}}function un(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}un.prototype=Object.create(Error.prototype);var cn=un,hn=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}(p),an=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return i.__extends(e,t),e}(v),ln=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 an(this)},e.prototype.lift=function(t){var e=new fn(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),p.EMPTY):this.isStopped?(t.complete(),p.EMPTY):(this.observers.push(t),new hn(this,t))},e.prototype.asObservable=function(){var t=new E;return t.source=this,t},e.create=function(t,e){return new fn(t,e)},e}(E),fn=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):p.EMPTY},e}(ln);function pn(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 ln,n.set(e,r);var o=new yn(e,r,this);if(this.destination.next(o),this.durationSelector){var s=void 0;try{s=this.durationSelector(new yn(e,r))}catch(t){return void this.error(t)}this.add(s.subscribe(new vn(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}(v),vn=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}(v),yn=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 p,n=this.refCountSubscription,i=this.groupSubject;return n&&!n.closed&&e.add(new _n(n)),e.add(i.subscribe(t)),e},e}(E),_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}(p);function mn(){return function(t){return t.lift(new xn)}}var xn=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}(v);function gn(){return function(t){return t.lift(new Sn)}}var Sn=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new En(t))},t}(),En=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}(v);function Cn(t){return function(e){return 0===t?Et():e.lift(new Tn(t))}}var Tn=function(){function t(t){if(this.total=t,this.total<0)throw new Ee}return t.prototype.call=function(t,e){return e.subscribe(new Nn(t,this.total))},t}(),Nn=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}(v);function On(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?Ce((function(e,n){return t(e,n,i)})):Dt,Cn(1),n?Jt(e):De((function(){return new Pe})))}}function In(t){return function(e){return e.lift(new jn(t))}}var jn=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new Vn(t,this.value))},t}(),Vn=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}(v);function Pn(){return function(t){return t.lift(new Dn)}}var Dn=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new kn(t))},t}(),kn=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}(v);function zn(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 Mn(t,this.accumulator,this.seed,this.hasSeed))},t}(),Mn=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}(v);function Kn(t,e){return arguments.length>=2?function(n){return g(zn(t,e),Cn(1),Jt(e))(n)}:function(e){return g(zn((function(e,n,i){return t(e,n,i+1)})),Cn(1))(e)}}function Rn(t){return Kn("function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e})}function Fn(){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 q(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 E?t[0]:kt(n)(vt(t,i))}function Wn(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(Fn.apply(void 0,[e].concat(t)))}}function Bn(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?jt((function(){return t}),e,n):("number"==typeof e&&(n=e),jt((function(){return t}),n))}function Yn(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(i){return i.lift(new qn(t,e,n))}}var qn=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 Hn(t,this.accumulator,this.seed,this.concurrent))},t}(),Hn=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 m(this,void 0,void 0);this.destination.add(i),z(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 Kn("function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e})}function Ln(){return function(t){return t.lift(new Zn(t))}}var Zn=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var i=new Gn(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r},t}(),Gn=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}(v),Jn=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 p).add(this.source.subscribe(new Xn(this.getSubject(),this))),t.closed?(this._connection=null,t=p.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return Ln()(this)},e}(E).prototype,Qn={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:Jn._subscribe},_isComplete:{value:Jn._isComplete,writable:!0},getSubject:{value:Jn.getSubject},connect:{value:Jn.connect},refCount:{value:Jn.refCount}},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._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}(an);function $n(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,Qn);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}(v),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&&h(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 m(this,void 0,void 0);this.destination.add(e),z(this,t,void 0,void 0,e)}else this.destination.complete()},e}(_);function ci(){return function(t){return t.lift(new hi)}}var hi=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ai(t))},t}(),ai=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}(v);function li(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}function fi(t,e){return function(n){return[Ce(t,e)(n),Ce(li(t,e))(n)]}}function pi(){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 Nt(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?$n((function(){return new ln}),t):$n(new ln)}var vi=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}(ln);function yi(t){return function(e){return $n(new vi(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),p.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),p.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}(ln);function mi(){return function(t){return $n(new _i)(t)}}var xi=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}(R),wi=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e}(W))(xi),gi=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=p.EMPTY:(this.observers.push(t),e=new hn(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}(ln),Si=function(){return function(t,e){this.time=t,this.value=e}}();function Ei(t,e,n,i){n&&"function"!=typeof n&&(i=n);var r="function"==typeof n?n:void 0,o=new gi(t,e,i);return function(t){return $n((function(){return o}),r)(t)}}function Ci(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){if(!h(t[0]))return t[0];t=t[0]}return vt(t,void 0).lift(new Ti)}var Ti=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Ni(t))},t}(),Ni=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=z(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 Oi(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return 1===t.length&&h(t[0])&&(t=t[0]),e.lift.call(Ci.apply(void 0,[e].concat(t)))}}function Ii(t){return void 0===t&&(t=-1),function(e){return 0===t?Et():t<0?e.lift(new ji(-1,e)):e.lift(new ji(t-1,e))}}var ji=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Vi(t,this.count,this.source))},t}(),Vi=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}(v);function Pi(t){return function(e){return e.lift(new Di(t))}}var Di=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new ki(t,this.notifier,e))},t}(),ki=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 ln;try{e=(0,this.notifier)(this.notifications)}catch(e){return t.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=z(this,e)},e}(_);function zi(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 Mi(t,this.count,this.source))},t}(),Mi=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}(v);function Ki(t){return function(e){return e.lift(new Ri(t,e))}}var Ri=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Fi(t,this.notifier,this.source))},t}(),Fi=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 ln;try{i=(0,this.notifier)(n)}catch(e){return t.prototype.error.call(this,e)}r=z(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 Wi(t){return function(e){return e.lift(new Bi(t))}}var Bi=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new Yi(t),i=e.subscribe(n);return i.add(z(n,this.notifier)),i},t}(),Yi=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 qi(t,e){return void 0===e&&(e=B),function(n){return n.lift(new Hi(t,e))}}var Hi=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(Li,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}(v);function Li(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}function Zi(t,e){return function(n){return n.lift(new Gi(t,e))}}var Gi=function(){function t(t,e){this.compareTo=t,this.comparator=e}return t.prototype.call=function(t,e){return e.subscribe(new Ji(t,this.compareTo,this.comparator))},t}(),Ji=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 Qi(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}(v),Qi=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}(v);function Xi(){return new ln}function $i(){return function(t){return Ln()($n(Xi)(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,h=0,a=!1,l=!1;return function(t){h++,e&&!a||(a=!1,e=new gi(r,s,c),n=t.subscribe({next:function(t){e.next(t)},error:function(t){a=!0,e.error(t)},complete:function(){l=!0,e.complete()}}));var i=e.subscribe(this);this.add((function(){h--,i.unsubscribe(),n&&!l&&u&&0===h&&(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 Pe)},e}(v);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}(v);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 Ee}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new v(t)):e.subscribe(new hr(t,this._skipCount))},t}(),hr=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}(v);function ar(t){return function(e){return e.lift(new lr(t))}}var lr=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new fr(t,this.notifier))},t}(),fr=function(t){function e(e,n){var i=t.call(this,e)||this;i.hasValue=!1;var r=new m(i,void 0,void 0);return i.add(r),i.innerSubscription=r,z(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 pr(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}(v);function vr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];q(n)?t.pop():n=null;var i=t.length;return At(1!==i||n?i>0?vt(t,n):Et(n):Ct(t[0]),e)}}var yr=1,_r={};var mr=function(t){var e=yr++;return _r[e]=t,Promise.resolve().then((function(){return function(t){var e=_r[t];e&&e()}(e)})),e},xr=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=mr(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&&(xr(n),e.scheduled=void 0)},e}(R),gr=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}(W))(wr),Sr=function(t){function e(e,n,i){void 0===n&&(n=0),void 0===i&&(i=gr);var r=t.call(this)||this;return r.source=e,r.delayTime=n,r.scheduler=i,(!Y(n)||n<0)&&(r.delayTime=0),i&&"function"==typeof i.schedule||(r.scheduler=gr),r}return i.__extends(e,t),e.create=function(t,n,i){return void 0===n&&(n=0),void 0===i&&(i=gr),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}(E);function Er(t,e){return void 0===e&&(e=0),function(n){return n.lift(new Cr(t,e))}}var Cr=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 Tr(t,e){return"function"==typeof e?function(n){return n.pipe(Tr((function(n,i){return wt(t(n,i)).pipe(Nt((function(t,r){return e(n,t,i,r)})))})))}:function(e){return e.lift(new Nr(t))}}var Nr=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Or(t,this.project))},t}(),Or=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 m(this,void 0,void 0);this.destination.add(r),this.innerSubscription=z(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 Ir(){return Tr(Dt)}function jr(t,e){return e?Tr((function(){return t}),e):Tr((function(){return t}))}function Vr(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){var n=new Dr(t),i=z(n,this.notifier);return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n},t}(),Dr=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 kr(t,e){return void 0===e&&(e=!1),function(n){return n.lift(new zr(t,e))}}var zr=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}(v),Mr={leading:!0,trailing:!1};function Kr(t,e){return void 0===e&&(e=Mr),function(n){return n.lift(new Rr(t,e.leading,e.trailing))}}var Rr=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 Fr(t,this.durationSelector,this.leading,this.trailing))},t}(),Fr=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=z(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 Wr(t,e,n){return void 0===e&&(e=B),void 0===n&&(n=Mr),function(i){return i.lift(new Br(t,e,n.leading,n.trailing))}}var Br=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 Yr(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),Yr=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(qr,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}(v);function qr(t){t.subscriber.clearThrottle()}function Hr(t){return void 0===t&&(t=B),function(e){return n=function(){return e.pipe(zn((function(e,n){var i=e.current;return{value:n,current:t.now(),last:i}}),{current:t.now(),value:void 0,last:void 0}),Nt((function(t){var e=t.current,n=t.last,i=t.value;return new Ur(i,e-n)})))},new E((function(t){var e;try{e=n()}catch(e){return void t.error(e)}return(e?wt(e):Et()).subscribe(t)}));var n}}var Ur=function(){return function(t,e){this.value=t,this.interval=e}}();function Lr(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}Lr.prototype=Object.create(Error.prototype);var Zr=Lr;function Gr(t,e,n){return void 0===n&&(n=B),function(i){var r=te(t),o=r?+t-n.now():Math.abs(t);return i.lift(new Jr(o,r,e,n))}}var Jr=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 Qr(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),Qr=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(z(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 Xr(t,e){return void 0===e&&(e=B),Gr(t,ee(new Zr),e)}function $r(t){return void 0===t&&(t=B),Nt((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 Kn(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(z(n,this.windowBoundaries)),i},t}(),oo=function(t){function e(e){var n=t.call(this,e)||this;return n.window=new ln,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 ln;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 ln],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 ln;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}(v);function ho(t){var e=B,n=null,i=Number.POSITIVE_INFINITY;return q(arguments[3])&&(e=arguments[3]),q(arguments[2])?e=arguments[2]:Y(arguments[2])&&(i=arguments[2]),q(arguments[1])?e=arguments[1]:Y(arguments[1])&&(n=arguments[1]),function(r){return r.lift(new ao(t,n,i,e))}}var ao=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 fo(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),lo=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}(ln),fo=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},h={windowTimeSpan:n,windowCreationInterval:i,subscriber:s,scheduler:o};s.add(o.schedule(vo,n,c)),s.add(o.schedule(bo,i,h))}else{var a={subscriber:s,window:u,windowTimeSpan:n};s.add(o.schedule(po,n,a))}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 lo;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}(v);function po(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(vo,e,u),this.add(s.subscription),this.schedule(t,r)}function vo(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 yo(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 mo(t,this.openings,this.closingSelector))},t}(),mo=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=z(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 ln,u=new p,c={window:s,subscription:u};this.contexts.push(c);var h=z(this,o,c);h.closed?this.closeWindow(this.contexts.length-1):(h.context=c,u.add(h)),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 xo(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 go(t,this.closingSelector))},t}(),go=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 ln;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=z(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 Eo(i,n))}}var Eo=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new Co(t,this.observables,this.project))},t}(),Co=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(z(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 To(){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(),vt(t,void 0).lift(new No(n))}var No=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Oo(t,this.resultSelector))},t}(),Oo=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;h(t)?e.push(new jo(t)):"function"==typeof t[I]?e.push(new Io(t[I]())):e.push(new Vo(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}(v),Io=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}(),jo=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[I]=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}(),Vo=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[I]=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 z(this,this.observable,this,e)},e}(_);function Po(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(To.apply(void 0,[e].concat(t)))}}function Do(t){return function(e){return e.lift(new No(t))}}}])}));
@@ -2,4 +2,4 @@
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
- System.register("@progress/kendo-angular-common",["tslib","@angular/core","@angular/common","rxjs","rxjs/operators","@telerik/kendo-draggable"],function(s){var o,u,a,c,l,d;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=t(e)},function(e){u=t(e)},function(e){a=t(e)},function(e){c=t(e)},function(e){l=t(e)},function(e){d=t(e)}],execute:function(){function n(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}var i,r;i=[function(e,t){e.exports=o},function(e,t){e.exports=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(7),r=(o.prototype.schedule=function(e,t){var i=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular(function(){i.subscription=s.from(i.resolvedPromise).subscribe(i.flush)})},o.prototype.isScheduled=function(t){return Boolean(this.scheduled.find(function(e){return e.instance===t}))},o.prototype.cancel=function(e){for(var t=this.scheduled,i=t.length,n=0;n<i;n++)if(t[n].instance===e)return t.splice(n,1),void(t.length||this.unsubscribe())},o.prototype.ngOnDestroy=function(){this.unsubscribe()},o.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},o.prototype.flush=function(){this.scheduled.forEach(function(e){e.method.call(e.instance)}),this.scheduled=[],this.unsubscribe()},n.__decorate([r.Injectable(),n.__metadata("design:paramtypes",[r.NgZone])],o));function o(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}t.ResizeBatchService=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(14),r=i(13);t.isFocusableWithTabKey=function(e,t){if(void 0===t&&(t=!0),!n.isFocusable(e))return!1;var i=e.getAttribute("tabIndex");return(!t||r.isVisible(e))&&"-1"!==i}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.findElement=function(e,t,i){if(void 0===i&&(i=!0),e){if(i&&t(e))return e;for(e=e.firstChild;e;){if(1===e.nodeType){var n=r.findElement(e,t);if(n)return n}e=e.nextSibling}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(41);t.isDocumentAvailable=n.isDocumentAvailable;n=i(16);t.isChanged=n.isChanged;n=i(40);t.anyChanged=n.anyChanged;n=i(39);t.hasObservers=n.hasObservers;i=i(38);t.guid=i.guid},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r=i(0),i=i(8),s="undefined"!=typeof ResizeObserver,r=(n=i.ResizeService,r.__extends(o,n),o.supported=function(){return s},o.prototype.destroy=function(){n.prototype.destroy.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.parentElement=null},o.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)})},o);function o(e,t,i){e=n.call(this,e)||this;return e.element=t,e.ngZone=i,e}t.ResizeObserverService=r},function(e,t){e.exports=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(1),r=i(5),i=(s.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},s.prototype.checkChanges=function(){r.isDocumentAvailable()&&0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init))},s.prototype.destroy=function(){this.resizeBatchService.cancel(this)},s.prototype.checkSize=function(){if(this.parentElement){var e=this.measure(),t=e.width,e=e.height;if(t!==this.lastWidth||e!==this.lastHeight)return this.lastWidth=t,this.lastHeight=e,this.acceptedSize=!1,this.resize.emit(),!0}},s.prototype.initSize=function(){var e=this.measure();this.lastWidth=e.width,this.lastHeight=e.height},s.prototype.measure=function(){var e=0,t=0;return this.parentElement&&(t=this.parentElement.offsetHeight,e=this.parentElement.offsetWidth),{height:t,width:e}},s);function s(e){this.resizeBatchService=e,this.resize=new n.EventEmitter,this.acceptedSize=!1,this.state=0}t.ResizeService=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function n(e){var t=document.createElement("div");return t.style.cssText=e,t}var r,s=i(0),o=i(8),u=i(7),a="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",s=(r=o.ResizeService,s.__extends(c,r),c.prototype.checkChanges=function(){2!==this.state?r.prototype.checkChanges.call(this):this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.checkSize)},c.prototype.destroy=function(){var e;r.prototype.destroy.call(this),this.subscription&&this.subscription.unsubscribe(),this.expand&&((e=this.element.nativeElement).removeChild(this.expand),e.removeChild(this.shrink),this.expand.removeChild(this.expandChild),this.expand=this.expandChild=this.shrink=this.element=null)},c.prototype.checkSize=function(){if(r.prototype.checkSize.call(this))return this.reset(),!0},c.prototype.init=function(){var e=this.parentElement=this.element.nativeElement.parentElement;"static"===getComputedStyle(e,null).getPropertyValue("position")&&(e.style.position="relative"),this.state=2,this.render(),this.reset(),this.initSize(),this.subscribe()},c.prototype.render=function(){var e=this.element.nativeElement;e.style.cssText=a,e.setAttribute("dir","ltr"),this.expand=n(a),this.expandChild=n("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),e.appendChild(this.expand),this.shrink=n(a);var t=n("position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;");this.shrink.appendChild(t),e.appendChild(this.shrink)},c.prototype.reset=function(){var e=this.expandChild;e.style.width=1e5+"px",e.style.height=1e5+"px";e=this.expand;e.scrollLeft=1e5,e.scrollTop=1e5;e=this.shrink;e.scrollLeft=1e5,e.scrollTop=1e5},c.prototype.subscribe=function(){var e=this;this.ngZone.runOutsideAngular(function(){e.subscription=u.merge(u.fromEvent(e.shrink,"scroll"),u.fromEvent(e.expand,"scroll")).subscribe(function(){e.checkSize()})})},c);function c(e,t,i){e=r.call(this,e)||this;return e.element=t,e.ngZone=i,e}t.ResizeCompatService=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),s=i(1),o=i(23),u=i(9),a=i(6),i=i(2),i=(r.prototype.ngAfterViewChecked=function(){this.resizeService.checkChanges()},r.prototype.ngOnDestroy=function(){this.subscription.unsubscribe(),this.resizeService.destroy()},r.prototype.acceptSize=function(e){this.resizeService.acceptSize(e)},n.__decorate([s.Input(),n.__metadata("design:type",Number)],r.prototype,"rateLimit",void 0),n.__decorate([s.Output(),n.__metadata("design:type",s.EventEmitter)],r.prototype,"resize",void 0),n.__decorate([s.Component({selector:"kendo-resize-sensor",template:""}),n.__metadata("design:paramtypes",[i.ResizeBatchService,s.ElementRef,s.NgZone])],r));function r(e,t,i){var n=this;this.rateLimit=10,this.resize=new s.EventEmitter;var r=a.ResizeObserverService.supported()?a.ResizeObserverService:u.ResizeCompatService;this.resizeService=new r(e,t,i);i=1e3/(this.rateLimit||10);this.subscription=this.resizeService.resize.pipe(o.auditTime(i)).subscribe(function(){n.resizeService.acceptedSize||n.resize.emit()})}t.ResizeSensorComponent=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),i=i(1),i=(r.prototype.ngOnInit=function(){var t,i=this;this.element&&this.element.nativeElement&&(t=this.events,this.subscriptions=[],this.ngZone.runOutsideAngular(function(){for(var e in t)t.hasOwnProperty(e)&&i.subscriptions.push(i.renderer.listen(i.element.nativeElement,e,i.scope?t[e].bind(i.scope):t[e]))}))},r.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}},n.__decorate([i.Input("kendoEventsOutsideAngular"),n.__metadata("design:type",Object)],r.prototype,"events",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],r.prototype,"scope",void 0),n.__decorate([i.Directive({selector:"[kendoEventsOutsideAngular]"}),n.__metadata("design:paramtypes",[i.ElementRef,i.NgZone,i.Renderer2])],r));function r(e,t,i){this.element=e,this.ngZone=t,this.renderer=i,this.events={}}t.EventsOutsideAngularDirective=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function n(e){return String(e).trim().split(" ")}t.hasClasses=function(e,t){var i=n(t);return Boolean(n(e.className).find(function(e){return 0<=i.indexOf(e)}))}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVisible=function(e){var t=e.getBoundingClientRect(),i=0<t.width&&0<t.height,t=0!==t.x&&0!==t.y;return(i||t)&&"hidden"!==window.getComputedStyle(e).visibility}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=/^(?:a|input|select|option|textarea|button|object)$/i;t.isFocusable=function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase(),i=Boolean(e.getAttribute("tabIndex"));return!e.disabled&&n.test(t)||i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closest=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isChanged=function(e,t,i){return void 0===i&&(i=!0),!(void 0===t[e]||t[e].isFirstChange()&&i||t[e].previousValue===t[e].currentValue)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(5),o=i(37),n=(u.prototype.ngOnInit=function(){this.toggleDraggable()},u.prototype.ngOnChanges=function(e){s.isChanged("enableDrag",e)&&this.toggleDraggable()},u.prototype.ngOnDestroy=function(){this.destroyDraggable()},u.prototype.toggleDraggable=function(){var t=this;s.isDocumentAvailable()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new o.default({drag:function(e){return t.kendoDrag.next(e)},press:function(e){return t.kendoPress.next(e)},release:function(e){return t.kendoRelease.next(e)}}),this.ngZone.runOutsideAngular(function(){return t.draggable.bindTo(t.element.nativeElement)})))},u.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},n.__decorate([r.Input(),n.__metadata("design:type",Boolean)],u.prototype,"enableDrag",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoPress",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoDrag",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoRelease",void 0),n.__decorate([r.Directive({selector:"[kendoDraggable]"}),n.__metadata("design:paramtypes",[r.ElementRef,r.NgZone])],u));function u(e,t){this.element=e,this.ngZone=t,this.enableDrag=!0,this.kendoPress=new r.EventEmitter,this.kendoDrag=new r.EventEmitter,this.kendoRelease=new r.EventEmitter}t.DraggableDirective=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(r.prototype.preventDefault=function(){this.prevented=!0},r.prototype.isDefaultPrevented=function(){return this.prevented},r);function r(){this.prevented=!1}t.PreventableEvent=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),(t=t.Keys||(t.Keys={}))[t.Alt=18]="Alt",t[t.ArrowDown=40]="ArrowDown",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowUp=38]="ArrowUp",t[t.Backspace=8]="Backspace",t[t.Control=17]="Control",t[t.Delete=46]="Delete",t[t.Digit0=48]="Digit0",t[t.Digit1=49]="Digit1",t[t.Digit2=50]="Digit2",t[t.Digit3=51]="Digit3",t[t.Digit4=52]="Digit4",t[t.Digit5=53]="Digit5",t[t.Digit6=54]="Digit6",t[t.Digit7=55]="Digit7",t[t.Digit8=56]="Digit8",t[t.Digit9=57]="Digit9",t[t.End=35]="End",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.F1=112]="F1",t[t.F2=113]="F2",t[t.F10=121]="F10",t[t.Home=36]="Home",t[t.Insert=45]="Insert",t[t.KeyA=65]="KeyA",t[t.KeyB=66]="KeyB",t[t.KeyC=67]="KeyC",t[t.KeyD=68]="KeyD",t[t.KeyE=69]="KeyE",t[t.KeyF=70]="KeyF",t[t.KeyG=71]="KeyG",t[t.KeyH=72]="KeyH",t[t.KeyI=73]="KeyI",t[t.KeyJ=74]="KeyJ",t[t.KeyK=75]="KeyK",t[t.KeyL=76]="KeyL",t[t.KeyM=77]="KeyM",t[t.KeyN=78]="KeyN",t[t.KeyO=79]="KeyO",t[t.KeyP=80]="KeyP",t[t.KeyQ=81]="KeyQ",t[t.KeyR=82]="KeyR",t[t.KeyS=83]="KeyS",t[t.KeyT=84]="KeyT",t[t.KeyU=85]="KeyU",t[t.KeyV=86]="KeyV",t[t.KeyW=87]="KeyW",t[t.KeyX=88]="KeyX",t[t.KeyY=89]="KeyY",t[t.KeyZ=90]="KeyZ",t[t.NumpadDecimal=110]="NumpadDecimal",t[t.PageDown=34]="PageDown",t[t.PageUp=33]="PageUp",t[t.Shift=16]="Shift",t[t.Space=32]="Space",t[t.Tab=9]="Tab"},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});i=i(19);t.Keys=i.Keys},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KendoInput=function(){}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(10),i=i(2),s=[s.ResizeSensorComponent],i=n.__decorate([r.NgModule({declarations:[s],exports:[s],providers:[i.ResizeBatchService]})],o);function o(){}t.ResizeSensorModule=i},function(e,t){e.exports=l},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(10);t.ResizeSensorComponent=n.ResizeSensorComponent;n=i(2);t.ResizeBatchService=n.ResizeBatchService;n=i(9);t.ResizeCompatService=n.ResizeCompatService;n=i(6);t.ResizeObserverService=n.ResizeObserverService;i=i(22);t.ResizeSensorModule=i.ResizeSensorModule},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),i=i(11),i=n.__decorate([r.NgModule({declarations:[i.EventsOutsideAngularDirective],exports:[i.EventsOutsideAngularDirective]})],s);function s(){}t.EventsModule=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(11);t.EventsOutsideAngularDirective=n.EventsOutsideAngularDirective;i=i(25);t.EventsModule=i.EventsModule},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rtlScrollPosition=function(e,t,i){var n=e;return i<0?n=-e:0<i&&(n=t.scrollWidth-t.offsetWidth-e),n}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={};t.matchesNodeName=function(t){return n[t]||(n[t]=function(e){return String(e.nodeName).toLowerCase()===t.toLowerCase()}),n[t]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(12);t.matchesClasses=function(t){return function(e){return n.hasClasses(e,t)}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(4),r=i(3);t.findFocusable=function(e,t){return void 0===t&&(t=!0),n.findElement(e,function(e){return r.isFocusableWithTabKey(e,t)})}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(4),r=i(3);t.findFocusableChild=function(e,t){return void 0===t&&(t=!0),n.findElement(e,function(e){return r.isFocusableWithTabKey(e,t)},!1)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(15);t.contains=function(t,i,e){if(void 0===e&&(e=!1),!r.closest(i,function(e){return e===t}))return!1;var n=r.closest(i,function(e){return e===i});return n&&(e||n!==t)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closestInScope=function(e,t,i){for(;e&&e!==i&&!t(e);)e=e.parentNode;if(e!==i)return e}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(33);t.closestInScope=n.closestInScope;n=i(15);t.closest=n.closest;n=i(32);t.contains=n.contains;n=i(4);t.findElement=n.findElement;n=i(31);t.findFocusableChild=n.findFocusableChild;n=i(30);t.findFocusable=n.findFocusable;n=i(12);t.hasClasses=n.hasClasses;n=i(3);t.isFocusableWithTabKey=n.isFocusableWithTabKey;n=i(14);t.isFocusable=n.isFocusable;n=i(13);t.isVisible=n.isVisible;n=i(29);t.matchesClasses=n.matchesClasses;n=i(28);t.matchesNodeName=n.matchesNodeName;i=i(27);t.rtlScrollPosition=i.rtlScrollPosition},function(e,t){e.exports=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(17),i=i(35),i=n.__decorate([r.NgModule({declarations:[s.DraggableDirective],exports:[s.DraggableDirective],imports:[i.CommonModule]})],o);function o(){}t.DraggableModule=i},function(e,t){e.exports=d},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.guid=function(){for(var e="",t=0;t<32;t++){var i=16*Math.random()|0;8!==t&&12!==t&&16!==t&&20!==t||(e+="-"),e+=(12===t?4:16===t?3&i|8:i).toString(16)}return e}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasObservers=function(e){return e&&0<e.observers.length}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(16);t.anyChanged=function(e,t,i){return void 0===i&&(i=!0),e.some(function(e){return n.isChanged(e,t,i)})}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDocumentAvailable=function(){return"undefined"!=typeof document}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(17);t.DraggableDirective=n.DraggableDirective;i=i(36);t.DraggableModule=i.DraggableModule},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0);n.__exportStar(i(42),t),n.__exportStar(i(34),t),n.__exportStar(i(26),t),n.__exportStar(i(24),t),n.__exportStar(i(21),t),n.__exportStar(i(5),t),n.__exportStar(i(20),t);i=i(18);t.PreventableEvent=i.PreventableEvent,function(e){for(var t in e)s(t,e[t])}(t)}],r={},n.m=i,n.c=r,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},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=43)}}});
5
+ System.register("@progress/kendo-angular-common",["tslib","@angular/core","@angular/common","@telerik/kendo-draggable","rxjs/operators","rxjs"],function(o){var s,u,a,c,l,d;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){s=t(e)},function(e){u=t(e)},function(e){a=t(e)},function(e){c=t(e)},function(e){l=t(e)},function(e){d=t(e)}],execute:function(){function n(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}var i,r;i=[function(e,t){e.exports=s},function(e,t){e.exports=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(7),i=(o.prototype.schedule=function(e,t){var i=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular(function(){i.subscription=s.from(i.resolvedPromise).subscribe(i.flush)})},o.prototype.isScheduled=function(t){return Boolean(this.scheduled.find(function(e){return e.instance===t}))},o.prototype.cancel=function(e){for(var t=this.scheduled,i=t.length,n=0;n<i;n++)if(t[n].instance===e)return t.splice(n,1),void(t.length||this.unsubscribe())},o.prototype.ngOnDestroy=function(){this.unsubscribe()},o.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},o.prototype.flush=function(){this.scheduled.forEach(function(e){e.method.call(e.instance)}),this.scheduled=[],this.unsubscribe()},n.__decorate([r.Injectable(),n.__metadata("design:paramtypes",[r.NgZone])],o));function o(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}t.ResizeBatchService=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(14),r=i(13);t.isFocusableWithTabKey=function(e,t){if(void 0===t&&(t=!0),!n.isFocusable(e))return!1;var i=e.getAttribute("tabIndex");return(!t||r.isVisible(e))&&"-1"!==i}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.findElement=function(e,t,i){if(void 0===i&&(i=!0),e){if(i&&t(e))return e;for(e=e.firstChild;e;){if(1===e.nodeType){var n=r.findElement(e,t);if(n)return n}e=e.nextSibling}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(41),n=(t.isDocumentAvailable=n.isDocumentAvailable,i(16)),n=(t.isChanged=n.isChanged,i(40)),n=(t.anyChanged=n.anyChanged,i(39)),n=(t.hasObservers=n.hasObservers,i(38));t.guid=n.guid},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r=i(0),i=i(8),s="undefined"!=typeof ResizeObserver,i=(n=i.ResizeService,r.__extends(o,n),o.supported=function(){return s},o.prototype.destroy=function(){n.prototype.destroy.call(this),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.parentElement=null},o.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)})},o);function o(e,t,i){e=n.call(this,e)||this;return e.element=t,e.ngZone=i,e}t.ResizeObserverService=i},function(e,t){e.exports=d},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(1),r=i(5);function s(e){this.resizeBatchService=e,this.resize=new n.EventEmitter,this.acceptedSize=!1,this.state=0}s.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},s.prototype.checkChanges=function(){r.isDocumentAvailable()&&0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init))},s.prototype.destroy=function(){this.resizeBatchService.cancel(this)},s.prototype.checkSize=function(){if(this.parentElement){var e=this.measure(),t=e.width,e=e.height;if(t!==this.lastWidth||e!==this.lastHeight)return this.lastWidth=t,this.lastHeight=e,this.acceptedSize=!1,this.resize.emit(),!0}},s.prototype.initSize=function(){var e=this.measure();this.lastWidth=e.width,this.lastHeight=e.height},s.prototype.measure=function(){var e=0,t=0;return this.parentElement&&(t=this.parentElement.offsetHeight,e=this.parentElement.offsetWidth),{height:t,width:e}},t.ResizeService=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function n(e){var t=document.createElement("div");return t.style.cssText=e,t}var r,s=i(0),o=i(8),u=i(7),a="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",i=(r=o.ResizeService,s.__extends(c,r),c.prototype.checkChanges=function(){2!==this.state?r.prototype.checkChanges.call(this):this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.checkSize)},c.prototype.destroy=function(){var e;r.prototype.destroy.call(this),this.subscription&&this.subscription.unsubscribe(),this.expand&&((e=this.element.nativeElement).removeChild(this.expand),e.removeChild(this.shrink),this.expand.removeChild(this.expandChild),this.expand=this.expandChild=this.shrink=this.element=null)},c.prototype.checkSize=function(){if(r.prototype.checkSize.call(this))return this.reset(),!0},c.prototype.init=function(){var e=this.parentElement=this.element.nativeElement.parentElement;"static"===getComputedStyle(e,null).getPropertyValue("position")&&(e.style.position="relative"),this.state=2,this.render(),this.reset(),this.initSize(),this.subscribe()},c.prototype.render=function(){var e=this.element.nativeElement,t=(e.style.cssText=a,e.setAttribute("dir","ltr"),this.expand=n(a),this.expandChild=n("position: absolute; left: 0; top: 0; transition: 0s;"),this.expand.appendChild(this.expandChild),e.appendChild(this.expand),this.shrink=n(a),n("position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;"));this.shrink.appendChild(t),e.appendChild(this.shrink)},c.prototype.reset=function(){var e=this.expandChild,e=(e.style.width=1e5+"px",e.style.height=1e5+"px",this.expand),e=(e.scrollLeft=1e5,e.scrollTop=1e5,this.shrink);e.scrollLeft=1e5,e.scrollTop=1e5},c.prototype.subscribe=function(){var e=this;this.ngZone.runOutsideAngular(function(){e.subscription=u.merge(u.fromEvent(e.shrink,"scroll"),u.fromEvent(e.expand,"scroll")).subscribe(function(){e.checkSize()})})},c);function c(e,t,i){e=r.call(this,e)||this;return e.element=t,e.ngZone=i,e}t.ResizeCompatService=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),s=i(1),o=i(23),u=i(9),a=i(6),i=i(2),n=(r.prototype.ngAfterViewChecked=function(){this.resizeService.checkChanges()},r.prototype.ngOnDestroy=function(){this.subscription.unsubscribe(),this.resizeService.destroy()},r.prototype.acceptSize=function(e){this.resizeService.acceptSize(e)},n.__decorate([s.Input(),n.__metadata("design:type",Number)],r.prototype,"rateLimit",void 0),n.__decorate([s.Output(),n.__metadata("design:type",s.EventEmitter)],r.prototype,"resize",void 0),n.__decorate([s.Component({selector:"kendo-resize-sensor",template:""}),n.__metadata("design:paramtypes",[i.ResizeBatchService,s.ElementRef,s.NgZone])],r));function r(e,t,i){var n=this,r=(this.rateLimit=10,this.resize=new s.EventEmitter,a.ResizeObserverService.supported()?a.ResizeObserverService:u.ResizeCompatService),r=(this.resizeService=new r(e,t,i),1e3/(this.rateLimit||10));this.subscription=this.resizeService.resize.pipe(o.auditTime(r)).subscribe(function(){n.resizeService.acceptedSize||n.resize.emit()})}t.ResizeSensorComponent=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),i=i(1),n=(r.prototype.ngOnInit=function(){var t,i=this;this.element&&this.element.nativeElement&&(t=this.events,this.subscriptions=[],this.ngZone.runOutsideAngular(function(){for(var e in t)t.hasOwnProperty(e)&&i.subscriptions.push(i.renderer.listen(i.element.nativeElement,e,i.scope?t[e].bind(i.scope):t[e]))}))},r.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}},n.__decorate([i.Input("kendoEventsOutsideAngular"),n.__metadata("design:type",Object)],r.prototype,"events",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Object)],r.prototype,"scope",void 0),n.__decorate([i.Directive({selector:"[kendoEventsOutsideAngular]"}),n.__metadata("design:paramtypes",[i.ElementRef,i.NgZone,i.Renderer2])],r));function r(e,t,i){this.element=e,this.ngZone=t,this.renderer=i,this.events={}}t.EventsOutsideAngularDirective=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function n(e){return String(e).trim().split(" ")}t.hasClasses=function(e,t){var i=n(t);return Boolean(n(e.className).find(function(e){return 0<=i.indexOf(e)}))}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVisible=function(e){var t=e.getBoundingClientRect(),i=0<t.width&&0<t.height,t=0!==t.x&&0!==t.y;return(i||t)&&"hidden"!==window.getComputedStyle(e).visibility}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=/^(?:a|input|select|option|textarea|button|object)$/i;t.isFocusable=function(e){if(!e.tagName)return!1;var t=e.tagName.toLowerCase(),i=Boolean(e.getAttribute("tabIndex"));return!e.disabled&&n.test(t)||i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closest=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isChanged=function(e,t,i){return void 0===i&&(i=!0),!(void 0===t[e]||t[e].isFirstChange()&&i||t[e].previousValue===t[e].currentValue)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(5),o=i(37),i=(u.prototype.ngOnInit=function(){this.toggleDraggable()},u.prototype.ngOnChanges=function(e){s.isChanged("enableDrag",e)&&this.toggleDraggable()},u.prototype.ngOnDestroy=function(){this.destroyDraggable()},u.prototype.toggleDraggable=function(){var t=this;s.isDocumentAvailable()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new o.default({drag:function(e){return t.kendoDrag.next(e)},press:function(e){return t.kendoPress.next(e)},release:function(e){return t.kendoRelease.next(e)}}),this.ngZone.runOutsideAngular(function(){return t.draggable.bindTo(t.element.nativeElement)})))},u.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},n.__decorate([r.Input(),n.__metadata("design:type",Boolean)],u.prototype,"enableDrag",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoPress",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoDrag",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoRelease",void 0),n.__decorate([r.Directive({selector:"[kendoDraggable]"}),n.__metadata("design:paramtypes",[r.ElementRef,r.NgZone])],u));function u(e,t){this.element=e,this.ngZone=t,this.enableDrag=!0,this.kendoPress=new r.EventEmitter,this.kendoDrag=new r.EventEmitter,this.kendoRelease=new r.EventEmitter}t.DraggableDirective=i},function(e,t,i){"use strict";function n(){this.prevented=!1}Object.defineProperty(t,"__esModule",{value:!0}),n.prototype.preventDefault=function(){this.prevented=!0},n.prototype.isDefaultPrevented=function(){return this.prevented},t.PreventableEvent=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),(t=t.Keys||(t.Keys={}))[t.Alt=18]="Alt",t[t.ArrowDown=40]="ArrowDown",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowUp=38]="ArrowUp",t[t.Backspace=8]="Backspace",t[t.Control=17]="Control",t[t.Delete=46]="Delete",t[t.Digit0=48]="Digit0",t[t.Digit1=49]="Digit1",t[t.Digit2=50]="Digit2",t[t.Digit3=51]="Digit3",t[t.Digit4=52]="Digit4",t[t.Digit5=53]="Digit5",t[t.Digit6=54]="Digit6",t[t.Digit7=55]="Digit7",t[t.Digit8=56]="Digit8",t[t.Digit9=57]="Digit9",t[t.End=35]="End",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.F1=112]="F1",t[t.F2=113]="F2",t[t.F10=121]="F10",t[t.Home=36]="Home",t[t.Insert=45]="Insert",t[t.KeyA=65]="KeyA",t[t.KeyB=66]="KeyB",t[t.KeyC=67]="KeyC",t[t.KeyD=68]="KeyD",t[t.KeyE=69]="KeyE",t[t.KeyF=70]="KeyF",t[t.KeyG=71]="KeyG",t[t.KeyH=72]="KeyH",t[t.KeyI=73]="KeyI",t[t.KeyJ=74]="KeyJ",t[t.KeyK=75]="KeyK",t[t.KeyL=76]="KeyL",t[t.KeyM=77]="KeyM",t[t.KeyN=78]="KeyN",t[t.KeyO=79]="KeyO",t[t.KeyP=80]="KeyP",t[t.KeyQ=81]="KeyQ",t[t.KeyR=82]="KeyR",t[t.KeyS=83]="KeyS",t[t.KeyT=84]="KeyT",t[t.KeyU=85]="KeyU",t[t.KeyV=86]="KeyV",t[t.KeyW=87]="KeyW",t[t.KeyX=88]="KeyX",t[t.KeyY=89]="KeyY",t[t.KeyZ=90]="KeyZ",t[t.NumpadDecimal=110]="NumpadDecimal",t[t.PageDown=34]="PageDown",t[t.PageUp=33]="PageUp",t[t.Shift=16]="Shift",t[t.Space=32]="Space",t[t.Tab=9]="Tab"},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});i=i(19);t.Keys=i.Keys},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KendoInput=function(){}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(10),i=i(2),s=[s.ResizeSensorComponent],n=n.__decorate([r.NgModule({declarations:[s],exports:[s],providers:[i.ResizeBatchService]})],o);function o(){}t.ResizeSensorModule=n},function(e,t){e.exports=l},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(10),n=(t.ResizeSensorComponent=n.ResizeSensorComponent,i(2)),n=(t.ResizeBatchService=n.ResizeBatchService,i(9)),n=(t.ResizeCompatService=n.ResizeCompatService,i(6)),n=(t.ResizeObserverService=n.ResizeObserverService,i(22));t.ResizeSensorModule=n.ResizeSensorModule},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),i=i(11),n=n.__decorate([r.NgModule({declarations:[i.EventsOutsideAngularDirective],exports:[i.EventsOutsideAngularDirective]})],s);function s(){}t.EventsModule=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(11),n=(t.EventsOutsideAngularDirective=n.EventsOutsideAngularDirective,i(25));t.EventsModule=n.EventsModule},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rtlScrollPosition=function(e,t,i){var n=e;return i<0?n=-e:0<i&&(n=t.scrollWidth-t.offsetWidth-e),n}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={};t.matchesNodeName=function(t){return n[t]||(n[t]=function(e){return String(e.nodeName).toLowerCase()===t.toLowerCase()}),n[t]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(12);t.matchesClasses=function(t){return function(e){return n.hasClasses(e,t)}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(4),r=i(3);t.findFocusable=function(e,t){return void 0===t&&(t=!0),n.findElement(e,function(e){return r.isFocusableWithTabKey(e,t)})}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(4),r=i(3);t.findFocusableChild=function(e,t){return void 0===t&&(t=!0),n.findElement(e,function(e){return r.isFocusableWithTabKey(e,t)},!1)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(15);t.contains=function(t,i,e){if(void 0===e&&(e=!1),!r.closest(i,function(e){return e===t}))return!1;var n=r.closest(i,function(e){return e===i});return n&&(e||n!==t)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closestInScope=function(e,t,i){for(;e&&e!==i&&!t(e);)e=e.parentNode;if(e!==i)return e}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(33),n=(t.closestInScope=n.closestInScope,i(15)),n=(t.closest=n.closest,i(32)),n=(t.contains=n.contains,i(4)),n=(t.findElement=n.findElement,i(31)),n=(t.findFocusableChild=n.findFocusableChild,i(30)),n=(t.findFocusable=n.findFocusable,i(12)),n=(t.hasClasses=n.hasClasses,i(3)),n=(t.isFocusableWithTabKey=n.isFocusableWithTabKey,i(14)),n=(t.isFocusable=n.isFocusable,i(13)),n=(t.isVisible=n.isVisible,i(29)),n=(t.matchesClasses=n.matchesClasses,i(28)),n=(t.matchesNodeName=n.matchesNodeName,i(27));t.rtlScrollPosition=n.rtlScrollPosition},function(e,t){e.exports=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(17),i=i(35),n=n.__decorate([r.NgModule({declarations:[s.DraggableDirective],exports:[s.DraggableDirective],imports:[i.CommonModule]})],o);function o(){}t.DraggableModule=n},function(e,t){e.exports=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.guid=function(){for(var e="",t=0;t<32;t++){var i=16*Math.random()|0;8!==t&&12!==t&&16!==t&&20!==t||(e+="-"),e+=(12===t?4:16===t?3&i|8:i).toString(16)}return e}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasObservers=function(e){return e&&0<e.observers.length}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(16);t.anyChanged=function(e,t,i){return void 0===i&&(i=!0),e.some(function(e){return n.isChanged(e,t,i)})}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDocumentAvailable=function(){return"undefined"!=typeof document}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(17),n=(t.DraggableDirective=n.DraggableDirective,i(36));t.DraggableModule=n.DraggableModule},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r=i(0),r=(r.__exportStar(i(42),t),r.__exportStar(i(34),t),r.__exportStar(i(26),t),r.__exportStar(i(24),t),r.__exportStar(i(21),t),r.__exportStar(i(5),t),r.__exportStar(i(20),t),i(18)),s=(t.PreventableEvent=r.PreventableEvent,t);for(n in s)o(n,s[n])}],r={},n.m=i,n.c=r,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},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=43)}}});
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Kendo UI for Angular - Utility Package",
4
4
  "author": "Progress",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
- "version": "2.0.2-dev.202111011243",
6
+ "version": "2.0.3",
7
7
  "main": "dist/npm/index.js",
8
8
  "module": "dist/fesm5/index.js",
9
9
  "es2015": "dist/fesm2015/index.js",
@@ -58,7 +58,7 @@
58
58
  "@angular/router": "^8.2.0",
59
59
  "@progress/kendo-angular-e2e": "^2.2.0",
60
60
  "@progress/kendo-angular-jest-preset": "^2.0.0",
61
- "@progress/kendo-angular-tasks": "^18.0.2",
61
+ "@progress/kendo-angular-tasks": "cdn-bundle-v18",
62
62
  "@telerik/semantic-prerelease": "^1.1.5",
63
63
  "@types/jest": "^21.1.6",
64
64
  "@types/node": "ts3.4",